Niouzes

D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php:3658:
object(LogicException)[63]
  protected 'message' => string 'Class LSContentsCalendar could not be loaded' (length=44)
  private 'string' (Exception) => string '' (length=0)
  protected 'code' => int 0
  protected 'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
  protected 'line' => int 3587
  private 'trace' (Exception) => 
    array (size=15)
      0 => 
        array (size=4)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
          'line' => int 3587
          'function' => string 'spl_autoload' (length=12)
          'args' => 
            array (size=1)
              ...
      1 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
          'line' => int 3262
          'function' => string 'EmergeIsland' (length=12)
          'class' => string 'LSGeorama' (length=9)
          'type' => string '->' (length=2)
          'args' => 
            array (size=6)
              ...
      2 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
          'line' => int 2756
          'function' => string 'EmergeIslands' (length=13)
          'class' => string 'LSGeorama' (length=9)
          'type' => string '->' (length=2)
          'args' => 
            array (size=5)
              ...
      3 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
          'line' => int 2994
          'function' => string 'EmergeArchipelagosFromParent' (length=28)
          'class' => string 'LSGeorama' (length=9)
          'type' => string '->' (length=2)
          'args' => 
            array (size=3)
              ...
      4 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 5928
          'function' => string 'EmergeArchipelagos' (length=18)
          'class' => string 'LSGeorama' (length=9)
          'type' => string '->' (length=2)
          'args' => 
            array (size=2)
              ...
      5 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\template\vaesoli.html' (length=58)
          'line' => int 89
          'function' => string 'Land' (length=4)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      6 => 
        array (size=4)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 6110
          'args' => 
            array (size=1)
              ...
          'function' => string 'include' (length=7)
      7 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 6053
          'function' => string 'XInclude' (length=8)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      8 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 5828
          'function' => string 'IncludeTemplate' (length=15)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      9 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 5580
          'function' => string 'UseTemplate' (length=11)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      10 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 3282
          'function' => string 'RenderXML' (length=9)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      11 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 2082
          'function' => string 'StartPage' (length=9)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      12 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSApplication.class.php' (length=76)
          'line' => int 814
          'function' => string 'Render' (length=6)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=0)
              ...
      13 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\master.php' (length=47)
          'line' => int 8
          'function' => string 'Run' (length=3)
          'class' => string 'LSApplication' (length=13)
          'type' => string '->' (length=2)
          'args' => 
            array (size=0)
              ...
      14 => 
        array (size=4)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\documentation\documentation-vaesoli-code-source.php' (length=88)
          'line' => int 1
          'args' => 
            array (size=1)
              ...
          'function' => string 'include' (length=7)
  private 'previous' (Exception) => null
  public 'xdebug_message' => string '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> LogicException: Class LSContentsCalendar could not be loaded in D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php on line <i>3587</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory'... (length=6279)
D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php:3658:
object(LogicException)[81]
  protected 'message' => string 'Class LSContentsCitation could not be loaded' (length=44)
  private 'string' (Exception) => string '' (length=0)
  protected 'code' => int 0
  protected 'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
  protected 'line' => int 3587
  private 'trace' (Exception) => 
    array (size=15)
      0 => 
        array (size=4)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
          'line' => int 3587
          'function' => string 'spl_autoload' (length=12)
          'args' => 
            array (size=1)
              ...
      1 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
          'line' => int 3262
          'function' => string 'EmergeIsland' (length=12)
          'class' => string 'LSGeorama' (length=9)
          'type' => string '->' (length=2)
          'args' => 
            array (size=6)
              ...
      2 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
          'line' => int 2756
          'function' => string 'EmergeIslands' (length=13)
          'class' => string 'LSGeorama' (length=9)
          'type' => string '->' (length=2)
          'args' => 
            array (size=5)
              ...
      3 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
          'line' => int 2994
          'function' => string 'EmergeArchipelagosFromParent' (length=28)
          'class' => string 'LSGeorama' (length=9)
          'type' => string '->' (length=2)
          'args' => 
            array (size=3)
              ...
      4 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 5928
          'function' => string 'EmergeArchipelagos' (length=18)
          'class' => string 'LSGeorama' (length=9)
          'type' => string '->' (length=2)
          'args' => 
            array (size=2)
              ...
      5 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\template\vaesoli.html' (length=58)
          'line' => int 89
          'function' => string 'Land' (length=4)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      6 => 
        array (size=4)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 6110
          'args' => 
            array (size=1)
              ...
          'function' => string 'include' (length=7)
      7 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 6053
          'function' => string 'XInclude' (length=8)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      8 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 5828
          'function' => string 'IncludeTemplate' (length=15)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      9 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 5580
          'function' => string 'UseTemplate' (length=11)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      10 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 3282
          'function' => string 'RenderXML' (length=9)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      11 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 2082
          'function' => string 'StartPage' (length=9)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      12 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSApplication.class.php' (length=76)
          'line' => int 814
          'function' => string 'Render' (length=6)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=0)
              ...
      13 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\master.php' (length=47)
          'line' => int 8
          'function' => string 'Run' (length=3)
          'class' => string 'LSApplication' (length=13)
          'type' => string '->' (length=2)
          'args' => 
            array (size=0)
              ...
      14 => 
        array (size=4)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\documentation\documentation-vaesoli-code-source.php' (length=88)
          'line' => int 1
          'args' => 
            array (size=1)
              ...
          'function' => string 'include' (length=7)
  private 'previous' (Exception) => null
  public 'xdebug_message' => string '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> LogicException: Class LSContentsCitation could not be loaded in D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php on line <i>3587</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory'... (length=6279)

