PHP Class Horde_Vcs_File_Rcs, horde

Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Jan Schneider ([email protected])
Inheritance: extends Horde_Vcs_File_Base
Datei anzeigen Open project: horde/horde

Protected Properties

Property Type Description
$_accum string TODO
$_branches array TODO
$_driver string The current driver.
$_revlist array TODO
$_revsym array TODO
$_symrev array TODO

Public Methods

Method Description
getAccum ( ) TODO
getFileName ( ) : string Returns name of the current file without the repository extensions (usually ,v)
getFullPath ( ) : string Return the fully qualified filename of this object.
getLastLog ( ) : Horde_Vcs_QuickLog_Rcs Returns a log object for the most recent log entry of this file.
getPreviousRevision ( string $rev ) : string Returns the revision before the specified revision.
getRevisionSymbol ( $rev ) TODO
getSourcerootPath ( ) : string Return the name of this file relative to its sourceroot.

Protected Methods

Method Description
_init ( ) This method parses branches even though RCS doesn't support branches. But rlog from the RCS tools supports them, and displays them even on RCS repositories.

Method Details

_init() protected method

This method parses branches even though RCS doesn't support branches. But rlog from the RCS tools supports them, and displays them even on RCS repositories.
protected _init ( )

getAccum() public method

TODO
public getAccum ( )

getFileName() public method

Returns name of the current file without the repository extensions (usually ,v)
public getFileName ( ) : string
return string Filename without repository extension

getFullPath() public method

Return the fully qualified filename of this object.
public getFullPath ( ) : string
return string Fully qualified filename of this object.

getLastLog() public method

Returns a log object for the most recent log entry of this file.
public getLastLog ( ) : Horde_Vcs_QuickLog_Rcs
return Horde_Vcs_QuickLog_Rcs Log object of the last entry in the file.

getPreviousRevision() public method

Returns the revision before the specified revision.
public getPreviousRevision ( string $rev ) : string
$rev string A revision.
return string The previous revision or null if the first revision.

getRevisionSymbol() public method

TODO
public getRevisionSymbol ( $rev )

getSourcerootPath() public method

Return the name of this file relative to its sourceroot.
public getSourcerootPath ( ) : string
return string Pathname relative to the sourceroot.

Property Details

$_accum protected_oe property

TODO
protected string $_accum
return string

$_branches protected_oe property

TODO
protected array $_branches
return array

$_driver protected_oe property

The current driver.
protected string $_driver
return string

$_revlist protected_oe property

TODO
protected array $_revlist
return array

$_revsym protected_oe property

TODO
protected array $_revsym
return array

$_symrev protected_oe property

TODO
protected array $_symrev
return array