lgyers / firephp

Automatically exported from code.google.com/p/firephp
0 stars 0 forks source link

Use PHP doc in FirePHP #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please, add php doc in FirePHP class (at least for public methods). This
will allow completion in editors like PDT, ZendStudio etc...

Eg:

/**
   * Get instance of singleton FirePHP
   *
   * @param boolean $AutoCreate
   * @return FirePHP
   */
  public static function getInstance($AutoCreate=false) {
    if($AutoCreate===true && !self::$instance) {
      self::init();
    }
    return self::$instance;
  }

In another file, if you do 
$foo = FirePHP::GetInstanc(true);
$foo-><Completion available for public members>

Original issue reported on code.google.com by tit...@gmail.com on 3 Oct 2008 at 7:18

GoogleCodeExporter commented 9 years ago
Is this something you would be interested in contributing? The 0.2 general 
release is
panned to go out later this week. It would be great to get this done before 
then.

Original comment by christ...@christophdorn.com on 5 Oct 2008 at 7:09

GoogleCodeExporter commented 9 years ago
This is now done and will be included in the next release.

Original comment by christop...@gmail.com on 5 Oct 2008 at 9:35

GoogleCodeExporter commented 9 years ago
Sorry to answer only now, but it was weekend :).
I would say yes but your faster than me. 
Thanks for that, it will make firePhp clas really easier to use.

Original comment by tit...@gmail.com on 6 Oct 2008 at 6:37

GoogleCodeExporter commented 9 years ago

Original comment by christ...@christophdorn.com on 22 Oct 2008 at 5:12