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


PHP AbstractHandler::__construct方法代码示例

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


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

示例1: __construct

 /** Constructor */
 public function __construct($projectID, $scheduleID)
 {
     parent::__construct($projectID, $scheduleID);
     $this->Build = new Build();
     $this->Site = new Site();
     $this->DynamicAnalysisSummary = new DynamicAnalysisSummary();
 }
开发者ID:kitware,项目名称:cdash,代码行数:8,代码来源:dynamic_analysis_handler.php

示例2: __construct

 /** Constructor */
 public function __construct($projectID, $scheduleID)
 {
     parent::__construct($projectID, $scheduleID);
     $this->Build = new Build();
     $this->Site = new Site();
     $this->Configure = new BuildConfigure();
 }
开发者ID:kitware,项目名称:cdash,代码行数:8,代码来源:note_handler.php

示例3: __construct

 /** Constructor */
 public function __construct($projectID, $scheduleID)
 {
     parent::__construct($projectID, $scheduleID);
     $this->Build = new Build();
     $this->Site = new Site();
     $this->CoverageSummary = new CoverageSummary();
 }
开发者ID:rpshaw,项目名称:CDash,代码行数:8,代码来源:coverage_junit_handler.php

示例4: __construct

 /** Constructor */
 public function __construct($projectID, $scheduleID)
 {
     parent::__construct($projectID, $scheduleID);
     $this->Build = new Build();
     $this->Site = new Site();
     $this->UpdateEndTime = false;
 }
开发者ID:rpshaw,项目名称:CDash,代码行数:8,代码来源:dynamic_analysis_handler.php

示例5:

 /**
  * Constructs a new DataTypeHandler and sets up everything.
  *
  * @param AbstractSAXParser $parser The XML parser (default: ExpatParser)
  * @param AbstractHandler $parentHandler The parent handler that invoked this handler.
  * @param ProjectConfigurator $configurator The ProjectConfigurator object
  * @param Target $target The target object this datatype is contained in (null for top-level datatypes).
  */
 function __construct(AbstractSAXParser $parser, AbstractHandler $parentHandler, ProjectConfigurator $configurator, $target = null)
 {
     // FIXME b2 typehinting
     parent::__construct($parser, $parentHandler);
     $this->target = $target;
     $this->configurator = $configurator;
 }
开发者ID:nainit-virtueinfo,项目名称:visymfony,代码行数:15,代码来源:DataTypeHandler.php

示例6: __construct

 /**
  * Constructor
  *
  * @throws \RuntimeException
  * @internal param array $options Optional parameters
  *
  * @since    2.0
  */
 public function __construct($options)
 {
     if (!static::isSupported()) {
         throw new \RuntimeException('APC Extension is not available', 500);
     }
     parent::__construct($options);
 }
开发者ID:kiyayeh,项目名称:windwalker,代码行数:15,代码来源:ApcHandler.php

示例7: __construct

 public function __construct($projectid, $scheduleid)
 {
     parent::__construct($projectid, $scheduleid);
     $this->Build = new Build();
     $this->Site = new Site();
     $this->Append = false;
     $this->Feed = new Feed();
 }
开发者ID:josephsnyder,项目名称:CDash,代码行数:8,代码来源:build_handler.php

示例8: __construct

 public function __construct($projectid, $scheduleid)
 {
     parent::__construct($projectid, $scheduleid);
     $this->Build = new Build();
     $this->Site = new Site();
     $this->Configure = new BuildConfigure();
     $this->StartTimeStamp = 0;
     $this->EndTimeStamp = 0;
 }
开发者ID:kitware,项目名称:cdash,代码行数:9,代码来源:configure_handler.php

示例9: __construct

 /**
  *
  * @param callable|HandlerInterface $handler
  *        	Handler or factory callable($record, $fingersCrossedHandler).
  * @param int $factor
  *        	Sample factor
  */
 public function __construct($handler, $factor)
 {
     parent::__construct();
     $this->handler = $handler;
     $this->factor = $factor;
     if (!$this->handler instanceof HandlerInterface && !is_callable($this->handler)) {
         throw new \RuntimeException("The given handler (" . json_encode($this->handler) . ") is not a callable nor a Monolog\\Handler\\HandlerInterface object");
     }
 }
