Ejemplo n.º 1
0
 function __construct($id = NULL)
 {
     $fields = array('article' => new Type\ForeignKey('FelixOnline\\Core\\Article'), 'publication_date' => new Type\DateTimeField(), 'published_by' => new Type\ForeignKey('FelixOnline\\Core\\User'), 'republished' => new Type\BooleanField());
     parent::__construct($fields, $id);
 }
Ejemplo n.º 2
0
 function __construct($id = NULL)
 {
     $fields = array('blog' => new Type\ForeignKey('FelixOnline\\Core\\Blog'), 'content' => new Type\TextField(), 'timestamp' => new Type\DateTimeField(), 'author' => new Type\ForeignKey('FelixOnline\\Core\\User'), 'breaking' => new Type\BooleanField(array('null' => false)), 'title' => new Type\CharField());
     parent::__construct($fields, $id);
 }
Ejemplo n.º 3
0
 function __construct($id = NULL)
 {
     $fields = array('issue' => new Type\IntegerField(), 'date' => new Type\DateTimeField(), 'publication' => new Type\ForeignKey('FelixOnline\\Core\\ArchivePublication'), 'inactive' => new Type\BooleanField());
     parent::__construct($fields, $id);
 }
Ejemplo n.º 4
0
 function __construct($id = NULL)
 {
     $fields = array('description' => new Type\CharField());
     parent::__construct($fields, $id);
 }
Ejemplo n.º 5
0
 function __construct($id = NULL)
 {
     $fields = array('name' => new Type\CharField(), 'inactive' => new Type\BooleanField());
     parent::__construct($fields, $id);
 }
Ejemplo n.º 6
0
 /**
  * Constructor
  *
  * @param integer $id = Frontpage slot record number
  */
 function __construct($id = NULL)
 {
     $fields = array('article' => new Type\ForeignKey('FelixOnline\\Core\\Article'), 'section' => new Type\CharField(), 'sort_order' => new Type\IntegerField());
     parent::__construct($fields, $id);
 }
Ejemplo n.º 7
0
 function __construct($id = NULL)
 {
     $fields = array('sprinkler_prefix' => new Type\CharField());
     parent::__construct($fields, $id);
 }
Ejemplo n.º 8
0
 function __construct($id = NULL)
 {
     $fields = array('article' => new Type\ForeignKey('FelixOnline\\Core\\Article'), 'author' => new Type\ForeignKey('FelixOnline\\Core\\User'));
     parent::__construct($fields, $id);
 }
Ejemplo n.º 9
0
 function __construct($id = NULL)
 {
     $fields = array('issue_id' => new Type\ForeignKey('FelixOnline\\Core\\ArchiveIssue'), 'part' => new Type\CharField(), 'filename' => new Type\CharField(), 'content' => new Type\TextField());
     parent::__construct($fields, $id);
 }
Ejemplo n.º 10
0
 /**
  * Constructor
  *
  */
 function __construct($link = NULL)
 {
     $fields = array('link' => new Type\CharField(array('primary' => true)), 'url' => new Type\CharField(), 'active' => new Type\BooleanField());
     parent::__construct($fields, $link);
 }
Ejemplo n.º 11
0
 function __construct($id = NULL)
 {
     $fields = array('slug' => new Type\CharField(), 'title' => new Type\CharField(), 'content' => new Type\TextField());
     parent::__construct($fields, $id);
     $this->csrf_token = Utility::generateCSRFToken('generic_page');
 }