Copied!

AccordionToFromList works the same as ToFromList, except the $inGroup and $notInGroup arrays
should be indexed by the accordion name you want to display. Each index will contain arrays
conforming to the requirements of ToFromList

Currently when items are dragged from one pane to the other, they end up being inserted without a
group at the top of the pane.

Cloneable Instantiable
Constants
public PHPFUI\Base ::DEBUG_SOURCE = 1
Methods
public PHPFUI\Base :: __clone ()
public __construct ( PHPFUI\Interfaces\Page $page , string $name , array $inGroup , array $notInGroup , string $callbackIndex , callable $callback )
public PHPFUI\Base :: __toString () : string
public PHPFUI\Base :: add ( $item )
 

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

public PHPFUI\Base :: addAsFirst ( $item )
 

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

public PHPFUI\Base :: count () : int
 

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

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

Form is done rendering

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

Gets the current debug setting

public PHPFUI\ToFromList :: getPage () : PHPFUI\Interfaces\Page
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 ( $item ) : PHPFUI\Base
 

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 PHPFUI\ToFromList :: setInIcon ( $inIcon ) : PHPFUI\ToFromList
 

You can customize the "in" icon (or remove it) by passing in html

public PHPFUI\ToFromList :: setInName ( string $inName ) : PHPFUI\ToFromList
 

Sets the header name for the "in" group

public PHPFUI\ToFromList :: setOutIcon ( $outIcon ) : PHPFUI\ToFromList
 

You can customize the "out" icon (or remove it) by passing in html

public PHPFUI\ToFromList :: setOutName ( string $outName ) : PHPFUI\ToFromList
 

Sets the header name for the "out" group

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

Sets the page response directly

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

Set a response in the standard format ('reponse' and 'color' array)

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

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

  • return $this
Properties
protected PHPFUI\ToFromList :: $callback
protected PHPFUI\ToFromList :: $callbackIndex
protected PHPFUI\ToFromList :: $inGroup
protected PHPFUI\ToFromList :: $inIcon
protected PHPFUI\ToFromList :: $inName
protected PHPFUI\ToFromList :: $name
protected PHPFUI\ToFromList :: $notInGroup
protected PHPFUI\ToFromList :: $outIcon
protected PHPFUI\ToFromList :: $outName
protected PHPFUI\ToFromList :: $page
Methods
protected createWindow ( array $groups , string $type ) : string
protected PHPFUI\ToFromList :: getBody () : string
protected PHPFUI\ToFromList :: getEnd () : string
protected PHPFUI\ToFromList :: getStart () : string
protected PHPFUI\ToFromList :: makeDiv ( string $id , string $type , string $html ) : string
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

© 2021 Bruce Wells
Search Namespaces \ Classes
Configuration