ILIAS
release_8 Revision v8.19
|
Representation of ECS EContent Time Place. More...
Public Member Functions | |
__construct () | |
__toString () | |
loadFromJson ($a_json) | |
load from json More... | |
setBegin ($a_begin) | |
set begin More... | |
getBegin () | |
get begin More... | |
getUTBegin () | |
get begin as unix time More... | |
setEnd (string $a_end) | |
set end More... | |
getEnd () | |
get end More... | |
getUTEnd () | |
get end as unix time More... | |
setRoom (string $a_room) | |
set room More... | |
getRoom () | |
get room More... | |
setCycle ($a_cycle) | |
set cycle More... | |
getCycle () | |
get cycle More... | |
Private Attributes | |
ilLogger | $logger |
string | $room = '' |
string | $begin = '' |
string | $end = '' |
string | $cycle = '' |
Representation of ECS EContent Time Place.
Definition at line 29 of file class.ilECSTimePlace.php.
ilECSTimePlace::__construct | ( | ) |
Definition at line 37 of file class.ilECSTimePlace.php.
References $DIC, and ILIAS\Repository\logger().
ilECSTimePlace::__toString | ( | ) |
Definition at line 43 of file class.ilECSTimePlace.php.
ilECSTimePlace::getBegin | ( | ) |
ilECSTimePlace::getCycle | ( | ) |
ilECSTimePlace::getEnd | ( | ) |
ilECSTimePlace::getRoom | ( | ) |
ilECSTimePlace::getUTBegin | ( | ) |
get begin as unix time
Definition at line 103 of file class.ilECSTimePlace.php.
References IL_CAL_DATE, IL_CAL_UNIX, and ilTimeZone\UTC.
Referenced by loadFromJson().
ilECSTimePlace::getUTEnd | ( | ) |
get end as unix time
Definition at line 133 of file class.ilECSTimePlace.php.
References IL_CAL_DATE, IL_CAL_UNIX, and ilTimeZone\UTC.
Referenced by loadFromJson().
ilECSTimePlace::loadFromJson | ( | $a_json | ) |
load from json
public
object | json representation |
ilException |
Definition at line 55 of file class.ilECSTimePlace.php.
References ilDateTime\_before(), getUTBegin(), getUTEnd(), IL_CAL_DATE, IL_CAL_UNIX, and ILIAS\Repository\logger().
ilECSTimePlace::setBegin | ( | $a_begin | ) |
set begin
Definition at line 81 of file class.ilECSTimePlace.php.
References IL_CAL_DATE, IL_CAL_UNIX, and ilTimeZone\UTC.
ilECSTimePlace::setCycle | ( | $a_cycle | ) |
set cycle
Definition at line 157 of file class.ilECSTimePlace.php.
ilECSTimePlace::setEnd | ( | string | $a_end | ) |
set end
Definition at line 111 of file class.ilECSTimePlace.php.
References IL_CAL_DATE, IL_CAL_UNIX, and ilTimeZone\UTC.
ilECSTimePlace::setRoom | ( | string | $a_room | ) |
set room
Definition at line 141 of file class.ilECSTimePlace.php.
|
private |
Definition at line 33 of file class.ilECSTimePlace.php.
Referenced by getBegin().
|
private |
Definition at line 35 of file class.ilECSTimePlace.php.
Referenced by getCycle().
|
private |
Definition at line 34 of file class.ilECSTimePlace.php.
Referenced by getEnd().
|
private |
Definition at line 31 of file class.ilECSTimePlace.php.
|
private |
Definition at line 32 of file class.ilECSTimePlace.php.
Referenced by getRoom().