Class Collection

Concrete\Core\Foundation\Object
Extended by Concrete\Core\Page\Collection\Collection

Methods summary

public static
public static
# getByHandle( $handle )
public
# addCollection( $data )
public static
# createCollection( $data )
public static Concrete\Core\Page\Collection\Collection
# getByID( integer $cID, mixed $version = 'RECENT' )
public
# loadVersionObject( $cvID = 'ACTIVE' )
public
public
public
# cloneVersion( $versionComments )
public
public
public
public type
# getAttribute( string|object $akHandle, boolean $displayMode = false )

Returns the value of the attribute with the handle $ak of the current object.

public
public
# clearCollectionAttributes( $retainAKIDs = array() )
public
public
# reindex( $index = false, $actuallyDoReindex = true )
public
# clearAttribute( $ak )
public
# getAttributeValueObject( $ak, $createIfNotFound = false )
public
public
# addAttribute( $ak, $value )
public
# setAttribute( $ak, $value )
public Area
# getArea( string $arHandle )
public
public
public
public
public
public
# outputCustomStyleHeaderItems( $return = false )

Retrieves all custom style rules that should be inserted into the header on a page, whether they are defined in areas or blocks.

public
# getAreaCustomStyle( $area, $force = false )
public
public
# setCustomStyleSet( $area, $set )
public
public
public
public
# rescanDisplayOrder( $arHandle )
public
public
public array
# getBlocks( boolean|string $arHandle = false )

List the blocks in a collection or area within a collection.

public array
# getBlockIDs( boolean|string $arHandle = false )

List the block IDs in a collection or area within a collection.

public
# addBlock( $bt, $a, $data )
public
# getCollectionAreaDisplayOrder( $arHandle, $ignoreVersions = false )
public
public
public
# delete( )
public

Properties summary

public $cID
#
protected $vObj
#
protected $cHandle
#
protected $cDateAdded
#
protected $cDateModified
#
protected array $attributes
# array()

Properties inherited from Concrete\Core\Foundation\Object

$error