Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
webbasics
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
webbasics
Commits
44d840f5
Commit
44d840f5
authored
Jul 15, 2012
by
Taddeus Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated some docs.
parent
d1e2bd85
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
autoloader.php
autoloader.php
+2
-1
template.php
template.php
+2
-0
No files found.
autoloader.php
View file @
44d840f5
...
@@ -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');
...
...
template.php
View file @
44d840f5
...
@@ -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'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment