Changeset 14045

Show
Ignore:
Timestamp:
12/20/07 15:48:40 (9 months ago)
Author:
flack
Message:

again some spelling in comments

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/midcom.core/midcom/baseclasses/components/interface.php

    r14002 r14045  
    741741     * 
    742742     * @param string $groupname The local groupname (that is, without the component prefix) of the virtual group to query. 
    743      * @return Array Accociative user->id => user_object listing of all member users or null on failure. 
     743     * @return Array Associative user->id => user_object listing of all member users or null on failure. 
    744744     */ 
    745745    public function retrieve_vgroup_members ($groupname) 
  • trunk/midcom/midcom.core/midcom/core/manifest.php

    r14002 r14045  
    105105 * 
    106106 * In this case the definition grants object owners the defined privilege. The 
    107  * only way this can be overriden now is having the privilege denied to the 
     107 * only way this can be overridden now is having the privilege denied to the 
    108108 * accessing user directly (e.g. a person privilege). 
    109109 * 
  • trunk/midcom/midcom.core/midcom/helper/configuration.php

    r13884 r14045  
    5656 
    5757    /** 
    58      * Locally overriden configuration data. 
     58     * Locally overridden configuration data. 
    5959     * 
    6060     * @var Array 
  • trunk/midcom/midcom.core/midcom/helper/itemlist.php

    r13303 r14045  
    6767    * Returns the sorted list for this topic according to our sorting criteria. 
    6868    * 
    69     * It has to be overriden. Call generate_error on any critical failure. 
     69    * It has to be overridden. Call generate_error on any critical failure. 
    7070    * 
    7171    * @return Array An array of all objects.  
  • trunk/midcom/midcom.core/midcom/services/auth.php

    r14002 r14045  
    683683     * 
    684684     * @param string $privilege The privilege to check for 
    685      * @return bool True if the privilege has been grante, false otherwise. 
     685     * @return bool True if the privilege has been granted, false otherwise. 
    686686     * @access private 
    687687     * @see $_internal_sudo 
     
    713713     * @param midcom_core_user $user The user against which to check the privilege, defaults to the currently authenticated user. 
    714714     *     You may specify "EVERYONE" instead of an object to check what an anonymous user can do. 
    715      * @return bool True if the privilege has been grante, false otherwise. 
     715     * @return bool True if the privilege has been granted, false otherwise. 
    716716     */ 
    717717    function can_do($privilege, &$content_object, $user = null) 
     
    736736     * @param midcom_core_user $user The user against which to check the privilege, defaults to the currently authenticated user. 
    737737     *     You may specify "EVERYONE" instead of an object to check what an anonymous user can do. 
    738      * @return bool True if the privilege has been grante, false otherwise. 
     738     * @return bool True if the privilege has been granted, false otherwise. 
    739739     */ 
    740740    function can_do_byguid($privilege, $object_guid, $object_class, $user = null) 
     
    823823    /** 
    824824     * Checks, whether the given user have the privilege assigned to him in general. 
    825      * Be aware, that this does not take any permissions overriden by content objects 
     825     * Be aware, that this does not take any permissions overridden by content objects 
    826826     * into account. Whenever possible, you should user the can_do() variant of this 
    827827     * call therefore. can_user_do is only of interest in cases where you do not have 
     
    833833     * @param string $class Optional parameter to set if the check should take type specific permissions into account. The class must be default constructible. 
    834834     * @param string $component Component providing the class 
    835      * @return bool True if the privilege has been grante, false otherwise. 
     835     * @return bool True if the privilege has been granted, false otherwise. 
    836836     */ 
    837837    function can_user_do($privilege, $user = null, $class = null, $component = null) 
     
    981981     * 
    982982     * The information is cached per object-guid during runtime, so that repeated checks 
    983      * to the same object do not cause repeateing checks. Be aware that this means, that 
     983     * to the same object do not cause repeating checks. Be aware that this means, that 
    984984     * new privileges set are not guaranteed to take effect until the next request. 
    985985     * 
     
    987987     * @param midcom_core_user $user The user against which to check the privilege, defaults to the currently authenticated user. 
    988988     *     You may specify "EVERYONE" instead of an object to check what an anonymous user can do. 
    989      * @return Array Accociative listing of all privileges and their value. 
     989     * @return Array Associative listing of all privileges and their value. 
    990990     */ 
    991991    function get_privileges(&$content_object, $user = null) 
     
    996996    /** 
    997997     * Returns a full listing of all currently known privileges for a certain object/user 
    998      * combination (object is speificied by guid/class combination) 
     998     * combination (object is specified by guid/class combination) 
    999999     * 
    10001000     * The information is cached per object-guid during runtime, so that repeated checks 
    1001      * to the same object do not cause repeateing checks. Be aware that this means, that 
     1001     * to the same object do not cause repeating checks. Be aware that this means, that 
    10021002     * new privileges set are not guaranteed to take effect until the next request. 
    10031003     * 
     
    10061006     * @param midcom_core_user $user The user against which to check the privilege, defaults to the currently authenticated user. 
    10071007     *     You may specify "EVERYONE" instead of an object to check what an anonymous user can do. 
    1008      * @return Array Accociative listing of all privileges and their value. 
     1008     * @return Array Associative listing of all privileges and their value. 
    10091009     */ 
    10101010    function get_privileges_byguid($object_guid, $object_class, $user = null) 
     
    11741174 
    11751175    /** 
    1176      * Drops previously aquired superuser privileges. 
     1176     * Drops previously acquired superuser privileges. 
    11771177     * 
    11781178     * @see request_sudo() 
     
    11991199     * against the currently authenticated user. 
    12001200     * 
    1201      * It always returns TRUE for admistrative users. 
     1201     * It always returns TRUE for administrative users. 
    12021202     * 
    12031203     * @param mixed $group Group to check against, this can be either a midcom_core_group object or a group string identifier. 
     
    12411241     * content object passed to the function. 
    12421242     * 
    1243      * If this is not the case, an Access Denied error is genereted, the message 
     1243     * If this is not the case, an Access Denied error is generated, the message 
    12441244     * defaulting to the string 'access denied: privilege %s not granted' of the 
    12451245     * MidCOM main L10n table. 
     
    12681268    /** 
    12691269     * Validates, whether the given user have the privilege assigned to him in general. 
    1270      * Be aware, that this does not take any permissions overriden by content objects 
     1270     * Be aware, that this does not take any permissions overridden by content objects 
    12711271     * into account. Whenever possible, you should user the can_do() variant of this 
    12721272     * call therefore. can_user_do is only of interest in cases where you do not have 
    12731273     * any content object available, for example when creating root topics. 
    12741274     * 
    1275      * If this is not the case, an Access Denied error is genereted, the message 
     1275     * If this is not the case, an Access Denied error is generated, the message 
    12761276     * defaulting to the string 'access denied: privilege %s not granted' of the 
    12771277     * MidCOM main L10n table. 
     
    13021302     * Validates that the current user is a member of the given group. 
    13031303     * 
    1304      * If this is not the case, an Access Denied error is genereted, the message 
     1304     * If this is not the case, an Access Denied error is generated, the message 
    13051305     * defaulting to the string 'access denied: user is not member of the group %s' of the 
    13061306     * MidCOM main L10n table. 
     
    20182018     *   message is shown. 
    20192019     * - If the user is authenticated, a note that he might have to switch to a user with more 
    2020      *   privieleges is shown. 
     2020     *   privileges is shown. 
    20212021     * - Otherwise, no message is shown. 
    20222022     * 
  • trunk/midcom/midcom.helper.datamanager/widget_text.php

    r1978 r14045  
    260260     
    261261    /** 
    262      * Overriden to handle the password style widget. It mustn't  
     262     * Overridden to handle the password style widget. It mustn't  
    263263     * update in certain cases. 
    264264     */