Carlos Revillo
|
Tuesday 15 March 2011 1:59:56 pm
i think it's just a typo in the doc. there shouldn't be any spaces between array and the parenthesis that's it.
fetch( 'content', 'list', hash( 'parent_node_id', <b>array(</b> '42', '43', '45' ), 'sort_by', array( 'published', false() ) ) )fetch( 'content', 'list', hash( 'parent_node_id', array ( '42', '43', '45' ), 'sort_by', array( 'published', false() ) ) )
|
Marko Žmak
|
Tuesday 15 March 2011 2:05:25 pm
i think it's just a typo in the doc. there shouldn't be any spaces between array and the parenthesis that's it.
fetch( 'content', 'list', hash( 'parent_node_id', <b>array(</b> '42', '43', '45' ), 'sort_by', array( 'published', false() ) ) )fetch( 'content', 'list', hash( 'parent_node_id', array ( '42', '43', '45' ), 'sort_by', array( 'published', false() ) ) )
Oh yes... I didn't notice the space, silly me. Still, the docs should be corrected not to confuse newcommers. I reported it here: http://issues.ez.no/IssueView.php?Id=18150&activeItem=1
--
Nothing is impossible. Not if you can imagine it!
Hubert Farnsworth
|