Ejemplo n.º 1
0
 public function testGetComputedAttributeKeyCategoryHandle()
 {
     $ak1 = new \Concrete\Core\Attribute\Key\CollectionKey();
     $ak2 = new \Concrete\Core\Attribute\Key\UserKey();
     $ak3 = new \Concrete\Core\Attribute\Key\FileKey();
     $ak4 = new EcommerceProductKey();
     $this->assertEquals('collection', $ak1->getComputedAttributeKeyCategoryHandle());
     $this->assertEquals('user', $ak2->getComputedAttributeKeyCategoryHandle());
     $this->assertEquals('file', $ak3->getComputedAttributeKeyCategoryHandle());
     $this->assertEquals('ecommerce_product', $ak4->getComputedAttributeKeyCategoryHandle());
 }
Ejemplo n.º 2
0
 public static function updateAttributesDisplayOrder($uats)
 {
     return Concrete\Core\Attribute\Key\UserKey::updateAttributesDisplayOrder($uats);
 }