public function SetRoute($Route, $Destination, $Type, $Save = TRUE) {
      $Key = $this->_EncodeRouteKey($Route);
      SaveToConfig('Routes.'.$Key, array($Destination, $Type), $Save);
      $this->_LoadRoutes();
   }
public function SetRoute($Route, $Destination, $Type, $Save = TRUE) {
      $Key = $this->_EncodeRouteKey($Route);
      SaveToConfig('Routes.'.$Key, array($Destination, $Type), $Save);
      $this->_LoadRoutes();
   }
public function SetRoute ( $ Route , $ Destination , $ Type , $ Save = TRUE ) { $ Key = $ this -> _EncodeRouteKey ( $ Route ) ; SaveToConfig ( 'Routes.' . $ Key , array ( $ Destination , $ Type ) , $ Save ) ; $ this -> _LoadRoutes ( ) ; }
Update or add a route to the config table

@param string $Route
@param string $Destination
@param string $Type
@param bool $Save Optional. Save this to the config or just in memory?
Update or add a route to the config table