public function classConcluded() { app\verso::nav()->request(); app\verse::nav()->request(); app\log::hits()->counter(); app\avail::assist()->error_get_last(); $this->timerfinish = $this->timer->finish(); }
private function chdis() { return app\form::name('chdis')->setting(array('method' => 'POST', 'table' => 'users', 'mask' => '*', 'class' => 'error', 'msg' => 'default message', 'row' => array('displayname' => array('value' => app\avail::$user->displayname, 'require' => array('mask' => 'Required', 'class' => 'require', 'status' => 'display name')), 'userid' => array('value' => app\avail::$user->userid, 'id' => true))))->update(function ($status, $obj) { if ($status) { app\avail::content('user.displayname')->set($obj->formPost['displayname']); return 'Updated'; } else { return 'Sorry'; } })->done(array('user.update.chdis' => array())); }
public function json() { app\avail::$contextType = 'json'; return array('key' => 'value'); }