开发者ID:ngitimfoyo,项目名称:Nyari-AppPHP,代码行数:16,代码来源:SamplingHandler.php

示例10: __construct

 /** Constructor */
 public function __construct($projectID, $scheduleID)
 {
     parent::__construct($projectID, $scheduleID);
     $this->Build = new Build();
     $this->Site = new Site();
     $this->UpdateEndTime = false;
     $this->CoverageFiles = array();
     $this->CurrentLine = "";
 }
开发者ID:kitware,项目名称:cdash,代码行数:10,代码来源:coverage_log_handler.php

示例11: __construct

 /**
  * Constructor
  *
  * @param   \Memcache $memcache A Memcache instance
  * @param   array     $options  Optional parameters.
  *
  * @throws \RuntimeException
  * @since   2.0
  */
 public function __construct(\Memcache $memcache = null, $options = array())
 {
     if (!self::isSupported()) {
         throw new \RuntimeException('Memcache Extension is not available', 500);
     }
     $this->memcache = $memcache ?: new \Memcache();
     $this->ttl = isset($options['expiretime']) ? (int) $options['expiretime'] : 86400;
     parent::__construct($options);
 }
开发者ID:rokite,项目名称:windwalker,代码行数:18,代码来源:MemcacheHandler.php

示例12: __construct

 /** Constructor */
 public function __construct($projectID, $scheduleID)
 {
     parent::__construct($projectID, $scheduleID);
     $this->Build = new Build();
     $this->Site = new Site();
     $this->TmpFilename = '';
     $this->Base64TmpFileWriteHandle = 0;
     $this->Base64TmpFilename = '';
     $this->UploadError = false;
 }
开发者ID:rpshaw,项目名称:CDash,代码行数:11,代码来源:upload_handler.php

示例13: __construct

 /** Constructor */
 public function __construct($projectID, $scheduleID)
 {
     parent::__construct($projectID, $scheduleID);
     $this->Build = new Build();
     $this->Site = new Site();
     $this->UpdateEndTime = false;
     $this->NumberTestsFailed = 0;
     $this->NumberTestsNotRun = 0;
     $this->NumberTestsPassed = 0;
     $this->Feed = new Feed();
 }
开发者ID:rpshaw,项目名称:CDash,代码行数:12,代码来源:testing_handler.php

示例14:

 /**
  *  Constructs a new NestedElement handler and sets up everything.
  *
  *  @param  object  the ExpatParser object
  *  @param  object  the parent handler that invoked this handler
  *  @param  object  the ProjectConfigurator object
  *  @param  object  the parent object this element is contained in
  *  @param  object  the parent wrapper object
  *  @param  object  the target object this task is contained in
  *  @access public
  */
 function __construct($parser, $parentHandler, $configurator, $parent, $parentWrapper, $target) {
     parent::__construct($parser, $parentHandler);
     $this->configurator = $configurator;
     if ($parent instanceof TaskAdapter) {
         $this->parent = $parent->getProxy();
     } else {
         $this->parent = $parent;
     }
     $this->parentWrapper = $parentWrapper;
     $this->target = $target;
 }
开发者ID:nationalfield,项目名称:symfony,代码行数:22,代码来源:NestedElementHandler.php

示例15: __construct

 /**
  *  Constructs a new NestedElement handler and sets up everything.
  *
  * @param  object  the ExpatParser object
  * @param  object  the parent handler that invoked this handler
  * @param  object  the ProjectConfigurator object
  * @param  object  the parent object this element is contained in
  * @param  object  the parent wrapper object
  * @param  object  the target object this task is contained in
  */
 public function __construct($parser, $parentHandler, $configurator, $parent = null, $parentWrapper = null, $target = null)
 {
     parent::__construct($parser, $parentHandler);
     $this->configurator = $configurator;
     if ($parentWrapper != null) {
         $this->parent = $parentWrapper->getProxy();
     } else {
         $this->parent = $parent;
     }
     $this->parentWrapper = $parentWrapper;
     $this->target = $target;
 }
开发者ID:xxspartan16,项目名称:BMS-Market,代码行数:22,代码来源:ElementHandler.php


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