Class Location

Description

EndDevice.php

PHP version 5

LICENSE: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.

Located in /lib/Location.php (line 19)

Common
   |
   --Location
Method Summary
 Location __construct ( $id)
 array getAllProps ()
 mixed __call ( $methodName,  $parameters)
Variables

Inherited Variables

Inherited from Common

Common::$conf
Common::$db_conn
Common::$logger
Methods
Constructor __construct (line 23)
  • access: public
Location __construct ( $id)
  • $id

Redefinition of:
Common::__construct()
Get the current instance of our Settings and Logger classes
getAllProps (line 77)

Return all properties assigned to this system. This method is here only for debugging purposes, please delete it after

  • return: All properties present
  • access: public
array getAllProps ()
__call (line 56)

Universal Accessor Method We are redirecting all unresolved method calls to this handler, so that we can emulate arbitraty accessor methods.

With this trick, the user can add new fields to the system tables and will be able to access them in the policy as $system->getDBFieldName() without haveing to change this class

  • return: Property
  • throws: If the db field does not exist, Log Error and Deny as default action
  • access: public
mixed __call ( $methodName,  $parameters)
  • $methodName
  • $parameters

Inherited Methods

Inherited From Common

 Common::__construct()
 Common::getConnection()
 Common::htmlescape()
 Common::log2db()
 Common::real_escape_string1()
 Common::sqlescape()

Documentation generated on Mon, 06 Oct 2008 01:10:33 +0200 by phpDocumentor 1.4.0