/** * The default constructor will create an empty object. Optionally, you can pass * an object ID or GUID to the object which will then initialize the object with * the corresponding DB instance. * * @param mixed $id A valid object ID or GUID, omit for an empty object. */ public function __construct($id = null) { if ($this->__mgdschema_class_name__ == 'midgard_person') { $this->__mgdschema_class_name__ = $GLOBALS['midcom_config']['person_class']; } parent::__construct($id); }
public function __construct($id = null) { parent::__construct($id); if (!$this->orgOpenpsaObtype) { $this->orgOpenpsaObtype = self::TYPE_NORMAL; } }
public function __construct($id = null) { $this->_use_rcs = false; $this->_use_activitystream = false; parent::__construct($id); if (!$this->id) { $this->timestamp = $this->gmtime(); } }
public function __construct($id = null) { parent::__construct($id); /* To specify different values for MMS and SMS first unset the MMS values to destroy the reference, then set correct value */ $this->mms_lib =& $this->sms_lib; $this->mms_lib_api =& $this->sms_lib_api; $this->mms_lib_location =& $this->sms_lib_location; $this->mms_lib_client_id =& $this->sms_lib_client_id; $this->mms_lib_user =& $this->sms_lib_user; $this->mms_lib_password =& $this->sms_lib_password; $config = midcom_baseclasses_components_configuration::get('org.openpsa.directmarketing', 'config'); $this->chunk_size = $config->get('chunk_size'); }
public function __construct($id = null) { $this->_use_rcs = false; $this->_use_activitystream = false; parent::__construct($id); }