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();
 }
示例#4
0
 public function __construct()
 {
     parent::__construct();
     $this->name = "";
     $this->address = "";
     $this->port = 0;
     $this->capacity = 0;
     $this->type = new ServerType();
 }
示例#5
0
 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);
     }
 }
示例#8
0
 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);
     }
 }
示例#9
0
 /**
  *
  */
 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'];
 }
示例#10
0
 /**
  *
  */
 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();
 }
示例#12
0
 /**
  * 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');
 }
示例#14
0
 public function __construct()
 {
     parent::__construct();
     $this->category = new ForumCategory();
 }
示例#15
0
 public function __construct()
 {
     parent::__construct();
     $this->name = "";
 }
示例#16
0
 /**
  * @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;
 }
示例#17
0
 public function __construct($args)
 {
     parent::__construct($args);
 }
 /** 
  *
  */
 public function __construct()
 {
     parent::__construct();
 }
示例#19
0
 /**
  * @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;
 }
示例#20
0
 public function __construct()
 {
     parent::__construct();
     $this->user = new User();
 }
示例#21
0
 /**
  * Initializes internal state of BaseEnumItem object.
  * @see        applyDefaults()
  */
 public function __construct()
 {
     parent::__construct();
     $this->applyDefaultValues();
 }
示例#22
0
 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;
     }
 }