コード例 #1
0
ファイル: ca_objects.php プロジェクト: guaykuru/pawtucket
 public function __construct($pn_id = null)
 {
     if (!is_null(BaseModel::$s_ca_models_definitions['ca_objects']['FIELDS']['acl_inherit_from_parent']['DEFAULT']) || !is_null(BaseModel::$s_ca_models_definitions['ca_objects']['FIELDS']['acl_inherit_from_ca_collections']['DEFAULT'])) {
         $o_config = Configuration::load();
         if (!is_null(BaseModel::$s_ca_models_definitions['ca_objects']['FIELDS']['acl_inherit_from_parent']['DEFAULT'])) {
             BaseModel::$s_ca_models_definitions['ca_objects']['FIELDS']['acl_inherit_from_parent']['DEFAULT'] = (int) $o_config->get('ca_objects_acl_inherit_from_parent_default');
         }
         if (!is_null(BaseModel::$s_ca_models_definitions['ca_objects']['FIELDS']['acl_inherit_from_ca_collections']['DEFAULT'])) {
             BaseModel::$s_ca_models_definitions['ca_objects']['FIELDS']['acl_inherit_from_ca_collections']['DEFAULT'] = (int) $o_config->get('ca_objects_acl_inherit_from_ca_collections_default');
         }
     }
     parent::__construct($pn_id);
 }
コード例 #2
0
 public function __construct($pn_id = null)
 {
     parent::__construct($pn_id);
     # call superclass constructor
 }
コード例 #3
0
ファイル: ca_list_items.php プロジェクト: guaykuru/pawtucket
 public function __construct($pn_id = null)
 {
     $this->SETTINGS = new ModelSettings($this, 'settings', array());
     parent::__construct($pn_id);
     # call superclass constructor
 }