From 946554ff4b03d81f32375832b8b50883a3ffeedf Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 10 May 2013 03:52:06 -0700 Subject: doc update --- doc/html/classApp.html | 119 +++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 106 insertions(+), 13 deletions(-) (limited to 'doc/html/classApp.html') diff --git a/doc/html/classApp.html b/doc/html/classApp.html index 28a9d694c..4423ea646 100644 --- a/doc/html/classApp.html +++ b/doc/html/classApp.html @@ -173,14 +173,18 @@ Public Member Functions    get_curl_headers ()   + register_template_engine ($class, $name= '') +  + template_engine ($name= '') +   get_template_engine ()   - set_template_engine ($engine= 'internal') -  - get_template_ldelim ($engine= 'internal') -  - get_template_rdelim ($engine= 'internal') -  + set_template_engine ($engine= 'smarty3') +  + get_template_ldelim ($engine= 'smarty3') +  + get_template_rdelim ($engine= 'smarty3') +  @@ -260,6 +264,10 @@ Public Attributes + + + +

Public Attributes

 
 $theme_thread_allow = true
 
 $template_engines = array()
 
 $template_engine_instance = array()
 
@@ -317,6 +325,7 @@ Private Attributes

There will always be one argument. If provided a naked domain URL, $this->argv[0] is set to "home".

See if there is any page number information, and initialise pagination

Detect mobile devices

+

register template engines

@@ -519,7 +528,7 @@ Private Attributes - +

Private Attributes

@@ -527,7 +536,7 @@ Private Attributes - +
App::get_template_ldelim (  $engine = 'internal')$engine = 'smarty3')
@@ -535,7 +544,7 @@ Private Attributes - +
@@ -543,7 +552,7 @@ Private Attributes - +
App::get_template_rdelim (  $engine = 'internal')$engine = 'smarty3')
@@ -565,6 +574,42 @@ Private Attributes
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
App::register_template_engine ( $class,
 $name = '' 
)
+
+

register template engine class if $name is "", is used class static property $class::$name

+
Parameters
+ + + +
string$class
string$name
+
+
+ +

Referenced by __construct().

+
@@ -775,7 +820,7 @@ Private Attributes - +
@@ -783,7 +828,7 @@ Private Attributes - +
App::set_template_engine (  $engine = 'internal')$engine = 'smarty3')
@@ -821,6 +866,30 @@ Private Attributes
+
+
+ +
+
+ + + + + + + + +
App::template_engine ( $name = '')
+
+

return template engine instance. If $name is not defined, return engine defined by theme, or default

+
Parameters
+ + +
strin$nameTemplate engine name
+
+
+
Returns
object Template Engine instance
+

Member Data Documentation

@@ -1498,6 +1567,30 @@ Private Attributes
+
+ + +
+
+ + + + +
App::$template_engine_instance = array()
+
+ +
+
+ +
+
+ + + + +
App::$template_engines = array()
+
+
@@ -1524,7 +1617,7 @@ Private Attributes
'force_max_items' => 0,
'thread_allow' => true,
'stylesheet' => '',
-
'template_engine' => 'internal',
+
'template_engine' => 'smarty3',
)
-- cgit v1.2.3