Attention

The documentation is incomplete. The Vae Soli! team works hard to make it as exhaustive as possible with tons of useful examples and easy to understand explanations.

On top of that, we have decided to use our own tool to generate the documentation you read. This also takes time to fine-tune. Our goal is have better documentation, easier to read, easier to use, completely integrated with our site.

Even though NOT finalized, you can now link back to our documentation pages as we have decided once and for all about the structure of our documents and where they all reside on our server.

Thank you very much
The Vae Soli! team.

2019-06-18 à 01:34:06

Table Of Contents

  1. FOUNDATION (functions) (01/04/2015)
  2. LSAction (class) (01/04/2015)
  3. LSAddress (class) (01/04/2015)
  4. LSAdministrativeArea (class) (01/04/2015)
  5. LSApplication (class) (14/10/2013)
  6. LSArray (class) (14/10/2013)
  7. LSArticle (class) (18/02/2014)
  8. LSAssertion (class) (14/10/2013)
  9. LSAudience (class) (18/02/2014)
  10. AUTOLOAD (function) (21/04/2014)
  11. LSAutoReference (class) (14/10/2013)
  12. LSBag (class) (14/10/2013)
  13. LSBBCodes (class) (10/06/2014)
  14. LSBrowser (class) (14/10/2013)
  15. LSCache (class) (14/10/2013)
  16. LSCalculator (class) (14/10/2013)
  17. LSCalendar (class) (14/10/2013)
  18. LSCameraSnapshot (class) (14/10/2013)
  19. LSCitation (class) (14/10/2013)
  20. LSClass (class) (14/10/2013)
  21. LSCode (class) ()
  22. Colors (functions) (18/06/2019)
  23. LSContactForm (class) (14/10/2013)
  24. LSContainer (class) (14/10/2013)
  25. LSContents (class) (14/10/2013)
  26. LSContentsAccounts (class) (14/10/2013)
  27. LSContentsArticles (class) (14/10/2013)
  28. LSContentsAtomicClock (class) (14/10/2013)
  29. LSContentsBusinessCoordinates (class) (14/10/2013)
  30. LSContentsBusinessOff (class) (14/10/2013)
  31. LSContentsBusinessOpeningHours (class) (14/10/2013)
  32. LSContentsBreadcrumb (class) (14/10/2013)
  33. LSContentsCalendar (class) (14/10/2013)
  34. LSContentsCatalogue (class) (14/10/2013)
  35. LSContentsCharter (class) (18/02/2014)
  36. LSContentsCitation (class) (14/10/2013)
  37. LSContentsClock (class) (14/10/2013)
  38. LSContentsComments (class) (14/10/2013)
  39. LSContentsCookieUsage (class) (14/10/2013)
  40. LSContentsCountdown (class) (14/10/2013)
  41. LSContentsDatetime (class) (14/10/2013)
  42. LSContentsHeartbeat (class) (14/10/2013)
  43. LSContentsIFrame (class) (14/10/2013)
  44. LSContentsImageGallery (class) (14/10/2013)
  45. LSContentsLanguageSwitchers (class) (14/10/2013)
  46. LSContentsLegal (class) (18/02/2014)
  47. LSContentsMicronews (class) (14/10/2013)
  48. LSContentsMyAccount (class) (14/10/2013)
  49. LSContentsPaymentOptions (class) (14/10/2013)
  50. LSContentsPinboard (class) (14/10/2013)
  51. LSContentsRememberPassword (class) (14/10/2013)
  52. LSContentsRSS (class) (14/10/2013)
  53. LSContentsSiteManager (class) (14/10/2013)
  54. LSContentsSitemap (class) (14/10/2013)
  55. LSContentsShare (class) (14/10/2013)
  56. LSContentsStopwatch (class) (14/10/2013)
  57. LSContentsTagCloud (class) (14/10/2013)
  58. LSContentsTodosOnPage (class) (14/10/2013)
  59. LSContentsW3C (class) (14/10/2013)
  60. LSContentsWeather (class) (14/10/2013)
  61. LSControl (class) (14/10/2013)
  62. LSCreativeWork (class) (18/02/2014)
  63. LSCursor (class) (09/03/2015)
  64. LSCustomer (class) (14/10/2013)
  65. LSDataEnvironment (class) (14/10/2013)
  66. Dates (functions) (01/04/2015)
  67. LSDate (class) (14/10/2013)
  68. LSDictionary (class) (14/10/2013)
  69. LSDom, LSDomNode and LSXPath (class) (30/04/2014)
  70. LSErrors and LSError (classes) (14/10/2013)
  71. LSException (class) (16/10/2013)
  72. LSExplorer (class) (14/10/2013)
  73. LSFieldset (class) (14/10/2013)
  74. LSFile (class) (14/10/2013)
  75. LSFileProperties (class) (14/10/2013)
  76. Files (functions) (01/04/2015)
  77. Finance (functions) (01/04/2015)
  78. LSFootnotes (class) (22/02/2014)
  79. LSForm (class) (09/06/2014)
  80. LSFunction (class) (14/10/2013)
  81. LSGeorama (class) (24/10/2013)
  82. LSGeoramaVar (class) (24/10/2013)
  83. LSGlossary (class) (09/03/2015)
  84. LSGroup (class) (14/10/2013)
  85. HTML (functions) (01/04/2015)
  86. LSHttp (class) (14/10/2013)
  87. HTTP (functions) (01/04/2015)
  88. LSImageGallery (class) (14/10/2013)
  89. Images (functions) (01/04/2015)
  90. LSInput (class) (26/04/2014)
  91. IP (functions) (01/04/2015)
  92. LSIslandAbstract (14/10/2013)
  93. LSIslandFormAbstract (class) (14/10/2013)
  94. LSLabel (class) (14/10/2013)
  95. LSLanguageSwitchers (class) (14/10/2013)
  96. LSLatin (class) (14/10/2013)
  97. LSLegalPerson (class) (14/10/2013)
  98. LSLinkedList (class) (14/10/2013)
  99. LSList (class) (14/10/2013)
  100. Mails (functions) (01/04/2015)
  101. LSMap (class) (14/10/2013)
  102. Math (functions) (01/04/2015)
  103. LSMicronews (class) (18/02/2014)
  104. Miscellaneous (functions) (01/04/2015)
  105. LSModuleAbstract (class) (14/10/2013)
  106. LSNaturalPerson (class) (14/10/2013)
  107. LSNewsArticle (class) (18/02/2014)
  108. LSNote (class) (14/10/2013)
  109. LSMotherNature (class) (16/10/2013)
  110. LSPage (class) (18/02/2014)
  111. LSParameter (class) (14/10/2013)
  112. LSPaymentOptions (class) (14/10/2013)
  113. LSPeopleAudience (class) (18/02/2014)
  114. LSPerson (class) (14/10/2013)
  115. LSPlace (class) (18/02/2014)
  116. LSProperty (class) (14/10/2013)
  117. LSPublication (class) (14/10/2013)
  118. LSRequirement (class) (14/10/2013)
  119. LSReturn (class) (24/10/2013)
  120. LSRisk (class) (14/10/2013)
  121. LSSentanaiAbstract (14/10/2013)
  122. LSServiceMessage (class) (14/10/2013)
  123. LSSession (class) (14/10/2013)
  124. LSSiteManager (class) (14/10/2013)
  125. LSSitemap (class) (14/10/2013)
  126. LSSockets (class) (14/10/2013)
  127. LSSoftwareApplication (class) (18/02/2014)
  128. LSSource (class) (14/10/2013)
  129. Strings (functions) (31/07/2016)
  130. LSSupplier (class) (14/10/2013)
  131. System (functions) (01/04/2015)
  132. LSTag (class) (21/04/2014)
  133. LSTagCloud (class) (14/10/2013)
  134. LSTechArticle (class) (18/02/2014)
  135. LSThing (class) (18/02/2014)
  136. LSTimeline (class) (14/10/2013)
  137. LSTimer (class) (16/10/2013)
  138. LSTracer (class) (09/03/2015)
  139. LSUnitTesting (class) (14/10/2013)
  140. URL (functions) (01/04/2015)
  141. LSUser (class) (09/03/2015)
  142. LSUserMgr (class) (14/10/2013)
  143. LSVaesoli (class) (09/06/2014)
  144. LSVersion (class) (14/10/2013)
  145. LSWebSite (class) (14/10/2013)
  146. LSWidget (class) (14/10/2013)
  147. LSWireTransferForm (class) (14/10/2013)
  148. LSXMLSitemap (class) (14/10/2013)
  149. XML (functions) (01/04/2015)

