/**
  * Add a dynamic route
  * Dynamic routes are not stored to the database, and are checked after static routes when searching for a match.
  * This method will return TRUE if the route already exists (static, or dynamic)
  *
  * @author Robert Campbell <*****@*****.**>
  * @since 1.11
  * @param CmsRoute The dynamic route object to add
  * @return boolean.
  */
 public static function add_dynamic(CmsRoute &$route)
 {
     if (self::route_exists($route)) {
         return TRUE;
     }
     if (!is_array(self::$_dynamic_routes)) {
         self::$_dynamic_routes = array();
     }
     self::$_dynamic_routes[] = $route;
     return TRUE;
 }