Pile
class Pile extends Object (View source)
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.
\@package Concrete\Core\Page\Stack\Pile
Properties
$error | from Object | ||
int | $pID | ||
int | $uID | ||
bool | $isDefault | ||
string | $name | ||
string | $state | ||
string | $timestamp |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Delete a pile.
No description
No description
No description
Details
in
Object at line 10
loadError($error)
No description
in
Object at line 15
isError()
No description
in
Object at line 25
getError()
No description
in
Object at line 30
setPropertiesFromArray($arr)
No description
in
Object at line 37
static
camelcase($file)
No description
in
Object at line 42
static
uncamelcase($string)
No description
bool
isDefault()
No description
string
getPileName()
No description
string
getPileState()
No description
Pile
create($name)
No description
Pile
get(int $pID)
No description
Pile
getOrCreate(string $name)
No description
bool
inPile(Collection|Block $obj)
No description
int
getPileID()
No description
Pile
getDefault()
No description
Pile
createDefaultPile()
No description
array
getMyPiles()
No description
bool
isMyPile()
No description
int
getUserID()
No description
bool
delete()
Delete a pile.
int
getPileLength()
No description
array
getPileContentObjects(string $display = 'display_order')
No description
mixed
add(Page|Block|PileContent $obj, int $quantity = 1)
No description
mixed
getPileContentID(Page $obj)
No description
remove(Page|Block|PileContent $obj, int $quantity = 1)
No description
bool
rescanDisplayOrder()
No description