Cheetah
Public Member Functions | Public Attributes | List of all members
ChBlogsDb Class Reference
Inheritance diagram for ChBlogsDb:
ChWsbDb

Public Member Functions

 __construct (&$oConfig)
 
 getMembershipActions ()
 
 getPostCaptionByID ($iPostID)
 
 getPostCaptionAndUriByID ($iPostID)
 
 getPostCaptionByUri ($sPostUri)
 
 getAllBlogsCnt ($sStatusFilter)
 
 getTopBlogs ($sStatusFilter, $sqlLimit)
 
 getLastBlogs ($sStatusFilter, $sqlLimit)
 
 getTagsInfo ($iMemberID, $sStatusFilter, $sCategoryName)
 
 getPostsInCategory ($sStatusFilter, $sCategoryName, $iOwnerID)
 
 getPostsCntInCategory ($sCategoryName, $sStatusFilter, $iOwnerID)
 
 getFeaturedPosts ($iMemberID)
 
 setPostStatus ($iPostID, $sStatus='disapproval')
 
 getBlogInfo ($iMemberID)
 
 getPostOwnerByID ($iPostID)
 
 getOwnerByBlogID ($iBlogID)
 
 getPostPhotoByID ($iPostID)
 
 performUpdatePostWithPhoto ($iPostID, $sPhotoFilename='')
 
 deletePost ($iPostID)
 
 getPostIDByUri ($sPostUri)
 
 getPostUriByID ($iPostID)
 
 getPostInfo ($iPostID)
 
 getJustPostInfo ($iPostID)
 
 getFeaturedStatus ($iPostID)
 
 getActiveStatus ($iPostID)
 
 performUpdateFeatureStatus ($aParams)
 
 performUpdateBlog ($aParams)
 
 deleteBlog ($iBlogID)
 
 getMemberIDByNickname ($sNickName)
 
 getMemberPostsRSS ($iPID)
 
 getBlogPostsByMonth ($iYear, $iMonth, $iNextYear, $iNextMonth, $sStatus='approval')
 
 getMemberPostsCnt ($iPID)
 
 getSettingsCategory ()
 
- Public Member Functions inherited from ChWsbDb
 setTimezone ($sTimezone)
 
 getLink ()
 
 res ($sQuery, $aBindings=[], $bReplaying=false)
 
 getAll ($sQuery, $aBindings=[], $iFetchType=PDO::FETCH_ASSOC)
 
 getRow ($sQuery, $aBindings=[], $iFetchStyle=PDO::FETCH_ASSOC)
 
 getColumn ($sQuery, $aBindings=[])
 
 getOne ($sQuery, $aBindings=[], $iIndex=0)
 
 getFirstRow ($sQuery, $aBindings=[], $iFetchStyle=PDO::FETCH_ASSOC)
 
 getNextRow ()
 
 getAllWithKey ($sQuery, $sFieldKey, $aBindings=[], $iFetchType=PDO::FETCH_ASSOC)
 
 getPairs ($sQuery, $sFieldKey, $sFieldValue, $aBindings=[])
 
 query ($sQuery, $aBindings=[])
 
 getNumRows ($oStmt=null)
 
 getAffectedRows ($oStmt=null)
 
 fillArray ($oStmt, $iFetchType=PDO::FETCH_ASSOC)
 
 lastId ()
 
 getParam ($sName, $bCache=true)
 
 setParam ($sName, $sValue)
 
 listTables ()
 
 getFields ($sTable)
 
 isFieldExists ($sTable, $sFieldName)
 
 fetchField ($mixedQuery, $iField, $aBindings=[])
 
 getDbCacheObject ()
 
 genDbCacheKey ($sName)
 
 fromCache ($sName, $sFunc)
 
 cleanCache ($sName)
 
fromMemory ($sName, $sFunc)
 
 cleanMemory ($sName)
 
 arrayToSQL ($a, $sDiv=',')
 
 escape ($sText, $bReal=true)
 
 implode_escape ($mixed)
 
 unescape ($mixed)
 

Public Attributes

 $_oConfig
 
- Public Attributes inherited from ChWsbDb
 $port
 
 $socket
 
 $dbname
 
 $user
 
 $password
 
 $oParams = null
 
 $oDbCacheObject = null
 

Additional Inherited Members

- Static Public Member Functions inherited from ChWsbDb
static getInstance ()
 
- Protected Member Functions inherited from ChWsbDb
 __construct ()
 
 connect ()
 
 disconnect ()
 
- Protected Attributes inherited from ChWsbDb
 $host
 
 $link
 
 $oCurrentStmt
 
 $iCurrentFetchStyle
 
- Static Protected Attributes inherited from ChWsbDb
static $instance
 

Detailed Description

This work, "Cheetah - https://www.cheetahwsb.com", is a derivative of "Dolphin Pro V7.4.2" by BoonEx Pty Limited - https://www.boonex.com/, used under CC-BY. "Cheetah" is licensed under CC-BY by Dean J. Bassett Jr. CC-BY License - http://creativecommons.org/licenses/by/3.0/

Definition at line 10 of file ChBlogsDb.php.

Constructor & Destructor Documentation

◆ __construct()

ChBlogsDb::__construct ( $oConfig)

Definition at line 17 of file ChBlogsDb.php.

Member Function Documentation

◆ deleteBlog()

ChBlogsDb::deleteBlog (   $iBlogID)

Definition at line 349 of file ChBlogsDb.php.

◆ deletePost()

