/**
  * Constructor
  *
  * @param string $moduleDir
  * @param array  $translations
  */
 public function __construct($moduleDir = null, $translations = array())
 {
     parent::__construct($translations);
     $this->setModuleDir($moduleDir);
     $this->setFile($this->getModmanFile());
 }
Esempio n. 2
0
 function __construct($mappings, $translations = array(), $pathSuffix)
 {
     parent::__construct($translations, $pathSuffix);
     $this->setMappings($mappings);
 }
 /**
  * Constructor
  *
  * @param string $moduleDir
  * @param string $packageXmlFile
  */
 public function __construct($moduleDir, $packageXmlFile, $translations = array())
 {
     parent::__construct($translations);
     $this->setModuleDir($moduleDir);
     $this->setFile($this->getModuleDir() . '/' . $packageXmlFile);
 }
Esempio n. 4
0
 function __construct($mappings, $translations = array())
 {
     parent::__construct($translations);
     $this->setMappings($mappings);
 }