__construct() public method

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.
Example #1
0
 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;
 }
Example #2
0
 /**
  * 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");
 }
Example #3
0
 /**
  * Constructor.
  *
  * @param string $id
  */
 public function __construct($id)
 {
     parent::__construct('@CoreHome/ReportsByDimension/_reportsByDimension');
     $this->dimensionCategories = array();
     $this->id = $id;
 }
Example #4
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct("@CoreConsole/travis.yml");
 }
Example #5
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     $this->innerView = new View(static::TEMPLATE);
     parent::__construct("@CoreHome\\_uiControl");
 }