LSInput.class.php

Generated by The Vae Soli! Documentor: Guide v. 1.3.0018 on 26-04-2014 07:11:36 (DD-MM-YYYY HH:mm:SS). This documentation is built with Vae Soli! functions and classes!

File Properties

C:\websites\vaesoli.org\www\httpdocs/vaesoli/include/LSInput.class.phpC:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSInput.class.phpapplication/force-downloadC:\websites\vaesoli.org\www\httpdocs\vaesoli\include197368 bytes03/08/2013 23:27:5224/04/2014 17:55:5024/04/2014 17:55:50

Compliance

Assertions count: 8

Assertions successful: 8

Assertion failures: 0

Early Warning

LSInput.class.php exceeds 51200 bytes. We suggest this file got broken down in smaller chunks!

LSInput.class.php contains 3574 lines of code, which exceeds the suggested limit of 1024 lines. We suggest this file got broken down in smaller chunks!

Manifest Constants

LS_INPUT_CLASS_PWH: Define "LS" Input services (Pat Was Here)

VAESOLI_PATH: Define the path where Vae Soli! is installed

VAESOLI_PLUGINS: Define the path where plugins are located

Sources required

LSInput.class.inc: Constants and definitions for LSInput

LSControl.class.php: Control class

LSUnitTesting.class.php: Vae Soli! Unit Testing

