public function __construct($row, $value, $fieldSuffix) { parent::__construct($row, $value, $fieldSuffix); $this->query = $row->values; }
public function __construct($row, $value, $fieldSuffix) { parent::__construct($row, $value, $fieldSuffix); $this->query = 'SELECT name AS value, name AS text FROM #__osmembership_countries WHERE published = 1 ORDER BY name'; }
/** * Method to instantiate the form field object. * * @param JTable $row the table object store form field definitions * @param mixed $value the initial value of the form field * */ public function __construct($row, $value, $fieldSuffix) { parent::__construct($row, $value, $fieldSuffix); }
public function __construct($row, $value, $fieldSuffix) { parent::__construct($row, $value, $fieldSuffix); $this->query = 'SELECT country_name AS value, country_name AS text FROM #__bookp_country WHERE state = 1 ORDER BY country_name'; }