ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Am I missing something?

June 04, 2008 12:44am

Subscribe [2]
  • #1 / Jun 04, 2008 12:44am

    Brandon Dickson

    14 posts

    It seems to me that many pieces of php code I’ve come across don’t utilize magic methods, and I’m curious as to why. 

    It seems that it would be more efficient to use clever __get() and __set() methods, even within CI’s base code (I’m not knocking it, its fabulous, after working in .NET)  but I was wondering why i don’t see them used more often.

    Any comments?

    -Brandon

  • #2 / Jun 04, 2008 10:45am

    Majd Taby

    637 posts

    codeigniter supports php4, which doesn’t support __get and __set

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases