Path

ez projects / more_attribute_filter_opera...


More attribute filter operators and fetch by owner id

UNIX name Owner Status Version Compatible with
more_attribute_filter_operators_and_fetch_by_owner_id Paul Borgermans planning 1.0 3.4 and 3.5

Add a new attribute filter 'owner' and the filter operators
'in','not_in','like','not_like', 'between', 'not_between' to fetch
content,(list|list_count|tree|tree_count) with a modified
ezcontentobjecttreenode.php

See
for the latest version to be installed in kernel/classes for the 3.4 and
3.5 series
example of usage (Changed in version 1.0!):
fetch(content,list,hash(parent_node_id,2, attribute_filter,
array(and,array('owner','=',$current_user_id),
array('myclass/myattribute','in',array(1,2,3)),
array('myclass/otherattribute','not_like','paul*'),
array('myclass/thirdattribute','between',array(1,300))))
-paul

 

Screenshot

This project has no reviews yet. Be the first one to review it!

No forum messages yet.