Documentation

QueryHandler extends AbstractHandler
in package

Debug query handler class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
2.0.0

Table of Contents

Properties

$name  : string|null
Name of time measurement
$profiler  : Profiler|null
Profiler

Methods

__construct()  : mixed
Constructor
__get()  : mixed
Magic get method to return the profiler.
getName()  : string|null
Get name
getProfiler()  : Profiler
Get profiler
hasProfiler()  : bool
Determine if the handler has a profiler
prepare()  : array<string|int, mixed>
Prepare handler data for storage
prepareAsString()  : string
Prepare handler data as string
prepareHeaderAsString()  : string
Prepare header string
profiler()  : Profiler
Get profiler (alias method)
setName()  : AbstractHandler
Set name
setProfiler()  : QueryHandler
Set profiler

Properties

Methods

__construct()

Constructor

public __construct([Profiler|null $profiler = null ][, string|null $name = null ]) : mixed

Instantiate a query handler object

Parameters
$profiler : Profiler|null = null
$name : string|null = null

__get()

Magic get method to return the profiler.

public __get(string $name) : mixed
Parameters
$name : string

getName()

Get name

public getName() : string|null
Return values
string|null

hasProfiler()

Determine if the handler has a profiler

public hasProfiler() : bool
Return values
bool

prepare()

Prepare handler data for storage

public prepare() : array<string|int, mixed>
Return values
array<string|int, mixed>

prepareAsString()

Prepare handler data as string

public prepareAsString() : string
Return values
string

prepareHeaderAsString()

Prepare header string

public prepareHeaderAsString() : string
Return values
string

        
On this page

Search results