[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/Smarty/libs/sysplugins/ -> smarty_internal_parsetree.php (summary)

Smarty Internal Plugin Templateparser Parsetrees These are classes to build parsetrees in the template parser

Author: Thue Kristensen
Author: Uwe Tews
File Size: 395 lines (10 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 7 classes

_smarty_tag:: (3 methods):
  __construct()
  to_smarty_php()
  assign_to_var()

_smarty_code:: (2 methods):
  __construct()
  to_smarty_php()

_smarty_doublequoted:: (3 methods):
  __construct()
  append_subtree()
  to_smarty_php()

_smarty_dq_content:: (2 methods):
  __construct()
  to_smarty_php()

_smarty_template_buffer:: (3 methods):
  __construct()
  append_subtree()
  to_smarty_php()

_smarty_text:: (2 methods):
  __construct()
  to_smarty_php()

_smarty_linebreak:: (2 methods):
  __construct()
  to_smarty_php()


Class: _smarty_tag  - X-Ref

A complete smarty tag.

__construct($parser, $data)   X-Ref
Create parse tree buffer for Smarty tag

param: object $parser    parser object
param: string $data      content

to_smarty_php()   X-Ref
Return buffer content

return: string  content

assign_to_var()   X-Ref
Return complied code that loads the evaluated outout of buffer content into a temporary variable

return: string template code

Class: _smarty_code  - X-Ref

Code fragment inside a tag.

__construct($parser, $data)   X-Ref
Create parse tree buffer for code fragment

param: object $parser    parser object
param: string $data      content

to_smarty_php()   X-Ref
Return buffer content in parentheses

return: string  content

Class: _smarty_doublequoted  - X-Ref

Double quoted string inside a tag.

__construct($parser, _smarty_parsetree $subtree)   X-Ref
Create parse tree buffer for double quoted string subtrees

param: object $parser    parser object
param: _smarty_parsetree $subtree    parsetree buffer

append_subtree(_smarty_parsetree $subtree)   X-Ref
Append buffer to subtree

param: _smarty_parsetree $subtree  parsetree buffer

to_smarty_php()   X-Ref
Merge subtree buffer content together

return: string  compiled template code

Class: _smarty_dq_content  - X-Ref

Raw chars as part of a double quoted string.

__construct($parser, $data)   X-Ref
Create parse tree buffer with string content

param: object $parser  parser object
param: string $data    string section

to_smarty_php()   X-Ref
Return content as double quoted string

return: string doubled quoted string

Class: _smarty_template_buffer  - X-Ref

Template element

__construct($parser)   X-Ref
Create root of parse tree for template elements

param: object $parser    parse object

append_subtree(_smarty_parsetree $subtree)   X-Ref
Append buffer to subtree

param: _smarty_parsetree $subtree

to_smarty_php()   X-Ref
Sanitize and merge subtree buffers together

return: string template code content

Class: _smarty_text  - X-Ref

template text

__construct($parser, $data)   X-Ref
Create template text buffer

param: object $parser    parser object
param: string $data      text

to_smarty_php()   X-Ref
Return buffer content

return: strint text

Class: _smarty_linebreak  - X-Ref

template linebreaks

__construct($parser, $data)   X-Ref
Create buffer with linebreak content

param: object $parser    parser object
param: string  $data     linebreak string

to_smarty_php()   X-Ref
Return linebrak

return: string linebreak



Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1