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

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

Class PhpMethod

Class method description.

Object
Extended by PhpMethod
Package: Nette\Utils\PhpGenerator
Author: David Grudl
Located at Utils/PhpGenerator/Method.php
Methods summary
public PhpParameter
# addParameter( $name, $defaultValue = NULL )

Returns

PhpParameter
public PhpParameter
# addUse( $name )

Returns

PhpParameter
public PhpMethod
# setBody( $statement, array $args = NULL )

Returns

PhpMethod
public PhpMethod
# addBody( $statement, array $args = NULL )

Returns

PhpMethod
public mixed
# __call( string $name, array $args )

Call to undefined method.

Call to undefined method.

Parameters

$name
string
method name
$args
array
arguments

Returns

mixed

Throws

MemberAccessException

Overrides

Object::__call
public string
# __toString( )

Returns

string
PHP code
Methods inherited from Object
__callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties summary
public string $name
#
public array $parameters array()
#

of name => Parameter

of name => Parameter

public array $uses array()
#

of name => bool

of name => bool

public string|false $body
#
public boolean $static
#
public string $visibility
#

public|protected|private or none

public|protected|private or none

public boolean $final
#
public boolean $abstract
#
public boolean $returnReference
#
public array $documents array()
#

of string

of string

Nette Framework 2.0.1 (for PHP 5.2, un-prefixed) API API documentation generated by ApiGen 2.7.0