array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), 'this' => array ( 0 => 'compersisthelper.savetostream.php', 1 => 'COMPersistHelper::SaveToStream', ), 'up' => array ( 0 => 'class.compersisthelper.php', 1 => 'COMPersistHelper', ), 'prev' => array ( 0 => 'compersisthelper.savetofile.php', 1 => 'COMPersistHelper::SaveToFile', ), 'next' => array ( 0 => 'class.com-exception.php', 1 => 'com_exception', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/com/compersisthelper/savetostream.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
COMPersistHelper::SaveToStream — Save object to stream
Saves an object to the specified stream.
stream
A com_exception is thrown if the associated object does neither implement the COM interface IPersistStream nor IPersistStreamInit, or when calling the IPersistStream::Save() method failed.