/** * Initialize complex static variables * @static */ public static function staticInit() { self::$logger = Logger::getLogger(__CLASS__); self::$stateNames = array(self::state_toBeSent => T_("to be sent"), self::state_sent => T_("Sent"), self::state_toBeValidated => T_("to be validated"), self::state_validated => T_("validated"), self::state_toBeClosed => T_("to be closed"), self::state_closed => T_("closed"), self::state_billMustBeSent => T_("bill must be sent"), self::state_billSent => T_("bill sent"), self::state_payed => T_("payed")); }