Public Member Functions

Robo47_Popo Class Reference

List of all members.

Public Member Functions

 __get ($name)
 Get a variable.
 __isset ($name)
 Check if a variable is set.
 __set ($name, $value)
 Set a variable.
 __unset ($name)
 Unset a variable.

Detailed Description

Definition at line 31 of file Popo.php.


Member Function Documentation

Robo47_Popo::__get ( name  ) 

Get a variable.

Parameters:
mixed $name
Returns:
mixed

Definition at line 51 of file Popo.php.

    {
        if (isset($this[$name])) {
            return $this[$name];
        }
        throw new Robo47_Exception('Variable ' . $name . ' not set');
    }

Robo47_Popo::__isset ( name  ) 

Check if a variable is set.

Parameters:
mixed $name
Returns:
boolean

Definition at line 65 of file Popo.php.

    {
        return isset($this[$name]);
    }

Robo47_Popo::__set ( name,
value 
)

Set a variable.

Parameters:
mixed $name
mixed $value

Definition at line 40 of file Popo.php.

    {
        $this[$name] = $value;
    }

Robo47_Popo::__unset ( name  ) 

Unset a variable.

Parameters:
mixed $name

Definition at line 75 of file Popo.php.

    {
        unset($this[$name]);
    }


The documentation for this class was generated from the following file: