/** * * * * * @since * * @return Return_Description * * @access public */ public function __construct() { $this->primary_key = 'author_id'; $this->version = '1.0'; parent::__construct('mbdbmk_authors'); }
public function save($data, $id, $auto_increment = false, $type = '') { // does not have a regular PK because it gets it from the posts table //so the "primary key" field has to be added as one to insert (not auto-increment) if ($type == '') { $type = $this->post_type; } return parent::save($data, $id, false, $type); }