PHP 클래스 Components_Helper_ChangeLog, horde

Copyright 2010-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.
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Components_Output $output ) Constructor.
addChange ( string $entry, string $changes ) : null Add a change log entry to CHANGES
changes ( string $log, string $directory, array $options ) : null Update CHANGES file.
changesFileExists ( string $dir ) : string | boolean Indicates if there is a CHANGES file for this component.
getChangelog ( string $root, string $directory ) : string | null Returns the link to the change log.
packageXml ( string $log, Horde_Pear_Package_Xml $xml, string $file, array $options ) : null Update package.xml file.

보호된 메소드들

메소드 설명
system ( string $call, array $options ) : string Run a system call.
systemInDirectory ( string $call, string $target_dir, array $options ) : string Run a system call.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Components_Output $output )
$output Components_Output The output handler.

addChange() 공개 메소드

Add a change log entry to CHANGES
public addChange ( string $entry, string $changes ) : null
$entry string Change log entry to add.
$changes string Path to the CHANGES file.
리턴 null

changes() 공개 메소드

Update CHANGES file.
public changes ( string $log, string $directory, array $options ) : null
$log string The log entry.
$directory string The path to the component directory.
$options array Additional options.
리턴 null

changesFileExists() 공개 메소드

Indicates if there is a CHANGES file for this component.
public changesFileExists ( string $dir ) : string | boolean
$dir string The basic component directory.
리턴 string | boolean The path to the CHANGES file if it exists, false otherwise.

getChangelog() 공개 메소드

Returns the link to the change log.
public getChangelog ( string $root, string $directory ) : string | null
$root string The root of the component in the repository.
$directory string The working directory.
리턴 string | null The link to the change log.

packageXml() 공개 메소드

Update package.xml file.
public packageXml ( string $log, Horde_Pear_Package_Xml $xml, string $file, array $options ) : null
$log string The log entry.
$xml Horde_Pear_Package_Xml The package xml handler.
$file string Path to the package.xml.
$options array Additional options.
리턴 null

system() 보호된 메소드

Run a system call.
protected system ( string $call, array $options ) : string
$call string The system call to execute.
$options array Additional options.
리턴 string The command output.

systemInDirectory() 보호된 메소드

Run a system call.
protected systemInDirectory ( string $call, string $target_dir, array $options ) : string
$call string The system call to execute.
$target_dir string Run the command in the provided target path.
$options array Additional options.
리턴 string The command output.