PHP Contao Controller - 30 примеров найдено. Это лучшие примеры PHP кода для Contao\Controller, полученные из open source проектов. Вы можете ставить оценку каждому примеру, чтобы помочь нам улучшить качество примеров.
Some of the methods have been made static in Contao 3 and can be used in
non-object context as well.
Usage:
echo Controller::getTheme();
Inside a controller:
public function generate()
{
return $this->getArticle(2);
}