function __construct($metas = null) { parent::__construct('document', null); $this->setMetas($metas); $this->sitemap = null; $this->styles = array(); $this->custom_style_components = array(); $this->embedStyle(false); $this->header = new Wtk_Section('header', null); $this->aside = new Wtk_Section('aside', null); $this->footer = new Wtk_Section('footer', null); }