public function __construct($name = '', $tablePrefix = '', $connection = '')
 {
     parent::__construct($name = '', $tablePrefix = '', $connection = '');
     $this->AUTH_NODE_FLAGS = array(array('id' => '1', 'label' => __('common.Everybody')), array('id' => '2', 'label' => __('common.Self only')), array('id' => '3', 'label' => __('common.Self and directly subordinate')), array('id' => '4', 'label' => __('common.Self and all subordinate')), array('id' => '5', 'label' => __('common.Self department')), array('id' => '6', 'label' => __('common.Self department and it\'s subordinate department')), array('id' => '0', 'label' => '|---' . __('common.Confirm APP supported under this')), array('id' => '7', 'label' => __('common.Self Headed Only')), array('id' => '8', 'label' => __('common.Self and directly subordinate Headed')), array('id' => '9', 'label' => __('common.Self and all subordinate Headed')));
 }
Exemple #2
0
 public function __construct()
 {
     parent::__construct();
     $this->main_model = model_alias_to_name($this->main_model_alias);
     $this->detail_model = model_alias_to_name($this->detail_model_alias);
 }
 public function __construct($name = '', $tablePrefix = '', $connection = '')
 {
     parent::__construct($name, $tablePrefix, $connection);
     $this->save_path = ENTRY_PATH . '/uploads';
 }