public function __construct()
 {
     parent::__construct();
     $this->model = new Placid_RequestsModel();
     $this->record = new Placid_RequestsRecord();
     // Get the plugin settings
     $this->placid_settings = $this->settings;
 }
 public function __construct($record = null)
 {
     parent::__construct();
     $this->record = $record;
     $this->model = new Placid_RequestsModel();
     if (is_null($this->record)) {
         $this->record = Placid_RequestsRecord::model();
     }
     // Get the plugin settings
     $this->placid_settings = $this->settings;
 }