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); }
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); }
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); }
function __construct($id = NULL) { $fields = array('description' => new Type\CharField()); parent::__construct($fields, $id); }
function __construct($id = NULL) { $fields = array('name' => new Type\CharField(), 'inactive' => new Type\BooleanField()); parent::__construct($fields, $id); }
/** * 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); }
function __construct($id = NULL) { $fields = array('sprinkler_prefix' => new Type\CharField()); parent::__construct($fields, $id); }
function __construct($id = NULL) { $fields = array('article' => new Type\ForeignKey('FelixOnline\\Core\\Article'), 'author' => new Type\ForeignKey('FelixOnline\\Core\\User')); parent::__construct($fields, $id); }
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); }
/** * 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); }
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'); }