symfony API

sfActionStack Class

« Back to API menu

action

addon

autoload

cache

command

config

controller

creole

database

debug

exception

filter

form

generator

helper

i18n

log

plugin

propel

request

response

routing

storage

task

test

user

util

validator

view

widget

You are currently browsing the symfony documentation for the 1.1 version. Switch to:

sfActionStack keeps a list of all requested actions and provides accessor methods for retrieving individual entries.

Method Summary

  • popEntry()
    Removes the entry at a specific index.
  • getEntry($index)
    Retrieves the entry at a specific index.
  • int getSize()
    Retrieves the size of this stack.
  • mixed getFirstEntry()
    Retrieves the first entry.
  • mixed getLastEntry()
    Retrieves the last entry.
  • addEntry($moduleName, $actionName, (sfAction) $actionInstance)
    Adds an entry to the action stack.

Method Details

  • popEntry ()

    Removes the entry at a specific index.

    returns An action stack entry implementation.

  • getEntry ($index)

    $index An entry index

    Retrieves the entry at a specific index.

    returns An action stack entry implementation.

  • (int) getSize ()

    Retrieves the size of this stack.

    returns The size of this stack.

  • (mixed) getFirstEntry ()

    Retrieves the first entry.

    returns An action stack entry implementation or null if there is no sfAction instance in the stack

  • (mixed) getLastEntry ()

    Retrieves the last entry.

    returns An action stack entry implementation or null if there is no sfAction instance in the stack

  • addEntry ($moduleName, $actionName, (sfAction) $actionInstance)

    $moduleName A module name
    $actionName An action name
    $actionInstance An sfAction implementation instance

    Adds an entry to the action stack.

    returns sfActionStackEntry instance