当前位置: 首页>>代码示例>>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;未经允许,请勿转载。