53                require_once 
'Services/Object/Icon/classes/class.ilContainerCustomIconConfiguration.php';
 
   54                $configuration = new \ilContainerCustomIconConfiguration();
 
   58                require_once 
'Services/Object/Icon/classes/class.ilObjectCustomIconConfiguration.php';
 
   59                $configuration = new \ilObjectCustomIconConfiguration();
 
   63        return $configuration;
 
   73        if (0 === strlen($objType)) {
 
   74            $objType = (string) $this->objectCache->lookupType($objId);
 
   77        require_once 
'Services/Object/Icon/classes/class.ilObjectCustomIconImpl.php';
 
   78        return new \ilObjectCustomIconImpl(
 
   96        if (0 === strlen($objType)) {
 
   97            $objType = $this->objectCache->lookupType($objId);
 
  105                $presenter = new \ilObjectReferenceCustomIconPresenter($objId, $this);
 
  110                $presenter = new \ilObjectCustomIconPresenterImpl($this->
getByObjId((
int) $objId, (
string) $objType));
 
An exception for terminatinating execution or to throw for unit testing.
Class ilObjectCustomIconFactory.
__construct(\ILIAS\Filesystem\Filesystem $webDirectory, \ILIAS\FileUpload\FileUpload $uploadService, \ilObjectDataCache $objectCache)
ilObjectCustomIconFactory constructor.
getPresenterByObjId(int $objId, string $objType)
Get custom icon presenter.
getByObjId(int $objId, string $objType='')
getConfigurationByType(string $type)
Interface ilObjectCustomIcon.
Interface ilObjectCustomIcon.
Class FlySystemFileAccessTest.