Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

model_abstract Class Reference

Abstract structural cell of the system. More...

Inherits fa_xep_user.

Inherited by model_explore, and model_querry.

Inheritance diagram for model_abstract:

Inheritance graph
List of all members.

Public Methods

function & produce (data)
 Fabric method.

function get (data)
 Querry function.

function import (fname)
 Import data.

function do_it (data)
 Action method.

function err (what, func='', line=0, file='', terminate=1)
 Log error.


Public Attributes

var xml_parser
 xml parser.

var iname = ''
 Name of imported file.


Detailed Description

Abstract structural cell of the system.

Todo:
Rewrite by scratch.

Definition at line 11 of file model_abstract.php.


Member Function Documentation

function& produce data   
 

Fabric method.

Process data and return object of class according to data['action']

Parameters:
data  - data['action'] - type of service that class must provide

Reimplemented from final_automat.

Reimplemented in model_explore, and model_querry.

Definition at line 19 of file model_abstract.php.

function get data   
 

Querry function.

Parameters:
data  - subject of querry

Reimplemented in model_querry.

Definition at line 35 of file model_abstract.php.

function import fname    [inherited]
 

Import data.

Parameters:
string  fname - name of xml file to import

Reimplemented in model_explore.

Definition at line 25 of file fa_xep_user.php.

function do_it data    [inherited]
 

Action method.

Parameters:
data  - any data needed to act.

Reimplemented in enviroment.

Definition at line 38 of file final_automat.php.

function err what   ,
func    = '',
line    = 0,
file    = '',
terminate    = 1
[inherited]
 

Log error.

Parameters:
what  - error reason
func  - function name in which an error had uccured
line  - source line
file  - name of source file
terminate  - 1 to terminate script processing
Returns:
zero

Definition at line 23 of file error_logger.php.

Referenced by user_auth::authentificate(), cache_container::clear(), model_querry::get(), cache_container::get(), models::get_info(), models::get_relations(), xml_event_parser_user::import(), model_explore::import(), enviroment::location(), xml_structure_builder::parse(), xml_event_parser::parse(), xml_structure_builder::parse_file(), xml_event_parser::parse_file(), models::pre_cache(), template_handler::process_file(), enviroment::process_locations(), model_explore::process_template(), enviroment::process_template(), and models::read_cache().


The documentation for this class was generated from the following file:
Generated on Tue Mar 11 08:35:19 2003 for SES by doxygen1.2.16