public static function format_icon_link($url, $icon, $alt, $iconcomponent = 'moodle', $options = array()) {
        global $OUTPUT;

        return $OUTPUT->action_icon(
                $url,
                new \pix_icon($icon, $alt, $iconcomponent, [
                        'title' => $alt,
                    ]),
                null,
                $options
                );

    }
public static function format_icon_link($url, $icon, $alt, $iconcomponent = 'moodle', $options = array()) {
        global $OUTPUT;

        return $OUTPUT->action_icon(
                $url,
                new \pix_icon($icon, $alt, $iconcomponent, [
                        'title' => $alt,
                    ]),
                null,
                $options
                );

    }
public static function format_icon_link ( $ url , $ icon , $ alt , $ iconcomponent = 'moodle' , $ options = array ( ) ) { global $ OUTPUT ; return $ OUTPUT -> action_icon ( $ url , new \ pix_icon ( $ icon , $ alt , $ iconcomponent , [ 'title' => $ alt , ] ) , null , $ options ) ; }
Get a filler icon for display in the actions column of a table.

@param   string      $url            The URL for the icon.
@param   string      $icon           The icon identifier.
@param   string      $alt            The alt text for the icon.
@param   string      $iconcomponent  The icon component.
@param   array       $options        Display options.
@return  string
Get a filler icon for display in the actions column of a table .