PHP Class App\Controller\Page

Inheritance: extends Swoole\Controller
Show file Open project: matyhtf/swoole_framework

Public Methods

Method 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 method

public __construct ( $swoole )

cache_get() public method

缓存获取
public cache_get ( )

cache_set() public method

缓存设置
public cache_set ( )

class_load() public method

class autoload
public class_load ( )

db_test() public method

数据库测试
public db_test ( )

detail() public method

public detail ( )

exit_php() public method

exit or die
public exit_php ( )

http_header() public method

public http_header ( )

index() public method

hello world
public index ( )

ip() public method

public ip ( )

model_test() public method

public model_test ( )

post() public method

public post ( )

redirect() public method

public redirect ( )

session_read() public method

public session_read ( )

session_test() public method

public session_test ( )

tpl_test() public method

使用smarty引擎
public tpl_test ( )

upload() public method

public upload ( )

user_factory() public method

public user_factory ( )

vcode() public method

public vcode ( )

view_test() public method

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