Debug.php

Show: PublicProtectedPrivateinherited
Table of Contents
Zend Framework
LICENSE This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Debug  
Version
$Id$  

\Zend_Debug

Package: Zend_Debug
Concrete class for generating debug dumps related to the output source.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotectedstring $_sapi = null
static
Default valuenullDetails
Type
string

Methods

methodpublicdump(mixed $var, string $label = null, bool $echo = true) : string
static

Debug helper function. This is a wrapper for var_dump() that adds the

 tags, cleans up newlines and indents, and runs
htmlentities() before output.

Parameters
NameTypeDescription
$varmixed

The variable to dump.

$labelstring

OPTIONAL Label to prepend to output.

$echobool

OPTIONAL Echo output if true.

Returns
TypeDescription
string
methodpublicgetSapi() : \string;
static

Get the current value of the debug output environment.

This defaults to the value of PHP_SAPI.
Returns
TypeDescription
\string;
methodpublicsetSapi(string $sapi) : \void;
static

Set the debug ouput environment.

Setting a value of null causes Zend_Debug to use PHP_SAPI.
Parameters
NameTypeDescription
$sapistring
Returns
TypeDescription
\void;
Documentation was generated by phpDocumentor 2.2.0 .