framework/web/Request.php
protected function devideUrl()
    {
        $parts = explode('/', $this->getPath());
        $cnt   = count($parts);
        for ($i = 0; $i < $cnt; $i++) {
            $parts[$i] = trim($parts[$i]);
        }
        return $parts;
    }
protected function devideUrl()
    {
        $parts = explode('/', $this->getPath());
        $cnt   = count($parts);
        for ($i = 0; $i < $cnt; $i++) {
            $parts[$i] = trim($parts[$i]);
        }
        return $parts;
    }
protected function devideUrl ( ) { $ parts = explode ( '/' , $ this -> getPath ( ) ) ; $ cnt = count ( $ parts ) ; for ( $ i = 0 ; $ i < $ cnt ; $ i ++ ) { $ parts [ $ i ] = trim ( $ parts [ $ i ] ) ; } return $ parts ; }
Devide url on segments

@return array
Devide url on segments