1: <?php
2: /**
3: * Object to contain request information as it relates to which controller to
4: * create.
5: *
6: * @category Horde
7: * @package Core
8: */
9: class Horde_Core_Controller_RequestConfiguration implements Horde_Controller_RequestConfiguration
10: {
11: /**
12: */
13: protected $_classNames = array();
14:
15: /**
16: */
17: protected $_application;
18:
19: /**
20: * Constructor
21: */
22: public function __construct()
23: {
24: $this->_classNames = array(
25: 'controller' => 'Horde_Core_Controller_NotFound',
26: 'settings' => 'Horde_Controller_SettingsExporter_Default',
27: );
28: }
29:
30: /**
31: */
32: public function setApplication($application)
33: {
34: $this->_application = $application;
35: }
36:
37: /**
38: */
39: public function getApplication()
40: {
41: return $this->_application;
42: }
43:
44: /**
45: */
46: public function setControllerName($controllerName)
47: {
48: $this->_classNames['controller'] = $controllerName;
49: }
50:
51: /**
52: */
53: public function getControllerName()
54: {
55: return $this->_classNames['controller'];
56: }
57:
58: /**
59: */
60: public function setSettingsExporterName($settingsName)
61: {
62: $this->_classNames['settings'] = $settingsName;
63: }
64:
65: /**
66: */
67: public function getSettingsExporterName()
68: {
69: return $this->_classNames['settings'];
70: }
71: }
72: