Namespaces

  • Latte
    • Loaders
    • Macros
    • Runtime
  • Nette
    • Application
      • Responses
      • Routers
      • UI
    • Bridges
      • ApplicationDI
      • ApplicationLatte
      • ApplicationTracy
      • CacheDI
      • CacheLatte
      • DatabaseDI
      • DatabaseTracy
      • DITracy
      • FormsDI
      • FormsLatte
      • Framework
      • HttpDI
      • HttpTracy
      • MailDI
      • ReflectionDI
      • SecurityDI
      • SecurityTracy
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Conventions
      • Drivers
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
      • Traits
    • Reflection
    • Security
    • Tokenizer
    • Utils
  • Tracy
    • Bridges
      • Nette
  • none

Classes

  • Component
  • ComponentReflection
  • Control
  • Form
  • Link
  • MethodReflection
  • Multiplier
  • Presenter

Interfaces

  • IRenderable
  • ISignalReceiver
  • IStatePersistent
  • ITemplate
  • ITemplateFactory

Exceptions

  • BadSignalException
  • InvalidLinkException
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases

Class ComponentReflection

Helpers for Presenter & Component.

ReflectionClass implements Reflector
Extended by Nette\Application\UI\ComponentReflection uses Nette\SmartObject
Namespace: Nette\Application\UI
Internal
Located at Application/UI/ComponentReflection.php
Methods summary
public array
# getPersistentParams( string|null $class = null )

Parameters

$class

Returns

array
of persistent parameters.
public array
# getPersistentComponents( string|null $class = null )

Parameters

$class

Returns

array
of persistent components.
public
# saveState( Nette\Application\UI\Component $component, array & $params )

Saves state informations for next request.

Saves state informations for next request.

public boolean
# hasCallableMethod( string $method )

Is a method callable? It means class is instantiable and method has public visibility, is non-static and non-abstract.

Is a method callable? It means class is instantiable and method has public visibility, is non-static and non-abstract.

Parameters

$method
name

Returns

boolean
bool
public static array
# combineArgs( ReflectionFunctionAbstract $method, $args )

Returns

array
array
public static boolean
# convertType( mixed & $val, string $type, $isClass = false )

Non data-loss type conversion.

Non data-loss type conversion.

Parameters

$val
$type
$isClass

Returns

boolean
bool
public static array|false
# parseAnnotation( Reflector $ref, $name )

Returns an annotation value.

Returns an annotation value.

Returns

array|false
array|false
public static array
# getParameterType( ReflectionParameter $param )

Returns

array
[string|null, bool]
public boolean
# hasAnnotation( string $name )

Has class specified annotation?

Has class specified annotation?

Parameters

$name

Returns

boolean
bool
public mixed
# getAnnotation( string $name )

Returns an annotation value.

Returns an annotation value.

Parameters

$name

Returns

mixed
mixed
public Nette\Application\UI\MethodReflection
# getMethod( $name )

Returns

Nette\Application\UI\MethodReflection
MethodReflection

Overrides

ReflectionClass::getMethod()
public Nette\Application\UI\MethodReflection[]
# getMethods( $filter = -1 )

Returns

Nette\Application\UI\MethodReflection[]
MethodReflection[]

Overrides

ReflectionClass::getMethods()
public
# __toString( )

Overrides

ReflectionClass::__toString()
public
# __get( $name )
public
# __call( $name, $args )
Methods inherited from ReflectionClass
__construct(), export(), getConstant(), getConstants(), getConstructor(), getDefaultProperties(), getDocComment(), getEndLine(), getExtension(), getExtensionName(), getFileName(), getInterfaceNames(), getInterfaces(), getModifiers(), getName(), getNamespaceName(), getParentClass(), getProperties(), getProperty(), getShortName(), getStartLine(), getStaticProperties(), getStaticPropertyValue(), getTraitAliases(), getTraitNames(), getTraits(), hasConstant(), hasMethod(), hasProperty(), implementsInterface(), inNamespace(), isAbstract(), isCloneable(), isFinal(), isInstance(), isInstantiable(), isInterface(), isInternal(), isIterateable(), isSubclassOf(), isTrait(), isUserDefined(), newInstance(), newInstanceArgs(), newInstanceWithoutConstructor(), setStaticPropertyValue()
Methods used from Nette\SmartObject
__callStatic(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Constants inherited from ReflectionClass
IS_EXPLICIT_ABSTRACT, IS_FINAL, IS_IMPLICIT_ABSTRACT
Properties inherited from ReflectionClass
$name
Magic properties summary
public read-only string $name
public read-only string $fileName
Nette 2.4-20180918 API API documentation generated by ApiGen 2.8.0