Source of file SiteInfoController.php
Size: 0,714 Bytes - Last Modified: 2021-12-24T06:43:41+00:00
/var/www/docs.ssmods.com/process/src/src/extension/SiteInfoController.php
12345678910111213141516171819202122232425262728293031323334353637383940414243 | <?php /** * Created by PhpStorm. * User: marcokernler * Date: 18.11.15 * Time: 00:12 */ use \SilverStripe\Core\Extension; use \SilverStripe\SiteConfig\SiteConfig; use \SilverStripe\i18n\i18n; /** * Page_Controller Extension * * Class SiteInfoController */ class SiteInfoController extends Extension { /** * Render the contact informations with * the schema.org template * * @return mixed */ public function SchemaOrgAdress() { return $this->owner->renderWith("SchemaOrgAddress"); } /** * Render a tiny about-us snippet * * @return mixed */ public function About() { return $this->owner->renderWith("About"); } } |