PHP Classes

class improvement

Recommend this page to a friend!

      PHP IP Address of User  >  All threads  >  class improvement  >  (Un) Subscribe thread alerts  
Subject:class improvement
Summary:class improvement
Messages:3
Author:Jan Altensen
Date:2014-03-03 17:25:58
Update:2014-03-12 12:23:48
 

  1. class improvement   Reply   Report abuse  
Picture of Jan Altensen Jan Altensen - 2014-03-03 17:25:58
here is a small class improvement https://gist.github.com/Stricted/fa2a9a78f8a08dae354e

  2. Re: class improvement   Reply   Report abuse  
Picture of Archzilon Eshun-Davies Archzilon Eshun-Davies - 2014-03-03 17:53:40 - In reply to message 1 from Jan Altensen
Thanks for your beautification but I think author is known else you would not have sent this to me and license is BSD License.

Also the class is written in OOP style and that's why there's an interface, the variable TEST is there so it does not execute all the time when you just want to include the class. I use a 80x24 terminal so that's why i don't write into infinity and beyond.

Thanks again for using my script.

Regards
laudarch

  3. Re: class improvement   Reply   Report abuse  
Picture of Jan Altensen Jan Altensen - 2014-03-12 12:23:48 - In reply to message 2 from Archzilon Eshun-Davies
updated

i know the purposes of interfaces but for only 1 class you dont really need them