Constants |
public PHPFUI\Base::DEBUG_SOURCE = 1 |
Methods |
public PHPFUI\Base::__clone() |
public __construct(PHPFUI\HTML5Element $dropTarget, PHPFUI\HTML5Element $dropDown) - param \HTML5Element $dropTarget what to click on to initite drop down
- param \HTML5Element $dropDown what you are going to drop
|
public PHPFUI\Base::__toString() : string |
public PHPFUI\Base::add(?mixed $item) : static Base add function. Adds to the end of the current objects - param mixed $item should be convertable to string
|
public PHPFUI\Base::addAsFirst(?mixed $item) : static Base addAsFirst function. Adds to the front of the current
object - param mixed $item should be convertable to string
|
public PHPFUI\Base::count() : int Number of object in this object. Does not count sub objects. |
public PHPFUI\Base::done(bool $done = true) : static |
public static PHPFUI\Base::getDebug(int $flags = 0) : int Gets the current debug setting |
public PHPFUI\Base::getResponse() : string |
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 setAlignment(string $alignment) : static Set the alignment of the drop down - param string $alignment must be one of left, center, right
|
public static PHPFUI\Base::setDebug(int $level = 0) : void Set the debug level, 1 or higher is on |
public setHover(bool $hover = true) : static - param bool $hover default true
|
public setPosition(string $position) : static Set the position of the drop down (drop up anyone?) - param string $position must be one of top, bottom, left, right
|
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 - param string $response to return
- param string $color used for the save button
- return never|static
|
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 - param string $method to call on the object in the collection
- param mixed $argument to pass to the method
|