public function &call($type, $method, $parameters = array())
	{
		$class = $this->get_class($type);

		if (in_array($class, $this->legacy))
		{
			switch ($type)
			{
				case 'Cache':
					// For backwards compatibility with old non-static
					// Cache::create() methods
					if ($method === 'get_handler')
					{
						$result = @call_user_func_array(array($class, 'create'), $parameters);
						return $result;
					}
					break;
			}
		}

		$result = call_user_func_array(array($class, $method), $parameters);
		return $result;
	}
public function &call($type, $method, $parameters = array())
	{
		$class = $this->get_class($type);

		if (in_array($class, $this->legacy))
		{
			switch ($type)
			{
				case 'Cache':
					// For backwards compatibility with old non-static
					// Cache::create() methods
					if ($method === 'get_handler')
					{
						$result = @call_user_func_array(array($class, 'create'), $parameters);
						return $result;
					}
					break;
			}
		}

		$result = call_user_func_array(array($class, $method), $parameters);
		return $result;
	}
public function & call ( $ type , $ method , $ parameters = array ( ) ) { $ class = $ this -> get_class ( $ type ) ; if ( in_array ( $ class , $ this -> legacy ) ) { switch ( $ type ) { case 'Cache' : // For backwards compatibility with old non-static // Cache::create() methods if ( $ method === 'get_handler' ) { $ result = @ call_user_func_array ( array ( $ class , 'create' ) , $ parameters ) ; return $ result ; } break ; } } $ result = call_user_func_array ( array ( $ class , $ method ) , $ parameters ) ; return $ result ; }
Call a static method for a type

@param string $type
@param string $method
@param array $parameters
@return mixed
Call a static method for a type