public function __construct($pa_value_array = null) { parent::__construct(); if (is_array($pa_value_array)) { $this->loadValueFromRow($pa_value_array); } }
/** * Instantiate Domain Object with name * * @param string $name */ public function __construct($name) { $this->name = $name; $this->dsRecords = array(); $this->nameservers = array(); parent::__construct(); }
public function __construct() { parent::__construct(); $this->opo_config = Configuration::load(); $this->opo_type_config = Configuration::load($this->opo_config->get('annotation_type_config')); $this->opa_type_info = $this->opo_type_config->getAssoc('types'); $this->opa_property_values = array(); }
public function __construct() { parent::__construct(); $this->name = ""; $this->address = ""; $this->port = 0; $this->capacity = 0; $this->type = new ServerType(); }
public function __construct() { $this->types = array_keys($this->hierarchy); $this->class = get_class($this); $this->childClass = @$this->types[1 + array_search($this->class, $this->types)]; $this->debug = isset($this->debug) ? $this->debug : 'BId'; $this->isQueryResult = false; parent::__construct(); }
/** * Instantiate WalletName object * * @param string $domainName * @param string $name * @param string $externalId * @param string $id * @param array $wallets */ public function __construct($domainName, $name, $externalId, $id = null, $wallets = array()) { $this->domainName = $domainName; $this->name = $name; $this->externalId = $externalId; $this->id = $id; $this->wallets = $wallets; parent::__construct(); }
public function __construct($po_request = null, $po_response = null) { parent::__construct(); if ($po_request) { $this->setRequest($po_request); } if ($po_response) { $this->setResponse($po_response); } }
public function __construct($po_request, $pm_path = null, $ps_character_encoding = 'UTF8') { parent::__construct(); $this->opo_request = $po_request; $this->opa_view_paths = array(); $this->opa_view_vars = array(); $this->opo_appconfig = Configuration::load(); $this->ops_character_encoding = $ps_character_encoding; if ($pm_path) { $this->setViewPath($pm_path); } }
/** * */ function __construct() { parent::__construct(); $this->opo_config = Configuration::load(); if ($vs_default_dir = trim($this->opo_config->get("taskqueue_handler_plugins"))) { $this->opa_handler_plugin_dirs[] = $vs_default_dir; } $this->opo_eventlog = new Eventlog(); $this->opo_processes = new ProcessStatus(); $this->opo_app_plugin_manager = new ApplicationPluginManager(); // Let application plugins add their own task queue plugin directories $va_tmp = $this->opo_app_plugin_manager->hookRegisterTaskQueuePluginDirectories(array('handler_plugin_directories' => $this->opa_handler_plugin_dirs, 'instance' => $this)); $this->opa_handler_plugin_dirs = $va_tmp['handler_plugin_directories']; }
/** * */ public function __construct($po_request, $pm_path = null, $ps_character_encoding = 'UTF8', $pa_options = null) { parent::__construct(); $this->opo_request = $po_request; $this->opa_view_paths = array(); $this->opa_view_vars = array(); $this->opo_appconfig = Configuration::load(); $this->ops_character_encoding = $ps_character_encoding; if (!$pm_path) { $pm_path = array(); } $vs_suffix = null; if (!is_array($pm_path)) { $pm_path = array($pm_path); } foreach ($pm_path as $ps_path) { // Preserve any path suffix after "views" // Eg. if path is /web/myinstall/themes/mytheme/views/bundles then we want to retain "/bundles" on the default path $va_suffix_bits = array(); $va_tmp = array_reverse(explode("/", $ps_path)); foreach ($va_tmp as $vs_path_element) { if ($vs_path_element == 'views') { break; } array_push($va_suffix_bits, $vs_path_element); } if ($vs_suffix = join("/", $va_suffix_bits)) { $vs_suffix = '/' . $vs_suffix; break; } } if (caGetOption('includeDefaultThemePath', $pa_options, true)) { $vs_default_theme_path = $po_request->getDefaultThemeDirectoryPath() . '/views' . $vs_suffix; if (!in_array($vs_default_theme_path, $pm_path) && !in_array($vs_default_theme_path . '/', $pm_path)) { array_unshift($pm_path, $vs_default_theme_path); } } if (sizeof($pm_path) > 0) { $this->setViewPath($pm_path); } }
/** * Instantiate a Partner object * * @param string $id * @param string $name */ public function __construct($id, $name) { $this->id = $id; $this->name = $name; parent::__construct(); }
/** * Constructor, create a new instance of an event controler * @param object sqlConnect $dbc * @access public */ function EventControler($dbc = 0) { parent::__construct(); $this->dbc = $dbc; if (defined("RADRIA_LOG_RUN_EVENTCONTROLER")) { $this->setLogRun(RADRIA_LOG_RUN_EVENTCONTROLER); } $this->setLog("\n\n Instanciate Event Controler Object " . date("Y/m/d H:i:s")); if (!defined("RADRIA_EVENT_SECURE")) { define("RADRIA_EVENT_SECURE", true); } $this->setSecure(RADRIA_EVENT_SECURE); }
/** * Create a new instance. * * @param Transport $transport The transport. */ public function __construct(Transport $transport) { parent::__construct($transport); // We will use this almost ever? $this->setI18nType('XLIFF'); $this->setSourceLanguageCode('en'); $this->setMimetype('text/xml'); }
public function __construct() { parent::__construct(); $this->category = new ForumCategory(); }
public function __construct() { parent::__construct(); $this->name = ""; }
/** * @param string $name Canonical name for the object * @param Domain $domain Domain to which the object belongs */ protected function __construct($name, Domain $domain) { parent::__construct($name, $domain->getContext()); $this->domain = $domain; }
public function __construct($args) { parent::__construct($args); }
/** * */ public function __construct() { parent::__construct(); }
/** * @param string $name Name of stored procedure. * @param string $type Type of stored procedure. */ function __construct($name = '', $type = '') { parent::__construct($name); $this->type = (string) $type; }
public function __construct() { parent::__construct(); $this->user = new User(); }
/** * Initializes internal state of BaseEnumItem object. * @see applyDefaults() */ public function __construct() { parent::__construct(); $this->applyDefaultValues(); }
public function __construct($args) { parent::__construct($args); if (!$this->id) { trigger_error("ListGroupings requires id", E_USER_WARNING); return; } /** * NOTE: automatical init of name is not good, because * it can't be internationalized */ if (!$this->name) { $this->name = $this->id; } if (!$this->key) { $this->key = $this->id; } if (!$this->order_key) { $this->order_key = $this->id; } }