Implement Buttons

Below are the examples of controller and view for rendering buttons.

Controller:

$this->view->tools = array(
        array(
            'icon' => pm_Context::getBaseUrl() . "img/site-aps_32.gif",
            'title' => 'Example',
            'description' => 'Example extension with UI samples',
            'link' => pm_Context::getBaseUrl(),
        ),
        array(
            'icon' => pm_Context::getBaseUrl() . "img/modules_32.gif",
            'title' => 'Extensions',
            'description' => 'Extensions installed in the Panel',
            'link' => pm_Context::getModulesListUrl(),
        ),
    );

View:

<?php echo $this->renderTools($this->tools); ?>

Result:

buttons-1