AdminPageFramework_Model_Form::_isSectionOfCurrentPage PHP Метод

_isSectionOfCurrentPage() приватный Метод

private _isSectionOfCurrentPage ( array $aSectionset )
$aSectionset array
    private function _isSectionOfCurrentPage(array $aSectionset)
    {
        $_sCurrentPageSlug = (string) $this->oProp->getCurrentPageSlug();
        if ($aSectionset['page_slug'] !== $_sCurrentPageSlug) {
            return false;
        }
        if (!$aSectionset['tab_slug']) {
            return true;
        }
        return $aSectionset['tab_slug'] === $this->oProp->getCurrentTabSlug($_sCurrentPageSlug);
    }