Namespaces

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

Classes

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

Class Method

Class method description.

Nette\Object
Extended by Nette\PhpGenerator\Method
Namespace: Nette\PhpGenerator
Author: David Grudl
Located at PhpGenerator/Method.php
Methods summary
public static Nette\PhpGenerator\Method
# from( $from )

Returns

Nette\PhpGenerator\Method
public Nette\PhpGenerator\Parameter
# addParameter( $name, $defaultValue = NULL )

Returns

Nette\PhpGenerator\Parameter
public Nette\PhpGenerator\Parameter
# addUse( $name )

Returns

Nette\PhpGenerator\Parameter
public Nette\PhpGenerator\Method
# setBody( $statement, array $args = NULL )

Returns

Nette\PhpGenerator\Method
public Nette\PhpGenerator\Method
# addBody( $statement, array $args = NULL )

Returns

Nette\PhpGenerator\Method
public string
# __toString( )

Returns

string
PHP code
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Magic methods summary
public Nette\PhpGenerator\Method
# setName( )

Returns

Nette\PhpGenerator\Method
public string
# getName( )

Returns

string
public Nette\PhpGenerator\Method
# setParameters( )

Returns

Nette\PhpGenerator\Method
public Nette\PhpGenerator\Method
# setUses( )

Returns

Nette\PhpGenerator\Method
public array
# getUses( )

Returns

array
public string
# getBody( )

Returns

string
public Nette\PhpGenerator\Method
# setStatic( )

Returns

Nette\PhpGenerator\Method
public boolean
# isStatic( )

Returns

boolean
public Nette\PhpGenerator\Method
# setVisibility( )

Returns

Nette\PhpGenerator\Method
public string
# getVisibility( )

Returns

string
public Nette\PhpGenerator\Method
# setFinal( )

Returns

Nette\PhpGenerator\Method
public boolean
# isFinal( )

Returns

boolean
public Nette\PhpGenerator\Method
# setAbstract( )

Returns

Nette\PhpGenerator\Method
public boolean
# isAbstract( )

Returns

boolean
public Nette\PhpGenerator\Method
# setReturnReference( )

Returns

Nette\PhpGenerator\Method
public boolean
# getReturnReference( )

Returns

boolean
public Nette\PhpGenerator\Method
# setVariadic( )

Returns

Nette\PhpGenerator\Method
public boolean
# isVariadic( )

Returns

boolean
public Nette\PhpGenerator\Method
# setDocuments( )

Returns

Nette\PhpGenerator\Method
public Nette\PhpGenerator\Method
# addDocument( )

Returns

Nette\PhpGenerator\Method
Magic properties inherited from Nette\Object
$reflection
Nette 2.1 API documentation generated by ApiGen 2.8.0