Class CMS_blocksCatalog

Description

Class CMS_blocksCatalog

Represents a collection of blocks

Located in /automne/classes/modules/standard/blockscatalog.php (line 27)

CMS_grandFather
   |
   --CMS_blocksCatalog
Method Summary
 array getAllBlocksForPage ( &$page, [ $public = false], CMS_page $page, boolean $public,)
 boolean moveBlocks ( &$page, string $locationFrom, string $locationTo, [boolean $copyOnly = false])
Methods
getAllBlocksForPage (line 163)

Get all edited blocks founded for a given page Detect all blocks Sends an array of all blocks of given page

  • return: of CMS_block
array getAllBlocksForPage ( &$page, [ $public = false], CMS_page $page, boolean $public,)
  • CMS_page $page: the page we want data from
  • boolean $public,: if only public datas are concerned
  • &$page
  • $public
moveBlocks (line 38)

Move the blocks of a page from one location to another.

  • return: true on success, false on failure
  • access: public
boolean moveBlocks ( &$page, string $locationFrom, string $locationTo, [boolean $copyOnly = false])
  • string $locationFrom: The starting location, among the available RESOURCE_DATA_LOCATION
  • string $locationTo: The ending location, among the available RESOURCE_DATA_LOCATION
  • boolean $copyOnly: If set to true, the deletion from the originating tables and dirs won't occur
  • &$page

Inherited Methods

Inherited From CMS_grandFather

 CMS_grandFather::autoload()
 CMS_grandFather::hasError()
 CMS_grandFather::log()
 CMS_grandFather::PHPErrorHandler()
 CMS_grandFather::raiseError()
 CMS_grandFather::setDebug()
 CMS_grandFather::setLog()
 CMS_grandFather::_raiseError()
 CMS_grandFather::__call()
Class Constants

Documentation generated on Wed, 15 Feb 2012 15:29:05 +0100 by phpDocumentor 1.4.3