PHP Class Modman_Reader_Conflicts

Mostra file Open project: sitewards/modman-php Class Usage Examples

Public Methods

Method Description
checkForConflict ( string $sSymlink, string $sType, string $sTarget = false ) checks for conflicts in file
cleanup ( ) removes a linked module
getConflictsString ( ) : string returns conflicts as human readable string
hasConflicts ( ) : boolean returns if there are any conflicts

Method Details

checkForConflict() public method

checks for conflicts in file
public checkForConflict ( string $sSymlink, string $sType, string $sTarget = false )
$sSymlink string symlink name
$sType string type (either dir or file)
$sTarget string = false target where the symlink should link to

cleanup() public method

removes a linked module
public cleanup ( )

getConflictsString() public method

returns conflicts as human readable string
public getConflictsString ( ) : string
return string

hasConflicts() public method

returns if there are any conflicts
public hasConflicts ( ) : boolean
return boolean true if conflicts exist