Skip to main content

Posts

Showing posts with the label PHP

multiple constructors with type signetures (almost overloading):

<?php  public function  __construct () {          $args  =  func_get_args ();          $argsStr  =  '' ;         foreach ( $args  as  $arg ) {              $argsStr  .=  '_'  .  gettype ( $arg );         }         if ( method_exists ( $this ,  $constructor  =  '__construct'  .  $argsStr ))              call_user_func_array (array( $this ,  $constructor ),  $args );         else             throw new  Exception ( 'NO CONSTRUCTOR: '  .  get_class () .  $constructor ,  NULL ,  NULL );     } public function  __construct_integer ( $a ) {} public function  __construct_string ( $a ) {} public function  __construct_integer_string ( $a ,  $b ) {} public function  __construct_string_integer ( $a ,  $b ) {}  ?>

TOP PHP CMS

1. DynPage  2. DynPG   3. Havalite   4. Elxis  5. Kajona  6. Lemon CMS   7. LitePublisher  8. eliteCMS  9. Mac’s CMS  10. PHP-Fusion  11. phpWarmSky  12. PivotX  13. EmbryoCore  14. Pixie  15. Podcast Generator  16. Precurio  17. GuppY  18. Redaxscript  19. Primitive CMS  20. glFusion  21. ProcessWire  22. ecoCMS  23. Gekko Web Builder  24. Section CMS  25. Seagull  26. RhinOS  27. FuzzyLime  28. SilverStripe  29. SoftXMLCMS  30. Hippo CMS  31. Spitfire  32. Fundanemt   33. SyndeoCMS  34. Horizon QCMS  35. synType CMS  36. TangoCMS  37. Fruml Content Manager  38. The Pacer Edition CMS  39. Tiki Wiki CMS Groupware  40. Fork CMS  41. Hotaru CMS  42. TRIBiQ CMS  43. TrioEditor CMS  44. Exponent  45. TYPO3  46. html-edit CMS  47. Vesthelm Engine  48. Escher CMS  49. WalrusCMS  50. Icy Phoenix  51. web@all CMS  52. Enano CMS  53. Webmatic  54. ImpressCMS  55. Jumbo  56. JAKCMS  57. Joostina CMS  58. Jaws  59. Joomla  60. e107  61