public function getPageOnlyOptions($aOptions, $sPageSlug) { $_aStoredOptionsOfThePage = array(); foreach ($this->aFieldsets as $_sSectionID => $_aSubSectionsOrFields) { if (!$this->_isThisSectionSetToThisPage($_sSectionID, $sPageSlug)) { continue; } $this->_setPageOnlyOptions($_aStoredOptionsOfThePage, $aOptions, $_aSubSectionsOrFields, $sPageSlug, $_sSectionID); } return $_aStoredOptionsOfThePage; }