Back to index

sameday.so module reference

Author

Tomaz Solc, tomaz.solc@siol.net

Credits

Ideas taken from a patch for Tablix 0.0.3 by Jaume Obrador <obrador@espaiweb.net>

Module groups

This module belongs to the following groups:

Description

Adds a weight if a class has the same subject twice (i.e. two events with the same name) in a day. Adds two weights if three times in a day, etc.

Required resource types

Configuration file must define the following resource types in order to use this module:

Defined resource restrictions

ignore-sameday (resource types class)

<resourcetype type="class">
	<resource name="example-class">
		<restriction type="ignore-sameday"/>
	</resource>
</resourcetype>

Set this restriction to a class that you don't want to be checked for multiple occurrences of the same subject in a day. This module ignores classes that have this restriction.

Defined tuple restrictions

consecutive

This is an alias for "ignore-sameday" restriction. It makes this module compatible with "consecutive.so".

ignore-sameday

Set this restriction to all events that you do not want to be checked for multiple occurences per day.

Supported module options

Back to index