Dotclear


Ignore:
Timestamp:
10/02/13 17:47:15 (12 years ago)
Author:
Denis Jean-Chirstian <contact@…>
Branch:
dcRepo
Message:

Rename dcRepository to dcStore because of dotAddict used this name

File:
1 moved

Legend:

Unmodified
Added
Removed
  • inc/core/class.dc.store.php

    r2215 r2216  
    1818Provides an object to parse XML feed of modules from repository. 
    1919*/ 
    20 class dcRepository 
     20class dcStore 
    2121{ 
    2222     /** @var  object    dcCore instance */ 
     
    5959               return false; 
    6060          } 
    61           if (($parser = dcRepositoryReader::quickParse($this->xml_url, DC_TPL_CACHE, $force)) === false) { 
     61          if (($parser = dcStoreReader::quickParse($this->xml_url, DC_TPL_CACHE, $force)) === false) { 
    6262               return false; 
    6363          } 
     
    116116      * 
    117117      * Every time a part of query is find on module, 
    118       * result accuracy grow. Result is sorted by acuracy. 
     118      * result accuracy grow. Result is sorted by accuracy. 
    119119      * 
    120120      * @param string    $pattern  String to search 
     
    127127          # Split query into small clean words 
    128128          $patterns = explode(' ', $pattern); 
    129           array_walk($patterns, array('dcRepository','sanitize')); 
     129          array_walk($patterns, array('dcStore','sanitize')); 
    130130 
    131131          # For each modules 
     
    134134               # Split modules infos into small clean word 
    135135               $subjects = explode(' ', $id.' '.$module['name'].' '.$module['desc']); 
    136                array_walk($subjects, array('dcRepository','sanitize')); 
     136               array_walk($subjects, array('dcStore','sanitize')); 
    137137 
    138138               # Check contents 
Note: See TracChangeset for help on using the changeset viewer.

Sites map