Method |
Description |
|
__construct ( integer $modtype, string $attribute, array $values = [] ) |
|
|
getAttribute ( ) : string |
Get the attribute for this batch. |
|
getModType ( ) : integer |
Get the modtype for this batch. |
|
getValues ( ) : array |
Get the values for this batch action. |
|
isTypeAdd ( ) : boolean |
A convenience function to check if this batch type is an ADD action. |
|
isTypeRemove ( ) : boolean |
A convenience function to check if this batch type is a REMOVE action. |
|
isTypeRemoveAll ( ) : boolean |
A convenience function to check if this batch type is a REMOVE_ALL action. |
|
isTypeReplace ( ) : boolean |
A convenience function to check if this batch type is a REPLACE action. |
|
setAttribute ( string $attribute ) |
Set the attribute for this batch. |
|
setModType ( integer $modtype ) |
Set the modtype for this batch. |
|
setValues ( $values ) |
Set the values for this batch. |
|
toArray ( ) : array |
Get the array representation of this batch action. |
|