src/ADT/Event/Handler.php
public function getBoundEvents( $key, $nested = FALSE ){
		$events	= array();
		if( $this->events->get( $key ) )
			foreach( $this->events->get( $key) as $event )
				$events[]	= $event;
		if( $nested )
			foreach( $this->events->getAll( $key.'.' ) as $list )
				foreach( $list as $event )
					$events[]	= $event;
		return $events;
	}
public function getBoundEvents( $key, $nested = FALSE ){
		$events	= array();
		if( $this->events->get( $key ) )
			foreach( $this->events->get( $key) as $event )
				$events[]	= $event;
		if( $nested )
			foreach( $this->events->getAll( $key.'.' ) as $list )
				foreach( $list as $event )
					$events[]	= $event;
		return $events;
	}
public function getBoundEvents ( $ key , $ nested = FALSE ) { $ events = array ( ) ; if ( $ this -> events -> get ( $ key ) ) foreach ( $ this -> events -> get ( $ key ) as $ event ) $ events [ ] = $ event ; if ( $ nested ) foreach ( $ this -> events -> getAll ( $ key . '.' ) as $ list ) foreach ( $ list as $ event ) $ events [ ] = $ event ; return $ events ; }
Returns list of bound events by event key.
@access		public
@param		string		$key		Event key, eg. "start"
@param		boolean		$nested		Flag: list events with namespace, like "start.my"
@return		void
Returns list of bound events by event key .