ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Persistence for Settings (like abstract, extro) More...
Public Member Functions | |
__construct (ilDBInterface $database, ilLearningSequenceFilesystem $ls_filesystem) | |
store (ilLearningSequenceSettings $settings) | |
delete (int $obj_id) | |
getSettingsFor (int $lso_obj_id) | |
Data Fields | |
const | TABLE_NAME = 'lso_settings' |
Protected Member Functions | |
select (int $obj_id) | |
buildSettings (int $obj_id, string $abstract='', string $extro='', string $abstract_image=null, string $extro_image=null, bool $gallery=false) | |
insert (ilLearningSequenceSettings $settings) | |
Protected Attributes | |
$database | |
$ls_filesystem | |
Persistence for Settings (like abstract, extro)
Definition at line 10 of file class.ilLearningSequenceSettingsDB.php.
ilLearningSequenceSettingsDB::__construct | ( | ilDBInterface | $database, |
ilLearningSequenceFilesystem | $ls_filesystem | ||
) |
Definition at line 24 of file class.ilLearningSequenceSettingsDB.php.
References $database, and $ls_filesystem.
|
protected |
Definition at line 116 of file class.ilLearningSequenceSettingsDB.php.
Referenced by getSettingsFor().
ilLearningSequenceSettingsDB::delete | ( | int | $obj_id | ) |
Definition at line 61 of file class.ilLearningSequenceSettingsDB.php.
References $query, getSettingsFor(), ilLearningSequenceFilesystem\IMG_ABSTRACT, ilLearningSequenceFilesystem\IMG_EXTRO, and PHP_EOL.
ilLearningSequenceSettingsDB::getSettingsFor | ( | int | $lso_obj_id | ) |
Definition at line 77 of file class.ilLearningSequenceSettingsDB.php.
References $data, buildSettings(), insert(), and select().
Referenced by delete().
|
protected |
Definition at line 134 of file class.ilLearningSequenceSettingsDB.php.
References $values, ilLearningSequenceSettings\getAbstract(), ilLearningSequenceSettings\getExtro(), ilLearningSequenceSettings\getMembersGallery(), and ilLearningSequenceSettings\getObjId().
Referenced by getSettingsFor().
|
protected |
Definition at line 98 of file class.ilLearningSequenceSettingsDB.php.
References $query, $result, $ret, and PHP_EOL.
Referenced by getSettingsFor().
ilLearningSequenceSettingsDB::store | ( | ilLearningSequenceSettings | $settings | ) |
Definition at line 30 of file class.ilLearningSequenceSettingsDB.php.
References $info, $values, ilLearningSequenceSettings\getAbstract(), ilLearningSequenceSettings\getAbstractImage(), ilLearningSequenceSettings\getDeletions(), ilLearningSequenceSettings\getExtro(), ilLearningSequenceSettings\getExtroImage(), ilLearningSequenceSettings\getMembersGallery(), ilLearningSequenceSettings\getObjId(), and ilLearningSequenceSettings\getUploads().
|
protected |
Definition at line 17 of file class.ilLearningSequenceSettingsDB.php.
Referenced by __construct().
|
protected |
Definition at line 22 of file class.ilLearningSequenceSettingsDB.php.
Referenced by __construct().
const ilLearningSequenceSettingsDB::TABLE_NAME = 'lso_settings' |
Definition at line 12 of file class.ilLearningSequenceSettingsDB.php.