Forms enhancements and XML format touch-up.

SVN:trunk[3359]
This commit is contained in:
Denis Flaven
2014-10-03 09:56:20 +00:00
parent b42a43d47b
commit f794d0222e
5 changed files with 342 additions and 172 deletions

View File

@@ -920,7 +920,7 @@ EOF;
$aThresholds = array();
foreach($oThresholdNodes as $oThreshold)
{
$iPercent = $this->GetPropNumber($oThreshold, 'percent');
$iPercent = (int)$oThreshold->getAttribute('id');
$oHighlight = $oThreshold->GetUniqueElement('highlight', false);
$sHighlight = '';
@@ -1130,7 +1130,7 @@ EOF;
$oTransitions = $oState->GetUniqueElement('transitions');
foreach ($oTransitions->getElementsByTagName('transition') as $oTransition)
{
$sStimulus = $oTransition->GetChildText('stimulus');
$sStimulus = $oTransition->getAttribute('id');
$sTargetState = $oTransition->GetChildText('target');
$oActions = $oTransition->GetUniqueElement('actions');