concrete/src/Page/Collection/Collection.php
public function getSetCollectionAttributes()
    {
        $category = $this->vObj->getObjectAttributeCategory();
        $values = $category->getAttributeValues($this->vObj);
        $attribs = [];
        foreach ($values as $value) {
            $attribs[] = $value->getAttributeKey();
        }

        return $attribs;
    }
public function getSetCollectionAttributes()
    {
        $category = $this->vObj->getObjectAttributeCategory();
        $values = $category->getAttributeValues($this->vObj);
        $attribs = [];
        foreach ($values as $value) {
            $attribs[] = $value->getAttributeKey();
        }

        return $attribs;
    }
public function getSetCollectionAttributes ( ) { $ category = $ this -> vObj -> getObjectAttributeCategory ( ) ; $ values = $ category -> getAttributeValues ( $ this -> vObj ) ; $ attribs = [ ] ; foreach ( $ values as $ value ) { $ attribs [ ] = $ value -> getAttributeKey ( ) ; } return $ attribs ; }
Get the list of attribute keys for which the currently loaded collection version has values.

@return \Concrete\Core\Entity\Attribute\Key\PageKey[]
Get the list of attribute keys for which the currently loaded collection version has values .