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

  • P3MediaImageAction

Class P3MediaImageAction

Main description

Detail description

CComponent
Extended by CAction implements IAction
Extended by P3MediaImageAction
Package: p3media\actions
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/actions/P3MediaImageAction.php

Methods summary

public
# run( )
public static mixed
# processMediaFile( integer $id, string $preset )

Renders an image from P2File specified by id and preset

Renders an image from P2File specified by id and preset

Parameters

$id
integer
$id
$preset
string
$preset

Returns

mixed
Rendering result, false if an error occured, otherwise an array with 'type' and 'data'

Methods inherited from CAction

__construct(), getController(), getId(), runWithParams(), runWithParamsInternal()

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

Properties summary

Magic properties inherited from CAction

$controller, $id

Phundament App Class Reference API documentation generated by ApiGen 2.8.0