sangib das
|
Tuesday 05 September 2006 9:52:19 pm
Hi have created a folder named Network in that folder i have one article class and folder class.
how can i call them?
is it right ?
{let children=fetch( content,
list,
hash( parent_node_id, $node_id ,
class_filter_type, include,
class_filter_array, array( 'articles','folder '), sort_by, $node.sort_array,
) )
|
Łukasz Serwatka
|
Tuesday 05 September 2006 11:12:38 pm
Yes, this is correct.
{let children=fetch( content, list, hash( parent_node_id, $node_id,
class_filter_type, include,
class_filter_array, array( 'articles', 'folder ' ),
sort_by, $node.sort_array ) ) }
or you can use "list" without class filtering then eZ publish will fetch all objects.
{let children=fetch( content, list, hash( parent_node_id, $node_id,
sort_by, $node.sort_array ) ) }
Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog
|