BlockCollection
class BlockCollection extends Collection (View source)
Properties
protected Collection | $paths | ||
protected Filesystem | $fileSystem |
Methods
No description
No description
No description
No description
No description
No description
No description
This function will add blocks and repeaters that are only defined in the config.
No description
No description
This function will try to find a view from the a component name (minus the 'a17-block-' namespace).
No description
No description
No description
No description
No description
Details
__construct(mixed $items = [])
No description
mixed
findByName($search, array $sources = [])
No description
Collection
getBlocks()
No description
Collection
getBlockList()
No description
Collection
getMissingDirectories()
No description
Collection
readBlocks($directory, $source, null $type = null)
deprecated
deprecated
No description
$this
generatePaths()
No description
string
detectCustomSources(Block $block)
No description
$this
load()
No description
void
addBlocksFromConfig(Collection $items, string $type)
This function will add blocks and repeaters that are only defined in the config.
For compatibility with 2.0.2 and lower
Block
blockFromComponentName($file, string $blockName, string $type, string $source)
No description
void
logDeprecatedBlockConfig(string $blockName, string $type)
No description
SplFileInfo
findFileByComponentName(string $componentName)
This function will try to find a view from the a component name (minus the 'a17-block-' namespace).
array
toArray()
No description
Collection
list()
No description
Collection
collect()
No description
Collection
getRepeaters()
No description
Collection
getRepeaterList()
No description