Forums / Developer / Array sorting / Comment46371

Author Topic

Kristof Coomans

Wednesday 26 July 2006 1:11:43 am

Comment46371

May I assume that these functions are called from somewhere outside the datatype itself?

Yes, they are. The result of the function sortKey is stored in the db ezcontentobject_attribute table in the field sort_key_text or sort_key_int, depending on what the sortKeyType function returns. eZContentObjectTreeNode::createSortingSQLStrings will know which field to use by calling sortKeyType.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org