1 | <?php |
||
37 | class SiteApiCommandController extends CommandController { |
||
38 | |||
39 | const MAXIMUM_LINE_LENGTH = 79; |
||
40 | |||
41 | /** |
||
42 | * @var \TYPO3\CMS\Core\Log\LogManager $logManager |
||
43 | */ |
||
44 | protected $logManager; |
||
45 | |||
46 | /** |
||
47 | * @var \TYPO3\CMS\Core\Log\Logger $logger |
||
48 | */ |
||
49 | protected $logger; |
||
50 | |||
51 | /** |
||
52 | * @param \TYPO3\CMS\Core\Log\LogManager $logManager |
||
53 | * |
||
54 | * @return void |
||
55 | */ |
||
56 | public function injectLogManager(\TYPO3\CMS\Core\Log\LogManager $logManager) { |
||
59 | |||
60 | /** |
||
61 | * Initialize the object |
||
62 | */ |
||
63 | public function initializeObject() { |
||
66 | |||
67 | /** |
||
68 | * @var \Etobi\CoreAPI\Service\SiteApiService |
||
69 | */ |
||
70 | protected $siteApiService; |
||
71 | |||
72 | /** |
||
73 | * Inject the SiteApiService |
||
74 | * |
||
75 | * @param \Etobi\CoreAPI\Service\SiteApiService $siteApiService |
||
76 | * |
||
77 | * @return void |
||
78 | */ |
||
79 | public function injectSiteApiService(\Etobi\CoreAPI\Service\SiteApiService $siteApiService) { |
||
82 | |||
83 | /** |
||
84 | * Basic information about the system. |
||
85 | * |
||
86 | * @return void |
||
87 | */ |
||
88 | public function infoCommand() { |
||
98 | |||
99 | /** |
||
100 | * Sys news record is displayed at the login page. |
||
101 | * |
||
102 | * @param string $header Header text |
||
103 | * @param string $text Basic text |
||
104 | * |
||
105 | * @return void |
||
106 | */ |
||
107 | public function createSysNewsCommand($header, $text = '') { |
||
124 | } |
||
125 |