Packages

  • Nette
    • Application
      • Application\Diagnostics
      • Application\Responses
      • Application\Routers
      • Application\UI
    • Caching
      • Caching\Storages
    • ComponentModel
    • Config
      • Config\Extensions
    • Database
      • Database\Diagnostics
      • Database\Drivers
      • Database\Reflection
      • Database\Table
    • DI
      • DI\Diagnostics
    • Diagnostics
    • Forms
      • Forms\Controls
      • Forms\Rendering
    • Http
    • Iterators
    • Latte
      • Latte\Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
      • Security\Diagnostics
    • Templating
    • Utils
      • Utils\PhpGenerator
  • NetteModule
  • None
  • PHP

Classes

  • PhpClassType
  • PhpHelpers
  • PhpLiteral
  • PhpMethod
  • PhpParameter
  • PhpProperty
  • Overview
  • Package
  • Class
  • Tree

Class PhpHelpers

PHP code generator utils.

Package: Nette\Utils\PhpGenerator
Author: David Grudl
Located at Utils/PhpGenerator/Helpers.php
Methods summary
public static string
# dump( $var )

Returns a PHP representation of a variable.

Returns a PHP representation of a variable.

Returns

string
public static string
# format( $statement )

Generates PHP statement.

Generates PHP statement.

Returns

string
public static string
# formatArgs( $statement, array $args )

Generates PHP statement.

Generates PHP statement.

Returns

string
public static string
# formatMember( $name )

Returns a PHP representation of a object member.

Returns a PHP representation of a object member.

Returns

string
public static boolean
# isIdentifier( $value )

Returns

boolean
public static
# createObject( $class, array $props )
Constants summary
string PHP_IDENT '[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*'
#
Nette Framework 2.0beta2 (for PHP 5.2) API API documentation generated by ApiGen 2.3.0