/** * Returns $path with added terminating slash (corrected for Windows or other OS). * * @param string $path Path to check * @return string Path with ending slash * @access public * @static */ function slashTerm($path) { if (XoopsFolderHandler::isSlashTerm($path)) { return $path; } return $path . XoopsFolderHandler::correctSlashFor($path); }
/** * Returns the full path of the File. * * @return string Full path to file * @access public */ public function pwd() { return $this->folder->slashTerm($this->folder->pwd()) . $this->name; }