Changeset 130 for Dev/branches/jos-branch/classes/Application.php
- Timestamp:
- 10/24/11 13:47:23 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/jos-branch/classes/Application.php
r128 r130 14 14 public function __construct($uid = null, $title = null, $description = null, $style = null) 15 15 { 16 if(!isset ($uid)) 17 { 18 $uid = md5(uniqid(rand(), true)); 19 } 16 20 $this->uid = $uid; 17 21 $this->title = $title; … … 19 23 $this->style = $style; 20 24 } 21 22 public static function getApplication($info)23 {24 return new Application(25 $info['applicationID'],26 $info['applicationTitle'],27 $info['applicationDescription'],28 $info['applicationStyle']);29 }30 25 31 26 }
Note: See TracChangeset
for help on using the changeset viewer.