Yioop_V9.5_Source_Code_Documentation

AnalyticsManager
in package

Used to set and get SQL query and search query timing statistic between models and index_bundle_iterators

Tags
author

Chris Pollett

Table of Contents

$data  : array<string|int, mixed>
Where get and set field values are stored
get()  : whatever
Used to get the timing statistic associated with $attribute
set()  : mixed
Used to set the timing statistic $value associated with $attribute

Properties

$data

Where get and set field values are stored

private static array<string|int, mixed> $data = []

Methods

get()

Used to get the timing statistic associated with $attribute

public static get(string $attribute) : whatever
Parameters
$attribute : string

to get statistic for

Return values
whatever

was stored for that statistic

set()

Used to set the timing statistic $value associated with $attribute

public static set(string $attribute, mixed $value) : mixed
Parameters
$attribute : string

to get statistic for

$value : mixed

whatever timing information is to be associated with value

Return values
mixed

        

Search results