public function register_parent_sighup($function_name, $cascade_signal = true)
	{
		// 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_sighup         = $function_name;
			$this->parent_function_sighup_cascade = $cascade_signal;
			return true;
		}

		return false;
	}
public function register_parent_sighup($function_name, $cascade_signal = true)
	{
		// 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_sighup         = $function_name;
			$this->parent_function_sighup_cascade = $cascade_signal;
			return true;
		}

		return false;
	}
public function register_parent_sighup ( $ function_name , $ cascade_signal = true ) { // 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_sighup = $ function_name ; $ this -> parent_function_sighup_cascade = $ cascade_signal ; return true ; } return false ; }
Allows the app to set the call back function for when a parent process receives a SIGHUP
@access public
@param string $function_name  Name of function to be called.
@param bool   $cascade_signal If true, the parent will send a sighup to all of it's children.
@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 parent process receives a SIGHUP