public function addSlot($slotName, $blocks = array(), $username = null)
    {
        $pagesDir = $this->siteDir . '/pages/pages';
        $sitePages = $this->fetchPages($pagesDir);
        foreach ($sitePages as $pageName) {
            foreach ($this->siteInfo["languages"] as $languageName) {
                $pageDir = $pagesDir . '/' . $pageName . '/' . $languageName . '/' . $slotName;
                $this->generateSlot($pageDir, $blocks, $username);
            }
        }
    }
public function addSlot($slotName, $blocks = array(), $username = null)
    {
        $pagesDir = $this->siteDir . '/pages/pages';
        $sitePages = $this->fetchPages($pagesDir);
        foreach ($sitePages as $pageName) {
            foreach ($this->siteInfo["languages"] as $languageName) {
                $pageDir = $pagesDir . '/' . $pageName . '/' . $languageName . '/' . $slotName;
                $this->generateSlot($pageDir, $blocks, $username);
            }
        }
    }
{@inheritdoc}