Difference between revisions of "Functions:userBlogEntriesGet"

From Whirlwind eCommerce Wiki
Jump to: navigation, search
(New page: == Description == Retrieves an array of blog entries == Syntax == $blogArr = userBlogEntriesGet($fieldList,$orderBy,$userId,$pageId); == Paramaters == *fieldList STRING :: comma delimite...)
 
 
Line 1: Line 1:
 +
{{Page Template Functions Shortcuts}}
 
== Description ==
 
== Description ==
 
Retrieves an array of blog entries
 
Retrieves an array of blog entries

Latest revision as of 14:12, 21 October 2008

Page Template Managers

Page Template Functions

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