kernel/private/rest/classes/sync/updates.php

Show: inherited
Table of Contents

File containing the ezpUpdatedContent class

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Package
kernel  
Version
4.6.0  

\ezpUpdatedContent

Package: Default

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.

Methods

methodpublicgetCategories( ) : mixed

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
Type Description
mixed
methodpublicgetUpdates( string $category, string $logicalPointOfTime ) : mixed

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
Name Type Description
$category string
$logicalPointOfTime string
Returns
Type Description
mixed
Documentation was generated by DocBlox 0.18.1.