You are currently viewing the 1.0 branch api documentation. Switch to 1.1

1.0 Doctrine_EventListener_Chain

Doctrine EventListener Chain

Doctrine_EventListener_Chain this class represents a chain of different listeners, useful for having multiple listeners listening the events at the same time

Inheritence

Doctrine_EventListener_Chain  < Doctrine_Access

Method Details

  • add($listener, $name = null)

    add adds a listener to the chain of listeners


  • (mixed) get($key)

    returns a Doctrine_EventListener on success and null on failure


  • onCollectionDelete(( ) $collection)

    onCollectionDelete an event invoked after a Doctrine_Collection is being deleted


  • onLoad(( ) $record)

    onLoad an event invoked when Doctrine_Record is being loaded from database


  • onOpen(( ) $connection)

    onOpen an event invoked after Doctrine_Connection is opened


  • onPreCollectionDelete(( ) $collection)

    onCollectionDelete an event invoked after a Doctrine_Collection is being deleted


  • onPreLoad(( ) $record)

    onPreLoad an event invoked when Doctrine_Record is being loaded from database but not yet initialized


  • onSleep(( ) $record)

    onSleep an event invoked when Doctrine_Record is serialized


  • onWakeUp(( ) $record)

    onWakeUp an event invoked when Doctrine_Record is unserialized


  • postClose(( ) $event)

    postClose an event invoked after Doctrine_Connection is closed


  • postConnect(( ) $event)


  • postError(( ) $event)


  • postExec(( ) $event)


  • postFetch(( ) $event)


  • postFetchAll(( ) $event)


  • postPrepare(( ) $event)


  • postQuery(( ) $event)


  • postStmtExecute(( ) $event)


  • postTransactionBegin(( ) $event)

    onTransactionBegin an event invoked after a Doctrine_Connection transaction has been started


  • postTransactionCommit(( ) $event)

    onTransactionCommit an event invoked after a Doctrine_Connection transaction is committed


  • postTransactionRollback(( ) $event)

    onTransactionRollback an event invoked after a Doctrine_Connection transaction is being rolled back


  • preClose(( ) $event)

    preClose an event invoked before Doctrine_Connection is closed


  • preConnect(( ) $event)


  • preError(( ) $event)


  • preExec(( ) $event)


  • preFetch(( ) $event)


  • preFetchAll(( ) $event)


  • prePrepare(( ) $event)


  • preQuery(( ) $event)


  • preStmtExecute(( ) $event)


  • preTransactionBegin(( ) $event)

    onTransactionBegin an event invoked before a Doctrine_Connection transaction is being started


  • preTransactionCommit(( ) $event)

    onPreTransactionCommit an event invoked before a Doctrine_Connection transaction is committed


  • preTransactionRollback(( ) $event)

    onPreTransactionRollback an event invoked before a Doctrine_Connection transaction is being rolled back


  • set($key, (Doctrine_EventListener) $listener)