FluidTYPO3\Fluidcontent\Service\ConfigurationService::getAllRootTypoScriptTemplates PHP Méthode

getAllRootTypoScriptTemplates() protected méthode

protected getAllRootTypoScriptTemplates ( ) : array
Résultat array
    protected function getAllRootTypoScriptTemplates()
    {
        $condition = 'deleted = 0 AND hidden = 0 AND starttime <= :starttime AND (endtime = 0 OR endtime > :endtime)';
        $parameters = array(':starttime' => $GLOBALS['SIM_ACCESS_TIME'], ':endtime' => $GLOBALS['SIM_ACCESS_TIME']);
        $rootTypoScriptTemplates = $this->recordService->preparedGet('sys_template', 'pid', $condition, $parameters);
        return $rootTypoScriptTemplates;
    }