zogan
[ class tree: zogan ] [ index: zogan ] [ all elements ]

Class: zogan_element_static

Source Location: /zogan/zogan.elements.php

Class Overview

zogan_content
   |
   --zogan_element
      |
      --zogan_element_static

Parser for tags without variable attribute


Methods


Child classes:

zogan_element_num
Parser for tags with '#num' of attribute for variable which shows the number of iteration.
zogan_element_inc
include other template
zogan_element_omit
omitted element

Inherited Variables

Inherited Methods

Class: zogan_element

zogan_element::close()
parse all the data in $this->child stack and set the compiled PHP script into $this->_content.
zogan_element::getNamespace()
returns namespace information for ZOGAN
zogan_element::getTagname()
returns name of tag
zogan_element::open()
initialization when the tag is opened
zogan_element::_build_tag_get_level()
zogan_element::_omit_first()
build when ZOGAN_OMIT=='first'

Class: zogan_content

zogan_content::zogan_content()
constructor
zogan_content::build()
returns the build PHP script
zogan_content::has_variable_content()
returns if this content has variable content for data
zogan_content::is_alternative()
returns if this class can have alternative content(s)
zogan_content::is_spaces_only()
returns if this content consites of spaces only or is empty
zogan_content::need_indent()
returns if this content needs indent and linefeed for pritty print

Class Details

[line 679]
Parser for tags without variable attribute



[ Top ]


Class Methods


method build [line 687]

void build( )



Overridden in child classes as:

zogan_element_num::build()
zogan_element_inc::build()
zogan_element_omit::build()

Overrides zogan_content::build() (returns the build PHP script)

[ Top ]

method need_indent [line 700]

void need_indent( )



Overridden in child classes as:

zogan_element_omit::need_indent()

Overrides zogan_content::need_indent() (returns if this content needs indent and linefeed for pritty print)

[ Top ]

method open [line 681]

void open( mixed $name, mixed $attrs, mixed $parsed, mixed &$info)



Overrides zogan_element::open() (initialization when the tag is opened)

[ Top ]


Documentation generated on Tue, 19 Oct 2004 12:53:38 +0900 by phpDocumentor 1.2.3