示例#1
0
 public function testPropertyData()
 {
     $id = 1;
     $data = new propertyData();
     $val = $data->getAll($id);
     $this->assertEquals(1, $val['ID']);
 }
示例#2
0
文件: data.php 项目: opetstudio/mylab
 public function __construct($PID = 0)
 {
     parent::__construct();
     $this->setTable($this->table);
     $this->PID = $PID;
 }