Overview

Packages

  • Release

Classes

  • Horde_Release
  • Horde_Release_Freecode
  • Horde_Release_MailingList
  • Horde_Release_Sentinel
  • Horde_Release_Whups
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Release_Sentinel

Update the sentinel in CHANGES.

Copyright 2011-2012 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.

Package: Release
Category: Horde
License: LGPL 2.1
Author: Mike Hardy
Author: Jan Schneider jan@horde.org
Author: Gunnar Wrobel wrobel@pardus.de
Link: http://www.horde.org/libraries/Horde_Release
Located at Horde/Release/Sentinel.php
Methods summary
public
# __construct( string $component )

Constructor.

Constructor.

Parameters

$component
Base component path.
public null
# updateChanges( string $version )

Update the CHANGES file in case it exists.

Update the CHANGES file in case it exists.

Parameters

$version
Version string that should be added.

Returns

null
public null
# replaceChanges( string $version )

Replace the current sentinel in the CHANGES file in case it exists.

Replace the current sentinel in the CHANGES file in case it exists.

Parameters

$version
Version string that should be added.

Returns

null
public null
# updateApplication( string $version )

Update the Application.php or Bundle.php file in case it exists.

Update the Application.php or Bundle.php file in case it exists.

Parameters

$version
$new_version Version string that should be added.

Returns

null
public string|boolean
# changesFileExists( )

Indicates if there is a CHANGES file for this component.

Indicates if there is a CHANGES file for this component.

Returns

string|boolean

The path to the CHANGES file if it exists, false otherwise.

public string|boolean
# applicationFileExists( )

Indicates if there is a Application.php file for this component.

Indicates if there is a Application.php file for this component.

Returns

string|boolean

The path to the Application.php file if it exists, false otherwise.

public string|boolean
# bundleFileExists( )

Indicates if there is a Bundle.php file for this component.

Indicates if there is a Bundle.php file for this component.

Returns

string|boolean

The path to the Bundle.php file if it exists, false otherwise.

public string
# getVersion( )

Returns the current version from Application.php or Bundle.php.

Returns the current version from Application.php or Bundle.php.

Returns

string
Version string.
Constants summary
string CHANGES

Path to the CHANGES file.

Path to the CHANGES file.

# '/docs/CHANGES'
string APPLICATION

Path to the Application.php file.

Path to the Application.php file.

# '/lib/Application.php'
string BUNDLE

Path to the Bundle.php file.

Path to the Bundle.php file.

# '/lib/Bundle.php'
API documentation generated by ApiGen