/** Constructor */ public function __construct($projectID, $scheduleID) { parent::__construct($projectID, $scheduleID); $this->Build = new Build(); $this->Site = new Site(); $this->DynamicAnalysisSummary = new DynamicAnalysisSummary(); }
/** Constructor */ public function __construct($projectID, $scheduleID) { parent::__construct($projectID, $scheduleID); $this->Build = new Build(); $this->Site = new Site(); $this->Configure = new BuildConfigure(); }
/** Constructor */ public function __construct($projectID, $scheduleID) { parent::__construct($projectID, $scheduleID); $this->Build = new Build(); $this->Site = new Site(); $this->CoverageSummary = new CoverageSummary(); }
/** Constructor */ public function __construct($projectID, $scheduleID) { parent::__construct($projectID, $scheduleID); $this->Build = new Build(); $this->Site = new Site(); $this->UpdateEndTime = false; }
/** * 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; }
/** * 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); }
public function __construct($projectid, $scheduleid) { parent::__construct($projectid, $scheduleid); $this->Build = new Build(); $this->Site = new Site(); $this->Append = false; $this->Feed = new Feed(); }
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; }
/** * * @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"); } }
/** 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 = ""; }
/** * 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); }
/** 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; }
/** 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(); }
/** * 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; }
/** * 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; }
/** Constructor */ public function __construct($projectid, $scheduleid) { parent::__construct($projectid, $scheduleid); // Only actually track stuff and write it into the database if the // Project.xml file's name element matches this project's name in the // database. // $this->ProjectNameMatches = true; $this->Project = new Project(); $this->Project->Id = $projectid; $this->Project->Fill(); }
/** 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->TestProperties = ''; $this->HasSiteTag = false; $this->BuildAdded = false; }
/** * Constructs a new TaskHandler and sets up everything. * * @param AbstractSAXParser The ExpatParser object * @param object $parentHandler The parent handler that invoked this handler * @param ProjectConfigurator $configurator * @param TaskContainer $container The container object this task is contained in (null for top-level tasks). * @param RuntimeConfigurable $parentWrapper Wrapper for the parent element, if any. * @param Target $target The target object this task is contained in (null for top-level tasks). */ function __construct(AbstractSAXParser $parser, $parentHandler, ProjectConfigurator $configurator, $container = null, $parentWrapper = null, $target = null) { parent::__construct($parser, $parentHandler); if ($container !== null && !$container instanceof TaskContainer) { throw new Exception("Argument expected to be a TaskContainer, got something else"); } if ($parentWrapper !== null && !$parentWrapper instanceof RuntimeConfigurable) { throw new Exception("Argument expected to be a RuntimeConfigurable, got something else."); } if ($target !== null && !$target instanceof Target) { throw new Exception("Argument expected to be a Target, got something else"); } $this->configurator = $configurator; $this->container = $container; $this->parentWrapper = $parentWrapper; $this->target = $target; }
/** * Constructs a new ProjectHandler * * @param object the ExpatParser object * @param object the parent handler that invoked this handler * @param object the ProjectConfigurator object * @access public */ function __construct($parser, $parentHandler, $configurator) { $this->configurator = $configurator; parent::__construct($parser, $parentHandler); }
/** * StreamHandler saves the log messages to a stream * * $path can be a php stream (e.g. php://stdout) * or a filename (e.g. /var/logs/fabyscore.logs) * * write() will create the log directory if it does not exist * * @param string $path * @param string $format * @param string $name */ public function __construct(string $path, string $format = "[%datetime%] [%name%] [%level%] %message% %context%", string $name = "PHP-LOG") { $this->path = $path; parent::__construct($format, $name); }
/** * Constructs a new RootHandler * * The root filter is required so the parser knows what to do. It's * called by the ExpatParser that is instatiated in ProjectConfigurator. * * It recieves the expat parse object ref and a reference to the * configurator * * @param AbstractSAXParser $parser The ExpatParser object. * @param ProjectConfigurator $configurator The ProjectConfigurator object. */ function __construct(AbstractSAXParser $parser, ProjectConfigurator $configurator) { $this->configurator = $configurator; parent::__construct($parser, $this); }
/** * Constructs a new TargetHandler * * @param object the ExpatParser object * @param object the parent handler that invoked this handler * @param object the ProjectConfigurator object */ function __construct(AbstractSAXParser $parser, AbstractHandler $parentHandler, ProjectConfigurator $configurator) { parent::__construct($parser, $parentHandler); $this->configurator = $configurator; }
/** * Loggr constructor. * * @param $name */ public function __construct($name) { parent::__construct($name); }
/** * Constructs a new ProjectHandler * * @param object the ExpatParser object * @param object the parent handler that invoked this handler * @param ProjectConfigurator $configurator the ProjectConfigurator object * @param PhingXMLContext $context */ public function __construct($parser, $parentHandler, $configurator, PhingXMLContext $context) { parent::__construct($parser, $parentHandler); $this->configurator = $configurator; $this->context = $context; }
/** * Constructs a new TargetHandler * * @param AbstractSAXParser $parser * @param AbstractHandler $parentHandler * @param ProjectConfigurator $configurator * @param PhingXMLContext $context * @internal param the $object ExpatParser object * @internal param the $object parent handler that invoked this handler * @internal param the $object ProjectConfigurator object */ public function __construct(AbstractSAXParser $parser, AbstractHandler $parentHandler, ProjectConfigurator $configurator, PhingXMLContext $context) { parent::__construct($parser, $parentHandler); $this->configurator = $configurator; $this->context = $context; }
/** * Constructor * * @param array $params */ public function __construct(array $params) { parent::__construct($params[0], $params[1]); }
function __construct() { parent::__construct(); $this->basePath = realpath(dirname(__FILE__) . '/../../') . '/'; }