Documentation

Horde_Vcs
in package

Version Control generalized library.

Copyright 2008-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Table of Contents

SORT_AGE  = 1
SORT_ASCENDING  = 0
SORT_AUTHOR  = 4
SORT_DESCENDING  = 1
SORT_NAME  = 2
SORT_NONE  = 0
SORT_REV  = 3
factory()  : Horde_Vcs
Attempts to return a concrete Horde_Vcs instance based on $driver.

Constants

SORT_AGE

public mixed SORT_AGE = 1

SORT_ASCENDING

public mixed SORT_ASCENDING = 0

SORT_AUTHOR

public mixed SORT_AUTHOR = 4

SORT_DESCENDING

public mixed SORT_DESCENDING = 1

SORT_NAME

public mixed SORT_NAME = 2

SORT_NONE

public mixed SORT_NONE = 0

SORT_REV

public mixed SORT_REV = 3

Methods

factory()

Attempts to return a concrete Horde_Vcs instance based on $driver.

public static factory(mixed $driver[, array<string|int, mixed> $params = array() ]) : Horde_Vcs
Parameters
$driver : mixed

The type of concrete Horde_Vcs subclass to return. The code is dynamically included.

$params : array<string|int, mixed> = array()

A hash containing any additional configuration or parameters a subclass might need.

Tags
throws
Horde_Vcs_Exception
Return values
Horde_Vcs

The newly created concrete instance.

Search results