mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-25 13:24:12 +01:00
- Add ObjectFactory for ObjectDetails, ObjectCard, ... - Update SCSS files to integrate its components Note: A big part of the CSS is hardcoded in cmdbAbstract for now as we still need to discuss / work on the migration of the cmdbAbstract APIs (DisplayBareHeader, DisplayBareProperties, ...)
30 lines
676 B
PHP
30 lines
676 B
PHP
<?php
|
|
/*
|
|
* @copyright Copyright (C) 2010-2020 Combodo SARL
|
|
* @license http://opensource.org/licenses/AGPL-3.0
|
|
*/
|
|
|
|
namespace Combodo\iTop\Application\UI\Layout\Object;
|
|
|
|
|
|
use Combodo\iTop\Application\UI\Layout\Object\ObjectDetails;
|
|
use DBObject;
|
|
|
|
/**
|
|
* Class ObjectFactory
|
|
*
|
|
* @internal
|
|
* @author Guillaume Lajarige <guillaume.lajarige@combodo.com>
|
|
* @package Combodo\iTop\Application\UI\Layout\Object
|
|
* @since 2.8.0
|
|
*/
|
|
class ObjectFactory {
|
|
/**
|
|
* Make a standard object details layout.
|
|
*
|
|
* @return \Combodo\iTop\Application\UI\Layout\Object\ObjectDetails
|
|
*/
|
|
public static function MakeDetails(DBObject $oObject) {
|
|
return new ObjectDetails();
|
|
}
|
|
} |