getCommandForObject($object, $type);
$out = '
';
$i = 0;
foreach ($definitions as $definition) {
if ($i % 5 === 0) {
$out .= '
';
}
if ($type === Meta::TYPE_FULL) {
$out .= '
';
}
$out .= sprintf(
'',
$definition->id,
$definition->shortDescription,
$definition->longDescription,
$definition->iconCls,
($definition->btnCls) ? $definition->btnCls : 'btn-default'
);
if ($type === Meta::TYPE_FULL) {
$out .= '
';
}
$i++;
}
$out .= '
';
$out .= '';
if ($type === Meta::TYPE_FULL) {
return ''. $out. '
';
}
return $out;
}
}