PHP Класс Queries, Nameless

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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 = [] )

Описание методов

__construct() публичный Метод

public __construct ( )

alterTable() публичный Метод

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

convertQuestionType() публичный Метод

public convertQuestionType ( $type )

create() публичный Метод

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

createTable() публичный Метод

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

dbInitialise() публичный Метод

public dbInitialise ( )

decrement() публичный Метод

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

delete() публичный Метод

public delete ( $table, $where )

getAll() публичный Метод

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

getLastId() публичный Метод

public getLastId ( )

getLike() публичный Метод

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

getWhere() публичный Метод

public getWhere ( $table, $where )

increment() публичный Метод

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

modifyColumn() публичный Метод

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

orderAll() публичный Метод

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

orderWhere() публичный Метод

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

removeColumn() публичный Метод

public removeColumn ( $table, $column )

tableExists() публичный Метод

public tableExists ( $table )

update() публичный Метод

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