ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
ilBiblLibraryFactory Class Reference

Class ilBiblLibraryFactory. More...

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

Public Member Functions

 getAll ()
 
 findById ($id)
 
 getEmptyInstance ()
 

Detailed Description

Member Function Documentation

◆ findById()

ilBiblLibraryFactory::findById (   $id)

Implements ilBiblLibraryFactoryInterface.

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

References ActiveRecord\findOrFail().

24  {
25  return ilBiblLibrary::findOrFail($id);
26  }
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...
+ Here is the call graph for this function:

◆ getAll()

ilBiblLibraryFactory::getAll ( )

Implements ilBiblLibraryFactoryInterface.

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

References ActiveRecord\get().

15  {
16  return ilBiblLibrary::get();
17  }
+ Here is the call graph for this function:

◆ getEmptyInstance()

ilBiblLibraryFactory::getEmptyInstance ( )

Implements ilBiblLibraryFactoryInterface.

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

33  {
34  return new ilBiblLibrary();
35  }
Class ilBiblLibrary.

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