Exemplo n.º 1
0
 /**
  * @return array
  */
 public function getAttributesForDescription()
 {
     $return = array();
     foreach (arFieldList::getAllowedDescriptionFields() as $field_name) {
         if ($this->{$field_name} and self::isAllowedAttribute($this->getFieldType(), $field_name)) {
             $return[arFieldList::mapKey($field_name)] = $this->{$field_name};
         }
     }
     return $return;
 }