public function __call($method, $args)
{
if (array_key_exists($method, $this->as)) {
return call_user_func_array(array($this, $this->as[$method]), is_array($args) ? $args : array($args));
} elseif (in_array($method, $this->quickMethods)) {
return call_user_func_array(array($this, 'set'), is_array($args) ? $args : array($args));
} else {
throw new Exception('The method "' . $method . '" doesnt exist');
}
}