PHP Class KM

Afficher le fichier Open project: kissmetrics/kissmetrics Class Usage Examples

Méthodes publiques

Свойство Type Description
$VERSION
$epoch
$host used for testing only atm.
$id
$key
$log_dir
$logs
$query_line
$to_stderr
$use_cron

Méthodes publiques

Méthode Description
alias ( $name, $alias_to )
array_get ( $array, $key, $default = null, $treat_empty_as_not_set = false )
error_handler ( $errno, $errstr, $errfile, $errline )
identify ( $id )
init ( $key, $options = [] )
record ( $action, $props = [] )
send_logged_queries ( )
set ( $array )

Méthodes protégées

Méthode Description
epoch ( )
generate_query ( $type, $data, $update = true )
is_identified ( )
is_initialized ( )
is_initialized_and_identified ( )
is_log_dir_writable ( ) #### PROTECTED #############################################################
log ( $type, $msg )
log_error ( $msg )
log_name ( $type )
log_query ( $msg )
log_send ( $msg )
reset ( )
send_query ( $query )

Method Details

alias() static public méthode

static public alias ( $name, $alias_to )

array_get() static public méthode

static public array_get ( $array, $key, $default = null, $treat_empty_as_not_set = false )

epoch() protected static méthode

protected static epoch ( )

error_handler() static public méthode

static public error_handler ( $errno, $errstr, $errfile, $errline )

generate_query() protected static méthode

protected static generate_query ( $type, $data, $update = true )

identify() static public méthode

static public identify ( $id )

init() static public méthode

static public init ( $key, $options = [] )

is_identified() protected static méthode

protected static is_identified ( )

is_initialized() protected static méthode

protected static is_initialized ( )

is_initialized_and_identified() protected static méthode

protected static is_initialized_and_identified ( )

is_log_dir_writable() protected static méthode

#### PROTECTED #############################################################
protected static is_log_dir_writable ( )

log() protected static méthode

protected static log ( $type, $msg )

log_error() protected static méthode

protected static log_error ( $msg )

log_name() protected static méthode

protected static log_name ( $type )

log_query() protected static méthode

protected static log_query ( $msg )

log_send() protected static méthode

protected static log_send ( $msg )

record() static public méthode

static public record ( $action, $props = [] )

reset() protected static méthode

protected static reset ( )

send_logged_queries() static public méthode

static public send_logged_queries ( )

send_query() protected static méthode

protected static send_query ( $query )

set() static public méthode

static public set ( $array )

Property Details

$VERSION static_oe public_oe property

static public $VERSION

$epoch static_oe public_oe property

static public $epoch

$host static_oe public_oe property

used for testing only atm.
static public $host

$id static_oe public_oe property

static public $id

$key static_oe public_oe property

static public $key

$log_dir static_oe public_oe property

static public $log_dir

$logs static_oe public_oe property

static public $logs

$query_line static_oe public_oe property

static public $query_line

$to_stderr static_oe public_oe property

static public $to_stderr

$use_cron static_oe public_oe property

static public $use_cron