pdfdokumente/Application/Model/Registries/registryAbstract.php

63 lines
1.6 KiB
PHP
Raw Normal View History

2020-05-30 00:45:18 +02:00
<?php
/**
* This Software is the property of Data Development and is protected
* by copyright law - it is NOT Freeware.
*
* Any unauthorized use of this software without a valid license
* is a violation of the license agreement and will be prosecuted by
* civil and criminal law.
*
* http://www.shopmodule.com
*
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
* @author D3 Data Development - Max Buhe <support@shopmodule.com>
* @link http://www.oxidmodule.com
*/
namespace D3\PdfDocuments\Application\Model\Registries;
2020-05-30 01:17:27 +02:00
use D3\PdfDocuments\Application\Model\Interfaces\pdfdocumentsGenericInterface;
2020-05-30 00:45:18 +02:00
2020-05-30 01:02:50 +02:00
abstract class registryAbstract implements registryGenericInterface
2020-05-30 00:45:18 +02:00
{
protected $_aRegistry = array();
/**
* @param $className * generator fully qualified class name
2020-05-30 01:17:27 +02:00
* @param pdfdocumentsGenericInterface $item
2020-05-30 00:45:18 +02:00
*/
2020-05-30 01:17:27 +02:00
protected function addItem($className, pdfdocumentsGenericInterface $item)
2020-05-30 00:45:18 +02:00
{
$this->_aRegistry[$className] = $item;
}
/**
* @param $className * generator fully qualified class name
*/
public function removeGenerator($className)
{
// TODO: Implement removeGenerator() method.
}
/**
* @param $className * generator fully qualified class name
*/
public function hasGenerator($className)
{
// TODO: Implement hasGenerator() method.
}
/**
* @return array
*/
public function getList()
{
return $this->_aRegistry;
}
public function clearList()
{
// TODO: Implement clearList() method.
}
}