<?php
/**
 * app/plugins/suggestions/plugin.php
 *
 * This houses all of the main plugin info and functionality.
 *
 * @package TP Suggest
 * @version 3.0
 * @author  Joey Kimsey <Joey@thetempusproject.com>
 * @link    https://TheTempusProject.com
 * @license https://opensource.org/licenses/MIT [MIT LICENSE]
 */
namespace TheTempusProject\Plugins;

use ReflectionClass;
use TheTempusProject\Classes\Installer;
use TheTempusProject\Houdini\Classes\Navigation;
use TheTempusProject\Classes\Plugin;
use TheTempusProject\TheTempusProject as App;

class Suggestions extends Plugin {
    public $pluginName = 'TP Suggest';
    public $pluginAuthor = 'JoeyK';
    public $pluginWebsite = 'https://TheTempusProject.com';
    public $modelVersion = '1.0';
    public $pluginVersion = '3.0';
    public $pluginDescription = 'A simple plugin which adds a site wide suggestion system.';
    public $permissionMatrix = [
        'suggest' => [
            'pretty' => 'Can create suggestions',
            'default' => false,
        ],
    ];
    public $admin_links = [
        [
            'text' => '<i class="fa fa-fw fa-copy"></i> Suggestions',
            'url' => '{ROOT_URL}admin/suggestions',
        ],
    ];
    public $contact_footer_links = [
        [
            'text' => 'Suggestions',
            'url' => '{ROOT_URL}suggestions/index',
            'filter' => 'loggedin',
        ],
    ];
}
