Copied!
CloneableInstantiable
Constants
public PHPFUI\Base::DEBUG_SOURCE = 1
Methods
public PHPFUI\Base::__clone()
public __construct(PHPFUI\HTML5Element $mainContent)
public PHPFUI\Base::__toString() : string
public PHPFUI\Base::add(?mixed $item) : static
 

Base add function. Adds to the end of the current objects

public PHPFUI\Base::addAsFirst(?mixed $item) : static
 

Base addAsFirst function. Adds to the front of the current
object

public addOff(PHPFUI\HTML5Element $content, PHPFUI\HTML5Element $toggle) : string
 

Add something off the canvas to come in when the toggle is
activated.

public addWrapper() : static
public PHPFUI\Base::count() : int
 

Number of object in this object. Does not count sub objects.

public PHPFUI\Base::done(bool $done = true) : static
 

Form is done rendering

public static PHPFUI\Base::getDebug(int $flags = 0) : int
 

Gets the current debug setting

public PHPFUI\Base::getResponse() : string
 

Get the current response

public PHPFUI\Base::isDone() : bool
 

Returns true if the page needs no more processing

public PHPFUI\Base::prepend(?mixed $item) : static
 

Add an object in front of existing object

public static PHPFUI\Base::setDebug(int $level = 0) : void
 

Set the debug level, 1 or higher is on

public setPosition(string $id, string $position) : static
 

Set the incoming canvas position

public PHPFUI\Base::setRawResponse(string $response, bool $asJSON = true) : static
 

Sets the page response directly and exits the program

public PHPFUI\Base::setResponse(string $response, string $color = 'lime') : static
 

Set a response in the standard format ('reponse' and 'color' array)
exit will be called after returning the encoded response

public setTransition(string $id, string $transition) : static
 

Set the transition canvas position

public PHPFUI\Base::walk(string $method, ?mixed $argument = NULL) : static
 

Recursively walks all objects and calls the passed method on each object where it exists

Methods
protected getBody() : string
protected getEnd() : string
protected PHPFUI\Base::getItems() : array
protected getStart() : string
Properties
private PHPFUI\HTML5Element $mainContent
private PHPFUI\HTML5Element $offCanvas
private array $offCanvasCollection
private bool $wrapper
Methods
private validateId(string $id) : static
Methods
public static PHPFUI\Base::getDebug(int $flags = 0) : int
 

Gets the current debug setting

public static PHPFUI\Base::setDebug(int $level = 0) : void
 

Set the debug level, 1 or higher is on

© 2023 Bruce Wells
Search Namespaces \ Classes
Configuration