public function assignVariable($variable = null, $value = null)
    {
        switch ($this->library) {
            case 'phptal':
                return ($this->{$variable} = $value);
            break;
            default:
            return false;
        }
    }
public function assignVariable($variable = null, $value = null)
    {
        switch ($this->library) {
            case 'phptal':
                return ($this->{$variable} = $value);
            break;
            default:
            return false;
        }
    }
public function assignVariable ( $ variable = null , $ value = null ) { switch ( $ this -> library ) { case 'phptal' : return ( $ this -> { $ variable } = $ value ) ; break ; default : return false ; } }
Assigns a variable to the template instance

This method is intend to assign a variable to the template instance.

@param mixed $variable The variable-name to assign
@param mixed $value    The variable-value to assign

@author Benjamin Carl <opensource@clickalicious.de>
@return bool TRUE if successful, otherwise FALSE
@access public
@throws Doozr_Exception
Assigns a variable to the template instance