atelierspierrot/reflectors

View on GitHub
phpdoc/Reflectors/ReflectionValue.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
    <meta name="robots" content="index, follow, all" />
    <title>Reflectors\ReflectionValue | Reflectors (atelierspierrot/reflectors)</title>

            <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css">
        <link rel="stylesheet" type="text/css" href="../css/bootstrap-theme.min.css">
        <link rel="stylesheet" type="text/css" href="../css/sami.css">
        <script src="../js/jquery-1.11.1.min.js"></script>
        <script src="../js/bootstrap.min.js"></script>
        <script src="../js/typeahead.min.js"></script>
        <script src="../sami.js"></script>
        <meta name="MobileOptimized" content="width">
        <meta name="HandheldFriendly" content="true">
        <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
    
    
    </head>

    <body id="class" data-name="class:Reflectors_ReflectionValue" data-root-path="../">
            <div id="content">
        <div id="left-column">
                <div id="control-panel">
                <form id="search-form" action="../search.html" method="GET">
            <span class="glyphicon glyphicon-search"></span>
            <input name="search"
                   class="typeahead form-control"
                   type="search"
                   placeholder="Search">
        </form>
    </div>

                <div id="api-tree"></div>

        </div>
        <div id="right-column">
                <nav id="site-nav" class="navbar navbar-default" role="navigation">
        <div class="container-fluid">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-elements">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="../index.html">Reflectors (atelierspierrot/reflectors)</a>
            </div>
            <div class="collapse navbar-collapse" id="navbar-elements">
                <ul class="nav navbar-nav">
                    <li><a href="../classes.html">Classes</a></li>
                                            <li><a href="../namespaces.html">Namespaces</a></li>
                                        <li><a href="../interfaces.html">Interfaces</a></li>
                    <li><a href="../traits.html">Traits</a></li>
                    <li><a href="../doc-index.html">Index</a></li>
                    <li><a href="../search.html">Search</a></li>
                </ul>
            </div>
        </div>
    </nav>

                        <div class="namespace-breadcrumbs">
            <ol class="breadcrumb">
                <li><span class="label label-default">class</span></li>
                                                            <li><a href="../Reflectors.html">Reflectors</a></li>
    
                <li>ReflectionValue</li>
            </ol>
        </div>
                <div id="page-content">
                
    <div class="page-header">
        <h1>ReflectionValue</h1>
    </div>

    <p>    class
    <strong>ReflectionValue</strong>        implements
        <a href="../Reflectors/ReflectionValueInterface.html"><abbr title="Reflectors\ReflectionValueInterface">ReflectionValueInterface</abbr></a>
