PHP Class Queries, Nameless

Afficher le fichier Open project: NamelessMC/Nameless Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( )
alterTable ( $table, $column, $attributes )
convertQuestionType ( $type )
create ( $table, $fields = [] )
createTable ( $table, $columns, $other )
dbInitialise ( )
decrement ( $table, $id, $field )
delete ( $table, $where )
getAll ( $table, $where = [] )
getLastId ( )
getLike ( $table, $where, $like )
getWhere ( $table, $where )
increment ( $table, $id, $field )
modifyColumn ( $table, $column, $attributes )
orderAll ( $table, $order, $sort = null )
orderWhere ( $table, $where, $order, $sort = null )
removeColumn ( $table, $column )
tableExists ( $table )
update ( $table, $id, $fields = [] )

Method Details

__construct() public méthode

public __construct ( )

alterTable() public méthode

public alterTable ( $table, $column, $attributes )

convertQuestionType() public méthode

public convertQuestionType ( $type )

create() public méthode

public create ( $table, $fields = [] )

createTable() public méthode

public createTable ( $table, $columns, $other )

dbInitialise() public méthode

public dbInitialise ( )

decrement() public méthode

public decrement ( $table, $id, $field )

delete() public méthode

public delete ( $table, $where )

getAll() public méthode

public getAll ( $table, $where = [] )

getLastId() public méthode

public getLastId ( )

getLike() public méthode

public getLike ( $table, $where, $like )

getWhere() public méthode

public getWhere ( $table, $where )

increment() public méthode

public increment ( $table, $id, $field )

modifyColumn() public méthode

public modifyColumn ( $table, $column, $attributes )

orderAll() public méthode

public orderAll ( $table, $order, $sort = null )

orderWhere() public méthode

public orderWhere ( $table, $where, $order, $sort = null )

removeColumn() public méthode

public removeColumn ( $table, $column )

tableExists() public méthode

public tableExists ( $table )

update() public méthode

public update ( $table, $id, $fields = [] )