Skip to content

Commit

Permalink
Merge pull request #1 from ILIAS-eLearning/release_5-4
Browse files Browse the repository at this point in the history
Update des Forks
  • Loading branch information
ILIASLM authored Mar 3, 2020
2 parents 6914782 + 5fd1d46 commit 46654ab
Show file tree
Hide file tree
Showing 5,955 changed files with 1,467,175 additions and 1,392,263 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
Expand Up @@ -5,93 +5,101 @@
*
* @author Fabian Schmid <[email protected]>
*/
class ilBiblAdminFactoryFacade implements ilBiblAdminFactoryFacadeInterface {

/**
* @var \ilBiblTranslationFactory
*/
protected $translation_factory;
/**
* @var \ilBiblFieldFactory
*/
protected $field_factory;
/**
* @var \ilBiblTypeInterface|\ilBibTex|\ilRis
*/
protected $type;
/**
* @var \ilBiblTypeFactory
*/
protected $type_factory;
/**
* @var int
*/
protected $object_id;
/**
* @var int
*/
protected $ref_id;


/**
* ilBiblAdminFactoryFacade constructor.
*
* @param \ilObjBibliographicAdmin $ilObjBibliographicAdmin
*/
public function __construct(ilObjBibliographicAdmin $ilObjBibliographicAdmin, $type_id) {
$this->object_id = $ilObjBibliographicAdmin->getId();
$this->ref_id = $ilObjBibliographicAdmin->getRefId();
$this->type_factory = new ilBiblTypeFactory();
$this->type = $this->type_factory->getInstanceForType($type_id);
$this->field_factory = new ilBiblFieldFactory($this->type);
$this->translation_factory = new ilBiblTranslationFactory($this->field_factory);
}


/**
* @inheritDoc
*/
public function typeFactory() {
return $this->type_factory;
}


/**
* @inheritDoc
*/
public function type() {
return $this->type;
}


/**
* @inheritDoc
*/
public function translationFactory() {
return $this->translation_factory;
}


/**
* @inheritDoc
*/
public function fieldFactory() {
return $this->field_factory;
}


/**
* @inheritDoc
*/
public function iliasObjId() {
return $this->object_id;
}


/**
* @inheritDoc
*/
public function iliasRefId() {
return $this->ref_id;
}
class ilBiblAdminFactoryFacade implements ilBiblAdminFactoryFacadeInterface
{

/**
* @var \ilBiblTranslationFactory
*/
protected $translation_factory;
/**
* @var \ilBiblFieldFactory
*/
protected $field_factory;
/**
* @var \ilBiblTypeInterface|\ilBibTex|\ilRis
*/
protected $type;
/**
* @var \ilBiblTypeFactory
*/
protected $type_factory;
/**
* @var int
*/
protected $object_id;
/**
* @var int
*/
protected $ref_id;


/**
* ilBiblAdminFactoryFacade constructor.
*
* @param \ilObjBibliographicAdmin $ilObjBibliographicAdmin
*/
public function __construct(ilObjBibliographicAdmin $ilObjBibliographicAdmin, $type_id)
{
$this->object_id = $ilObjBibliographicAdmin->getId();
$this->ref_id = $ilObjBibliographicAdmin->getRefId();
$this->type_factory = new ilBiblTypeFactory();
$this->type = $this->type_factory->getInstanceForType($type_id);
$this->field_factory = new ilBiblFieldFactory($this->type);
$this->translation_factory = new ilBiblTranslationFactory($this->field_factory);
}


/**
* @inheritDoc
*/
public function typeFactory()
{
return $this->type_factory;
}


/**
* @inheritDoc
*/
public function type()
{
return $this->type;
}


/**
* @inheritDoc
*/
public function translationFactory()
{
return $this->translation_factory;
}


/**
* @inheritDoc
*/
public function fieldFactory()
{
return $this->field_factory;
}


/**
* @inheritDoc
*/
public function iliasObjId()
{
return $this->object_id;
}


/**
* @inheritDoc
*/
public function iliasRefId()
{
return $this->ref_id;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,49 +5,54 @@
*
* @author Fabian Schmid <[email protected]>
*/
class ilBiblAdminLibraryFacade implements ilBiblAdminLibraryFacadeInterface {

/**
* @var int
*/
protected $object_id;
/**
* @var int
*/
protected $ref_id;


/**
* ilBiblAdminLibraryFacade constructor.
*
* @param \ilObjBibliographicAdmin $ilias_object
*/
public function __construct(ilObjBibliographicAdmin $ilias_object) {
$this->object_id = $ilias_object->getId();
$this->ref_id = $ilias_object->getRefId();
}


/**
* @inheritDoc
*/
public function iliasObjId() {
return $this->object_id;
}


/**
* @inheritDoc
*/
public function iliasRefId() {
return $this->ref_id;
}


/**
* @inheritDoc
*/
public function libraryFactory() {
return new ilBiblLibraryFactory();
}
class ilBiblAdminLibraryFacade implements ilBiblAdminLibraryFacadeInterface
{

/**
* @var int
*/
protected $object_id;
/**
* @var int
*/
protected $ref_id;


/**
* ilBiblAdminLibraryFacade constructor.
*
* @param \ilObjBibliographicAdmin $ilias_object
*/
public function __construct(ilObjBibliographicAdmin $ilias_object)
{
$this->object_id = $ilias_object->getId();
$this->ref_id = $ilias_object->getRefId();
}


/**
* @inheritDoc
*/
public function iliasObjId()
{
return $this->object_id;
}


/**
* @inheritDoc
*/
public function iliasRefId()
{
return $this->ref_id;
}


/**
* @inheritDoc
*/
public function libraryFactory()
{
return new ilBiblLibraryFactory();
}
}
Loading

0 comments on commit 46654ab

Please sign in to comment.