protected function getRoute($id, $subject, $type)
    {
        if (!is_null($this->routes) &&
            array_key_exists($subject, $this->routes) &&
            array_key_exists($type, $this->routes[$subject])
        ) {
            return str_replace('[id]', $id, $this->routes[$subject][$type]);
        }

        return '';
    }
protected function getRoute($id, $subject, $type)
    {
        if (!is_null($this->routes) &&
            array_key_exists($subject, $this->routes) &&
            array_key_exists($type, $this->routes[$subject])
        ) {
            return str_replace('[id]', $id, $this->routes[$subject][$type]);
        }

        return '';
    }
protected function getRoute ( $ id , $ subject , $ type ) { if ( ! is_null ( $ this -> routes ) && array_key_exists ( $ subject , $ this -> routes ) && array_key_exists ( $ type , $ this -> routes [ $ subject ] ) ) { return str_replace ( '[id]' , $ id , $ this -> routes [ $ subject ] [ $ type ] ) ; } return '' ; }
Returns uri for shippings.

@param string $id
@param string $subject
@param string $type

@return string
Returns uri for shippings .