Milkyway\SS\ZenForms\Model\AbstractFormDecorator
Synopsis
class AbstractFormDecorator
extends RequestHandler
implements
Decorator
{
- // methods
- public void __construct()
- public string forTemplate()
- public string forAjaxTemplate()
- public string formHtmlContent()
- public string renderWithoutActionButton()
- public void __toString()
- // Inherited methods from Decorator
- public static void decorate()
- public static void create()
- public void original()
- public void up()
- public void onlySetIfNotSet()
- public void debug()
- // Inherited methods from ViewableDataDecorator
- public void obj()
- public void hasMethod()
- public void __call()
- protected void suffixTemplates()
- // Inherited methods from RequestHandlerDecorator
- public SS_HTTPResponse|string handleRequest()
- public void checkAccessAction()
Hierarchy
Extends
- RequestHandler
Uses
- Milkyway\SS\ZenForms\Traits\DecoratorConstructor
- Milkyway\SS\ZenForms\Traits\Decorator
- Milkyway\SS\ZenForms\Traits\ViewableDataDecorator
- Milkyway\SS\ZenForms\Traits\RequestHandlerDecorator
Implements
Members
protected
- $pullUp
public
- $templateSuffix
Methods
public
- __construct()
- __toString()
- forAjaxTemplate() — Return a rendered version of this form, suitable for ajax post-back.
- forTemplate() — Return a rendered version of this form.
- formHtmlContent() — Returns an HTML rendition of this form, without the <form> tag itself.
- renderWithoutActionButton() — Render this form using the given template, and return the result as a string.
Inherited from Milkyway\SS\ZenForms\Traits\Decorator
public
Inherited from Milkyway\SS\ZenForms\Traits\ViewableDataDecorator
protected
public
Inherited from Milkyway\SS\ZenForms\Traits\RequestHandlerDecorator
public
- checkAccessAction()
- handleRequest() — Iterate until we reach the original object A bit hacky but if it works, it works