Ticket #555 (reopened enhancement)

Opened 8 years ago

Last modified 7 years ago

Enhance SGL_Item static calls to use an $option array

Reported by: aj Assigned to: aj
Priority: high Milestone:
Component: module - publisher Severity: major
Keywords: Cc:

Description

The functions preview, getItemDetails, getItemListByCatID, and retrievePaginated in SGL_Item all share the same function parameters: itemID, catID, bPublished, language, mostRecentArticleID, queryRange, from, and orderBy. So by switching to an $option array it will allow more flexibility without having to continously add new parameters every time we need to change how these methods return their data. Ticket #171 can't be fixed until this happens and #499 needs this functionality as well to improve performance of ArticleMgr::list.

Change History

02/25/06 18:37:17 changed by aj

  • milestone changed from 0.5.6 to 0.7.0.

12/19/06 23:58:14 changed by aj

  • status changed from new to closed.
  • resolution set to fixed.

fixed in [2401]

12/20/06 00:41:58 changed by aj

  • status changed from closed to reopened.
  • resolution deleted.

03/22/07 06:21:07 changed by demian

  • milestone deleted.