- Extends
-
Implements
Countable PHPFUI \Interfaces \Page PHPFUI \Interfaces \Walkable Stringable - Traits
Constants |
public
PHPFUI |
Methods |
public PHPFUI\Base :: __clone () |
public __construct () |
public PHPFUI\Base :: __toString () : string |
public
PHPFUI\VanillaPage
::
add
(
$item
) Add to the body element directly |
public
PHPFUI\Page
::
addAbideValidator
(
PHPFUI |
public
PHPFUI\Base
::
addAsFirst
(
$item
) Base addAsFirst function. Adds to the front of the current
|
public Example\Page :: addBody ( $item ) : self |
public
PHPFUI\VanillaPage
::
addCSS
(
string
$css
) :
PHPFUI Add dedupped inline css |
public
PHPFUI\VanillaPage
::
addHeadJavaScript
(
string
$js
) :
PHPFUI Add dedupped JavaScript to the header |
public
PHPFUI\VanillaPage
::
addHeadScript
(
string
$module
) :
PHPFUI Add a dedupped header script
|
public
PHPFUI\VanillaPage
::
addHeadTag
(
string
$tag
) :
PHPFUI Add a meta tag to the head section of the page |
public
PHPFUI\VanillaPage
::
addIEComments
(
string
$comment
) :
PHPFUI Add IE commands. For example you should restrict IE 8 and lower clients.
|
public
PHPFUI\VanillaPage
::
addJavaScript
(
string
$js
) :
PHPFUI Add dedupped JavaScript to the page |
public
PHPFUI\VanillaPage
::
addJavaScriptFirst
(
string
$js
) :
PHPFUI Add dedupped JavaScript as the first JavaScript before Foundation |
public
PHPFUI\VanillaPage
::
addJavaScriptLast
(
string
$js
) :
PHPFUI Add dedupped JavaScript as the last JavaScript on the page |
public
PHPFUI\Page
::
addPluginDefault
(
string
$pluginName
,
string
$property
,
string
$value
) :
PHPFUI You can add various plugin default parameters Examples: $page->addPluginDefault('Abide', 'patterns["zip"]', '/^[0-9-]*$/'); |
public
PHPFUI\Page
::
addReveal
(
PHPFUI Add a reveal dialog to the page
|
public
PHPFUI\VanillaPage
::
addStyleSheet
(
string
$module
) :
PHPFUI Add dedupped Style Sheet to the page
|
public
PHPFUI\VanillaPage
::
addTailScript
(
string
$module
) :
PHPFUI Add a dedupped script to the end of the page
|
public callback ( array $parameters ) : array |
public
PHPFUI\Base
::
count
() :
int
Number of object in this object. Does not count sub objects. |
public
PHPFUI\Base
::
done
(
bool
$done
=
true
) :
PHPFUI Form is done rendering |
public
PHPFUI\VanillaPage
::
getBaseURL
() :
string
Return just the base URI without the query string |
public
PHPFUI\VanillaPage
::
getBodyElement
() :
PHPFUI\Collection
Direct access to the page body element. Also accessed via add method. |
public
static
PHPFUI\Base
::
getDebug
(
int
$flags
=
0
) :
int
Gets the current debug setting |
public
PHPFUI\VanillaPage
::
getFavIcon
() :
string
Return the Fav Icon |
public
Example\Page
::
getFooterMenu
() :
PHPFUI |
public
static
Example\Page
::
getMenu
() :
PHPFUI |
public
PHPFUI\VanillaPage
::
getPageName
() :
string
Return the current page name |
public
PHPFUI\VanillaPage
::
getQueryParameters
() :
array
Returns array of the current query parameters |
public
PHPFUI\VanillaPage
::
getQueryString
() :
string
Returns the query string with leading ? if set |
public
PHPFUI\VanillaPage
::
getResourcePath
(
string
$resource
=
''
) :
string
Get fully qualified resource path root relative with resource if passed A $resource starting with / or http is not modified |
public
PHPFUI\Base
::
getResponse
() :
string
Get the current response |
public
PHPFUI\VanillaPage
::
hasDatePicker
() :
bool
return true if it has a built in date picker detectable by HTTP_USER_AGENT |
public
PHPFUI\VanillaPage
::
hasDateTimePicker
() :
bool
return true if it has a built in date time picker detectable by HTTP_USER_AGENT |
public
PHPFUI\VanillaPage
::
hasTimePicker
() :
bool
return true if it has a built in time picker detectable by HTTP_USER_AGENT |
public
PHPFUI\VanillaPage
::
isAndroid
() :
bool
Return true if Android platform |
public
PHPFUI\VanillaPage
::
isChrome
() :
bool
Return true if Chrome browser |
public
PHPFUI\Base
::
isDone
() :
bool
Returns true if the page needs no more processing |
public
PHPFUI\VanillaPage
::
isIEMobile
() :
bool
Return true if Windows Mobile browser |
public
PHPFUI\VanillaPage
::
isIOS
() :
bool
Return true if IOS platform |
public
PHPFUI\Base
::
prepend
(
$item
) :
PHPFUI Add an object in front of existing object |
public
PHPFUI\VanillaPage
::
redirect
(
string
$url
=
''
,
string
$parameters
=
''
,
int
$timeout
=
0
) :
PHPFUI Redirect page. Default will redirect to the current page
|
public
PHPFUI\VanillaPage
::
removeCSS
(
string
$css
) :
PHPFUI Remove inline css |
public
PHPFUI\VanillaPage
::
removeHeadJavaScript
(
string
$js
) :
PHPFUI Remove JavaScript from the header |
public
PHPFUI\VanillaPage
::
removeHeadScript
(
string
$module
) :
PHPFUI Remove header script
|
public
PHPFUI\VanillaPage
::
removeHeadTag
(
string
$tag
) :
PHPFUI Remove a meta tag from the head section of the page |
public
PHPFUI\VanillaPage
::
removeIEComments
(
string
$comment
) :
PHPFUI Remove IE commands. |
public
PHPFUI\VanillaPage
::
removeJavaScript
(
string
$js
) :
PHPFUI Remove JavaScript from the page |
public
PHPFUI\VanillaPage
::
removeJavaScriptFirst
(
string
$js
) :
PHPFUI Remove JavaScript from the first JavaScript before Foundation |
public
PHPFUI\VanillaPage
::
removeJavaScriptLast
(
string
$js
) :
PHPFUI Remove JavaScript from the last JavaScript on the page |
public
PHPFUI\VanillaPage
::
removeStyleSheet
(
string
$module
) :
PHPFUI Remove a Style Sheet from the page
|
public
PHPFUI\VanillaPage
::
removeTailScript
(
string
$module
) :
PHPFUI Remove script from the end of the page
|
public
static
PHPFUI\Base
::
setDebug
(
int
$level
=
0
) :
void
Set the debug level, 1 or higher is on |
public
PHPFUI\VanillaPage
::
setFavIcon
(
string
$path
) :
PHPFUI Sets the Fav Icon (shown in browser tabs and elsewhere in the
|
public
PHPFUI\VanillaPage
::
setLanguage
(
string
$lang
) :
PHPFUI Set the page language |
public
PHPFUI\VanillaPage
::
setPageName
(
string
$name
) :
PHPFUI Set the page name. Defaults to "Created with Foundation"
|
public
PHPFUI\Base
::
setRawResponse
(
string
$response
,
bool
$asJSON
=
true
) :
PHPFUI Sets the page response directly |
public
PHPFUI\VanillaPage
::
setResourcePath
(
string
$resourcePath
=
'/'
) :
PHPFUI $resoursePath should start from the public root directory and include a trailing forward slash |
public
PHPFUI\Base
::
setResponse
(
string
$response
,
string
$color
=
'lime'
) :
PHPFUI 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
|
Methods |
protected PHPFUI\VanillaPage :: getBody () : string |
protected PHPFUI\VanillaPage :: getEnd () : string |
protected
Example\Page
::
getMagellanMenu
() : ?
PHPFUI |
protected Example\Page :: getStart () : string |
Properties |
private
Example |
Methods |
public
static
PHPFUI\Base
::
getDebug
(
int
$flags
=
0
) :
int
Gets the current debug setting |
public
static
Example\Page
::
getMenu
() :
PHPFUI |
public
static
PHPFUI\Base
::
setDebug
(
int
$level
=
0
) :
void
Set the debug level, 1 or higher is on |