コード例 #1
0
 /**
  * Constructor
  *
  * @param string $moduleDir
  * @param array  $translations
  */
 public function __construct($moduleDir = null, $translations = array())
 {
     parent::__construct($translations);
     $this->setModuleDir($moduleDir);
     $this->setFile($this->getModmanFile());
 }
コード例 #2
0
ファイル: MapParser.php プロジェクト: Flesh192/magento
 function __construct($mappings, $translations = array(), $pathSuffix)
 {
     parent::__construct($translations, $pathSuffix);
     $this->setMappings($mappings);
 }
コード例 #3
0
 /**
  * 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);
 }
コード例 #4
0
ファイル: MapParser.php プロジェクト: a13wes/MRKT
 function __construct($mappings, $translations = array())
 {
     parent::__construct($translations);
     $this->setMappings($mappings);
 }