init() public method

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