<?php

class MenuSettings {

    protected static $_itens = array(
        'default' => array(
            'title' => 'Ajuda',
            'links' => array(
                100 => array(
                    'title' => 'Geral',
                    'icon' => 'fa fa-wrench',
                    'url' => array(
                        'plugin' => false,
                        'admin' => true,
                        'controller' => 'settings',
                        'action' => 'index'
                    )
                ),
                150 => array(
                    'title' => 'Site',
                    'icon' => 'fa fa-cloud',
                    'url' => array(
                        'plugin' => false,
                        'admin' => true,
                        'controller' => 'settings',
                        'action' => 'prefix', 'Site'
                    )
                ),
                200 => array(
                    'title' => 'Node',
                    'icon' => 'fa fa-cloud',
                    'url' => array(
                        'plugin' => false,
                        'admin' => true,
                        'controller' => 'settings',
                        'action' => 'prefix', 'Node'
                    )
                ),
                750 => array(
                    'title' => 'Limpar Confs',
                    'icon' => 'fa fa-plus-circle',
                    'url' => array(
                        'plugin' => false,
                        'admin' => true,
                        'controller' => 'settings',
                        'action' => 'remove_trash'
                    )
                ),
                800 => array(
                    'title' => 'Adicionar Conf',
                    'icon' => 'fa fa-plus-circle',
                    'url' => array(
                        'plugin' => false,
                        'admin' => true,
                        'controller' => 'settings',
                        'action' => 'add'
                    )
                ),
            ),
    ));

    /**
     * Retorna o parametro $pamareter
     * @param unknown $parameter
     */
    public static function read($parameter) {
        if (!empty(self::$_itens[$parameter])) {
            return self::$_itens[$parameter];
        }
        return array();
    }

}
