CloneableInstantiable
ExtendsPHPFUI\Page
PHPFUI\Base
ImplementsCountable
PHPFUI\InstaDoc\PageInterface
Constants
public PHPFUI\Base::DEBUG_SOURCE = 1
Methods
public PHPFUI\Base::__clone()
public __construct(PHPFUI\InstaDoc\Controller $controller)
public PHPFUI\Base::__toString() : string
public PHPFUI\Base::add( $item)
 
Base add function. Adds to the end of the current objects

  • return Base
public PHPFUI\Base::addAsFirst( $item)
 
Base addAsFirst function. Adds to the front of the current object

  • return Base
public addBody( $item) : PHPFUI\InstaDoc\PageInterface
public PHPFUI\Page::addCSS(string $css) : PHPFUI\Page
 
Add dedupped inline css

public PHPFUI\Page::addHeadJavaScript(string $js) : PHPFUI\Page
 
Add dedupped JavaScript to the header

public PHPFUI\Page::addHeadScript(string $module) : PHPFUI\Page
 
Add a dedupped header script

    public PHPFUI\Page::addHeadTag(string $tag) : PHPFUI\Page
     
    Add a meta tag to the head section of the page

    public PHPFUI\Page::addIEComments(string $comment) : PHPFUI\Page
     
    Add IE commands. For example you should restrict IE 8 and lower clients.

    $page->addIEComments('<!--[if lt IE9]><script>window.location="/old/index.html";</script><![endif]-->');
    public PHPFUI\Page::addJavaScript(string $js) : PHPFUI\Page
     
    Add dedupped JavaScript to the page

    public PHPFUI\Page::addJavaScriptLast(string $js) : PHPFUI\Page
     
    Add dedupped JavaScript as the last JavaScript on the page

    public PHPFUI\Page::addPluginDefault(string $pluginName, string $property, string $value) : PHPFUI\Page
     
    You can add various plugin default parameters

    public PHPFUI\Page::addReveal(PHPFUI\Reveal $reveal) : PHPFUI\Page
     
    Add a reveal dialog to the page

      public PHPFUI\Page::addStyleSheet(string $module) : PHPFUI\Page
       
      Add dedupped Style Sheet to the page

        public PHPFUI\Page::addTailScript(string $module) : PHPFUI\Page
         
        Add a dedupped script to the end of the page

          public PHPFUI\Base::count() : int
           
          Number of object in this object. Does not count sub objects.

          public create(PHPFUI\Menu $menu) : void
          public PHPFUI\Base::done(bool $done = true) : PHPFUI\Base
           
          Form is done rendering

          public PHPFUI\Page::getBaseURL() : string
           
          Return just the base URI without the query string

          public static PHPFUI\Base::getDebug(int $flags = 0) : int
           
          Gets the current debug setting

          public PHPFUI\Page::getFavIcon() : string
           
          Return the Fav Icon

          public PHPFUI\Page::getPageName() : string
           
          Return the current page name

          public PHPFUI\Page::getQueryParameters() : array
           
          Returns array of the current query parameters

          public PHPFUI\Page::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\Page::hasDatePicker() : bool
           
          return true if it has a built in date picker detectable by HTTP_USER_AGENT

          public PHPFUI\Page::hasDateTimePicker() : bool
           
          return true if it has a built in date time picker detectable by HTTP_USER_AGENT

          public PHPFUI\Page::hasTimePicker() : bool
           
          return true if it has a built in time picker detectable by HTTP_USER_AGENT

          public PHPFUI\Page::isAndroid() : bool
           
          Return true if Android platform

          public PHPFUI\Page::isChrome() : bool
           
          Return true if Chrome browser

          public PHPFUI\Base::isDone() : bool
           
          Returns true if the page needs no more processing

          public PHPFUI\Page::isIEMobile() : bool
           
          Return true if Windows Mobile browser

          public PHPFUI\Page::isIOS() : bool
           
          Return true if IOS platform

          public PHPFUI\Base::output() : string
           
          Output the object (convert to string)

          • return string
          public PHPFUI\Base::prepend( $item) : PHPFUI\Base
           
          Add an object in front of existing object

          public PHPFUI\Page::redirect(string $url = '', string $parameters = '', int $timeout = 0) : PHPFUI\Page
           
          Redirect page. Default will redirect to the current page minus query string. Pass formatted query string as $parameter with no leading ?.

            public PHPFUI\Page::setBaseScripts(array $scripts) : PHPFUI\Page
             
            You can override the base scripts includes (and effectively remove Foundation and JQuery libraries).

            This makes PHPFUI a more generic HTML Framework.

            public static PHPFUI\Base::setDebug(int $level = 0) : void
             
            Set the debug level, 1 or higher is on

            public PHPFUI\Page::setFavIcon(string $path) : PHPFUI\Page
             
            Sets the Fav Icon (shown in browser tabs and elsewhere in the browser)

              public setGenerating(string $generating) : PHPFUI\InstaDoc\PageInterface
              public setHomeUrl(string $url) : PHPFUI\InstaDoc\PageInterface
              public PHPFUI\Page::setLanguage(string $lang) : PHPFUI\Page
               
              Set the page language

              public PHPFUI\Page::setPageName(string $name) : PHPFUI\Page
               
              Set the page name. Defaults to "Created with Foundation"

                public PHPFUI\Base::setRawResponse(string $response) : PHPFUI\Base
                 
                Sets the page response directly

                public PHPFUI\Page::setResourcePath(string $resoursePath = '/PHPFUI/') : PHPFUI\Page
                 
                $resoursePath should start from the public root directory and include a trailing forward slash

                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) : PHPFUI\Base
                   
                  Recursively walks all objects and calls the passed method on each object where it exists

                  Methods
                  protected PHPFUI\Page::getBody() : string
                  protected PHPFUI\Page::getEnd() : string
                  protected PHPFUI\Page::getStart() : string
                  Properties
                  private $controller
                  private $generating
                  private $homeUrl
                  private $mainColumn
                  private $menu
                  Methods
                  private addConfigModal(PHPFUI\HTML5Element $modalLink) : void
                  private addSearchModal(PHPFUI\HTML5Element $modalLink) : void
                  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

                  © 2020 Bruce Wells
                  Search Namespaces \ Classes
                  ConfigurationNumbers (0-9.) only