Trait lispa\amos\core\forms\editors\m2mWidget\controllers\M2MWidgetControllerTrait
Class M2MWidgetControllerTrait
Public Methods
Protected Methods
Method Details
public mixed actionAdditionalAssociateM2m ( $id ) | ||
$id |
public void actionAnnullaM2m ( $id ) | ||
$id | integer |
public mixed actionAssociaM2m ( $id ) | ||
$id |
public string actionAssociateOneToMany ( $id ) | ||
$id | integer |
public void actionEliminaM2m ( $id, $targetId ) | ||
$id | ||
$targetId |
public mixed actionManageM2mAttributes ( $id, $targetId ) | ||
$id | ||
$targetId |
protected yii\db\ActiveRecord genericFindModel ( $ids ) | ||
$ids | integer | |
return | yii\db\ActiveRecord | The loaded model |
---|---|---|
throws | yii\web\NotFoundHttpException | if the model cannot be found |
public string getAdditionalTargetUrl ( ) |
public string getM2mAttributesManageViewPath ( ) |
public null getMmStartKey ( ) |
public array getMmTableAttributesDefault ( ) |
public null getMmTableName ( ) |
public null getMmTargetKey ( ) |
public string getModuleClassName ( ) |
public null getOptions ( ) |
public null getRedirectAction ( ) |
protected array getRedirectArray ( $id = null ) | ||
$id |
public string getStartObjClassName ( ) |
public string getTargetObjClassName ( ) |
public string getTargetUrl ( ) |
public array getTargetUrlParams ( ) |
public boolean getViewM2MWidgetGenericSearch ( ) |
public boolean isCustomQuery ( ) |
public void setAdditionalTargetUrl ( $additionalTargetUrl ) | ||
$additionalTargetUrl | string |
public void setCustomQuery ( $customQuery ) | ||
$customQuery | boolean |
public void setM2mAttributesManageViewPath ( $m2mAttributesManageViewPath ) | ||
$m2mAttributesManageViewPath | string |
public void setMmStartKey ( $mmStartKey ) | ||
$mmStartKey | null |
public void setMmTableAttributesDefault ( $mmTableAttributesDefault ) | ||
$mmTableAttributesDefault | array |
public void setMmTableName ( $mmTableName ) | ||
$mmTableName | null |
public void setMmTargetKey ( $mmTargetKey ) | ||
$mmTargetKey | null |
public void setModuleClassName ( $moduleClassName ) | ||
$moduleClassName | string |
public void setOptions ( $options ) | ||
$options | null |
public void setRedirectAction ( $redirectAction ) | ||
$redirectAction | null |
public void setRedirectArray ( $redirectArray ) | ||
$redirectArray | array |
public void setStartObjClassName ( $startObjClassName ) | ||
$startObjClassName | string |
public void setTargetObjClassName ( $targetObjClassName ) | ||
$targetObjClassName | string |
public void setTargetUrl ( $targetUrl ) | ||
$targetUrl | string |
public void setTargetUrlParams ( $targetUrlParams ) | ||
$targetUrlParams | array |
public void setViewM2MWidgetGenericSearch ( $viewM2MWidgetGenericSearch ) | ||
$viewM2MWidgetGenericSearch | boolean |