include/Expressions/Dependency.php
\Dependency
Package: SugarCRM
Generic dependency
- Api
Properties
Methods

addAction(
\Array/Action $action
)
:
voidAdds a new action to this dependency or creates a new Action from the meta if Action metadata is passed.
Parameters
| Name | Type | Description |
|---|---|---|
| $action | \Array/Action |

addFalseAction(
\Array/Action $action
)
:
voidAdds a new action which will be fired when this dependency's trigger is false.
Parameters
| Name | Type | Description |
|---|---|---|
| $action | \Array/Action |

fire(
\SugarBean $target
)
:
voidRuns the dependency on the target bean.
Parameters
| Name | Type | Description |
|---|---|---|
| $target | \SugarBean |

fireActions(
\SugarBean $target, boolean $useFalse
=
false
)
:
voidPerforms the actions in this dependency on the target.
Parameters
| Name | Type | Description |
|---|---|---|
| $target | \SugarBean | |
| $useFalse | boolean |

getJavascript(
$form
=
"EditView"
)
:
voidReturns the javascript equivalent of this dependency.
Parameters
| Name | Type | Description |
|---|---|---|
| $form |