Hi, I'm fairly new to symfony, and have found the migration from Java/ Struts/SiteMesh fairly easy as the same concepts all apply. However, I'm struggling to find a simple answer to a fairly silly question.
If I get a row from the db, how do I check if the value is blank/ null? Ex: $object->getUserId() I can't use PHP's empty() function as that works only on variables themselves. I figured there must be a class in symfony that allows this, but can't find anything! The closest I found was the sfStringValidator, but the isEmpty() method is protected, which means I can't use it unless I subclass my own, etc... Is there not an easier way?! I can't imagine no one has encountered this before? Thanks! Eric -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en