public function __construct($model = NULL, $type = NULL) { parent::__construct($model, $type); $this->where('extension', '=', 'com_weblinks'); }