Show
Ignore:
Timestamp:
07/21/07 00:59:33 (5 years ago)
Author:
benoitg
Message:
  • At long last, implement #9: Automatic new node creation. When attempting to login from an unknown node, the user (if he has the permissions) will be prompted to create the node, or "steal" en existing one (for hardware swaps).
  • Refactor Node:getSelectNodeUI().
  • Menu.php: Fix small oversight causing menu not to clear.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/classes/Network.php

    r1255 r1261  
    221221     *                                     programmer to recognise it's 
    222222     *                                     generated html form 
    223      * @param object $preSelectedObject Network object: The network to be 
    224      *                                     pre-selected in the form object 
    225      * @param string $additionalWhere     Additional SQL conditions for the 
    226      *                                     networks to select 
    227      * @param string $allowEmpty     boolean Allow not selecting any network 
     223     *  
     224     * @param string $userData=null Array of contextual data optionally sent to the method. 
     225     *  The function must still function if none of it is present. 
     226     * 
     227     * This method understands: 
     228     *  $userData['preSelectedObject'] An optional object to pre-select. 
     229     *  $userData['additionalWhere'] Additional SQL conditions for the 
     230     *                                    objects to select 
     231     *  $userData['allowEmpty'] boolean Allow not selecting any object 
    228232     * @return string HTML markup 
    229233