diff --git a/application/admin/component/links/controller/link.php b/application/admin/component/links/controller/link.php new file mode 100644 index 00000000..db6fd795 --- /dev/null +++ b/application/admin/component/links/controller/link.php @@ -0,0 +1,15 @@ + + * @link https://github.com/belgianpolice/internet-platform + */ + +use Nooku\Library; + +class LinksControllerLink extends Library\ControllerModel +{ + +} \ No newline at end of file diff --git a/application/admin/component/links/controller/permission/link.php b/application/admin/component/links/controller/permission/link.php new file mode 100644 index 00000000..2f4f4e2c --- /dev/null +++ b/application/admin/component/links/controller/permission/link.php @@ -0,0 +1,15 @@ + + * @link https://github.com/belgianpolice/internet-platform + */ + +use Nooku\Library; + +class LinksControllerPermissionLink extends ApplicationControllerPermissionAbstract +{ + +} \ No newline at end of file diff --git a/application/admin/component/links/view/link/html.php b/application/admin/component/links/view/link/html.php new file mode 100644 index 00000000..5b296f6f --- /dev/null +++ b/application/admin/component/links/view/link/html.php @@ -0,0 +1,29 @@ + + * @link https://github.com/belgianpolice/internet-platform + */ + +use Nooku\Library; + +/** + * Articles HTML View + * + * @author Tom Janssens + * @package Component\Articles + */ +class LinksViewLinkHtml extends Library\ViewHtml +{ + public function render() + { + $model = $this->getModel(); + $link = $model->getRow(); + + $this->childs = $this->getObject('com:links.model.relations')->links_link_id($link->id)->getRowset(); + + return parent::render(); + } +} \ No newline at end of file diff --git a/application/admin/component/links/view/link/templates/default.html.php b/application/admin/component/links/view/link/templates/default.html.php new file mode 100644 index 00000000..7bca730e --- /dev/null +++ b/application/admin/component/links/view/link/templates/default.html.php @@ -0,0 +1,50 @@ + + * @link https://github.com/belgianpolice/internet-platform + */ +?> + +