public function createActionButtons(\MUtil_Model_Bridge_TableBridge $bridge)
    {
        $tData = $this->util->getTokenData();

        // Action links
        $actionLinks['ask']    = $tData->getTokenAskLinkForBridge($bridge, true);
        $actionLinks['email']  = $tData->getTokenEmailLinkForBridge($bridge);
        $actionLinks['answer'] = $tData->getTokenAnswerLinkForBridge($bridge);

        $output = [];
        foreach ($actionLinks as $key => $actionLink) {
            if ($actionLink) {
                $output[] = ' ';
                $output[$key] = \MUtil_Html::create(
                        'div',
                        $actionLink,
                        ['class' => 'rightFloat', 'renderWithoutContent' => false, 'style' => 'clear: right;']
                        );
            }
        }

        return $output;
    }
public function createActionButtons(\MUtil_Model_Bridge_TableBridge $bridge)
    {
        $tData = $this->util->getTokenData();

        // Action links
        $actionLinks['ask']    = $tData->getTokenAskLinkForBridge($bridge, true);
        $actionLinks['email']  = $tData->getTokenEmailLinkForBridge($bridge);
        $actionLinks['answer'] = $tData->getTokenAnswerLinkForBridge($bridge);

        $output = [];
        foreach ($actionLinks as $key => $actionLink) {
            if ($actionLink) {
                $output[] = ' ';
                $output[$key] = \MUtil_Html::create(
                        'div',
                        $actionLink,
                        ['class' => 'rightFloat', 'renderWithoutContent' => false, 'style' => 'clear: right;']
                        );
            }
        }

        return $output;
    }
public function createActionButtons ( \ MUtil_Model_Bridge_TableBridge $ bridge ) { $ tData = $ this -> util -> getTokenData ( ) ; // Action links $ actionLinks [ 'ask' ] = $ tData -> getTokenAskLinkForBridge ( $ bridge , true ) ; $ actionLinks [ 'email' ] = $ tData -> getTokenEmailLinkForBridge ( $ bridge ) ; $ actionLinks [ 'answer' ] = $ tData -> getTokenAnswerLinkForBridge ( $ bridge ) ; $ output = [ ] ; foreach ( $ actionLinks as $ key => $ actionLink ) { if ( $ actionLink ) { $ output [ ] = ' ' ; $ output [ $ key ] = \ MUtil_Html :: create ( 'div' , $ actionLink , [ 'class' => 'rightFloat' , 'renderWithoutContent' => false , 'style' => 'clear: right;' ] ) ; } } return $ output ; }
Return a list of possible action buttons for the token

@param \MUtil_Model_Bridge_TableBridge $bridge
@return array of HtmlElements
Return a list of possible action buttons for the token