public function __construct() { parent::__construct(self::DOCTYPE_HTML, 'text/html'); $this->m_doctype = null; $this->m_title = 'default title'; $this->m_meta = array(); $this->m_base = null; $this->m_keywords = null; $this->m_description = null; $this->m_link = array(); $this->m_styles = array('inline' => array(), 'include' => array(), 'url' => array(), 'header' => array()); $this->m_scripts = array('inline' => array(), 'include' => array(), 'url' => array(), 'header' => array()); $this->m_body = ''; //$this->m_encoding = 'utf-8'; $this->setDoctype('html4-trans'); }
public function __construct() { parent::__construct(self::DOCTYPE_SITEMAPINDEX, 'application/xml'); $this->m_maps = array(); }
public function __construct() { parent::__construct(self::DOCTYPE_SITEMAPURLSET, 'application/xml'); $this->m_urls = array(); }
public function __construct() { parent::__construct(self::DOCTYPE_RSS, 'application/rss+xml'); $this->setVersion('2.0'); $this->setChannel(array()); }