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); }
public function __construct($pn_id = null) { parent::__construct($pn_id); # call superclass constructor }
public function __construct($pn_id = null) { $this->SETTINGS = new ModelSettings($this, 'settings', array()); parent::__construct($pn_id); # call superclass constructor }