disable() 공개 메소드

Segment will still remain, but won't be translated, and will be handled specially in the building process. Supports method chaining.
public disable ( integer $pos = null ) : Breadcrumb
$pos integer Position of the element
리턴 Breadcrumb
예제 #1
0
 /**
  * @Test
  */
 public function testIsDisableSegment()
 {
     $this->bread->append('testelement', 'left', false, false);
     $this->bread->disable(0);
     $seg = $this->bread->segment(0);
     $this->assertEquals(true, $seg->get('disabled'));
 }