ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilBiblLibraryFactory Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilBiblLibraryFactory:
+ Collaboration diagram for ilBiblLibraryFactory:

Public Member Functions

 getAll ()
 @inheritDoc More...
 
 findById (int $id)
 @inheritDoc More...
 
 getEmptyInstance ()
 @inheritDoc More...
 
 getAll ()
 
 findById (int $id)
 
 getEmptyInstance ()
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilBiblLibraryFactory

Author
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch

Definition at line 24 of file class.ilBiblLibraryFactory.php.

Member Function Documentation

◆ findById()

ilBiblLibraryFactory::findById ( int  $id)

@inheritDoc

@noinspection PhpIncompatibleReturnTypeInspection

Implements ilBiblLibraryFactoryInterface.

Definition at line 38 of file class.ilBiblLibraryFactory.php.

39 {
42 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
static findOrFail($primary_key, array $add_constructor_args=[])
Tries to find the object and throws an Exception if object is not found, instead of returning null.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References $id, and ActiveRecord\findOrFail().

+ Here is the call graph for this function:

◆ getAll()

ilBiblLibraryFactory::getAll ( )

@inheritDoc

Implements ilBiblLibraryFactoryInterface.

Definition at line 29 of file class.ilBiblLibraryFactory.php.

29 : array
30 {
31 return ilBiblLibrary::get();
32 }

References ActiveRecord\get().

+ Here is the call graph for this function:

◆ getEmptyInstance()

ilBiblLibraryFactory::getEmptyInstance ( )

@inheritDoc

Implements ilBiblLibraryFactoryInterface.

Definition at line 48 of file class.ilBiblLibraryFactory.php.

49 {
50 return new ilBiblLibrary();
51 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

The documentation for this class was generated from the following file: