| [ PHPXref.com ] | [ Generated: Sun Jul 20 20:11:31 2008 ] | [ SAPID CMS 1.2.3 ] |
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Source view] [Print]
SAPID Kernel Module. Defines basic parser class. $Log: kernel.lib.php,v $ Revision 1.14 2005/09/01 15:58:15 sheiko *** empty log message ***
| Author: | $Author: sheiko $ |
| Copyright: | (c) by Mephius |
| Version: | $Id: kernel.lib.php,v 1.14 2005/09/01 15:58:15 sheiko Exp $ |
| File Size: | 1056 lines (43 kb) |
| Included or required: | 1 time |
| Referenced: | 0 times |
| Includes or requires: | 1 file usr/system/editor.php |
sapi_core:: (17 methods):
sapi_core()
init_stack()
sapi_start()
sapi_end()
sapi_data()
sapi_init()
load_qc_data()
check_qc()
check_predefinition()
check_constants()
check_pi()
check_sdc()
check_ddc()
check_val()
build_page()
sa_toggle()
compile_error()
| sapi_core($template, $env=false, $handler="", $name="sapi_env") X-Ref |
| Class constructor param: mixed $template initial value of template to parse param: array $env initial environmant array param: string $handler this instance handler param: string $name this instance name return: object |
| init_stack($arr) X-Ref |
| Appends to an array it's "serialized" copy $arr["one"]["two"] will be accessable as $arr["one.two"] param: array $arr array to serialize return: array |
| sapi_start($parser, $name, $attribs) X-Ref |
| XML Parser start element handler param: object $parser XML Parser Resourse ID param: string $name element name param: array $attribs element attributes |
| sapi_end($parser, $name) X-Ref |
| XML Parser end element handler param: object $parser XML Parser Resourse ID param: string $name element name |
| sapi_data($parser, $data) X-Ref |
| XML Parser character data handler param: object $parser XML Parser Resourse ID param: string $name element name |
| sapi_init($name, $type) X-Ref |
| Initializes sapi containers from file param: string $filename |
| load_qc_data($name, $attribs) X-Ref |
| Loads query container data param: string $name param: string $query_type return: string |
| check_qc() X-Ref |
| Checks current value of template for incapsulated Query Containers |
| check_predefinition() X-Ref |
| Parse predefined values in the template |
| check_constants() X-Ref |
| No description |
| check_pi() X-Ref |
| Checks current value of template for incapsulated Processing Instructions |
| check_sdc() X-Ref |
| Checks current value of template for incapsulated Static Data Containers |
| check_ddc() X-Ref |
| Checks current value of template for Dynamic Data Containers |
| check_val() X-Ref |
| Checks current value of template for Environment Variables |
| build_page() X-Ref |
| Builds document contents from template and sapi description return: string |
| sa_toggle(id, ipref) X-Ref |
| No description |
| compile_error($code) X-Ref |
| Processses eval error param: $code string return: string |
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |