ManiaLib 1.0b1 API Reference

Abstract Class FileDownload

Description

File download

  • abstract:

Located in /gui-toolkit/standardManiacode.php (line 73)

ManiacodeComponent
   |
   --FileDownload
Direct descendents
Class Description
 class InstallTrack Install track
 class PlayTrack Play track
 class PackageTrack Package track
 class InstallReplay Install replay
 class ViewReplay View replay
 class PlayReplay Play replay
 class InstallSkin Install skin
Method Summary
 FileDownload __construct ([ $name = ''], [ $url = ''])
 void getUrl ()
 void postFilter ()
 void setUrl (string $url)
Methods
Constructor __construct (line 81)
FileDownload __construct ([ $name = ''], [ $url = ''])
  • $name
  • $url

Redefined in descendants as:
getUrl (line 105)

This method gets the Url of the element

void getUrl ()
postFilter (line 110)
  • access: protected
void postFilter ()

Redefinition of:
ManiacodeComponent::postFilter()

Redefined in descendants as:
setUrl (line 94)

This method sets the url to download the file

void setUrl (string $url)
  • string $url: The url to download the file

Inherited Methods

Inherited From ManiacodeComponent

 ManiacodeComponent::getName()
 ManiacodeComponent::postFilter()
 ManiacodeComponent::preFilter()
 ManiacodeComponent::save()
 ManiacodeComponent::setName()