Class Pile

Class Pile

Essentially a user's scrapbook, a pile is an object used for clumping bits of content together around a user account. Piles currently only contain blocks but they could also contain collections. Any bit of content inside a user's pile can be reordered, etc... although no public interface makes use of much of this functionality.

Concrete\Core\Foundation\Object
Extended by Concrete\Core\Page\Stack\Pile\Pile
Namespace: Concrete\Core\Page\Stack\Pile
Package: Concrete\Core\Page\Stack\Pile
Located at src/Page/Stack/Pile/Pile.php

Methods summary

public boolean
# isDefault( )
public string
# getPileName( )
public string
# getPileState( )
public Concrete\Core\Page\Stack\Pile\Pile
# create( $name )
public Concrete\Core\Page\Stack\Pile\Pile
# get( integer $pID )
public Concrete\Core\Page\Stack\Pile\Pile
# getOrCreate( string $name )
public boolean
public integer
# getPileID( )
public Concrete\Core\Page\Stack\Pile\Pile
public Concrete\Core\Page\Stack\Pile\Pile
public array
# getMyPiles( )
public boolean
# isMyPile( )
public integer
# getUserID( )
public boolean
# delete( )

Delete a pile

public integer
# getPileLength( )
public array
# getPileContentObjects( string $display = 'display_order' )
public mixed
# add( Concrete\Core\Page\Page|Concrete\Core\Block\Block|Concrete\Core\Page\Stack\Pile\PileContent & $obj, integer $quantity = 1 )
public mixed
# getPileContentID( Concrete\Core\Page\Page & $obj )
public
# remove( Concrete\Core\Page\Page|Concrete\Core\Block\Block|Concrete\Core\Page\Stack\Pile\PileContent & $obj, integer $quantity = 1 )
public boolean
# rescanDisplayOrder( )

Properties summary

public integer $pID
#
public integer $uID
#
public boolean $isDefault
#
public string $name
#
public string $state
#
public string $timestamp
#

Properties inherited from Concrete\Core\Foundation\Object

$error