setId() public method

Sets the id of the NavigationItem.
public setId ( string $id )
$id string
Example #1
0
 public function testId()
 {
     $this->navigationItem->setId('test');
     $this->assertEquals('test', $this->navigationItem->getId());
 }