Commit 44d840f5 authored by Taddeus Kroes's avatar Taddeus Kroes

Updated some docs.

parent d1e2bd85
...@@ -12,7 +12,8 @@ namespace WebBasics; ...@@ -12,7 +12,8 @@ namespace WebBasics;
require_once 'base.php'; require_once 'base.php';
/** /**
* Object that to automatically load classes within a root directory. * Object to automatically load classes within a root directory.
*
* Simple example: all classes are located in the 'classes' directory. * Simple example: all classes are located in the 'classes' directory.
* <code> * <code>
* $loader = new Autoloader('classes'); * $loader = new Autoloader('classes');
......
...@@ -153,6 +153,8 @@ class Template extends Node { ...@@ -153,6 +153,8 @@ class Template extends Node {
/** /**
* Parse the content of the template file into a tree structure of blocks * Parse the content of the template file into a tree structure of blocks
* and variables. * and variables.
*
* @throws ParseError If an {end} tag is not used properly.
*/ */
private function parse_blocks() { private function parse_blocks() {
$current = $root = new Node('block'); $current = $root = new Node('block');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment