stevotvr/phpbb-groupsub

View on GitHub
controller/acp_subs_interface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 *
 * Group Subscription. An extension for the phpBB Forum Software package.
 *
 * @copyright (c) 2017, Steve Guidetti, https://github.com/stevotvr
 * @license GNU General Public License, version 2 (GPL-2.0)
 *
 */

namespace stevotvr\groupsub\controller;

/**
 * Group Subscription ACP subscriptions controller interface.
 */
interface acp_subs_interface extends acp_base_interface
{
    /**
     * Set the user ID for single user mode.
     *
     * @param int $user_id The user ID
     */
    public function set_user($user_id);

    /**
     * Display all items.
     */
    public function display();

    /**
     * Add an item.
     */
    public function add();

    /**
     * Edit an item.
     *
     * @param int $id The item ID
     */
    public function edit($id);

    /**
     * Delete an item.
     *
     * @param int $id The item ID
     */
    public function delete($id);

    /**
     * Restart an item.
     *
     * @param int $id The item ID
     */
    public function restart($id);
}