| Conditions | 4 |
| Paths | 2 |
| Total Lines | 17 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 29 | public function mainAction() |
||
| 30 | { |
||
| 31 | $this->cObj = $this->configurationManager->getContentObject(); |
||
|
|
|||
| 32 | // Load current document. |
||
| 33 | $this->loadDocument($this->requestData); |
||
| 34 | if ( |
||
| 35 | $this->document === null |
||
| 36 | || $this->document->getDoc() === null |
||
| 37 | || $this->document->getDoc()->metadataArray['LOG_0001']['type'][0] != 'object' |
||
| 38 | ) { |
||
| 39 | // Quit without doing anything if required variables are not set. |
||
| 40 | return ''; |
||
| 41 | } else { |
||
| 42 | $this->view->assign('url', ''); |
||
| 43 | $this->view->assign('script.main', ''); |
||
| 44 | $this->view->assign('script.toastify', ''); |
||
| 45 | $this->view->assign('script.spinner', ''); |
||
| 46 | } |
||
| 49 |