mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 14:38:47 +02:00
N°2847 - Tab Management - iTop Pages refactoring - introduction of UIContentBlock as base block
This commit is contained in:
@@ -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;
|
||||
|
||||
/**
|
||||
* CLI page
|
||||
@@ -48,9 +49,10 @@ class CLIPage implements Page
|
||||
}
|
||||
}
|
||||
|
||||
public function add($sText)
|
||||
public function add($sText): ?iUIBlock
|
||||
{
|
||||
echo $sText;
|
||||
return null;
|
||||
}
|
||||
|
||||
public function p($sText)
|
||||
|
||||
Reference in New Issue
Block a user