Jump to content

Talk:Conditional Validates: Difference between revisions

From NusaATK
Miguel (talk | contribs)
No edit summary
 
No edit summary
 
Line 10: Line 10:
Has it to be rather  
Has it to be rather  
$passportAttr->addFlag(AF_OBLIGATORY);
$passportAttr->addFlag(AF_OBLIGATORY);
* You're right, I've fixed the code sample. --[[User:Ivo|Ivo]] 20:27, 21 July 2006 (CEST)

Latest revision as of 18:27, 21 July 2006

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)