public function getCallbacksByType($type)
    {

        // initialize the array for the callbacks
        $callbacks = array();

        // query whether or not callbacks for the type are available
        if (isset($this->callbacks[$type])) {
            $callbacks = $this->callbacks[$type];
        }

        // return the array with the type's callbacks
        return $callbacks;
    }
public function getCallbacksByType($type)
    {

        // initialize the array for the callbacks
        $callbacks = array();

        // query whether or not callbacks for the type are available
        if (isset($this->callbacks[$type])) {
            $callbacks = $this->callbacks[$type];
        }

        // return the array with the type's callbacks
        return $callbacks;
    }
public function getCallbacksByType ( $ type ) { // initialize the array for the callbacks $ callbacks = array ( ) ; // query whether or not callbacks for the type are available if ( isset ( $ this -> callbacks [ $ type ] ) ) { $ callbacks = $ this -> callbacks [ $ type ] ; } // return the array with the type's callbacks return $ callbacks ; }
Return's the array with callbacks for the passed type.

@param string $type The type of the callbacks to return

@return array The callbacks
Return s the array with callbacks for the passed type .