/** * Call specified method for this class and all parents up to app. * * @param string $type information * @param array $args relative offset in backtrace * * @obsolete */ public function upCall($type, $args = array()) { /* * Try to handle something on our own and in case we are not able, * pass to parent. Such as messages, notifications and request for * additional info or descriptions are passed this way. */ if (method_exists($this, $type)) { return call_user_func_array(array($this, $type), $args); } if (!$this->owner) { return false; } return $this->owner->upCall($type, $args); }