Talk:Conditional Validates

From Achievo/ATK Wiki

Jump to: navigation, search

Rather addFlag than m_flags?

You wrote:

// Make the passport number obligatory $passportAttr->m_flags |= AF_OBLIGATORY;

Isn't m_flags only usable for node flags?

Has it to be rather $passportAttr->addFlag(AF_OBLIGATORY);


  • You're right, I've fixed the code sample. --Ivo 20:27, 21 July 2006 (CEST)
Personal tools
Navigation