PHP Contao Controller - 30 examples found. These are the top rated real world PHP examples of Contao\Controller extracted from open source projects. You can rate examples to help us improve the quality of examples.
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);
}