symfony API

sfActionStack Class

« Back to API menu

action

addon

cache

config

controller

countable

database

debug

exception

filter

generator

helper

i18n

log

request

response

storage

test

user

util

validator

view

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

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

Method Summary

  • popEntry(0)
    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 (0)

    0 An entry index

    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