ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
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 ()
 
 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)

PhpIncompatibleReturnTypeInspection

Implements ilBiblLibraryFactoryInterface.

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

References ActiveRecord\findOrFail().

39  {
42  }
static findOrFail($primary_key, array $add_constructor_args=array())
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...
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
+ Here is the call graph for this function:

◆ getAll()

ilBiblLibraryFactory::getAll ( )

Implements ilBiblLibraryFactoryInterface.

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

References ActiveRecord\get().

29  : array
30  {
31  return ilBiblLibrary::get();
32  }
+ Here is the call graph for this function:

◆ getEmptyInstance()

ilBiblLibraryFactory::getEmptyInstance ( )

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...
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: