/** * call method that defined from block helper * * @param string $method * @param array $args * @return mixed */ public function __call($method, $args) { $helper = $this->getBlockHelper(); if (method_exists($helper, $method)) { return call_user_func_array(array($helper, $method), $args); // return call_user_method_array($method, $helper, $args); } return parent::__call($method, $args); }