BitNewsletterEdition Class Reference

Inheritance diagram for BitNewsletterEdition:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 BitNewsletterEdition ($pEditionId=NULL, $pContentId=NULL, $pNlId=NULL)
 expunge ()
 getDisplayUrl ($pEditionId=NULL)
 getList (&$pListHash)
 getRecipients ($pGroupArray, $validated=TRUE, $pRequeue=FALSE)
 isDraft ()
 isValid ()
 load ()
 render ()
 store ($pParamHash)
 verify (&$pParamHash)

Detailed Description

Definition at line 32 of file BitNewsletterEdition.php.


Member Function Documentation

BitNewsletterEdition::BitNewsletterEdition ( pEditionId = NULL,
pContentId = NULL,
pNlId = NULL 
)

Definition at line 33 of file BitNewsletterEdition.php.

References mContentId, mEditionId, and LibertyContent::registerContentType().

Here is the call graph for this function:

BitNewsletterEdition::expunge (  ) 

Delete content object and all related records

Reimplemented from LibertyContent.

Definition at line 186 of file BitNewsletterEdition.php.

References $query, $result, $ret, LibertyContent::expunge(), FALSE, isValid(), mContentId, and mDb.

Here is the call graph for this function:

BitNewsletterEdition::getDisplayUrl ( pEditionId = NULL  ) 

Generate a valid url for the Newsletter Edition

Parameters:
object PostId of the item to use
Returns:
object Url String

Definition at line 126 of file BitNewsletterEdition.php.

References $gBitSystem, $ret, mEditionId, and BitBase::verifyId().

Referenced by getList().

Here is the call graph for this function:

BitNewsletterEdition::getList ( &$  pListHash  ) 

Definition at line 145 of file BitNewsletterEdition.php.

References $data, $gBitDb, $mid, $query, $ret, getDisplayUrl(), BitBase::prepGetList(), title, and BitBase::verifyId().

Referenced by BitNewsletter::getEditions().

Here is the call graph for this function:

BitNewsletterEdition::getRecipients ( pGroupArray,
validated = TRUE,
pRequeue = FALSE 
)

Definition at line 206 of file BitNewsletterEdition.php.

References $gBitUser, $query, $ret, $validated, array_diff_keys(), mContentId, and mDb.

Here is the call graph for this function:

BitNewsletterEdition::isDraft (  ) 

Definition at line 202 of file BitNewsletterEdition.php.

References BitBase::getField().

Here is the call graph for this function:

BitNewsletterEdition::isValid (  ) 

Check mContentId to establish if the object has been loaded with a valid record

Reimplemented from LibertyContent.

Definition at line 116 of file BitNewsletterEdition.php.

References mEditionId, and BitBase::verifyId().

Referenced by expunge(), and render().

Here is the call graph for this function:

BitNewsletterEdition::load (  ) 

Definition at line 86 of file BitNewsletterEdition.php.

References $gBitSystem, $query, $result, LibertyContent::getServicesSql(), LibertyAttachable::load(), mContentId, mDb, mEditionId, mInfo, and BitBase::verifyId().

Referenced by store().

Here is the call graph for this function:

BitNewsletterEdition::render (  ) 

Definition at line 239 of file BitNewsletterEdition.php.

References $gBitSmarty, $ret, and isValid().

Here is the call graph for this function:

BitNewsletterEdition::store ( pParamHash  ) 

Definition at line 67 of file BitNewsletterEdition.php.

References $pParamHash, $result, load(), mDb, mEditionId, and verify().

Here is the call graph for this function:

BitNewsletterEdition::verify ( &$  pParamHash  ) 

Verify the core class data required to update the liberty_content table entries

Verify will build an array [content_store] with all of the required values and populate it with the relevent data to create/update the liberty_content table record

Parameters:
array Array of content data to be stored
[pParamHash]
content_id
user_id
modifier_user_id
created
last_modified
content_type_guid
format_guid
last_hit
event_time
hits
lang_code
title
ip
edit

Returns:
integer Count of the number of errors ( 0 for success )
[pParamHash] will be extended to include array [content_store] populated with the require values for LibertyContent::store()

Reimplemented from LibertyAttachable.

Definition at line 54 of file BitNewsletterEdition.php.

References $pParamHash, tra(), and BitBase::verifyId().

Referenced by store().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Wed Aug 22 19:34:18 2007 for bitweaver by  doxygen 1.5.2