Pile
class Pile extends ConcreteObject (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 ConcreteObject | ||
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
loadError($error)
No description
isError()
No description
getError()
No description
setPropertiesFromArray($arr)
No description
static
camelcase($file)
No description
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