public static function livePageBlocksForBlock($blockId, $reload = false)
    {
        if ($reload) {
            static::_preloadClear('liveBlocks');
        }
        if (!static::_preloadIsset('liveBlocks', $blockId)) {
            $pageBlocks = Block::getDataForVersion(new static, -1, ['block_id' => $blockId, 'language_id' => Language::current()]);
            static::_preload($pageBlocks, 'liveBlocks', [['block_id']], null, true);
        }
        return static::_preloadGet('liveBlocks', $blockId) ?: [];
    }
public static function livePageBlocksForBlock($blockId, $reload = false)
    {
        if ($reload) {
            static::_preloadClear('liveBlocks');
        }
        if (!static::_preloadIsset('liveBlocks', $blockId)) {
            $pageBlocks = Block::getDataForVersion(new static, -1, ['block_id' => $blockId, 'language_id' => Language::current()]);
            static::_preload($pageBlocks, 'liveBlocks', [['block_id']], null, true);
        }
        return static::_preloadGet('liveBlocks', $blockId) ?: [];
    }
public static function livePageBlocksForBlock ( $ blockId , $ reload = false ) { if ( $ reload ) { static :: _preloadClear ( 'liveBlocks' ) ; } if ( ! static :: _preloadIsset ( 'liveBlocks' , $ blockId ) ) { $ pageBlocks = Block :: getDataForVersion ( new static , - 1 , [ 'block_id' => $ blockId , 'language_id' => Language :: current ( ) ] ) ; static :: _preload ( $ pageBlocks , 'liveBlocks' , [ [ 'block_id' ] ] , null , true ) ; } return static :: _preloadGet ( 'liveBlocks' , $ blockId ) ? : [ ] ; }
Load page block data for all live versions of a block across all pages
@param int $blockId
@param bool $reload
@return PageBlock[]
Load page block data for all live versions of a block across all pages