mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
Added <inherit_flags_from> to inherit the flags from another state.
SVN:trunk[3296]
This commit is contained in:
@@ -1093,8 +1093,7 @@ EOF;
|
||||
$sLifecycle .= " MetaModel::Init_DefineState(\n";
|
||||
$sLifecycle .= " \"".$sState."\",\n";
|
||||
$sLifecycle .= " array(\n";
|
||||
$sAttributeInherit = '';
|
||||
//$sAttributeInherit = $oState->GetChildText('inherit_flags', ''); // Seems easy but think about the consequences when applying a delta
|
||||
$sAttributeInherit = $oState->GetChildText('inherit_flags_from', '');
|
||||
$sLifecycle .= " \"attribute_inherit\" => '$sAttributeInherit',\n";
|
||||
$oHighlight = $oState->GetUniqueElement('highlight', false);
|
||||
if ($oHighlight)
|
||||
|
||||
Reference in New Issue
Block a user