public function getPageTypeComposerControlObjects() { $objects = array(); $keys = AttributeKey::getList('collection'); foreach ($keys as $ak) { $ac = new CollectionAttributeControl(); $ac->setAttributeKeyID($ak->getAttributeKeyID()); $ac->setPageTypeComposerControlIconSRC($ak->getAttributeKeyIconSRC()); $ac->setPageTypeComposerControlName($ak->getAttributeKeyDisplayName()); $objects[] = $ac; } return $objects; }
public static function getList() { return parent::getList('store_product'); }
public static function getList() { return parent::getList('collection'); }
public static function getUserAddedList() { return parent::getList('user', array('akIsAutoCreated' => 0)); }
public static function getSearchableList() { return parent::getList('attribute_form', array('akIsSearchable' => 1)); }
public static function getList() { return parent::getList('store_order'); }
public static function getColumnHeaderList() { return parent::getList('file', array('akIsColumnHeader' => 1)); }
echo $set->getAttributeSetID(); ?> " /> <?php echo Loader::helper('validation/token')->output('update_set_attributes'); ?> <fieldset> <legend><?php echo t('Add Attributes to Set'); ?> </legend> <?php $cat = AttributeKeyCategory::getByID($set->getAttributeSetKeyCategoryID()); $list = AttributeKey::getList($cat->getAttributeKeyCategoryHandle()); $unassigned = $cat->getUnassignedAttributeKeys(); if (count($list) > 0) { ?> <div class="form-group"> <?php foreach ($list as $ak) { $disabled = ''; if (!in_array($ak, $unassigned) && !$ak->inAttributeSet($set)) { $disabled = array('disabled' => 'disabled'); } ?> <div class="checkbox"> <label> <?php
public static function getList() { return parent::getList('form'); }