openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

Helper.class.php (361B)


      1 <?php
      2 
      3 
      4 namespace dsl\standard;
      5 
      6 
      7 class Helper
      8 {
      9     public static function getHelp( $obj ) {
     10 
     11         return 'Object properties: '.implode(', ',array_map(function($property) { return ''.$property; },get_object_vars($obj))).';'.
     12             ' methods: '.implode(', ',array_map(function($property) { return ''.$property.'()'; },get_class_methods($obj)));
     13     }
     14 }