23/09/2013 12:41pm

PHP | Problem - Color


<?php

class Color extends DataObject {
private static $db = array(
'Number' => 'Int',
'Color' => 'Text',
'KW1' => 'Text',
'KW1Qty' => 'Text',
'KW2' => 'Text',
'KW2Qty' => 'Text',
'KW3' => 'Text',
'KW3Qty' => 'Text',
'Future' => 'Text'
);

private static $has_one = array(
'Article' => 'Articles'
);

private static $summary_fields = array(
'Number',
'Color',
'KW1',
'KW1Qty',
'KW2',
'KW2Qty',
'KW3',
'KW3Qty',
'Future'
);
}
?>


Post Comment