N°2847 - Tab Management - iTop Pages refactoring - introduction of UIContentBlock as base block

This commit is contained in:
Eric
2020-09-16 12:00:48 +02:00
parent 163c1ebc91
commit 410a637598
46 changed files with 1245 additions and 737 deletions

View File

@@ -16,6 +16,7 @@
// You should have received a copy of the GNU Affero General Public License
// along with iTop. If not, see <http://www.gnu.org/licenses/>
use \Combodo\iTop\Application\UI\iUIBlock;
/**
* Simple web page with no includes or fancy formatting, useful to generateXML documents
@@ -64,9 +65,10 @@ class CSVPage extends WebPage
{
}
public function add($sText)
public function add($sText): ?iUIBlock
{
$this->s_content .= $sText;
return null;
}
public function p($sText)