CommonDBTM::showMassiveActionsSubForm PHP Method

showMassiveActionsSubForm() static public method

Class-specific method used to show the fields to specify the massive action
static public showMassiveActionsSubForm ( MassiveAction $ma ) : false
$ma MassiveAction the current massive action object
return false if parameters displayed ?
    static function showMassiveActionsSubForm(MassiveAction $ma)
    {
        return false;
    }

Usage Example

 /**
  * @since version 0.85
  *
  * @see CommonDBTM::showMassiveActionsSubForm()
  **/
 static function showMassiveActionsSubForm(MassiveAction $ma)
 {
     switch ($ma->getAction()) {
         case 'import_email':
             Entity::dropdown();
             echo "<br><br>";
             echo Html::submit(_x('button', 'Import'), array('name' => 'massiveaction'));
             return true;
     }
     return parent::showMassiveActionsSubForm($ma);
 }
All Usage Examples Of CommonDBTM::showMassiveActionsSubForm
CommonDBTM