当前位置: 首页>>代码示例>>PHP>>正文


PHP JObject::__construct方法代码示例

本文整理汇总了PHP中JObject::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP JObject::__construct方法的具体用法?PHP JObject::__construct怎么用?PHP JObject::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在JObject的用法示例。


在下文中一共展示了JObject::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: JParameter

 function __construct()
 {
     parent::__construct();
     $model =& JModel::getInstance('Configuration', 'JDefenderModel');
     $this->_params = new JParameter($model->getIni());
     require_once JPATH_ROOT . DS . 'administrator' . DS . 'components' . DS . 'com_jdefender' . DS . 'lib' . DS . 'utils' . DS . 'jd_extension_resolver.php';
 }
开发者ID:alphashuro,项目名称:audeprac,代码行数:7,代码来源:jd_handler.php

示例2: __construct

 /**
  * Class constructor
  *
  * @param   string  $xmlPath  XML content
  */
 public function __construct($xmlPath = '')
 {
     parent::__construct();
     if (!empty($xmlPath)) {
         $this->loadManifestFromXML($xmlPath);
     }
 }
开发者ID:Rikisha,项目名称:proj,代码行数:12,代码来源:manifest.php

示例3:

 /**
  * Constructor activating the default information of the class
  *
  * @access protected
  */
 function __construct()
 {
     parent::__construct();
     $document =& WFDocument::getInstance();
     // Load Extensions Object
     $document->addScript(array('extensions'));
 }
开发者ID:neoandrew1000,项目名称:crao_journal,代码行数:12,代码来源:extensions.php

示例4: __construct

 /**
  * Constructor.
  *
  * @param null $properties
  */
 public function __construct($properties = null)
 {
     $this->runTime = microtime(true);
     $this->setupLog();
     JLog::add('|¯¯¯ Starting');
     parent::__construct($properties);
 }
开发者ID:cuongnd,项目名称:etravelservice,代码行数:12,代码来源:ziper.php

示例5: array

 function __construct($p = array())
 {
     parent::__construct($p);
     if (is_string($this->get('params'))) {
         $this->set('params', oseJson::decode($this->get('params')));
     }
 }
开发者ID:kosmosby,项目名称:medicine-prof,代码行数:7,代码来源:oseObject.php

示例6: jimport

 function __construct($filename)
 {
     parent::__construct();
     jimport('joomla.filesystem.file');
     jimport('joomla.filesystem.folder');
     $this->_filename = $filename;
 }
开发者ID:alphashuro,项目名称:audeprac,代码行数:7,代码来源:jd_file.php

示例7: __construct

 public function __construct($properties = null)
 {
     if (!is_object($this->state)) {
         $this->state = new JObject();
     }
     $this->options = array();
     parent::__construct($properties);
 }
开发者ID:afend,项目名称:RULug,代码行数:8,代码来源:product.php

示例8: array

 function __construct()
 {
     parent::__construct();
     $this->rules = array();
     $this->operations = array();
     $this->values = array();
     $this->results = array();
 }
开发者ID:alphashuro,项目名称:audeprac,代码行数:8,代码来源:jd_expression_evaluator.php

示例9:

 function __construct($projectid = null)
 {
     parent::__construct();
     $this->_db = JFactory::getDBO();
     if ($projectid) {
         $this->setProjectId($projectid);
     }
 }
开发者ID:julienV,项目名称:Joomla-Tracks,代码行数:8,代码来源:rankingtool.php

示例10: array

 function __construct($taskName = 'All')
 {
     parent::__construct();
     $this->taskName = $taskName;
     $this->listeners = array();
     $model =& JModel::getInstance('Configuration', 'JDefenderModel');
     $this->_jd_options = new JParameter($model->getIni());
 }
开发者ID:alphashuro,项目名称:audeprac,代码行数:8,代码来源:jd_scanner.php

示例11: __construct

 /**
  * Public contructor. Automatically initializes the object with the status and quirks.
  *
  * @access public
  * @return AkeebaHelperStatus
  */
 public function __construct()
 {
     parent::__construct();
     $status = AEUtilQuirks::get_folder_status();
     $this->outputWritable = $this->status['output'];
     $this->tempWritable = $this->status['temporary'];
     $this->status = AEUtilQuirks::get_status();
     $this->quirks = AEUtilQuirks::get_quirks();
 }
开发者ID:WineWorld,项目名称:joomlatrialcmbg,代码行数:15,代码来源:status.php

示例12: __construct

 /**
  * Constructor activating the default information of the class
  *
  * @access  protected
  */
 public function __construct($config = array())
 {
     parent::__construct();
     // set document title
     if (isset($config['title'])) {
         $this->setTitle($config['title']);
     }
     $this->setProperties($config);
 }
开发者ID:grlf,项目名称:eyedock,代码行数:14,代码来源:document.php

示例13: __construct

 /**
  * Constructor. Initialises variables.
  *
  * @param   mixed  $properties  Either and associative array or another
  *                              object to set the initial properties of the object.
  */
 public function __construct($properties = null)
 {
     // Construct JObject
     parent::__construct($properties);
     // Initialise vars
     if (empty($this->data)) {
         $this->reset();
     }
 }
开发者ID:angelexevior,项目名称:jedchecker,代码行数:15,代码来源:report.php

示例14: __construct

 /**
  * Public contructor. Automatically initializes the object with the status and quirks.
  *
  * @access public
  * @return AkeebaHelperStatus
  */
 public function __construct()
 {
     parent::__construct();
     $status = Factory::getConfigurationChecks()->getFolderStatus();
     $this->outputWritable = $this->status['output'];
     $this->tempWritable = $this->status['temporary'];
     $this->status = Factory::getConfigurationChecks()->getShortStatus();
     $this->quirks = Factory::getConfigurationChecks()->getDetailedStatus();
 }
开发者ID:esorone,项目名称:efcpw,代码行数:15,代码来源:status.php

示例15: jimport

 function __construct($context)
 {
     parent::__construct();
     jimport('joomla.error.log');
     if (JString::substr($context, -4) != '.php') {
         $context .= '.php';
     } else {
         $context = 'mighty_defender_log.php';
     }
     $this->_context = $context;
     $this->_loggingEnabled = defined(JDEBUG) && JDEBUG;
 }
开发者ID:alphashuro,项目名称:audeprac,代码行数:12,代码来源:jd_logger.php


注:本文中的JObject::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。