</p>

            <div class="description">
            <p>This is the global variable value reflector object. It acts like a reflection proxy.</p>                    </div>
    
            <h2>Traits</h2>

        
    <div class="container-fluid underlined">
                    <div class="row">
                <div class="col-md-6">
                                            <a href="../Reflectors/ReflectorTrait.html"><abbr title="Reflectors\ReflectorTrait">Reflectors\ReflectorTrait</abbr></a>
                                    </div>
                <div class="col-md-6">
                    Basic implementation of the <code>\Reflector::export()</code> method
                </div>
            </div>
                    <div class="row">
                <div class="col-md-6">
                                            <a href="../Reflectors/ReadOnlyPropertiesTrait.html"><abbr title="Reflectors\ReadOnlyPropertiesTrait">Reflectors\ReadOnlyPropertiesTrait</abbr></a>
                                    </div>
                <div class="col-md-6">
                    This trait defines magic getters and setters for read-only object's properties
                </div>
            </div>
            </div>
    
    
    
            <h2>Methods</h2>

            <div class="container-fluid underlined">
                    <div class="row">
                <div class="col-md-2 type">
                    static&nbsp;
    string|null
                </div>
                <div class="col-md-8 type">
                    <a href="#method_export">export</a>(
    mixed $argument, 
    bool $return = false)
                                            <p>Creation of a new instance of the mother class on-the-fly</p>                </div>
                <div class="col-md-2"><small>from&nbsp;
    <a href="../Reflectors/ReflectorTrait.html#method_export"><abbr title="Reflectors\ReflectorTrait">ReflectorTrait</abbr></a></small></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    void
                </div>
                <div class="col-md-8 type">
                    <a href="#method_setReadOnlyProperties">setReadOnlyProperties</a>(
    array $data)
                                            <p>Defines the read-only properties names and accessors.</p>                </div>
                <div class="col-md-2"><small>from&nbsp;
    <a href="../Reflectors/ReadOnlyPropertiesTrait.html#method_setReadOnlyProperties"><abbr title="Reflectors\ReadOnlyPropertiesTrait">ReadOnlyPropertiesTrait</abbr></a></small></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    mixed
                </div>
                <div class="col-md-8 type">
                    <a href="#method___get">__get</a>(
    string $name)
                                            <p>Magic getter for read-only properties.</p>                </div>
                <div class="col-md-2"><small>from&nbsp;
    <a href="../Reflectors/ReadOnlyPropertiesTrait.html#method___get"><abbr title="Reflectors\ReadOnlyPropertiesTrait">ReadOnlyPropertiesTrait</abbr></a></small></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    void
                </div>
                <div class="col-md-8 type">
                    <a href="#method___set">__set</a>(
    string $name, 
    mixed $value)
                                            <p>Magic setter to avoid setting read-only properties.</p>                </div>
                <div class="col-md-2"><small>from&nbsp;
    <a href="../Reflectors/ReadOnlyPropertiesTrait.html#method___set"><abbr title="Reflectors\ReadOnlyPropertiesTrait">ReadOnlyPropertiesTrait</abbr></a></small></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    void
                </div>
                <div class="col-md-8 type">
                    <a href="#method___unset">__unset</a>(
    string $name)
                                            <p>Magic un-setter to avoid un-setting read-only properties.</p>                </div>
                <div class="col-md-2"><small>from&nbsp;
    <a href="../Reflectors/ReadOnlyPropertiesTrait.html#method___unset"><abbr title="Reflectors\ReadOnlyPropertiesTrait">ReadOnlyPropertiesTrait</abbr></a></small></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    
                </div>
                <div class="col-md-8 type">
                    <a href="#method___construct">__construct</a>(
    mixed $value, 
    int $flag = ValueType::MODE_STRICT, 
    array $order = null)
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    mixed
                </div>
                <div class="col-md-8 type">
                    <a href="#method_getReflector">getReflector</a>()
                                            <p>Returns the variable reflector</p>                </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    mixed
                </div>
                <div class="col-md-8 type">
                    <a href="#method_getValue">getValue</a>()
                                            <p>Returns the variable's value from the reflector</p>                </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    string
                </div>
                <div class="col-md-8 type">
                    <a href="#method_getValueType">getValueType</a>()
                                            <p>Returns the variable's type from the reflector</p>                </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    bool
                </div>
                <div class="col-md-8 type">
                    <a href="#method_isNull">isNull</a>()
                                            <p>Tests if the variable is NULL</p>                </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    bool
                </div>
                <div class="col-md-8 type">
                    <a href="#method_isBoolean">isBoolean</a>()
                                            <p>Tests if the variable is a boolean</p>                </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    bool
                </div>
                <div class="col-md-8 type">
                    <a href="#method_isInteger">isInteger</a>()
                                            <p>Tests if the variable is an integer</p>                </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    bool
                </div>
                <div class="col-md-8 type">
                    <a href="#method_isFloat">isFloat</a>()
                                            <p>Tests if the variable is a float</p>                </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    bool
                </div>
                <div class="col-md-8 type">
                    <a href="#method_isString">isString</a>()
                                            <p>Tests if the variable is a string</p>                </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    bool
                </div>
                <div class="col-md-8 type">
                    <a href="#method_isArray">isArray</a>()
                                            <p>Tests if the variable is an array</p>                </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    bool
                </div>
                <div class="col-md-8 type">
                    <a href="#method_isObject">isObject</a>()
                                            <p>Tests if the variable is an object</p>                </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    bool
                </div>
                <div class="col-md-8 type">
                    <a href="#method_isResource">isResource</a>()
                                            <p>Tests if the variable is a resource</p>                </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    bool
                </div>
                <div class="col-md-8 type">
                    <a href="#method_isCallback">isCallback</a>()
                                            <p>Tests if the variable is a callback</p>                </div>
                <div class="col-md-2"></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    
    string
                </div>
                <div class="col-md-8 type">
                    <a href="#method___toString">__toString</a>()
                                            <p>Representation of the object</p>                </div>
                <div class="col-md-2"></div>
            </div>
            </div>


        <h2>Details</h2>

            <div id="method-details">
                    <div class="method-item">
                    <h3 id="method_export">
        <div class="location">in 
    <a href="../Reflectors/ReflectorTrait.html#method_export"><abbr title="Reflectors\ReflectorTrait">ReflectorTrait</abbr></a> at line 54</div>
        <code>        static            
    string|null
    <strong>export</strong>(
    mixed $argument, 
    bool $return = false)</code>
    </h3>
    <div class="details">
                    <div class="method-description">
                                    <p>Creation of a new instance of the mother class on-the-fly</p>                    <p>Keep in mind that this method only consider the FIRST argument passed
to transmit to the constructor. If your mother class requires more than
one argument, you will have to over-write this method (or to not use the
trait).</p>            </div>
                <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>
    mixed</td>
                <td>$argument</td>
                <td>
</td>
            </tr>
                    <tr>
                <td>
    bool</td>
                <td>$return</td>
                <td>
