public function loadRenderer($type)
	{
		$class = __NAMESPACE__ . '\\Type\\' . ucfirst($this->_type) . '\\' . ucfirst($type);

		if (!class_exists($class))
		{
			throw new \InvalidArgumentException(\Lang::txt('Unable to load renderer class'), 500);
		}

		return new $class($this);
	}
public function loadRenderer($type)
	{
		$class = __NAMESPACE__ . '\\Type\\' . ucfirst($this->_type) . '\\' . ucfirst($type);

		if (!class_exists($class))
		{
			throw new \InvalidArgumentException(\Lang::txt('Unable to load renderer class'), 500);
		}

		return new $class($this);
	}
public function loadRenderer ( $ type ) { $ class = __NAMESPACE__ . '\\Type\\' . ucfirst ( $ this -> _type ) . '\\' . ucfirst ( $ type ) ; if ( ! class_exists ( $ class ) ) { throw new \ InvalidArgumentException ( \ Lang :: txt ( 'Unable to load renderer class' ) , 500 ) ; } return new $ class ( $ this ) ; }
Load a renderer

@param   string  $type  The renderer type
@return  object  Object or null if class does not exist
Load a renderer