\SimpleAuth\Base\HelperModelHelper

Summary

Methods
Properties
Constants
Db()
DbForRead()
DbForWrite()
SqlForPager()
SqlForCountSimply()
IsDebug()
IsRealDebug()
Platform()
Logger()
trace_dump()
var_dump()
debug_log()
ThrowOn()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

Db()

Db(mixed  $tag = null) : \DuckPhp\Db\Db

Parameters

mixed $tag

Returns

\DuckPhp\Db\Db

DbForRead()

DbForRead() : \DuckPhp\Db\Db

Returns

\DuckPhp\Db\Db

DbForWrite()

DbForWrite() : \DuckPhp\Db\Db

Returns

\DuckPhp\Db\Db

SqlForPager()

SqlForPager(\DuckPhp\Helper\string  $sql, \DuckPhp\Helper\int  $pageNo, \DuckPhp\Helper\int  $pageSize = 10) 

Parameters

\DuckPhp\Helper\string $sql
\DuckPhp\Helper\int $pageNo
\DuckPhp\Helper\int $pageSize

SqlForCountSimply()

SqlForCountSimply(\DuckPhp\Helper\string  $sql) 

Parameters

\DuckPhp\Helper\string $sql

IsDebug()

IsDebug() 

IsRealDebug()

IsRealDebug() 

Platform()

Platform() 

Logger()

Logger(  $object = null) 

Parameters

$object

trace_dump()

trace_dump() 

var_dump()

var_dump(  $args) 

Parameters

$args

debug_log()

debug_log(  $message, array  $context = array()) 

Parameters

$message
array $context

ThrowOn()

ThrowOn(  $flag,   $message,   $code,   $exception_class = null) 

Parameters

$flag
$message
$code
$exception_class