06-14-2008, 08:52 AM
[eluser]Keago[/eluser]
I'm confused by the output generated by the yaml parser for the following code fragment:
While it should output:
What's wrong with the YAML....?
I'm confused by the output generated by the yaml parser for the following code fragment:
Code:
voorwaardenEnKosten:
class: TextBox
naamProvider:
class: TextBox
Code:
print_r($this->spyc->YAMLLOAD($this->codexadmin->getDefinitionFileName('provider')));
Results in:
Array ( [voorwaardenEnKosten] => [class] => TextBox [naamProvider] => )
While it should output:
Code:
array('voorwaardenEnKosten'=>array('class'=>'TextBox'), 'naamProvider'=>array('class'=>'TextBox'))
What's wrong with the YAML....?