Class BlockTypeList

Concrete\Core\Legacy\ItemList
Extended by Concrete\Core\Legacy\DatabaseItemList
Extended by Concrete\Core\Block\BlockType\BlockTypeList

Methods summary

public
public
public
# get( $itemsToGet = 100, $offset = 0 )

Returns an array of whatever objects extends this class (e.g. PageList returns a list of pages).

public
# filterByPackage( Package $pkg )
public static
# exportList( string $xml )
public static Concrete\Core\Block\BlockType\BlockType[]
# getDashboardBlockTypes( )

returns an array of Block Types used in the concrete5 Dashboard

public static Concrete\Core\Block\BlockType\BlockType[]
# getAvailableList( )

Gets a list of block types that are not installed, used to get blocks that can be installed This function only surveys the web/blocks directory - it's not looking at the package level.

public static Concrete\Core\Block\BlockType\BlockType[]
# getInstalledList( )

gets a list of installed BlockTypes

public static
# resetBlockTypeDisplayOrder( $column = 'btID' )

Properties summary

protected array $autoSortColumns
# array('btHandle', 'btID', 'btDisplayOrder')
protected boolean $includeInternalBlockTypes
# false