Microweber\Utils\Sitemap::create PHP Method

create() public method

public create ( )
    public function create()
    {
        $str = $this->xmlHeader();
        $str .= $this->getPages();
        $str .= $this->xmlFooter();
        $this->write2file($this->file, $str);
        return $this->file;
        //die('Done! <a href="'.$this->file.'">SiteMap</a>');
    }