protected function getUnitIds() {
    $unit_ids = array();
    foreach ($this->units as $unit) {
      $unit_ids[] = $unit->getUnitId();
    }

    return $unit_ids;
  }
protected function getUnitIds() {
    $unit_ids = array();
    foreach ($this->units as $unit) {
      $unit_ids[] = $unit->getUnitId();
    }

    return $unit_ids;
  }
protected function getUnitIds ( ) { $ unit_ids = array ( ) ; foreach ( $ this -> units as $ unit ) { $ unit_ids [ ] = $ unit -> getUnitId ( ) ; } return $ unit_ids ; }
Return an array of unit ids from the set of units
supplied to the Calendar.

@return array
Return an array of unit ids from the set of units supplied to the Calendar .