Lines Matching refs:opts
121 function search_pattern(&$data, $base, $file, $type, $lvl, $opts) { argument
133 if(isset($opts['page_limit']) || isset($opts['nmsp_limit'])){ //if limiting options have been used
135 if(isset($opts['page_limit']))
137 foreach($opts['page_limit'] as $page){ //going through limiting page list
145 if(isset($opts['nmsp_limit']))
147 foreach($opts['nmsp_limit'] as $nmsp){ //going through the limiting namespace list
159 …if(isset($opts['page_exclude']) || isset($opts['nmsp_exclude'])){ //if restricting option have bee…
160 if(isset($opts['page_exclude'])) {
161 foreach($opts['page_exclude'] as $page){ //going through the restricting page list
167 if(isset($opts['nmsp_exclude'])) {
168 foreach($opts['nmsp_exclude'] as $nmsp){ //going through the restricting namespace list
177 …$filebody = str_replace($opts['match'], '', $filebody, $count); //remove the call to avoid countin…
183 …$nboccur = preg_match_all($opts['pattern'], $filebody, $matches) + $count; //count how many times …