www.Whirlwind-eCommerce.com · Whirlwind eCommerce Wiki · Functions:userBlogEntriesGet

From Whirlwind eCommerce Wiki

Functions:userBlogEntriesGet

Jump to: navigation, search
Page Template Managers

Page Template Functions

Contents

Description

Retrieves an array of blog entries

Syntax

$blogArr = userBlogEntriesGet($fieldList,$orderBy,$userId,$pageId);

Paramaters

  • fieldList STRING
comma delimited list of fields to return
  • orderBy STRING OPTIONAL
field to order results by (defaults to createDate)
  • userId INT OPTIONAL
userId of user's blog to retrieve .defaults to the current user logged in.
  • pageId INT OPTIONAL
id of the main blog page (parent blog page). Child blogs to this page will be returned. Only necessary if user has more than one blog.

Return Values

Returns associative array of blog entries

Web Masters
Personal tools