/** * Match a text string with pre or/or post text strings * * @see eZSiteAccess::matchText() * @param string $text * @param string $match_pre * @param string $match_post * @return string|null */ function accessMatchText(&$text, $match_pre, $match_post) { return eZSiteAccess::matchText($text, $match_pre, $match_post); }
/** * Match a text string with pre or/or post text strings * * @see eZSiteAccess::matchText() * @deprecated Since 4.4 * @param string $text * @param string $match_pre * @param string $match_post * @return string|null */ function accessMatchText(&$text, $match_pre, $match_post) { eZDebug::writeStrict('Function accessMatchText() has been deprecated in 4.4 in favor of eZSiteAccess::matchText()', 'Deprecation'); return eZSiteAccess::matchText($text, $match_pre, $match_post); }