Packages

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

Classes

  • NPhpClassType
  • NPhpHelpers
  • NPhpLiteral
  • NPhpMethod
  • NPhpParameter
  • NPhpProperty
  • Overview
  • Package
  • Class
  • Tree

Class NPhpHelpers

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.0.6 (for PHP 5.2, prefixed) API API documentation generated by ApiGen 2.7.0