Phundament App Class Reference
  • Package
  • Class
  • Tree

Packages

  • bootstrap
    • widgets
      • input
  • Image
  • None
  • p3admin
  • p3extensions
    • behaviors
    • commands
    • components
    • helpers
    • widgets
  • p3media
    • actions
    • controllers
    • models
  • p3pages
    • models
  • p3widgets
    • components
    • models
  • PHP
  • system
    • db
      • ar
    • gii
    • web
      • auth
      • helpers
      • widgets
  • yiiext
    • widgets
      • fancybox
      • lipsum
  • zii
    • widgets
      • grid

Classes

  • CkeditorController
  • FileController
  • ImportController

Class FileController

Controller handling file output

Detail description

CComponent
Extended by CBaseController
Extended by CController
Extended by Controller
Extended by FileController
Package: p3media\controllers
Copyright: Copyright © 2005-2011 diemeisterei GmbH
License: http://www.phundament.com/license/
Author: Tobias Munk <schmunk@usrbin.de>
Since: 3.0.1
Located at phundament/p3media/controllers/FileController.php

Methods summary

public array
# actions( )

Imports P3MediaImageAction, available as /p3media/file/image.

Imports P3MediaImageAction, available as /p3media/file/image.

Returns

array

Overrides

CController::actions
public boolean
# beforeAction( CAction $action )

This method is invoked right before an action is to be executed (after all possible filters.) You may override this method to do last-minute preparation for the action.

This method is invoked right before an action is to be executed (after all possible filters.) You may override this method to do last-minute preparation for the action.

Parameters

$action
CAction
$action the action to be executed.

Returns

boolean
whether the action should be executed.

Overrides

CController::beforeAction
public
# actionIndex( )

Return file as inline attachment, uses $_GET['id'] as input param.

Return file as inline attachment, uses $_GET['id'] as input param.

Methods inherited from CController

__construct(), accessRules(), afterAction(), afterRender(), beforeRender(), behaviors(), clearPageStates(), createAbsoluteUrl(), createAction(), createActionFromMap(), createUrl(), filterAccessControl(), filterAjaxOnly(), filterPostOnly(), filters(), forward(), getAction(), getActionParams(), getCachingStack(), getClips(), getId(), getLayoutFile(), getModule(), getPageState(), getPageTitle(), getRoute(), getUniqueId(), getViewFile(), getViewPath(), init(), invalidActionParams(), isCachingStackEmpty(), loadPageStates(), missingAction(), processDynamicOutput(), processOutput(), recordCachingAction(), redirect(), refresh(), render(), renderClip(), renderDynamic(), renderDynamicInternal(), renderPartial(), renderText(), replaceDynamicOutput(), resolveViewFile(), run(), runAction(), runActionWithFilters(), savePageStates(), setAction(), setPageState(), setPageTitle()

Methods inherited from CBaseController

beginCache(), beginClip(), beginContent(), beginWidget(), createWidget(), endCache(), endClip(), endContent(), endWidget(), renderFile(), renderInternal(), widget()

Methods inherited from CComponent

__call(), __get(), __isset(), __set(), __unset(), asa(), attachBehavior(), attachBehaviors(), attachEventHandler(), canGetProperty(), canSetProperty(), detachBehavior(), detachBehaviors(), detachEventHandler(), disableBehavior(), disableBehaviors(), enableBehavior(), enableBehaviors(), evaluateExpression(), getEventHandlers(), hasEvent(), hasEventHandler(), hasProperty(), raiseEvent()

Magic methods summary

Constants summary

Constants inherited from CController

STATE_INPUT_NAME

Properties summary

Properties inherited from Controller

$breadcrumbs, $layout, $menu

Properties inherited from CController

$defaultAction

Magic properties inherited from CController

$action, $actionParams, $cachingStack, $clips, $id, $module, $pageTitle, $route, $uniqueId, $viewPath

Phundament App Class Reference API documentation generated by ApiGen 2.8.0