init() public method

Initiliaze
public init ( integer $id = null ) : Model
$id integer Script id
return Model
示例#1
0
 /**
  * Test
  *
  * @return void
  */
 public function testInit()
 {
     $this->object->init(1);
     $this->assertEquals(1, $this->object->getId());
 }