symfony API

sfActionStack Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.3 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.3 version. Switch to:

sfActionStack keeps a list of all requested actions and provides accessor

Method Summary

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

Method Details

  • (sfActionStackEntry) addEntry ($moduleName, $actionName, $actionInstance) Browse code

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

    Adds an entry to the action stack.

    returns sfActionStackEntry instance

  • (sfActionStackEntry) getEntry ($index) Browse code

    $index An entry index

    Retrieves the entry at a specific index.

    returns An action stack entry implementation.

  • (mixed) getFirstEntry () Browse code

    Retrieves the first entry.

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

  • (mixed) getLastEntry () Browse code

    Retrieves the last entry.

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

  • (int) getSize () Browse code

    Retrieves the size of this stack.

    returns The size of this stack.

  • (sfActionStackEntry) popEntry () Browse code

    Removes the entry at a specific index.

    returns An action stack entry implementation.