Changeset 2216:91f485a16187 for inc/core/class.dc.store.php
- Timestamp:
- 10/02/13 17:47:15 (12 years ago)
- Branch:
- dcRepo
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.store.php
r2215 r2216 18 18 Provides an object to parse XML feed of modules from repository. 19 19 */ 20 class dc Repository20 class dcStore 21 21 { 22 22 /** @var object dcCore instance */ … … 59 59 return false; 60 60 } 61 if (($parser = dc RepositoryReader::quickParse($this->xml_url, DC_TPL_CACHE, $force)) === false) {61 if (($parser = dcStoreReader::quickParse($this->xml_url, DC_TPL_CACHE, $force)) === false) { 62 62 return false; 63 63 } … … 116 116 * 117 117 * Every time a part of query is find on module, 118 * result accuracy grow. Result is sorted by ac uracy.118 * result accuracy grow. Result is sorted by accuracy. 119 119 * 120 120 * @param string $pattern String to search … … 127 127 # Split query into small clean words 128 128 $patterns = explode(' ', $pattern); 129 array_walk($patterns, array('dc Repository','sanitize'));129 array_walk($patterns, array('dcStore','sanitize')); 130 130 131 131 # For each modules … … 134 134 # Split modules infos into small clean word 135 135 $subjects = explode(' ', $id.' '.$module['name'].' '.$module['desc']); 136 array_walk($subjects, array('dc Repository','sanitize'));136 array_walk($subjects, array('dcStore','sanitize')); 137 137 138 138 # Check contents
Note: See TracChangeset
for help on using the changeset viewer.