Classes

LSInput extends LSControlInput zones services for forms

Properties
NameVisibilityTypeDescription
$Autofocus public bool Determines if an input zone must receive the focus automatically
$Autofocus public bool Determines if an input zone benefits from the autocomplete feature
$PrerenderFnc public string Callback to play AFTER rendering
$PrerenderFnc public string Callback to play BEFORE rendering
$aControls public array An array of inner controls
$aOnClauses public array An array of on<…> clauses (onclick,onblur,…)
$iAlignment public int Input alignment (0 = left; 1 = right; 2 = center)
$szControlSource public string The source of the control
$szDataSource public string Typically, the name of a file
$szGetDataFnc public string Typically, the name of a function to execute when getting the data
$szInputMask public string Input zone input mask
$szLanguage public string Language the control must be rendered in (applicable to few control types such as "currency", "country", ...)
$szList public string ????
$szPlaceHolder public string A placeholder value (tooltip in HTML5), which is a hint of how the zone must be filled
$szSetDataFnc public string Typically, the name of a function to execute when setting the data
$szValue public mixed A string, very often, because rendered as a string. Value of the input zone
$xGetDefault public mixed A default value that must be associated with the input zone when GETting data (see $szControlSource)
$xSetDefault public mixed A default value that must be associated with the input zone when SETting data (see $szControlSource)
Parent Properties (LSControl)
NameType
Databag boolean
IsHTML5 boolean
IsMandatory boolean
IsReadonly boolean
IsVisible boolean
aGenes NULL
aHTML5Match array
iHeight NULL
iIndentLevel integer
iIndentSpaces integer
iInstance integer
iInstances integer
iLeft NULL
iLevel integer
iMaxLength NULL
iSize NULL
iTop NULL
iWidth NULL
oContainer NULL
szBrowser NULL
szClass NULL
szComment NULL
szDesc NULL
szErrorMsg string
szGUID NULL
szID NULL
szInnerLeader NULL
szInnerTrailer NULL
szLang string
szLeader NULL
szName NULL
szOnBlur NULL
szOnChange NULL
szOnClick NULL
szOnFocus NULL
szOnKeyDown NULL
szOnKeyPress NULL
szOnKeyUp NULL
szOnLoad NULL
szOnMouseOver NULL
szOnSelect NULL
szOnSubmit NULL
szOnUnLoad NULL
szPixels string
szPlatform NULL
szStyle NULL
szText NULL
szTitle NULL
szTooltip NULL
szTrailer NULL
szType NULL
szValue NULL
Methods
  1. __construct(): Class constructor
  2. __toString(): Allows the class to decide how it will react when it is treated like a string. A call to Render() is performed.
  3. AddObject(): Add a control to the list of controls
  4. BuildAutocomplete(): Builds an autocomplete attribute
  5. BuildAutofocus(): Builds an autofocus attribute
  6. BuildHiddenName(): Builds a hidden name
  7. BuildList(): Builds a list of ID to a ... structure
  8. BuildPlaceholder(): Builds a placeholder (hint to a zone)
  9. BuildRequired(): Builds a required attribute
  10. Render(): Renders an input control, either in "edit" or in "view" mode (default mode).
  11. RenderEdit(): Renders an input control in "edit" mode
  12. RenderPattern(): Builds the 'pattern' attribute of the input zone
  13. RenderView(): Renders an input zone in "view" mode
  14. TreatTags(): Treat internal tags partially based on bbcodes
