* @return void
* @access public
*/
- function addContents(&$contents) // ~X2C
+ function addContents($contents) // ~X2C
{
- if (is_object($contents)) {
- $this->_contents[] =& $contents;
- } else {
- $this->_contents[] = $contents;
- }
+ $this->_contents[] = $contents;
}
// -X2C
*/
function setContents($contents) // ~X2C
{
- $this->_contents = $contents;
+ $this->_contents = array($contents);
}
// -X2C
} // -X2C Class :MECON_HTML_Link
+
?>
\ No newline at end of file