Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

Public Member Functions | List of all members
ezpUpdatedContent Class Reference

## Public Member Functions
| getCategories ()
| getUpdates ( $category, $logicalPointOfTime)

## Detailed Description

This class provides API through which one can query for updated content items.

The class acts as an intermediate layer between existing API and new API, which can be specially purposed for determining new content.

There might be more filter functionality setup between the retrieval calls so that new buisness logic can be created to create custom update streams, independent of actual content structure.

Definition at line 23 of file updates.php.

## Member Function Documentation

## ◆ getCategories()

ezpUpdatedContent::getCategories | ( |  | ) |

Return the defined streams of content updates.

A site usually consists of sections of different types of topics, e.g. 'business', 'technology' and so on. These are meant to define logical streams potentially consisting several sources underneath

Note: The type of the categories are not yet decided.

Returns
  mixed

Definition at line 36 of file updates.php.

## ◆ getUpdates()

ezpUpdatedContent::getUpdates | ( |  | $category,
|  |  | $logicalPointOfTime
| ) |  |

Returns new items, in specied $category, since last $logicalPointOfTime

An optimized method to retrieve updated content from the repository.

Note: the final format of this method has not yet been finalized.

Parameters

  string | $category |
  string | $logicalPointOfTime |

Returns
  mixed

Definition at line 49 of file updates.php.

The documentation for this class was generated from the following file:

- updates.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.