1: <?php
2:
3: /**
4: *
5: * @package Plugin
6: * @subpackage FormAssistant
7: * @author Marcus Gnaß <marcus.gnass@4fb.de>
8: * @copyright four for business AG
9: * @link http://www.4fb.de
10: */
11:
12: // assert CONTENIDO framework
13: defined('CON_FRAMEWORK') || die('Illegal call: Missing framework initialization - request aborted.');
14:
15: /**
16: * Abstract class to read labels and values to be used for PIFA field options
17: * from an external datasource.
18: *
19: * @author Marcus Gnaß <marcus.gnass@4fb.de>
20: */
21: abstract class PifaExternalOptionsDatasourceInterface {
22:
23: /**
24: * Gets all option labels.
25: *
26: * @return array of labels to be used for PIFA field options
27: */
28: public abstract function getOptionLabels();
29:
30: /**
31: * Gets all option values.
32: *
33: * @return array of values to be used for PIFA field options
34: */
35: public abstract function getOptionValues();
36: }
37: