/** * Constructor * * @access public * @return void */ function __construct() { // Call parent constructor parent::__construct(); // Initialize this model $this->initialize('low_reorder_orders', array('set_id', 'cat_id'), array('sort_order' => 'TEXT')); }
/** * Constructor * * @access public * @return void */ function __construct() { // Call parent constructor parent::__construct(); // Initialize this model $this->initialize('low_reorder_sets', 'set_id', array('site_id' => 'int(4) unsigned DEFAULT 1 NOT NULL', 'set_label' => 'varchar(100) NOT NULL', 'set_name' => 'varchar(50) NOT NULL', 'set_notes' => 'text NOT NULL', 'new_entries' => "enum('append', 'prepend') DEFAULT 'append' NOT NULL", 'clear_cache' => "enum('y', 'n') DEFAULT 'y' NOT NULL", 'channels' => 'varchar(255) NOT NULL', 'cat_option' => "enum('all', 'some', 'one', 'none') DEFAULT 'all' NOT NULL", 'cat_groups' => 'varchar(255) NOT NULL', 'parameters' => 'text NOT NULL', 'permissions' => 'text NOT NULL')); }