示例#1
0
 public function __construct($row, $value, $fieldSuffix)
 {
     parent::__construct($row, $value, $fieldSuffix);
     $this->query = $row->values;
 }
示例#2
0
 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';
 }
示例#3
0
 /**
  * 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);
 }
示例#4
0
 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';
 }