original_string: public static function clear($path = null) {
  		if (empty($path)) {
  			self::$_items = array();
  			return;
  		}
  
  		if (Hash::check(self::$_items, $path)) {
  			self::$_items = Hash::insert(self::$_items, $path, array());
  		}
  	}
code: public static function clear($path = null) {
  		if (empty($path)) {
  			self::$_items = array();
  			return;
  		}
  
  		if (Hash::check(self::$_items, $path)) {
  			self::$_items = Hash::insert(self::$_items, $path, array());
  		}
  	}
code_tokens: public static function clear ( $ path = null ) { if ( empty ( $ path ) ) { self :: $ _items = array ( ) ; return ; } if ( Hash :: check ( self :: $ _items , $ path ) ) { self :: $ _items = Hash :: insert ( self :: $ _items , $ path , array ( ) ) ; } }
docstring: Clear all menus.
  
  @return void
docstring_tokens: Clear all menus .