PHP Class Admin_articles, 68kb

Inheritance: extends CI_Controller
Afficher le fichier Open project: 68kb/68kb

Méthodes publiques

Méthode 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

Méthode 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 méthode

public __construct ( )

add() public méthode

add article
public add ( )

edit() public méthode

add article
public edit ( $id = '' )

grid() public méthode

This is used by the data table js.
public grid ( ) : string
Résultat string

index() public méthode

Show table grid
public index ( )

upload_delete() public méthode

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