init() public method

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