__construct(): Class constructor

[ back to method list ]

Docs

Additional info to be found on the subject:

Syntax

__construct( $szType,$szID,$szName,$szValue,$szControlSource )

Parameters
NameTypeDescription
$szType string Input type ( textbox, combobox, ...). The following input types are permitted:
banister Creates a sepration line (typically a
)
button
checkbox Creates a checkbox
cc Creates a baniking account zone
creditcard Creates a 4 input zones structure to enter a credit card
city
color Creates a selectbox whith a the named colors of HTML. For HTML5 compatible browsers, the rendering of the zone depends on the browser itself
combobox Creates a selectbox entry zone. The selectbox can either be a dropdowncombo or a dropdownlist
country
currency
date Creates a date input zone. In the case of an HTML5 capable browser, the input zone is turned to an HTML5 date zone. Otherwise, Vae Soli! presents a regular textbox zone whose input is checked (valid date). Spinners can also be used to increment/decrement the date.
datetime Creates a datetime entry zone for HTML5 compliant browsers.
day Creates a day of the week selectbox. Values are extracted from an XML table provided by Vae Soli!
editor
editbox
email Creates an email zone. The value of the zone is checked
file Creates a file pickup zone. 'accept' and 'multiselect' handled.
float Creates a numeric entry zone (floats only)
grid
gsm
hidden Creates an enty zone that remains hidden
hour
listbox
gender
optiongroup
guid Creates a GUID input zone
iban
image
integer Creates a numeric entry zone (integers only)
isbn
language Creates a combobox with a predefined list of languages
mobile
month Creates a month of the year selectbox. Values are extracted from an XML table provided by Vae Soli!
min
nace
number Creates a numeric entry zone (either float or integer).
password Creates a password entry zone
percent
phone
range
reset Creates a reset button
search
submit Creates a submit button
tel (alias telephone)
textbox Creates a textbox input zone. Alias: text
textarea Creates an editbox (memo input)
title
time Creates a time entry zone for HTML5 compliant browsers.
url Creates a text zone whose content is a a URL. The validity of the URL is checked.
vat Creates a VAT input zone. The VAT number is checked for the foolowing countries: Belgium (BE), France, Netherlands, Luxembourg, Germany, United Kingdom, Spain, Italy, Austria, Finland, Greece, Ireland, Portugal, Sweden
vcs
week Creates a week entry zone for HTML5 compliant browsers.
$szID string ID of the input zone. Optional.
$szName string Name of the input zone. Optional.
$szValue string Value of the control. Optional.
$szControlSource string Control source (field). Optional.
Parameters Warning

__construct() uses 5 parameters whereas the suggested limit is 3.

Example(s)
$oForm              = new LSForm( 'frmSearch' );
$oForm->NoECMA      = true;

$oFieldset          = new LSFieldset( 'set1',null," [ Search Form ] " );
$oFieldset->szStyle = 'border:1px solid #800;';

$oFieldset->AddObject( new LSLabel( 'lblSearch' ,'lblSearch','Search:' ) );
$oFieldset->AddObject( new LSInput( 'textbox'   ,'txtSearch','txtSearch' ) );
$oFieldset->AddObject( new LSInput( 'submit'    ,'cmdGo'    ,'cmdGo'    ,'Go!' ) );

$oFieldset->SetAll( 'label'  ,'szStyle','display:inline-block;width:15em;font-size:0.8em;' );
$oFieldset->SetAll( 'textbox','szStyle','width:25em;' );
$oFieldset->SetAll( 'submit','szStyle','margin-left:1em;' );

$oFieldset->cmdGo->szCaption        = 'Go!';

$lblSearch                          = $oFieldset->lblSearch;
$lblSearch->szFor                   = $oFieldset->txtSearch;
$lblSearch->szTooltip               = $lblSearch->AutoTooltip();
$oFieldset->txtSearch->szTooltip    = "Indicate the terms to look for";

