[limb-svn] r6769 - 3.x/trunk/limb/macro/src/compiler
svn at limb-project.com
svn at limb-project.com
Thu Feb 7 13:53:49 MSK 2008
Author: korchasa
Date: 2008-02-07 13:53:49 +0300 (Thu, 07 Feb 2008)
New Revision: 6769
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6769
Modified:
3.x/trunk/limb/macro/src/compiler/lmbMacroCompiler.class.php
Log:
-- phpDoc
Modified: 3.x/trunk/limb/macro/src/compiler/lmbMacroCompiler.class.php
===================================================================
--- 3.x/trunk/limb/macro/src/compiler/lmbMacroCompiler.class.php 2008-02-07 10:53:25 UTC (rev 6768)
+++ 3.x/trunk/limb/macro/src/compiler/lmbMacroCompiler.class.php 2008-02-07 10:53:49 UTC (rev 6769)
@@ -21,7 +21,7 @@
protected $tree_builder;
/**
- * @var lmbMacroTemplateLocator
+ * @var lmbMacroTemplateLocatorInterface
*/
protected $template_locator;
@@ -66,9 +66,10 @@
return $code_writer->renderCode();
}
- function parseTemplate($source_file_path, $root_node)
+ function parseTemplate($file_name, $root_node)
{
- $parser = new lmbMacroParser($this->tree_builder, $this->template_locator, $this->tag_dictionary);
+ $source_file_path = $this->template_locator->locateSourceTemplate($file_name);
+ $parser = new lmbMacroParser($this->tree_builder, $this->tag_dictionary);
$parser->parse($source_file_path, $root_node);
}
More information about the limb-svn
mailing list