getId() public method

Returns the id of the NavigationItem.
public getId ( ) : string
return string
コード例 #1
0
ファイル: NavigationItemTest.php プロジェクト: Silwereth/sulu
 public function testCopyChildless()
 {
     $copy = $this->item1->copyChildless();
     $this->assertEquals($this->item1->getAction(), $copy->getAction());
     $this->assertEquals($this->item1->getIcon(), $copy->getIcon());
     $this->assertEquals($this->item1->getHeaderIcon(), $copy->getHeaderIcon());
     $this->assertEquals($this->item1->getHeaderTitle(), $copy->getHeaderTitle());
     $this->assertEquals($this->item1->getId(), $copy->getId());
 }