array(), ); // @todo: Code A (availble) start/end dates cannot overlap with existing records - put in validation that it cannot be saved. public function day($day) { return $this->{'d_'.$day}; } } ?>