Class VC_rcs

Description

VC_rcs implementation.

Copyright 2004-2007 Jeff Schwentner <jeffrey.schwentner@lmco.com>

$Horde: framework/VC/VC/rcs.php,v 1.3.8.7 2007/12/20 13:50:17 jan Exp $

Located in /VC/VC/rcs.php (line 13)

VC
   |
   --VC_rcs
Direct descendents
Class Description
 class VC_cvs VC_cvs implementation.
Method Summary
 string|object ci (string $filepath, string $message, [string $user = null], [boolean $newBinary = false])
 boolean|object isLocked (string $filepath, string &$locked_by)
 boolean|object lock (string $filepath, [string $user = null])
 boolean|object unlock (string $filepath, [string $user = null])
Variables

Inherited Variables

Inherited from VC

VC::$_paths
VC::$_sourceroot
VC::$_users
Methods
ci (line 26)

Checks an RCS file in with a specified change log.

  • return: The new revision number on success, or a PEAR_Error object on failure.
string|object ci (string $filepath, string $message, [string $user = null], [boolean $newBinary = false])
  • string $filepath: Location of file to check in.
  • string $message: Log of changes since last version.
  • string $user: The user name to use for the check in.
  • boolean $newBinary: Does the change involve binary data?
isLocked (line 115)

Checks the locks on a CVS/RCS file.

  • return: True on success, or a PEAR_Error on failure.
boolean|object isLocked (string $filepath, string &$locked_by)
  • string $filepath: Location of file.
  • string &$locked_by: Returns the username holding the lock.
lock (line 158)

Locks a CVS/RCS file.

  • return: True on success, or a PEAR_Error on failure.
boolean|object lock (string $filepath, [string $user = null])
  • string $filepath: Location of file.
  • string $user: User name to lock the file with
unlock (line 199)

Unlocks a CVS/RCS file.

  • return: True on success, or a PEAR_Error on failure.
boolean|object unlock (string $filepath, [string $user = null])
  • string $filepath: Location of file.
  • string $user: User name to unlock the file with

Inherited Methods

Inherited From VC

 VC::factory()
 VC::getPath()
 VC::getUsers()
 VC::singleton()
 VC::sourceroot()

Documentation generated on Sun, 30 Jan 2011 05:20:46 +0000 by phpDocumentor 1.4.3