Class X2FlowApiCall
X2FlowAction that calls a remote API
- CComponent
- X2FlowItem
- X2FlowAction
- X2FlowApiCall
Package: application\components\x2flow\actions
Located at x2engine/protected/components/x2flow/actions/X2FlowApiCall.php
Located at x2engine/protected/components/x2flow/actions/X2FlowApiCall.php
public
|
|
public
array
|
|
public
array
|
|
public
string
|
|
public
|
#
validateOptions( boolean & $paramRules, mixed $params = null, mixed $staticValidation = false )
Override parent method to add url validation. Present warning to user on flow save if specified url points to same server as the one X2Engine is hosted on. |
public
boolean
|
getActionInstances(),
getActionTypes(),
getEventType(),
getNotifType(),
setModelAttributes(),
validate()
|
calculateTimeOffset(),
create(),
getInstances(),
getParamRules(),
getTitle(),
parseOption(),
validateDropdown(),
validateEmail()
|
__call(),
__get(),
__isset(),
__set(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
|
VALIDATION_WARNING
|
public
string
|
$title | 'Remote API Call' |
|
public
string
|
$info | 'Call a remote API by requesting the specified URL. You can specify the request type, HTTP headers, and any variables to be passed with the request.' |
#
$var string the description of this action |
$trigger
|
$_instances,
$config,
$label,
$requiresCron
|