Horde_Vcs_File_Base::getSourcerootPath PHP Method

getSourcerootPath() public method

Return the filename relative to its sourceroot.
public getSourcerootPath ( ) : string
return string Pathname relative to the sourceroot.
    public function getSourcerootPath()
    {
        return ltrim($this->_dir . '/' . $this->_name, '/');
    }

Usage Example

Ejemplo n.º 1
0
Archivo: Rcs.php Proyecto: horde/horde
 /**
  * Return the name of this file relative to its sourceroot.
  *
  * @return string  Pathname relative to the sourceroot.
  */
 public function getSourcerootPath()
 {
     return substr(parent::getSourcerootPath(), 0, -2);
 }
All Usage Examples Of Horde_Vcs_File_Base::getSourcerootPath