PHP Класс FrameworkDatabase, Analysis-of-Competing-Hypotheses

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

Открытые свойства

Свойство Тип Описание
$database_table_name These are other extra variables that don't need to be matched in the DB table.
$insert_fields_to_ignore This is the table that this class interacts with.

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

Метод Описание
__construct ( ) These are tables fields that will be IGNORED when inserts happen.
get ( $id )
getAttr ( $value, $kind )
insert ( )
insertNew ( )
populateFromAttribute ( $value, $kind )
populateFromId ( $id )
update ( )

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

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

These are tables fields that will be IGNORED when inserts happen.
public __construct ( )

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

public get ( $id )

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

public getAttr ( $value, $kind )

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

public insert ( )

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

public insertNew ( )

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

public populateFromAttribute ( $value, $kind )

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

public populateFromId ( $id )

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

public update ( )

Описание свойств

$database_table_name публичное свойство

These are other extra variables that don't need to be matched in the DB table.
public $database_table_name

$insert_fields_to_ignore публичное свойство

This is the table that this class interacts with.
public $insert_fields_to_ignore