Namespaces

  • Nette
    • Application
    • Caching
    • Collections
    • Config
    • Forms
    • IO
    • Loaders
    • Mail
    • Reflection
    • Security
    • Templates
    • Web
  • None
  • PHP

Classes

  • AppForm
  • Application
  • CliRouter
  • Control
  • DownloadResponse
  • ForwardingResponse
  • JsonResponse
  • Link
  • MultiRouter
  • Presenter
  • PresenterComponent
  • PresenterLoader
  • PresenterRequest
  • RedirectingResponse
  • RenderResponse
  • Route
  • SimpleRouter

Interfaces

  • IPartiallyRenderable
  • IPresenter
  • IPresenterLoader
  • IPresenterResponse
  • IRenderable
  • IRouter
  • ISignalReceiver
  • IStatePersistent

Exceptions

  • AbortException
  • ApplicationException
  • BadRequestException
  • BadSignalException
  • ForbiddenRequestException
  • InvalidLinkException
  • InvalidPresenterException
  • Overview
  • Namespace
  • Class
  • Tree
  • Other releases

Class Control

Control is renderable component.

Nette\Object
Extended by Nette\Component implements Nette\IComponent
Extended by Nette\ComponentContainer implements Nette\IComponentContainer
Extended by Nette\Application\PresenterComponent implements Nette\Application\ISignalReceiver, Nette\Application\IStatePersistent, ArrayAccess
Extended by Nette\Application\Control implements Nette\Application\IPartiallyRenderable

Direct known subclasses

Nette\Application\Presenter
Abstract
Namespace: Nette\Application
Author: David Grudl
Located at Application/Control.php
Methods summary
final public Nette\Templates\ITemplate
# getTemplate( )

Returns

Nette\Templates\ITemplate
protected Nette\Templates\ITemplate
# createTemplate( )

Returns

Nette\Templates\ITemplate
public
# templatePrepareFilters( Nette\Templates\Template $template )

Descendant can override this method to customize template compile-time filters.

Descendant can override this method to customize template compile-time filters.

Parameters

$template
Nette\Templates\Template
public IComponent
# getWidget( string $name )

Returns widget component specified by name.

Returns widget component specified by name.

Parameters

$name
string

Returns

IComponent
public stdClass
# flashMessage( string $message, string $type = 'info' )

Saves the message to template, that can be displayed after redirect.

Saves the message to template, that can be displayed after redirect.

Parameters

$message
string
$type
string

Returns

stdClass
public
# invalidateControl( string $snippet = NULL )

Forces control or its snippet to repaint.

Forces control or its snippet to repaint.

Parameters

$snippet
string

Implementation of

Nette\Application\IRenderable::invalidateControl
public
# validateControl( string $snippet = NULL )

Allows control or its snippet to not repaint.

Allows control or its snippet to not repaint.

Parameters

$snippet
string
public boolean
# isControlInvalid( string $snippet = NULL )

Is required to repaint the control or its snippet?

Is required to repaint the control or its snippet?

Parameters

$snippet
string
snippet name

Returns

boolean

Implementation of

Nette\Application\IRenderable::isControlInvalid
public string
# getSnippetId( string $name = NULL )

Returns snippet HTML ID.

Returns snippet HTML ID.

Parameters

$name
string
snippet name

Returns

string
Methods inherited from Nette\Application\PresenterComponent
__construct(), attached(), formatSignalMethod(), getParam(), getParamId(), getPersistentParams(), getPresenter(), getReflection(), getUniqueId(), lazyLink(), link(), loadState(), offsetExists(), offsetGet(), offsetSet(), offsetUnset(), redirect(), saveState(), signalReceived(), tryCall()
Methods inherited from Nette\ComponentContainer
__clone(), addComponent(), createComponent(), getComponent(), getComponents(), removeComponent(), validateChildComponent()
Methods inherited from Nette\Component
__wakeup(), detached(), getName(), getParent(), lookup(), lookupPath(), monitor(), setParent(), unmonitor(), validateParent()
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod()
Constants inherited from Nette\IComponent
NAME_SEPARATOR
Properties inherited from Nette\Application\PresenterComponent
$params
Nette Framework 0.9.7 API documentation generated by ApiGen 2.3.0