/
api(docs).phtml
28 lines (28 loc) · 2.09 KB
/
api(docs).phtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<h1>API</h1>
<p>This is a reference of all global variables and functions.</p>
<pre>
Type Function Location Purpose Level
=====================================================================================================
e($variable) Template/View Output Public
d($variable) Everywhere Debugging Public
array DB::select($sql,...) Action Database query Public
array DB::selectOne($sql,...) Action Database query Public
string DB::selectValue($sql,...) Action Database query Public
array DB::selectPairs($sql,...) Action Database query Public
array DB::selectValues($sql,...) Action Database query Public
integer DB::insert($sql,...) Action Database query Public
integer DB::update($sql,...) Action Database query Public
integer DB::delete($sql,...) Action Database query Public
bool Auth::login($username,$password) Action Logging in Public
bool Auth::logout() Action Logging out Public
bool Auth::register($username,$password) Action Adding users Public
Router::addRoute($req,$loc) Router Config Routing Public
Router::redirect($url) Action Redirection Public
string Session::getCsrfInput() Template/View Form security Public
=====================================================================================================
bool Loader::register($path,$namespace) Loader Config Loading classes Advanced
Buffer::set($name,$string) Template Create template Medium
string Buffer::get($name) Template Create template Medium
Buffer::start($name) Template Create template Medium
Buffer::end($name) Template Create template Medium
</pre>