CWIS Developer Documentation
MetadataFieldGroup.php
Go to the documentation of this file.
1 <?PHP
2 
8 {
9 
14  public function GetFields()
15  {
16  $ItemIds = $this->GetItemIds();
17  $Items = array();
18 
19  foreach ($ItemIds as $Info)
20  {
21  $Items[] = new $Info["Type"]($Info["ID"]);
22  }
23 
24  return $Items;
25  }
26 
31  public function GetFieldCount()
32  {
33  if (!isset($this->FieldCount))
34  {
35  $this->FieldCount = count($this->GetItemIds());
36  }
37 
38  return $this->FieldCount;
39  }
40 
44  protected $FieldCount;
45 
46 }