concrete/src/Block/Block.php
public function getNumChildren()
    {
        $db = Loader::db();
        $q = 'select count(*) as total from CollectionVersionBlocks where bID = ? and isOriginal = 0';
        $total = $db->getOne($q, [$this->getBlockID()]);

        return $total;
    }
public function getNumChildren()
    {
        $db = Loader::db();
        $q = 'select count(*) as total from CollectionVersionBlocks where bID = ? and isOriginal = 0';
        $total = $db->getOne($q, [$this->getBlockID()]);

        return $total;
    }
public function getNumChildren ( ) { $ db = Loader :: db ( ) ; $ q = 'select count(*) as total from CollectionVersionBlocks where bID = ? and isOriginal = 0' ; $ total = $ db -> getOne ( $ q , [ $ this -> getBlockID ( ) ] ) ; return $ total ; }
Get the number of alias of this block.

@return int
Get the number of alias of this block .