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

Class: ServerAccountingImpl

Source Location: /server/ServerAccounting.php

Class Overview

Accounting
   |
   --ServerAccountingImpl

Server 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 31]
Server implementation of accounting management.



Tags:

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


[ Top ]


Class Methods


constructor __construct [line 36]

ServerAccountingImpl __construct( )

Constructor



Tags:

access:  public


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

[ Top ]

method getConfig [line 59]

void getConfig( )



Tags:

access:  protected
see:  Accounting::getConfig()


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

[ Top ]

method getKind [line 43]

void getKind( )



Tags:

access:  protected
see:  Accounting::getKind()


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

[ Top ]

method getMapId [line 50]

void getMapId( )



Tags:

access:  protected
see:  Accounting::getMapId()


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

[ Top ]


Documentation generated on Thu, 04 Sep 2008 11:39:48 +0200 by phpDocumentor 1.3.0RC3