ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilFileDataForumInterface Interface 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 ilFileDataForumInterface:
+ Collaboration diagram for ilFileDataForumInterface:

Public Member Functions

 getObjId ()
 
 getPosId ()
 
 setPosId (int $posting_id)
 
 getForumPath ()
 
 getFilesOfPost ()
 
 moveFilesOfPost (int $new_frm_id=0)
 
 ilClone (int $new_obj_id, int $new_posting_id)
 
 delete (?array $posting_ids_to_delete=null)
 
 storeUploadedFiles ()
 
 unlinkFile (string $filename)
 
 getFileDataByMD5Filename (string $hashed_filename)
 
 unlinkFilesByMD5Filenames ($hashed_filename_or_filenames)
 
 deliverFile (string $file)
 
 deliverZipFile ()
 

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

Definition at line 19 of file interface.ilFileDataForumInterface.php.

Member Function Documentation

◆ delete()

ilFileDataForumInterface::delete ( ?array  $posting_ids_to_delete = null)
Parameters
list<int>|null$posting_ids_to_delete

Implemented in ilFileDataForumDraftsRCImplementation, ilFileDataForumRCImplementation, ilFileDataForum, and ilFileDataForumDrafts.

◆ deliverFile()

ilFileDataForumInterface::deliverFile ( string  $file)

◆ deliverZipFile()

ilFileDataForumInterface::deliverZipFile ( )

◆ getFileDataByMD5Filename()

ilFileDataForumInterface::getFileDataByMD5Filename ( string  $hashed_filename)
Returns
array{path: string, filename: string, clean_filename: string}|null

Implemented in ilFileDataForumRCImplementation, ilFileDataForumDraftsRCImplementation, ilFileDataForum, and ilFileDataForumDrafts.

◆ getFilesOfPost()

ilFileDataForumInterface::getFilesOfPost ( )
Returns
array<string, array{path: string, md5: string, name: string, size: int, ctime: string}>

Implemented in ilFileDataForumDraftsRCImplementation, ilFileDataForumRCImplementation, ilFileDataForum, and ilFileDataForumDrafts.

◆ getForumPath()

ilFileDataForumInterface::getForumPath ( )

◆ getObjId()

◆ getPosId()

◆ ilClone()

ilFileDataForumInterface::ilClone ( int  $new_obj_id,
int  $new_posting_id 
)

◆ moveFilesOfPost()

ilFileDataForumInterface::moveFilesOfPost ( int  $new_frm_id = 0)

◆ setPosId()

ilFileDataForumInterface::setPosId ( int  $posting_id)

◆ storeUploadedFiles()

ilFileDataForumInterface::storeUploadedFiles ( )

◆ unlinkFile()

ilFileDataForumInterface::unlinkFile ( string  $filename)

◆ unlinkFilesByMD5Filenames()

ilFileDataForumInterface::unlinkFilesByMD5Filenames (   $hashed_filename_or_filenames)
Parameters
string|string[]$hashed_filename_or_filenames

Implemented in ilFileDataForumRCImplementation, ilFileDataForumDraftsRCImplementation, ilFileDataForum, and ilFileDataForumDrafts.


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