Class TfCollectionHandler
Manipulates collection content objects (TfCollection).
- TfContentHandler uses TfContentTypes
-
TfCollectionHandler
Copyright: Simon Wilkinson 2013+ (https://tuskfish.biz)
License: GNU General Public License (GPL) V2
Author: Simon Wilkinson simon@isengard.biz
Version: Release: 1.0
Since: 1.0
Uses:
TfContentTypes Whitelist of sanctioned TfishContentObject subclasses.Var: TfValidator $validator Instance of the Tuskfish data validator class.
Var: TfDatabase $db Instance of the Tuskfish database class.
Var: TfCriteriaFactory $criteriaFactory Instance of the Tuskfish criteria factory class.
Var: TfFileHandler $fileHandler Instance of the Tuskfish file handler class.
Var: TfTaglinkHandler $taglinkHandler Instance of the Tuskfish taglink handler class.
Located at trust_path/modules/content/class/TfCollectionHandler.php
Methods summary
public
|
#
__construct(
Constructor. |
public
integer
|
#
getCount(
Count TfCollection objects, optionally matching conditions specified with a TfCriteria\ object. |
public
array
|
#
getObjects(
Get TfCollection objects, optionally matching conditions specified with a TfCriteria object. |
public
string
|
#
getParentSelectBox( integer $selected = 0 )
Get a select box listing a tree of parent (TfCollection) objects. |
Methods inherited from TfContentHandler
convertRowToObject(),
delete(),
deleteParentalReferences(),
getActiveTagList(),
getListOfMimetypes(),
getListOfTitles(),
getObject(),
getOnlineSelectBox(),
getTagList(),
getTags(),
getTypeIndex(),
getTypeSelectBox(),
insert(),
isSanctionedType(),
makeTagLinks(),
streamDownloadToBrowser(),
toggleOnlineStatus(),
update(),
updateCounter()
Methods used from TfContentTypes
Properties summary
Properties inherited from TfContentHandler
$criteriaFactory,
$db,
$fileHandler,
$taglinkHandler,
$validator