<?php

class Menu extends View {



	protected $package = 'core-menu';



	public function add(View $child, $alias = NULL) {
		parent::add($child, $alias);
		if ($child instanceof MenuItem) {
			$child->topLevel = TRUE;
		}
	}



} // class Menu

?>