Enabling Hashtag Framework calls from PHP Objects

Processing this Hashtag Markup:
<?php

class custom_object {
	var $hashtag;
	public function __construct(&$hashtag) {
		$this->hashtag = $hashtag;
		$my_array = array('key'=>'value');
		$this->hashtag->hashtag_html_dump($my_array, 'Label for My Array');
	}
}

$my_object = new custom_object($this);

?>
Label for My Array: Array
(
    [key] => value
)