Horde_Vcs_File_Base::getSourcerootPath PHP 메소드

getSourcerootPath() 공개 메소드

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

Usage Example

예제 #1
0
파일: Rcs.php 프로젝트: 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