\SimpleBlog\ModelArticleModel

Summary

Methods
Properties
Constants
getList()
get()
add()
update()
delete()
addData()
updateData()
$table_name
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$table_name

$table_name : 

Type

Methods

getList()

getList(\SimpleBlog\Model\int  $page = 1, \SimpleBlog\Model\int  $page_size = 10) 

Parameters

\SimpleBlog\Model\int $page
\SimpleBlog\Model\int $page_size

get()

get(  $id) 

Parameters

$id

add()

add(  $data) 

Parameters

$data

update()

update(  $id,   $data) 

Parameters

$id
$data

delete()

delete(  $id) 

Parameters

$id

addData()

addData(  $title,   $content) 

Parameters

$title
$content

updateData()

updateData(  $id,   $title,   $content) 

Parameters

$id
$title
$content