Advertisement
cgrunwald

Untitled

Aug 29th, 2010
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.47 KB | None | 0 0
  1. <?php defined('SYSPATH') or die('No direct access allowed.');
  2. class Model_Update extends Jelly_Model
  3. {
  4.     public static function initialize(Jelly_Meta $meta)
  5.     {
  6.             $meta->table('rvj_updates')
  7.                 ->fields(array(
  8.                     'id' => new Field_Primary,
  9.                     'date' => new Field_Timestamp,
  10.                     'section' => new Field_Integer,
  11.                     'type' => new Field_Integer,
  12.                     'description' => new Field_Text,
  13.                     'url' => new Field_Text,
  14.                     'custom_message' => new Field_Text,
  15.         ));
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement