classes/component/ElementPage.php
protected function checkTransSlug($obElement, $sElementSlug)
    {
        if (empty($obElement) || empty($sElementSlug)) {
            return false;
        }

        $bResult = $obElement->slug == $sElementSlug;

        return $bResult;
    }
protected function checkTransSlug($obElement, $sElementSlug)
    {
        if (empty($obElement) || empty($sElementSlug)) {
            return false;
        }

        $bResult = $obElement->slug == $sElementSlug;

        return $bResult;
    }
protected function checkTransSlug ( $ obElement , $ sElementSlug ) { if ( empty ( $ obElement ) || empty ( $ sElementSlug ) ) { return false ; } $ bResult = $ obElement -> slug == $ sElementSlug ; return $ bResult ; }
Checks trans value, if value is not form active lang, then return false
@param \Model $obElement
@param string $sElementSlug
@return bool
Checks trans value if value is not form active lang then return false