public function __async_table()
    {
        // Create query to get users
        $query = dbQuery('user')->Active(1)->order_by('UserID');

        // Create generic table for users
        $table = new Table($query);

        return array ('status'=>1, 'table'=>$table->render());
    }
public function __async_table()
    {
        // Create query to get users
        $query = dbQuery('user')->Active(1)->order_by('UserID');

        // Create generic table for users
        $table = new Table($query);

        return array ('status'=>1, 'table'=>$table->render());
    }
public function __async_table ( ) { // Create query to get users $ query = dbQuery ( 'user' ) -> Active ( 1 ) -> order_by ( 'UserID' ) ; // Create generic table for users $ table = new Table ( $ query ) ; return array ( 'status' => 1 , 'table' => $ table -> render ( ) ) ; }
Method for rendering table
@return array - AJAX Response
Method for rendering table