/** * Creates a new entity for the specified mapper * @param C_DataMapper_Driver_Base $mapper * @param array|stdClass $properties * @param string $context */ function initialize($mapper = NULL, $properties = FALSE) { $this->_mapper = $mapper; $this->_stdObject = $properties ? (object) $properties : new stdClass(); parent::initialize(); $this->set_defaults(); }
/** * Initialize the view with some parameters * @param array $params * @param context $context */ function initialize($template, $params = array(), $engine = 'php', $context = FALSE) { parent::initialize($context); $this->_template = $template; $this->_params = (array) $params; $this->_engine = $engine; }
function initialize() { parent::initialize(); $this->_document_root = $this->set_document_root(ABSPATH); }
function initialize() { parent::initialize(); $this->setting_name = C_NextGen_Settings::get_instance()->frame_event_cookie_name; }
function initialize() { parent::initialize(); $this->_settings = $this->object->get_routing_settings(); }
/** * Creates a new entity for the specified mapper * @param C_DataMapper_Driver_Base $mapper * @param array|stdClass $properties * @param string $context */ function initialize($mapper = NULL, $properties = FALSE) { $this->_mapper = $mapper; $this->_stdObject = $properties ? (object) $properties : new stdClass(); parent::initialize(); if (!$this->has_default_values()) { $this->set_defaults(); $this->_stdObject->__defaults_set = TRUE; } }
function initialize() { parent::initialize(); if ($this->has_method('define_columns')) { $this->define_columns(); } $this->lookup_columns(); }
function initialize() { parent::initialize(); $this->_document_root = $this->set_document_root($_SERVER['DOCUMENT_ROOT']); }
function initialize() { parent::initialize(); $this->_request_method = $_SERVER['REQUEST_METHOD']; }
function initialize() { parent::initialize(); $this->setting_name = C_NextGen_Settings::get_instance()->frame_communication_option_name; }
function initialize() { parent::initialize(); $this->lookup_columns(); }
function initialize($name = '', $properties = array()) { parent::initialize($name); $properties['name'] = $name; foreach ($properties as $k => $v) { $this->{$k} = $v; } }
function initialize($object_name) { parent::initialize(); $this->_object_name = $object_name; }