Changeset 713
- Timestamp:
- 09/03/05 15:02:33 (8 years ago)
- Files:
-
- 1 modified
-
trunk/wifidog-auth/wifidog/classes/Network.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog-auth/wifidog/classes/Network.php
r708 r713 218 218 } 219 219 220 /** Retreives the network name 221 * @return A string */ 220 /** 221 * Retrieves the network name 222 * @return A string 223 */ 222 224 public function getName() 223 225 { … … 227 229 /** Set the network's name 228 230 * @param $value The new value 229 * @return true on success, false on failure */ 231 * @return true on success, false on failure 232 */ 230 233 function setName($value) 231 234 { … … 421 424 public function getSplashOnlyNodesAllowed() 422 425 { 423 ($this->mRow['allow_splash_only_nodes']=='t')?$retval=true:$retval=false; 424 return $retval; 426 return (($this->mRow['allow_splash_only_nodes']=='t') ? true : false); 425 427 } 426 428 … … 445 447 public function getCustomPortalRedirectAllowed() 446 448 { 447 ($this->mRow['allow_custom_portal_redirect']=='t')?$retval=true:$retval=false; 448 return $retval; 449 return (($this->mRow['allow_custom_portal_redirect']=='t') ? true : false); 449 450 } 450 451
