Location: PHPKode > projects > Neobill > NeoBill0.5.6/manager/pages/ConfigureUsersPage.class.php
<?php
/**
 * ConfigureUsersPage.class.php
 *
 * This file contains the definition for the ConfigureUsersPage class
 *
 * @package Pages
 * @author John Diamond <hide@address.com>
 * @copyright John Diamond <hide@address.com>
 * @license http://www.opensource.org/licenses/gpl-license.php GNU Public License
 */

// Include the parent class
require_once BASE_PATH . "include/SolidStateAdminPage.class.php";

/**
 * ConfigureUsersPage
 *
 * Display all Solid-State users (restricted to Administrator's only)
 *
 * @package Pages
 * @author John Diamond <hide@address.com>
 */
class ConfigureUsersPage extends SolidStateAdminPage {
    /**
     * Action
     *
     * Actions handled by this page:
     *   users_action (form)
     *
     * @param string $action_name Action
     */
    function action( $action_name ) {
        switch ( $action_name ) {
            case "users_action":
                if ( isset( $this->post['add'] ) ) {
                    $this->gotoPage( "config_new_user" );
                }
                break;

            case "search_users":
                $this->searchTable( "users", "users", $this->post );
                break;

            default:
				// No matching action, refer to base class
                parent::action( $action_name );
        }
    }
}
?>
Return current item: Neobill