Skip to content

Instantly share code, notes, and snippets.

@makeusabrew
Created October 5, 2011 20:50
Show Gist options
  • Save makeusabrew/1265672 to your computer and use it in GitHub Desktop.
Save makeusabrew/1265672 to your computer and use it in GitHub Desktop.
Jaoss - Basic Table Column Declaration
<?php
class People extends Table {
protected $meta = array(
'columns' => array(
'forename' => array(
'type' => 'text',
'required' => true,
),
'surname' => array(
'type' => 'text',
),
'email' => array(
'type' => 'email',
),
),
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment