CRM_Core_QuickForm_Action_Upload
class CRM_Core_QuickForm_Action_Upload extends CRM_Core_QuickForm_Action
Redefine the upload action.
Properties
protected object | $_stateMachine | Reference to the state machine i belong to. | from CRM_Core_QuickForm_Action |
protected array | $_uploadNames | The array of uploaded file names. | |
protected string | $_uploadDir | The directory to store the uploaded files. |
Methods
__construct(object $stateMachine, string $uploadDir, array $uploadNames)
Class constructor.
popUserContext()
Returns the user to the top of the user context stack.
upload(CRM_Core_Form $page, object $data, string $pageName, string $uploadName)
Upload and move the file if valid to the uploaded directory.
mixed
Details
at line 61
CRM_Core_QuickForm_Action
__construct(object $stateMachine, string $uploadDir, array $uploadNames)
Class constructor.
in CRM_Core_QuickForm_Action at line 63
popUserContext()
Returns the user to the top of the user context stack.
at line 80
upload(CRM_Core_Form $page, object $data, string $pageName, string $uploadName)
Upload and move the file if valid to the uploaded directory.
at line 127
perform(CRM_Core_Form $page, string $actionName)
Processes the request.
at line 149
mixed
realPerform(CRM_Core_Form $page, string $actionName)
Real perform.