ApiOpen
extends ApiController
in package
Tags
Table of Contents
Properties
- $guest : mixed
- $body_max_len : mixed
- $field : mixed
- $name : mixed
- $table : mixed
Methods
- do_add() : mixed
- do_del() : mixed
- do_edit() : mixed
- get_mine_pager() : mixed
- get_one() : mixed
- get_pager() : mixed
- pager() : mixed
- 分页显示
Properties
$guest
public
mixed
$guest
= false
$body_max_len
protected
mixed
$body_max_len
= 500
$field
protected
mixed
$field
= [
'title',
'type_id',
'user_id',
'tag',
'image',
'images',
'body',
'blog_status',
//draft published
'is_open',
]
$name
protected
mixed
$name
= '博客'
$table
protected
mixed
$table
= 'blog_content'
Methods
do_add()
public
do_add() : mixed
Tags
do_del()
public
do_del() : mixed
Tags
do_edit()
public
do_edit() : mixed
Tags
get_mine_pager()
public
get_mine_pager() : mixed
Tags
get_one()
public
get_one() : mixed
Tags
get_pager()
public
get_pager() : mixed
Tags
pager()
分页显示
protected
pager([mixed $user_id = '' ][, mixed $blog_status = '' ][, mixed $is_open = '' ]) : mixed
Parameters
- $user_id : mixed = ''
- $blog_status : mixed = ''
- $is_open : mixed = ''