From 155cf6aeea9ba7ecbc39face6442d3ce1b03ad8e Mon Sep 17 00:00:00 2001
From: Nils Schwabe
Date: Wed, 4 Jun 2014 14:27:03 +0200
Subject: Add webinterface with functionallity
---
management-interface/lib/api/classTemplate.html | 681 ++++++++++++++++++++++++
1 file changed, 681 insertions(+)
create mode 100644 management-interface/lib/api/classTemplate.html
(limited to 'management-interface/lib/api/classTemplate.html')
diff --git a/management-interface/lib/api/classTemplate.html b/management-interface/lib/api/classTemplate.html
new file mode 100644
index 0000000..0a3a2f1
--- /dev/null
+++ b/management-interface/lib/api/classTemplate.html
@@ -0,0 +1,681 @@
+
+
+
+
+
+
+
XML-style template engine.
+ More...
+
+
+
+
+
+

+
+
+
+ |
+| | extend ($tag, $func) |
+| |
+| | __call ($func, array $args) |
+| |
+| | parse ($text) |
+| |
+| | __construct () |
+| |
+
+| | token ($str) |
+| |
+| | resolve ($str, array $hive=NULL) |
+| |
+| | render ($file, $mime='text/html', array $hive=NULL, $ttl=0) |
+| |
+
+| | esc ($arg) |
+| |
+| | raw ($arg) |
+| |
+| | render ($file, $mime='text/html', array $hive=NULL, $ttl=0) |
+| |
+
+ |
+|
+ | $custom =array() |
+| | Custom tag handlers.
|
+| |
+ |
+|
+const | E_Method ='Call to undefined method %s()' |
+| |
+
+ |
+|
+ | $tags |
+| | Template tags.
|
+| |
+
+|
+ | $mime |
+| | MIME type.
|
+| |
+
+|
+ | $view |
+| | Template file.
|
+| |
+
+
+
XML-style template engine.
+
+
+
+
+
+
+ | Template::__construct |
+ ( |
+ | ) |
+ |
+
+
+
+
Class constructor return object
+
+
+
+
+
+
+
+
+
+ | Template::__call |
+ ( |
+ |
+ $func, |
+
+
+ |
+ |
+ array |
+ $args |
+
+
+ |
+ ) |
+ | |
+
+
+
+
Call custom tag handler
+
- Returns
- string|FALSE
+
- Parameters
-
+
+ | $func | callback |
+ | $args | array |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | Template::_case |
+ ( |
+ array |
+ $node | ) |
+ |
+
+
+ |
+
+protected |
+
+
+
+
Template -case- tag handler
+
- Returns
- string
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | Template::_check |
+ ( |
+ array |
+ $node | ) |
+ |
+
+
+ |
+
+protected |
+
+
+
+
Template -check- tag handler
+
- Returns
- string
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | Template::_default |
+ ( |
+ array |
+ $node | ) |
+ |
+
+
+ |
+
+protected |
+
+
+
+
Template -default- tag handler
+
- Returns
- string
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | Template::_exclude |
+ ( |
+ | ) |
+ |
+
+
+ |
+
+protected |
+
+
+
+
Template -exclude- tag handler
+
- Returns
- string
+
+
+
+
+
+
+
+
+
+
+
+ | Template::_false |
+ ( |
+ array |
+ $node | ) |
+ |
+
+
+ |
+
+protected |
+
+
+
+
Template -false- tag handler
+
- Returns
- string
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | Template::_ignore |
+ ( |
+ array |
+ $node | ) |
+ |
+
+
+ |
+
+protected |
+
+
+
+
Template -ignore- tag handler
+
- Returns
- string
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | Template::_include |
+ ( |
+ array |
+ $node | ) |
+ |
+
+
+ |
+
+protected |
+
+
+
+
Template -include- tag handler
+
- Returns
- string
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | Template::_loop |
+ ( |
+ array |
+ $node | ) |
+ |
+
+
+ |
+
+protected |
+
+
+
+
Template -loop- tag handler
+
- Returns
- string
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | Template::_repeat |
+ ( |
+ array |
+ $node | ) |
+ |
+
+
+ |
+
+protected |
+
+
+
+
Template -repeat- tag handler
+
- Returns
- string
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | Template::_set |
+ ( |
+ array |
+ $node | ) |
+ |
+
+
+ |
+
+protected |
+
+
+
+
Template -set- tag handler
+
- Returns
- string
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | Template::_switch |
+ ( |
+ array |
+ $node | ) |
+ |
+
+
+ |
+
+protected |
+
+
+
+
Template -switch- tag handler
+
- Returns
- string
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | Template::_true |
+ ( |
+ array |
+ $node | ) |
+ |
+
+
+ |
+
+protected |
+
+
+
+
Template -true- tag handler
+
- Returns
- string
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | Template::build |
+ ( |
+ |
+ $node | ) |
+ |
+
+
+ |
+
+protected |
+
+
+
+
Assemble markup
+
- Returns
- string
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+ | Template::extend |
+ ( |
+ |
+ $tag, |
+
+
+ |
+ |
+ |
+ $func |
+
+
+ |
+ ) |
+ | |
+
+
+
+
Extend template with custom tag
+
- Returns
- NULL
+
- Parameters
-
+
+ | $tag | string |
+ | $func | callback |
+
+
+
+
+
+
+
+
+
+
+
+ | Template::parse |
+ ( |
+ |
+ $text | ) |
+ |
+
+
+
+
Parse string for template directives and tokens
+
- Returns
- string|array
+
- Parameters
-
+
+
+
+
+
+
+
The documentation for this class was generated from the following file:
+
--
cgit v1.2.3-55-g7522