Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

Павел Резуненко / MTAweb

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 1
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • mtaweb
  • ..
  • controllers
  • example.php
  • Павел Резуненко's avatar
    Added Sencha framework · aa93a603
    Павел Резуненко committed Oct 29, 2012
    aa93a603
example.php 325 Bytes
BlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<?php
/**
 * @class Users
 * A simple application controller extension
 */
class Example extends ApplicationController {
    
    public function reset() {
        $res = new Response();
        $res->success = true;
        
        global $dbh;
        $dbh->reset();
        
        return $res->to_json();
    }
    
}