CWIS Developer Documentation
Home
Main Page
Namespaces
Classes
Files
File List
File Members
objects
MetadataFieldGroup.php
Go to the documentation of this file.
1
<?
PHP
2
7
class
MetadataFieldGroup
extends
Folder
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
}
Copyright 2012 Internet Scout