PHP Class medoo

Copyright 2015, Angel Lai Released under the MIT license
ファイルを表示 Open project: ss098/payment Class Usage Examples

Protected Properties

Property Type Description
$charset
$database_file
$database_name
$database_type
$debug_mode
$logs
$option
$password
$port
$server
$socket
$username

Public Methods

Method 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 )

Protected Methods

Method 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 method

public __construct ( $options = null )

array_quote() protected method

protected array_quote ( $array )

avg() public method

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

column_push() protected method

protected column_push ( $columns )

column_quote() protected method

protected column_quote ( $string )

count() public method

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

data_implode() protected method

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

debug() public method

public debug ( )

delete() public method

public delete ( $table, $where )

error() public method

public error ( )

exec() public method

public exec ( $query )

fn_quote() protected method

protected fn_quote ( $column, $string )

get() public method

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

has() public method

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

info() public method

public info ( )

inner_conjunct() protected method

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

insert() public method

public insert ( $table, $datas )

last_query() public method

public last_query ( )

log() public method

public log ( )

max() public method

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

min() public method

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

query() public method

public query ( $query )

quote() public method

public quote ( $string )

replace() public method

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

select() public method

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

select_context() protected method

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

sum() public method

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

update() public method

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

where_clause() protected method

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