| 1: | <?php |
| 2: | |
| 3: | namespace LaravelUi5\Core; |
| 4: | |
| 5: | use LaravelUi5\Core\Contracts\Ui5Source; |
| 6: | use LaravelUi5\Core\Ui5\Contracts\Ui5AppInterface; |
| 7: | use LaravelUi5\Core\Ui5\Contracts\Ui5ArtifactInterface; |
| 8: | use LaravelUi5\Core\Ui5\Contracts\Ui5LibraryInterface; |
| 9: | use LaravelUi5\Core\Ui5\AbstractUi5Module; |
| 10: | |
| 11: | class ReportModule extends AbstractUi5Module |
| 12: | { |
| 13: | public function getName(): string |
| 14: | { |
| 15: | return 'Report'; |
| 16: | } |
| 17: | |
| 18: | public function hasApp(): bool |
| 19: | { |
| 20: | return true; |
| 21: | } |
| 22: | |
| 23: | public function getApp(): ?Ui5AppInterface |
| 24: | { |
| 25: | return new ReportApp($this); |
| 26: | } |
| 27: | |
| 28: | public function hasLibrary(): bool |
| 29: | { |
| 30: | return false; |
| 31: | } |
| 32: | |
| 33: | public function getLibrary(): ?Ui5LibraryInterface |
| 34: | { |
| 35: | return null; |
| 36: | } |
| 37: | |
| 38: | public function getArtifactRoot(): Ui5ArtifactInterface |
| 39: | { |
| 40: | return $this->getApp(); |
| 41: | } |
| 42: | |
| 43: | public function getCards(): array |
| 44: | { |
| 45: | return []; |
| 46: | } |
| 47: | |
| 48: | public function getKpis(): array |
| 49: | { |
| 50: | return []; |
| 51: | } |
| 52: | |
| 53: | public function getTiles(): array |
| 54: | { |
| 55: | return []; |
| 56: | } |
| 57: | |
| 58: | public function getActions(): array |
| 59: | { |
| 60: | return []; |
| 61: | } |
| 62: | |
| 63: | public function getResources(): array |
| 64: | { |
| 65: | return []; |
| 66: | } |
| 67: | |
| 68: | public function getDashboards(): array |
| 69: | { |
| 70: | return []; |
| 71: | } |
| 72: | |
| 73: | public function getReports(): array |
| 74: | { |
| 75: | return []; |
| 76: | } |
| 77: | |
| 78: | public function getDialogs(): array |
| 79: | { |
| 80: | return []; |
| 81: | } |
| 82: | } |
| 83: | |