framework/RedKiteCms/Content/Page/PageManager.php
public function hide($pageName, $languageName)
    {
        $this->contributorDefined();

        $baseDir = $this->pagesDir . '/' . $pageName . '/' . $languageName;
        $sourceFile = $baseDir . '/seo.json';

        Dispatcher::dispatch(PageEvents::PAGE_HIDING, new PageHidingEvent());
        unlink($sourceFile);

        Dispatcher::dispatch(PageEvents::PAGE_HID, new PageHidEvent());
        DataLogger::log(sprintf('Page "%s" for language "%s" was hidden from production', $pageName, $languageName));
    }
public function hide($pageName, $languageName)
    {
        $this->contributorDefined();

        $baseDir = $this->pagesDir . '/' . $pageName . '/' . $languageName;
        $sourceFile = $baseDir . '/seo.json';

        Dispatcher::dispatch(PageEvents::PAGE_HIDING, new PageHidingEvent());
        unlink($sourceFile);

        Dispatcher::dispatch(PageEvents::PAGE_HID, new PageHidEvent());
        DataLogger::log(sprintf('Page "%s" for language "%s" was hidden from production', $pageName, $languageName));
    }
public function hide ( $ pageName , $ languageName ) { $ this -> contributorDefined ( ) ; $ baseDir = $ this -> pagesDir . '/' . $ pageName . '/' . $ languageName ; $ sourceFile = $ baseDir . '/seo.json' ; Dispatcher :: dispatch ( PageEvents :: PAGE_HIDING , new PageHidingEvent ( ) ) ; unlink ( $ sourceFile ) ; Dispatcher :: dispatch ( PageEvents :: PAGE_HID , new PageHidEvent ( ) ) ; DataLogger :: log ( sprintf ( 'Page "%s" for language "%s" was hidden from production' , $ pageName , $ languageName ) ) ; }
Hides the current seo
@param $pageName
@param $languageName
Hides the current seo