$oForm->szStyle = 'width:50%;margin:1.5em 0;';
$oForm->AddObject( $oFieldset );

$oForm->szOnSubmit = 'return false;';

echo $oForm;
Example Executed
$txtName            = new LSInput( 'text','txtName','txtName' );
$txtName->szTrailer = '<br />';
$lblName            = new LSLabel( 'Name:' );
$lblName->szStyle   = 'font: arial;display:inline-block;width:8em;margin-right:1em;color:#000;text-align:right;';
$lblName->szFor     = $txtName;

echo $szHTML = $lblName . $txtName;

echo LSUnitTesting::assert( preg_match( '/<input(.*)\/>/si',$szHTML )               ,
                            'ASSERTION SUCCESSFUL: input zone seems to be correct'  ,
                            'ASSERTION FAILURE: incorrect input zone'               ,
                            'GuideAssert' );


$cboName            = new LSInput( 'combo','cboOptions','cboOptions' );
$cboName->AddOption( 'Option 1','8a5a301a-6d74-42b7-aee3-e1356c7bdbb3' );
$cboName->AddOption( 'Option 2','8630fc20-4431-42ee-87a9-869846f07574' );
$cboName->AddOption( 'Option 3','165039ce-d631-41fc-94d8-4c9b58602fce' );
$lblName->szCaption = 'Option:';

$lblName->szFor     = $cboName;

echo $szHTML = $lblName . $cboName;

echo LSUnitTesting::assert( preg_match( '/<select(.*)><\/select>/si',$szHTML )      ,
                            'ASSERTION SUCCESSFUL: select zone seems to be correct' ,
                            'ASSERTION FAILURE: incorrect select zone'              ,
                            'GuideAssert' );


GuideAssert() ... ASSERTION SUCCESSFUL: input zone seems to be correct

GuideAssert() ... ASSERTION SUCCESSFUL: select zone seems to be correct

Unit Testing

2 assertions: 2 successful; 0 failed

__toString(): Allows the class to decide how it will react when it is treated like a string. A call to Render() is performed.

[ back to method list ]

Syntax

__toString()

Parameters

None

Return

(string) HTML code that represents the calculator

Assertions

true === true successful

Unit Testing

1 assertions: 1 successful; 0 failed

AddObject(): Add a control to the list of controls

[ back to method list ]

Syntax

AddObject( $oControl )

Parameters
NameTypeDescription
$oControl object The control to be added to the current control.
Return

(void)

Unit Testing

WARNING: No Unit Testing found. Please provide assertions with assertion constructs ({*assert ... *}) or with GuideAssert() function calls in exec constructs ({*exec LSUnitTesting::assert(...); *}).

PROTECTED BuildAutocomplete(): Builds an autocomplete attribute

[ back to method list ]

Created: 20/07/2012 19:02

Since version 5.0.0005

