Source of file PostageArea.php
Size: 0,766 Bytes - Last Modified: 2021-12-24T05:16:32+00:00
/var/www/docs.ssmods.com/process/src/code/model/PostageArea.php
12345678910111213141516171819202122232425262728293031323334 | <?php /** * Postage objects list available postage costs and destination locations * * @author morven */ class PostageArea extends DataObject { private static $db = array( "Title" => "Varchar", "Country" => "Varchar(255)", "ZipCode" => "Varchar(255)", "Calculation" => "Enum('Price,Weight,Items','Weight')", "Unit" => "Decimal", "Cost" => "Decimal" ); private static $has_one = array( "Site" => "SiteConfig" ); public function canCreate($member = null) { return true; } public function canEdit($member = null) { return true; } public function canDelete($member = null) { return true; } } |