示例#1
0
 function __construct($props = null)
 {
     $this->primaryKey = 'id';
     if (!is_array($props)) {
         $props = array();
     }
     if (!isset($props['serverIds']) || !is_array($props['serverIds'])) {
         $props['serverIds'] = array();
     }
     parent::__construct($props);
 }
示例#2
0
 function __construct($props = null)
 {
     $this->primaryKey = 'id';
     if (!is_array($props)) {
         $props = array('id' => null, 'title' => null, 'type' => null, 'summary' => null, 'lastSynched' => null);
     }
     if (!isset($props['serverIds']) || !is_array($props['serverIds'])) {
         $props['serverIds'] = array();
     }
     parent::__construct($props);
 }
示例#3
0
文件: Session.php 项目: r007/PMoodle
 function __construct($props)
 {
     $this->primaryKey = 'id';
     parent::__construct($props);
 }