Modified: 19/04/2014 23:47 } {*noassert

Author

Syntax

BuildAutocomplete( $oForm )

Parameters
NameTypeDescription
$oForm LSForm The form the control belongs to
Return

(string) The autocomplete attribute

Assertions

true === true successful

Unit Testing

1 assertions: 1 successful; 0 failed

PROTECTED BuildAutofocus(): Builds an autofocus attribute

[ back to method list ]

Created: 20/07/2012 17:23

Since version 5.0.0005

Syntax

BuildAutofocus( $oForm )

Parameters
NameTypeDescription
$oForm LSForm The form the control belongs to
Return

(string) The autofocus attribute

Unit Testing

WARNING: No Unit Testing found. Please provide assertions with assertion constructs ({*assert ... *}) or with GuideAssert() function calls in exec constructs ({*exec LSUnitTesting::assert(...); *}).

PROTECTED BuildHiddenName(): Builds a hidden name

[ back to method list ]

Created: 20/07/2012 17:23

Since version 5.0.0005

Warning

Not to be used in a production environment (03-09-13 12:32:21). [c]WithPreviousValues[/c] drives the behavior of this method

Syntax

BuildHiddenName( $oForm )

Parameters
NameTypeDescription
$oForm LSForm The form the control belongs to. Optional.
Return

(string) The 'name' attribute (previous value of the control)

Unit Testing

WARNING: No Unit Testing found. Please provide assertions with assertion constructs ({*assert ... *}) or with GuideAssert() function calls in exec constructs ({*exec LSUnitTesting::assert(...); *}).

BuildList(): Builds a list of ID to a ... structure

[ back to method list ]

Created: 20/07/2012 19:02

Since version 5.0.0005

Modified: 20/04/2014 01:15 } {*noassert

Author

Syntax

BuildList( $oForm )

Parameters
NameTypeDescription
$oForm LSForm The form the control belongs to. Optional. null by default
Return

(string) The "list" attribute of the control (ready to be used in a datalist)

Assertions

true === true successful

Unit Testing

1 assertions: 1 successful; 0 failed

PROTECTED BuildPlaceholder(): Builds a placeholder (hint to a zone)

[ back to method list ]

Created: 22/07/2012 20:47

Since version 5.0.0005

Syntax

BuildPlaceholder( $oForm )

Parameters
NameTypeDescription
$oForm LSForm The form the control belongs to. Optional.
Return

(string) The 'placeholder' attribute ...

Unit Testing

WARNING: No Unit Testing found. Please provide assertions with assertion constructs ({*assert ... *}) or with GuideAssert() function calls in exec constructs ({*exec LSUnitTesting::assert(...); *}).

PROTECTED BuildRequired(): Builds a required attribute

[ back to method list ]

Created: 20/07/2012 17:23

Since version 5.0.0005

Remark

A __chkNotEmpty call is added on the onblur event of the input zone.

Syntax

BuildRequired( $oForm )

Parameters
NameTypeDescription
$oForm LSForm The form the control belongs to. Optional.
Return

(string) The 'required' attribute

Unit Testing

WARNING: No Unit Testing found. Please provide assertions with assertion constructs ({*assert ... *}) or with GuideAssert() function calls in exec constructs ({*exec LSUnitTesting::assert(...); *}).

Render(): Renders an input control, either in "edit" or in "view" mode (default mode).

[ back to method list ]

Modified: 20/04/2014 08:17 } {*noassert

Author

Syntax

Render( $o1,$o2,$szMode )

Parameters
NameTypeDescription
$o1 LSForm The form the control belongs to. Optional. null by default.
$o2 LSFieldset The fieldset the control belongs to Optional. null by default.
$szMode string Mode the control must be rendered in. "view" by default.
Return

(string) HTML code of the control

Assertions

true === true successful

Unit Testing

1 assertions: 1 successful; 0 failed

RenderEdit(): Renders an input control in "edit" mode

[ back to method list ]

Modified: 20/04/2014 08:17

Author

Warning

This method is no different compared to [c]RenderView()[/c] (20-04-14 08:30:39)

Syntax

RenderEdit( $o1,$o2 )

Parameters
NameTypeDescription
$o1 LSForm The form the control belongs to. Optional. null by default.
$o2 LSFieldset The fieldset the control belongs to Optional. null by default.
Return

(string) HTML code of the control

Assertions

true === true successful

Unit Testing

1 assertions: 1 successful; 0 failed

PROTECTED RenderPattern(): Builds the 'pattern' attribute of the input zone

[ back to method list ]

Syntax

RenderPattern( $szType )

Parameters
NameTypeDescription
$szType string Control type. Optional. null by default.
Return

(string) 'pattern' clause of the control

Unit Testing

WARNING: No Unit Testing found. Please provide assertions with assertion constructs ({*assert ... *}) or with GuideAssert() function calls in exec constructs ({*exec LSUnitTesting::assert(...); *}).

RenderView(): Renders an input zone in "view" mode

[ back to method list ]

Modified: 20/04/2014 08:37

Author

Syntax

RenderView( $o1,$o2 )

Parameters
NameTypeDescription
$o1 LSForm The form the control belongs to. Optional. null by default.
$o2 LSFieldset The fieldset the control belongs to. Optional. null by default.
Return

(string) HTML code of the control

Assertions

true === true successful

Unit Testing

1 assertions: 1 successful; 0 failed

TreatTags(): Treat internal tags partially based on bbcodes

[ back to method list ]

Docs

So far the following list of codes is treated by Vae Soli!:

pre ... -> <pre>
/pre ... -> </pre>
p ... -> <p>
/p ... -> </p>
b ... -> <strong>
/b ... -> </strong>
i ... -> <em>
/i ... -> </em>
code ... -> <code>
/code ... -> </code>
a ... -> <a>
/a ... -> </a>
Vae Soli! will better implement bbcodes in the future based on the following list:

Syntax

TreatTags( $szValue )

Parameters
NameTypeDescription
$szValue string The value whose bbcodes will be turned to their HTML equivalents.
Unit Testing

WARNING: No Unit Testing found. Please provide assertions with assertion constructs ({*assert ... *}) or with GuideAssert() function calls in exec constructs ({*exec LSUnitTesting::assert(...); *}).

LSLInput extends LSInputInput + label

Parent Properties (LSInput)
NameType
Autocomplete boolean
Autofocus boolean
Databag boolean
IsHTML5 boolean
IsMandatory boolean
IsReadonly boolean
IsVisible boolean
PostRenderFnc NULL
PreRenderFnc NULL
aControls array
aGenes NULL
aHTML5Match array
aOnClauses array
iAlignment integer
iHeight NULL
iIndentLevel integer
iIndentSpaces integer
iInstance integer
iInstances integer
iLeft NULL
iLevel integer
iMaxLength NULL
iSize NULL
iTop NULL
iWidth NULL
oContainer NULL
szBrowser string
szClass NULL
szComment NULL
szControlSource NULL
szDataSource NULL
szDesc NULL
szErrorMsg string
szGUID NULL
szGetDataFnc NULL
szID NULL
szInnerLeader NULL
szInnerTrailer NULL
szInputMask string
szLang string
szLanguage NULL
szLeader NULL
szList NULL
szName NULL
szOnBlur NULL
szOnChange NULL
szOnClick NULL
szOnFocus NULL
szOnKeyDown NULL
szOnKeyPress NULL
szOnKeyUp NULL
szOnLoad NULL
szOnMouseOver NULL
szOnSelect NULL
szOnSubmit NULL
szOnUnLoad NULL
szPixels string
szPlaceHolder NULL
szPlatform string
szSetDataFnc NULL
szStyle NULL
szText NULL
szTitle NULL
szTooltip NULL
szTrailer NULL
szType NULL
szValue string
xGetDefault NULL
xSetDefault NULL

Précédent Suivant

D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php:3658:
object(LogicException)[82]
  protected 'message' => string 'Class LSContentsShare could not be loaded' (length=41)
  private 'string' (Exception) => string '' (length=0)
  protected 'code' => int 0
  protected 'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
  protected 'line' => int 3587
  private 'trace' (Exception) => 
    array (size=15)
      0 => 
        array (size=4)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
          'line' => int 3587
          'function' => string 'spl_autoload' (length=12)
          'args' => 
            array (size=1)
              ...
      1 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
          'line' => int 3262
          'function' => string 'EmergeIsland' (length=12)
          'class' => string 'LSGeorama' (length=9)
          'type' => string '->' (length=2)
          'args' => 
            array (size=6)
              ...
      2 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
          'line' => int 2756
          'function' => string 'EmergeIslands' (length=13)
          'class' => string 'LSGeorama' (length=9)
          'type' => string '->' (length=2)
          'args' => 
            array (size=5)
              ...
      3 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php' (length=72)
          'line' => int 2994
          'function' => string 'EmergeArchipelagosFromParent' (length=28)
          'class' => string 'LSGeorama' (length=9)
          'type' => string '->' (length=2)
          'args' => 
            array (size=3)
              ...
      4 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 5928
          'function' => string 'EmergeArchipelagos' (length=18)
          'class' => string 'LSGeorama' (length=9)
          'type' => string '->' (length=2)
          'args' => 
            array (size=2)
              ...
      5 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\template\vaesoli.html' (length=58)
          'line' => int 111
          'function' => string 'Land' (length=4)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      6 => 
        array (size=4)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 6110
          'args' => 
            array (size=1)
              ...
          'function' => string 'include' (length=7)
      7 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 6053
          'function' => string 'XInclude' (length=8)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      8 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 5828
          'function' => string 'IncludeTemplate' (length=15)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      9 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 5580
          'function' => string 'UseTemplate' (length=11)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      10 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 3282
          'function' => string 'RenderXML' (length=9)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      11 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSPage.class.php' (length=69)
          'line' => int 2082
          'function' => string 'StartPage' (length=9)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              ...
      12 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSApplication.class.php' (length=76)
          'line' => int 814
          'function' => string 'Render' (length=6)
          'class' => string 'LSPage' (length=6)
          'type' => string '->' (length=2)
          'args' => 
            array (size=0)
              ...
      13 => 
        array (size=6)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\master.php' (length=47)
          'line' => int 8
          'function' => string 'Run' (length=3)
          'class' => string 'LSApplication' (length=13)
          'type' => string '->' (length=2)
          'args' => 
            array (size=0)
              ...
      14 => 
        array (size=4)
          'file' => string 'D:\websites\vaesoli.org\www\httpdocs\documentation\documentation-vaesoli-code-source.php' (length=88)
          'line' => int 1
          'args' => 
            array (size=1)
              ...
          'function' => string 'include' (length=7)
  private 'previous' (Exception) => null
  public 'xdebug_message' => string '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> LogicException: Class LSContentsShare could not be loaded in D:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSGeorama.class.php on line <i>3587</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</t'... (length=6277)