Stud.IP  5.4
ExternPageDownload Class Reference
Inheritance diagram for ExternPageDownload:
ExternPage

Public Member Functions

 __construct ($config)
 
 getSortFields ()
 
 getDataFields (array $object_classes=[])
 
 getConfigFields ($as_array=false)
 
 getAllowedRequestParams (bool $as_array=false)
 
 getMarkersContents ()
 
 getFullGroupNames ()
 
 getGroupPaths ($group, $seperator=' > ', $pre='')
 
 get_concatenated_folders ()
 
- Public Member Functions inherited from ExternPage
 __construct (ExternPageConfig $config)
 
 getSortFields ()
 
 getMarkersContents ()
 
 getDatafieldMarkers (SimpleORMap $sorm)
 
 getConfigFields (bool $as_array=false)
 
 __get (string $field)
 
 __set (string $field, $value)
 
 toString ()
 
 getValue (string $field)
 
 setValue (string $field, $value)
 
 getAllowedRequestParams (bool $as_array=false)
 
 setRequestParams ()
 
 store ()
 
 getInstitutes ()
 
 getStudyAreaPaths (string $delimiter=' > ')
 
 getDataFields (array $object_classes=[])
 

Data Fields

 $institute
 
- Data Fields inherited from ExternPage
 $page_config
 

Protected Member Functions

 getContent ()
 
 getDownloadableFileRefs (string $institute_id)
 
- Protected Member Functions inherited from ExternPage
 getContentMembers (Course $course, $status)
 
 getSemesters ()
 
 getScopesSQL (array &$params, array $scopes, bool $with_kids)
 
 getInstitutesSQL (array &$params)
 

Additional Inherited Members

- Static Public Member Functions inherited from ExternPage
static get (ExternPageConfig $config)
 
static getGroupedSemTypes ()
 
- Static Protected Member Functions inherited from ExternPage
static argsToArray (string $args)
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $config)

Member Function Documentation

◆ get_concatenated_folders()

get_concatenated_folders ( )

Returns an array of paths from top folder to all folders below.

Returns
array Array of concatenated folder names.

◆ getAllowedRequestParams()

getAllowedRequestParams ( bool  $as_array = false)

◆ getConfigFields()

getConfigFields (   $as_array = false)

◆ getContent()

getContent ( )
protected

Returns all content of downloadable files to render the page template.

Returns
array All content to render the template.

◆ getDataFields()

getDataFields ( array  $object_classes = [])

◆ getDownloadableFileRefs()

getDownloadableFileRefs ( string  $institute_id)
protected

Retrieves all file refs of downloadable files.

Parameters
string$institute_idThe id of the institute.
Returns
array Array with file refs.

◆ getFullGroupNames()

getFullGroupNames ( )

◆ getGroupPaths()

getGroupPaths (   $group,
  $seperator = ',
,
  $pre = '' 
)
Parameters
$group
string$seperator
string$pre
Returns
array

◆ getMarkersContents()

getMarkersContents ( )

◆ getSortFields()

getSortFields ( )

Field Documentation

◆ $institute

$institute

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