參考網站
PHP5 Code Generator Template http://staruml.sourceforge.net/en/templates.php
<?php class ShopProduct { public $title; public $produceMainName; public $producerFirstName; public $price; public function __construct($title,$firstName,$mainName,$price) { return; } public function getProducer() { return; } public function getSummaryLine() { return; } } ?>