Class MOXMAN_Commands_AlterImageCommand

InheritanceMOXMAN_Commands_AlterImageCommand » MOXMAN_Commands_BaseCommand
ImplementsMOXMAN_ICommand

Command for altering images. This command lets you modify images using specific ations like resize, fip, rotate and crop.

These are used as a fallback when the client browser doesn't have image editing support.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
execute() Executes the command logic with the specified RPC parameters. MOXMAN_Commands_AlterImageCommand

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
fileToJson() Converts a file instance to a JSON serializable object. MOXMAN_Commands_BaseCommand
fireBeforeFileAction() Fires a before file action event with the specified file object. MOXMAN_Commands_BaseCommand
fireBeforeTargetFileAction() Fires a before file action event with the specified from/to file objects. MOXMAN_Commands_BaseCommand
fireCustomInfo() Fires a file custom info for the specified file. MOXMAN_Commands_BaseCommand
fireFileAction() Fires a file action event with the specified file object. MOXMAN_Commands_BaseCommand
fireFilesAction() Fires a file action event with the specified file object and files array. MOXMAN_Commands_BaseCommand
fireTargetFileAction() Fires a file action event with the specified from/to file objects. MOXMAN_Commands_BaseCommand
getPublicConfig() Returns public config options to the client. MOXMAN_Commands_BaseCommand

Method Details

execute() public method

Executes the command logic with the specified RPC parameters.

public Object execute ( $params )
$params Object

Command parameters sent from client.

return Object

Result object to be passed back to client.