/**
  * @param int $attributeId
  * @return null|string
  */
 public function GetAttributeValue($attributeId)
 {
     return $this->Attributes->Get($attributeId);
 }
Example #2
0
 private function AddCustomAttributes($category, CustomAttributes $attributes, &$formattedRow, $key, ReportColumn $column)
 {
     $prefix = $category . 'attribute';
     if ($attributes != null && BookedStringHelper::StartsWith($key, $prefix)) {
         $id = intval(str_replace($prefix, '', $key));
         $attribute = $attributes->Get($id);
         $formattedRow[] = new ReportAttributeCell($column->GetData($attribute));
     }
 }