BitGmapMarker Class Reference

Inheritance diagram for BitGmapMarker:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 BitGmapMarker ($pGmarkerId=NULL, $pContentId=NULL)
 expunge ()
 getDisplayUrl ($pContentId=NULL, $pMixed=NULL)
 load ()
 removeFromSet (&$pParamHash)
 store (&$pParamHash)
 verify (&$pParamHash)
 verifyRemove (&$pParamHash)

Public Attributes

 $mGmarkerId

Detailed Description

Definition at line 31 of file BitGmapMarker.php.


Member Function Documentation

BitGmapMarker::BitGmapMarker ( pGmarkerId = NULL,
pContentId = NULL 
)

During initialisation, be sure to call our base constructors

Definition at line 42 of file BitGmapMarker.php.

References mContentId, and LibertyContent::registerContentType().

Here is the call graph for this function:

BitGmapMarker::expunge (  ) 

This function removes a marker

Reimplemented from LibertyContent.

Definition at line 198 of file BitGmapMarker.php.

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

Here is the call graph for this function:

BitGmapMarker::getDisplayUrl ( pContentId = NULL,
pMixed = NULL 
)

Generates the URL to view a marker on a standalone page

Parameters:
pMixed a hash passed in by LibertyContent:getList
Returns:
the link to display the marker data.

Reimplemented from LibertyContent.

Definition at line 261 of file BitGmapMarker.php.

References $query, $res, $result, $ret, and mDb.

BitGmapMarker::load (  ) 

Definition at line 60 of file BitGmapMarker.php.

References $query, $result, LibertyContent::getServicesSql(), mContentId, mDb, mInfo, LibertyContent::parseData(), and BitBase::verifyId().

Referenced by store().

Here is the call graph for this function:

BitGmapMarker::removeFromSet ( &$  pParamHash  ) 

This function removes a marker from a set

Definition at line 242 of file BitGmapMarker.php.

References $pParamHash, $query, $result, $ret, FALSE, mDb, and verifyRemove().

Here is the call graph for this function:

BitGmapMarker::store ( &$  pParamHash  ) 

Create a new content object or update an existing one

Parameters:
array Array of content data to be stored
See verify for details of the values required

Reimplemented from LibertyAttachable.

Definition at line 167 of file BitGmapMarker.php.

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

Here is the call graph for this function:

BitGmapMarker::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 122 of file BitGmapMarker.php.

References $pParamHash.

Referenced by store().

BitGmapMarker::verifyRemove ( &$  pParamHash  ) 

Definition at line 224 of file BitGmapMarker.php.

References $pParamHash.

Referenced by removeFromSet().


Member Data Documentation

BitGmapMarker::$mGmarkerId

Primary key for our map class

Definition at line 36 of file BitGmapMarker.php.


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