<?php # Copyright(C) 2004-2007 INL # Written by Eric Leblond <regit@inl.fr> # Vincent Deffontaines <gryzor@inl.fr> # Jean Gillaux <jean@inl.fr> # Damien Boucard <damien.boucard AT inl.fr> # # $Id: time.class.php 17927 2009-02-16 13:16:09Z haypo $ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, version 3 of the License. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, see <http://www.gnu.org/licenses/>. require_once('elt_set.class.php'); class duration extends elt_set { function duration($ress,$type='xml',$id=0){ parent::elt_set($ress, $type, $id, 'duration'); if ($type=='xml') { $this->read_elements($ress); } } } class periodicity extends elt_set { function periodicity($ress,$type='xml',$id=0){ parent::elt_set($ress, $type, $id, 'periodicity'); if ($type=='xml') { $this->read_elements($ress); } } } ?>