Dotclear

Changeset 3773:69941ff7dc4d for inc


Ignore:
Timestamp:
07/11/18 13:13:39 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Switch settingsExists method from private to public, closes #2273

Location:
inc/core
Files:
2 edited

Legend:

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

    r3731 r3773  
    101101    } 
    102102 
    103     private function settingExists($id, $global = false) 
     103    /** 
     104     * Returns true if a setting exist, else false 
     105     * 
     106     * @param      string   $id      The identifier 
     107     * @param      boolean  $global  The global 
     108     * 
     109     * @return     boolean 
     110     */ 
     111    public function settingExists($id, $global = false) 
    104112    { 
    105113        $array = $global ? 'global' : 'local'; 
  • inc/core/class.dc.workspace.php

    r3731 r3773  
    105105    } 
    106106 
     107    /** 
     108     * Returns true if a pref exist, else false 
     109     * 
     110     * @param      string   $id      The identifier 
     111     * @param      boolean  $global  The global 
     112     * 
     113     * @return     boolean 
     114     */ 
    107115    public function prefExists($id, $global = false) 
    108116    { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map