ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilBiblLibraryFactory.php
Go to the documentation of this file.
1<?php
2
9{
10
14 public function getAll()
15 {
16 return ilBiblLibrary::get();
17 }
18
19
23 public function findById($id)
24 {
26 }
27
28
32 public function getEmptyInstance()
33 {
34 return new ilBiblLibrary();
35 }
36}
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.
An exception for terminatinating execution or to throw for unit testing.
Class ilBiblLibraryFactory.
Class ilBiblLibrary.
if(!array_key_exists('StateId', $_REQUEST)) $id
Interface ilBiblLibraryFactoryInterface.