function krumo::_object

Render a dump for an object

@access private @static

Parameters

mixed $data:

string $name:

1 call to krumo::_object()
krumo::_dump in krumo/class.krumo.php
Dump information about a variable

File

krumo/class.krumo.php, line 1108

Class

krumo
Krumo API

Code

private static function _object(&$data, $name) {
    ?>
<li class="krumo-child">

  <div class="krumo-element<?php

    echo ' krumo-expand';
    ?>">

      <?php

    
    /* DEVEL: added htmlSpecialChars */
    ?>
      <a class="krumo-name"><?php

    echo htmlSpecialChars($name);
    ?></a>
      (<em class="krumo-type">Object</em>)
      <strong class="krumo-class"><?php

    echo get_class($data);
    ?></strong>
  </div>

  <?php

    // Skip closures.
    $closure_prototype = function () {
    };
    if ($data instanceof $closure_prototype) {
        return;
    }
    krumo::_vars($data);
    ?>
</li>
<?php

}