ChBlogsDb::deletePost (   $iPostID)

Definition at line 256 of file ChBlogsDb.php.

◆ getActiveStatus()

ChBlogsDb::getActiveStatus (   $iPostID)

Definition at line 307 of file ChBlogsDb.php.

◆ getAllBlogsCnt()

ChBlogsDb::getAllBlogsCnt (   $sStatusFilter)

Definition at line 60 of file ChBlogsDb.php.

◆ getBlogInfo()

ChBlogsDb::getBlogInfo (   $iMemberID)

Definition at line 204 of file ChBlogsDb.php.

◆ getBlogPostsByMonth()

ChBlogsDb::getBlogPostsByMonth (   $iYear,
  $iMonth,
  $iNextYear,
  $iNextMonth,
  $sStatus = 'approval' 
)

Definition at line 382 of file ChBlogsDb.php.

◆ getFeaturedPosts()

ChBlogsDb::getFeaturedPosts (   $iMemberID)

Definition at line 182 of file ChBlogsDb.php.

◆ getFeaturedStatus()

ChBlogsDb::getFeaturedStatus (   $iPostID)

Definition at line 296 of file ChBlogsDb.php.

◆ getJustPostInfo()

ChBlogsDb::getJustPostInfo (   $iPostID)

Definition at line 289 of file ChBlogsDb.php.

◆ getLastBlogs()

ChBlogsDb::getLastBlogs (   $sStatusFilter,
  $sqlLimit 
)

Definition at line 86 of file ChBlogsDb.php.

◆ getMemberIDByNickname()

ChBlogsDb::getMemberIDByNickname (   $sNickName)

Definition at line 355 of file ChBlogsDb.php.

◆ getMemberPostsCnt()

ChBlogsDb::getMemberPostsCnt (   $iPID)

Definition at line 396 of file ChBlogsDb.php.

◆ getMemberPostsRSS()

ChBlogsDb::getMemberPostsRSS (   $iPID)

Definition at line 362 of file ChBlogsDb.php.

◆ getMembershipActions()

ChBlogsDb::getMembershipActions ( )

Definition at line 24 of file ChBlogsDb.php.

◆ getOwnerByBlogID()

ChBlogsDb::getOwnerByBlogID (   $iBlogID)

Definition at line 226 of file ChBlogsDb.php.

◆ getPostCaptionAndUriByID()

ChBlogsDb::getPostCaptionAndUriByID (   $iPostID)

Definition at line 40 of file ChBlogsDb.php.

◆ getPostCaptionByID()

ChBlogsDb::getPostCaptionByID (   $iPostID)

Definition at line 30 of file ChBlogsDb.php.

◆ getPostCaptionByUri()

ChBlogsDb::getPostCaptionByUri (   $sPostUri)

Definition at line 50 of file ChBlogsDb.php.

◆ getPostIDByUri()

ChBlogsDb::getPostIDByUri (   $sPostUri)

Definition at line 263 of file ChBlogsDb.php.

◆ getPostInfo()

ChBlogsDb::getPostInfo (   $iPostID)

Definition at line 276 of file ChBlogsDb.php.

◆ getPostOwnerByID()

ChBlogsDb::getPostOwnerByID (   $iPostID)

Definition at line 215 of file ChBlogsDb.php.

◆ getPostPhotoByID()

ChBlogsDb::getPostPhotoByID (   $iPostID)

Definition at line 237 of file ChBlogsDb.php.

◆ getPostsCntInCategory()

ChBlogsDb::getPostsCntInCategory (   $sCategoryName,
  $sStatusFilter,
  $iOwnerID 
)

Definition at line 159 of file ChBlogsDb.php.

◆ getPostsInCategory()

ChBlogsDb::getPostsInCategory (   $sStatusFilter,
  $sCategoryName,
  $iOwnerID 
)

Definition at line 128 of file ChBlogsDb.php.

◆ getPostUriByID()

ChBlogsDb::getPostUriByID (   $iPostID)

Definition at line 269 of file ChBlogsDb.php.

◆ getSettingsCategory()

ChBlogsDb::getSettingsCategory ( )

Definition at line 407 of file ChBlogsDb.php.

◆ getTagsInfo()

ChBlogsDb::getTagsInfo (   $iMemberID,
  $sStatusFilter,
  $sCategoryName 
)

Definition at line 102 of file ChBlogsDb.php.

◆ getTopBlogs()

ChBlogsDb::getTopBlogs (   $sStatusFilter,
  $sqlLimit 
)

Definition at line 71 of file ChBlogsDb.php.

◆ performUpdateBlog()

ChBlogsDb::performUpdateBlog (   $aParams)

Definition at line 333 of file ChBlogsDb.php.

◆ performUpdateFeatureStatus()

ChBlogsDb::performUpdateFeatureStatus (   $aParams)

Definition at line 318 of file ChBlogsDb.php.

◆ performUpdatePostWithPhoto()

ChBlogsDb::performUpdatePostWithPhoto (   $iPostID,
  $sPhotoFilename = '' 
)

Definition at line 244 of file ChBlogsDb.php.

◆ setPostStatus()

ChBlogsDb::setPostStatus (   $iPostID,
  $sStatus = 'disapproval' 
)

Definition at line 194 of file ChBlogsDb.php.

Member Data Documentation

◆ $_oConfig

ChBlogsDb::$_oConfig

Definition at line 12 of file ChBlogsDb.php.


The documentation for this class was generated from the following file: