Overview   Package   Tree   Index 
Tv2 documentation
PREV  NEXT FRAMES  NO FRAME 
SUMMARY:  FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

tv2-engine
Class tv2Client

Direct Known Subclasses:
tv2App, tv2FileHelper

class tv2Client

Abstract class for classes using tv2Xdb

Authors:
Emilis Dambauskas (emilis@gildija.lt)
Version:
$Id: tv2Client.class.php,v 1.4 2003/10/13 03:32:10 lunaticlt Exp $
Copyright:
2002–2003 Emilis Dambauskas under Artistic license

Field Summary
private object$fh
tv2FileHelper object
private object$xdb
tv2Xdb object

Constructor Summary
void tv2Client()
Loads this::$xdb

Method Summary
private boolean error(string $msg)
Sends an error to the errors object and returns FALSE
private void loadFileHelper()
Loads tv2FileHelper into $this->fh.
private void loadXdb()
Loads tv2Xdb into global variable $xdb and links this::$xdb to it.


Field Detail

fh

private object $fh

tv2FileHelper object


xdb

private object $xdb

tv2Xdb object


Constructor Detail

tv2Client()

void tv2Client()

Loads this::$xdb


Method Detail

error()

private boolean error(string $msg)

Sends an error to the errors object and returns FALSE

Parameters:
msg - error message
Returns:
always FALSE
Uses the global variables:
errors

loadFileHelper()

private void loadFileHelper()

Loads tv2FileHelper into $this->fh. ATTENTION: always copy the code from this method to tv2Site::loadFileHelper and tv2Xdb::loadFileHelper when changed.

Uses the global variables:
ENGINE_DIR

loadXdb()

private void loadXdb()

Loads tv2Xdb into global variable $xdb and links this::$xdb to it. ATTENTION: always copy the code from this method to tv2Site::loadXdb when changed.

Uses the global variables:
$xdb, $config, ENGINE_DIR

 Overview   Package   Tree   Index 
Tv2 documentation
PREV  NEXT FRAMES  NO FRAME 
SUMMARY:  FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Submit a bug

This document was generated by phpdocgen 0.17-rc3.
Copyright © 2002-03 Stéphane GALLAND (under the GNU General Public License)