Skip to the content
Documentation

limitation example

No ratings yet

example for using "limitation"

{def $newslist=fetch('content','tree',
                       hash('parent_node_id', 123,
                            'sort_by',array('published',false()),
                            'class_filter_type',  'include',
                            'class_filter_array', array('news','article'),
                            'limit',5,
                            'limitation', array( hash( 'Section', array( 1, 3, 6, 7 ) )
                                               )
                            )
                     )
}