protected function addStandardModuleTemplatesToParserEnvironment($parser, $module)
    {
        $stdTpls = TemplateDefinition::getStandardTemplatesSubdirsIterator();

        foreach ($stdTpls as $templateType => $templateSubdirName) {
            $this->addModuleTemplateToParserEnvironment($parser, $module, $templateType, $templateSubdirName);
        }
    }
protected function addStandardModuleTemplatesToParserEnvironment($parser, $module)
    {
        $stdTpls = TemplateDefinition::getStandardTemplatesSubdirsIterator();

        foreach ($stdTpls as $templateType => $templateSubdirName) {
            $this->addModuleTemplateToParserEnvironment($parser, $module, $templateType, $templateSubdirName);
        }
    }
protected function addStandardModuleTemplatesToParserEnvironment ( $ parser , $ module ) { $ stdTpls = TemplateDefinition :: getStandardTemplatesSubdirsIterator ( ) ; foreach ( $ stdTpls as $ templateType => $ templateSubdirName ) { $ this -> addModuleTemplateToParserEnvironment ( $ parser , $ module , $ templateType , $ templateSubdirName ) ; } }
Add all module's standard templates to the parser environment

@param Definition $parser the parser
@param Module     $module the Module.
Add all module s standard templates to the parser environment