Beispiel #1
0
 function __construct()
 {
     parent::__construct();
     $this->_validation = array('add' => array(array('field' => 'name', 'label' => l('name'), 'rules' => 'required'), array('field' => 'country_id', 'label' => l('country'), 'rules' => 'required')), 'edit' => array(array('field' => 'name', 'label' => l('name'), 'rules' => 'required'), array('field' => 'country_id', 'label' => l('country'), 'rules' => 'required')));
 }
Beispiel #2
0
 function __construct()
 {
     parent::__construct();
 }