</td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    string|null</td>
            <td>
</td>
        </tr>
    </table>

            
                            <h4>Exceptions</h4>

                    <table class="table table-condensed">
                    <tr>
                <td><a target="_blank" href="http://php.net/ErrorException"><abbr title="ErrorException">ErrorException</abbr></a></td>
                <td>if the mother class does not implement the <code>\Reflector</code> interface</td>
            </tr>
                    <tr>
                <td><a target="_blank" href="http://php.net/ErrorException"><abbr title="ErrorException">ErrorException</abbr></a></td>
                <td>if the mother class constructor is not callable</td>
            </tr>
            </table>

            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_setReadOnlyProperties">
        <div class="location">in 
    <a href="../Reflectors/ReadOnlyPropertiesTrait.html#method_setReadOnlyProperties"><abbr title="Reflectors\ReadOnlyPropertiesTrait">ReadOnlyPropertiesTrait</abbr></a> at line 54</div>
        <code>                    
    void
    <strong>setReadOnlyProperties</strong>(
    array $data)</code>
    </h3>
    <div class="details">
                    <div class="method-description">
                                    <p>Defines the read-only properties names and accessors.</p>                    <p>Each <code>key =&gt; value</code> pair of the <code>$data</code> array must be constructed like:</p>

<ul>
<li><code>key</code> is the name of the property (MUST be defined with <em>protected</em>
 access in the child class)</li>
<li><code>value</code> is an accessor for that property: the name of the access method
 if it exists or <code>true</code> for the default <code>$obj-&gt;$key</code> accessor.</li>
</ul>
</p>            </div>
                <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>
    array</td>
                <td>$data</td>
                <td>This is the table of read-only properties</td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    void</td>
            <td>
</td>
        </tr>
    </table>

            
                            <h4>Exceptions</h4>

                    <table class="table table-condensed">
                    <tr>
                <td><a target="_blank" href="http://php.net/InvalidArgumentException"><abbr title="InvalidArgumentException">InvalidArgumentException</abbr></a></td>
                <td>if the <code>$data</code> array is malformed</td>
            </tr>
            </table>

            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method___get">
        <div class="location">in 
    <a href="../Reflectors/ReadOnlyPropertiesTrait.html#method___get"><abbr title="Reflectors\ReadOnlyPropertiesTrait">ReadOnlyPropertiesTrait</abbr></a> at line 85</div>
        <code>                    
    mixed
    <strong>__get</strong>(
    string $name)</code>
    </h3>
    <div class="details">
                    <div class="method-description">
                                    <p>Magic getter for read-only properties.</p>                    <p>This will trigger a notice if the property can not be accessed.</p>            </div>
                <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>
    string</td>
                <td>$name</td>
                <td>
</td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    mixed</td>
            <td>
</td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method___set">
        <div class="location">in 
    <a href="../Reflectors/ReadOnlyPropertiesTrait.html#method___set"><abbr title="Reflectors\ReadOnlyPropertiesTrait">ReadOnlyPropertiesTrait</abbr></a> at line 109</div>
        <code>                    
    void
    <strong>__set</strong>(
    string $name, 
    mixed $value)</code>
    </h3>
    <div class="details">
                    <div class="method-description">
                                    <p>Magic setter to avoid setting read-only properties.</p>                                </div>
                <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>
    string</td>
                <td>$name</td>
                <td>
</td>
            </tr>
                    <tr>
                <td>
    mixed</td>
                <td>$value</td>
                <td>
</td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    void</td>
            <td>
</td>
        </tr>
    </table>

            
                            <h4>Exceptions</h4>

                    <table class="table table-condensed">
                    <tr>
                <td><a target="_blank" href="http://php.net/ReflectionException"><abbr title="ReflectionException">ReflectionException</abbr></a></td>
                <td>if trying to set a read-only property</td>
            </tr>
            </table>

            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method___unset">
        <div class="location">in 
    <a href="../Reflectors/ReadOnlyPropertiesTrait.html#method___unset"><abbr title="Reflectors\ReadOnlyPropertiesTrait">ReadOnlyPropertiesTrait</abbr></a> at line 125</div>
        <code>                    
    void
    <strong>__unset</strong>(
    string $name)</code>
    </h3>
    <div class="details">
                    <div class="method-description">
                                    <p>Magic un-setter to avoid un-setting read-only properties.</p>                                </div>
                <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>
    string</td>
                <td>$name</td>
                <td>
</td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    void</td>
            <td>
