document部分

$title

$description

$link

$base

$language

$direction

$_generator

$_mdate

$_tab

$_lineEnd

$_charset

$_mime

$_namespace

$_profile

$_scripts

$_script

$scriptOptions

$_styleSheets

$_style

$_metaTags

$_engine

$_type

static $_buffer

static $instances

$mediaVersion

 

public static function getInstance($type = 'html', $attributes = array())

{

$signature = serialize(array($type, $attributes));

$path = __DIR__ . '/' . $type . '/' . $type . '.php';

$class = 'JDocumentRaw';

$instance = new $class($attributes);

 

public function addScript($url, $options = array(), $attribs = array())

{

public function addScriptOptions($key, $options, $merge = true)

{

public function addStyleSheet($url, $options = array(), $attribs = array())

{

public function loadRenderer($type)

{

$class = 'JDocumentRenderer' . ucfirst($this->getType()) . ucfirst($type);

 

$class = 'JDocumentRenderer' . $type;

$path = __DIR__ . '/' . $this->getType() . '/renderer/' . $type . '.php';

 

return new $class($this);

posted on 2017-11-30 17:03  amirong  阅读(129)  评论(0)    收藏  举报

导航