Core:InfoObject Class

From Habari Project

(Redirected from Classes/InfoObject)
Jump to: navigation, search

Contents

InfoObject Object

The InfoObject class implements the InfoRecords interface which lets plugins store extra informations assigned to Habari's assets. e.g: posts, comments, users, etc.

Retrieving

Comments, Posts and Users have each an InfoObject assigned. It is automatically fetched when you retrieve its assigned Comment, Post or User.

Accessing data from this InfoObject is as easy as fetching an object property:

$user->info->displayname
This page describes a PHP class that is in the Habari software. For more comprehensive technical information visit the API Documentation.
Other Class Pages
Personal tools