protected static function renderExtraInfoContent(Autoresponder $autoresponder)
 {
     $operationValuesAndLabels = Autoresponder::getOperationTypeDropDownArray();
     if (!isset($operationValuesAndLabels[$autoresponder->operationType])) {
         return;
     }
     $intervalValuesAndLabels = Autoresponder::getIntervalDropDownArray();
     if (!isset($intervalValuesAndLabels[$autoresponder->secondsFromOperation])) {
         return;
     }
     $content = null;
     $content .= Zurmo::t('AutorespondersModule', 'Send {timeFrame} after {operation}', array('{timeFrame}' => $intervalValuesAndLabels[$autoresponder->secondsFromOperation], '{operation}' => $operationValuesAndLabels[$autoresponder->operationType]));
     return $content;
 }
 protected static function renderExtraInfoContent(Autoresponder $autoresponder)
 {
     $operationValuesAndLabels = Autoresponder::getOperationTypeDropDownArray();
     $durationTypeValueAndLabels = TimeDurationUtil::getValueAndLabels();
     if (!isset($operationValuesAndLabels[$autoresponder->operationType])) {
         return;
     }
     if (!isset($durationTypeValueAndLabels[$autoresponder->fromOperationDurationType])) {
         return;
     }
     if ($autoresponder->fromOperationDurationInterval == 0) {
         return Zurmo::t('AutorespondersModule', 'Send immediately after {operation}', array('{operation}' => $operationValuesAndLabels[$autoresponder->operationType]));
     } else {
         $content = Zurmo::t('AutorespondersModule', 'Send {interval} {type} after {operation}', array('{interval}' => $autoresponder->fromOperationDurationInterval, '{type}' => $durationTypeValueAndLabels[$autoresponder->fromOperationDurationType], '{operation}' => $operationValuesAndLabels[$autoresponder->operationType]));
         return $content;
     }
 }
 protected function getDropDownArray()
 {
     return Autoresponder::getOperationTypeDropDownArray();
 }