ice framework documentation ice doc v1.10.1
Methods
  • getDetailed() : void
  • setDetailed(variable $detailed) : void
  • getPlain() : void
  • setPlain(variable $plain) : void
  • getSkip() : void
  • setSkip(variable $skip) : void
  • __construct(bool $detailed, variable $styles) : void
    Dump constructor
  • all() : string
    Alias of vars() method
  • getStyle(string $type) : string
    Get style for type
  • setStyles(array $styles) : array
    Set styles for vars type
  • one(variable $variable, string $name) : string
    Alias of variable() method
  • output(variable $variable, variable $name, variable $tab) : string
    Prepare an HTML string of information about a single variable.
  • variable(variable $variable, string $name) : string
    Returns an HTML string of information about a single variable.
  • vars() : string
    Returns an HTML string of debugging information about any number of
  • source(string $filename, int $line, int $padding) : array | bool
    Returns an HTML string, highlighting a specific line of a file, with some number of lines padded above and below.
Methods Details
  • public function getDetailed()

  • public function setDetailed(variable $detailed)

  • public function getPlain()

  • public function setPlain(variable $plain)

  • public function getSkip()

  • public function setSkip(variable $skip)

  • public function __construct(bool $detailed, variable $styles)

    Dump constructor
  • public function all()

    Alias of vars() method
    
          echo (new \Ice\Dump())->all($foo, $bar, $baz);
         
  • protected function getStyle(string $type)

    Get style for type
  • public function setStyles(array $styles)

    Set styles for vars type
    Styles: pre, arr, bool, float, int, null, num, obj, other, res, str
  • public function one(variable $variable, string $name)

    Alias of variable() method
    
          echo (new \Ice\Dump())->one($foo, "foo");
         
  • protected function output(variable $variable, variable $name, variable $tab)

    Prepare an HTML string of information about a single variable.
  • public function variable(variable $variable, string $name)

    Returns an HTML string of information about a single variable.
    
          $foo = 123;
          echo (new \Ice\Dump())->variable($foo, "foo");
         
  • public function vars()

    Returns an HTML string of debugging information about any number of
    variables, each wrapped in a "pre" tag.
    
          $foo = "string";
          $bar = ["key" => "value"];
          $baz = new stdClass();
          echo (new \Ice\Dump())->vars($foo, $bar, $baz);
         
  • public function source(string $filename, int $line, int $padding)

    Returns an HTML string, highlighting a specific line of a file, with some number of lines padded above and below.
  • internal function zephir_init_properties_Ice_Dump()