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

model_querry Class Reference

Provides querry requests for basic information about model. More...

Inherits model_abstract.

Inheritance diagram for model_querry:

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 name = ''
 Name of model.

var relations
 Relations of model.

var info = ''
 Brief information about model.

var xml_parser
 xml parser.

var iname = ''
 Name of imported file.


Detailed Description

Provides querry requests for basic information about model.

Todo:
Rewrite by scratch.

Definition at line 10 of file model_querry.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 model_abstract.

Definition at line 25 of file model_querry.php.

function get data   
 

Querry function.

Parameters:
data  - subject of querry

Reimplemented from model_abstract.

Definition at line 30 of file model_querry.php.

Referenced by get().

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(), 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().


Member Data Documentation

var relations
 

Initial value:

 array(
    depends => array(),
    gives => array()
    )
Relations of model.

That it depends on and that it gives.

Definition at line 18 of file model_querry.php.

Referenced by get().


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