public function getPaths() {
		
		if ($this->lastUrlDisabled) {
			$newPaths = $this->paths;
			end($newPaths)->url = NULL;
			return $newPaths;
		} else {
			return $this->paths;
		}
		
	}
public function getPaths() {
		
		if ($this->lastUrlDisabled) {
			$newPaths = $this->paths;
			end($newPaths)->url = NULL;
			return $newPaths;
		} else {
			return $this->paths;
		}
		
	}
public function getPaths ( ) { if ( $ this -> lastUrlDisabled ) { $ newPaths = $ this -> paths ; end ( $ newPaths ) -> url = NULL ; return $ newPaths ; } else { return $ this -> paths ; } }
Returns all paths as array.

@return array:stdClass
Returns all paths as array .