PHP Class Admin_articles, 68kb

Inheritance: extends CI_Controller
ファイルを表示 Open project: 68kb/68kb

Public Methods

Method Description
__construct ( )
add ( ) add article
edit ( $id = '' ) add article
grid ( ) : string Grid
index ( ) Show table grid
upload_delete ( $id = '' ) Delete an Uploaded file.

Private Methods

Method Description
_column_to_field ( $i ) : string Relate column to field
_mkdir ( $target ) Attempt to make a directory to house uploaded files.

Method Details

__construct() public method

public __construct ( )

add() public method

add article
public add ( )

edit() public method

add article
public edit ( $id = '' )

grid() public method

This is used by the data table js.
public grid ( ) : string
return string

index() public method

Show table grid
public index ( )

upload_delete() public method

Delete an Uploaded file.
public upload_delete ( $id = '' )