BlockType
class BlockType (View source)
Methods
static BlockType
getByHandle($btHandle)
Retrieves a BlockType object based on its btHandle.
static
static
installBlockType($btHandle, $pkg = false)
Installs a BlockType that is passed via a btHandle string. The core or override directories are parsed.
static string
getBlockTypeMappedClass($btHandle, $pkgHandle = false)
Return the class file that this BlockType uses.
static
clearCache()
Clears output and record caches.
Details
static BlockType
getByHandle($btHandle)
Retrieves a BlockType object based on its btHandle.
static BlockType
getByID($btID)
Retrieves a BlockType object based on its btID.
static
installBlockTypeFromPackage($btHandle, $pkg)
deprecated
deprecated
No description
static
installBlockType($btHandle, $pkg = false)
Installs a BlockType that is passed via a btHandle string. The core or override directories are parsed.
static string
getBlockTypeMappedClass($btHandle, $pkgHandle = false)
Return the class file that this BlockType uses.
static
clearCache()
Clears output and record caches.