Browse Source

Compiler: added flag 'mandatory'

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1772 a333f486-631f-4898-b8df-5754b55c2be0
romainq 13 years ago
parent
commit
65f0068aeb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      setup/compiler.class.inc.php

+ 1 - 0
setup/compiler.class.inc.php

@@ -312,6 +312,7 @@ EOF;
 	protected function FlagsToPHP($oAttNode)
 	protected function FlagsToPHP($oAttNode)
 	{
 	{
 		static $aNodeAttributeToFlag = array(
 		static $aNodeAttributeToFlag = array(
+			'mandatory' => 'OPT_ATT_MANDATORY',
 			'read_only' => 'OPT_ATT_READONLY',
 			'read_only' => 'OPT_ATT_READONLY',
 			'must_prompt' => 'OPT_ATT_MUSTPROMPT',
 			'must_prompt' => 'OPT_ATT_MUSTPROMPT',
 			'must_change' => 'OPT_ATT_MUSTCHANGE',
 			'must_change' => 'OPT_ATT_MUSTCHANGE',