Method | Description | |
---|---|---|
__construct ( $scope, $actionsInfo, $action, $id, $customTags = [], $customFiles = [] ) | ||
getAction ( ) : string | The action done on the object type, for instance "install" or "activate" if the object was a plugin. | |
getChangeDescription ( ) : string | Text displayed in the main VersionPress table (see admin/index.php). Also used to construct commit message subject (first line) when the commit is first physically created. | |
getChangedFiles ( ) : array | Reports changes in files that relate to this ChangeInfo. Used by {@see Committer::stageRelatedFiles()}. | |
getCommitMessage ( ) | ||
getCustomTags ( ) : array | Used to construct a commit message body, subclasses provide an array of VP tags using this method. If they don't need custom tags, they return an empty array. | |
getId ( ) | ||
getPriority ( ) | ||
getScope ( ) : string | Object type, the first part of the VP-Action tag value. |
Method | Description | |
---|---|---|
getActionTagValue ( ) : string | Used to construct a commit message body, subclasses provide a string for the VP-Action tag value using this method. |
Method | Description | |
---|---|---|
getCommitMessageBody ( ) : string | Constructs commit message body, which is typically a couple of lines of VP tags. |
public __construct ( $scope, $actionsInfo, $action, $id, $customTags = [], $customFiles = [] ) |
protected getActionTagValue ( ) : string | ||
return | string |
public getChangeDescription ( ) : string | ||
return | string |
public getChangedFiles ( ) : array | ||
return | array |
public getCustomTags ( ) : array | ||
return | array |