Amiro.CMS API Reference
Amiro.Ru / Manual
Loading search...

The AmiSample_ListGroupActionsAdm class

AMI_ModListActions
   |
   --AMI_ModListGroupActions
      |
      --AmiSample_ListGroupActionsAdm

• Introduction

Sample module admin list group action controller.

• Class synopsis

AmiSample_ListGroupActionsAdm extends AMI_ModListGroupActions {
/* Inherited Properties */
// Action event data
/* Methods */
public dispatchGrpDelete ( mixed $name, $aEvent, mixed $handlerModId, mixed $srcModId ) returns void;
// Dispatches 'rename' group action.
public dispatchGrpRename ( string $name, $aEvent, string $handlerModId, string $srcModId ) returns array;
/* Inherited Methods */
// Returns requested ids list as array.
protected AMI_ModListGroupActions::getRequestIds ( ) returns array;
// Dispatches 'delete' action.
public AMI_ModListActions::dispatchDelete ( string $name, $aEvent, string $handlerModId, string $srcModId ) returns array;
// Dispatches 'public' action.
public AMI_ModListActions::dispatchPublic ( string $name, $aEvent, string $handlerModId, string $srcModId ) returns array;
// Dispatches 'unpublic' action.
public AMI_ModListActions::dispatchUnPublic ( string $name, $aEvent, string $handlerModId, string $srcModId ) returns array;
// Refreshes list view.
public AMI_ModListActions::refreshView ( ) returns void;
// Stores action event data for posterior usage.
public AMI_ModListActions::setActionData ( string $name, $aEvent, string $handlerModId, string $srcModId ) returns array;
// Changes one field of table item & save it.
protected AMI_ModListActions::changeItemFlag ( string $id, string $flag, string $value ) returns AMI_ModTableItem;
// Returns corresponding table item model.
protected AMI_ModListActions::getItem ( string $id, [ $aFields = array('*') ] ) returns AMI_ModTableItem;
// Returns 'id' parameter from request.
protected AMI_ModListActions::getRequestId ( ) returns string;
}
Tags:
since 5.12.4
resource ami_sample/list_group_actions/controller/adm AMI::getResource('ami_sample/list_group_actions/controller/adm')

• Class Methods

public dispatchGrpDelete ( mixed $name, $aEvent, mixed $handlerModId, mixed $srcModId ) returns void;
Tags:
version $Id: AmiSample_ListGroupActionsAdm.php 61273 2013-08-07 10:47:54Z Leontiev Anton $
copyright Amiro.CMS. All rights reserved.
since 5.12.4
filesource Source Code for this file
// Dispatches 'rename' group action.
public dispatchGrpRename ( string $name, $aEvent, string $handlerModId, string $srcModId ) returns array;
  • string $name
    Event name
  • array $aEvent
    Event data
  • string $handlerModId
    Handler module id
  • string $srcModId
    Source module id
Event handler.
Renames 'nickname' field to "[{$nickname}]".