| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <?php
- /* * ********************************************************************
- * KerioEmail product developed. (Nov 19, 2018)
- * *
- *
- * CREATED BY THURDATA -> http://thurdata.com
- * CONTACT -> contact@thurdata.com
- *
- *
- * This software is furnished under a license and may be used and copied
- * only in accordance with the terms of such license and with the
- * inclusion of the above copyright notice. This software or any other
- * copies thereof may not be provided or otherwise made available to any
- * other person. No title to and ownership of the software is hereby
- * transferred.
- *
- *
- * ******************************************************************** */
- namespace ThurData\Servers\KerioEmail\Core\UI\Widget\Sidebar;
- use \ThurData\Servers\KerioEmail\Core\UI\Builder\BaseContainer;
- /**
- * Description of Sidebar
- *
- * @autor ThurData <info@thurdata.ch>
- */
- class SidebarItem extends BaseContainer
- {
- use SidebarTrait;
-
- public function __construct($id, $href = null, $order = null, $targetBlankl = false)
- {
- if ($href)
- {
- $this->setHref($href);
- }
-
- $this->order = $order;
- $this->targetBlank = $targetBlankl;
- parent::__construct($id);
- }
-
- public function getId()
- {
- return $this->id;
- }
- public function setId($id)
- {
- $this->id = $id;
- return $this;
- }
-
- public function getHref()
- {
- return $this->htmlAttributes['href'];
- }
- public function setHref($href)
- {
- $this->htmlAttributes['href']= $href;
- return $this;
- }
-
- public function setTarget($target)
- {
- $this->htmlAttributes['target'] = $target;
-
- return $this;
- }
- public function setHtml($html)
- {
- $this->html = $html;
-
- return $this;
- }
- }
|