%PDF- %PDF-
Direktori : /www/varak.net/paste.varak.net-5.6/app/models/ |
Current File : /www/varak.net/paste.varak.net-5.6/app/models/IPBan.php |
<?php /** * Sticky Notes * * An open source lightweight pastebin application * * @package StickyNotes * @author Sayak Banerjee * @copyright (c) 2014 Sayak Banerjee <mail@sayakbanerjee.com> * @license http://www.opensource.org/licenses/bsd-license.php * @link http://sayakbanerjee.com/sticky-notes * @since Version 1.0 * @filesource */ /** * IPBan class * * Manages and fetches IP address bans * * @package StickyNotes * @subpackage Models * @author Sayak Banerjee */ class IPBan extends Eloquent { /** * Table name for the model * * @var string */ protected $table = 'ipbans'; /** * Primary key of the table * * @var string */ protected $primaryKey = 'ip'; /** * Disable timestamps for the model * * @var bool */ public $timestamps = FALSE; /** * Define fillable properties * * @var array */ protected $fillable = array( 'ip' ); }