Constructor.
public __construct ( string $templateFile ) | ||
$templateFile | string | The template file to load. Must be in the following format: `"@MyPlugin/templateFileName"`. Note the absence of .twig from the end of the name. |
public function __construct($subtemplatePath, $installationSteps, $currentStepName) { parent::__construct($subtemplatePath); $this->steps = array_keys($installationSteps); $this->allStepsTitle = array_values($installationSteps); $this->currentStepName = $currentStepName; $this->showNextStep = false; }
/** * Constructor. */ public function __construct() { parent::__construct("@TestRunner/travis.yml"); $this->setTestsToRun(array()); $this->setTestsToExclude(array()); $this->setTravisShScriptLocation("\$PIWIK_ROOT_DIR/tests/travis/travis.sh"); $this->setTravisShCwd("tests/PHPUnit"); }
/** * Constructor. * * @param string $id */ public function __construct($id) { parent::__construct('@CoreHome/ReportsByDimension/_reportsByDimension'); $this->dimensionCategories = array(); $this->id = $id; }
/** * Constructor. */ public function __construct() { parent::__construct("@CoreConsole/travis.yml"); }
/** * Constructor. */ public function __construct() { $this->innerView = new View(static::TEMPLATE); parent::__construct("@CoreHome\\_uiControl"); }