public function __construct($id = null) { parent::__construct($id); $this->primary_key = 'pid'; // $this->foreign_key['pages'] = 'page_pid'; // $this->foreign_key['page_plugins'] = 'page_pid'; }
public function __construct($id = null) { parent::__construct($id); $this->foreign_key['page'] = 'page_pid'; }