concrete/src/Page/Collection/Collection.php
public function setCustomStyleSet($area, $set)
    {
        $db = Loader::db();
        $db->Replace(
            'CollectionVersionAreaStyles',
            [
                'cID' => $this->getCollectionID(),
                'cvID' => $this->getVersionID(),
                'arHandle' => $area->getAreaHandle(),
                'issID' => $set->getID(),
            ],
            ['cID', 'cvID', 'arHandle'],
            true
            );
    }
public function setCustomStyleSet($area, $set)
    {
        $db = Loader::db();
        $db->Replace(
            'CollectionVersionAreaStyles',
            [
                'cID' => $this->getCollectionID(),
                'cvID' => $this->getVersionID(),
                'arHandle' => $area->getAreaHandle(),
                'issID' => $set->getID(),
            ],
            ['cID', 'cvID', 'arHandle'],
            true
            );
    }
public function setCustomStyleSet ( $ area , $ set ) { $ db = Loader :: db ( ) ; $ db -> Replace ( 'CollectionVersionAreaStyles' , [ 'cID' => $ this -> getCollectionID ( ) , 'cvID' => $ this -> getVersionID ( ) , 'arHandle' => $ area -> getAreaHandle ( ) , 'issID' => $ set -> getID ( ) , ] , [ 'cID' , 'cvID' , 'arHandle' ] , true ) ; }
Set the custom style of an area in the currently loaded collection version.

@param \Concrete\Core\Area\Area $area
@param \Concrete\Core\Entity\StyleCustomizer\Inline\StyleSet $set
Set the custom style of an area in the currently loaded collection version .