Niouzes

< Octobre 2018 >
Lu Ma Me Je Ve Sa Di
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

Citation

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.

2018-10-14 à 17:13:57

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) (14/10/2018)
  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)

LSAutoload.php

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

The download page of Vae Soli! contains all sources of the framework.

Additional samples are available on the samples page of Vae Soli!.

File Properties

C:\websites\vaesoli.org\www\httpdocs/vaesoli/include/LSAutoload.phpC:\websites\vaesoli.org\www\httpdocs\vaesoli\include\LSAutoload.phpapplication/force-downloadC:\websites\vaesoli.org\www\httpdocs\vaesoli\include14007 bytes03/08/2013 23:27:4824/01/2014 11:56:0224/01/2014 11:56:02

Compliance

Assertions count: 0

Assertions successful: 0

Assertion failures: 0

0001 ... <?php
0002 ... /**************************************************************************/
0003 ... /** {{{*fheader
0004 ...     {*file                  LSAutoload.class.php *}
0005 ...     {*purpose               Service to load classes automatically *}
0006 ...     {*author                 *}
0007 ...     {*company               Lato Sensu Management
0008 ...                             Rue Bois des Mazuis, 47
0009 ...                             5070 Vitrival
0010 ...                             Belgium (BE)
0011 ...                             [url]http://www.latosensu.be[/url][br]
0012 ...                             Vae Soli! : [url]http://www.vaesoli.org[/url] *}
0013 ...     {*cdate                 30/04/2008 - 11:20 *}
0014 ...     {*mdate                 auto *}
0015 ...     {*license               [url]http://creativecommons.org/licenses/by-sa/2.0/be/[/url][br]
0016 ... 
0017 ...                             To obtain detailed information about the license
0018 ...                             terms, please head to the full license text
0019 ...                             available in the [file]LSCopyright.php[/file] file *}
0020 ... 
0021 ...     ------------------------------------------------------------------------
0022 ...     Changes History:
0023 ...     ------------------------------------------------------------------------
0024 ... 
0025 ...     {*chist
0026 ...         {*mdate 06/05/2008 *}
0027 ...         {*v 1.1.0515 *}
0028 ...         {*desc              1)  All comments before this release have been
0029 ...                                 eliminated (for tracking purposes, please
0030 ...                                 head to the Vae Soli! archive
0031 ...                                 (vaesoli-1.1.0501.zip)
0032 ...         *}
0033 ...     *}
0034 ... 
0035 ...     {*chist
0036 ...         {*mdate 08/01/2009 *}
0037 ...         {*v 2.0.0000 *}
0038 ...         {*desc              1)  Shrinking Vae Soli! features to concentrate
0039 ...                                 on the fundamentals (many features have been
0040 ...                                 put on hold: they will be integrated one by 
0041 ...                                 one when their code will be entirey finished
0042 ...                                 instead of having them not doig what they're
0043 ...                                 supposed to do)                             
0044 ...         *}
0045 ...     *}
0046 ... 
0047 ...     {*chist
0048 ...         {*mdate 15/03/2009 *}
0049 ...         {*v 2.0.0005 *}
0050 ...         {*desc              1)  Support for third-party plug-ins
0051 ...         *}
0052 ...     *}
0053 ... 
0054 ...     {*chist
0055 ...         {*mdate 10/04/2009 *}
0056 ...         {*v 2.0.0009 *}
0057 ...         {*desc              1)  Adding LSContentsComments and LSContentsAddComment
0058 ...         *}
0059 ...     *}
0060 ... 
0061 ...     {*chist
0062 ...         {*mdate 08/05/2009 *}
0063 ...         {*v 2.1.0000 *}
0064 ...         {*desc              1)  Adding LSContentsImageGallery and LSImageGallery
0065 ...         *}
0066 ...     *}
0067 ... 
0068 ...     {*chist
0069 ...         {*mdate 26/07/2009 *}
0070 ...         {*v 2.1.0000 *}
0071 ...         {*desc              1)  Adding LSUserMgr (and LSUser is now contained
0072 ...                                 in LSUserMgr.class.php)                      
0073 ...                             2)  LSImageGallery was mentoned twice. This is   
0074 ...                                 now corrected.                               
0075 ...         *}
0076 ...     *}
0077 ... 
0078 ...     {*chist
0079 ...         {*mdate 07/02/2010 *}
0080 ...         {*v 2.5.0001 *}
0081 ...         {*desc              1)  Corrections needed for release 2.4.* and beyond
0082 ...         *}
0083 ...     *}
0084 ... 
0085 ...     {*chist
0086 ...         {*mdate 18/08/2013 - 10:13 *}
0087 ...         {*v 5.4.0011 *}
0088 ...         {*desc              1)  LSContentsBusinessOff externalized
0089 ...                             2)  Comments à la guide
0090 ...         *}
0091 ...     *}
0092 ... 
0093 ...     *}}} */
0094 ... /**************************************************************************/
0095 ... if ( ! defined( 'VAESOLI_PATH' ) )                                  /* If the path is not defined yet */
0096 ... {
0097 ...     /* {*define (VAESOLI_PATH)  Define the path where Vae Soli! is installed *} */
0098 ...     define( 'VAESOLI_PATH',__DIR__ );
0099 ... }   /* if ( ! defined( 'VAESOLI_PATH' ) ) */
0100 ... 
0101 ... if ( ! defined( 'VAESOLI_PLUGINS' ) )                               /* If the path is not defined yet */
0102 ... {
0103 ...     /* {*define (VAESOLI_PLUGINS)  Define the path where plugins are located *} */
0104 ...     define( 'VAESOLI_PLUGINS',VAESOLI_PATH . '/../plugins' );
0105 ... }   /* if ( ! defined( 'VAESOLI_PLUGINS' ) ) */
0106 ... 
0107 ... /* ====================================================================== */
0108 ... /** {{*__autoload( $szClass )=
0109 ... 
0110 ...     Autoloads a class
0111 ... 
0112 ...     {*params
0113 ...         $szClass    (string)    The class to be autoloaded
0114 ...     *}
0115 ... 
0116 ...     {*return
0117 ...         (void)
0118 ...     *}
0119 ... 
0120 ...     *}}
0121 ...  */
0122 ... /* ====================================================================== */
0123 ... function __autoload( $szClass )
0124 ... /*---------------------------*/
0125 ... {
0126 ...     try
0127 ...     {
0128 ...         //echo "<p style=\"color:red;font-size:1.6em;\">Je passe par l'autoload pour {$szClass}</p>\n";
0129 ...         switch ( strtolower( $szClass ) )
0130 ...         {
0131 ...             case    'lsbag'                         :   require_once( VAESOLI_PATH . '/LSApplication.class.php' );
0132 ...                                                         break;
0133 ...             case    'lscontentsimagegallery'        :
0134 ...             case    'lsimagegallery'                :   require_once( VAESOLI_PATH . '/LSContentsImageGallery.class.php' );
0135 ...                                                         break;
0136 ...             case    'lsimagetrans'                  :   require_once( VAESOLI_PATH . '/LSImage.class.php' );
0137 ...                                                         break;
0138 ...             case    'lscolumn'                      :   require_once( VAESOLI_PATH . '/LSGrid.class.php' );
0139 ...                                                         break;
0140 ...             case    'lscontentsratesreviews'        :
0141 ...             case    'lscontentsaggregateratesreviews':  require_once( VAESOLI_PATH . '/LSContentsRatesReviews.class.php' );
0142 ...                                                         break;
0143 ...             case    'lscontentssearchgoogle'        :
0144 ...             case    'lscontentssearchnutchresults'  :
0145 ...             case    'lscontentssearchnutch'         :   require_once( VAESOLI_PATH . '/LSContentsSearch.class.php' );
0146 ...                                                         break;
0147 ...             case    'lscontentsslideshow'           :   require_once( VAESOLI_PATH . '/LSContentsMedia.class.php' );
0148 ...                                                         break;
0149 ...             case    'lscontentsaddcomment'          :   require_once( VAESOLI_PATH . '/LSContentsComments.class.php' );
0150 ...                                                         break;
0151 ...             case    'lscontentsmicroblogadd'        :
0152 ...             case    'lscontentsmicrobloglist'       :   require_once( VAESOLI_PATH . '/LSContentsMicroblogAdd.class.php' );
0153 ...                                                         break;
0154 ...             case    'lscontentstweeple'             :
0155 ...             case    'lscontentstwitterfollowers'    :   require_once( VAESOLI_PATH . '/LSContentsTweets.class.php' );
0156 ...                                                         break;
0157 ...             case    'lsinvalidloginexception'       :   require_once( VAESOLI_PATH . '/LSLogin.class.php' );
0158 ...                                                         break;
0159 ...             case    'lsuser'                        :   require_once( VAESOLI_PATH . '/LSUserMgr.class.php' );
0160 ...                                                         break;
0161 ...             case    'lsmedia'                       :   require_once( VAESOLI_PATH . '/LSContentsMedia.class.php' );
0162 ...                                                         break;
0163 ...             case    'lsrate'                        :   require_once( VAESOLI_PATH . '/LSContentsRatesReviews.class.php' );
0164 ...                                                         break;
0165 ...             case    'lscontentstwitterfollowers'    :   require_once( VAESOLI_PATH . '/LSContentsTweets.class.php' );
0166 ...                                                         break;
0167 ...             case    'lsmarker'                      :
0168 ...             case    'lstimeline2'                   :   require_once( VAESOLI_PATH . '/LSTimeline.class.php' );
0169 ...                                                         break;
0170 ...             case    'lswidgetbusinessoff'           :   require_once( VAESOLI_PATH . '/LSWidgetOpeningHours.class.php' );
0171 ...                                                         break;
0172 ...             case    'lscontentsbusinessoff'         :   require_once( VAESOLI_PATH . '/LSWidgetOpeningHours.class.php' );
0173 ...                                                         break;
0174 ...             case    'lsxhtmlemptyelement'           :
0175 ...             case    'lsxhtmla'                      :
0176 ...             case    'lsxhtmlabbr'                   :
0177 ...             case    'lsxhtmlacronym'                :
0178 ...             case    'lsxhtmladdress'                :
0179 ...             case    'lsxhtmlarea'                   :
0180 ...             case    'lsxhtmlblockquote'             :
0181 ...             case    'lsxhtmlbody'                   :
0182 ...             case    'lsxhtmlbr'                     :
0183 ...             case    'lsxhtmlbutton'                 :
0184 ...             case    'lsxhtmlcaption'                :
0185 ...             case    'lsxhtmlcite'                   :
0186 ...             case    'lsxhtmlcode'                   :
0187 ...             case    'lsxhtmlcol'                    :
0188 ...             case    'lsxhtmlcolgroup'               :
0189 ...             case    'lsxhtmldd'                     :
0190 ...             case    'lsxhtmldel'                    :
0191 ...             case    'lsxhtmldfn'                    :
0192 ...             case    'lsxhtmldl'                     :
0193 ...             case    'lsxhtmldt'                     :
0194 ...             case    'lsxhtmlem'                     :
0195 ...             case    'lsxhtmlfieldset'               :
0196 ...             case    'lsxhtmlform'                   :
0197 ...             case    'lsxhtmlh'                      :
0198 ...             case    'lsxhtmlhead'                   :
0199 ...             case    'lsxhtmlhr'                     :
0200 ...             case    'lsxhtmlhtml'                   :
0201 ...             case    'lsxhtmlimg'                    :
0202 ...             case    'lsxhtmlinput'                  :
0203 ...             case    'lsxhtmlins'                    :
0204 ...             case    'lsxhtmlkbd'                    :
0205 ...             case    'lsxhtmllabel'                  :
0206 ...             case    'lsxhtmllegend'                 :
0207 ...             case    'lsxhtmlli'                     :
0208 ...             case    'lsxhtmllink'                   :
0209 ...             case    'lsxhtmlmap'                    :
0210 ...             case    'lsxhtmlmenu'                   :
0211 ...             case    'lsxhtmlmeta'                   :
0212 ...             case    'lsxhtmlol'                     :
0213 ...             case    'lsxhtmlp'                      :
0214 ...             case    'lsxhtmlpre'                    :
0215 ...             case    'lsxhtmlq'                      :
0216 ...             case    'lsxhtmlspan'                   :
0217 ...             case    'lsxhtmlstrong'                 :
0218 ...             case    'lsxhtmltable'                  :
0219 ...             case    'lsxhtmltextarea'               :
0220 ...             case    'lsxhtmlul'                     :
0221 ...             case    'lsxhtmlrem'                    :   require_once( VAESOLI_PATH . '/LSXHtml.class.php'           );          /* XHTML elements */
0222 ...                                                         break;
0223 ...             default                                 :   //echo "\n\n<p style=\"color:blue;font-size:1.6em;\">Besoin de {$szClass} dans " . __METHOD__ . " at line " . __LINE__ . "</p>\n\n";
0224 ...                                                         if ( is_file( VAESOLI_PATH . "/{$szClass}.class.php" ) )
0225 ...                                                         {
0226 ...                                                             //echo "\n\n<p style=\"color:blue;font-size:1.6em;\">Trouvé " . VAESOLI_PATH . "/{$szClass}.class.php dans " . __METHOD__ . " at line " . __LINE__ . "</p>\n\n";
0227 ...                                                             require_once( VAESOLI_PATH . "/{$szClass}.class.php" );
0228 ...                                                         }
0229 ...                                                         if ( is_file( VAESOLI_PATH . "/{$szClass}.ds.class.php" ) )
0230 ...                                                         {
0231 ...                                                             //echo "\n\n<p style=\"color:blue;font-size:1.6em;\">Trouvé " . VAESOLI_PATH . "/{$szClass}.class.php dans " . __METHOD__ . " at line " . __LINE__ . "</p>\n\n";
0232 ...                                                             require_once( VAESOLI_PATH . "/{$szClass}.ds.class.php" );
0233 ...                                                         }
0234 ...                                                         else if ( is_file( VAESOLI_PLUGINS . "/{$szClass}.class.php" ) )
0235 ...                                                         {
0236 ...                                                             require_once( VAESOLI_PLUGINS . "/{$szClass}.class.php" );
0237 ...                                                         }
0238 ...                                                         else if ( is_file( VAESOLI_PLUGINS . "/{$szClass}.ds.class.php" ) )
0239 ...                                                         {
0240 ...                                                             require_once( VAESOLI_PLUGINS . "/{$szClass}.ds.class.php" );
0241 ...                                                         }
0242 ...                                                         //else
0243 ...                                                         //{
0244 ...                                                             //echo "\n\n<p style=\"color:blue;font-size:1.6em;\">Pas trouvé {$szClass}.class.php dans " . __METHOD__ . " at line " . __LINE__ . "</p>\n\n";
0245 ...                                                         //}
0246 ...                                                         break;
0247 ...         }   /* switch ( strtolower( $szClass ) ) */
0248 ...     }   /* try */
0249 ... 
0250 ...     catch ( LSException $e )
0251 ...     {
0252 ...         //echo "Exception thrown";
0253 ...         // there is nothing to do at this stage
0254 ...     }   /* catch ( LSException $e ) */
0255 ... 
0256 ...     //echo "<p>Je suis passé par __autoload</p>";
0257 ... }   /* End of function __autoload() */
0258 ... ?>

Manifest Constants

VAESOLI_PATH: Define the path where Vae Soli! is installed

VAESOLI_PLUGINS: Define the path where plugins are located

UltraEdit Syntax files

  1. UltraEdit keywords of LSAutoload.php
  2. UltraEdit Syntax of LSAutoload.php

Function List (TOC)

  1. __autoload(): Autoloads a class __autoload() does not have direct assertions}

Functions of LSAutoload.php

__autoload(): Autoloads a class

[ back to function list ]

Syntax

__autoload( $szClass )

Parameters
NameTypeDescription
$szClass string The class to be autoloaded
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 ... *}).

Précédent Suivant