Namespaces

  • Latte
    • Loaders
    • Macros
    • Runtime
  • Nette
    • Application
      • Responses
      • Routers
      • UI
    • Bridges
      • ApplicationLatte
      • ApplicationTracy
      • CacheLatte
      • DatabaseDI
      • DatabaseTracy
      • DITracy
      • FormsLatte
      • Framework
      • HttpTracy
      • SecurityTracy
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
    • Reflection
    • Security
    • Templating
    • Utils
  • NetteModule
  • none
  • Tracy

Classes

  • ClassType
  • Helpers
  • Method
  • Parameter
  • PhpLiteral
  • Property
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class Helpers

PHP code generator utils.

Namespace: Nette\PhpGenerator
Author: David Grudl
Located at 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
Constants summary
string PHP_IDENT '[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*'
#
integer MAX_DEPTH 50
#
Nette 2.2 API documentation generated by ApiGen 2.8.0