當前位置: 首頁>>代碼示例>>PHP>>正文


PHP C_Component::initialize方法代碼示例

本文整理匯總了PHP中C_Component::initialize方法的典型用法代碼示例。如果您正苦於以下問題:PHP C_Component::initialize方法的具體用法?PHP C_Component::initialize怎麽用?PHP C_Component::initialize使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在C_Component的用法示例。


在下文中一共展示了C_Component::initialize方法的13個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: initialize

 /**
  * 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();
 }
開發者ID:ayoayco,項目名稱:upbeat,代碼行數:13,代碼來源:class.datamapper_model.php

示例2: initialize

 /**
  * 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;
 }
開發者ID:bensethro,項目名稱:runcyb,代碼行數:12,代碼來源:class.mvc_view.php

示例3: initialize

 function initialize()
 {
     parent::initialize();
     $this->_document_root = $this->set_document_root(ABSPATH);
 }
開發者ID:JeffreyBue,項目名稱:jb,代碼行數:5,代碼來源:class.fs.php

示例4: initialize

 function initialize()
 {
     parent::initialize();
     $this->setting_name = C_NextGen_Settings::get_instance()->frame_event_cookie_name;
 }
開發者ID:bensethro,項目名稱:runcyb,代碼行數:5,代碼來源:class.frame_event_publisher.php

示例5: initialize

 function initialize()
 {
     parent::initialize();
     $this->_settings = $this->object->get_routing_settings();
 }
開發者ID:hiaedenis,項目名稱:nextgen-gallery,代碼行數:5,代碼來源:class.routing_app.php

示例6: initialize

 /**
  * 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;
     }
 }
開發者ID:uwmadisoncals,項目名稱:Cluster-Plugins,代碼行數:16,代碼來源:package.module.datamapper.php

示例7: initialize

 function initialize()
 {
     parent::initialize();
     if ($this->has_method('define_columns')) {
         $this->define_columns();
     }
     $this->lookup_columns();
 }
開發者ID:JeffreyBue,項目名稱:jb,代碼行數:8,代碼來源:class.datamapper_driver_base.php

示例8: initialize

 function initialize()
 {
     parent::initialize();
     $this->_document_root = $this->set_document_root($_SERVER['DOCUMENT_ROOT']);
 }
開發者ID:jeanpage,項目名稱:ca_learn,代碼行數:5,代碼來源:class.fs.php

示例9: initialize

 function initialize()
 {
     parent::initialize();
     $this->_request_method = $_SERVER['REQUEST_METHOD'];
 }
開發者ID:bensethro,項目名稱:runcyb,代碼行數:5,代碼來源:class.router.php

示例10: initialize

 function initialize()
 {
     parent::initialize();
     $this->setting_name = C_NextGen_Settings::get_instance()->frame_communication_option_name;
 }
開發者ID:JeffreyBue,項目名稱:jb,代碼行數:5,代碼來源:class.frame_event_publisher.php

示例11: initialize

 function initialize()
 {
     parent::initialize();
     $this->lookup_columns();
 }
開發者ID:jeanpage,項目名稱:ca_learn,代碼行數:5,代碼來源:class.datamapper_driver_base.php

示例12: initialize

 function initialize($name = '', $properties = array())
 {
     parent::initialize($name);
     $properties['name'] = $name;
     foreach ($properties as $k => $v) {
         $this->{$k} = $v;
     }
 }
開發者ID:uwmadisoncals,項目名稱:Cluster-Plugins,代碼行數:8,代碼來源:package.module.lightbox.php

示例13: initialize

 function initialize($object_name)
 {
     parent::initialize();
     $this->_object_name = $object_name;
 }
開發者ID:hiaedenis,項目名稱:nextgen-gallery,代碼行數:5,代碼來源:class.datamapper_driver_base.php


注:本文中的C_Component::initialize方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。