17 public static function findSingle($data_type_id, $tview_id) {
19 if (is_null($storage_location) || $storage_location == 0) {
25 return $class::getCollection()->where(array(
"tview_set_id" => $tview_id))->first();
26 }
catch (Exception $ex) {
32 public static function findAll($data_type_id, $tview_id) {
34 if (is_null($storage_location) || $storage_location == 0) {
40 return $class::getCollection()->where(array(
"tview_set_id" => $tview_id))->get();
41 }
catch (Exception $ex) {
An exception for terminatinating execution or to throw for unit testing.
static getDatatype($datatyp_id)
Get cached datatypes.
const STORAGE_LOCATION_MAPPING
Class ilDclTableViewBaseDefaultValue.
static findAll($data_type_id, $tview_id)
static findSingle($data_type_id, $tview_id)