Lines Matching refs:lengths
269 * Get the list of lengths indexed in the wiki.
272 * a sorted array of lengths of the words used in the wiki.
287 file_exists($conf['indexdir'] . '/lengths.idx')
288 && (time() < @filemtime($conf['indexdir'] . '/lengths.idx') + $conf['readdircache'])
291 ($lengths = @file($conf['indexdir'] . '/lengths.idx', FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES))
295 foreach ($lengths as $length) {
320 $handle = @fopen($conf['indexdir'] . '/lengths.idx', 'w');
331 * Get the word lengths that have been indexed.
333 * Reads the index directory and returns an array of lengths
353 $lengths = idx_listIndexLengths();
354 foreach ($lengths as $length) {