Skip to content

Commit

Permalink
Initial commit with seo-model
Browse files Browse the repository at this point in the history
  • Loading branch information
glamorous committed Mar 14, 2010
0 parents commit 24de352
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions classes/model/seo.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php defined('SYSPATH') or die ('No direct script access.');
/**
* Jelly Model: Seo
* @author Jonas De Smet | Glamorous.be
*/
class Model_Seo extends Jelly_Model
{
public static function initialize(Jelly_Meta $meta)
{
$meta>table('seo')->fields(array(
'id' => new Field_Primary,
'keywords' => new Field_String,
'description' => new Field_String,
'robots' => new Field_Enum(array(
'choices' => array('all','noindex','nofollow','noindex,nofollow'),
'default' => 'all',
)),
));
}
}
?>

0 comments on commit 24de352

Please sign in to comment.