This is the API documentation for concrete5 version 5.6 and earlier. View Current API Documentation

Class Concrete5_Model_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.

Concrete5_Library_Object
Extended by Object
Extended by Concrete5_Model_Pile

Direct known subclasses

Pile

Package: Utilities
Located at core/models/pile.php

Methods summary

public
public
public
public
public
public
# get( $pID )
public
# create( $name )
public
# getOrCreate( $name )
public
public
# inPile( $obj )
public
public
public
# isMyPile( )
public
# delete( )
public
public
# getPileContentObjects( $display = 'display_order' )
public
# add( & $obj, $quantity = 1 )
public
# remove( & $obj, $quantity = 1 )
public
# getPileContentID( & $obj )
public

Properties summary

public $pID
#
public $uID
#
public $isDefault
#
public $name
#
public $state
#
public $timestamp
#

Properties inherited from Concrete5_Library_Object

$error