- Timestamp:
- 02/20/12 16:27:19 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/rest-dojo-ui/server/classes/models/Session.php
r263 r274 24 24 * @param type $title 25 25 * @param type $creator 26 * @param type $ datetime26 * @param type $creationdate 27 27 * @param type $pipeline 28 28 */ 29 public function __construct($uid = null, $title = null, $creator = null, $ datetime = null, $pipeline = null)29 public function __construct($uid = null, $title = null, $creator = null, $creationdate = null, $pipeline = null) 30 30 { 31 31 if(!isset($uid)) … … 36 36 $this->title = $title; 37 37 $this->creator = $creator; 38 $this->creationdate = $ datetime;38 $this->creationdate = $creationdate; 39 39 $this->pipeline = $pipeline; 40 40 } … … 141 141 } 142 142 } 143 144 $model->saveAs(Session::$filename, 'rdf'); 145 return true; 143 144 return $model->saveAs(Session::$filename, 'rdf'); 146 145 } 147 146 … … 320 319 } 321 320 321 public static function create($obj) { 322 return new Session($obj->uid, $obj->title, $obj->creator, 323 $obj->creationdate, $obj->pipeline); 324 } 325 322 326 } 323 327 324 325 328 ?>
Note: See TracChangeset
for help on using the changeset viewer.