concrete/src/Block/Block.php
public function setBlockCollectionObject($c)
    {
        $this->c = $c;
        $this->cID = $c ? $c->getCollectionID() : null;
    }
public function setBlockCollectionObject($c)
    {
        $this->c = $c;
        $this->cID = $c ? $c->getCollectionID() : null;
    }
public function setBlockCollectionObject ( $ c ) { $ this -> c = $ c ; $ this -> cID = $ c ? $ c -> getCollectionID ( ) : null ; }
Set the collection instance containing the block.

@param \Concrete\Core\Page\Collection\Collection $c
Set the collection instance containing the block .