lib/Dwoo/Plugins/Functions/PluginExtends.php 1 location
|
@@ 106-110 (lines=5) @@
|
103 |
|
throw new CompilationException($compiler, 'Extends : ' . $e->getMessage()); |
104 |
|
} |
105 |
|
|
106 |
|
if ($parent === null) { |
107 |
|
throw new CompilationException($compiler, 'Extends : Resource "' . $resource . ':' . $identifier . '" not found.'); |
108 |
|
} elseif ($parent === false) { |
109 |
|
throw new CompilationException($compiler, 'Extends : Resource "' . $resource . '" does not support extends.'); |
110 |
|
} |
111 |
|
|
112 |
|
$curTpl = $parent; |
113 |
|
$newParent = array( |
lib/Dwoo/Plugins/Functions/PluginExtendsCheck.php 1 location
|
@@ 46-50 (lines=5) @@
|
43 |
|
|
44 |
|
$tpl = $compiler->getDwoo()->templateFactory($resource, $identifier); |
45 |
|
|
46 |
|
if ($tpl === null) { |
47 |
|
throw new CompilationException($compiler, |
48 |
|
'Load Templates : Resource "' . $resource . ':' . $identifier . '" not found.'); |
49 |
|
} elseif ($tpl === false) { |
50 |
|
throw new CompilationException($compiler, |
51 |
|
'Load Templates : Resource "' . $resource . '" does not support includes.'); |
52 |
|
} |
53 |
|
|
lib/Dwoo/Plugins/Functions/PluginLoadTemplates.php 1 location
|
@@ 61-65 (lines=5) @@
|
58 |
|
|
59 |
|
$tpl = $compiler->getDwoo()->templateFactory($resource, $identifier); |
60 |
|
|
61 |
|
if ($tpl === null) { |
62 |
|
throw new CompilationException($compiler, |
63 |
|
'Load Templates : Resource "' . $resource . ':' . $identifier . '" not found.'); |
64 |
|
} elseif ($tpl === false) { |
65 |
|
throw new CompilationException($compiler, |
66 |
|
'Load Templates : Resource "' . $resource . '" does not support includes.'); |
67 |
|
} |
68 |
|
|