Updated 4/11/2025

C0T0: Basics

The PressLine Fetcher consists of 4 types of calls:

  • single(type, params...) to get one record

  • bunch(type, params...) to get multiple records based on search

  • fetchAll(type, params...) to get all records

  • count(type, params...) to count records (foe. for pagination)

Any of these calls are callable directly (private), but they have their type counterpart.

single

article

article

media

media

user

user

category

category

tag (to be deprecated)

article with tag

role

role

 

bunch

articles

 

medias

 

users

 

categories

 

tags

 

roles

 

preferences

 

 

fetchAll

allArticles

 

allMedia

 

allUsers

 

allCategories

 

allRoles

 

allLevels

 

 

count

countArticles

 

countMedia

 

countUsers

 

countCategories

 

countRoles

 

countTags