This is the API documentation for concrete5 version 5.6 and earlier. View Current API Documentation

Class Concrete5_Controller_DownloadFile

A generic object that every block or page controller extends

Concrete5_Library_Controller
Extended by Controller
Extended by Concrete5_Controller_DownloadFile

Direct known subclasses

DownloadFileController

Package: Core
Category: Concrete
Copyright: Copyright (c) 2003-2008 Concrete5. (http://www.concrete5.org)
License: MIT License
Author: Andrew Embler andrew@concrete5.org
Located at core/controllers/single_pages/download_file.php

Methods summary

public
# on_start( )

Automatically loads the file block class

public
# view( $fID = 0, $rcID = NULL )
public
# force( $fID = 0, $rcID = NULL )
public
# view_inline( $fID = 0 )
public
# submit_password( $fID = 0 )
protected
# download( $file, $rcID = NULL )
protected
# force_download( $file, $rcID = NULL )

Properties summary

protected integer $force
# 0