<?php
/**
 * YANA library
 *
 * @package yana
 * @licence http://creativecommons.org/licenses/by-nc-sa/2.5/
 */

/**
 * SerializeableObject
 *
 * @abstract
 * @access      public
 * @package     yana
 * @subpackage  core
 */
class SerializeableObject
{

    /**
     * serialize this object to a string
     *
     * This calls the PHP function serialize on the object and returns the result.
     * Use unserialize() to revert the string back into an object.
     *
     * @access public
     * @return string
     */ 
    function serialize()
    {
        return serialize($this);
    }
    
    /**
     * «abstract» get a string representation of this object
     *
     * This function is intended to be called when the object
     * is used in a string context.
     *
     * It is abstract, so you are to implement it for each derived sub-class.
     *
     * @access   public
     * @abstract
     * @return   string
     */
    function toString()
    {
        return "Instance of '".get_class($this)."'.\n";
    }

}

$copyright = base64_decode('PHAgY2xhc3M9IktPTU1FTlRBUiIgc3R5bGU9InRleHQtYWxpZ246IGNlbnRlciI+V2ViVG9vbHMgcG93ZXJlZCBieSA8QSBIUkVGPSJodHRwOi8vd3d3LkFsbC1Db21tdW5pdHkuZGUiIHRhcmdldD0iX2JsYW5rIiB0aXRsZT0iRGllIENvbW11bml0eSBkZXIgV2VibWFzdGVyIj48c3BhbiBzdHlsZT0iY29sb3I6IzY0OTVFRCI+d3d3Ljwvc3Bhbj48c3BhbiBzdHlsZT0iY29sb3I6I0ZGQTUwMCI+IEFsbCAtIENvbW11bml0eSA8L3NwYW4+PHNwYW4gc3R5bGU9ImNvbG9yOiM2NDk1RUQiPi5kZTwvc3Bhbj48L0E+');
$lcn_note  = urldecode("%3Cp%20class%3D%22KOMMENTAR%22%20style%3D%22text-align%3Acenter%22%3Eregistered%20VIP-version%3A%20%3Cspan%20class%3D%22BESCHRIFTUNG%22%3E%26quot%3B%25LICENCE%2FOWNER%25%26quot%3B%3C%2Fspan%3E%3C%2Fp%3E");

?>