DB_NAME
Database config variable
public
string
DB_NAME
= ''
DB_NAME Database name
Database config variable
public
string
DB_NAME
= ''
DB_NAME Database name
Database config variable
public
string
HOST_NAME
= 'localhost'
HOST_NAME Database server(host) name
Set your default time zone
public
mixed
TIME_ZONE
= "asia/tehran"
@var string TIME_ZONE Set default time zone
Database config variable
public
string
USER_NAME
= 'root'
USER_NAME User name
Database config variable
public
string
USER_PASSWORD
= ''
USER_PASSWORD User pass
Drop a horizontal line
hr() : string
Drop a break line
br() : void
Drop a varible for showing value
d([ $data = "d function stop" ][, int|null $line_number = null ][, int|null $file_name = null ]) : void
Drop and die a variable for showing value
dd([ $data = "d function stop" ][, int|null $line_number = null ][, int|null $file_name = null ]) : void
Add javaScript code to HTML page
js(string $input) : void
Change URL path with PHP
redirect([string $url = "/" ][, int $statusCode = 303 ]) : void
Check request method is POST?
is_post() : bool
Check request method is GET?
is_get() : bool
Return session value if set
session([ $name = null ][, $value = null ]) : void
echo session value if set
e_session([ $name = null ]) : void
Creare a random string with your pattern and length
randomatic([string $case = "a" ][, int $length = 1 ]) : bool
Deafault is 'A' all option : "A|N|L|U|NL|NU|LU"
Length of string default is '1'
| string Return false or string pattern
Chck cookie on ro off ?
check_cookie() : bool
Return Cookie value if it's set
cookie(string $cookie_name) : void
Name of cookie
Get url
my_address([bool $url = false ]) : string
set error session
error([ $name = null ][, $value = null ]) : void