webCOMAND

Object::get_all_dimensions()

Return an array that contains each defined version of this object for a unique dimension.

Prototype

array get_all_dimensions()

Return

An array that contains each defined versions of this object for a unique dimension.

Example

$repo = \comand::repo();
$contact = $repo->get_first('FROM Contact LIMIT 1');
$dimensions = $contact->get_all_dimensions();
foreach($dimensions as $dimension) {
    echo("DOID=" . $dimension->DOID . ", Language=" . $dimension->Language . "\n");
}