mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-29 04:39:07 +02:00
60 lines
914 B
PHP
60 lines
914 B
PHP
<?php
|
|
|
|
namespace ipl\Web\Widget;
|
|
|
|
use ipl\Html\Html;
|
|
use ipl\Web\Url;
|
|
|
|
interface ControlsAndContent
|
|
{
|
|
/**
|
|
* @return Controls
|
|
*/
|
|
public function controls();
|
|
|
|
/**
|
|
* @return Tabs
|
|
*/
|
|
public function tabs();
|
|
|
|
/**
|
|
* @return Html
|
|
*/
|
|
public function actions(Html $actionBar = null);
|
|
|
|
/**
|
|
* @return Content
|
|
*/
|
|
public function content();
|
|
|
|
/**
|
|
* @param $title
|
|
* @return $this
|
|
*/
|
|
public function setTitle($title);
|
|
|
|
/**
|
|
* @param $title
|
|
* @return $this
|
|
*/
|
|
public function addTitle($title);
|
|
|
|
/**
|
|
* @param $title
|
|
* @param null $url
|
|
* @param string $name
|
|
* @return $this
|
|
*/
|
|
public function addSingleTab($title, $url = null, $name = 'main');
|
|
|
|
/**
|
|
* @return Url
|
|
*/
|
|
public function url();
|
|
|
|
/**
|
|
* @return Url
|
|
*/
|
|
public function getOriginalUrl();
|
|
}
|