public function register_parent_fork($function_name, $bucket = self::DEFAULT_BUCKET)
	{
		// call child function
		if ( is_callable($function_name) || ( is_array($function_name) && method_exists($function_name[0], $function_name[1]) ) || method_exists($this, $function_name) || function_exists($function_name) )
		{
			$this->parent_function_fork[$bucket] = $function_name;
			return true;
		}

		return false;
	}
public function register_parent_fork($function_name, $bucket = self::DEFAULT_BUCKET)
	{
		// call child function
		if ( is_callable($function_name) || ( is_array($function_name) && method_exists($function_name[0], $function_name[1]) ) || method_exists($this, $function_name) || function_exists($function_name) )
		{
			$this->parent_function_fork[$bucket] = $function_name;
			return true;
		}

		return false;
	}
public function register_parent_fork ( $ function_name , $ bucket = self :: DEFAULT_BUCKET ) { // call child function if ( is_callable ( $ function_name ) || ( is_array ( $ function_name ) && method_exists ( $ function_name [ 0 ] , $ function_name [ 1 ] ) ) || method_exists ( $ this , $ function_name ) || function_exists ( $ function_name ) ) { $ this -> parent_function_fork [ $ bucket ] = $ function_name ; return true ; } return false ; }
Allows the app to set the call back function for when a child process is spawned
@access public
@param string $function_name Name of function to be called.
@param int    $bucket        The bucket to use.
@return bool true if the callback was successfully registered, false if it failed
Allows the app to set the call back function for when a child process is spawned