concrete/src/Entity/Block/BlockType/BlockType.php
public function getBlockTypeSets()
    {
        $db = Loader::db();
        $list = array();
        $r = $db->Execute(
                'select btsID from BlockTypeSetBlockTypes where btID = ? order by displayOrder asc',
                array($this->getBlockTypeID()));
        while ($row = $r->FetchRow()) {
            $list[] = BlockTypeSet::getByID($row['btsID']);
        }
        $r->Close();

        return $list;
    }
public function getBlockTypeSets()
    {
        $db = Loader::db();
        $list = array();
        $r = $db->Execute(
                'select btsID from BlockTypeSetBlockTypes where btID = ? order by displayOrder asc',
                array($this->getBlockTypeID()));
        while ($row = $r->FetchRow()) {
            $list[] = BlockTypeSet::getByID($row['btsID']);
        }
        $r->Close();

        return $list;
    }
public function getBlockTypeSets ( ) { $ db = Loader :: db ( ) ; $ list = array ( ) ; $ r = $ db -> Execute ( 'select btsID from BlockTypeSetBlockTypes where btID = ? order by displayOrder asc' , array ( $ this -> getBlockTypeID ( ) ) ) ; while ( $ row = $ r -> FetchRow ( ) ) { $ list [ ] = BlockTypeSet :: getByID ( $ row [ 'btsID' ] ) ; } $ r -> Close ( ) ; return $ list ; }
Returns an array of all BlockTypeSet objects that this block is in.

@return BlockTypeSet[]
Returns an array of all BlockTypeSet objects that this block is in .