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

Class: ClientAccountingImpl

Source Location: /client/ClientAccounting.php

Class Overview

Accounting
   |
   --ClientAccountingImpl

Client implementation of accounting management.


Author(s):

Methods


Inherited Variables

Inherited Methods

Class: Accounting

Accounting::__construct()
Constructor. Can't be called directly, use getInstance() instead.
Accounting::account()
Records an accounting message
Accounting::getConfig()
Returns the client or server configuration object
Accounting::getInstance()
Returns the instance of this class.
Accounting::getKind()
Returns type of Accoungint ('client' or 'server')
Accounting::getMapId()
Returns the mapId of the current map.
Accounting::isActive()
Returns true if accounting is active and enabled
Accounting::pluginLoaded()
Needs to be called by accounting plugin, to detect case when the accounting plugin was not enabled and accouting is turned on.
Accounting::reset()
Resets accounting messages
Accounting::save()
Saves all accounting messages to persistent storage. This should be called only once per request (client or server).
Accounting::saveDb()
Saves an accounting packet (merge of all accounting messages) to database
Accounting::saveFile()
Saves an accounting packet (merge of all accounting messages) to file
Accounting::setActive()
Sets whether accounting is active or not. Can be used to disable
Accounting::setCacheHit()
Tells accounting that a cache hit occured. This is used to prevent false error message in some situations.

Class Details

[line 32]
Client implementation of accounting management.



Tags:

author:  Sylvain Pasche <sylvain.pasche@camptocamp.com>


[ Top ]


Class Methods


constructor __construct [line 37]

ClientAccountingImpl __construct( )

Constructor



Tags:

access:  public


Overrides Accounting::__construct() (Constructor. Can't be called directly, use getInstance() instead.)

[ Top ]

method getConfig [line 58]

void getConfig( )



Tags:

access:  protected
see:  Accounting::getConfig()


Overrides Accounting::getConfig() (Returns the client or server configuration object)

[ Top ]

method getKind [line 44]

void getKind( )



Tags:

access:  protected
see:  Accounting::getKind()


Overrides Accounting::getKind() (Returns type of Accoungint ('client' or 'server'))

[ Top ]

method getMapId [line 51]

void getMapId( )



Tags:

access:  protected
see:  Accounting::getMapId()


Overrides Accounting::getMapId() (Returns the mapId of the current map.)

[ Top ]


Documentation generated on Fri, 21 Sep 2007 13:30:33 +0200 by phpDocumentor 1.3.0RC3