</td>
        </tr>
    </table>

            
                            <h4>Exceptions</h4>

                    <table class="table table-condensed">
                    <tr>
                <td><a target="_blank" href="http://php.net/ReflectionException"><abbr title="ReflectionException">ReflectionException</abbr></a></td>
                <td>if trying to unset a read-only property</td>
            </tr>
            </table>

            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method___construct">
        <div class="location">at line 53</div>
        <code>                    
    
    <strong>__construct</strong>(
    mixed $value, 
    int $flag = ValueType::MODE_STRICT, 
    array $order = null)</code>
    </h3>
    <div class="details">
                <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>
    mixed</td>
                <td>$value</td>
                <td>
</td>
            </tr>
                    <tr>
                <td>
    int</td>
                <td>$flag</td>
                <td>
</td>
            </tr>
                    <tr>
                <td>
    array</td>
                <td>$order</td>
                <td>
</td>
            </tr>
            </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_getReflector">
        <div class="location">at line 66</div>
        <code>                    
    mixed
    <strong>getReflector</strong>()</code>
    </h3>
    <div class="details">
                    <div class="method-description">
                                    <p>Returns the variable reflector</p>                                </div>
                <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    mixed</td>
            <td>
</td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_getValue">
        <div class="location">at line 76</div>
        <code>                    
    mixed
    <strong>getValue</strong>()</code>
    </h3>
    <div class="details">
                    <div class="method-description">
                                    <p>Returns the variable's value from the reflector</p>                                </div>
                <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    mixed</td>
            <td>
</td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_getValueType">
        <div class="location">at line 86</div>
        <code>                    
    string
    <strong>getValueType</strong>()</code>
    </h3>
    <div class="details">
                    <div class="method-description">
                                    <p>Returns the variable's type from the reflector</p>                                </div>
                <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    string</td>
            <td>
</td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_isNull">
        <div class="location">at line 96</div>
        <code>                    
    bool
    <strong>isNull</strong>()</code>
    </h3>
    <div class="details">
                    <div class="method-description">
                                    <p>Tests if the variable is NULL</p>                                </div>
                <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    bool</td>
            <td>
</td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_isBoolean">
        <div class="location">at line 106</div>
        <code>                    
    bool
    <strong>isBoolean</strong>()</code>
    </h3>
    <div class="details">
                    <div class="method-description">
                                    <p>Tests if the variable is a boolean</p>                                </div>
                <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    bool</td>
            <td>
</td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_isInteger">
        <div class="location">at line 116</div>
        <code>                    
    bool
    <strong>isInteger</strong>()</code>
    </h3>
    <div class="details">
                    <div class="method-description">
                                    <p>Tests if the variable is an integer</p>                                </div>
                <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    bool</td>
            <td>
</td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_isFloat">
        <div class="location">at line 126</div>
        <code>                    
    bool
    <strong>isFloat</strong>()</code>
    </h3>
    <div class="details">
                    <div class="method-description">
                                    <p>Tests if the variable is a float</p>                                </div>
                <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    bool</td>
            <td>
</td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_isString">
        <div class="location">at line 136</div>
        <code>                    
    bool
    <strong>isString</strong>()</code>
    </h3>
    <div class="details">
                    <div class="method-description">
                                    <p>Tests if the variable is a string</p>                                </div>
                <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    bool</td>
            <td>
</td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_isArray">
        <div class="location">at line 146</div>
        <code>                    
    bool
    <strong>isArray</strong>()</code>
    </h3>
    <div class="details">
                    <div class="method-description">
                                    <p>Tests if the variable is an array</p>                                </div>
                <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    bool</td>
            <td>
</td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_isObject">
        <div class="location">at line 156</div>
        <code>                    
    bool
    <strong>isObject</strong>()</code>
    </h3>
    <div class="details">
                    <div class="method-description">
                                    <p>Tests if the variable is an object</p>                                </div>
                <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    bool</td>
            <td>
</td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_isResource">
        <div class="location">at line 166</div>
        <code>                    
    bool
    <strong>isResource</strong>()</code>
    </h3>
    <div class="details">
                    <div class="method-description">
                                    <p>Tests if the variable is a resource</p>                                </div>
                <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    bool</td>
            <td>
</td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_isCallback">
        <div class="location">at line 176</div>
        <code>                    
    bool
    <strong>isCallback</strong>()</code>
    </h3>
    <div class="details">
                    <div class="method-description">
                                    <p>Tests if the variable is a callback</p>                                </div>
                <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    bool</td>
            <td>
</td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method___toString">
        <div class="location">at line 189</div>
        <code>                    
    string
    <strong>__toString</strong>()</code>
    </h3>
    <div class="details">
                    <div class="method-description">
                                    <p>Representation of the object</p>                    <p>If an exception is caught, its message is returned instead of the
original result (but it is not thrown ahead).</p>            </div>
                <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>
    string</td>
            <td>
</td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
            </div>

    
            </div>
                <div id="footer">
        Generated by <a href="http://sami.sensiolabs.org/">Sami, the API Documentation Generator</a>.
    </div>

        </div>
    </div>
    </body>

</html>