FOF30\Controller\DataController::getItemidURLSuffix PHP Метод

getItemidURLSuffix() публичный Метод

Gets a URL suffix with the Itemid parameter. If it's not the front-end of the site, or if there is no Itemid set it returns an empty string.
public getItemidURLSuffix ( ) : string
Результат string The &Itemid=123 URL suffix, or an empty string if Itemid is not applicable
    public function getItemidURLSuffix()
    {
        if ($this->container->platform->isFrontend() && $this->input->getCmd('Itemid', 0) != 0) {
            return '&Itemid=' . $this->input->getInt('Itemid', 0);
        } else {
            return '';
        }
    }