1<?php 2/** 3 * Description of IJR_Base64 4 * 5 * @author Andreas Gohr <andi@splitbrain.org> 6 * @author Magnus Wolf <mwolf2706@googlemail.com> 7 */ 8class IJR_Base64 { 9 var $data; 10 function IJR_Base64($data) { 11 $this->data = $data; 12 } 13 function getXml() { 14 return '<base64>'.base64_encode($this->data).'</base64>'; 15 } 16} 17?> 18