Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes

GauffrSlave Class Reference

GauffrSlave persistant object. More...

Inheritance diagram for GauffrSlave:
GauffrPersistentObject

List of all members.

Public Member Functions

 getState ()
 getID ()

Static Public Member Functions

static fetchSlaveByIdentifier ($identifier)

Public Attributes

 $Identifier
 $Name
 $Location

Protected Attributes

 $ID

Detailed Description

GauffrSlave persistant object.

The GauffrSlave classes.

Allow persistence for object GauffrSlave.

Version:
0.4

Definition at line 19 of file gauffrslave.php.


Member Function Documentation

static GauffrSlave::fetchSlaveByIdentifier ( identifier  )  [static]

fetch user by Login

Returns:
GauffrSlave

Definition at line 61 of file gauffrslave.php.

References GauffrPersistentObject::fetchPersistantObjectByAttribute().

Referenced by GauffrUser::hasCredentialByIdentifier().

    {
        return self::fetchPersistantObjectByAttribute( 'GauffrSlave', 'Identifier', $identifier );
    }

GauffrSlave::getID (  ) 

Get ID

Returns:
integer

Definition at line 49 of file gauffrslave.php.

    {
        return $this->ID;
    }

GauffrSlave::getState (  ) 

Get PersistantObject state

Returns:
array

Definition at line 32 of file gauffrslave.php.

    {
        return array(
            'ID' => $this->ID,
            'Identifier' => $this->Identifier,
            'Name' => $this->Name,
            'Location' => $this->Location
        );
    }


The documentation for this class was generated from the following file:
 All Classes Functions Variables