Login   Register  
PHP Classes
elePHPant
Icontem

Common class GetProperty method

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      PHP common data gateway  >  All threads  >  Common class GetProperty method  >  (Un) Subscribe thread alerts  
Subject:Common class GetProperty method
Summary:Returning null value for missing property
Messages:1
Author:Vallo Reima
Date:2013-09-10 06:15:15
 

  1. Common class GetProperty method   Reply   Report abuse  
Picture of Vallo Reima
Vallo Reima
2013-09-10 06:15:15
The common object may use property overloading (__get/__set). Checking for missing property's value via isset() function by GetProperty results with error if you don't supply __isset() magic method in this common object's class.