PHP Class App\Controller\Page

Inheritance: extends Swoole\Controller
Afficher le fichier Open project: matyhtf/swoole_framework

Méthodes publiques

Méthode Description
__construct ( $swoole )
cache_get ( ) 缓存获取
cache_set ( ) 缓存设置
class_load ( ) class autoload
db_test ( ) 数据库测试
detail ( )
exit_php ( ) exit or die
http_header ( )
index ( ) hello world
ip ( )
model_test ( )
post ( )
redirect ( )
session_read ( )
session_test ( )
tpl_test ( ) 使用smarty引擎
upload ( )
user_factory ( )
vcode ( )
view_test ( ) 使用php直接作为模板

Method Details

__construct() public méthode

public __construct ( $swoole )

cache_get() public méthode

缓存获取
public cache_get ( )

cache_set() public méthode

缓存设置
public cache_set ( )

class_load() public méthode

class autoload
public class_load ( )

db_test() public méthode

数据库测试
public db_test ( )

detail() public méthode

public detail ( )

exit_php() public méthode

exit or die
public exit_php ( )

http_header() public méthode

public http_header ( )

index() public méthode

hello world
public index ( )

ip() public méthode

public ip ( )

model_test() public méthode

public model_test ( )

post() public méthode

public post ( )

redirect() public méthode

public redirect ( )

session_read() public méthode

public session_read ( )

session_test() public méthode

public session_test ( )

tpl_test() public méthode

使用smarty引擎
public tpl_test ( )

upload() public méthode

public upload ( )

user_factory() public méthode

public user_factory ( )

vcode() public méthode

public vcode ( )

view_test() public méthode

使用php直接作为模板
public view_test ( )