예제 #1
0
파일: Item.php 프로젝트: agenciaaeh/kahina
 public function addSubItem($label, $link)
 {
     $item = new My_Menu_Item();
     $item->add($label, $link);
     $this->itens[] = $item;
     return $this;
 }
예제 #2
0
파일: Menu.php 프로젝트: agenciaaeh/kahina
 public function add($label, $link, $subItens = array())
 {
     $item = new My_Menu_Item();
     $item->add($label, $link);
     $this->itens[] = $item;
     return $item;
 }