PHP Class medoo

Copyright 2015, Angel Lai Released under the MIT license
Afficher le fichier Open project: ss098/payment Class Usage Examples

Protected Properties

Свойство Type Description
$charset
$database_file
$database_name
$database_type
$debug_mode
$logs
$option
$password
$port
$server
$socket
$username

Méthodes publiques

Méthode Description
__construct ( $options = null )
avg ( $table, $join, $column = null, $where = null )
count ( $table, $join = null, $column = null, $where = null )
debug ( )
delete ( $table, $where )
error ( )
exec ( $query )
get ( $table, $join = null, $column = null, $where = null )
has ( $table, $join, $where = null )
info ( )
insert ( $table, $datas )
last_query ( )
log ( )
max ( $table, $join, $column = null, $where = null )
min ( $table, $join, $column = null, $where = null )
query ( $query )
quote ( $string )
replace ( $table, $columns, $search = null, $replace = null, $where = null )
select ( $table, $join, $columns = null, $where = null )
sum ( $table, $join, $column = null, $where = null )
update ( $table, $data, $where = null )

Méthodes protégées

Méthode Description
array_quote ( $array )
column_push ( $columns )
column_quote ( $string )
data_implode ( $data, $conjunctor, $outer_conjunctor = null )
fn_quote ( $column, $string )
inner_conjunct ( $data, $conjunctor, $outer_conjunctor )
select_context ( $table, $join, &$columns = null, $where = null, $column_fn = null )
where_clause ( $where )

Method Details

__construct() public méthode

public __construct ( $options = null )

array_quote() protected méthode

protected array_quote ( $array )

avg() public méthode

public avg ( $table, $join, $column = null, $where = null )

column_push() protected méthode

protected column_push ( $columns )

column_quote() protected méthode

protected column_quote ( $string )

count() public méthode

public count ( $table, $join = null, $column = null, $where = null )

data_implode() protected méthode

protected data_implode ( $data, $conjunctor, $outer_conjunctor = null )

debug() public méthode

public debug ( )

delete() public méthode

public delete ( $table, $where )

error() public méthode

public error ( )

exec() public méthode

public exec ( $query )

fn_quote() protected méthode

protected fn_quote ( $column, $string )

get() public méthode

public get ( $table, $join = null, $column = null, $where = null )

has() public méthode

public has ( $table, $join, $where = null )

info() public méthode

public info ( )

inner_conjunct() protected méthode

protected inner_conjunct ( $data, $conjunctor, $outer_conjunctor )

insert() public méthode

public insert ( $table, $datas )

last_query() public méthode

public last_query ( )

log() public méthode

public log ( )

max() public méthode

public max ( $table, $join, $column = null, $where = null )

min() public méthode

public min ( $table, $join, $column = null, $where = null )

query() public méthode

public query ( $query )

quote() public méthode

public quote ( $string )

replace() public méthode

public replace ( $table, $columns, $search = null, $replace = null, $where = null )

select() public méthode

public select ( $table, $join, $columns = null, $where = null )

select_context() protected méthode

protected select_context ( $table, $join, &$columns = null, $where = null, $column_fn = null )

sum() public méthode

public sum ( $table, $join, $column = null, $where = null )

update() public méthode

public update ( $table, $data, $where = null )

where_clause() protected méthode

protected where_clause ( $where )

Property Details

$charset protected_oe property

protected $charset

$database_file protected_oe property

protected $database_file

$database_name protected_oe property

protected $database_name

$database_type protected_oe property

protected $database_type

$debug_mode protected_oe property

protected $debug_mode

$logs protected_oe property

protected $logs

$option protected_oe property

protected $option

$password protected_oe property

protected $password

$port protected_oe property

protected $port

$server protected_oe property

protected $server

$socket protected_oe property

protected $socket

$username protected_oe property

protected $username