how to load two view CodeIgniter ($data and compact ) in same time

I am new in the CodeIgniter framework and tried to make this work at the same time but not working else if I stop one of it this line 1- $this->load->view(‘account/build_profile’, $data); 2 – $this->load->view(‘account/build_profile’,compact(‘country’,’industry’)); of this code function build_profile(){ if($this->session->has_userdata(‘cus_id’)){ $status=$this->my_function->complete_status($this->session->cus_id); if($status==0){ $query=$this->query_model->select1(“cn_id,cn_name”,”ambit_country”); $country=$this->query_model->details($query); $query=$this->query_model->select1(“ind_id,ind_name”,”industry”,array(“status”=>1)); $industry=$this->query_model->details($query); $data[‘page’] = ‘country-list’; $data[‘title’] = ‘country List |…

Details

How to set target folder for Allure Html report in Behave

I was able to generate allure json files using command : behave -f allure_behave.formatter:AllureFormatter -o C:\\Users\\QA\\PycharmProjects\\webAutomationFramework\\allure-results Once I run above command, it run all the feature files of behave and generate required .json files into folder allure-results Now when I run the command : allure serve C:\\Users\\QA\\PycharmProjects\\webAutomationFramework\\allure-results , it generates allure report proper on some…

Details

Significant terms aggregation over a list field against itself

I have documents of the following format: { “my_field”: [“foo”, “bar”, “baz”] } { “my_field”: [“foo”, “baz”] } { “my_field”: [“foo”, “bar”] } I would like to find out which my_field term pairs occur most commonly together. I have tried using significant_terms aggregation like: { “aggs”: { “fields”: { “terms”: {“field”: “my_field”}, “aggs”: { “significant_pairs_with”:…

Details

IllegalArgumentException when sending Uri to setDataSource() in MediaMetadataRetriever

I went through similar questions:- MediaMetadataRetriever setdatasource IllegalArgumentException IllegalArgumentException in setDataSource for MediaPlayer MediaMetadataRetriever setDataSource throws IllegalArgumentException All either proposed I add external storage permission or that path maybe wrong or invalid.The setDataSource() method can take both Context and Uri .When I send them I get IllegalArgumentException . Here is the method I send to…

Details

Find cell match if it is followed by another cell match

I have a dataframe that is a list of meeting transcripts converted from PDF using pdftools with a series of unnested words that look like this: document_id <- c(“BOARD19810203meeting.pdf”, “BOARD19810405meeting.pdf”, “BOARD19810609meeting.pdf”, “BOARD19810405meeting.pdf”, “BOARD19810609meeting.pdf”) word <- c(“leave”, “tomorrow”, “for”, “first”, meeting”) df <- data.frame(document_id, word) I want to write a code that aggregates the number of…

Details