NextGen ACF Field

class acf_NGG_Gallery extends acf_Field
{
	
	function __construct($parent)
	{
    
	  parent::__construct($parent);	
  	  $this->name = 'ngg_gallery';
			$this->title = __("NextGen Gallery",'acf');
   	}
   


	
	function create_field($field)
	{
		echo '';
	}
	
	
	function dropdown($id ='') {
		global $wpdb;
		if (!$wpdb->nggallery) return;
		$tables = $wpdb->get_results("SELECT * FROM $wpdb->nggallery ORDER BY 'title' ASC ");
		$retVal = '';
		if($tables) {
			foreach($tables as $table) {
				$retVal .= ''."nt"; 
			}
		}
		return $retVal;
	}	
}