query
stringlengths
9
43.3k
document
stringlengths
17
1.17M
metadata
dict
negatives
sequencelengths
0
30
negative_scores
sequencelengths
0
30
document_score
stringlengths
5
10
document_rank
stringclasses
2 values
ReadPieDataById liest die AggregatedWerte einer einer Vriablen aus und erzeugt das entsprechende Array IN: $cfg, $serie OUT: Config Array
function ReadPieDataById($cfg, $serie) { $id_AH = $cfg['ArchiveHandlerId']; $tempData = @AC_GetAggregatedValues($id_AH, $serie['Id'], $serie['AggType'], $serie['StartTime'], $serie['EndTime'], 0); $tempData = array_reverse($tempData); $result = array(); foreach ($tempData as $ValueItem) { $item['name'] = $this->ReplaceToGermanDate(date($serie['AggNameFormat'], $ValueItem['TimeStamp'])); $item['y'] = $this->PopulateValue($ValueItem[$serie['AggValue']], $serie); $result[] = $item; } unset ($tempData); return $result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function ReadDataFromDBAndCreateDataArray($cfg, $Serie)\n {\n $this->DebugModuleName($cfg,\"ReadDataFromDBAndCreateDataArray\");\n\n if (!isset($Serie['Id']))\n return \"\";\n\n // errechne die Zeitspanne\n if ($Serie['EndTime'] > time())\n $Diff = time() - $Serie['StartTime'];\n else\n $Diff = $Serie['EndTime'] - $Serie['StartTime'];\n\n\n\n $Id_AH = $cfg['ArchiveHandlerId'];\n $dataArray = array();\n $VariableId = (int)$Serie['Id'];\n $Agg = -1;\n $ReadCurrentValue = true;\n\n // wenn ReplaceValues definiert wurden werden nur geloggte und keine Aggregated Werte gelesen\n if ($Serie['ReplaceValues'] != false)\n {\n if ($Diff > $Serie['AggregatedValues']['NoLoggedValues'])\n {\n $Serie['StartTime'] = $Serie['EndTime'] - $Serie['AggregatedValues']['NoLoggedValues'];\n }\n\n // Einzelwerte lesen\n $dataArray = $this->ReadAndAddToLoggedData($dataArray, $Id_AH, $VariableId, -1 , $Serie[\"StartTime\"], $Serie[\"EndTime\"], \"Value\", $Serie);\n }\n else if ($Serie['AggregatedValues']['MixedMode']) // im MixedMode werden anfangs alle Werte, dann die Stunden- und zuletzt Tageswerte ausgelesen\n {\n // zuerst Einzelwerte\n $result = $this->CalculateStartAndEndTimeForAggreagtedValues($Serie, \"\");\n if ($result != false)\n {\n if ($Serie['Ips']['IsCounter']) \t\t\t\t\t\t// wenn Zähler dann immer Agg.Values\n $dataArray = $this->ReadAndAddToLoggedData($dataArray, $Id_AH, $VariableId, 0, $result[\"StartTime\"], $result[\"EndTime\"], $Serie['AggValue'], $Serie);\n else\n $dataArray = $this->ReadAndAddToLoggedData($dataArray, $Id_AH, $VariableId, -1 , $result[\"StartTime\"], $result[\"EndTime\"], \"Value\", $Serie);\n }\n\n // -> Stundenwerte\n $result = $this->CalculateStartAndEndTimeForAggreagtedValues($Serie,\"Hour\");\n if ($result != false)\n $dataArray = $this->ReadAndAddToLoggedData($dataArray, $Id_AH, $VariableId, 0, $result[\"StartTime\"], $result[\"EndTime\"], $Serie['AggValue'], $Serie);\n\n // -> Tageswerte\n $result = $this->CalculateStartAndEndTimeForAggreagtedValues($Serie,\"Day\");\n if ($result != false)\n $dataArray = $this->ReadAndAddToLoggedData($dataArray, $Id_AH, $VariableId, 1, $result[\"StartTime\"], $result[\"EndTime\"], $Serie['AggValue'], $Serie);\n\n // -> Wochenwerten\n $result = $this->CalculateStartAndEndTimeForAggreagtedValues($Serie,\"Week\");\n if ($result != false)\n $dataArray = $this->ReadAndAddToLoggedData($dataArray, $Id_AH, $VariableId, 2, $result[\"StartTime\"], $result[\"EndTime\"], $Serie['AggValue'], $Serie);\n\n // -> Monatswerte\n $result = $this->CalculateStartAndEndTimeForAggreagtedValues($Serie,\"Month\");\n if ($result != false)\n $dataArray = $this->ReadAndAddToLoggedData($dataArray, $Id_AH, $VariableId, 3, $result[\"StartTime\"], $result[\"EndTime\"], $Serie['AggValue'], $Serie);\n\n // -> Jahreswerte\n $result = $this->CalculateStartAndEndTimeForAggreagtedValues($Serie,\"Year\");\n if ($result != false)\n $dataArray = $this->ReadAndAddToLoggedData($dataArray, $Id_AH, $VariableId, 4, $result[\"StartTime\"], $result[\"EndTime\"], $Serie['AggValue'], $Serie);\n }\n else\n {\n $Agg = -1;\t// -> AC_GetLoggedValues\n\n if (isset($Serie['AggType'])) // wenn 'AggType' definiert wurde, wird dies vorrangig bearbeitet\n {\n $Agg = $Serie['AggType'];\n }\n elseif ($Serie['AggregatedValues']['YearValues']!= -1 && $Diff > $Serie['AggregatedValues']['YearValues'])\n $Agg = 4;\t// -> AC_GetAggregatedValues [0=Hour, 1=Day, 2=Week, 3=Month, 4=Year]\n elseif ($Serie['AggregatedValues']['MonthValues']!= -1 && $Diff > $Serie['AggregatedValues']['MonthValues'])\n $Agg = 3;\t// -> AC_GetAggregatedValues [0=Hour, 1=Day, 2=Week, 3=Month, 4=Year]\n elseif ($Serie['AggregatedValues']['WeekValues']!= -1 && $Diff > $Serie['AggregatedValues']['WeekValues'])\n $Agg = 2;\t// -> AC_GetAggregatedValues [0=Hour, 1=Day, 2=Week, 3=Month, 4=Year]\n elseif ($Serie['AggregatedValues']['DayValues']!= -1 && $Diff > $Serie['AggregatedValues']['DayValues'])\n $Agg = 1;\t// -> AC_GetAggregatedValues [0=Hour, 1=Day, 2=Week, 3=Month, 4=Year]\n else if ($Serie['AggregatedValues']['HourValues']!= -1 && $Diff > $Serie['AggregatedValues']['HourValues'])\n $Agg = 0;\t// -> AC_GetAggregatedValues [0=Hour, 1=Day, 2=Week, 3=Month, 4=Year]\n\n // es wurde noch nichts definiert und es handelt sich um einen Zähler --> Tageswerte\n if ($Agg == -1 && $Serie['Ips']['IsCounter'])\n $Agg = 0;\n\n if ($Agg == -1)\n {\n // Zeitraum ist zu groß -> nur bis max. Zeitraum einlesen\n if ($Diff > $Serie['AggregatedValues']['NoLoggedValues'])\n $Serie['StartTime'] = $Serie['EndTime'] - $Serie['AggregatedValues']['NoLoggedValues'];\n\n // Alle Werte\n $dataArray = $this->ReadAndAddToLoggedData($dataArray, $Id_AH, $VariableId, -1 , $Serie[\"StartTime\"], $Serie[\"EndTime\"], \"Value\", $Serie);\n }\n else\n {\n $dataArray = $this->ReadAndAddToLoggedData($dataArray, $Id_AH, $VariableId, $Agg, $Serie[\"StartTime\"], $Serie[\"EndTime\"], $Serie['AggValue'], $Serie);\n $ReadCurrentValue = false;\n }\n }\n\n // sortieren, so , dass der aktuellste Wert zuletzt kommt\n $dataArray = array_reverse($dataArray);\n\n // aktuellen Wert der Variable noch in Array aufnehmen\n if ($ReadCurrentValue\n //&& $Serie['EndTime'] >= time() \t\t\t// nicht wenn Endzeitpunkt vor NOW ist\n && !$Serie['Ips']['IsCounter'])\t\t\t\t// nicht bei Zählervariablen\n {\n // $curValue = ReadCurrentValue($VariableId);\n $curValue = $this->ReadLoggedValue($Id_AH, $VariableId, $Serie['EndTime']);\n $dataArray[] = $this->CreateDataItem($curValue['TimeStamp'], $curValue['Value'], $Serie);\n }\n\n\n return $dataArray ;\n }", "public function readOne($id) {\n $stmt = $this->connect()->prepare('SELECT * FROM susanneni_dt173g.courses WHERE id =' . $id );\n $stmt->execute();\n $data = $stmt->fetchAll(PDO::FETCH_ASSOC);\n\n if(!$data) {\n $data = array();\n }\n\n return $data;\n }", "public function getData($id) {\n return $this->run('getData', array($id));\n }", "public function read($id = null)\n {\n return $this->db->get_where('v_data_pd', ['id_pd' => $id])->row();\n }", "public function getApiData($id);", "public function getDataById($id)\n {\n return $this->manager->getRepository($this->className)->find($id);\n }", "public function getDataById4($id ){\n\t\t// return $this->db->get_where('realisasi_kinerja', array('id' => $id))->row_array();\n\t\treturn $this->db->get_where('realisasi_kinerja', array('id' => $id))->row_array();\n\t}", "public function getData($id)\r\n\t{\r\n\t\t$id = (int)$id;\r\n\t\t$sql = 'SELECT * FROM ' . TABLE_PREFIX . 'internallink i\r\n\t\t\t\tWHERE i.il_id = ?';\r\n\t\t$row = $this->db->query($sql, array($id))->fetch();\r\n\r\n\t\t$this->id = (int)$row['il_id'];\n\t\t$this->setting = (string)$row['il_setting'];\n\t\t$this->keylink = (string)$row['il_keylink'];\n\t\t$this->exception = (string)$row['il_exception'];\n\t\t$this->status = (int)$row['il_status'];\n\t\t$this->datecreated = (int)$row['il_datecreated'];\n\t\t$this->datemodified = (int)$row['il_datemodified'];\n\t\t\t\r\n\t}", "abstract public function read($id);", "public function ReadPerProduct($id){\n\n\n $sql = \"SELECT * FROM `vr_brillen`.`producten` WHERE id = $id\";\n $stmt = $this->DataHandler->ReadDataDetails($sql);\n\n return $stmt;\n\n\n\n }", "protected function getDataById($id)\n {\n $model = $this->model;\n return $model->findById($id);\n }", "function getdatait($id = 0){\n\t\tif($id === 0){\n\t\t\t$id = $this->datasis->dameval(\"SELECT MAX(id) FROM conv\");\n\t\t}\n\t\t$id = intval($id);\n\t\tif(empty($id)) return '';\n\t\t$numero = $this->datasis->dameval(\"SELECT numero FROM conv WHERE id=${id}\");\n\t\t$dbnumero = $this->db->escape($numero);\n\n\t\t$grid = $this->jqdatagrid;\n\t\t$mSQL = \"SELECT * FROM itconv WHERE numero=${dbnumero} ORDER BY descrip \";\n\t\t$response = $grid->getDataSimple($mSQL);\n\t\t$rs = $grid->jsonresult( $response);\n\t\techo $rs;\n\t}", "public static function read($id) {\n\t}", "public function getData($id)\r\n\t{\r\n\t\t$id = (int)$id;\r\n\t\t$sql = 'SELECT * FROM ' . TABLE_PREFIX . 'report_sheet rs\r\n\t\t\t\tWHERE rs.rs_id = ?';\r\n\t\t$row = $this->db->query($sql, array($id))->fetch();\r\n\r\n\t\t$this->id = $row['rs_id'];\r\n\t\t$this->name = $row['rs_name'];\r\n\t\t$this->type = $row['rs_type'];\r\n\t\t$this->creatorid = $row['rs_creatorid'];\r\n\t\t$this->status = $row['rs_status'];\r\n\t\t$this->datecreated = $row['rs_datecreated'];\r\n\t\t$this->datemodified = $row['rs_datemodified'];\r\n\t\t$this->description = $row['rs_description'];\r\n\t\t$this->year = $row['rs_year'];\r\n\t\t$this->month = $row['rs_month'];\r\n\t\t$this->week = $row['rs_week'];\r\n\r\n\t}", "function getData($id,$field='id')\n\t{\n\t\t$sql=\"select \n\t\t id, name, username, email, password, usertype, block, sendEmail, gid, registerDate, lastvisitDate, activation, params \n\t\tfrom {$this->table} where {$field}='$id'\";\n\t\tif($field=='id'){\n\t\t\t$data=dbFetchOne($sql);\n\t\t}else{ \n\t\t\t$result=dbQuery($sql,1);\n\t\t\t$data=array();\n\t\t\t$i=0;\n\t\t\tforeach ($result->result_array() as $row){\n\t\t\t\t$data[]=$row;\n\t\t\t}\n\t\t}\n\t\treturn $data;\n\t}", "public static function getDataById($idTour) {\n return TourMapper::findTourById($idTour); \n }", "public static function getById($id) {\n $sql = 'select * from configuracion where id = :id';\n $query = self::nuevaDb()->prepare($sql);\n $query->execute(array(\":id\" => $id));\n $arreglo = $query->fetchAll(PDO::FETCH_ASSOC);\n $result = Configuracion::inicializar($arreglo[0]);\n return $result;\n }", "public function read($id)\n {\n }", "public function getDataById3($id ){\n\t\treturn $this->db->get_where('datapengusaha', array('id' => $id))->row_array();\n\t}", "public function readOne($id)\n {\n //\n }", "public function getData($critId, $service = false)\n {\n if ($service === false) {\n return $this->getDataForHosts($critId);\n }\n return $this->getDataForServices($critId);\n }", "public function get($id)\n {\n $id = (int) $id;\n //$this->fetchRow devuelve fila donde id = $id\n $row = $this->fetchRow('idataud = ' . $id);\n if (!$row)\n {\n throw new Exception(\"Could not find row $id\");\n }\n return $row->toArray();\n }", "function method_read($id )\n\t{\n\t\tif ( ! is_numeric( $id ) )\n\t\t{\n\t\t\tthrow new InvalidJsonRpcArgumentException(\"Invalid id\");\n\t\t}\n\n\t\t$data = array();\n\n\t\t/*\n\t\t * load record\n\t\t */\n\t\t$entryModel = $this->getEntryModel();\n\t\ttry\n\t\t{\n\t\t\t$entryModel->load( $id );\n\t\t}\n\t\tcatch( qcl_data_model_RecordNotFoundException $e )\n\t\t{\n\t\t\tthrow new InvalidJsonRpcArgumentException(\"Der Datensatz existiert nicht (mehr).\");\n\t\t}\n\n\t\treturn $this->_getEntryData($entryModel);\n\t}", "function readById(){\n \n // select one query\n $query = \"SELECT `id_dcg`, `compra_id`, `cuenta_dcg`, `subtotal_civa_dcg`, `subtotal_siva_dcg`, \n `subtotal_iva_cero_dcg`, `total_dcg` FROM `detalle_compra_gasto` WHERE `id_dcg` = \".$this->id_dcg;\n \n // prepare query statement\n $stmt = $this->conn->prepare($query);\n \n // execute query\n $stmt->execute();\n \n return $stmt;\n }", "public function Read($id) {\n\t\t\t$sql = \"\n\t\t\t\tSELECT\n\t\t\t\t\t t1.id_contrato,\n\t\t\t\t\t t1.id_contratante,\n\t\t\t\t\t t1.id_avalista,\n\t\t\t\t\t t1.id_empresa,\n\t\t\t\t\t t1.dt_contrato,\n\t\t\t\t\t t1.valor_contrato,\n\t\t\t\t\t t1.pacote_contrato,\n\t\t\t\t\t t1.numero_contrato\n\t\t\t\tFROM\n\t\t\t\t\tcontrato AS t1\n\t\t\t\tWHERE\n\t\t\t\t\tt1.id_contrato = '$id'\n\n\t\t\t\";\n\t\t\t\n\t\t\t\n\t\t\t$DB = new DB();\n\t\t\t$DB->open();\n\t\t\t$Data = $DB->fetchData($sql);\n\t\t\t\n\t\t\t$DB->close();\n\t\t\treturn $Data[0]; \n\t\t}", "public function getData($id)\r\n\t{\r\n\t\t$id = (int)$id;\r\n\t\t$sql = 'SELECT * FROM ' . TABLE_PREFIX . 'price_enemy pe\r\n\t\t\t\tWHERE pe.pe_id = ?';\r\n\t\t$row = $this->db->query($sql, array($id))->fetch();\r\n\r\n\t\t$this->pcid = $row['pc_id'];\r\n\t\t$this->pid = $row['p_id'];\r\n\t\t$this->uid = $row['u_id'];\r\n\t\t$this->eid = $row['e_id'];\r\n\t\t$this->rid = $row['r_id'];\r\n\t\t$this->id = $row['pe_id'];\r\n\t\t$this->productname = $row['pe_productname'];\r\n\t\t$this->url = $row['pe_url'];\r\n\t\t$this->image = $row['pe_image'];\r\n\t\t$this->description = $row['pe_description'];\r\n\t\t$this->name = $row['pe_name'];\r\n\t\t$this->price = $row['pe_price'];\r\n\t\t$this->pricepromotion = $row['pe_pricepromotion'];\r\n\t\t$this->priceauto = $row['pe_priceauto'];\r\n\t\t$this->promotioninfo = $row['pe_promotioninfo'];\r\n\t\t$this->type = $row['pe_type'];\r\n\t\t$this->note = $row['pe_note'];\r\n\t\t$this->displayorder = $row['pe_displayorder'];\r\n\t\t$this->status = $row['pe_status'];\r\n\t\t$this->datecreated = $row['pe_datecreated'];\r\n\t\t$this->dateupdated = $row['pe_dateupdated'];\r\n\t\t$this->datesynced = $row['pe_datesynced'];\r\n\r\n\t}", "public function getData($id)\n\t{\n\t\treturn isset($this->data[$id]) ? $this->data[$id] : array();\n\t}", "public function getData($id)\n\t{\n\t\treturn isset($this->data[$id]) ? $this->data[$id] : array();\n\t}", "public function getData($id) {\n if ($stmt = $this->mysqli->prepare(\"SELECT short_string, long_string, int_number, true_or_false FROM rest_data2 WHERE id=?\")) {\n $stmt->bind_param('s', $id);\n $stmt->execute();\n $stmt->bind_result($short_string, $long_string, $int_number, $true_or_false);\n $data = null;\n $found = $stmt->fetch();\n $stmt->close();\n\n if ($found) {\n return array(\n 'id' => 0 + $id,\n 'shortStringAttribute' => $short_string,\n 'longStringAttribute' => $long_string,\n 'intNumber' => $int_number,\n 'trueOrFalse' => $true_or_false != 0\n );\n } else {\n $this->server->handleError(404);\n exit();\n }\n }\n }", "public function get($id)\r\n\t{\r\n\t\t$sql = 'select * from data_articulos where id='.$id;\r\n\t\t$consulta = $this->db->query($sql);\r\n\t\treturn $consulta->row();\r\n\t}" ]
[ "0.6137611", "0.59499454", "0.58021766", "0.5667426", "0.5643888", "0.56162643", "0.56115854", "0.55839974", "0.5561053", "0.55509454", "0.55356336", "0.5511544", "0.55002326", "0.54897904", "0.5484015", "0.54807466", "0.54799205", "0.54547507", "0.54290134", "0.54209197", "0.5404722", "0.5389035", "0.53884953", "0.5383334", "0.5349981", "0.5347042", "0.5338371", "0.5338371", "0.5337079", "0.5330461" ]
0.7722988
0
ReadDataFromDBAndCreateDataArray Liest die SeriesDaten aus der DB und schreibt sie in den DataString IN: $cfg, $Serie OUT: der Data String
function ReadDataFromDBAndCreateDataArray($cfg, $Serie) { $this->DebugModuleName($cfg,"ReadDataFromDBAndCreateDataArray"); if (!isset($Serie['Id'])) return ""; // errechne die Zeitspanne if ($Serie['EndTime'] > time()) $Diff = time() - $Serie['StartTime']; else $Diff = $Serie['EndTime'] - $Serie['StartTime']; $Id_AH = $cfg['ArchiveHandlerId']; $dataArray = array(); $VariableId = (int)$Serie['Id']; $Agg = -1; $ReadCurrentValue = true; // wenn ReplaceValues definiert wurden werden nur geloggte und keine Aggregated Werte gelesen if ($Serie['ReplaceValues'] != false) { if ($Diff > $Serie['AggregatedValues']['NoLoggedValues']) { $Serie['StartTime'] = $Serie['EndTime'] - $Serie['AggregatedValues']['NoLoggedValues']; } // Einzelwerte lesen $dataArray = $this->ReadAndAddToLoggedData($dataArray, $Id_AH, $VariableId, -1 , $Serie["StartTime"], $Serie["EndTime"], "Value", $Serie); } else if ($Serie['AggregatedValues']['MixedMode']) // im MixedMode werden anfangs alle Werte, dann die Stunden- und zuletzt Tageswerte ausgelesen { // zuerst Einzelwerte $result = $this->CalculateStartAndEndTimeForAggreagtedValues($Serie, ""); if ($result != false) { if ($Serie['Ips']['IsCounter']) // wenn Zähler dann immer Agg.Values $dataArray = $this->ReadAndAddToLoggedData($dataArray, $Id_AH, $VariableId, 0, $result["StartTime"], $result["EndTime"], $Serie['AggValue'], $Serie); else $dataArray = $this->ReadAndAddToLoggedData($dataArray, $Id_AH, $VariableId, -1 , $result["StartTime"], $result["EndTime"], "Value", $Serie); } // -> Stundenwerte $result = $this->CalculateStartAndEndTimeForAggreagtedValues($Serie,"Hour"); if ($result != false) $dataArray = $this->ReadAndAddToLoggedData($dataArray, $Id_AH, $VariableId, 0, $result["StartTime"], $result["EndTime"], $Serie['AggValue'], $Serie); // -> Tageswerte $result = $this->CalculateStartAndEndTimeForAggreagtedValues($Serie,"Day"); if ($result != false) $dataArray = $this->ReadAndAddToLoggedData($dataArray, $Id_AH, $VariableId, 1, $result["StartTime"], $result["EndTime"], $Serie['AggValue'], $Serie); // -> Wochenwerten $result = $this->CalculateStartAndEndTimeForAggreagtedValues($Serie,"Week"); if ($result != false) $dataArray = $this->ReadAndAddToLoggedData($dataArray, $Id_AH, $VariableId, 2, $result["StartTime"], $result["EndTime"], $Serie['AggValue'], $Serie); // -> Monatswerte $result = $this->CalculateStartAndEndTimeForAggreagtedValues($Serie,"Month"); if ($result != false) $dataArray = $this->ReadAndAddToLoggedData($dataArray, $Id_AH, $VariableId, 3, $result["StartTime"], $result["EndTime"], $Serie['AggValue'], $Serie); // -> Jahreswerte $result = $this->CalculateStartAndEndTimeForAggreagtedValues($Serie,"Year"); if ($result != false) $dataArray = $this->ReadAndAddToLoggedData($dataArray, $Id_AH, $VariableId, 4, $result["StartTime"], $result["EndTime"], $Serie['AggValue'], $Serie); } else { $Agg = -1; // -> AC_GetLoggedValues if (isset($Serie['AggType'])) // wenn 'AggType' definiert wurde, wird dies vorrangig bearbeitet { $Agg = $Serie['AggType']; } elseif ($Serie['AggregatedValues']['YearValues']!= -1 && $Diff > $Serie['AggregatedValues']['YearValues']) $Agg = 4; // -> AC_GetAggregatedValues [0=Hour, 1=Day, 2=Week, 3=Month, 4=Year] elseif ($Serie['AggregatedValues']['MonthValues']!= -1 && $Diff > $Serie['AggregatedValues']['MonthValues']) $Agg = 3; // -> AC_GetAggregatedValues [0=Hour, 1=Day, 2=Week, 3=Month, 4=Year] elseif ($Serie['AggregatedValues']['WeekValues']!= -1 && $Diff > $Serie['AggregatedValues']['WeekValues']) $Agg = 2; // -> AC_GetAggregatedValues [0=Hour, 1=Day, 2=Week, 3=Month, 4=Year] elseif ($Serie['AggregatedValues']['DayValues']!= -1 && $Diff > $Serie['AggregatedValues']['DayValues']) $Agg = 1; // -> AC_GetAggregatedValues [0=Hour, 1=Day, 2=Week, 3=Month, 4=Year] else if ($Serie['AggregatedValues']['HourValues']!= -1 && $Diff > $Serie['AggregatedValues']['HourValues']) $Agg = 0; // -> AC_GetAggregatedValues [0=Hour, 1=Day, 2=Week, 3=Month, 4=Year] // es wurde noch nichts definiert und es handelt sich um einen Zähler --> Tageswerte if ($Agg == -1 && $Serie['Ips']['IsCounter']) $Agg = 0; if ($Agg == -1) { // Zeitraum ist zu groß -> nur bis max. Zeitraum einlesen if ($Diff > $Serie['AggregatedValues']['NoLoggedValues']) $Serie['StartTime'] = $Serie['EndTime'] - $Serie['AggregatedValues']['NoLoggedValues']; // Alle Werte $dataArray = $this->ReadAndAddToLoggedData($dataArray, $Id_AH, $VariableId, -1 , $Serie["StartTime"], $Serie["EndTime"], "Value", $Serie); } else { $dataArray = $this->ReadAndAddToLoggedData($dataArray, $Id_AH, $VariableId, $Agg, $Serie["StartTime"], $Serie["EndTime"], $Serie['AggValue'], $Serie); $ReadCurrentValue = false; } } // sortieren, so , dass der aktuellste Wert zuletzt kommt $dataArray = array_reverse($dataArray); // aktuellen Wert der Variable noch in Array aufnehmen if ($ReadCurrentValue //&& $Serie['EndTime'] >= time() // nicht wenn Endzeitpunkt vor NOW ist && !$Serie['Ips']['IsCounter']) // nicht bei Zählervariablen { // $curValue = ReadCurrentValue($VariableId); $curValue = $this->ReadLoggedValue($Id_AH, $VariableId, $Serie['EndTime']); $dataArray[] = $this->CreateDataItem($curValue['TimeStamp'], $curValue['Value'], $Serie); } return $dataArray ; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function CreateArrayForSeries($cfg)\n {\n $this->DebugModuleName($cfg,\"CreateArrayForSeries\");\n\n // Daten für einzelne Serien erzeugen\n $dataArr = array();\n foreach ($cfg['series'] as $Serie)\n {\n if ($Serie['Ips']['Type'] == 'pie')\n {\n $Serie['data'] = $this->CreateDataArrayForPie($cfg, $Serie);\n }\n else\n {\n // Daten wurden von extern übergeben\n if (isset($Serie['data']))\n {\n if (is_array($Serie['data']))\n $Serie['data'] = $this->CreateDataArrayFromExternalData($Serie['data'], $Serie);\n else\n $Serie['data'] = $Serie['data'];\n\n }\n // Daten werden aus DB gelesen\n else\n $Serie['data'] = $this->ReadDataFromDBAndCreateDataArray($cfg, $Serie);\n }\n\n // ... aus Serie umkopieren\n $serieArr = $Serie;\n\n // nicht für JSON benötigte Parameter löschen\n unset($serieArr['Param']);\n unset($serieArr['AggregatedValues']);\n unset($serieArr['Unit']);\n unset($serieArr['StartTime']);\n unset($serieArr['EndTime']);\n unset($serieArr['ReplaceValues']);\n unset($serieArr['Ips']);\n unset($serieArr['Offset']);\n unset($serieArr['AggValue']);\n unset($serieArr['AggType']);\n unset($serieArr['AggNameFormat']);\n unset($serieArr['ScaleFactor']);\n unset($serieArr['RoundValue']);\n\n // ersetzten des 'Param'-Parameters (Altlast aus V1.x)\n if (isset($Serie['Param']))\n $serieArr['Param@@@'] = \"@\" . $Serie['Param'] . \"@\";\n\n $dataArr[] = $serieArr;\n }\n\n return $dataArr;\n }", "function ReadPieDataById($cfg, $serie)\n {\n $id_AH = $cfg['ArchiveHandlerId'];\n\n $tempData = @AC_GetAggregatedValues($id_AH, $serie['Id'], $serie['AggType'], $serie['StartTime'], $serie['EndTime'], 0);\n $tempData = array_reverse($tempData);\n\n $result = array();\n foreach ($tempData as $ValueItem)\n {\n $item['name'] = $this->ReplaceToGermanDate(date($serie['AggNameFormat'], $ValueItem['TimeStamp']));\n $item['y'] = $this->PopulateValue($ValueItem[$serie['AggValue']], $serie);\n $result[] = $item;\n }\n unset ($tempData);\n\n return $result;\n }", "function fetchDBData($scrips = NULL, $dataSize = 400){\r\n\r\n /* We need to get the date exactly $dataSize days in past. Thus this query */ \r\n $nifty_query = \"SELECT timestamp FROM cmbhav WHERE symbol = 'NIFTY' ORDER BY timestamp DESC LIMIT $dataSize , 1\";\r\n $result = mysql_query($nifty_query);\r\n if (!$result) {\r\n echo 'Could not run query: ' . mysql_error();\r\n exit;\r\n }\r\n\r\n $row = mysql_fetch_row($result);\r\n $first_date = $row[0];\r\n // Free the result\r\n mysql_free_result($result);\r\n \r\n /* Get all the required data from db */\r\n if(is_array($scrips)){\r\n /* We have only handful of scrips to process\r\n Make sure these scrips are SQL safe.\r\n */\r\n $safe_scrips = array_map(\"sqlSafe\", $scrips);\r\n $safe_scrip_names = join(\"','\", $safe_scrips);\r\n /* Now that the scripnames are SQL safe create query string */\r\n $fetch_query = \"SELECT niftylist.symbol AS symbol, close, TOTTRDQTY as volume, timestamp FROM niftylist,cmbhav WHERE niftylist.symbol = cmbhav.symbol and cmbhav.symbol IN ('$safe_scrip_names') and timestamp > '$first_date' and cmbhav.series = 'EQ' order by timestamp asc\";\r\n }else{\r\n $fetch_query = \"SELECT niftylist.symbol AS symbol, close, TOTTRDQTY as volume, timestamp FROM niftylist,cmbhav WHERE niftylist.symbol = cmbhav.symbol and timestamp > '$first_date' and cmbhav.series = 'EQ' order by timestamp asc\";\r\n }\r\n \r\n $all_result = mysql_query($fetch_query);\r\n if (!$all_result) {\r\n echo 'Could not run query: ' . mysql_error();\r\n exit;\r\n }\r\n\r\n while($row = mysql_fetch_array($all_result)){\r\n $dataStore[$row['symbol']][] = array(\"c\" => +$row['close']\r\n ,\"v\" => +$row['volume']\r\n ,\"d\" => $row['timestamp']\r\n );\r\n }\r\n\r\n // Free the result\r\n mysql_free_result($all_result);\r\n \r\n return $dataStore;\r\n}", "protected function read_dbase() {\n\n\t\t//a module with at least one stored dp may proceed\n\t\tif (!$this->settings['store_in_db']) return true;\n\t\tif ($this->dbase_has_been_read) return true;\n\t\t\n\t\t$db= $this->db;\n\t\t$errors= array();\n\t\t$table= $this->settings['store_db_table'];\n\t\t$daytable= $this->settings['store_db_table_day'];\n\t\t\n\t\t//define date limits of query\n\t\t$dtime= $this->datetime; \n\t\t$day= date(\"Y-m-d\", strtotime($dtime));\n\n\n\t\t### Periodic series\n\t\t\n\t\t//prep hash\n\t\t$data= array();\n\t\tforeach ($this->datapoints as $label=> $datapoint) {\n\t\t\tif ($datapoint->store and $datapoint->interval=='periodic') $data[$label]= array();\n\t\t}\n\t\t\n\t\t//get the periodic data, day to date\n\t\t$query= \"\n\t\t\tselect * from `:table`\n\t\t\twhere date_created >= ':day 00:00:00' \n\t\t\tand date_created <= ':day 23:59:59'\n\t\t\tand code= 0\n\t\t\torder by id\n\t\t\";\t\n\t\t$params= array('table'=>$table,'day'=>$day,);\n\t\t$result= $db->query($query,$params) or codeerror('DB error',__FILE__,__LINE__);\n\t\t$npoints= $db->num_rows($result);\n\t\twhile ($row= $db->fetch_row($result)) {\n\t\t\t$this->datetimes['periodic'][]= $row['date_created'];\n\t\t\t//hash\n\t\t\tforeach (array_keys($data) as $label) {\n\t\t\t\t$data[$label][]= isset($row[$label]) ? $row[$label] : '';\n\t\t\t}\n\t\t}\n\t\t\n\t\t//store\n\t\tforeach ($this->datapoints as $label=> $datapoint) {\n\t\t\tif (isset($data[$label])) $datapoint->set('periodic',$data[$label]);\n\t\t}\n\n\n\t\t### Day series\n\t\t\n\t\t//prep hash\n\t\t$data= array();\n\t\tforeach ($this->datapoints as $label=> $datapoint) {\n\t\t\tif ($datapoint->store and $datapoint->interval=='day')\t$data[$label]= array();\n\t\t}\n\t\t\n\t\t//get the day data, year to date, the last 30 days?, or ???\n\t\t$query= \"\n\t\t\tselect * from `:daytable`\n\t\t\twhere date_created >= ':ybeg' \n\t\t\tand date_created <= ':yend'\n\t\t\tand code= '0'\n\t\t\torder by id\n\t\t\";\t\n\t\t$params= array(\n\t\t\t'daytable'=> $daytable,\n\t\t\t'ybeg'=> date(\"Y-01-01\"),\n\t\t\t'yend'=> date(\"Y-12-31\"),\n\t\t);\n\t\t$result= $db->query($query,$params) or codeerror('DB error',__FILE__,__LINE__);\n\t\t$npoints= $db->num_rows($result);\n\t\twhile ($row= $db->fetch_row($result)) {\n\t\t\t$this->datetimes['day'][]= $row['date_created'];\n\t\t\t//hash\n\t\t\tforeach (array_keys($data) as $label) {\n\t\t\t\tif (isset($row[$label])) $data[$label][]= $row[$label];\n\t\t\t}\n\t\t}\n\t\t\n\t\t//store in dps\n\t\tforeach ($this->datapoints as $label=> $datapoint) {\n\t\t\tif (isset($data[$label])) $datapoint->set('day',$data[$label]);\n\t\t}\n\n\t\t//flag done\n\t\t$this->dbase_has_been_read= true;\n\t\t\n\t\treturn true;\n\t}", "function datos($strQuery,$titulo){\n include(\"../conexion.php\");\n $strXML = \"<chart caption='Panel de Monitoreo Integral' subCaption='$titulo' showBorder='1' formatNumberScale='0' numberSuffix=' Units'>\";\n\n //Fetch all factory records\n $result = mysql_db_query($db,$strQuery,$link) or die(mysql_error());\n\n //Iterate through each factory\n if ($result) {\n while($ors = mysql_fetch_array($result)) {\n //Now create a second query to get details for this factory\n //Generate <set label='..' value='..'/>\n $strXML .= \"<set label='\" . $ors['nom'] . \"' value='\" . $ors['num'] . \"' />\";\n //free the resultset\n }\n }\n mysql_close($link);\n\n //Finally, close <chart> element\n $strXML .= \"</chart>\";\n return $strXML;\n }", "public function loadData()\n {\n $this->preLoadData();\n $obj_query=new querry_select(\"select *\n from \".$this->stri_table_name.\"\n where \".$this->stri_primary_key.\"='\".$this->stri_primary_key_value.\"'\");\n \n $obj_query->execute(\"assoc\");\n foreach($obj_query->getIemeResult(0) as $key=>$value)\n {\n //si c'est une date, on convertit son format\n $value=($this->arra_simple_attribut[$key]['type']==\"DATE\")?date(\"d/m/Y_H:i:s\",strtotime($value)):$value;\n $this->arra_simple_attribut[$key]['value']=$value;\n }\n }", "function loadData ($rs) {\n\t\t$data = new Data();\n\t\t$total = $this->db->rslen($rs);\n\n\t\t// Cargamos los nombres de campo\n\t\t$data->setFields($this->db->getFields($rs));\n\n\t\t//$data->fields = $this->db->getFields($rs);\n\t\tfor ($i=0; $i<$total; $i++) {\n\t\t\t$data->matrix[$i] = $this->db->fetchArray($rs,$i); \n\t\t}\n\t\treturn $data;\n\t}", "public function loadData()\n {\n $db = $this->getDb();\n\n $sql = <<<SQL\n\nSQL;\n\n return $db->select($sql);\n\n }", "function obtenerSeries($idUnidad)\n{\n $sql = new Query(\"SG\");\n $sql->sql = \"SELECT id_serie_aer as id \n FROM serie_aer \n WHERE id_unidad = \".$idUnidad.\" and status = 1\n \";\n \n return $sql->select('obj');\n}", "public static function dataConvertDb($data) {\n\t\t$hora = date ( 'H:i:s' );\n\t\t$databanco = date_create ( $data . $hora );\n\t\t$dataConvertida = date_format ( $databanco, \"Y-m-d\" );\n\t\treturn $dataConvertida;\n\t}", "protected function getDataSet() {\n\t\treturn $this->createXMLDataSet ( dirname ( __FILE__ ) . '\\..\\..\\data\\cron\\empty_dstable_2_articles_test_data.xml' );\n\t}", "public function getRawDataFromDB()\t{\n\t\treturn DB::table('smarthome')->select('day','time','activity','condition')->get();\n\t}", "public function getData() //operate on database to get data\n {\n\t\t\tif ($this->p['SearchStyle']==\"Continuous\")\n\t\t\t{\n\t\t\t\t$startDate = mysql_real_escape_string($this->p['StartYear']).\"-\";\n\t\t\t\t$endDate = mysql_real_escape_string($this->p['EndYear']).\"-\";\n\n\t\t\t\tif ($this->p['SearchBy']==\"season\")\n\t\t\t\t{\n\t\t\t\t\t$startMonth = $this->getStartSeasonMonth($this->p['StartSeason']);\n\t\t\t\t\t$startDay = $this->getStartSeasonDay($this->p['StartSeason']);\n\t\t\t\t\t$endMonth = $this->getEndSeasonMonth($this->p['EndSeason']);\n\t\t\t\t\t$endDay = $this->getEndSeasonDay($this->p['EndSeason']);\n\t\t\t\t\t$endYear = $this->p['EndSeason'] == 4 ? $this->p['EndYear']+1 : $this->p['EndYear'];\n\t\t\t\t\t$start = $this->p['StartYear'] . \"-\" . $startMonth . \"-\" . $startDay;\n\t\t\t\t\t$end = $endYear . \"-\" . $endMonth . \"-\" . $endDay;\n\t\t\t\t\t$excep1 = $endYear . \"-\" . \"00\" . \"-\" . \"00\";\n\t\t\t\t\t$excep2 = $endYear . \"-\" . $endMonth . \"-\" . \"00\";\n\t\t\t\t\t$sqlTimeConstraint = \"dateStart >= '\" . $start . \"' and dateEnd <= '\" . $end . \"' and dateEnd != '\" . $excep1 . \"' and dateEnd != '\" . $excep2 . \"'\";\n\t\t\t\t}\n\t\t\t\telse if ($this->p['SearchBy']==\"year\")\n\t\t\t\t{\n\t\t\t\t\t$sqlTimeConstraint = \"YEAR(dateStart) >= '\" . $this->p['StartYear'] . \"' AND YEAR(dateEnd) <= '\" . $this->p['EndYear'] . \"'\";\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\telse if ($this->p['SearchBy']==\"month\")\n\t\t\t\t{\n\t\t\t\t\t$year_month_start = $this->p['StartYear'] . \"-\" . (($this->p['StartMonth']>9) ? $this->p['StartMonth'] : \"0\".$this->p['StartMonth']);\n\t\t\t\t\t$year_month_end = $this->p['EndYear'] . \"-\" . (($this->p['EndMonth']>9) ? $this->p['EndMonth'] : \"0\".$this->p['EndMonth']);\n\t\t\t\t\t$excepYM = $this->p['EndYear'] . \"-\" . \"00\";\n\t\t\t\t\t$sqlTimeConstraint = \"date_format(dateStart,'%Y-%m') >= '\" . $year_month_start . \"' and date_format(dateEnd,'%Y-%m') <= '\" . $year_month_end . \"' and date_format(dateEnd,'%Y-%m') != '\" . $excepYM . \"'\";\n\t\t\t\t}\n\t\t\t\telse if ($this->p['SearchBy']==\"monthday\")\n\t\t\t\t{\n\t\t\t\t\t$start = $this->p['StartYear'] . \"-\" . (($this->p['StartMonth']>9) ? $this->p['StartMonth'] : \"0\".$this->p['StartMonth']) . \"-\" . (($this->p['StartDay']>9) ? $this->p['StartDay'] : \"0\".$this->p['StartDay']);\n\t\t\t\t\t$end = $this->p['EndYear'] . \"-\" . (($this->p['EndMonth']>9) ? $this->p['EndMonth'] : \"0\".$this->p['EndMonth']) . \"-\" .(($this->p['EndDay']>9) ? $this->p['EndDay'] : \"0\".$this->p['EndDay']);\n\t\t\t\t\t$excep1 = $this->p['EndYear'] . \"-\" .\"00\" . \"-\" . \"00\";\n\t\t\t\t\t$excep2 = $this->p['EndYear'] . \"-\" . (($this->p['EndMonth']>9) ? $this->p['EndMonth'] : \"0\".$this->p['EndMonth']) . \"-\" . \"00\";\n\t\t\t\t\t$sqlTimeConstraint = \"dateStart >= '\" . $start . \"' and dateEnd <= '\" . $end . \"' and dateEnd != '\" .$excep1 . \"' and dateEnd != '\" . $excep2 . \"'\";\n\t\t\t\t}\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tif ($this->p['SearchBy']==\"season\")\n\t\t\t\t{\n\t\t\t\t\t$startMonth = $this->getStartSeasonMonth($this->p['StartSeason']);\n\t\t\t\t\t$startDay = $this->getStartSeasonDay($this->p['StartSeason']);\n\t\t\t\t\t$endMonth = $this->getEndSeasonMonth($this->p['StartSeason']);\n\t\t\t\t\t$endDay = $this->getEndSeasonDay($this->p['StartSeason']);\n\n\t\t\t\t\t$startDate1 = $startMonth . \"-\" . $startDay;\n\t\t\t\t\t$endDate1 = $endMonth . \"-\" . $endDay;\n\n\t\t\t\t\tif($this->p['StartSeason'] != 4)\n\t\t\t\t\t\t$sqlTimeConstraint = \"YEAR(dateStart) >= '\" . $this->p['StartYear'] . \"' and YEAR(dateEnd) <= '\" . $this->p['EndYear'] . \"' and date_format(dateStart,'%m-%d') >= '\" . $startDate1 . \"' and date_format(dateEnd,'%m-%d') <= '\" . $endDate1 . \"'and YEAR(dateStart) = YEAR(dateEnd)\";\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\t$endYear = $this->p['EndYear'] + 1;\n\t\t\t\t\t\t$startYear = $this->p['StartYear'] + 1;\n\t\t\t\t\t\t$sqlTimeConstraint = \"(YEAR(dateStart) >= '\" . $this->p['StartYear'] . \"' and YEAR(dateStart) <= '\" .$this->p['EndYear'] . \"' and date_format(dateStart,'%m-%d') >= '\" . $startDate1 . \"' and datediff(dateEnd,dateStart) <= 88 ) or (YEAR(dateStart) >= '\" . $startYear . \"' and YEAR(dateEnd) <= '\" . $endYear . \"' and date_format(dateStart,'%m-%d') >= '01-01' and date_format(dateEnd,'%m-%d') <= '03-20' and YEAR(dateStart) = YEAR(dateEnd))\";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if ($this->p['SearchBy']==\"year\")\n\t\t\t\t\t$sqlTimeConstraint = \"YEAR(dateStart) >= '\" . $this->p['StartYear'] . \"' AND YEAR(dateEnd) <= '\" . $this->p['EndYear'] . \"'\";\n\t\t\t\telse if ($this->p['SearchBy']==\"month\")\n\t\t\t\t\t$sqlTimeConstraint = \"YEAR(dateStart) >= '\" . $this->p['StartYear'] . \"' AND YEAR(dateEnd) <= '\" . $this->p['EndYear'] . \"' and MONTH(dateStart) = '\" . $this->p['StartMonth'] . \"' and MONTH(dateEnd) = '\" . $this->p['StartMonth'] . \"'\";\n\t\t\t\telse if ($this->p['SearchBy']==\"monthday\")\n\t\t\t\t{\n\t\t\t\t\t$md = (($this->p['StartMonth']>9) ? $this->p['StartMonth'] : \"0\".$this->p['StartMonth']) . \"-\" . (($this->p['StartDay']>9) ? $this->p['StartDay'] : \"0\".$this->p['StartDay']);\n\t\t\t\t\t$sqlTimeConstraint = \"YEAR(dateStart) >= '\" . $this->p['StartYear'] . \"' AND YEAR(dateEnd) <= '\" . $this->p['EndYear'] . \"' and date_format(dateStart,'%m-%d') = '\" . $md . \"' and date_format(dateEnd,'%m-%d') = '\" . $md . \"'\";\n\t\t\t\t}\n\t\t\t}\n\t\t\t$sqlTimeConstraint = \"AND (\".$sqlTimeConstraint.\") \";\n// =======================================================================================================\n \n// === Generate category constraints. ==================================================\n$sqlcategoryConstraint = \"\";\n\nfor($i=1;$i<=12;$i++)\n{\n $paraName = \"CategorySearchIn$i\";\n if(isset($this->p[$paraName]))\n {\n $category = mysql_real_escape_string($this->p[$paraName]);\n\t\n if ($sqlcategoryConstraint !=\"\")\n\t $sqlcategoryConstraint .= \",'$category'\"; \n else\n $sqlcategoryConstraint = \"'$category'\"; \n } \t \n}\nif(strlen($sqlcategoryConstraint)>0) $sqlcategoryConstraint = \" and (A.category in ($sqlcategoryConstraint)) \";\n// ==================================================================================\n // === Generate keywords constraints. ==================================================\n \n $limitStart = parent::ITEMS_PER_PAGE*($this->page-1);\n\t$limitEnd = parent::ITEMS_PER_PAGE;\n\t$Keywords = mysql_real_escape_string(trim($this->p['Keyword']));\n\t$limited =\"F.collector like '$Keywords' \";\n\t$Location = mysql_real_escape_string(trim($this->p['Location']));\n\tif($Location !='')\n\t\t$limited.=\"AND F.location like '%$Location%' \";\n\t$Date = mysql_real_escape_string(trim($this->p['Date']));\n\tif($Date !='')\n\t\t$limited.= \"AND F.date like '%$Date%' \";\n\t$Amount = mysql_real_escape_string(trim($this->p['Amount']));\n\tif($Amount !='')\n\t\t$limited.= \"AND F.amount like '%$Amount%'\";\n\t$query = \"select SQL_CALC_FOUND_ROWS DISTINCT A.opp,notVerified,title, YEAR(dateStart) as year,duration,collection,inventory,dimension,bookCatalog,medium,A.location, notes,commentary from `ARTWORK` A,`FORMERLY` F where A.opp=F.opp AND \".$limited.$sqlTimeConstraint.$sqlcategoryConstraint.\" order by dateOrder(dateStart,dateStartFlag) asc, dateOrder(dateEnd,dateEndFlag) asc limit $limitStart, $limitEnd\";\n\t$result = mysql_query($query);\n\t//$result = die($query);\n\treturn $result;\n }", "static public function JData($aid) {\n $Data = DB::select('select * from analysis_data where aid='.$aid.' and rid in (select distinct rid from analysis_data where aid='.$aid.' and rownum<5000 group by rid)');\n \n #===generate the data in format for samples \n $jData='[';\n $cflag= 0;\n $ridA = 0;\n $hh = array();\n $ss = array();\n foreach($Data as $dd){\n foreach($dd as $key=>$value) {\n if ($key == 'aid' ) { $aidB = $value; } \n if ($key == 'rid' ) { $ridB = $value; } \n if ($key == 'key' ) { $keyB = $value; } \n if ($key == 'value') { $valB = $value; } \n }\n if ($ridA!=$ridB) { \n if ($ridA!=0) { \n $kk = array_keys($ss);\n #===make Table Data\n $jData .='[[\"'.$aid.'\"],[\"'.$ridA.'\"],';\n foreach($kk as $key) {\n $jData .= '[\"'.$ss[$key].'\"],';\n }\n $jData .='],';\n #===make Table Colnames \n if (!isset($jColnames)) { \n $jColnames ='[{\"title\":\"Analysis_ID\"},{\"title\":\"Record_ID\"},';\n foreach($kk as $key) {\n $jColnames .= '{\"title\":\"'.$key.'\"},';\n }\n $jColnames .=']';\n }\n }\n $ridA=$ridB;\n }\n $ss[$keyB]=$valB;\n }\n $jData .=']';\n #echo $jColnames;\n #echo $jData;\n #return;\n\n return array($jColnames, $jData);\n }", "function datasqlDespesarubrica($databrDespesarubrica) {\r\n\tif (!empty($databrDespesarubrica)){\r\n\t$p_dt = explode('/',$databrDespesarubrica);\r\n\t$data_sqlDespesarubrica = $p_dt[2].'-'.$p_dt[1].'-'.$p_dt[0];\r\n\treturn $data_sqlDespesarubrica;\r\n\t}\r\n}", "public function getDataSetted(){\n\t\t$obj = $this->toObject();\n\t\t$dataSetted = new stdClass();\n\t\t$varsObj = get_object_vars($obj);\n\t\tforeach ($varsObj as $name => $valueRaw) {\n\t\t\tif (!self::IsSettedValue($valueRaw)) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t\n\t\t\t$value = $valueRaw;\n\t\t\t\n\t\t\t$field = $this->getFieldFromName($name);\n\t\t\tif ($field) {\n\t\t\t\t$this->normalizeValue($field, $valueRaw, $value);\n\t\t\t}\n\t\t\t\n\t\t\tif ($name == $this->_fieldKey) {\n\t\t\t\t$dataSetted->id = $value;\n\t\t\t}\n\t\t\t\n\t\t\t// echo \" <br/> SETEANDO: $name VALOR: $value \";\n\t\t\t\n\t\t\t$dataSetted->$name = $value;\n\t\t} // foreach\n \t\n\t\treturn $dataSetted;\n }", "function data_sql($data){\n $array = explode(\"/\", $data); \n // Riorganizzo gli elementi nello stile YYYY/MM/DD\n $data_sql = $array[2].\"/\".$array[1].\"/\".$array[0]; \n // Restituisco il valore della data in formato sql\n return $data_sql; \n}", "public function getDataStore();", "function exibirDataMysql($data){ \n\tlist ($dia, $mes, $ano) = explode ('/', $data);\n\t$data_mysql = $ano.'-'.$mes.'-'.$dia;\n\treturn $data_mysql;\n}", "public function creatautodb($data) \n\t {\n\t\t \n\t\t\t\n\t\t\t$this->db->exec('SET NAMES utf8');\n\t\t\t$this->db->insert('auto', array(\n\t\t\t'idt' => $data['id'],\t\n\t\t\t'Date' => $this->dateFR2US($data['Date']),\n\t\t 'WILAYA' => $data['WILAYA'],\n\t\t 'COMMUNE' => $data['COMMUNE'],\n\t\t\t'Categorie' => $data['Categorie'],\n\t\t\t'Type' => $data['Type'],\n\t\t 'Serie_Type' => $data['Serie_Type'],\n\t\t 'Marque' => $data['Marque'],\n\t\t 'Immatri' => $data['Immatri'],\n\t\t 'Precedent' => $data['Precedent'],\n\t\t 'Annee' => $data['Annee'],\t \n\t\t\t'NASS' => $data['NASS'],\n\t\t\t'DUNASS' => $this->dateFR2US($data['DUNASS']),\n\t\t\t'AUNASS' => $this->dateFR2US($data['AUNASS']),\n\t\t\t'CTRL' => $data['CTRL'],\n\t\t\t'DUCTRL' => $this->dateFR2US($data['DUCTRL']),\n\t\t\t'AUCTRL' => $this->dateFR2US($data['AUCTRL']),\n\t\t\t\n\t\t\t'sieges' => $data['sieges'],\n\t\t\t'ess' => $data['ess'],\n\t\t\t'die' => $data['die'],\n\t\t\t'gaz' => $data['gaz']\n\t\t\t\n\t\t\t));\n\t\t\t// echo '<pre>';print_r ($data);echo '<pre>';\n\t\t\t//return $last_id = $this->db->lastInsertId();\n\t\t\t//verification des doublons \n\t\t\t$doub = $this->db->prepare(\"SELECT * FROM auto WHERE Serie_Type = :Serie_Type \");\n\t\t\t$doub->execute(array( ':Serie_Type' => $data['Serie_Type']\t));\n\t\t\t$data1 = $doub->fetch();\t\n\t\t\t$count = $doub->rowCount();\n\t\t\tif (isset($count) and $count > 0) \n\t\t\t{\n\t\t\t\treturn $data['Serie_Type']; \n\t\t\t}\t\n\t\t}", "private function createDataToParse()\n\t{\n\t\t//Get list of all the tables in DB\n\t\t$db = Zend_Db_Table::getDefaultAdapter();\n\t\t$allTables = $db->listTables();\n\n\t\t$dataToParse = array();\n\n\t\tforeach ($allTables as $tableName) {\n\t\t\tif(strpos($tableName, 'translation') !== FALSE) {\n\t\t\t\t$stmt = $db->query(\n\t\t\t\t\t'SELECT * FROM '.$tableName\n\t\t\t\t);\n\t\t\t\t$dataToParse[$tableName] = $stmt->fetchAll();\n\t\t\t}\n\t\t}\n\n\t\treturn $dataToParse;\n\t}", "function getDataSet($field,$definition,$values)\n {\n \n }", "public static function datasource(){\n\n $data = [];\n\n // Set vo data\n $data[\"vo.serial\"] = 1;\n $data[\"vo.name\"] = \"aegis\";\n $data[\"vo.validation_date\"] = new \\DateTime(\"2011-05-30 10:24:30\");\n $data[\"vo.creation_date\"] = new \\DateTime(\"2007-06-07 00:00:00\");\n $data[\"vo.last_change\"] = new \\DateTime(\"2015-10-27 15:17:13\");\n $data[\"vo.header_id\"] = 299;\n $data[\"vo.ressources_id\"] = 399;\n $data[\"vo.mailing_list_id\"] = 11;\n $data[\"vo.ggus_ticket_id\"] = 0;\n $data[\"vo.need_voms_help\"] = 0;\n $data[\"vo.need_ggus_support\"] = 1;\n $data[\"vo.voms_ticket_id\"] = 0;\n $data[\"vo.ggus_ticket_id_su_creation\"] = 0;\n $data[\"vo.monitored\"] = 0;\n $data[\"vo.enable_team_ticket\"] = 0;\n\n // Set Vo Acknowledgment Statements data\n $data[\"as.serial\"] = 1;\n $data[\"as.id\"] = 14;\n $data[\"as.type_as\"] = \"VO\";\n $data[\"as.grantid\"] = 1135;\n $data[\"as.suggested\"] = \"Suggested Acknowledgment\";\n $data[\"as.relationShip\"] = \"using EGI, related to VO:Aegis\";\n $data[\"as.publicationUrl\"] = \"https://publicationUrl.fr\";\n\n // Set Discipline data\n $data[\"disciplines.id\"] = 1;\n $data[\"disciplines.label\"] = \"Other\";\n\n // Set User Has Profile data\n $data[\"chp.serial\"] = 1;\n $data[\"chp.user_profile_id\"] = 1;\n $data[\"chp.contact_id\"] = 1;\n $data[\"chp.comment\"] = \"Vo Manager\";\n\n // Set Contacts data\n $data[\"c.id\"] = 1;\n $data[\"c.first_name\"] = \"Cyril\";\n $data[\"c.last_name\"] = \"Lorphelin\";\n $data[\"c.dn\"] = \"/O=GRID-FR/C=FR/O=CNRS/OU=CC-IN2P3/CN=Cyril Lorphelin\";\n $data[\"c.email\"] = \"[email protected]\";\n $data[\"c.grid_body\"] = 1;\n\n // Set Discipline data\n $data[\"d.id\"] = 1;\n $data[\"d.discipline\"] = \"Others\";\n $data[\"d.description\"] = \"Others description\";\n\n // Set List Vo Disciplines data\n $data[\"ds.discipline_id\"] = 1;\n $data[\"ds.vo_id\"] = 1;\n\n // Set Vo Field data\n $data[\"f.field_name\"] = \"name\";\n $data[\"f.field_error_msg\"] = \"Invalid VO name, see <a href=\\\"https://edms.cern.ch/file/ 503245/6/VO_Registration.pdf\\\" target=\\\"_blank\\\">the registration procedure</a>\";\n $data[\"f.field_user_help\"] = \"<strong>Vo name</strong>\n\nEach virtual organization must have a unique name.\nThe name must conform to DNS naming conventions and contain only lower-case letters.\nNames within the egi.eu domain are controlled by the EGI User Community Support Team Representatives.\nOther domains may be used, but you must have the right to allocate (or obtain) names within that domain.\n\nMinimal restrictions are:\n\n- VO name uniqueness will be enforced through technical implementation.\n- VO name should be using alphanumerical characters plus the following characters \\\"-\\\" and \\\".\\\"\n- VO name <b>MUST</b> be lowercase\n- VO name should not be an offending word in any language.\n- VO name should not be just a sequence of characters. Especially, names like \\\"aaa\\\" will be refused.\n\";\n $data[\"f.field_admin_help\"] = \"Admin Healp\";\n $data[\"f.category\"] = \"GENERAL INFORMATION\";\n $data[\"f.field_link\"] = \"http://fieldLink.fr\";\n $data[\"f.field_example\"] = \"vo.egi.eu\";\n $data[\"f.field_regexp_id\"] = 1;\n $data[\"f.required\"] = 1;\n\n $data[\"r.report_body\"] = \"report body\";\n $data[\"r.serial\"] = 1;\n $data[\"r.created_at\"] = new \\DateTime(\"2007-06-07 00:00:00\");\n $data[\"r.updated_at\"] = new \\DateTime(\"2015-10-27 15:17:13\");\n\n // Set Vo Header data\n $data[\"vh.id\"] = 1;\n $data[\"vh.name\"] = \"aegis\";\n $data[\"vh.alias\"] = \"aegis\";\n $data[\"vh.grid_id\"] = 1;\n $data[\"vh.serial\"] = 1;\n $data[\"vh.enrollment_url\"] = \"https://voms.ipb.ac.rs:8443/voms/aegis/\";\n $data[\"vh.homepage_url\"] = \"https://voms.ipb.ac.rs:8443/voms/aegis/\";\n $data[\"vh.support_procedure_url\"] = \"https://voms.ipb.ac.rs:8443/voms/aegis/\";\n $data[\"vh.aup\"] = \"aegis-AcceptableUsePolicy-20100817-121618.pdf\";\n $data[\"vh.aup_type\"] = \"file\";\n $data[\"vh.description\"] = \"VO setup for grid collaboration of the Serbian scientific community.\";\n $data[\"vh.arc_supported\"] = 1;\n $data[\"vh.glite_supported\"] = 1;\n $data[\"vh.unicore_supported\"] = 1;\n $data[\"vh.globus_supported\"] = 1;\n $data[\"vh.cloud_computing_supported\"] = 1;\n $data[\"vh.cloud_storage_supported\"] = 1;\n $data[\"vh.desktop_grid_supported\"] = 1;\n $data[\"vh.validation_date\"] = \"2011-05-30\";\n $data[\"vh.discipline_id\"] = 1;\n $data[\"vh.scope_id\"] = 1;\n $data[\"vh.status_id\"] = 1;\n $data[\"vh.insert_date\"] = \"2011-05-30 10:24:30\";\n $data[\"vh.user\"] = 1;\n $data[\"vh.validated\"] = 1;\n $data[\"vh.reject_reason\"] = \"\";\n $data[\"vh.notify_sites\"] = 1;\n $data[\"vh.middleware\"] = array('Arc','gLite','Unicore','Globus','Cloud Computing Resources','Cloud Storage Resources','Desktop Grid');\n\n // Set Vo mailingList data\n $data[\"ml.id\"] = 1;\n $data[\"ml.admins_mailing_list\"] = \"[email protected]\";\n $data[\"ml.operations_mailing_list\"] = \"[email protected]\";\n $data[\"ml.user_support_mailing_list\"] = \"[email protected]\";\n $data[\"ml.users_mailing_list\"] = \"[email protected]\";\n $data[\"ml.security_contact_mailing_list\"] = \"[email protected]\";\n $data[\"ml.user\"] = \"Operations Portal\";\n $data[\"ml.insert_date\"] = \"2011-05-30 10:24:30\";\n $data[\"ml.serial\"] = 1;\n $data[\"ml.validated\"] = 1;\n $data[\"ml.reject_reason\"] = \"\";\n $data[\"ml.notify_sites\"] = 0;\n\n // Set Vo Metrics data\n $data[\"m.id\"] = 1;\n $data[\"m.nb_vo\"] = 1;\n $data[\"m.nb_added\"] = 1;\n $data[\"m.nb_removed\"] = 1;\n $data[\"m.nb_inter_vo\"] = 1;\n $data[\"m.nb_inter_added\"] = 1;\n $data[\"m.nb__inter_removed\"] = 1;\n $data[\"m.day_date\"] = \"2011-05-30 10:24:30\";\n\n // Set Vo Regexp data\n $data[\"rxp.id\"] = 1;\n $data[\"rxp.regexpression\"] = \"^([a-z0-9\\-]{1,255}\\.)+[a-z]{2,4}$^\";\n $data[\"rxp.description\"] =\"regexp for vo name\";\n\n // Set Vo Ressources data\n $data[\"r.id\"] = 1;\n $data[\"r.serial\"] = 1;\n $data[\"r.insert_date\"] = \"2011-05-30 10:24:30\";\n $data[\"r.ram386\"] = 0;\n $data[\"r.ram64\"] = 54654;\n $data[\"r.job_scratch_space\"] = 1456;\n $data[\"r.job_max_cpu\"] = 1549;\n $data[\"r.job_max_wall\"] = 1879;\n $data[\"r.other_requirements\"] = \"Other requirementsOther \";\n $data[\"r.cpu_core\"] = 1;\n $data[\"r.vm_ram\"] = 1;\n $data[\"r.storage_size\"] = 1;\n $data[\"r.public_ip\"] = 1;\n $data[\"r.user\"] = \"Pierre Frebault\";\n $data[\"r.validated\"] = 1;\n $data[\"r.reject_reason\"] = \"reason\";\n $data[\"r.notify_sites\"] = 0;\n $data[\"r.cvmfs\"] = \"a:1:{i:0;s:46:\\\"https://cream.ipb.ac.rs:8443/ce-cream/services\\\";}\";\n\n\n // Set Vo Robot Certificate data\n $data[\"rc.id\"] = 1;\n $data[\"rc.robot_certificate_id\"] = \"robot_certificate_1\";\n $data[\"rc.serial\"] = 1;\n $data[\"rc.service_name\"] = \"serviceName\";\n $data[\"rc.service_url\"] = \"http://serviceUrl.fr\";\n $data[\"rc.email\"] = \"[email protected]\";\n $data[\"rc.robot_dn\"] = \"/DN=robotDn\";\n $data[\"rc.use_sub_proxies\"] = 1;\n\n // Set Vo Scope data\n $data[\"s.id\"] = 1;\n $data[\"s.scope\"] = \"Global\";\n $data[\"s.roc\"] = \"all\";\n $data[\"s.decommissioned\"] = 0;\n\n // Set Vo Status data\n $data[\"status.id\"] = 1;\n $data[\"status.status\"] = \"Pending\";\n $data[\"status.description\"] = \"\";\n\n // Set Vo Tests data\n $data[\"t.test_name\"] = \"test\";\n $data[\"t.roc_name\"] = \"aegis\";\n\n // Set User Profile data\n $data[\"up.id\"] = 1;\n $data[\"up.profile\"] = \"VO MANAGER\";\n $data[\"up.description\"] = \"VO Manager\";\n $data[\"up.help_msg\"] = \"Vo Manager Profile\";\n\n // Set Vo Users data\n $data[\"u.dn\"] = \"/DN=UserDn\";\n $data[\"u.email\"] = \"[email protected]\";\n $data[\"u.vo\"] = \"aegis\";\n $data[\"u.uservo\"] = \"\";\n $data[\"u.ca\"] = \"\";\n $data[\"u.urlvo\"] = \"http://url.fr\";\n $data[\"u.last_update\"] = \"2015-11-05 04:51:08\";\n $data[\"u.first_update\"] = \"2015-11-05 04:51:08\";\n\n // Set Vo Users History data\n $data[\"uh.id\"] = 1;\n $data[\"uh.vo\"] = \"aegis\";\n $data[\"uh.u_month\"] = 1;\n $data[\"uh.u_year\"] = 2011;\n $data[\"uh.nbtotal\"] = 452;\n $data[\"uh.nbremoved\"] = 1;\n $data[\"uh.nbadded\"] = 145;\n\n // Set Vo Users Metrics data\n $data[\"um.id\"] = 1;\n $data[\"um.vo\"] = \"aegis\";\n $data[\"um.discipline\"] = \"Multidisciplinary VOs\";\n $data[\"um.day_date\"] = \"2013-01-01\";\n $data[\"um.nbtotal\"] = 452;\n\n // Set Vo Users Metrics CA data\n $data[\"umca.id\"] = 1;\n $data[\"umca.ca\"] = \"/C=AM/O=ArmeSFo/CN=ArmeSFo CA\";\n $data[\"umca.day_date\"] = \"2013-01-01\";\n $data[\"umca.nbtotal\"] = 452;\n\n // Set Voms Group data\n $data[\"vg.id\"] = 1;\n $data[\"vg.group_role\"] = \"/aegis/Role=VO-Admin\";\n $data[\"vg.description\"] = \"VO Administrators\";\n $data[\"vg.is_group_used\"] = 1;\n $data[\"vg.group_type\"] = \"Pilot\";\n $data[\"vg.allocated_ressources\"] = 1;\n $data[\"vg.serial\"] = 1;\n\n // Set Voms Server data\n $data[\"vs.serial\"] = 1;\n $data[\"vs.hostname\"] = \"voms.ipb.ac.rs\";\n $data[\"vs.https_port\"] = 8443;\n $data[\"vs.vomses_port\"] = 15001;\n $data[\"vs.is_vomsadmin_server\"] = 1;\n $data[\"vs.members_list_url\"] = \"https://voms.ipb.ac.rs:8443/voms/aegis/services/VOMSAdmin?method=listMembers\";\n\n // Set Vo Yearly Validation\n $data[\"vy.id\"] = 1;\n $data[\"vy.serial\"] = 1;\n $data[\"vy.date_validation\"] = \"2016-01-12 13:14:17\";\n $data[\"vy.date_last_email_sending\"] = \"0000-00-00 00:00:00\";\n\n return $data;\n }", "function getDataSet(){\r\n\t\t\t$dataSet=array();\r\n\t\t\t$i=0;\r\n\t\t\twhile($r=mysql_fetch_row($this->result)){\r\n\t\t\t\t$field=0;\r\n\t\t\t\tfor($field=0;$field<mysql_num_fields($this->result);$field++){\r\n\t\t\t\t\t$dataSet[$i][$field]=$r[$field];\r\n\t\t\t\t}\r\n\t\t\t\t$i++;\r\n\t\t\t}\r\n\t\t\treturn $dataSet;\r\n\t\t}", "function data_it($data){\n $array = explode(\"-\", $data); \n // Riorganizzo gli elementi nello stile YYYY/MM/DD\n $data_it = $array[2].\"/\".$array[1].\"/\".$array[0]; \n // Restituisco il valore della data in formato sql\n return $data_it; \n}", "function dadosSensorPorData($db, $de, $ate, $tipo_sensor) {\n\n\t\t $query = $db->prepare(\"SELECT id, valor AS VALOR, DATE_FORMAT(data_cadastro, '%H:%i') AS HORA, DATE_FORMAT(data_cadastro, '%d/%m/%Y') AS DATA\n\t\t FROM horta_sensor WHERE DATE(data_cadastro) BETWEEN ? AND ? AND tipo_sensor = ?\n\t\t GROUP BY id, HORA, VALOR, DATA ORDER BY id DESC\"\n\t\t );\n\n\t\t $query->execute(array($de, $ate, $tipo_sensor));\n\t\t $linha = $query->fetchAll(PDO::FETCH_OBJ);\n\n\t\t echo json_encode($linha);\n\t\t}", "abstract protected function _getDataStore();", "abstract protected function _getDataStore();", "public function getDataSet()\n\t {\n\t\treturn $this->createMySQLXmlDataSet(__DIR__ . \"/dataSet.xml\");\n\t }", "function DB_GetDataSet($tablename, $keyvalue, $keyname = '', $options = array())\n{\n if($keyvalue == '0') return(array());\n DB_Connect();\n $fields = @$options['fields'];\n $fields = first($fields, '*'); \n if (!$GLOBALS['db_link']) return(array());\n\n checkTableName($tablename);\n if ($keyname == '')\n {\n $keynames = DB_GetKeys($tablename);\n $keyname = $keynames[0];\n }\n \n $cache_entry = $tablename.':'.$keyname.':'.$keyvalue;\n \n if(isset($GLOBALS['dbdatatmp'][$cache_entry])) return($GLOBALS['dbdatatmp'][$cache_entry]);\n\n $query = 'SELECT '.$fields.' FROM '.$tablename.' '.$options['join'].' WHERE '.$keyname.'=\"'.DB_Safe($keyvalue).'\";';\n $rs = mysql_query($query, $GLOBALS['db_link']) or $DBERR = mysql_error($GLOBALS['db_link']).' { Query: \"'.$query.'\" }';\n if ($DBERR != '') logError('error_sql: '.$DBERR);\n\n if ($line = @mysql_fetch_array($rs, MYSQL_ASSOC))\n {\n mysql_free_result($rs);\n $GLOBALS['dbdatatmp'][$cache_entry] = $line;\n\t profile_point('DB_GetDataSet('.$tablename.', '.$keyvalue.')');\n return($line); \n }\n else\n $result = array();\n\n\tprofile_point('DB_GetDataSet('.$tablename.', '.$keyvalue.') #fail');\n return $result;\n}" ]
[ "0.6228988", "0.58946437", "0.5747888", "0.5606123", "0.5380876", "0.53239745", "0.53198105", "0.52941585", "0.5190496", "0.5140574", "0.5103189", "0.5090166", "0.50746363", "0.5072128", "0.500243", "0.49793643", "0.4975041", "0.49690443", "0.49641204", "0.4962706", "0.4961152", "0.4945377", "0.49380985", "0.49359998", "0.4925365", "0.49144894", "0.4906211", "0.4906211", "0.4899731", "0.48993164" ]
0.7858226
0
ReadLoggedValue IN: $instanceID, $VariableId, $time OUT: Aktueller Wert
function ReadLoggedValue($instanceID, $variableId, $time) { if ($time > time()) $time = time(); $values = AC_GetLoggedValues($instanceID, $variableId, 0, $time+1, 1); $currentVal['Value']= $values[0]['Value']; $currentVal['TimeStamp'] = $time; return $currentVal; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function ReadCurrentValue($variableId)\n {\n $currentVal['Value']= GetValue($variableId);\n $currentVal['TimeStamp'] = time();\n\n return $currentVal;\n }", "function AC_GetLoggedValuesCompatibility($instanceID, $variableID, $startTime, $endTime, $limit) {\n $values = AC_GetLoggedValues($instanceID, $variableID, $startTime, $endTime, $limit );\n if((sizeof($values) == 0) || (end($values)['TimeStamp'] > $startTime)) {\n $previousRow = AC_GetLoggedValues($instanceID, $variableID, 0, $startTime - 1, 1 );\n $values = array_merge($values, $previousRow);\n }\n return $values;\n }", "function getValue($name){\n\t\treturn $this->_SessionStorer->readValue($name);\n\t}", "public function get($logging_key) {\n return $this->queryLog[$logging_key];\n }", "public function getSessionValue()\n {\n Db::query()->from('tb_xxx')->where('id', '=', 1)->lock(MysqlLock::SHARED)->select()->get();\n var_dump($this->UserSessionService->getUserId());\n var_dump(Session::get('user_id'));\n }", "abstract public function get_value();", "static function getValue($var){\r\n return $_SESSION[$var];\r\n }", "function get_var($query=null,$x=0,$y=0)\n\t\t{\n\n\t\t\t// Log how the function was called\n\t\t\t$this->func_call = \"\\$db->get_var(\\\"$query\\\",$x,$y)\";\n\n\t\t\t// If there is a query then perform it if not then use cached results..\n\t\t\tif ( $query )\n\t\t\t{\n\t\t\t\t$this->query($query);\n\t\t\t}\n\n\t\t\t// Extract var out of cached results based x,y vals\n\t\t\tif ( $this->last_result[$y] )\n\t\t\t{\n\t\t\t\t$values = array_values(get_object_vars($this->last_result[$y]));\n\t\t\t}\n\n\t\t\t// If there is a value return it else return null\n\t\t\treturn (isset($values[$x]) && $values[$x]!=='')?$values[$x]:null;\n\t\t}", "function get_var($query=null,$x=0,$y=0)\n\t\t{\n\n\t\t\t// Log how the function was called\n\t\t\t$this->func_call = \"\\$db->get_var(\\\"$query\\\",$x,$y)\";\n\n\t\t\t// If there is a query then perform it if not then use cached results..\n\t\t\tif ( $query )\n\t\t\t{\n\t\t\t\t$this->query($query);\n\t\t\t}\n\n\t\t\t// Extract var out of cached results based x,y vals\n\t\t\tif ( $this->last_result[$y] )\n\t\t\t{\n\t\t\t\t$values = array_values(get_object_vars($this->last_result[$y]));\n\t\t\t}\n\n\t\t\t// If there is a value return it else return null\n\t\t\treturn (isset($values[$x]) && $values[$x]!=='')?$values[$x]:null;\n\t\t}", "private function getValue()\n {\n $database = 0;\n $client = null;\n $event = $this->client->getConnection()->read();\n\n $callback = function ($matches) use (&$database, &$client) {\n if (2 === $count = count($matches)) {\n // Redis <= 2.4\n $database = (int) $matches[1];\n }\n\n if (4 === $count) {\n // Redis >= 2.6\n $database = (int) $matches[2];\n $client = $matches[3];\n }\n\n return ' ';\n };\n\n $event = preg_replace_callback('/ \\(db (\\d+)\\) | \\[(\\d+) (.*?)\\] /', $callback, $event, 1);\n @list($timestamp, $command, $arguments) = explode(' ', $event, 3);\n\n return (object) array(\n 'timestamp' => (float) $timestamp,\n 'database' => $database,\n 'client' => $client,\n 'command' => substr($command, 1, -1),\n 'arguments' => $arguments,\n );\n }", "public function getLogTime()\n {\n return $this->log_time;\n }", "public function readTime()\r\n {\r\n return Arr::get($this->info, 'readTime');\r\n }", "function getFieldsValue() {\n $unixTimeStamp = time();\n $time = unix_to_human($unixTimeStamp);\n $fieldsValue = array(\"created_date\" => $time, \"modified_date\" => $unixTimeStamp, \"is_active\" => 'UNACTIVE', \"authentication\" => 'UNVERIFIED', \"current_datetime\" => date(\"Y-m-d H:i:s\"), \"is_order_finished\" => 'OPEN', \"parent_type\" => 'USERPROFILE', \"file_type\" => 'IMAGE', \"status\" => 'ACTIVE', \"thumb_type\" => 'IMAGETHUMB', \"size_type\" => 'MEDIUM');\n return $fieldsValue;\n}", "function sessao_read( $aKey ){\r\n\t$ipaddress\t= $_SERVER[\"REMOTE_ADDR\"];\r\n\t$now \t\t= $GLOBALS[\"engine\"]->libertasGetDate(\"Y/m/d H:i:s\");\r\n\t$sql \t\t= \"SELECT ipaddress, DataValue FROM sessions WHERE SessionID='$aKey' and Client = \".$GLOBALS[\"engine\"]->client_identifier;\r\n\t$result \t= $GLOBALS[\"engine\"]->call_command(\"DB_QUERY\",Array($sql));\r\n\t$GLOBALS[\"SESSION_SCRIPT\"][count($GLOBALS[\"SESSION_SCRIPT\"])] = \"sessao_read :: \" . $sql;\r\n if($GLOBALS[\"engine\"]->call_command(\"DB_NUM_ROWS\",Array($result)) == 1) {\r\n\t\t$r = $GLOBALS[\"engine\"]->call_command(\"DB_FETCH_ARRAY\",Array($result));\r\n\t if($r[\"ipaddress\"] == $ipaddress){\r\n\t\t return urldecode($r['DataValue']);\r\n\t\t} else {\r\n\t\t\t$sql =\"delete from sessions WHERE SessionID='$aKey' and Client = \".$GLOBALS[\"engine\"]->client_identifier;\r\n\t\t\t$GLOBALS[\"SESSION_SCRIPT\"][count($GLOBALS[\"SESSION_SCRIPT\"])] = $sql;\r\n\t\t\t$GLOBALS[\"engine\"]->call_command(\"DB_QUERY\",Array($sql));\r\n\t\t\tsession_id(uniqid(rand()));\r\n\t\t\treturn false;\r\n\t\t}\r\n } else {\r\n\t\tif (!empty($_SESSION[\"SESSION_USER_IDENTIFIER\"])){\r\n\t\t\t$user_id\t= $_SESSION[\"SESSION_USER_IDENTIFIER\"];\r\n\t\t} else {\r\n\t\t\t$user_id\t= 0;\r\n\t\t}\r\n $GLOBALS[\"engine\"]->call_command(\"DB_QUERY\",Array(\"INSERT INTO sessions (SessionID, LastUpdated, DataValue, Client, ipaddress, user_id) VALUES ('$aKey', '$now', '', '\".$GLOBALS[\"engine\"]->client_identifier.\"', '$ipaddress', '$user_id');\"));\r\n return false;\r\n }\r\n}", "function _time_tracker_get_total_logged_time($nid) {\n\n // Initialize the $total_time variable to 0\n $total_time = 0;\n\n // if this is a node form display the time tracker\n $resource = db_query(\"SELECT * FROM {time_tracker_entry} WHERE nid = :nid\", array(':nid' => $nid));\n\n while ($time_entry = $resource->fetchObject()) {\n $total_time = $total_time + ($time_entry->duration - $time_entry->deductions);\n }\n\n return $total_time;\n}", "function getValue();", "protected function getValue()\n {\n return $this->connection->read();\n }", "function userValue($field){\n\tglobal $USER;\n\treturn $USER[$field];\n\tif(isset($USER[$field])){return $USER[$field];}\n\treturn \"Error! Unknown user field: {$field}\";\n}", "public function dbvalue(){\n if($this->dataType == 'int') {\n list($hours, $minutes) = explode(':', $this->value);\n\n return $hours * 3600 + $minutes * 60;\n }\n else{\n return $this->value;\n }\n }", "function read($var, $dft=null, $channels=false, $skip_norm=false)\n\t{\n\t\tlist($value, ) = $this->get($var, $dft, $channels, $skip_norm);\n\t\treturn $value;\n\t}", "public function get_var()\n\t{\n return $this->get_one(func_get_args());\n }", "public function lastlogin($username){\n $sql = \"SELECT * FROM klog WHERE logValue LIKE '\" . db::escapechars($username) . \" Successful sign in%' ORDER BY logDate DESC\";\n $result = db::returnrow($sql);\n $lastlogintime = $result['logDate'].\" at \" .$result['logTime'];\n return $lastlogintime;\n }", "function _getValue($field)\n\t{\n\t\tglobal ${$field};\n\t\treturn ${$field};\n\t}", "public function get_profile_value($field_value, $field_data);", "public function get_value() {\n\t\treturn $this->widget_type->get_instance_for_user( array(\n\t\t\t'user_id' => $this->user_id,\n\t\t\t'key' => $this->key,\n\t\t) );\n\t}", "public function logCurrentUserLastSeenTime()\n {\n $module = Common::getRequestVar('module', false);\n $currentUserLogin = Piwik::getCurrentUserLogin();\n\n // only log time for non-anonymous visits to the reporting UI\n if ($module == 'API'\n || $module == 'Proxy'\n || $currentUserLogin == 'anonymous'\n ) {\n return;\n }\n\n // get the last known time\n $optionName = self::OPTION_PREFIX . $currentUserLogin;\n $lastSeen = Option::get($optionName);\n\n // do not log if last known time is less than N minutes from now (so we don't make too many\n // queries)\n if (time() - $lastSeen <= self::LAST_TIME_SAVE_DELTA) {\n return;\n }\n\n // log last seen time (Note: autoload is important so the Option::get above does not result in\n // a separate query)\n Option::set($optionName, time(), $autoload = 1);\n }", "abstract public function get_value( $id );", "function get_log_viewer_content($serial_number, $device_type_nid) {\r\n $output = 'Sample content';\r\n return $output;\r\n}", "public function _read($sesID)\n { \n $sessionStatement = \"SELECT * FROM sessions WHERE id = '\".$sesID.\"'\";\n $result = $this->DB->query($sessionStatement);\n \n if ($result === false) {\n return '';\n }\n\n $result = $result->fetch_assoc();\n \n if (count($result) > 0) {\n return $result['value'];\n }\n else {\n return '';\n }\n }", "function getSessionValue($name);" ]
[ "0.6347058", "0.54907113", "0.52186203", "0.5044573", "0.4994278", "0.49684453", "0.49674696", "0.49339995", "0.49339995", "0.49298185", "0.4921618", "0.48936397", "0.4893203", "0.48771414", "0.48688248", "0.4866904", "0.4861234", "0.4838161", "0.4817397", "0.4776665", "0.47645757", "0.47585306", "0.47472394", "0.471633", "0.4715011", "0.47100642", "0.47082075", "0.47069848", "0.47042888", "0.46917453" ]
0.8841614
0
ReadCurrentValue IN: $VariableId OUT: Aktueller Wert
function ReadCurrentValue($variableId) { $currentVal['Value']= GetValue($variableId); $currentVal['TimeStamp'] = time(); return $currentVal; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function ReadLoggedValue($instanceID, $variableId, $time)\n {\n if ($time > time()) $time = time();\n $values = AC_GetLoggedValues($instanceID, $variableId, 0, $time+1, 1);\n $currentVal['Value']= $values[0]['Value'];\n $currentVal['TimeStamp'] = $time;\n\n return $currentVal;\n }", "public function getVariable()\n {\n if ($this->isCacheStale()) {\n $var = $this->loadVariableFromSource();\n $this->cacheVariable($var);\n } else {\n $var = $this->loadVariableFromCache();\n }\n return $var;\n }", "public function value($Str_Variable)\n\t{\n\t\t//If the variable is set return it.\n\t\tif (isset($this->Arr_ModifiedVariables[$Str_Variable]))\n\t\t\treturn $this->Arr_ModifiedVariables[$Str_Variable];\n\t\telse\n\t\t\treturn false;\n\t}", "public function getVariableValue($variable_id, array $args = array(), array $data = array())\n {\n\t\tif(isset($args['property']))\n\t\t{\n\t\t\t$oProperties = new Transaction_Properties();\n\t\t\treturn $oProperties->getProperty($data['transaction_id'], $args['property']);\n\t\t}\n\t\treturn null;\n }", "public static function getValue($variableName)\n\t{\n\t\t$result = NULL;\n\t\t\n\t\tif(array_key_exists($variableName, self::$ini)) {\n\t\t\t$result = self::$ini[$variableName];\n\t\t}\n\t\t\n\t\treturn $result;\n\t}", "abstract public function get_value( $id );", "public function get_current_var($str)\n\t{\n\t\t$str_block = '';\n\t\teval('$value = ' . $this->block2code($str, $str_block, true) . ';');\n\t\treturn ($value);\n\t}", "public function getVariable($id, $varName, $deserializeValue = false)\n {\n return $this->getApi()\n ->execute(\"process-instance/{$id}/variables/{$varName}\", [\n 'deserializeValue' => $deserializeValue ? 'true' : 'false',\n ]);\n }", "public function getParameter(): Variable\n {\n return $this->parameter;\n }", "public function get_var()\n\t{\n return $this->get_one(func_get_args());\n }", "public function get_var() {\n\t\treturn $this->var;\n\t}", "function getValue();", "public function tag_value($Str_Variable)\n\t{\n\t\t//If the variable is set return it.\n\t\tif (isset($this->Arr_OriginalVariables[$Str_Variable]))\n\t\t\treturn $this->Arr_OriginalVariables[$Str_Variable];\n\t\telse\n\t\t\treturn false;\n\t}", "public function getVar()\n {\n return $this->var;\n }", "public function getVar()\n {\n return $this->_var;\n\n }", "public function getVar() {\n return $this->var;\n }", "public function &getValue();", "function get_var($key)\n\t\t{\n\t\t\t$value\t=\t$this->get_var_ref($key);\n\t\t\treturn $value;\n\t\t}", "function get($varname) {\n return $this->finish($this->get_var($varname));\n }", "public function getValueAction()\n {\n // Send with correct charset\n header('Content-Type: text/html; charset=UTF-8');\n // Do not use double quotes inside the query to avoid a problem\n // when server is running in ANSI_QUOTES sql_mode\n $varValue = $this->dbi->fetchSingleRow(\n 'SHOW GLOBAL VARIABLES WHERE Variable_name=\\''\n . $GLOBALS['dbi']->escapeString($_REQUEST['varName']) . '\\';',\n 'NUM'\n );\n\n if (isset($this->variable_doc_links[$_REQUEST['varName']][3])\n && $this->variable_doc_links[$_REQUEST['varName']][3] == 'byte'\n ) {\n $this->response->addJSON(\n 'message',\n implode(\n ' ', Util::formatByteDown($varValue[1], 3, 3)\n )\n );\n } else {\n $this->response->addJSON(\n 'message',\n $varValue[1]\n );\n }\n }", "public function get_dependency_current_value(): string;", "public function getValue();", "public function getValue();", "public function getValue();", "public function getValue();", "public function getValue();", "public function getValue();", "public function getValue();", "public function getValue();", "public function getValue();" ]
[ "0.64828795", "0.5901654", "0.5892511", "0.58800876", "0.5828009", "0.58177274", "0.57776463", "0.5715596", "0.56545633", "0.56289595", "0.56117123", "0.55906385", "0.55594414", "0.5556523", "0.55437994", "0.5521291", "0.5510725", "0.54989624", "0.5494832", "0.54849726", "0.5468181", "0.5439796", "0.5439796", "0.5439796", "0.5439796", "0.5439796", "0.5439796", "0.5439796", "0.5439796", "0.5439796" ]
0.8478294
0
CheckArrayItems IN: ArrayItem OUT:
function CheckArrayItems(&$item) { if (is_string($item)) { if ($item == "@" || $item == "@@" ) { $item = "'" . $item . "'"; } else if ((substr($item,0,1) == "@" && substr($item,-1) == "@")) { $item = trim($item, "@"); } /* else if ((substr($item,0,1) == "$" && substr($item,-1) == "$")) { $item = trim($item, "$"); }*/ else { $item = "'" . trim($item, "'") . "'"; } if (mb_detect_encoding($item, 'UTF-8', true) === false) { $item = utf8_encode($item); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function checkItem($item);", "public function hasMultipleItems()\n {\n }", "public static function arrayContaining(array $items)\n {\n return Hamcrest_Array_IsArrayContainingInOrder::arrayContaining($items);\n }", "public function has_items();", "public static function arrayContainingInAnyOrder(array $items)\n {\n return Hamcrest_Array_IsArrayContainingInAnyOrder::arrayContainingInAnyOrder($items);\n }", "public function checkItems() {\n $temparray = $_SESSION['cart']['items'];\n \n\t\t\tforeach($temparray as $key => $items) {\n\t\t\t if($items['type'] == \"O\") {\n\t\t\t\t$test1 = db::num_rows(\"SELECT COUNT(id) AS stock, prod_code, version, color FROM `barcodes_barcodes` where cust_id='' AND order_id='' AND (`condition`='' OR `condition`=0) AND prod_code='{$items['model']}' AND version='{$items['version']}' AND color='{$items['color']}' GROUP BY prod_code, color, version\");\n\n if (!$test1)\n\t\t\t\t\t$this->removeCartItem($key, $items);\n }\n\t\t\t}\t\t\t\t\n\t\t\treturn $_SESSION['cart']['items'];\n \n\t\t}", "public static function hasItems()\n {\n $args = func_get_args();\n return call_user_func_array(array('Hamcrest_Core_IsCollectionContaining', 'hasItems'), $args);\n }", "abstract protected function validateItems(array $elements): void;", "public function hasAllAuthItems(...$items): bool;", "public function check(array $data);", "abstract protected function matchesList(array $item);", "private function validateItems($items) {\n\t\t// current items from DB\n\t\t$model = new RokQuickCartModelRokQuickCart();\n\t\t$stock = $model->getItems(); \t\t\t\t\n\t\t\n\t\t// currency\n\t\t$option = jfactory::getapplication()->input->get('option');\n\t\t$com_params = jcomponenthelper::getparams($option);\n\t\t$currency = $com_params->get('page_title');\n\t\t\n\t\t// perform check\n\t\t$result = false;\n\t\t$index = 0;\n\t\tforeach ($items as $item):\n\t\t\t$index++;\n\t\t\tforeach ($stock as $stockItem):\n\t\t\t\tif($item->id == $stockItem->id && \n\t\t\t\t\t$item->unit_price == $stockItem->price &&\n\t\t\t\t\t$item->currency_id == $currency && $item->quantity > 0\n\t\t\t\t\t)\t\t\t\t\t\n\t\t\t\t{\n\t\t\t\t\t$result = true;\n\t\t\t\t}\n\t\t\tendforeach;\n\t\t\tif(!$result) { // breaks, the item does NOT match\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if($index < count($items)){\n\t\t\t\t$result = false; // item is OK, reset the result (if not end of array)\n\t\t\t}\n\t\tendforeach;\n\t\t\n\t\t// return result\n\t\treturn $result;\t\t\n\t}", "protected abstract function getExpectedItems();", "public static function hasItem()\n {\n $args = func_get_args();\n return call_user_func_array(array('Hamcrest_Core_IsCollectionContaining', 'hasItem'), $args);\n }", "public function check_item(array $data = [])\n {\n if (!empty($data)) {\n return $this->sql_count('customers_wishlist', ['item_id' => (int) $data['item_id'], 'owner' => (int) $_SESSION['user_info']['id']]);\n }\n \n return false;\n }", "protected function verify($items)\n {\n $callback = function ($link)\n {\n $news = strpos($link, '.com/news/') !== false;\n\n $media = strpos($link, 'news/multimedia') === false;\n\n return $news && $media === true ? $link : null;\n };\n\n $items = array_map($callback, (array) $items);\n\n return array_values(array_filter($items));\n }", "private function checkItems(array $items, Petition &$petition)\n {\n // por cada item dentro de los items, lo asociamos\n // con el modelo en la base de datos.\n foreach ($items as $id => $data) {\n /** @var \\PCI\\Models\\Item $item */\n $item = $this->itemRepo->getById($id);\n $this->converter->setItem($item);\n\n // debemos chequear que los items tengan\n // los tipos y cantidades correctos.\n if (Gate::denies('addItem', [\n $petition,\n $this->converter,\n $data['amount'],\n $data['type'],\n ])\n ) {\n $petition->comments .= sizeof($petition->comments) <= 1 ? \"\" : \"\\r\\n\";\n\n $petition->comments .= \"El usuario {$this->getCurrentUser()->name} \"\n . \"solicito {$data['amount']} ({$data['amount']}:{$data['type']}) \"\n . \"y existe un stock de {$item->formattedStock()} \"\n . \"({$item->stock}:{$item->stock_type_id}) \"\n . \"disponibles del Item {$item->desc}\\r\\n\";\n\n unset($items[$id]);\n\n continue;\n }\n }\n\n return $items;\n }", "private function validateItems($items)\n {\n $rules = [];\n for ($cont = 1; $cont < $this->itemsCount; $cont++) {\n $rules = array_merge($rules, [\n 'itemId'.$cont => 'required|max:100',\n 'itemDescription'.$cont => 'required|max:100',\n 'itemAmount'.$cont => 'required|numeric|between:0.00,9999999.00',\n 'itemQuantity'.$cont => 'required|integer|between:1,999',\n ]);\n }\n\n $this->validate($items, $rules);\n }", "public function check(array $data): array;", "public static function inArray($item, $array) {\n\t\t$flipArray = array_flip($array);\n\t\treturn isset($flipArray[$item]);\n\t}", "protected function getItemUserChecks($items, $checkedItems) \n {\n \t$itemsWithChecks = $items->get()->map(function($item) use ($checkedItems) {\n \t\t\tif ($checkedItems->search(function($checkedItem) use ($item) {\n\t \t\treturn $checkedItem->id == $item->id;\n\t \t\t})) {\n\t\t\t\t$item->setCheckedAttribute(true);\n\t\t\t\treturn $item;\n\t\t\t} else {\n\t\t\t\t$item->setCheckedAttribute(false);\n\t\t\t\treturn $item;\n\t\t\t}\n\t\t\t});\n\t\t\treturn $itemsWithChecks;\n }", "public function hasAllOf($items) {\n\t\tif (!is_array($items)) {\n\t\t\treturn $this->hasAnyOf($items);\n\t\t}\n\t\treturn $this->intersect($items, true) === count($items);\n\t}", "public function has_item(){\n $args = func_get_args();\n $item = $this->get_info('robot_item');\n if (!empty($args[0])){ return $item == $args[0] ? true : false; }\n else { return !empty($item) ? true : false; }\n }", "public function canAuthItems($items, $params = []) : array;", "function hasImages($gallery_array){\n foreach ($gallery_array as $item){\n if (!is_array($item)){\n return true;\n }\n }\n return false;\n}", "public function hasMultipleItems()\n {\n// $this->__getProductInfo();\n// if (count($this->products) > 1) {\n// return true;\n// }\n// return false;\n }", "private function hasItems() {\n return ( count( $this->items ) > 0 );\n }", "public function hasAnyAuthItems(...$items): bool;", "function filter_api_items( array $items, array $item ) : array {\n if ( array_key_exists( 'languages', $item ) ) {\n $lang_exists = array_reduce( $item['languages'], 'languages_has_current', false );\n\n if ( $lang_exists ) {\n $keys_to_traverse = [\n 'agegroups',\n 'taskgroups',\n 'tasks',\n ];\n foreach ( $keys_to_traverse as $key ) {\n if ( ! empty( $item[ $key ] ) ) {\n $item[ $key ] = array_reduce( $item[ $key ], 'filter_api_items', [] );\n }\n }\n $items[] = $item;\n }\n }\n\n return $items;\n}", "function _array_filter_recursive_callback(&$item) {\n\tif (is_array($item)) {\n\t\t$item = array_filter($item, '_array_filter_recursive_callback');\n\t\treturn !empty($item);\n\t}\n\tif (!empty($item)) {\n\t\treturn true;\n\t}\n}" ]
[ "0.6656686", "0.65207464", "0.6307243", "0.62337047", "0.6113614", "0.6102597", "0.6077174", "0.6073676", "0.59413475", "0.5930079", "0.5898149", "0.589282", "0.58709896", "0.58047205", "0.57762665", "0.57673335", "0.57148963", "0.5685461", "0.56740487", "0.5658962", "0.56373763", "0.5631982", "0.55999464", "0.5588296", "0.55657005", "0.55628186", "0.55451775", "0.5543792", "0.5507264", "0.5490424" ]
0.6728018
0
/ Description: Promote a user to admin Parameters: | Param | Type | Description | | $uname | string | Username to promote to admin | Returns: None
function promote_to_admin($uname) { $conn = conn_start(); // sanitize input $uname = sanitize($conn, $uname); $query = "UPDATE user SET admin=1 WHERE username='$uname'"; executeQuery($conn, $query); $conn->close(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function promoteUser() {\n $group = $this->loadGroup();\n if(!$group) {\n return false;\n }\n\n $user =& JFactory::getUser();\n $group_id = $this->group_id;\n $group_id = $group->$group_id;\n\n if(!$this->isAdmin($group_id, $user->id)) {\n JError::raiseError(403, JText::_('Access Forbidden'));\n }\n\n $db = & JFactory::getDBO();\n $query = \"UPDATE \".$this->users_db.\" SET admin = 1 \".\n \"WHERE user_id = \".$user->id.\" and \".$this->group_id.\" = \".$group_id;\n if($db->query($query)) {\n return true;\n }\n\n JError::raiseWarning(500, JText::_('Unable to promote...'));\n return false;\n }", "public function promoteuserAction()\n {\n $this->disableLayout();\n $this->_helper->viewRenderer->setNoRender();\n\n if(!$this->logged)\n {\n throw new Zend_Exception('Must be logged in');\n }\n $commId = $this->_getParam('communityId');\n $userId = $this->_getParam('userId');\n if(!isset($commId))\n {\n throw new Zend_Exception('Must pass a communityId parameter');\n }\n if(!isset($userId))\n {\n throw new Zend_Exception('Must pass a userId parameter');\n }\n\n $community = $this->Community->load($commId);\n $user = $this->User->load($userId);\n if(!$user || !$community)\n {\n throw new Zend_Exception('Invalid parameter');\n }\n if(!$this->Group->userInGroup($user, $community->getMemberGroup()))\n {\n throw new Zend_Exception('User is not in community members group');\n }\n if(!$this->Community->policyCheck($community, $this->userSession->Dao, MIDAS_POLICY_WRITE))\n {\n throw new Zend_Exception('Must be moderator or admin to manage groups');\n }\n $params = $this->_getAllParams();\n foreach($params as $name => $value)\n {\n if(strpos($name, 'groupCheckbox') !== false && $value)\n {\n list(, $id) = explode('_', $name);\n $group = $this->Group->load($id);\n if(!$group)\n {\n throw new Zend_Exception('Invalid group id: '.$id);\n }\n if($id == $community->getAdmingroupId() &&\n !$this->Community->policyCheck($community, $this->userSession->Dao, MIDAS_POLICY_ADMIN))\n {\n throw new Zend_Exception('Cannot add users to admin unless you are admin');\n }\n $this->Group->addUser($group, $user);\n }\n }\n echo JsonComponent::encode(array(true, 'Successfully added user to groups'));\n }", "function updateAssignAdminPrivileges(){\n $userId = $_POST[\"userId\"];\n $value = 1; //Variable que uso con los valores 1 y 0. (1->Tiene permisos; la uso para dar permisos. 0->No tiene permisos; la uso para quitar permisos).\n $this->userModel->updateAdminPrivileges($value, $userId);\n header(ADMIN); //Redirecciona a la página de adminsitración.\n }", "public function promote(User $user, UserManagement $status, User $promoted_user)\n {\n return $user->getUserCurrentRole() == 'administrator' && $user->id != $promoted_user->id;\n }", "public function backend_promote() {\n\t\tif ($id = $this->request->params['id']) {\n\t\t\t$groups = array();\n\t\t\t$manageUsers = array('li3_usermanager.ManageUsers::index', 'backend' => true);\n\t\t\tforeach (UserGroups::all() as $group) {\n\t\t\t\t$groups[$group->id] = $group->slug;\n\t\t\t}\n\t\t\t$user = Users::first(array('conditions' => compact('id')));\n\t\t\tif ($this->request->data) {\n\t\t\t\t$user->user_group_id = $this->request->data['user_group_id'];\n\t\t\t\tif ($user->save()) {\n\t\t\t\t\treturn $this->redirect($manageUsers);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ($user) {\n\t\t\t\treturn compact('user', 'groups');\n\t\t\t}\n\t\t}\n\t\treturn $this->redirect($manageUsers);\n\t}", "public function promote() {\n\t\t$this->scenario = self::SCENARIO_PROMOTE;\n\t\t$this->isAdmin = 1;\n\t\treturn $this->save();\n\t}", "public function becameAdmin()\n {\n try {\n $username = $this->auth->getUsername();\n $this->auth->admin()->addRoleForUserById($this->auth->getUserId(), \\Delight\\Auth\\Role::ADMIN);\n $this->flash->info(\"User '$username' is ADMIN now. I hope you know what you doing ;)\");\n\n header('Location: /');\n exit;\n\n } catch (\\Delight\\Auth\\UnknownIdException $e) {\n die('Unknown user ID');\n }\n }", "static function adminify($username){\r\n $dbh = db::get();\r\n\r\n $query = 'update users set is_admin=true where username=:username';\r\n $sth = $dbh->prepare($query);\r\n $sth->execute([':username' => $username]);\r\n }", "function groups_promote_member( $user_id, $group_id, $status ) {\r\n\tglobal $bp;\r\n\r\n\tif ( !$bp->is_item_admin )\r\n\t\treturn false;\r\n\r\n\t$member = new BP_Groups_Member( $user_id, $group_id );\r\n\r\n\tdo_action( 'groups_premote_member', $group_id, $user_id, $status );\r\n\r\n\treturn $member->promote( $status );\r\n}", "public function promote($username)\n {\n return $this->baseUserManipulator->promote($username);\n }", "function promote_user($group_id,$user_id, $manual)\n{\n $db = connectToDB();\n $res = $db->query(\"SELECT authorisers FROM groups WHERE group_id = $group_id\");\n if ($res->num_rows == 1)\n {\n $row = $res->fetch_array();\n $authorisers = $row['authorisers'];\n if (isGroupAdmin($authorisers))\n {\n if ($manual == 1)\n {\n $db->query(\"INSERT INTO group_membership (user_id, group_id, state) VALUES ($user_id, $group_id, 0) \");\n }\n else if ($manual == 0)\n {\n $db->query(\"UPDATE group_membership SET state=0 WHERE user_id=$user_id AND group_id=$group_id AND state=3 \");\n }\n\n audit_log(\"User with id $user_id was added to group $group_id.\");\n add_user_notification($user_id, \"You have been added to group $group_id.\",$GLOBALS['userid'] );\n\n my_meta_refresh(\"api.php?action=group_superadmin&action2=show&group_id=$group_id\", 0);\n }\n }\n\n}", "function changeAdminUser()\n{\n\t// Get the request parameters\n\t$uid = getParam('sauser', 62);\n\t$password = getParam('sapass1', '');\n\t$password_confirm = getParam('sapass2', '');\n\t$email = getParam('saemail', '');\n\n\t// Bail out 1 - passwords don't match\n\tif( $password != $password_confirm ) return;\n\n\t// Bail out 2 - password empty\n\tif( empty($password) ) return;\n\n\t// Get a connection to the main site database\n\t$storage =& ABIStorage::getInstance();\n\t$databases = $storage->get('databases');\n\t$dbkeys = array_keys($databases);\n\t$firstkey = array_shift($dbkeys);\n\t$d = $databases[$firstkey];\n\t$db =& ABIDatabase::getInstance($d['dbtype'], $d['dbhost'], $d['dbuser'], $d['dbpass'],\n\t\t$d['dbname'], $d['prefix']);\n\tunset($d); unset($databases);\n\n\t// Generate encrypted password string\n\t$salt = genRandomPassword(32);\n\t$crypt = md5($password.$salt);\n\t$cryptpass = $crypt.':'.$salt;\n\n\t// Update database\n\t$query = 'UPDATE `#__users` SET `password` = \"'.$db->escape($cryptpass).\n\t\t'\", `email` = \"'.$db->escape($email).'\" WHERE `id` = \"'.$uid.'\"';\n\t$res = $db->query($query);\n\n\treturn $res;\n}", "public function doAdminApprovalAndInformUser()\n\t{\n\t\t$activationKey = $this->input->get('token',null,'alnum'); \n\t\t$user_id \t\t= $this->getUserId($activationKey);\n\t\n\t\t$user = JUser::getInstance($user_id);\n\t\t$user->setParam(self::PARAM_ADMIN_APPROVED,'1');\n\t\t$user->set('block', '0');\n\t\t$user->set('activation','');\n\t\t\n\t\tif (!$user->save()){\n\t\t\t$this->app->redirect('index.php',JText::_('PLG_XIAA_USER_SAVE_ERROR'));\n\t\t}else{\n\t\t\t// inform user\n\t\t\t$this->sendMessage($user_id, self::MESSAGE_APPROVED);\t\t\n\t\t\t$this->app->redirect('index.php', JText::_('PLG_XIAA_USER_HAS_BEEN_APPROVED_BY_ADMIN'));\n\t\t}\n\t}", "function admin_updateuser()\n {\n $this->model_system->update_user();\n }", "function callPromote($user_string){\n\t\tif ($user_string == $_GET['authentication']){\n\t\t$bdd = $this->databaseConnect();\n\t\t$req = $bdd->prepare('UPDATE users \n\t\t\tSET authority = 1, authentication_string = :new_string\n\t\t\tWHERE authentication_string = :string');\n\t\t$req->execute(array(\n\t\t\t'string'=>$user_string,\n\t\t\t'new_string'=>'Completed'));\n\t\t}\n\t\telse {\n\t\t\treturn false;\n\t\t}\n\t}", "public function userAdmin () {\n\t\tUser::$user = new User (1);\n\t}", "public function post_user()\n\t{\n\t\t$this->get_user();\n\t}", "public function post_user()\n\t{\n\t\t$this->get_user();\n\t}", "public function admin_demote($userId) {\n\t\tif ($this->Auth->user('id') == $userId) {\n\t\t\t$this->Session->setFlash(__('Cannot demote yourself! Ask another admin to do it'), 'error', array(), '');\n\t\t\treturn $this->redirect(array('action' => 'admin_index'));\n\t\t}\n\n\t\t// Check user ID is numeric...\n\t\t$userId = trim($userId);\n\t\tif (!is_numeric($userId)) {\n\t\t\t$this->Session->setFlash(__('Could not demote user - bad user ID was given'), 'error', array(), '');\n\t\t\treturn $this->redirect(array('action' => 'admin_index'));\n\t\t}\n\n\t\tif ($this->request->is('post')) {\n\t\t\t$this->User->id = $userId;\n\t\t\t$targetUserData = $this->User->read();\n\n\n\t\t\t// Now demote the user\n\t\t\t$targetUserData['User']['is_admin'] = 0;\n\n\t\t\tif ($this->User->save($targetUserData, array('fieldList' => array('is_admin')))) {\n\t\t\t\t$this->Session->setFlash(__('Account demoted to normal user'), 'default', array(), 'success');\n\t\t\t\t$this->log(\"[UsersController.demote] user[\" . $this->Auth->user('id') . \"] demoted to sysadmin\", 'sourcekettle');\n\t\t\t\treturn $this->redirect(array('action' => 'admin_index'));\n\t\t\t}\n\n\t\t\t// TODO check what projects made this fail\n\t\t\t$this->Session->setFlash(__('Account was not demoted'), 'default', array(), 'error');\n\t\t\treturn $this->redirect(array('action' => 'admin_index'));\n\n\t\t} else {\n\t\t\t// We only respond to POSTs, otherwise bounce to index page\n\t\t\treturn $this->redirect(array('action' => 'admin_index'));\n\t\t}\n\t}", "public function promoteUser($username, $type){\n $newType = [\n 'type' => $type\n ];\n \n return $this->update($username, $newType);\n }", "public function update_admin(){\n\t\t$input = $this->input->post();\n\t\t$this->M_Users->updateProfileById($input[\"kode_user\"],$input);\n\t\tredirect($_SERVER['HTTP_REFERER']);\n\t}", "public function update_user() {\r\n \r\n }", "protected function administrator($uid) {\n\t\t\n\t\tif (Session::isAdmin()) {\n\n\t\t\t$this->prepare('SELECT `admin` FROM `users` WHERE `uid` = ?');\n\t\t\t$this->statement->execute([$uid]);\n\t\t\t$result = $this->statement->fetch();\n\n\t\t\tif ((int)$result->admin === 0) {\n\n\t\t\t\t$this->prepare('UPDATE `users` SET `admin` = 1 WHERE `uid` = ?');\n\t\t\t\t$this->statement->execute([$uid]);\n\t\n\t\t\t} else {\n\t\n\t\t\t\t$this->prepare('UPDATE `users` SET `admin` = 0 WHERE `uid` = ?');\n\t\t\t\t$this->statement->execute([$uid]);\n\t\n\t\t\t}\n\t\t\t\n\t\t}\n\n\t}", "public function update_admin_profile($post)\n{\n\t$query=mysql_query(\"UPDATE admin_table SET user_name='\".$post['user_name'].\"',phone='\".$post['phone_no'].\"',email_id='\".$post['email'].\"',bank_name='\".$post['bank_name'].\"',account_name='\".$post['bank_account_name'].\"',account_no='\".$post['account_no'].\"' WHERE id='\".$_SESSION['userid'].\"'\");\n}", "public function installAdmin() {\n\n // Get all our users\n $users = \\ORM::forTable('srps_users')->findMany();\n\n // if there are none, we will create the default admin user\n if (!$users) {\n $user = \\ORM::forTable('srps_users')->create();\n $user->firstname = 'admin';\n $user->lastname = 'admin';\n $user->username = 'admin';\n $user->password = md5('admin');\n $user->role = 'ROLE_ADMIN';\n $user->is_active = 1;\n $user->save();\n }\n }", "public static function updateUser() {\n\t\tif(isset($_POST['update'])) {\n\t\t\t\n\t\t\tif (isset($_POST['pseudo-new']) AND !empty($_POST['pseudo-new']) AND $_POST['pseudo-new'] != $_SESSION['username']) {\n\t\t\t\t$new_user = new User([\n\t\t\t\t\t'name_admin' => htmlspecialchars($_POST['pseudo-new']),\n\t\t\t\t\t'id' => htmlspecialchars($_GET['id'])\n\t\t\t\t]);\n\t\n\t\t\t\t$new_manager = new UserManager();\n\t\t\t\t$new_name = $new_manager->updateName($new_user);\n\t\t\t\theader('Location: admin.php?page=adminUsersView');\n\t\t\t}\n\t\t\n\t\t\tif (isset($_POST['mdp-new']) AND !empty($_POST['mdp-new']) AND isset($_POST['mdp-confirm']) AND !empty($_POST['mdp-confirm'])) {\n\t\t\t\t$mdp_new = isset($_POST['mdp-new']); \n\t\t\t\t$mdp_confirm = isset($_POST['mdp-confirm']); \n\n\t\t\t\tif ($mdp_new == $mdp_confirm) {\n\t\t\t\t\t$new_us = new User([\n\t\t\t\t\t\t'pwd_admin' => password_hash($_POST['mdp-new'], PASSWORD_DEFAULT),\n\t\t\t\t\t\t'id' => htmlspecialchars($_GET['id'])\n\t\t\t\t\t]);\n\t\t\t\t\t\t\n\t\t\t\t\t$new_manag = new UserManager();\n\t\t\t\t\t$new_pwd = $new_manag->updateMdp($new_us);\n\t\t\t\t\theader('Location: admin.php?page=adminUsersView');\n\t\t\t\t\t\n\t\t\t\t} else {\n\t\t\t\t\techo \"Les mots de passe ne correspondent pas\";\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "function setStatusAdmin($username, $status){\n\n\t\t$this->db->query(\"UPDATE admin SET status = '$status' WHERE nip ='$username'\");\n\n\t}", "function adminConnection($_username=true)\n\t{\n\t\t// generate admin user name of $username\n\t\tif (($pos = strpos($this->acc_imap_admin_username, '*')) !== false)\t// remove evtl. set username\n\t\t{\n\t\t\t$this->params['acc_imap_admin_username'] = substr($this->acc_imap_admin_username, $pos+1);\n\t\t}\n\t\t$this->params['acc_imap_admin_username'] = (is_string($_username) ? $_username : $this->acc_imap_username).\n\t\t\t'*'.$this->acc_imap_admin_username;\n\n\t\tparent::adminConnection($_username);\n\t}", "function updateUser() {\n\t}", "public function makeAdmin ($user) {\n\n\t}" ]
[ "0.67226404", "0.6357172", "0.62391764", "0.61910224", "0.6101045", "0.6080367", "0.6015989", "0.5941657", "0.5938823", "0.59304017", "0.59264755", "0.5906325", "0.5839966", "0.58337533", "0.5780007", "0.5777444", "0.5759503", "0.5759503", "0.57006586", "0.56544405", "0.5650635", "0.5642349", "0.56394", "0.56033874", "0.55675167", "0.5538744", "0.5484793", "0.54790473", "0.5476175", "0.54497427" ]
0.8093954
0
/ pulls all of the elements of each sub array up a level, repeated recursively for $level times
function array_flatten($data, $level = 1) { if(!$level) { return $data; } $output = array(); foreach($data as $arr) { $arr = (array)$arr; $output = array_merge($output, $arr); } return array_flatten($output, $level - 1); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function _flatArray(array $array, int $level = 0)\n {\n if ($level == count($this->_conditions)) {\n return $array;\n }\n\n $sorted = [];\n\n foreach ($array as $index => $item) {\n $sorted = array_merge($sorted, $this->_flatArray($item, $level + 1));\n }\n\n return $sorted;\n }", "private function applyTreeInternal($arr, $level)\n {\n if (!isset($this->tree[$level]))\n {\n if ($this->lastTreeKey)\n if (is_object($arr))\n return $arr[0]->{$this->lastTreeKey};\n else\n return $arr[0][$this->lastTreeKey];\n else\n return $arr;\n }\n $key = $this->tree[$level];\n $ret = array();\n foreach ($arr as $v)\n {\n if (is_object($v))\n $ret[$v->$key][] = $v;\n else\n $ret[$v[$key]][] = $v;\n }\n if (count($this->tree) > $level)\n {\n foreach ($ret as &$subarr)\n {\n $subarr = $this->applyTreeInternal($subarr, $level+1);\n }\n }\n return $ret;\n }", "public static function flatten($array, $depth = 0, $level = 0)\n\t{\n\t\t$results = [];\n\n\t\tforeach ($array as $key => $value) {\n\t\t\tif ( (is_array($value) || ($value instanceof IteratorAggregate) ) && (!$depth || $depth > $level))\n\t\t\t\t$results = array_merge( $results, static::flatten($value, $depth, $level+1) );\n\t\t\telse\n\t\t\t\t$results[] = $value;\n\n\t\t}\n\t\treturn $results;\n\t}", "private function getArray(array $data, int $oldLevel = 0, $character = ' '): array\n {\n $size = count($data);\n $newData = [];\n for ($i = 0; $i < $size;) {\n $regs = [];\n $v = $data[$i];\n if (trim($v)) {\n // What level are we on?\n preg_match('/^' . $character . '*/', $v, $regs);\n $level = strlen($regs[0]);\n\n if ($level > $oldLevel) {\n /**\n * We have entered a sub level. Find the chunk of the array that\n * constitues this sub level. Pass this chunk to the getArray\n * function. Then increase the $i to point to the point where the\n * level is the same as we are on now.\n */\n $subData = [];\n for ($j = $i; $j < $size; $j++) {\n $regs = [];\n $v = $data[$j];\n if (trim($v)) {\n // What level are we on?\n preg_match('/^' . $character . '*/', $v, $regs);\n $subLevel = strlen($regs[0]);\n if ($subLevel >= $level) {\n $subData[] = $v;\n } else {\n break;\n }\n }\n }\n $newData[$i - 1]['data'] = $this->getArray($subData, $level, $character);\n $i = $i + count($subData);\n } elseif (($level === 0) or ($level === $oldLevel)) {\n $newData[$i]['value'] = $v;\n $i++;\n }\n $oldLevel = $level;\n }\n if ($i === $size) {\n break;\n }\n }\n\n return $newData;\n }", "function SplitTilesRecursive($image, $level){\n\t$mapWidth = GetMapWidth($level);\n\t\n\t//echo \"<br/>MapWidth:\". $mapWidth;\n\t\n\t$tilesOnSide = $mapWidth / TILE_SIZE;\n\t//echo \"<br/>tiles on side:\". $tilesOnSide.\"<br/>\";\n\t\n\t\n\t$resized = ResizeImage($image, $mapWidth);\n\timagedestroy($image);\n\t\n\tfor ($x = 0; $x < $tilesOnSide; $x++)\n for ($y = 0; $y < $tilesOnSide; $y++)\n CropAndSaveTile($resized, $x, $y, $level);\n\n\t if ($level > 0)\n\t SplitTilesRecursive($resized, $level - 1);\n}", "function &getSubrows(&$rows, $rowid, &$record, $depth=3){\n\t\tif ( $depth == 0 ) return $rows;\n\t\tif ( isset($record) ) $root =& $record;\n\t\telse {\n\t\t\t$root =& $this->getRecordByRowId($rowid);\n\t\t\tif ( !isset($root ) ) return $rows;\n\t\t}\n\t\tif ( empty($rowid) and isset($this->relationship) ){\n\t\t\t// we are starting from the root and the first level should from the given relationship.\n\t\t\t$it =& $root->getRelationshipIterator($this->relationship);\n\t\t\t$i = 1;\n\t\t\twhile ( $it->hasNext() ){\n\t\t\t\t$curr_rowid = strval($i++);\n\t\t\t\t$row =& $it->next();\n\t\t\t\t$rowRecord =& $row->toRecord();\n\t\t\t\t$rows[$curr_rowid] = array('record'=>& $rowRecord, 'rowid'=>$curr_rowid, 'hasChildren'=>false);\n\t\t\t\t$numrows = count($rows);\n\t\t\t\t$this->getSubrows($rows, $curr_rowid, $rowRecord, $depth-1);\n\t\t\t\tif ( count($rows)>$numrows) $rows[$curr_rowid]['hasChildren'] = true;\n\t\t\t\tunset($rowRecord);unset($row);\n\t\t\t}\n\t\t} else {\n\t\t\t$children =& $root->getChildren();\n\t\t\tif ( isset($children) ){\n\t\t\t\t$i=1;\n\t\t\t\tforeach (array_keys($children) as $childkey){\n\t\t\t\t\t$curr_rowid = $rowid.(!empty($rowid)?'-':'').strval($i++);\n\t\t\t\t\t$rowRecord =& $children[$childkey];\n\t\t\t\t\t$rows[$curr_rowid] = array('record'=>&$rowRecord, 'rowid'=>$curr_rowid, 'hasChildren'=>false);\n\t\t\t\t\t$numrows = count($rows);\n\t\t\t\t\t$this->getSubrows($rows, $curr_rowid, $rowRecord, $depth-1);\n\t\t\t\t\tif ( count($rows)>$numrows) $rows[$curr_rowid]['hasChildren'] = true;\n\t\t\t\t\tunset($rowRecord);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn $rows;\n\t}", "function traverse_xmlize($array, $arrName = \"array\", $level = 0) {\r\n foreach($array as $key=>$val) {\r\n if(is_array($val)) {\r\n $this->traverse_xmlize($val,$arrName.\"[\".$key.\"]\",$level + 1);\r\n } \r\n else {\r\n $GLOBALS['traverse_array'][] = '$'.$arrName.'['.$key.']=\"'.$val.\"\\\"\\n\";\r\n }\r\n }\r\n return 1;\r\n }", "private static function combinations($array = [], $level = 1, &$combinations = [], $current = [])\n {\n $count = count($array);\n for ($index = 0; $index < $count; $index++) {\n $newArray = array_merge($current, [$array[$index]]);\n if ($level == 1) {\n sort($newArray);\n if (!in_array($newArray, $combinations)) {\n $combinations[] = $newArray;\n }\n } else {\n if ($level <= 3) {\n self::combinations($array, $level - 1, $combinations, $newArray);\n } else {\n break;\n }\n }\n }\n }", "function makenestedarray($array,$model) {\n\t\t// check if array is a mysql result; if so, convert it to a flat array\n\t\t$array = gettype($array)=='resource' ? convertquerytoarray($array) : $array;\n\t\t// set blank index for tracking which rows we've already added\t\n\t\t$idx = '';\n\t\t// blank array to store all the data\n\t\t$master = array();\n\t\t// retrieve value of \"key\" for the current iteratin of the data model\n\t\t$key = $model['key'];\t\n\t\t// loop over each row in the passed data array\t\n\t\tforeach($array as $row) {\n\t\t\t// if the value of the current key is not equal to the index value, evaluate row\n\t\t\tif($row[$key] != $idx) {\n\t\t\t\t// retrieve data for row based on model definition\n\t\t\t\t$item = makerowdata($row,$model);\n\t\t\t\t// if current level of model has \"children\" defined, evaluate each child\n\t\t\t\tif(isset($model['children'])) {\n\t\t\t\t\t// loop over array of children\n\t\t\t\t\tforeach($model['children'] as $child=>$val) {\n\t\t\t\t\t\t// take current array data, and whittle it down based on the child's data key\t\n\t\t\t\t\t\t$childarr = filterarraybykey($array,$key,$row[$key]);\n\t\t\t\t\t\t// recursively call makenestedarray() with current filtered array in order to retrieve nested data\n\t\t\t\t\t\t$children = makenestedarray($childarr,$val);\n\t\t\t\t\t\t// add nested data to parent array, using the key of the current child array as the key in the parent\n\t\t\t\t\t\t$item[$child]=$children;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// done with all the looping; add current data item to master array\n\t\t\t\tarray_push($master,$item);\n\t\t\t\t// update the index so we can skip rows if they have the same index\n\t\t\t\t$idx = $row[$key];\n\t\t\t}\t\n\t\t}\n\t\t// yay! all finished; return the completed data object\n\t\treturn $master;\n\t}", "public function getChildrenFlat($level = 0) {\n\n\t\t$children = array();\n\n\t\tforeach($this->children as $key => $child) {\n\n\t\t\t$child->level = $level;\n\t\t\t$child->parent = $this; \n\n\t\t\t$children[$child->name] = $child;\n\t\t\t$numChildren = $child->numChildren;\n\n\t\t\t// check if there are children \n\t\t\t// we also check for Fieldset in case it's an empty Fieldset\n\t\t\tif($numChildren || $child->type == 'Fieldset') {\n\n\t\t\t\t// append the children\n\t\t\t\tif($numChildren) foreach($child->getChildrenFlat($level+1) as $c) {\n\t\t\t\t\t$children[$c->name] = $c; \n\t\t\t\t}\n\n\t\t\t\t// close the fieldset\n\t\t\t\t$end = new FormBuilderField();\n\t\t\t\t$name = $child->name . '_END';\n\t\t\t\t$end->name = $name; \n\t\t\t\t$end->type = '';\n\t\t\t\t$end->level = $level;\n\t\t\t\t$children[$name] = $end; \n\t\t\t}\n\n\t\t}\n\n\t\treturn $children;\n\t}", "function printDepth($arr, $depth)\n{\n foreach ($arr as $key => $value) {\n echo $key . ' ' . $depth . PHP_EOL;\n if (is_array($value)) {\n printDepth($value, $depth + 1);\n }\n }\n}", "function depth_decode($collection)\r\n\t{\r\n\t\t$trees = array();\r\n\t\t$l = 0;\r\n\r\n\t\tif (count($collection) > 0) {\r\n\t\t\t\t// Node Stack. Used to help building the hierarchy\r\n\t\t\t\t$stack = array();\r\n\r\n\t\t\t\tforeach ($collection as $node) {\r\n\t\t\t\t\t\t$item = $node;\r\n\t\t\t\t\t\t$item['children'] = array();\r\n\r\n\t\t\t\t\t\t// Number of stack items\r\n\t\t\t\t\t\t$l = count($stack);\r\n\r\n\t\t\t\t\t\t// Check if we're dealing with different levels\r\n\t\t\t\t\t\twhile($l > 0 && $stack[$l - 1]['property']['depth'] >= $item['property']['depth']) {\r\n\t\t\t\t\t\t\t\tarray_pop($stack);\r\n\t\t\t\t\t\t\t\t$l--;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t// Stack is empty (we are inspecting the root)\r\n\t\t\t\t\t\tif ($l == 0) {\r\n\t\t\t\t\t\t\t\t// Assigning the root node\r\n\t\t\t\t\t\t\t\t$i = count($trees);\r\n\t\t\t\t\t\t\t\t$trees[$i] = $item;\r\n\t\t\t\t\t\t\t\t$stack[] = & $trees[$i];\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t// Add node to parent\r\n\t\t\t\t\t\t\t\t$i = count($stack[$l - 1]['children']);\r\n\t\t\t\t\t\t\t\t$stack[$l - 1]['children'][$i] = $item;\r\n\t\t\t\t\t\t\t\t$stack[] = & $stack[$l - 1]['children'][$i];\r\n\t\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn $trees;\r\n\t}", "function array_flatten(array $array, $depth = INF)\n{\n return array_reduce($array, function ($result, $item) use ($depth) {\n if (!is_array($item)) {\n return array_merge($result, [$item]);\n } elseif ($depth === 1) {\n return array_merge($result, array_values($item));\n } else {\n return array_merge($result, array_flatten($item, $depth - 1));\n }\n }, []);\n}", "function toArray($depth = null);", "public function getLevelItems($level)\n\t{\n\t\t$select = $this->select()\n\t\t\t\t\t ->from($this->getTableName(), $this->getFields(false))\n\t\t\t\t\t ->order(array($leftField));\n\t\t$select->where($this->getFieldByAlias('level') . ' = ' . intval($level));\n\t\treturn $this->fetchAll($select);\n\t}", "function get_org_structure_list($parent_id = NULL, $level = 0) {\n\t\t$results = array();\n\t\t$this->db->order_by('unit_code');\n\t\t$rows = $this->db->get_where('system_security.organization_structure', array('parent_id' => $parent_id, 'organization_id' => get_user_data('organization_id')));\n//\t\techo $this->db->last_query();\n\t\tif($rows->num_rows() > 0) {\n\t\t\t$n = $level + 1;\n\t\t\tforeach ($rows->result_array() as $row) {\n\t\t\t\t$row['klasifikasi_tree'] = $row['unit_name'];\n\t\t\t\tif($level > 0) {\n\t\t\t\t\t$pad = '';\n\t\t\t\t\tfor($i=1; $i<$level; $i++) {\n\t\t\t\t\t\t$pad .= '<img src=\"' . assets_url() .'/img/clear.gif\" class=\"nav-tree\">';\n\t\t\t\t\t}\n\t\t\t\t\t$row['klasifikasi_tree'] = $pad . '<img src=\"' . assets_url() .'/img/cat_marker.gif\" class=\"nav-tree\">' . $row['unit_name'];\n\t\t\t\t}\n\t\t\t\t$results[] = $row;\n\t\t\t\t$child = $this->get_org_structure_list($row['organization_structure_id'], $n);\n\t\t\t\tif(count($child) > 0) {\n\t\t\t\t\t$results = array_merge($results, $child);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\n\t\t}\n\t\treturn $results;\n\t}", "function get_klasifikasi_list($parent_id = 0, $level = 0) {\n\t\t$results = array();\n\t\t$this->db->order_by('sort, kode_klasifikasi');\n\t\t$rows = $this->db->get_where('system_security.klasifikasi_arsip', array('parent_id' => $parent_id, 'organization_id' => get_user_data('organization_id')));\n\t\n\t\tif($rows->num_rows() > 0) {\n\t\t\t$n = $level + 1;\n\t\t\tforeach ($rows->result_array() as $row) {\n\t\t\t\t$row['klasifikasi_tree'] = $row['nama_klasifikasi'];\n\t\t\t\tif($level > 0) {\n\t\t\t\t\t$pad = '';\n\t\t\t\t\tfor($i=1; $i<$level; $i++) {\n\t\t\t\t\t\t$pad .= '<img src=\"' . assets_url() .'/img/clear.gif\" class=\"nav-tree\">';\n\t\t\t\t\t}\n\t\t\t\t\t$row['klasifikasi_tree'] = $pad . '<img src=\"' . assets_url() .'/img/cat_marker.gif\" class=\"nav-tree\">' . $row['nama_klasifikasi'];\n\t\t\t\t}\n\t\t\t\t$results[] = $row;\n\t\t\t\t$child = $this->get_klasifikasi_list($row['entry_id'], $n);\n\t\t\t\tif(count($child) > 0) {\n\t\t\t\t\t$results = array_merge($results, $child);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\n\t\t}\n\t\treturn $results;\n\t}", "function array_depth(array $array)\n{\n $maxLevel = 1;\n\n $inspectDepth = function (array $a, $depth) use (&$inspectDepth, &$maxLevel) {\n if ($depth > $maxLevel) {\n $maxLevel = $depth;\n }\n\n foreach ($a as $item) {\n if (is_array($item)) {\n $inspectDepth($item, $depth + 1);\n }\n }\n };\n\n $inspectDepth($array, 1);\n\n return $maxLevel;\n}", "private function buildTree( $arr, $pid = null, $level) {\n $op = array();\n $trailIds = array();\n\n if($this->alias){\n $active = BasePortfolioModel::findByTable($this->lib_nav_table, [$this->lib_nav_table . '_portfolio.alias = ?'], $this->alias);\n if($active && is_array($active) && count($active) > 0){\n $pids = BasePortfolioModel::findParents($active[0]['id'], $this->lib_nav_table . '_closures');\n if(is_array($pids) && count($pids) > 0){\n foreach ($pids as $row){\n $trailIds[] = $row['ancestor_id'];\n }\n }\n }\n }\n\n foreach( $arr as $item ) {\n if( $item['pid'] == $pid ) {\n #-- break if level is higher then depth and depth is not '0'\n if($level > $this->lib_nav_depth && $this->lib_nav_depth !== '0') break;\n\n $op[$item['id']] = $item;\n #-- set by nav template required values\n $op[$item['id']]['link'] = $item['title'];\n $op[$item['id']]['href'] = $this->lib_nav_href . '/' . $item['alias'] . '.html';\n if($item['alias'] == $this->alias){\n $op[$item['id']]['isActive'] = true;\n }\n\n if(count($trailIds) > 0){\n foreach ($trailIds as $trailId){\n if($item['id'] == $trailId && $item['alias'] != $this->alias){\n $op[$item['id']]['class'] .= ' trail';\n }\n }\n }\n\n #-- recursive to get all child elements\n $level++;\n $children = $this->buildTree( $arr, $item['id'], $level);\n if( $children || $op[$item['id']]['children']) {\n #-- merge pins and child portfolios\n if($op[$item['id']]['children']){\n if($children['id']){\n $children = array_merge(array($children), $op[$item['id']]['children']);\n }else{\n $children = array_merge($children, $op[$item['id']]['children']);\n }\n }\n $op[$item['id']]['children'] = $children;\n $op[$item['id']]['class'] .= ' submenu';\n #-- generate sub-items template\n $op[$item['id']]['subitems'] = $this->parseTemplate($children, $level);\n }\n $level--;\n }\n }\n return $op;\n }", "function _getSubRecords ($uidList,$level=1,$fields='*',$table='',$where='')\t{\r\n\t\t$rows = array();\r\n\t\t\r\n\t\t$table=$table?$table:$this->tableAlias;\r\n\t\t\r\n\t\twhile ($level && $uidList)\t{\r\n\t\t\t$level--;\r\n\r\n\t\t\t$newIdList = array();\r\n\t\t\tt3lib_div::loadTCA($table);\r\n\t\t\t$ctrl = $GLOBALS['TCA'][$table]['ctrl'];\r\n\t\t\t$tmpWhere = $ctrl['treeParentField'].' IN ('.$uidList.') '.$where.' AND NOT '.$table.'.'.$ctrl['delete'];\r\n\t\t\t$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery($fields, $table, $tmpWhere);\r\n\t\t\twhile ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res))\t{\r\n\t\t\t\t$rows[$row['uid']] = $row;\r\n\t\t\t\t$newIdList[] = $row['uid'];\r\n\t\t\t}\r\n\t\t\t$uidList = implode(',', $newIdList);\r\n\r\n\t\t}\r\n\r\n\r\n\t\treturn $rows;\r\n\t}", "public function clubarr($ass_arr, $lev = null)\n {\n if(empty($ass_arr))\n return $ass_arr;\n \n // sort array as per its level\n $reparr = [];\n foreach ($ass_arr as $sing_arr) {\n $reparr[$sing_arr['level']][$sing_arr['id']] = $sing_arr;\n }\n\n if(!is_null($lev)){\n $reparr = array_slice($reparr,0,$lev);\n }\n\n $levelarr = array_reverse($reparr, true);\n //\\Mesa::prr($levelarr);\n\n while(sizeof($levelarr) > 1){\n $parkey = current(array_keys($levelarr)) - 1;\n $levelarr = array_reverse($levelarr,true);\n $toparr = array_pop($levelarr);\n $levelarr = array_reverse($levelarr,true);\n\n foreach ($toparr as $key => $value) {\n $levelarr[$parkey][$value['parent']]['child'][] = $value;\n }\n \n }\n\n $mortarr = array_shift($levelarr);\n // \\Mesa::prr($mortarr, 88);\n return $mortarr;\n }", "function array_flat($a,$st=''){\n\t\t$res=array();\n\t\tforeach($a as $k=>$value){\n\t\t\tif(is_array($value)){\n\t\t\t\t$res=array_merge($res,$this->array_flat($value,$st.'/'.$k));\n\t\t\t}else{\n\t\t\t\t$res[$st.'/'.$k]=$value;\n\t\t\t}\n\t\t}\n\t\treturn($res);\n\t}", "protected function build_thread($items, $level = 1, &$pos = 0)\n {\n $result = array();\n\n for ($len=count($items); $pos < $len; $pos++) {\n list($lv, $id) = explode(self::SEPARATOR_LEVEL, $items[$pos]);\n if ($level == $lv) {\n $pos++;\n $result[$id] = $this->build_thread($items, $level+1, $pos);\n }\n else {\n $pos--;\n break;\n }\n }\n\n return $result;\n }", "public static function flatten($array, $depth = INF)\n {\n $result = [];\n\n foreach ($array as $item) {\n $item = $item instanceof Collection ? $item->all() : $item;\n\n if (is_array($item)) {\n if ($depth === 1) {\n $result = array_merge($result, $item);\n continue;\n }\n\n $result = array_merge($result, static::flatten($item, $depth - 1));\n continue;\n }\n\n $result[] = $item;\n }\n\n return $result;\n }", "public function _expandForest2SortedArray(&$res, $items, $level) {\n\t\tforeach ($items as $id => $item) {\n\t\t\t$item['nodeLevel'] = $level;\n\t\t\t$childs = $item['childNodes'];\n\t\t\t$item['childsCount'] = count($childs);\n\t\t\tunset($item['childNodes']);\n\t\t\t$res[$id] = $item;\n\n\t\t\tif (count($childs)) {\n\t\t\t\t$this->_expandForest2SortedArray($res, $childs, $level + 1);\n\t\t\t}\n\t\t}\n\t\treturn $this;\n\t}", "function array_flatten_recursive($array) {\n if (!$array) return false;\n $flat = array();\n $RII = new RecursiveIteratorIterator(new RecursiveArrayIterator($array));\n foreach ($RII as $value) $flat[] = $value;\n return $flat;\n }", "function retar($array, $html = false, $level = 0) {\r\n\tif(is_array($array)){\r\n\t\t$space = $html ? \"&nbsp;\" : \" \";\r\n\t\t$newline = $html ? \"<br />\" : \"\\n\";\r\n\t\t$spaces='';\r\n\t\tfor ($i = 1; $i <= 3; $i++)$spaces .= $space;\r\n\t\t$tabs=$spaces;\r\n\t\tfor ($i = 1; $i <= $level; $i++)$tabs .= $spaces;\r\n\t\t$output = \"Array(\" . $newline . $newline;\r\n\t\t$cnt=sizeof($array);\r\n\t\t$j=0;\r\n\t\tforeach($array as $key => $value) {\r\n\t\t\t$j++;\r\n\t\t\tif (is_array($value)) {\r\n\t\t\t\t$level++;\r\n\t\t\t\t$value = retar($value, $html, $level);\r\n\t\t\t\t$level--;\r\n\t\t\t}\r\n\t\t\telse $value=\"'$value'\";\r\n\t\t\t$output .= \"$tabs'$key'=> $value\";\r\n\t\t\tif($j<$cnt)$output .= ',';\r\n\t\t\t$output .= $newline;\r\n\t\t}\r\n\t\t$output.=$tabs.')'.$newline;\r\n\t}\r\n\telse{\r\n\t\t$output=\"'$array'\";\r\n\t}\r\n\treturn $output;\r\n}", "private static function dumpArray($arr, $level, $key = null) {\n $tab = \"\";\n for ($i = 1; $i < $level; $i++) {\n $tab .= self::TAB;\n }\n $arr_count = count($arr);\n echo($tab);\n if (isset($key)) {\n echo(\"[\".$key.\"] => \");\n }\n echo(\"array (\" . $arr_count . \") {\");\n if ($arr_count > 0) {\n echo(self::EOL);\n foreach ($arr as $key => $item) {\n if (is_array($item)) {\n self::dumpArray($item, $level+1, $key);\n } elseif (is_object($item)) {\n self::dumpObject($item, $level+1, $key);\n } else {\n echo($tab.self::TAB.\"[<em>\".$key.\"</em>] => \"\n . \"<strong>\".self::specialToString($item).\"</strong> \"\n . \"(<span class='dumpf variable-type'>\".gettype($item).\"</span>)\".self::EOL);\n }\n }\n echo($tab.\"}\".self::EOL);\n } else {\n echo(\"EMPTY\");\n echo(\"}\".self::EOL);\n }\n }", "function BuildRecursiveTree(&$data, $level, &$options){\n\t\tif (is_array($data)){\n\t\t\tforeach($data as $id=>$node){\n\t\t\t\t$indent = \"\";\n\t\t\t\tfor($j=0; $j<$level; $j++){\n\t\t\t\t\t$indent .= \"&nbsp;&nbsp;&nbsp;\";\n\t\t\t\t}\n\n\t\t\t\t$has_children=!empty($node[\"_children\"]);\n\t\t\t\tif($has_children){\n\t\t\t\t\t$indent .=\"[-]\";\n\t\t\t\t} else {\n\t\t\t\t\t$indent.=\"&nbsp;&nbsp;&nbsp;&nbsp;\";\n\t\t\t\t}\n\n\t\t\t\t$option[\"caption\"] = $indent.$node[$this->caption_field_name];\n\t\t\t\t$option[\"value\"] = (string)$node[$this->key_field_name];\n\t\t\t\t$options[] = $option;\n\n\t\t\t\tif ($has_children){\n\t\t\t\t\t$this->BuildRecursiveTree($node[\"_children\"], $level+1, $options);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "static function arrayShiftLevel($Array){\n \n foreach($Array as $SubArray):\n \n foreach($SubArray as $value):\n \n $ShiftedArray[]=$value;\n \n endforeach;\n \n endforeach;\n \n return $ShiftedArray;\n \n }" ]
[ "0.64764065", "0.62049663", "0.60868394", "0.5844854", "0.5778791", "0.5710231", "0.56667286", "0.5630215", "0.562619", "0.5610094", "0.5585954", "0.5544876", "0.55354637", "0.55225986", "0.55065536", "0.5494913", "0.54876333", "0.54666567", "0.545029", "0.5446421", "0.5378353", "0.53516823", "0.53180283", "0.52950674", "0.52843285", "0.52809024", "0.5277163", "0.52600044", "0.5257126", "0.52543026" ]
0.67911005
0
removes all elements that are in $filter_keys from the array, returns the filtered list
function array_filter_keys($data, $filter_keys) { foreach($data as $key => $value) { if(in_array($key, $filter_keys)) { unset($data[$key]); } } return $data; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function arrayFilterByKeys(array $data, array $keys)\n{\n return array_intersect_key($data, array_flip($keys));\n\n}", "function array_filter_keys($arr,$allowed){\n\t\treturn array_intersect_key($arr, array_flip($allowed));\n}", "function array_prune($keys, $array)\r\n{\r\n\t\r\n}", "public static function filter_input(&$input, $filter_keys = []) {\n unset($input['_token']);\n unset($input['id']);\n\n foreach($input as $key => $value) {\n if(substr($key, 0, 1) === '/' || in_array($key, $filter_keys)) {\n unset($input[$key]);\n }\n }\n }", "public static function filterKeys(array $array, $keys, $remove = false)\n\t{\n\t\t$return = array();\n\t\tforeach ($keys as $key)\n\t\t{\n\t\t\tif (isset($array[$key]))\n\t\t\t{\n\t\t\t\t$remove or $return[$key] = $array[$key];\n\t\t\t\tif($remove)\n\t\t\t\t{\n\t\t\t\t\tunset($array[$key]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn $remove ? $array : $return;\n\t}", "public function array_filter_keys(array $array, $filter)\n {\n\n $result = [];\n\n foreach ($array as $key => $value) {\n if (strpos($key, $filter) === 0) {\n array_set($result, last(explode($filter, $key)), $value);\n }\n }\n\n return $result;\n\n }", "function array_filter($input, $callback, $reKey=false)\n {\n if ($input instanceof \\Iterator) {\n $input = iterator_to_array($input);\n }\n $filtered = \\array_filter($input, $callback);\n if ($reKey) {\n $filtered = array_values($filtered);\n }\n return $filtered;\n }", "public function arrayFilter(array $array, $keysToRemove = [])\n {\n return array_filter($array,\n function ($key) use ($keysToRemove) {\n return !in_array($key, $keysToRemove);\n },\n ARRAY_FILTER_USE_KEY);\n }", "public static function removeFilter($filterKeys) {\n foreach ($filterKeys as $setKey => $filterKey) {\n if (isset(self::$allowedFilters[$setKey]['filters'][$filterKey])) {\n unset(self::$allowedFilters[$setKey]['filters'][$filterKey]);\n }\n }\n }", "function array_filter_remove($arr,$remove) {\n\t\tif ( ($key = array_search($remove, $arr) ) !== false) {\n \t\t\tunset ($arr[$key]);\n \t}\n \treturn $arr;\n}", "protected function trimArray( $array, $keys = array() ){\n foreach ( $keys as $key ) {\n unset( $array[$key]);\n }\n return array_filter($array);\n }", "function filter_array_key($array = [], $keyArray = []) {\n $newArray = [];\n\n foreach($keyArray as $key) {\n if(isset($array[$key])) {\n $newArray[$key] = $array[$key];\n }\n }\n\n return $newArray;\n}", "public function except($keys);", "public static function filterByKeys(array $array, $keys, bool $exclude = false): array\n {\n if (is_null($keys)) {\n return $array;\n }\n $keysArray = self::getKeysArray($keys);\n if (empty($keysArray)) {\n return $exclude ? $array : [];\n }\n return $exclude ? array_diff_key($array, array_flip($keysArray)) : array_intersect_key($array, array_flip($keysArray));\n }", "function array_remove(array $collection = [], $keys): array{\n if (!is_array($keys)) {\n $keys = [$keys];\n }\n foreach ($keys as $key) {\n //delete element in array by value\n if (($key = array_search($key, $collection)) !== false) {\n unset($collection[$key]);\n }\n }\n return $collection;\n}", "function array_remove(array &$a_Input, $m_SearchValue, $b_Strict = False) {\n $a_Keys = array_keys($a_Input, $m_SearchValue, $b_Strict);\n foreach($a_Keys as $s_Key) {\n unset($a_Input[$s_Key]);\n }\n return $a_Input;\n}", "public function except($keys)\n {\n $keys = is_array($keys) ? $keys : func_get_args();\n $results = $this->input();\n foreach ($keys as $key) {\n array_forget($results, $key);\n }\n return $results;\n }", "public function filterData()\n\t{\n\t\tif( count($this->data) === 0 || count($this->filters) === 0 ) return $this->data;\n\n\t\t$filtered = array();\n\n\t\tforeach( $this->data as $entry )\n\t\t{\n\t\t\tif( $this->applyFilters($entry) ) $filtered[] = $entry;\n\t\t}\n\n\t\treturn $filtered;\n\t}", "public function allExcept($keys)\n {\n $args = (array)$keys;\n $data = $this->collection;\n\n foreach ($args as $value) {\n if (isset($data[$value])) {\n unset($data[$value]);\n }\n }\n return $data;\n }", "public static function filterArray($toBeFiltered, $keys)\n {\n $result = [];\n\n foreach ($toBeFiltered as $key => $value) {\n if (in_array($key, $keys)) {\n $result[$key] = $value;\n }\n }\n\n return $result;\n }", "public static function filterByKey($array, $keys, $omit = false)\n {\n $result = [];\n\n if (is_string($keys)) {\n $keys = [$keys];\n }\n\n foreach ($array as $key => $value) {\n $condition = in_array($key, $keys);\n if ($omit) {\n $condition = !$condition;\n }\n\n if ($condition) {\n $result[$key] = $value;\n }\n }\n\n return $result;\n }", "public function except($keys)\n {\n $keys = is_array($keys) ? $keys : func_get_args();\n\n $results = $this->all();\n\n foreach ($keys as $key) {\n unset($results[$key]);\n }\n\n return $results;\n }", "public function only($keys);", "public static function removeFields(&$array, $unwanted_key)\n\t{\n\t\tif (!empty($array)) {\n\n\t\t\tforeach ($unwanted_key as $v) {\n\t\t\t\tforeach ($array as $key => &$value) {\n\t\t\t\t\tif ($key == $v) {\n\t\t\t\t\t\tunset($array[$v]);\n\t\t\t\t\t}\n\t\t\t\t\tif (is_array($value)) {\n\t\t\t\t\t\tself::removeFields($value, $unwanted_key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public function filter($results, $key, $filter);", "public function filter()\n {\n $exclude = array_flip(['page', 'offset', 'sort', 'q', 'embed']);\n $get = array_diff_key($this->parseQueryString(), $exclude);\n $response = [];\n\n foreach ($get as $field => $rules) {\n $field = strtr($field, ':', '.');\n $response[$field] = $this->getFilters($rules);\n if (empty($response[$field])) {\n unset($response[$field]);\n }\n }\n\n return $response;\n }", "public static function keyFilter(&$array, $key, $preserveKey = false) {\n if (!is_array($array)) return array();\n $return = array();\n \n foreach($array as $k => &$row) {\n if (isset($row[$key])) {\n if ($preserveKey) {\n $return[$k] = $row[$key];\n } else {\n $return[] = $row[$key];\n }\n }\n }\n \n return $return;\n }", "public function filterBy($keyAndValues)\n {\n }", "public function filterBy($keyAndValues)\n {\n }", "function array_filter (array $input, callable $callback = \"\") {}" ]
[ "0.7049283", "0.7040312", "0.6926376", "0.6810947", "0.67611086", "0.6724426", "0.6559393", "0.6504206", "0.6404454", "0.6400394", "0.6353252", "0.6192024", "0.6162245", "0.61532426", "0.61331993", "0.6125044", "0.61204904", "0.6101984", "0.6091036", "0.60780233", "0.6052865", "0.6040693", "0.6023444", "0.6012145", "0.6001158", "0.5983388", "0.59823847", "0.5977302", "0.5977302", "0.5969955" ]
0.8080356
0
returns true if any element in the return returns true from the callback. if the callback is not set, will just test the truthiness of each element
function any($arr, $callback) { foreach($arr as $key => $value) { if(is_callable($callback)) { if(call_user_func($callback, array($key, $value))) { return true; } } else if($value) { return true; } } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function all($arr, $callback) \n{\n foreach($arr as $key => $value) \n {\n if(is_callable($callback)) \n {\n\tif(!call_user_func($callback, array($key, $value)))\n\t {\n\t return false;\n\t }\n } \n else if(!$value)\n\t{\n\t return false;\n\t}\n }\n return true;\n}", "public function some(callable $callback)\n {\n $array = $this->getArrayCopy();\n foreach ($array as $key => $value) {\n if ($callback($value, $key, $array) === true) {\n return true;\n }\n }\n\n return false;\n }", "public function every(callable $callback)\n {\n $array = $this->getArrayCopy();\n foreach ($array as $key => $value) {\n if ($callback($value, $key, $array) === false) {\n return false;\n }\n }\n\n return true;\n }", "function is_all(callable $callback, ...$values): bool\n {\n foreach ($values as $value) {\n if (!(bool)call_user_func($callback, $value)) {\n return false;\n }\n }\n return count($values) > 0;\n }", "function some($iterable, $callback): bool {\n foreach ($iterable as $key => $value) {\n if ($callback($value, $key)) {\n return true;\n }\n }\n return false;\n}", "function every($iterable, $callback): bool {\n foreach ($iterable as $key => $value) {\n if (!$callback($value, $key)) {\n return false;\n }\n }\n return true;\n}", "public static function checkAll($array, $callback)\n\t{\n\t\tforeach ($array as $k => $v) {\n\t\t\tif (!call_user_func($callback, $v, $k)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\treturn true;\n\t}", "function is_any(callable $callback, ...$values): bool\n {\n foreach ($values as $value) {\n if ((bool)call_user_func($callback, $value)) {\n return true;\n }\n }\n return false;\n }", "function array_all(array $collection = [], callable $iterator): bool {\n foreach ($collection as $element) {\n if (!$iterator($element)) {\n return false;\n }\n }\n return true;\n}", "function expression_function_any($collection, callable $callback)\n{\n if (!is_array($collection) && !$collection instanceof \\Traversable) {\n throw new \\InvalidArgumentException('$collection must be an array or Traversable object');\n }\n\n foreach ($collection as $key => $item) {\n if ($callback($item, $key)) {\n return true;\n }\n }\n\n return false;\n}", "function array_any(array $collection = [], callable $iterator): bool {\n // return (is_int(array_search(true, $collection, false)));\n foreach ($collection as $v) {\n if ($iterator($v)) {\n return true;\n }\n }\n return false;\n}", "function array_some(array $collection = [], callable $iterator): bool {\n return array_any($collection, $iterator);\n}", "public function each(callable $on_each, array $args=[]){\n foreach($this->storage as $elem){\n if(call_user_func_array($on_each, array_merge([$elem], $args)) === false){\n return false;\n }\n }\n return true;\n }", "function any($iterable)\n {\n foreach ($iterable as $element) {\n if ($element) {\n return true;\n }\n }\n return false;\n }", "public function forAll(Closure $func) {\n foreach ($this->_collection as $key => $element) {\n if (!$func($key, $element)) {\n return false;\n }\n }\n\n return true;\n }", "function expression_function_all($collection, callable $callback)\n{\n if (!is_array($collection) && !$collection instanceof \\Traversable) {\n throw new \\InvalidArgumentException('$collection must be an array or Traversable object');\n }\n\n foreach ($collection as $key => $item) {\n if (!$callback($item, $key)) {\n return false;\n }\n }\n\n return true;\n}", "function any(iterable $functions): Closure\n{\n return\n /**\n * @param mixed $value\n * @return bool\n */\n static function ($value) use ($functions): bool {\n foreach ($functions as $function) {\n if ($function($value)) {\n return true;\n }\n }\n\n return false;\n };\n}", "protected function checkAnyTrue()\n {\n $foundTrue = false;\n\n $args = func_get_args();\n\n foreach ($args as $arg) {\n if ($arg === true) {\n $foundTrue = true;\n break;\n }\n }\n\n return $foundTrue;\n }", "public function forEach(callable $callable) : bool\n {\n return array_walk($this->array, $callable);\n }", "function is_true_any(...$values): bool\n {\n return is_any(\n function ($value) {\n return $value === true;\n },\n ...$values\n );\n }", "public static function every(callable $checker, array $arr)\n {\n foreach ($arr as $item) {\n if (call_user_func($checker, $item) !== true) {\n return false;\n }\n }\n\n return true;\n }", "public function each(callable $callback)\n {\n foreach ($this->elements() as $key => $item) {\n $result = $callback($item, $key);\n if ($result === false) {\n break;\n }\n }\n }", "function any(...$args)\n{\n\n foreach ($args as $arg)\n {\n if ($arg)\n {\n return true;\n }\n }\n\n return false;\n}", "public function anyMatch(callable $callable) : bool\n {\n $array = Arrays::of($this->collect())->filter($callable);\n return $array->length() > 0;\n }", "public function all(callable $predicate)\n {\n foreach ($this->each() as $k => $v) {\n if (! $predicate($v, $k)) {\n return false;\n }\n }\n return true;\n }", "protected function each($expectCallback, ...$expectCallbackArguments):Bool {\n\n\t\t$allExpectations = array_map(function($actual) use ($expectCallback, $expectCallbackArguments) {\n\n\t\t\treturn call_user_func_array([new Expects($actual), $expectCallback], $expectCallbackArguments);\n\n\t\t}, $this->actuals);\n\n\t\t$uniqueExpectations = array_unique($allExpectations);\n\n\t\treturn (count($uniqueExpectations) === 1 && end($uniqueExpectations) === true);\n\n\t}", "public function allMatch(callable $callable) : bool\n {\n $array = Arrays::of($this->collect())->filter($callable);\n return $array->length() == $this->length();\n }", "public function walkGrid($callback)\n {\n foreach (array_keys($this->getRows()) as $key) {\n if (!$this->walkRow($key, $callback)) {\n return false;\n }\n }\n return true;\n }", "public function all(callable $predicate): bool;", "public function any()\n {\n return $this->count() > 0;\n }" ]
[ "0.7994111", "0.78323734", "0.77297384", "0.75295585", "0.75139326", "0.72967625", "0.7236783", "0.72254556", "0.70374584", "0.6909333", "0.6862448", "0.6750114", "0.6704593", "0.66695845", "0.6635553", "0.6628904", "0.65914905", "0.657538", "0.6565481", "0.6458787", "0.64006865", "0.63896805", "0.6378574", "0.63290215", "0.6324558", "0.6313762", "0.63129294", "0.6297404", "0.6287942", "0.625231" ]
0.7918638
1
returns true if all elements in the return returns true from the callback. if the callback is not set, will just test the truthiness of each element
function all($arr, $callback) { foreach($arr as $key => $value) { if(is_callable($callback)) { if(!call_user_func($callback, array($key, $value))) { return false; } } else if(!$value) { return false; } } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function every(callable $callback)\n {\n $array = $this->getArrayCopy();\n foreach ($array as $key => $value) {\n if ($callback($value, $key, $array) === false) {\n return false;\n }\n }\n\n return true;\n }", "function is_all(callable $callback, ...$values): bool\n {\n foreach ($values as $value) {\n if (!(bool)call_user_func($callback, $value)) {\n return false;\n }\n }\n return count($values) > 0;\n }", "public function some(callable $callback)\n {\n $array = $this->getArrayCopy();\n foreach ($array as $key => $value) {\n if ($callback($value, $key, $array) === true) {\n return true;\n }\n }\n\n return false;\n }", "public static function checkAll($array, $callback)\n\t{\n\t\tforeach ($array as $k => $v) {\n\t\t\tif (!call_user_func($callback, $v, $k)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\treturn true;\n\t}", "function any($arr, $callback) \n{\n foreach($arr as $key => $value) {\n if(is_callable($callback)) \n {\n\tif(call_user_func($callback, array($key, $value))) \n\t {\n\t return true;\n\t }\n } \n else if($value)\n {\n\t return true;\n }\n }\n return false;\n}", "function every($iterable, $callback): bool {\n foreach ($iterable as $key => $value) {\n if (!$callback($value, $key)) {\n return false;\n }\n }\n return true;\n}", "function some($iterable, $callback): bool {\n foreach ($iterable as $key => $value) {\n if ($callback($value, $key)) {\n return true;\n }\n }\n return false;\n}", "function array_all(array $collection = [], callable $iterator): bool {\n foreach ($collection as $element) {\n if (!$iterator($element)) {\n return false;\n }\n }\n return true;\n}", "function is_any(callable $callback, ...$values): bool\n {\n foreach ($values as $value) {\n if ((bool)call_user_func($callback, $value)) {\n return true;\n }\n }\n return false;\n }", "public function each(callable $on_each, array $args=[]){\n foreach($this->storage as $elem){\n if(call_user_func_array($on_each, array_merge([$elem], $args)) === false){\n return false;\n }\n }\n return true;\n }", "function expression_function_all($collection, callable $callback)\n{\n if (!is_array($collection) && !$collection instanceof \\Traversable) {\n throw new \\InvalidArgumentException('$collection must be an array or Traversable object');\n }\n\n foreach ($collection as $key => $item) {\n if (!$callback($item, $key)) {\n return false;\n }\n }\n\n return true;\n}", "public function forAll(Closure $func) {\n foreach ($this->_collection as $key => $element) {\n if (!$func($key, $element)) {\n return false;\n }\n }\n\n return true;\n }", "function is_true_all(...$values): bool\n {\n return is_all(\n function ($value) {\n return $value === true;\n },\n ...$values\n );\n }", "function expression_function_any($collection, callable $callback)\n{\n if (!is_array($collection) && !$collection instanceof \\Traversable) {\n throw new \\InvalidArgumentException('$collection must be an array or Traversable object');\n }\n\n foreach ($collection as $key => $item) {\n if ($callback($item, $key)) {\n return true;\n }\n }\n\n return false;\n}", "public static function every(callable $checker, array $arr)\n {\n foreach ($arr as $item) {\n if (call_user_func($checker, $item) !== true) {\n return false;\n }\n }\n\n return true;\n }", "public function allMatch(callable $callable) : bool\n {\n $array = Arrays::of($this->collect())->filter($callable);\n return $array->length() == $this->length();\n }", "public function forEach(callable $callable) : bool\n {\n return array_walk($this->array, $callable);\n }", "public function all(callable $predicate): bool;", "function array_some(array $collection = [], callable $iterator): bool {\n return array_any($collection, $iterator);\n}", "public function all(callable $predicate)\n {\n foreach ($this->each() as $k => $v) {\n if (! $predicate($v, $k)) {\n return false;\n }\n }\n return true;\n }", "protected function each($expectCallback, ...$expectCallbackArguments):Bool {\n\n\t\t$allExpectations = array_map(function($actual) use ($expectCallback, $expectCallbackArguments) {\n\n\t\t\treturn call_user_func_array([new Expects($actual), $expectCallback], $expectCallbackArguments);\n\n\t\t}, $this->actuals);\n\n\t\t$uniqueExpectations = array_unique($allExpectations);\n\n\t\treturn (count($uniqueExpectations) === 1 && end($uniqueExpectations) === true);\n\n\t}", "function array_any(array $collection = [], callable $iterator): bool {\n // return (is_int(array_search(true, $collection, false)));\n foreach ($collection as $v) {\n if ($iterator($v)) {\n return true;\n }\n }\n return false;\n}", "function any(iterable $functions): Closure\n{\n return\n /**\n * @param mixed $value\n * @return bool\n */\n static function ($value) use ($functions): bool {\n foreach ($functions as $function) {\n if ($function($value)) {\n return true;\n }\n }\n\n return false;\n };\n}", "protected function checkAnyTrue()\n {\n $foundTrue = false;\n\n $args = func_get_args();\n\n foreach ($args as $arg) {\n if ($arg === true) {\n $foundTrue = true;\n break;\n }\n }\n\n return $foundTrue;\n }", "function any($iterable)\n {\n foreach ($iterable as $element) {\n if ($element) {\n return true;\n }\n }\n return false;\n }", "public function walkGrid($callback)\n {\n foreach (array_keys($this->getRows()) as $key) {\n if (!$this->walkRow($key, $callback)) {\n return false;\n }\n }\n return true;\n }", "function all(iterable $functions): Closure\n{\n return\n /**\n * @param mixed $value\n * @return bool\n */\n static function ($value) use ($functions): bool {\n foreach ($functions as $function) {\n if (!$function($value)) {\n return false;\n }\n }\n\n return true;\n };\n}", "function is_true_any(...$values): bool\n {\n return is_any(\n function ($value) {\n return $value === true;\n },\n ...$values\n );\n }", "public static function all(callable $fCheck, iterable $values): bool\n {\n foreach ($values as $value) {\n if (!$fCheck($value)) {\n return false;\n }\n }\n\n return true;\n }", "public function each(callable $callback)\n {\n foreach ($this->elements() as $key => $item) {\n $result = $callback($item, $key);\n if ($result === false) {\n break;\n }\n }\n }" ]
[ "0.79152465", "0.78236884", "0.76858187", "0.7609037", "0.75963765", "0.7368572", "0.7231411", "0.7197941", "0.70127064", "0.68119156", "0.66965514", "0.66696036", "0.66661626", "0.66102815", "0.6588387", "0.65802276", "0.6566122", "0.65493697", "0.6544874", "0.6543694", "0.6489091", "0.6478294", "0.64688706", "0.6450584", "0.6419146", "0.6397146", "0.6389416", "0.63788784", "0.63628525", "0.6246768" ]
0.8155267
0
calls the method on each object in an array, returns an array of the results
function array_invoke($arr, $method_name) { $output = array(); foreach($arr as $key => $obj) { if(!is_object($obj)) { Throw new Exception("$key is not an object"); } if(!method_exists($obj, $method_name)) { Throw new Exception("object does not have method $method_name"); } $output[$key] = $obj->$method_name; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static function getResultsForMethod($array, $method)\n {\n $results = array();\n foreach ($array as $item)\n {\n $results[] = call_user_func(array($item, $method));\n }\n \n return $results;\n }", "abstract public function results() : array;", "function array_map_through_method( $array, $method )\n {\n $mapped = array();\n if( func_num_args() > 2 )\n {\n $args = func_get_args();\n $args = array_slice($args, 2);\n\n foreach( $array as $key => $entry )\n {\n $mapped[$key] = call_user_func_array(array($entry, $method), $args);\n }\n }\n else\n {\n foreach( $array as $key => $entry )\n {\n $mapped[$key] = $entry->$method();\n }\n }\n\n return $mapped;\n }", "public function __call($method, $params = array()) {\r\n foreach($this->_results as $model) {\r\n call_user_func_array(array($model, $method), $params);\r\n }\r\n return $this;\r\n }", "function mpull(array $array, $methodName, $preserveKeys = false)\n{\n $res = [];\n foreach ($array as $key => $elem) {\n $res[$key] = $elem->$methodName();\n }\n\n if ($preserveKeys) {\n $res = array_values($res);\n }\n\n return $res;\n}", "function call_user_method_array ($method_name, &$obj, array $params) {}", "abstract function get_array_all();", "abstract protected function getObjects(): array;", "public function callOnItems($methodName, array $parameters = array()) {\r\n\t\t$results = array();\r\n\t\tforeach ($this as $key => $object) { /* @var $object tx_tcaobjects_object */\r\n\t\t\t$callback = array($object, $methodName);\r\n\t\t\tif (is_callable($callback)) {\r\n\t\t\t\t$results[$key] = call_user_func_array($callback, $parameters);\r\n\t\t\t} else {\r\n\t\t\t\tthrow new tx_pttools_exception(sprintf('Method \"%s\" is not callable on collection items', $methodName));\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public function all()\n {\n $methods = get_class_methods($this);\n $products=[];\n foreach ($methods as $key => $value) {\n if (Str::startsWith($value, 'fetchRule')) {\n $products[] = $this->$value();\n }\n }\n \n return $products;\n }", "function each() {\n return each($this->a);\n }", "public function each() {\n\t\tif ($this->count() === 0) {\n\t\t\treturn 0;\n\t\t}\n\t\t$args = func_get_args();\n\t\t$method = array_shift($args);\n\t\t$n = 0;\n\t\tforeach ($this as $obj) {\n\t\t\tcall_user_func_array([$obj, $method], $args);\n\t\t\t++$n;\n\t\t}\n\t\treturn $n;\n\t}", "public function each();", "public function each();", "public function __invoke(): Collection|array\n {\n return Answer::all();\n }", "public static function onArray(object $object, string $methodName, array $items)\n {\n return array_reduce(\n $items,\n function ($carry, $item) use ($function) {\n $carry->$methodName($item);\n return $carry;\n },\n $object\n );\n }", "abstract public function invokeAll();", "function map(array $objects, callable $function)\n{\n return array_map($function, $objects);\n}", "public function process() : array;", "protected function process(array $results)\n {\n return $this->model->hydrate(parent::process($results));\n }", "public function iterate();", "public function all(): array;", "public function all(): array;", "public function all(): array;", "public function all(): array;", "public function all(): array;", "public function all(): array;", "public function all () : array;", "function toAll(callable $action, array $array): void {\n\tforeach($array as $elem) {\n\t\t$action($elem);\n\t}\n}", "public function results(): array;" ]
[ "0.7246805", "0.6083663", "0.60788506", "0.5994948", "0.59908986", "0.59571815", "0.5955436", "0.5944992", "0.5903006", "0.5879901", "0.58201355", "0.58138233", "0.58105236", "0.58105236", "0.57759917", "0.57663953", "0.5760653", "0.57340556", "0.57071966", "0.5644725", "0.56280184", "0.5627108", "0.5627108", "0.5627108", "0.5627108", "0.5627108", "0.5627108", "0.5621454", "0.56182307", "0.5616286" ]
0.6410434
1
Creates a new CertificateMapEntry in a given project and location. (certificateMapEntries.create)
public function create($parent, CertificateMapEntry $postBody, $optParams = []) { $params = ['parent' => $parent, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('create', [$params], Operation::class); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function patch($name, CertificateMapEntry $postBody, $optParams = [])\n {\n $params = ['name' => $name, 'postBody' => $postBody];\n $params = array_merge($params, $optParams);\n return $this->call('patch', [$params], Operation::class);\n }", "abstract protected function createEntryInstance();", "function createNewEntry($template_name) {\n\t\treturn $this->pl->createNewEntry($template_name);\n\t}", "public function setCertificateMapEntry($var)\n {\n GPBUtil::checkMessage($var, \\Google\\Cloud\\CertificateManager\\V1\\CertificateMapEntry::class);\n $this->certificate_map_entry = $var;\n\n return $this;\n }", "public function createKeyPair($request);", "public static function createFromLocation($location);", "public function setCertificateMapEntryId($var)\n {\n GPBUtil::checkString($var, True);\n $this->certificate_map_entry_id = $var;\n\n return $this;\n }", "public static function create($map)\n {\n return self::execute(\"7faf8180-c123-4274-b850-dfd50e6c1a13\", new CaseFiling($map));\n }", "public function getCertificateMapEntry()\n {\n return $this->certificate_map_entry;\n }", "function create_keyring($projectId, $ring, $location = 'global')\n{\n // Instantiate the client, authenticate, and add scopes.\n $client = new Google_Client();\n $client->useApplicationDefaultCredentials();\n $client->addScope('https://www.googleapis.com/auth/cloud-platform');\n\n // Create the Cloud KMS client.\n $kms = new Google_Service_CloudKMS($client);\n\n // The resource name of the location associated with the KeyRing.\n $parent = sprintf('projects/%s/locations/%s',\n $projectId,\n $location\n );\n\n // Create the KeyRing for your project.\n $keyRing = new Google_Service_CloudKMS_KeyRing();\n $kms->projects_locations_keyRings->create(\n $parent,\n $keyRing,\n ['keyRingId' => $ring]\n );\n\n printf('Created keyring %s' . PHP_EOL, $ring);\n}", "function create_cryptokey($projectId, $ring, $key, $location = 'global')\n{\n // Instantiate the client, authenticate, and add scopes.\n $client = new Google_Client();\n $client->useApplicationDefaultCredentials();\n $client->addScope('https://www.googleapis.com/auth/cloud-platform');\n\n // Create the Cloud KMS client.\n $kms = new Google_Service_CloudKMS($client);\n\n // This will allow the API access to the key for encryption and decryption.\n $purpose = 'ENCRYPT_DECRYPT';\n\n // The resource name of the KeyRing associated with the CryptoKey.\n $parent = sprintf('projects/%s/locations/%s/keyRings/%s',\n $projectId,\n $location,\n $ring\n );\n\n $cryptoKey = new Google_Service_CloudKMS_CryptoKey();\n $cryptoKey->setPurpose($purpose);\n\n // Create the CryptoKey for your project.\n $newKey = $kms->projects_locations_keyRings_cryptoKeys->create(\n $parent,\n $cryptoKey,\n ['cryptoKeyId' => $key]\n );\n\n printf('Created key %s in keyring %s' . PHP_EOL, $key, $ring);\n}", "public function create($translatable, $projectId, $documentId, $locale);", "public function createAccessControlEntry($principal, array $permissions);", "public function create(Entries $data);", "public function map($template, $routeName, $tags=array())\n\t{\n\t\tif(isset($this->_entries[$routeName]))\n\t\t{\n\t\t\tthrow new Ergo_Routing_BuildException(\n\t\t\t\t\"A route named $routeName exists already\");\n\t\t}\n\n\t\t$this->_entries[$routeName] =\n\t\t\tnew Ergo_Routing_RouteMapEntry($routeName, $template, $tags);\n\n\t\treturn $this;\n\t}", "protected function createNamespaceMapEntry(string $namespace, string $classPath, string $mappingType = self::MAPPING_TYPE_PSR0)\n {\n $unifiedClassPath = Files::getNormalizedPath($classPath);\n $entryIdentifier = md5($unifiedClassPath . '-' . $mappingType);\n\n $currentArray = & $this->packageNamespaces;\n foreach (explode('\\\\', rtrim($namespace, '\\\\')) as $namespacePart) {\n if (!isset($currentArray[$namespacePart])) {\n $currentArray[$namespacePart] = [];\n }\n $currentArray = & $currentArray[$namespacePart];\n }\n if (!isset($currentArray['_pathData'])) {\n $currentArray['_pathData'] = [];\n }\n\n $currentArray['_pathData'][$entryIdentifier] = [\n 'mappingType' => $mappingType,\n 'path' => $unifiedClassPath\n ];\n }", "public function create(string $class_name, array $map = []);", "public function createFileOfLocation()\n {\n $entityClass = 'MU\\\\YourCityModule\\\\Entity\\\\FileOfLocationEntity';\n\n $entity = new $entityClass();\n\n $this->entityInitialiser->initFileOfLocation($entity);\n\n return $entity;\n }", "public function create($facilityId, $locationId) {\n $dataObject = new DataObject();\n $dataObject->{self::DB_COLUMN_FACILITY_ID} = $facilityId;\n $dataObject->{self::DB_COLUMN_LOCATION_ID} = $locationId;\n\n $this->insert($dataObject);\n\n return $this->getByFacilityLocation($facilityId, $locationId);\n }", "public function createLocation()\n {\n $entityClass = 'MU\\\\YourCityModule\\\\Entity\\\\LocationEntity';\n\n $entity = new $entityClass();\n\n $this->entityInitialiser->initLocation($entity);\n\n return $entity;\n }", "public function createServiceofLocation()\n {\n $entityClass = 'MU\\\\YourCityModule\\\\Entity\\\\ServiceofLocationEntity';\n\n $entity = new $entityClass();\n\n $this->entityInitialiser->initServiceofLocation($entity);\n\n return $entity;\n }", "public function created(Dictionaryentries $dictionaryentries);", "private static function from_map($traversable, $map)\n {\n $t = new CacheContact();\n foreach ($traversable as $key => $value)\n {\n if (array_key_exists($key, $map) && $map[$key])\n {\n $prop = $map[$key];\n $t->$prop($value);\n }\n }\n return $t;\n }", "public function createAction()\n {\n if($this->request->isPost())\n {\n $hosts=str_replace(\"\\r\", '', $this->request->getPost('hosts'));\n $data = array(\n 'request' => array(\n 'hosts' => explode(PHP_EOL,$hosts),\n 'names' => array(array(\n 'O' => $this->request->getPost('O'),\n 'OU' => $this->request->getPost('OU'),\n 'L' => $this->request->getPost('L'),\n 'C' => $this->request->getPost('C')\n )),\n 'key' => array(\n 'algo' => $this->request->getPost('algo'),\n 'size' => (int)$this->request->getPost('keysize')\n ),\n 'CN' => $this->request->getPost('CN')\n ),\n 'profile' => $this->request->getPost('profile')\n );\n $resp = $this->createCertificate($data);\n if($resp[\"success\"] == true)\n {\n $this->flash->success(\"Certificate created successfully!\");\n $this->flash->notice(\"Please save your Private-Key because it is not saved in the database. If you loose it the certificate needs to be revoked.\");\n echo '<div class=\"input-group \">\n <textarea rows=\"30\" class=\"form-control\" disabled>'.$resp[\"result\"][\"private_key\"].'</textarea>\n </div>';\n $certs = Certificates::findFirst([\n \"pem = :pem:\",\n \"bind\" => [\n \"pem\" => $resp[\"result\"][\"certificate\"]\n ]\n ]);\n return $this->dispatcher->forward([\n \"action\" => \"show\",\n \"params\" => [\n 'serial_number' => $certs->serial_number\n ]\n ]);\n }\n else {\n $this->flash->error($resp[\"errors\"][0][\"message\"]);\n }\n }\n $this->view->form = new CertificateCreateForm();\n }", "function setProject_OBSOLETE($project_attr=Array(), $asRoot=0,$owner=0){\n \n // set project path\n $proj_code = createLabel_proj(); \n $proj_fn = $_SESSION['User']['id'].\"/$proj_code\";\n $proj_rfn = $GLOBALS['dataDir'].\"/$proj_fn\";\n\n\n // create project folder\n $proj_id = createProjectDir($proj_fn,$proj_rfn,$project_attr,$asRoot,$owner);\n\n return array($proj_id,$proj_code);\n}", "public function createTagMap()\n {\n $this->create(array(\n 'lesson_id' => $this->getLesson(),\n 'tag_id' => $this->getTag()\n ));\n }", "public function insert($project, Forminator_Google_Service_Compute_UrlMap $postBody, $optParams = array())\n {\n $params = array('project' => $project, 'postBody' => $postBody);\n $params = array_merge($params, $optParams);\n return $this->call('insert', array($params), \"Forminator_Google_Service_Compute_Operation\");\n }", "public function insert($project, Google_Service_Compute_UrlMap $postBody, $optParams = array())\n {\n $params = array('project' => $project, 'postBody' => $postBody);\n $params = array_merge($params, $optParams);\n return $this->call('insert', array($params), \"Google_Service_Compute_Operation\");\n }", "public function getCertificateMapEntryId()\n {\n return $this->certificate_map_entry_id;\n }", "static function create( $objectData )\n {\n\t\t$row = array( 'country' => isset($objectData['Country']) ? $objectData['Country'] : '',\n\t\t\t\t\t 'city' => isset($objectData['City']) ? $objectData['City'] : '',\n\t\t\t\t\t 'latitude' => isset($objectData['Latitude']) ? $objectData['Latitude'] : 0,\n\t\t\t\t\t 'longitude' => isset($objectData['Longitude']) ? $objectData['Longitude'] : 0\n\t\t\t\t\t);\n\t\treturn new CityPO( $row ); \t\n }" ]
[ "0.5068696", "0.5064464", "0.4972471", "0.49352467", "0.4833797", "0.48202688", "0.4815921", "0.473583", "0.46590924", "0.46409327", "0.46155533", "0.45833337", "0.45694104", "0.4565406", "0.4516381", "0.44939643", "0.44912156", "0.44748852", "0.44620448", "0.4446305", "0.44419926", "0.44358617", "0.44294274", "0.4410078", "0.44057554", "0.43801385", "0.433216", "0.4328131", "0.43248126", "0.4248998" ]
0.70139074
0
Gets details of a single CertificateMapEntry. (certificateMapEntries.get)
public function get($name, $optParams = []) { $params = ['name' => $name]; $params = array_merge($params, $optParams); return $this->call('get', [$params], CertificateMapEntry::class); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getCertificateMapEntry()\n {\n return $this->certificate_map_entry;\n }", "public function getCertificateMapEntryId()\n {\n return $this->certificate_map_entry_id;\n }", "public function setCertificateMapEntryId($var)\n {\n GPBUtil::checkString($var, True);\n $this->certificate_map_entry_id = $var;\n\n return $this;\n }", "public function setCertificateMapEntry($var)\n {\n GPBUtil::checkMessage($var, \\Google\\Cloud\\CertificateManager\\V1\\CertificateMapEntry::class);\n $this->certificate_map_entry = $var;\n\n return $this;\n }", "public function getEntry();", "public function getEntry();", "public function getContactInfo($key)\n\t{\n\t\treturn object_get($this->contact_info, $key, null);\n\t}", "public function GetCertificateDetails($certificateId) {\n\t\treturn $this->doQuery(\"passbookCerts/\".$certificateId, \"GET\");\n\t}", "public function get($key){\r\n\t\treturn $this->calypte->get($key);\r\n\t}", "public function patch($name, CertificateMapEntry $postBody, $optParams = [])\n {\n $params = ['name' => $name, 'postBody' => $postBody];\n $params = array_merge($params, $optParams);\n return $this->call('patch', [$params], Operation::class);\n }", "function get($key) {\n if (array_key_exists($key, $this->data_map)) {\n return $this->data_map[$key];\n }\n return null;\n }", "#[\\ReturnTypeWillChange]\n public function offsetGet($key)\n {\n return $this->getAttribute($key);\n }", "public function offsetGet($offset)\n {\n return $this->_entries[$offset];\n }", "public function offsetGet($key)\n {\n return $this->lookup($key);\n }", "public function offsetGet($key)\n {\n return $this->attributes[$key];\n }", "public function offsetGet($key)\n {\n return $this->data[$key];\n }", "public function offsetGet($key)\n {\n return $this->data[$key];\n }", "public function info($key = null)\n\t{\n\t\treturn $key === null ? $this->curl->info : @$this->curl->info[$key];\n\t}", "public function getInfoByKey($key)\n {\n if (array_key_exists($key, $this->_info)) {\n return $this->_info[$key];\n }\n return null;\n }", "public function offsetGet($key)\n {\n return $this->__get($key);\n }", "public function get($section, $key)\n {\n foreach ($this->lines as $line) {\n if ($line['type'] != 'entry') {\n continue;\n }\n if ($line['section'] != $section) {\n continue;\n }\n if ($line['key'] != $key) {\n continue;\n }\n return $line['value'];\n }\n\n throw new RuntimeException('Missing Section or Key');\n }", "function get_entry ( $config_key ) {\n\t\tif ( empty( $this->entries[ $config_key ] ) ) return FALSE;\n\t\treturn $this->entries[ $config_key ];\n\t}", "public function getInfo($key = NULL)\r\n\t\t{\r\n\t\t\t\t$this->_updateArrays();\r\n\r\n\t\t\t\tif ($key == NULL) {\r\n\t\t\t\t\t\treturn $this->_info;\r\n\t\t\t\t} else {\r\n\t\t\t\t\t\treturn $this->_info[$key];\r\n\t\t\t\t}\r\n\t\t}", "public function getAttributes($entry);", "public function get($key) {}", "public function get($key) {}", "public function get($key);", "public function get($key);", "public function get($key);", "public function get($key);" ]
[ "0.7651637", "0.66799337", "0.5834477", "0.57663196", "0.5415008", "0.5415008", "0.5345784", "0.52918005", "0.52893144", "0.51261747", "0.50882053", "0.49897638", "0.49685013", "0.49535647", "0.49468377", "0.492549", "0.492549", "0.49055478", "0.49035913", "0.48659903", "0.48457417", "0.48444927", "0.48436594", "0.4825486", "0.48205274", "0.48205274", "0.47817415", "0.47817415", "0.47817415", "0.47817415" ]
0.7279593
1
Lists CertificateMapEntries in a given project and location. (certificateMapE ntries.listProjectsLocationsCertificateMapsCertificateMapEntries)
public function listProjectsLocationsCertificateMapsCertificateMapEntries($parent, $optParams = []) { $params = ['parent' => $parent]; $params = array_merge($params, $optParams); return $this->call('list', [$params], ListCertificateMapEntriesResponse::class); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function listUrlMaps($project, $optParams = array())\n {\n $params = array('project' => $project);\n $params = array_merge($params, $optParams);\n return $this->call('list', array($params), \"Google_Service_Compute_UrlMapList\");\n }", "public function setCertificateMapEntryId($var)\n {\n GPBUtil::checkString($var, True);\n $this->certificate_map_entry_id = $var;\n\n return $this;\n }", "public function get($project, $urlMap, $optParams = array())\n {\n $params = array('project' => $project, 'urlMap' => $urlMap);\n $params = array_merge($params, $optParams);\n return $this->call('get', array($params), \"Forminator_Google_Service_Compute_UrlMap\");\n }", "public function setCertificateMapEntry($var)\n {\n GPBUtil::checkMessage($var, \\Google\\Cloud\\CertificateManager\\V1\\CertificateMapEntry::class);\n $this->certificate_map_entry = $var;\n\n return $this;\n }", "function list_keyrings($projectId, $location = 'global')\n{\n // Instantiate the client, authenticate, and add scopes.\n $client = new Google_Client();\n $client->useApplicationDefaultCredentials();\n $client->addScope('https://www.googleapis.com/auth/cloud-platform');\n\n // Create the Cloud KMS client.\n $kms = new Google_Service_CloudKMS($client);\n\n // The resource name of the CryptoKey.\n $parent = sprintf('projects/%s/locations/%s',\n $projectId,\n $location\n );\n\n // Get the CryptoKey versions and print them.\n $rings = $kms->projects_locations_keyRings\n ->listProjectsLocationsKeyRings($parent);\n foreach ($rings as $keyRing) {\n printf(\"Name: %s\\nCreate Time: %s\\n\",\n $keyRing->getName(),\n $keyRing->getCreateTime()\n );\n }\n}", "public function get($project, $urlMap, $optParams = array())\n {\n $params = array('project' => $project, 'urlMap' => $urlMap);\n $params = array_merge($params, $optParams);\n return $this->call('get', array($params), \"Google_Service_Compute_UrlMap\");\n }", "public function listProjectsLocationsClusters($parent, $optParams = [])\n {\n $params = ['parent' => $parent];\n $params = array_merge($params, $optParams);\n return $this->call('list', [$params], ListClustersResponse::class);\n }", "public function getCertificateMapEntry()\n {\n return $this->certificate_map_entry;\n }", "public static function getCertLocations(): CertLocations\n {\n return CertLocations::getInstance();\n }", "public function getCertificateMapEntryId()\n {\n return $this->certificate_map_entry_id;\n }", "public function getKeyMaps() {\n return [\"https://maps.googleapis.com/maps/api/js?key=AIzaSyAk7ID4iZPTk7o08S1Oc2DJGL7ACqZ1Yz4&callback=initMap\"];\n }", "public function getMaps()\n {\n return $this->maps;\n }", "public function listProjectsLocationsJobs($parent, $optParams = [])\n {\n $params = ['parent' => $parent];\n $params = array_merge($params, $optParams);\n return $this->call('list', [$params], ListJobsResponse::class);\n }", "public function listProjectsLocationsRegistrations($parent, $optParams = [])\n {\n $params = ['parent' => $parent];\n $params = array_merge($params, $optParams);\n return $this->call('list', [$params], ListRegistrationsResponse::class);\n }", "public static function getMapLinks(array $data) : array {\n $sourceMaps = $data['maps'] ?? [$data['maps[0]'] ?? null, $data['maps[1]'] ?? null, $data['maps[2]'] ?? null, ];\n $maps = [];\n $dir = dirname(__DIR__);\n if (!empty($sourceMaps[0])) { $maps[0] = str_replace($dir,'',$sourceMaps[0]); }\n if (!empty($sourceMaps[1])) { $maps[1] = str_replace($dir,'',$sourceMaps[1]); }\n if (!empty($sourceMaps[2])) { $maps[2] = str_replace($dir,'',$sourceMaps[2]); }\n\n return $maps;\n\n }", "function scanMaps() {\n $ds = DIRECTORY_SEPARATOR;\n $files = [];\n $root = realpathOrFail(keyValue('maps')).$ds;\n\n // pa/\n // pa/th/\n // pa/th/map.json - not descending into pa/th/\n // pa/se/\n // pa/se/co/\n $scan = function (array $path) use (&$scan, $root, &$files, $ds) {\n $pathString = $path ? join($ds, $path).$ds : '';\n\n // opendir() is the only function within $scan that may fail. is_...()\n // functions never fail (thanks to IS_EXISTS_CHECK in php_stat(), see\n // ext\\standard\\filestat.c).\n try {\n // If the directory we're opening was removed after its name was read\n // by the parent $scan, this will error. Same if its parent was removed.\n //\n // If the directory is removed after opendir() when we call readdir(),\n // the latter will return false (and no warning) and closedir() will\n // succeed. If the directory is moved or any of its parents is moved or\n // removed, readdir() will continue reading it - this will make our\n // paths wrong but such situations will be detected once we try reading\n // map.json.\n //\n // Tested on ext4 and tmpfs.\n $dir = opendir($root.$pathString);\n } catch (Throwable $e) {\n return;\n }\n\n while (false !== $file = readdir($dir)) {\n if ($file !== '.' and $file !== '..') {\n $full = $root.$pathString.$file;\n clearstatcache(false, $full);\n\n if (is_dir($full)) {\n $mapFile = $full.$ds.'map.json';\n clearstatcache(false, $mapFile);\n\n $subPath = array_merge($path, [$file]);\n\n if (is_file($mapFile)) {\n $files[] = join('/', array_map('rawurlencode', $subPath));\n } else {\n $scan($subPath);\n }\n }\n }\n }\n\n closedir($dir);\n };\n\n $scan([]);\n $events = [];\n\n foreach ($this->maps + array_flip($files) as $key => $existing) {\n $mapFile = $root.str_replace('/', $ds, rawurldecode($key)).$ds.'map.json';\n\n try {\n $mtime = filemtime($mapFile);\n } catch (Throwable $e) {\n $mtime = null;\n }\n\n if (!$mtime) {\n if (is_object($existing)) {\n $events[] = ['remove', ['maps', $key]];\n unset($this->maps[$key]);\n }\n } elseif ($mtime !== ($existing->mtime ?? null)) {\n // New or changed.\n try {\n $data = json_decode(file_get_contents($mapFile));\n } catch (Throwable $e) {}\n if (($data->format ?? null) === FORMAT_VERSION) {\n $data->mtime = $mtime; // internal, for $mtime check above\n $info = ((array) uploadInfo(dirname($mapFile))) + ['changeTime' => $mtime];\n foreach (['changeTime', 'addTime', 'playTime', 'playCount'] as $k) {\n $data->$k = $info[$k] ?? null;\n }\n $events[] = ['add', ['maps', $key, $data]];\n $this->maps[$key] = $data;\n }\n }\n }\n\n $this->send($events);\n }", "public function validate($project, $urlMap, Forminator_Google_Service_Compute_UrlMapsValidateRequest $postBody, $optParams = array())\n {\n $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody);\n $params = array_merge($params, $optParams);\n return $this->call('validate', array($params), \"Forminator_Google_Service_Compute_UrlMapsValidateResponse\");\n }", "public function nbMaps() {\n $tool = new Tool();\n $nbMaps = $tool->nbFilesInDirectory(self::$_MAP_DIRECTORY);\n return $nbMaps;\n }", "public function maps() {\n return $this->hasMany(Map::class);\n }", "function list_cryptokeys($projectId, $ring, $location = 'global')\n{\n // Instantiate the client, authenticate, and add scopes.\n $client = new Google_Client();\n $client->useApplicationDefaultCredentials();\n $client->addScope('https://www.googleapis.com/auth/cloud-platform');\n\n // Create the Cloud KMS client.\n $kms = new Google_Service_CloudKMS($client);\n\n // The resource name of the CryptoKey.\n $parent = sprintf('projects/%s/locations/%s/keyRings/%s',\n $projectId,\n $location,\n $ring\n );\n\n // Get the CryptoKey versions and print them.\n $keys = $kms->projects_locations_keyRings_cryptoKeys\n ->listProjectsLocationsKeyRingsCryptoKeys($parent);\n foreach ($keys as $cryptoKey) {\n printf(\"Name: %s\\nCreate Time: %s\\nPurpose: %s\\nPrimary Version: %s\\n\\n\",\n $cryptoKey->getName(),\n $cryptoKey->getCreateTime(),\n $cryptoKey->getPurpose(),\n $cryptoKey->getPrimary()->getName()\n );\n }\n}", "public function listProjectsLocationsFeatures($parent, $optParams = [])\n {\n $params = ['parent' => $parent];\n $params = array_merge($params, $optParams);\n return $this->call('list', [$params], ListFeaturesResponse::class);\n }", "function view_maps()\n {\n $page = $this->page;\n \n $this->load->model('worldmodel');\n $page['maps'] = $this->worldmodel->get_all();\n \n $page['content'] = 'map_view_all';\n $this->load->view('template', $page);\n \n }", "private function _getKeyIdMap(): array\n {\n // lazily build mapping\n if (! isset($this->keyIdMap)) {\n $this->keyIdMap = [];\n foreach ($this->certs as $cert) {\n $id = self::_getCertKeyId($cert);\n if (! isset($this->keyIdMap[$id])) {\n $this->keyIdMap[$id] = [];\n }\n array_push($this->keyIdMap[$id], $cert);\n }\n }\n return $this->keyIdMap;\n }", "function cert_map() {\n // Pulls certificate data from Google Doc and generates array\t\n $arrCSV = csvToArr( \"\", ',' );\n // Pull OUID API data to generate array\n $arrOUID = ouidToArr( \"https://www.reso.org/ouid/\" );\n // Calls function to merge arrays by OUID\t\n $arrResult = merge_two_arrays( $arrCSV, $arrOUID );\n// // Identifies duplicate records\t\n// find_duplicates( $arrResult );\n\n $jsonResult = str_replace( '[\"', '[', str_replace( '\"]', ']', json_encode( $arrResult ) ) );\n $list = \"<div><script> certJSON =\" . $jsonResult . \";</script></div>\";\n $fp = fopen( 'mapcert.json', 'w' );\n fwrite( $fp, $jsonResult );\n fclose( $fp );\n $list .= '<div id=\"map\" style=\"width:100%; height:700px;margin: 0 auto; background:#2b94cb;\"></div>';\n return $list;\n}", "function list_cryptokey_versions($projectId, $ring, $key, $location = 'global')\n{\n // Instantiate the client, authenticate, and add scopes.\n $client = new Google_Client();\n $client->useApplicationDefaultCredentials();\n $client->addScope('https://www.googleapis.com/auth/cloud-platform');\n\n // Create the Cloud KMS client.\n $kms = new Google_Service_CloudKMS($client);\n\n // The resource name of the CryptoKey.\n $parent = sprintf('projects/%s/locations/%s/keyRings/%s/cryptoKeys/%s',\n $projectId,\n $location,\n $ring,\n $key\n );\n\n // Get the CryptoKey versions and print them.\n $versions = $kms->projects_locations_keyRings_cryptoKeys_cryptoKeyVersions\n ->listProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions($parent);\n foreach ($versions as $cryptoKeyVersion) {\n printf(\"Name: %s\\nCreate Time: %s\\nState: %s\\n\\n\",\n $cryptoKeyVersion->getName(),\n $cryptoKeyVersion->getCreateTime(),\n $cryptoKeyVersion->getState()\n );\n }\n}", "public function listProjectsLocationsGrpcRoutes($parent, $optParams = [])\n {\n $params = ['parent' => $parent];\n $params = array_merge($params, $optParams);\n return $this->call('list', [$params], ListGrpcRoutesResponse::class);\n }", "public function validate($project, $urlMap, Google_Service_Compute_UrlMapsValidateRequest $postBody, $optParams = array())\n {\n $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody);\n $params = array_merge($params, $optParams);\n return $this->call('validate', array($params), \"Google_Service_Compute_UrlMapsValidateResponse\");\n }", "public function getUrlMap()\n {\n return $this->urlMap;\n }", "public function ListCertificates() {\n\t\treturn $this->doQuery(\"passbookCerts\", \"GET\");\n\t}", "public function get_world_map_data() : array {\n $results = [ // set array defaults\n 'self' => [],\n 'children' => [],\n 'deeper_levels' => [],\n ];\n\n $results['self'] = $this->format_location_grid_types( Disciple_Tools_Mapping_Queries::get_earth() );\n $results['self']['population_formatted'] = number_format( $results['self']['population'] ?? 0 );\n\n $results['children'] = $this->get_countries_map_data();\n $results['deeper_levels'] = $this->get_deeper_levels( $results['children'] );\n\n return $results;\n }" ]
[ "0.56761646", "0.50326043", "0.4947797", "0.48817325", "0.48580506", "0.4842793", "0.45275897", "0.43380216", "0.41888493", "0.41588417", "0.41458786", "0.41422907", "0.41311097", "0.41221353", "0.41037494", "0.40956977", "0.40127447", "0.40069312", "0.4002419", "0.3978297", "0.39643222", "0.3963642", "0.39568275", "0.39270434", "0.39126965", "0.39031664", "0.39011595", "0.3885246", "0.38813934", "0.38668072" ]
0.7775048
0
Updates a CertificateMapEntry. (certificateMapEntries.patch)
public function patch($name, CertificateMapEntry $postBody, $optParams = []) { $params = ['name' => $name, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('patch', [$params], Operation::class); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setCertificateMapEntry($var)\n {\n GPBUtil::checkMessage($var, \\Google\\Cloud\\CertificateManager\\V1\\CertificateMapEntry::class);\n $this->certificate_map_entry = $var;\n\n return $this;\n }", "public function setCertificateMapEntryId($var)\n {\n GPBUtil::checkString($var, True);\n $this->certificate_map_entry_id = $var;\n\n return $this;\n }", "public function getCertificateMapEntry()\n {\n return $this->certificate_map_entry;\n }", "public function create($parent, CertificateMapEntry $postBody, $optParams = [])\n {\n $params = ['parent' => $parent, 'postBody' => $postBody];\n $params = array_merge($params, $optParams);\n return $this->call('create', [$params], Operation::class);\n }", "public function updated(Dictionaryentries $dictionaryentries);", "public function updating(Dictionaryentries $dictionaryentries, array $data);", "public function getCertificateMapEntryId()\n {\n return $this->certificate_map_entry_id;\n }", "public function update(Request $request, certificate $certificate)\n {\n //\n }", "private function cert_update($data, $app, $suffix) {\n\t\tglobal $app;\n\n\t\t$this->cert_delete($data, $app, $suffix);\n\t\t$this->cert_insert($data, $app, $suffix);\n\t}", "public function updateCertification(Certification $certification)\n {\n }", "public function modify($dn, array $entry);", "public function patch($project, $urlMap, Google_Service_Compute_UrlMap $postBody, $optParams = array())\n {\n $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody);\n $params = array_merge($params, $optParams);\n return $this->call('patch', array($params), \"Google_Service_Compute_Operation\");\n }", "function update_entry()\n\t{\n\t\t// TODO\n\t}", "public function patch($project, $urlMap, Forminator_Google_Service_Compute_UrlMap $postBody, $optParams = array())\n {\n $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody);\n $params = array_merge($params, $optParams);\n return $this->call('patch', array($params), \"Forminator_Google_Service_Compute_Operation\");\n }", "public function update(Request $request)\n {\n $certificate = Certificate::find($request->id);\n $certificate->certificate = $request->certificate;\n $certificate->issue_by = $request->issueby;\n $certificate->year = $request->certificate_year;\n $certificate->month = $request->cerfificate_month;\n $certificate->lifetime = $request->lifetime;\n $certificate->user_id = Auth::id();\n $certificate->save();\n return redirect('seeker/profile');\n }", "public function ldap_modify($dn, $entry) {\n return ldap_modify($this->ldap_conn, $dn, $entry);\n }", "public function update(Request $request, Certification $certification)\n {\n //\n }", "public function update($data, $key, $value)\n {\n }", "public function update($key, $value, $locale)\n {\n // TODO: Implement update() method.\n }", "public function updateMap(){\n mapModel::insertMap($this, \"Update\");\n }", "public function UpdateCertificate(\\Google\\Cloud\\Security\\PrivateCA\\V1\\UpdateCertificateRequest $argument,\n $metadata = [], $options = []) {\n return $this->_simpleRequest('/google.cloud.security.privateca.v1.CertificateAuthorityService/UpdateCertificate',\n $argument,\n ['\\Google\\Cloud\\Security\\PrivateCA\\V1\\Certificate', 'decode'],\n $metadata, $options);\n }", "function PostProcess_Certificate(&$item,&$updatedatas)\n {\n $nparts=\n $this->ParticipantsObj()->Sql_Select_NHashes\n (\n array\n (\n \"Unit\" => $item[ \"Unit\" ],\n \"Event\" => $item[ \"Event\" ],\n \"Friend\" => $item[ \"Friend\" ],\n \"Certificate\" => 2,\n )\n );\n \n $cert=1;\n if ($nparts>0)\n {\n $cert=2;\n }\n\n if (empty($item[ \"Certificate\" ]) || $cert!=$item[ \"Certificate\" ])\n {\n $item[ \"Certificate\" ]=$cert;\n array_push($updatedatas,\"Certificate\");\n }\n\n if (!empty($item[ \"Certificate\" ]))\n {\n $where=$this->Inscription_Certificate_Where($item,$this->Certificate_Type);\n\n $certs=$this->CertificatesObj()->Sql_Select_Hashes($where);\n\n if ($item[ \"Certificate\" ]==1)\n {\n if (count($certs)>0)\n {\n $this->CertificatesObj()->Sql_Delete_Items($where);\n }\n }\n elseif ($item[ \"Certificate\" ]==2)\n {\n if (empty($certs))\n {\n $cert=\n array\n (\n \"Inscription\" => $item[ \"ID\" ],\n \"Unit\" => $item[ \"Unit\" ],\n \"Event\" => $item[ \"Event\" ],\n \"Friend\" => $item[ \"Friend\" ],\n \"Type\" => $this->Certificate_Type,\n \"Name\" => $item[ \"Name\" ],\n \"Code\" => $item[ \"Code\" ],\n );\n\n $this->CertificatesObj()->Sql_Insert_Item($cert);\n }\n }\n }\n }", "public function modify(string $dn, array $entry): self\n {\n @ldap_modify($this->resource, $dn, $entry);\n $this->verifyOperation();\n\n return $this;\n }", "public function set($section, $key, $value)\n {\n foreach ($this->lines as &$line) {\n if ($line['type'] != 'entry') {\n continue;\n }\n if ($line['section'] != $section) {\n continue;\n }\n if ($line['key'] != $key) {\n continue;\n }\n $line['value'] = $value;\n $line['data'] = $key . \" = \" . $value . PHP_EOL;\n return;\n }\n\n throw new RuntimeException('Missing Section or Key');\n }", "public function putEntry(RequestContext $request);", "public function get($name, $optParams = [])\n {\n $params = ['name' => $name];\n $params = array_merge($params, $optParams);\n return $this->call('get', [$params], CertificateMapEntry::class);\n }", "public function updateCertificationInfoAction()\n {\n \t$params=$this->getRequest()->getParams();\n \t$id=Auth_UserAdapter::getIdentity()->getId();\n \t$result=\\Extended\\certification::updateCertificationInfo($params);\n \tif($result){\n \t\t$certi_id=$params[\"certi_id\"];\n \t\t$result_arr=\\Extended\\certification::getEditCertificationInfo($certi_id);\n \t}\n \telse{\n \t\t$result_arr=array(\"msg\"=>\"error\");\n \t}\n \techo Zend_Json::encode($result_arr);\n \tdie;\n }", "public function update($project, $urlMap, Google_Service_Compute_UrlMap $postBody, $optParams = array())\n {\n $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody);\n $params = array_merge($params, $optParams);\n return $this->call('update', array($params), \"Google_Service_Compute_Operation\");\n }", "protected function updateHnsEntry() { return true; }", "public function update($project, $urlMap, Forminator_Google_Service_Compute_UrlMap $postBody, $optParams = array())\n {\n $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody);\n $params = array_merge($params, $optParams);\n return $this->call('update', array($params), \"Forminator_Google_Service_Compute_Operation\");\n }" ]
[ "0.64606005", "0.59111506", "0.57072866", "0.54833806", "0.54631054", "0.5287502", "0.5186551", "0.5149289", "0.5039833", "0.49413666", "0.49362972", "0.48953098", "0.48550734", "0.48383382", "0.4832728", "0.47631237", "0.4686554", "0.46657485", "0.4661072", "0.45638752", "0.45567352", "0.45353922", "0.44599894", "0.44582632", "0.4452178", "0.44325724", "0.4416406", "0.438257", "0.4373613", "0.43725407" ]
0.7891673
0
Funktionen function getSelected() get currintly selected relations items data, and update its list if any addes or deleted save selected items list as serilized string in session after modifing
function getSelected($relTables,$mode=false){ Global $session; Global $serializedSelectedRelationList; Global $countSelectedRelationList; $db = new DBCex(); //get relations list saved in session $relationsList=array(); $relations = safeUnserialize($session->GetSessionVar($_REQUEST['rel'])); //if no relation selected, create new empty array if (!is_array($relations)){ $relations = array(); } //modify relation list according to mode switch($mode){ //add new selected items to list case 'select': $addRelations = getAddedRelations(); $relations = array_merge($relations,$addRelations); break; //delete items from list case 'deselect': $deleteRelations = getDeletedRelations(); foreach($deleteRelations as $delItem){ foreach ($relations as $key=>$Item){ if ($delItem == $Item){ unset($relations[$key]); } } } break; } $newRelations=array(); if (!empty($relations)){ // get relations data from database foreach ($relations as $article){ //assign relation table id as current table id $relationTableId=$article[0]; //assign relation article id as current article id $relationArticleId=$article[1]; // get table info for current article $table=array(); foreach($relTables as $relTable){ if ($relationTableId == $relTable['id']){ $table = $relTable; } } //if relation table id is not in allowd tables list, go to next relation if (!$table) { continue; } $query = " SELECT '".$table['name']."' as tableName , '".$table['id']."' as tableId, "; $query .= $table['alias_field']." as title, ".$table['value_field']." as id"; $query .= " FROM ".$table['name']; $query .= " WHERE id = '".$relationArticleId."' "; $db->query($query); $r = $db->get(); if ($r){ $relationsList[] = $r; $newRelations[] = $article; } } } //assign new list to global variable, using this to return value with js to opener window $serializedSelectedRelationList = safeSerialize($newRelations); //assign the nummber of relations in list to variable, using this to return value with js to opener window $countSelectedRelationList = count($newRelations); //save modified list to session again $session->SetSessionVar($_REQUEST['rel'],$serializedSelectedRelationList); $session->SaveSessionVars(); return $relationsList; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function getSelected()\n {\n return $this->m_selected;\n }", "public function copy() {\n $this->load->auto('marketing/list');\n if (($this->request->server['REQUEST_METHOD'] == 'POST')) {\n foreach ($this->request->post['selected'] as $id) {\n $this->modelList->copy($id);\n }\n } else {\n $this->modelList->copy($_GET['id']);\n }\n echo 1;\n }", "public function setSelected($data) {$this->_selected = $data; }", "function updateFeUserSelection()\t{\n\t\t\t// STORING THE SELECTION MADE BY THE USER:\n\t\tif ($GLOBALS['TSFE']->loginUser && $this->piVars['DATA']['cmd_setSelection'])\t{\n\t\t\t$fe_user_uid = intval($GLOBALS['TSFE']->fe_user->user['uid']);\n\t\t\tif ($fe_user_uid>0)\t{\n\t\t\t\t$currentArray = unserialize($GLOBALS['TSFE']->fe_user->user['tx_extrepmgm_selext']);\n\t\t\t\tif (!is_array($currentArray))\t$currentArray=array();\n\t\t\t\t$currentArray['extSelection']=$this->piVars['DATA']['extkey'];\n\t\t\t\t$GLOBALS['TSFE']->fe_user->user['tx_extrepmgm_selext'] = serialize($currentArray);\n#debug($currentArray);\n\t\t\t\t$query = \"UPDATE fe_users SET tx_extrepmgm_selext='\".addslashes($GLOBALS['TSFE']->fe_user->user['tx_extrepmgm_selext']).\"' WHERE uid=\".$fe_user_uid;\n\t\t\t\t$res = mysql(TYPO3_db,$query);\n\t\t\t\techo mysql_error();\n#debug($query);\n\t\t\t}\n\t\t}\n\t}", "function DetectSelected()\n\t{\n\t\t$controller = strtolower(current_controller());\n\t\t$event = current_event();\n\t\t$data = md5(render_var($_GET));\n\t\t\n\t\tfor( $level=1; $level<=6; $level++ )\n\t\t{\n\t\t\tforeach( $this->GetItems() as $item )\n\t\t\t{\n\t\t\t\tif( $level < 4 )\n\t\t\t\t\tforeach( $item->GetItems() as $sub )\n\t\t\t\t\t{\n\t\t\t\t\t\tif( $sub->controller == $controller && \n\t\t\t\t\t\t\t($level > 2 || $sub->event == $event) && \n\t\t\t\t\t\t\t($level > 1 || $sub->data == $data) )\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t$sub->SetSelected();\n\t\t\t\t\t\t\t$item->SetSelected();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t\tif( $item->controller == $controller && \n\t\t\t\t\t\t($level > 5 || $item->event == $event) && \n\t\t\t\t\t\t($level > 4 || $item->data == $data) )\n\t\t\t\t\t{\n\t\t\t\t\t\t$item->SetSelected();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public function getSelectionList()\n\t{\n\t\treturn $this->model->active()->orderBy('name', 'asc')->get();\n\t}", "function read_selected_items() {\n\t $id = GetReq('id'); \n\t $cat = GetReq('cat');\n\t\t\n\t\tif ($id) \n\t\t $this->selected_items = $this->get_specific_item(1,$this->imgxval,$this->imgyval,$id); \n\t\telseif ($cat)\n\t\t $this->selected_items = $this->get_category_items(100,$this->imgxval,$this->imgyval,$cat);\n\t\telse\n\t $this->selected_items = $this->get_last_viewed_items(100,$this->imgxval,$this->imgyval);\n\t\t \t\n\t\t//..order array by key\n\t\tksort($this->selected_items);\t\t\t\n\t}", "public function selected()\n {\n parent::selected();\n $this->name = '';\n }", "private function updateInterestedRelation()\n {\n $idUser = $this->currentUser['iduser'];\n $idRelation = htmlspecialchars($_POST['id']);\n $value = htmlspecialchars($_POST[\"value\"]);\n $value = $value=='true'?true:false;\n if ($value){ \n ParameterModel::addUserSelectedRelation($idUser, $idRelation);\n }\n else{\n ParameterModel::removeUserSelectedRelation($idUser, $idRelation); \n $this->addMessageSuccess('Les relations ont ete mises a jour');\n } \n }", "abstract protected function handleSelected();", "protected function readjsOnChangeSelected()\n { return $this->_jsonchangeselected; }", "function getCurrentItem();", "function setSelectedClientAction(){\n $rut = $this->post('rut');\n // ############### MEJORAR SEGURIDAD EVITANDO INJECCION SQL!!! #######\n $query = \"select * from persona where rut = '$rut' and cliente = 1 and activo = 1;\";\n $cliente = (new User)->customQuery($query)-> fetch();\n if ($cliente == false) {\n unset($_SESSION['selectedCliente']);\n echo json_encode(['success'=> false, 'alert_param'=>'?alert=rut_no_encontrado']); exit;\n }\n $_SESSION['selectedCliente']= $cliente;\n echo json_encode(['cliente'=> $cliente, 'alert_param'=>'?alert=cliente_seleccionado', 'success'=> true]); exit;\n\n }", "public function getSelected()\n {\n return $this->selected;\n }", "public static function getSelectedItems()\n {\n $selectedItems = Yii::$app->request->post('selected');\n\n $items = [];\n\n // download selected items if there are some\n if (is_array($selectedItems)) {\n foreach ($selectedItems as $itemId) {\n $item = FileSystemItem::getItemById($itemId);\n if ($item !== null) {\n $items[] = $item;\n }\n }\n }\n return $items;\n }", "public function get()\n {\n return $this->selected;\n }", "public function findSelectedEntityInfo()\n {\n $getEntitiesMethod = \"get\".ucfirst($_GET['type']);\n foreach ($this->model->{$getEntitiesMethod}() as $entity) {\n if ($entity['id'] == $_GET['id']) {\n $this->model->setSelectedEntityInfo($entity);\n break;\n }\n }\n }", "function _swimmerSelections()\n {\n return parent::_swimmerSelections(true) ;\n }", "protected function handleListCopyBatch($selected)\n\t{\n\t\t// Batch Copy \n\t\t$set_messages = true;\n\t\t$this->getTreeModel()->copy($selected);\n\t\tif($set_messages) $this->getTreeModel()->setMessages();\n\t\t$this->redirect();\t\n\t}", "function getSelectionFromSession(){\n $sel=getSessionVar('selection');\n return !empty($sel[$this->_moid])?$sel[$this->_moid]:false;\n }", "function delete_selected()\n {\n $selected = explode(',', $this->input->post('selected'));\n $data['qty_deleted'] = 0;\n \n foreach ( $selected as $row_id ) \n {\n $data['qty_deleted'] += $this->Cuestionario_model->delete($row_id);\n }\n\n //Establecer resultado\n if ( $data['qty_deleted'] > 0 ) { $data['status'] = 1; }\n $this->output->set_content_type('application/json')->set_output(json_encode($data));\n }", "public function getSelectedProducts(){\n\t\tif (!$this->hasSelectedProducts()) {\n\t\t\t$products = array();\n\t\t\tforeach ($this->getSelectedProductsCollection() as $product) {\n\t\t\t\t$products[] = $product;\n\t\t\t}\n\t\t\t$this->setSelectedProducts($products);\n\t\t}\n\t\treturn $this->getData('selected_products');\n\t}", "function browseUserSelection($ar=NULL){\n $p=new XParam($ar,NULL);\n $tplentry=$p->get('tplentry');\n $result=array('oids'=>array(),'lines_oid'=>array());\n // Utilistion d'un pointeur afin que la modification de data modifie la session elle meme\n $data=&$this->getSelectionFromSession();\n foreach($data as $oid=>&$foo){\n if(method_exists($this,'_browseUserSelection')){\n\t$r=$this->_browseUserSelection($oid,$foo);\n\tif(is_array($r)){\n\t $result['lines'][]=$r;\n\t $result['lines_oid'][]=$oid;\n\t}else{\n\t unset($data[$oid]);\n\t continue;\n\t}\n }else{\n\t$xds=XDataSource::objectFactoryHelper8('BCLASS=XDSTable&SPECS='.$oid);\n\tif(!$xds->objectExists($oid)) {\n\t unset($data[$oid]);\n\t continue;\n\t}\n\tif(!$this->object_sec || $this->secure($oid,'display')){\n\t $result['lines'][]=$xds->rDisplay($oid,array(),true);\n\t $result['lines_oid'][]=$oid;\n\t}else{\n\t unset($data[$oid]);\n\t continue;\n\t}\n }\n }\n $this->applyObjectsSecUserSelection($result);\n $this->browseActionsUserSelection($result);\n $result['_modulename']=$this->modulename;\n $result['_count']=count($result['lines_oid']);\n $result['_template']='xmodule/browseSelection.html';\n $result['_moid']=$this->_moid;\n return XShell::toScreen1($tplentry,$result);\n }", "public function getSelectedProductsCollection(){\n\t\t$collection = $this->getProductInstance()->getProductCollection($this);\n\t\treturn $collection;\n\t}", "public\tfunction\tlisteGuilde( )\n\t\t{\t\t\n\t\t\t\tif(parent::model_select( \t'guilde'\t)){\n\t\t\t\t\t$liste = parent::model_select( \t'guilde'\t);\t\n\t\t\t\t\treturn $liste;\n\t\t\t\t}else{\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t}", "protected function _getSelectedProducts()\n {\n $collection = Mage::getResourceModel('storefinder/poi_product_collection')\n // which one is better ?\n //->getProductIds(Mage::registry('storefinder_poi_data')->getId());\n ->getProductIds($this->getRequest()->getParam('id'));\n \n foreach ($collection as $product) {\n $products[] = $product->getProductId();\n }\n\n return $products;\n }", "function getAdminsOption()\n{\n global $managedBy;\n global $task;\n $actualAdmin = $_SESSION['id'];\n $admins = getAdmins();\n\n $firstone = \"\";\n\n $options = \"\";\n foreach ($admins as $admin) {\n $name = $admin['lastName'] . \" \" . $admin['firstName'] . \" - \" . $admin['email'];\n $value = $admin['idUser'];\n //if admin is selected adding selected to keep selection\n $selected = $managedBy == $value ? 'selected' : '';\n //Remove the actual owner from the list\n if ($value != $actualAdmin || $task['managedBy'] == null) {\n $options .= \"<option value='$value' $selected>$name</option>\";\n }\n }\n //adding logged admin in first in the options list;\n $options = $firstone . $options;\n return $options;\n}", "public function load_doc()\n {\n if (!$this->input->is_ajax_request()) {\n show_404();\n exit;\n }\n $data = $this->ajax_model->load_doc();\n if($this->input->post('isSelected'))\n {\n $selected = ' selected=\"selected\" ';\n }\n else\n {\n $selected = '';\n }\n $op = '<option value=\"0\">انتخاب کنید...</option>';\n if($data AND is_array($data) AND count($data) > 0)\n {\n for($i = 0; $i < count($data); $i++)\n {\n if(is_array($data[$i]['sub']) AND count($data[$i]['sub']) > 0)\n {\n $op .= '<optgroup label=\"' . $data[$i]['text'] . '\">';\n for($j = 0; $j < count($data[$i]['sub']); $j++)\n {\n if($this->input->post('isSelected') == $data[$i]['sub'][$j]['id'])\n {\n $op .= '<option value=\"' . $data[$i]['sub'][$j]['id'] . '\"' . $selected . '>' . $data[$i]['sub'][$j]['text'] . '</option>';\n }\n else\n {\n $op .= '<option value=\"' . $data[$i]['sub'][$j]['id'] . '\">' . $data[$i]['sub'][$j]['text'] . '</option>';\n }\n }\n $op .= '</optgroup>';\n }\n else\n {\n if($data[$i]['id'] != 8)\n {\n if($this->input->post('isSelected') == $data[$i]['id'])\n {\n $op .= '<option value=\"' . $data[$i]['id'] . '\"' . $selected . '>' . $data[$i]['text'] . '</option>';\n }\n else\n {\n $op .= '<option value=\"' . $data[$i]['id'] . '\">' . $data[$i]['text'] . '</option>';\n }\n }\n }\n if($i == (count($data) - 1))\n {\n if($this->input->post('isSelected') == 8)\n {\n $op .= '<option value=\"8\"' . $selected . '>سایر</option>';\n }\n else\n {\n $op .= '<option value=\"8\">سایر</option>';\n }\n }\n }\n }\n \n echo $op;\n }", "protected function actionSelectedStore($params){\n\t\t\n\t\t$response = array();\n\t\t\n\t\tif(!empty($params['add'])) {\n\t\t\tif($this->beforeAdd($params)){\n\t\t\t\t$ids = json_decode($params['add'],true);\n\n\t\t\t\t$linkmodelField = $this->linkModelField();\n\t\t\t\t$remoteKey = $this->getRemoteKey();\n\t\t\t\t$linkModelName = $this->linkModelName();\n\n\t\t\t\tforeach($ids as $id){\n\t\t\t\t\t$linkModel = new $linkModelName();\n\t\t\t\t\t\n\t\t\t\t\tif(isset($params['addAttributes']) && ($attr = json_decode($params['addAttributes'], true)))\n\t\t\t\t\t\t$linkModel->setAttributes($attr);\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t$linkModel->$linkmodelField = $id;\n\t\t\t\t\t$linkModel->$remoteKey = $params['model_id'];\t\t\t\t\t\n\t\t\t\t\t$linkModel->save();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\t$model = \\GO::getModel($this->modelName());\n\t\t$linkModel = \\GO::getModel($this->linkModelName());\n\t\t\n\t\t$store = \\GO\\Base\\Data\\Store::newInstance($model);\n\t\t$this->formatColumns($store->getColumnModel());\n\t\t\n\t\tif($model->aclField())\n\t\t\t$store->getColumnModel()->formatColumn('permission_level', '$model->permissionLevel');\n\t\t\n\t\ttry {\n\t\t\tif($this->beforeDelete($params)){\n\t\t\t\t$store->processDeleteActions(\n\t\t\t\t\t$params,\n\t\t\t\t\t$this->linkModelName(),\n\t\t\t\t\t$this->getExtraDeletePks($params)\n\t\t\t\t\t);\n\t\t\t} else {\n\t\t\t\t$response['deleteSuccess'] = true;\n\t\t\t}\n\t\t} catch (\\Exception $e) {\n\t\t\t$response['deleteSuccess'] = false;\n\t\t\t$response['deleteFeedback'] = $e->getMessage();\n\t\t}\n\t\t\n\t\t$joinCriteria = \\GO\\Base\\Db\\FindCriteria::newInstance()\n\t\t\t->addCondition(\n\t\t\t\t\t\t\t$model->primaryKey(),\n\t\t\t\t\t\t\t'lt.'.$this->linkModelField(),\n\t\t\t\t\t\t\t'=',\n\t\t\t\t\t\t\t't',\n\t\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t\ttrue)\n\t\t\t->addCondition($this->getRemoteKey(),$params['model_id'],'=','lt');\t\t\t\n\t\t\n\t\t$findParams = $store->getDefaultParams($params)\n\t\t\t\t\t\t->ignoreAcl()\n\t\t\t\t\t\t->select('t.*,lt.*');\n\t\t\n\t\t$findParams->join($linkModel->tableName(), $joinCriteria, 'lt', 'INNER');\n\n\t\t$selectedModels = $model->find($findParams);\n\t\t\n\t\t$store->setStatement($selectedModels);\n\t\t\n\t\t\n\n\t\t$response = array_merge($response,$store->getData());\n\t\t\n\t\treturn $response;\n\t}", "function selected($category,$get){\n $selected = ($category == $get) ? \"selected='selected'\" : \"\";\n\n return $selected;\n }" ]
[ "0.6027239", "0.59937555", "0.588262", "0.56431556", "0.5639817", "0.5634495", "0.56069076", "0.558964", "0.55138946", "0.5475521", "0.547281", "0.5468425", "0.5464895", "0.54210544", "0.54190147", "0.54098994", "0.53953534", "0.5394348", "0.53779763", "0.52746475", "0.5267966", "0.52643883", "0.5249426", "0.52481985", "0.5244285", "0.52222687", "0.5199542", "0.5191631", "0.51799667", "0.5176324" ]
0.6316457
0
function search() search in selected tables for related articles or media files
function search($relTables,$launch,$searchText='',$myid=''){ Global $serializedSelectedRelationList; if(!$relTables || empty($relTables)) return array(); //show last 5 items from tables when no searchText $limit = 5; //search 50 items in search mode, you can change the result order by assigning //(add_sql) parameter for this field $maxLimit=50; $db = new DBCex(); //get a list of current selected relations $relations = safeUnserialize($serializedSelectedRelationList); //if no relation selected, create new empty array if (!is_array($relations)){ $relations = array(); } $queryTable=array(); foreach($relTables as $key => $table){ //if table have no name (application) go to next table if (!$table['id'] || !$table['name']){ continue; } // if a table name selected in dropdown field, search only in this table if ($_REQUEST['ddf'] && $_REQUEST['ddf'] != $table['name']){ continue; } $query = "(SELECT '".$table['name']."' as tableName , '".$table['id']."' as tableId, "; $query .= $table['alias_field']." as title, ".$table['value_field']." as id"; $query .= " FROM ".$table['name']; //if user give search text if ($searchText){ $andQuery []= $table['alias_field']." LIKE '%".$db->mysqlQuote($searchText)."%'"; } if($_REQUEST['ddf']){ $limit=$maxLimit; } if ($andQuery){ $query .= " WHERE ".join(" AND ",$andQuery); } if ($table['add_sql']){ $query .= " ".$table['add_sql']; } $query .= " LIMIT ".$limit; $query .= " )"; $queryTable [] = $query; } $query = join(" UNION ", $queryTable); #print($query); $db->query($query); $res= array(); while ($r = $db->get()){ $valueDupplicated = false; //dont allow selected relation to appear in search result list foreach($relations as $item){ if ($item[0]== $r['tableId'] && $item[1]==$r['id']){ $valueDupplicated = true; } } // dont allow current article to appear in search result list if ($myid && ($launch == $r['tableId'] && $myid ==$r['id'])){ $valueDupplicated = true; } //if item not in selected list, add to search result array if (!$valueDupplicated) { $res[]=$r; } } return $res; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function search();", "function search($term,$tableName)\n{\n\t//<TODO> SQL Injection Attacks Prevention\n\t//<TODO> Implement sorting so that most relevent search results will appear first. One way relevance can be checked is by measuring the percent constitution of the term in the field. Higher percent means higher relevance.\n\t//<TODO> Implement search in other tables as well that are directly related to this table. 1 minor table is \"Directly\" related to major table if the information in the minor table should have been incorporated in the major table. \n\t//<TODO> Implement condition to not check for fields that are not visible publically such as u_referralemail.\n\tglobal $gf_con;\n\t$q=\"show columns from $tableName\";\n\t$r=$gf_con->query($q);\n\t\n\t$f=false;\n\t$qc=\"select * from $tableName where\";\n\twhile($row=$r->fetch_array())\t//<TODO> Confirm if this works.\n\t{\n\t\tif(strpos($row['Type'],\"var\")===false and strpos($row['Type'],\"text\")===false) continue;\n\t\tif(strpos($row['Field'],\"pass\")===false); else continue;\n\t\tif($f)\n\t\t{\n\t\t\t$qc.=\" or {$row['Field']} like '%$term%'\";\t\t\t\n\t\t}\n\t\telse\n\t\t{\n\t\t\t$f=true;\n\t\t\t$qc.=\" {$row['Field']} like '%$term%'\";\n\t\t}\t\n\t}\n\t$r=$gf_con->query($qc);\n\treturn $r;\n}", "function doSearch(){\n if($this->find != ''){\n if((is_array($this->files) AND count($this->files) > 0) OR $this->files != '') $this->doFiles($this->search_function);\n if($this->directories != '') $this->doDirectories($this->search_function);\n }\n }", "function contentSearch($params)\n{\n\n\t$sendParams = array();\n\t$i = 0;\n\n\tif (!$params['search_terms'])\n\tdie(\"search_terms is required\");\n\n\t$validParams = array(\"action\",\"contentid\",\"include_children\",\"typeid\",\"has_tag\",\"search_terms\",\"search_description\",\"search_customfields\",\"verbosity\",\"parentid\",\"orderby\");\n\n\t$sql = \"\";\n\n\tif (!isset($params['type']) || $params['type'] == 'content') {\n\n\t\t$sql .= \" ( SELECT 'content' as type, content.id as contentid, content.parentid as parentid, 0 as mediaid, content.templateid,\" .\n\t\t\t\t \"content.migtitle as contenttitle, '' as mediatitle, content.createdby, content.createdate, content.modifiedby, content.modifieddate, \" .\n\t\t\t\t \"templates.name AS templatetitle, templates.classname AS templateclassname, content.containerpath AS path, '' AS diskpath \";\n\n\t\t$sql .= \" FROM content\n\t\t\t\t LEFT JOIN content_terms ON content_terms.contentid = content.id\n\t\t\t\t LEFT JOIN term_taxonomy ON term_taxonomy.id = content_terms.termid\n\t\t\t\t LEFT JOIN terms ON terms.id = term_taxonomy.termid\n\t\t\t\t LEFT JOIN templates ON templates.id = content.templateid \n\t\t\t\t\";\n\n\n\t\t// WHERE CLAUSE INFO\n\n\t\t$sql .= \" WHERE content.search_exclude <> 1 AND deleted='0' \";\n\n\t\tif (isset($params['search_terms'])) { // general search\n\n\t\t\t$arrSearchTerms = explode(\",\",$params['search_terms']);\n\n\t\t\tif (is_array($arrSearchTerms)) {\n\n\t\t\t\t$sql .= \" AND ( \";\n\n\t\t\t\tforeach ($arrSearchTerms as $term) {\n\t\t\t\t\t$i++;\n\t\t\t\t\t$sql .= \" content.migtitle LIKE :term\".$i.\" OR\";\n\n\t\t\t\t\t///!!!! crucial for tag search - use like ins\n\t\t\t\t\t//$sql .= \" tags.tag = :termtags\".$i.\" OR\";\n\t\t\t\t\t//$sendParams['termtags'.$i] = $term;\n\n\t\t\t\t\t$sql .= \" terms.name LIKE :term\".$i.\" OR\";\n\t\t\t\t\t$sendParams['term'.$i] = \"%\".$term.\"%\";\n\t\t\t\t}\n\n\t\t\t\t// remove last \"OR\"\n\n\t\t\t\t$sql = substr($sql,0,strlen($sql)-2);\n\n\t\t\t\t$sql .= \" ) \";\n\n\t\t\t\tforeach ($params as $key=>$value)\n\t\t\t\t{\n\t\t\t\t\tif (!in_array($key,$validParams))\n\t\t\t\t\t{ // this is a custom parameter\n\t\t\t\t\t\t$sql .= \" AND \" . $key . \" = :'\".$key;\n\t\t\t\t\t\t$sendParams[$key] = $value;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// GROUP BY CLAUSE\n\n\t\t$sql .= \" GROUP BY content.id ) \";\n\n\t}\n\n\t// ORDER BY\n\n\t$sql .= \" ORDER BY contentid,mediaid,createdate DESC\";\n\n\n\t// get the results\n\t$result = queryDatabase($sql, $sendParams);\n\n\t// return the results\n\treturn $result;\n}", "public static function search();", "function search() {\r\n\t\r\n\t\t// set $keyword as data field\r\n\t\t$keyword = $this->data['Search']['keyword'];\r\n\t\t$operator = \"LIKE\";\r\n\t\t$wildcard = \"%\";\r\n\r\n\t\tif(isset($this->data['Search']['exact']) AND $this->data['Search']['exactflag'] == '1'){\r\n\t\t\t$filter = \"(Content.title {$operator} \\\"{$wildcard}\".$keyword.\"{$wildcard}\\\") OR \r\n\t\t\t\t(Content.contentbody {$operator} \\\"{$wildcard}\".$keyword.\"{$wildcard}\\\") OR \r\n\t\t\t\t(Content.metakey {$operator} \\\"{$wildcard}\".$keyword.\"{$wildcard}\\\") OR \r\n\t\t\t\t(Content.metadesc {$operator} \\\"{$wildcard}\".$keyword.\"{$wildcard}\\\")\";\r\n\t\t\t\r\n\t\t} else {\r\n\t\t\t$keywords = explode(\" \",$keyword);\r\n\t\t\t$keyword_count = count($keywords);\r\n\t\t\t$counter = 0;\r\n\t\t\t$filter = '';\r\n\t\t\tforeach($keywords as $words){\r\n\t\t\t\t$counter ++;\r\n\t\t\t\tif($counter == $keyword_count){\r\n\t\t\t\t\t$or = \"\";\r\n\t\t\t\t} else {\r\n\t\t\t\t\t$or = \"OR\";\r\n\t\t\t\t}\r\n\t\t\t\t$filter .= \"(Content.title {$operator} \\\"{$wildcard}\".$words.\"{$wildcard}\\\") OR \r\n\t\t\t\t\t(Content.contentbody {$operator} \\\"{$wildcard}\".$words.\"{$wildcard}\\\") \tOR \r\n\t\t\t\t\t(Content.metakey {$operator} \\\"{$wildcard}\".$words.\"{$wildcard}\\\") OR \r\n\t\t\t\t\t(Content.metadesc {$operator} \\\"{$wildcard}\".$words.\"{$wildcard}\\\") $or\";\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\r\n\r\n\t\t// sql filter query to get keyword match\r\n\t\t$filters = array(\"Content.state = 1 AND ($filter)\");\r\n\t\t$this->pageTitle = \"Searching results for [\".$keyword.\"]\";\r\n\t\t$this->set(\"foundItems\", $this->paginate('Content', $filters));\r\n\t}", "public function search() {\n debug($this->request->getQuery());\n $query = $this->Films->find('search', [\n 'search' => $this->request->getQuery()\n ]);\n \n debug($query);\n debug($query->all());\n die();\n }", "private function search_query($terms){\n\n\t\t$term = $terms[0]; //search for filenames only in first term\n\n\t\t$query = \"\tSELECT files.fileName, files.id,\n\t\t\t\t\tGROUP_CONCAT(DISTINCT matched_words.word SEPARATOR ', ') AS 'word',\n\t\t\t\t\tGROUP_CONCAT(DISTINCT matched_comments.comment_text SEPARATOR ', ') AS 'comment_text',\n\t\t\t\t\tfiles.upload_date, \n\t\t\t\t\tusers.name\n\t\t\t\t\tFROM files \n\t\t\t\t\t\tLEFT OUTER JOIN comments_about_files \n\t\t\t\t\t\tON files.id = comments_about_files.comment_id\n\t\t\t\t\t\tLEFT OUTER JOIN matched_comments \n\t\t\t\t\t\tON comments_about_files.file_id = matched_comments.id\n\t\t\t\t\t\tLEFT OUTER JOIN words_in_files\n\t\t\t\t\t\tON words_in_files.file_id = files.id\n\t\t\t\t\t\tLEFT OUTER JOIN matched_words\n\t\t\t\t\t\tON matched_words.id = words_in_files.word_id\n\t\t\t\t\t\tINNER JOIN users\n\t\t\t\t\t\tON files.user_id = users.id\n\t\t\t\t\tWHERE files.fileName LIKE '$term%'\n\t\t\t\t\t\tOR matched_words.word LIKE '%'\n\t\t\t\t\t\tOR matched_comments.comment_text LIKE '%'\n\t\t\t\t\tGROUP BY files.id\n\t\t\t\t\tORDER BY files.upload_date DESC\";\n\n\t\treturn $query;\n\t}", "function search(){\n DB::db_query(\"search_misc\", \"SELECT * FROM reference WHERE reference_type='Misc'\");\n if(DB::db_check_result(\"search_misc\") > 0){\n $data = DB::db_get_array(\"search_misc\");\n $this->load_array($data);\n }\n \n\n }", "public function search() {\n\t\t\t$Recherches = $this->Components->load( 'WebrsaRecherchesFichesprescriptions93' );\n\t\t\t$Recherches->search();\n\t\t}", "public function applySearch();", "function search($table=false) {\n if (!isset($this->db)) {\n if (!isset($this->database_class)) {\n $this->database_class = $_ENV[\"DatabaseClass\"];\n }\n $this->db = new $this->database_class;\n }\n $query = \"\";\n\tif ($this->db->Server == 'pgsql') $like = \"ILIKE\"; else $like = \"LIKE\";\t\t# ILIKE is case insensitive\n\t#\n\t# under most normal circumstances $k is equal to $v[\"ob\"]->field\n\t# except if there are spaces and or other special chars in the sql fieldname.\n\t#\n\t$tc = 0;\n foreach ($this->form_data->elements as $k=>$v) {\n\t\t$ks = $k.\"_Selector\";\n\t\t$jointable = \"\";\n\t\tif ($table and array_key_exists($ks,$_REQUEST)) {\n\t\t\tif (!isset($fk)) $fk = new $_ENV[\"MyForeignKeysDB\"];\n \t\t\t$class = $this->classname;\n \t\t\tif (strtolower(substr($class,0,3))==\"my_\") $class=substr($class,3);\n \t\t\tif (strtolower(substr($class,0,2))==\"my\") $class=substr($class,2);\n\t\t\t$sql = \"select * from \".$_ENV[\"MyForeignKeys\"].\" where FormName = '$class' order by id\";\n\t\t\t$fk->query($sql);\n\t\t\twhile ($fk->next_record()) {\n\t\t\t\textract($fk->Record);\n\t\t\t\tif (($LinkDesc) and (in_array($FieldName,$table->fields)!==false)) {\n\t\t \t$tc++;\n \t\t\tif ($FieldName==$k) {\n\t\t\t\t\t\t$jointable = \"_t$tc\";\n\t\t\t \t\t$q_FieldName = $fk->qi($FieldName);\n\t\t\t \t\t$q_LinkField = $fk->qi($LinkField);\n\t\t\t\t\t\t$joindesc = $LinkDesc;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ($jointable) $k = $ks;\n\t\t}\n\t\t$tablename = $jointable ? $jointable : $this->table;\n if (isset($v[\"ob\"]->field) \n\t\t and ($f = $v[\"ob\"]->field) // has an sql field\n and (!empty($_REQUEST[$k]))) { // and was POSTed.\n\t\t\t$type = $v[\"ob\"]->type;\n\t\t\t$function = @$v[\"ob\"]->function;\t# e.g. in setup_fields: \"function\"=>\"inet_ntoa(%s)\"\n if ($query) $query .= \" AND \";\n\t\t\tif (array_key_exists(\"oper_$k\",$_REQUEST)) {\n\t\t\t\t$condition = $_REQUEST[\"oper_$k\"];\n\t\t\t\t$data = $_REQUEST[$k];\n\t\t\t\t$this->DateCheck($data,$type);\n \t$value = $this->db->quote($data);\n } else {\n\t\t\t\tif (is_array($data = $_REQUEST[$k])) {\n\t\t\t\t\t$data = $data[0];\n\t\t\t\t} else {\n\t\t\t\t\tif (substr($data,0,1)==\"$\") $data = substr($data,1);\n\t\t\t\t}\n\t $condition = substr($data,0,1);\n\t\t\t\t$therest = substr($data,1);\n\t\t\t\t$this->DateCheck($therest,$type);\n\t\t\t\t$this->DateCheck($data,$type);\n \t$value = $this->db->quote($therest);\n \t$nvalue = $this->db->quote(\"%\".$therest.\"%\");\n \t$lvalue = $this->db->quote($therest.\"%\");\n\t\t\t}\n\t\t\tif ($jointable) $f = $joindesc;\n\t\t\tif (strpos($f,\".\")) $tf=$this->db->qi($f);\n\t\t\telse $tf = $this->db->qi($tablename).\".\".$this->db->qi($f); /* table.field */\n\t\t if ($relName = @$v[\"ob\"]->relName) {\n\t\t if (!$relShow = $v[\"ob\"]->relShow) $relShow = \"Name\";\n \t\t$tf = $relName . \".\" . $relShow;\n\t\t }\n\t\t\tif (!empty($this->joins[$k]) and empty($jointable)) $tf = $this->joins[$k]; \n switch($condition) {\n case \">\":\n case \"<\":\n case \"=\":\n case \"!=\":\n $query .= \"$tf $condition $value\";\n break;\n case \"!\":\n $query .= \"$tf NOT $like $nvalue\";\n break;\n case \"^\":\n $query .= \"$tf $like $lvalue\";\n break;\n default:\n\t\t\t\tif ($function) {\n \t $query .= sprintf($function,$tf).\" $like \".$this->db->quote($data.\"%\");\n\t\t\t\t} else {\n\t\t\t\t\tif ($type<>\"of_date\") $data = \"%\".$data;\n \t $query .= \"$tf $like \".$this->db->quote($data.\"%\");\n\t\t\t\t}\n }\n\n }\n }\n\tif (!$query) $query=@$this->default_query;\n\tif (!$query) $query=\"1\";\n return $query;\n }", "function search()\n\t{\n\t\tif($_POST == NULL)\n\t\t\t$_POST['search'] = NULL;\n\t\t\n\t\t$data['title'] = 'Search Results';\n\t\t$data['search'] = $_POST['search'];\n\t\t$results = $this->media_model->search($_POST['search']);\n\t\t\n\t\t\n\t\t\n\t\t//Figure out which media belongs to who and what type they are\n\t\t$currentUser = $this->session->userdata('user_id');\n\t\t$data['books'] = array();\n\t\t$data['movies'] = array();\n\t\t$data['cds'] = array();\n\t\t\n\t\tforeach($results as $media)\n\t\t{\n\t\t\t$media['rating'] = $this->query->getAverageRating($media['media_id']);\n\t\t\t\n\t\t\tif($media['user_id'] == $currentUser)\n\t\t\t\t$media['thisUser'] = true;\n\t\t\telse\n\t\t\t\t$media['thisUser'] = false;\n\t\t\t\n\t\t\tif($media['type'] == 'book')\n\t\t\t\tarray_push($data['books'], $media);\n\t\t\tif($media['type'] == 'movie')\n\t\t\t\tarray_push($data['movies'], $media);\n\t\t\tif($media['type'] == 'cd')\n\t\t\t\tarray_push($data['cds'], $media);\n\t\t}\n\t\t\n\t\t\n\t\t$this->load->view('search_results', $data);\n\t}", "function migSearch($params)\n{\n\n\t$sendParams = array();\n\t$i = 0;\n\n\tif (!$params['search_terms'])\n\tdie(\"search_terms is required\");\n\n\t$validParams = array(\"action\",\"contentid\",\"include_children\",\"typeid\",\"has_tag\",\"search_terms\",\"search_description\",\"search_customfields\",\"verbosity\",\"parentid\",\"orderby\");\n\n\t$sql = \"\";\n\n\t//type = content\n\n\tif (!isset($params['type']) || $params['type'] == 'content') {\n\n\t\t$sql .= \" ( SELECT 'content' as type, content.id as contentid, 0 as mediaid, content.templateid,content.migtitle as contenttitle, \" .\n\t\t\t\t\"'' as mediatitle, content.createdby, content.createdate, content.modifiedby, content.modifieddate, templates.name AS templatetitle, \" .\n\t\t\t\t\"templates.classname AS templateclassname, content.containerpath AS path, '' AS diskpath \";\n\n\t\t$sql .= \" FROM content\n\t\t\t \t LEFT JOIN content_terms AS content_terms ON content_terms.contentid = content.id\n\t\t\t LEFT JOIN term_taxonomy AS term_taxonomy ON term_taxonomy.id = content_terms.termid \n\t\t\t LEFT JOIN terms AS terms ON terms.id = term_taxonomy.termid\n\t\t\t\t LEFT JOIN templates ON templates.id = content.templateid\n\t\t\t\t \n\t\t\tLEFT JOIN (\n\t\n\t\t\t\tSELECT content_content.contentid,GROUP_CONCAT(content_content.contentid2 ORDER BY content_content.id) AS contentids, content_content.desc\n\t\t\t\tFROM content_content\n\t\t\t\tGROUP BY content_content.contentid\n\t\t\t\n \t\t\t ) AS content1 ON content1.contentid = content.id\n\n\t\t\t LEFT JOIN (\n\t\n\t\t\t\tSELECT content_content.contentid2,GROUP_CONCAT(content_content.contentid ORDER BY content_content.id) AS contentids, content_content.desc\n\t\t\t\tFROM content_content\n\t\t\t\tGROUP BY content_content.contentid2\n\t\t\t\n \t\t\t ) AS content2 ON content2.contentid2 = content.id\";\n\n\n\t\t// WHERE CLAUSE INFO\n\n\t\t$sql .= \" WHERE content.search_exclude <> 1 AND deleted='0' \";\n\n\t\tif (isset($params['search_terms'])) { // general search\n\n\t\t\t$arrSearchTerms = explode(\",\",$params['search_terms']);\n\n\t\t\tif (is_array($arrSearchTerms)) {\n\n\t\t\t\t$sql .= \" AND ( \";\n\n\t\t\t\tforeach ($arrSearchTerms as $term) {\n\t\t\t\t\t$i++;\n\t\t\t\t\t$sql .= \" content.migtitle LIKE :term\".$i.\" OR\";\n\t\t\t\t\t$sql .= \" content1.desc LIKE :term\".$i.\" OR\";\n\t\t\t\t\t$sql .= \" content2.desc LIKE :term\".$i.\" OR\";\n\t\t\t\t\t$sql .= \" content.customfield1 LIKE :term\".$i.\" OR\";\n\t\t\t\t\t$sql .= \" content.customfield2 LIKE :term\".$i.\" OR\";\n\t\t\t\t\t$sql .= \" content.customfield3 LIKE :term\".$i.\" OR\";\n\t\t\t\t\t$sql .= \" content.customfield4 LIKE :term\".$i.\" OR\";\n\t\t\t\t\t$sql .= \" content.customfield5 LIKE :term\".$i.\" OR\";\n\t\t\t\t\t$sql .= \" content.customfield6 LIKE :term\".$i.\" OR\";\n\t\t\t\t\t$sql .= \" content.customfield7 LIKE :term\".$i.\" OR\";\n\t\t\t\t\t$sql .= \" content.customfield8 LIKE :term\".$i.\" OR\";\n\n\t\t\t\t\t///!!!! crucial for tag search\n\t\t\t\t\t//$sql .= \" tags.tag = :termtags\".$i.\" OR\";\n\t\t\t\t\t//$sendParams['termtags'.$i] = $term;\n\n\t\t\t\t\t$sql .= \" terms.name LIKE :term\".$i.\" OR\";\n\t\t\t\t\t$sendParams['term'.$i] = \"%\".$term.\"%\";\n\t\t\t\t}\n\n\t\t\t\t// remove last \"OR\"\n\n\t\t\t\t$sql = substr($sql,0,strlen($sql)-2);\n\n\t\t\t\t$sql .= \" ) \";\n\t\t\t}\n\t\t}\n\n\t\t// GROUP BY CLAUSE\n\n\t\t$sql .= \" GROUP BY content.id ) \";\n\n\t\tif (!isset($params['type']))\n\t\t$sql .= \" UNION ALL\";\n\t}\n\n\t// type = media\n\n\tif (!isset($params['type']) || $params['type'] == 'media') {\n\n\t\t$sql .= \"( SELECT 'media' as type, content.id as contentid, media.id as mediaid, 0 as templateid, content.migtitle as contenttitle, media.name as mediatitle, media.createdby, media.createdate, media.modifiedby, media.modifieddate, '' as templatetitle, '' as templateclassname, content.containerpath AS path, media.path AS diskpath\";\n\n\t\t$sql .= \" FROM media\n\t\t\t\t LEFT JOIN media_terms ON media_terms.mediaid = media.id\n\t\t\t\t LEFT JOIN terms ON terms.id = media_terms.termid\n\t\t\t\t LEFT JOIN content_media ON content_media.mediaid = media.id\n\t\t\t\t LEFT JOIN content ON content.id = content_media.contentid\";\n\n\t\t$sql .= \" WHERE media.id <> 0 \";\n\n\n\t\tif (isset($params['search_terms'])) { // search for tags\n\n\t\t\t$arrTerms = explode(\",\",$params['search_terms']);\n\n\t\t\tif (is_array($arrTerms)) {\n\n\t\t\t\tforeach ($arrTerms as $term) {\n\t\t\t\t\t$i++;\n\n\t\t\t\t\t///!!!! crucial for tag search\n\t\t\t\t\t//$sql .= \" AND ( tags.tag = :termtags\".$i.\" OR\";\n\t\t\t\t\t//$sendParams['termtags'.$i] = $term;\n\n\t\t\t\t\t$sql .= \" AND ( terms.name LIKE :term\".$i.\" OR\";\n\t\t\t\t\t$sql .= \" content_media.caption LIKE :term\".$i.\" OR\";\n\t\t\t\t\t$sql .= \" media.name LIKE :term\".$i.\" OR\";\n\t\t\t\t\t$sql .= \" content_media.credits LIKE :term\".$i.\" \";\n\t\t\t\t\t$sql .=\" )\";\n\t\t\t\t\t$sendParams['term'.$i] = \"%\".$term.\"%\";\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t$sql .= \"GROUP BY media.id, content_media.contentid ) \";\n\n\t\t$sql .= \"\n\t\n\t\t\tUNION ALL\n\t\t\t\n\t\t\t( SELECT 'media' as type, 0 AS contentid, media.id as mediaid, 0 as templateid, '' as contenttitle, media.name as mediatitle, media.createdby, media.createdate, media.modifiedby, media.modifieddate, '' as templatetitle, '' as templateclassname, '' AS path, media.path AS diskpath\";\n\n\t\t$sql .= \" FROM media\n\t\t\t\t LEFT JOIN media_terms ON media_terms.mediaid = media.id\n\t\t\t\t LEFT JOIN content_media ON content_media.mediaid = media.id\n\t\t\t\t LEFT JOIN terms ON terms.id = media_terms.termid\";\n\n\t\t$sql .= \" WHERE media.id <> 0 \";\n\n\t\tif (isset($params['search_terms'])) { // search for tags\n\n\t\t\t$arrTerms = explode(\",\",$params['search_terms']);\n\n\t\t\tif (is_array($arrTerms)) {\n\n\t\t\t\tforeach ($arrTerms as $term) {\n\t\t\t\t\t$i++;\n\n\t\t\t\t\t///!!!! crucial for tag search\n\t\t\t\t\t//$sql .= \" AND ( tags.tag = :termtags\".$i.\" OR\";\n\t\t\t\t\t//$sendParams['termtags'.$i] = $term;\n\n\t\t\t\t\t$sql .= \" AND ( terms.name LIKE :term\".$i.\" OR\";\n\t\t\t\t\t$sql .= \" content_media.caption LIKE :term\".$i.\" OR\";\n\t\t\t\t\t$sql .= \" media.name LIKE :term\".$i.\" OR\";\n\t\t\t\t\t$sql .= \" content_media.credits LIKE :term\".$i.\" \";\n\t\t\t\t\t$sql .=\" )\";\n\t\t\t\t\t$sendParams['term'.$i] = \"%\".$term.\"%\";\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t$sql .= \"GROUP BY media.id )\";\n\t}\n\n\t// ORDER BY\n\n\t$sql .= \" ORDER BY contentid,mediaid,createdate DESC\";\n\n\t// get the results\n\t$result = queryDatabase($sql,$sendParams);\n\n\t// return the results\n\treturn $result;\n}", "function search() {\r\n\t\t$this->validate();\r\n\t\t$this->advanced();\r\n\t}", "function searchFilesContent($sSearchWord, $bFilterEinladungen, $bFilterNiederschriften)\n\t{\n\t\t$sSearchWord = preg_replace('/\\s/', '%', $sSearchWord);\n\t\t\n\t\t//$sSql = sprintf(\"SELECT * FROM sr_file WHERE content LIKE '%%%s%%'\", $sSearchWord);\n $sSql = sprintf(\"SELECT *, MATCH(content) AGAINST('%%%s%%') AS score FROM sr_file WHERE MATCH(content) AGAINST('%%%s%%')\", $sSearchWord, $sSearchWord);\n\t\t\n\t\tif ($bFilterEinladungen)\n\t\t{\n\t\t\t$sSql .= \" AND filename NOT LIKE '%einladung%'\";\n\t\t}\n\n if ($bFilterNiederschriften)\n {\n $sSql .= \" AND filename LIKE '%niederschrift%'\";\n }\n\n $sSql .= \" ORDER BY score DESC LIMIT 30\";\n\t\t\n\t\tif (! $hRes = mysql_query($sSql))\n\t\t{\n\t\t die('Ungültige Anfrage: ' . mysql_error());\n\t\t}\n\t\t\n\t\t$aContent = array();\n\t\twhile ($aData = mysql_fetch_assoc($hRes))\n\t\t{\n\t\t\t$aContent[] = $aData;\n\t\t}\n\t\t\n\t\treturn $aContent;\n\t}", "function search() {\n\t\t$this->validate();\n\t\t$this->advanced();\n\t}", "public function search()\n\t{\n\t\t$data['page_content'] = $this->load->view('record/searchTable', '', TRUE);\n\t\t$this->load->view('main', $data);\n\t}", "function search($search_terms) {\n\t\t\n\t\t$queries = array();\n\t\t\n\t\tforeach ($this->tables as $table_name => $data) {\n\t\t\t\n\t\t\t$queries[] = \"SELECT \".implode(', ', $data['return']).\", \".$this->make_match($data['search'], $search_terms).\" as $this->score_field_name, '$table_name' as table_name FROM $table_name WHERE $this->conditions AND \".$this->make_match($data['search'], $search_terms, true);\n\t\t\t\n\t\t}\n\t\t\n\t\t$search_query = \"(\".implode(\") UNION (\", $queries).\") ORDER BY $this->score_field_name DESC\";\n\t\t\n\t\treturn $this->db->query_array($search_query);\n\t}", "public function search()\n {\n $keywords = request(\"keywords\");\n $result = DocumentContent::where(\"content\", \"like\", \"%\".$keywords.\"%\")->where(\"title\", \"like\", \"%{$keywords}%\")\n ->get();\n\n return $this->resultJson($result);\n //@todo search by content or document?\n }", "public function search() {\n }", "function searchPosts($term)\n{\n\n $match = '%' . $term . '%';\n global $conn;\n $sql = \"SELECT \n p.*\n FROM posts as p\n JOIN users as u\n ON p.user_id = u.id\n WHERE p.published=?\n AND p.title LIKE ?\n OR p.body LIKE ?\n \";\n\n $stmt = executeQuery($sql, ['published' =>1, 'title' => $match, 'body' => $match]);\n $records = $stmt->get_result()->fetch_all(MYSQLI_ASSOC);\n return $records;\n\n}", "public function search($params)\n { \n $query = null;\n //$sql = published::find()\n $sql= (new Query())\n ->select([\n 'pubmedfile.id AS id',\n 'pubmedfile.file_name AS file_name' ,\n 'pubmedfile.file_size AS file_size' , \n 'pubmedfile.created_at AS file_created' , \n 'user.username AS username'])\n ->from('pubmedfile')\n ->leftjoin('user' , 'pubmedfile.create_by = user.id');\n // ->where('file_id');\n \n \n\n\n if(isset($params['term'])){\n $query = $sql\n ->where('pubmedfile.file_name LIKE :fileName OR pubmedfile.file_size LIKE :fileSize',[\n ':fileName' => \"%{$params['term']}%\",\n \":fileSize\"=> \"%{$params['term']}%\",\n ]);\n }else{\n $query = $sql;//->all();//->with('user');\n }\n \n $dataProvider = new ActiveDataProvider([\n 'query' => $query,\n ]);\n \n $this->load($params);\n\n if (!$this->validate()) {\n // uncomment the following line if you do not want to return any records when validation fails\n // $query->where('0=1');\n return $dataProvider;\n }\n\n $query->andFilterWhere([\n 'id' => $this->id,\n ]);\n\n $query->andFilterWhere(['like', 'file_name', $this->file_name])\n ->andFilterWhere(['like', 'file_size', $this->file_name]);\n\n\n return $dataProvider;\n\n \n }", "protected function _getSearchData() {}", "public function onContentSearch(SearchEvent $event)\n\t{ \n\n\t\t(bool )$b_sqlite = App::db()->getDatabasePlatform()->getName() === 'sqlite';\n\n\t\t$params \t= App::module('friendlyit/search')->config('defaults');\n\t\t$limit \t\t= isset($params['limit_search_result']) ? $params['limit_search_result'] : self::PAGES_PER_PAGE;\n\t\t$markdown \t= isset($params['markdown_enabled']) ? $params['markdown_enabled'] : true ;\n\t\t\n\t\t$parameters = $event->getParameters();\n\t\t\n\t\t$text \t\t= $parameters[0];\n\t\t$phrase \t= $parameters[1];\n\t\t$ordering\t= $parameters[2];\n\t\t$areas \t= $parameters[3]; \n\t\t\n\t\t$searchText = $text;\n\n\t\tif (is_array($areas) && !array_intersect($areas, array_keys($this->onContentSearchAreasL())))\n\t\t{\n\t\t\treturn array();\n\t\t}\n\n\t\t$text = trim($text);\n\t\tif ($text === '')\n\t\t{\n\t\t\treturn array();\n\t\t}\n\t\t\n\t\t$text = EXSearchHelper::strip_data(trim($text));\n\t\t$text = stripslashes($text); \n\t\t$text = htmlspecialchars($text); \n\n\t\t$matches = array();\n\t\tswitch ($phrase)\n\t\t{\n\t\t\tcase 'exact':\n\t\t\t\t$text = str_replace('\"', \"\", json_encode($text));\n\t\t\t\t$text =App::db()->quote($text);\n\t\t\t\t$text = str_replace(\"'\", \"\", $text);\n\t\t\t\t$text =App::db()->quote('%' . $text . '%', false);\n\t\t\t\t$wheres2 = array();\n\t\t\t\t$wheres2[] = 'a.title LIKE '.$text;\n\t\t\t\t$wheres2[] = 'a.data LIKE '. $text;\n\t\t\t\t$where = '(' . implode(') OR (', $wheres2) . ')';\n\t\t\t\tbreak;\n\n\t\t\tcase 'all':\n\t\t\tcase 'any':\n\t\t\tdefault:\n\t\t\t\t$words = explode(' ', $text);\n\t\t\t\t$wheres = array();\n\t\t\t\tforeach ($words as $word)\n\t\t\t\t{\n\t\t\t\t\t$word2 = json_encode(str_split($word), JSON_UNESCAPED_UNICODE);\n\t\t\t\t\t$word = App::db()->quote('%' . $word . '%', false);\n\t\t\t\t\t$word2 = App::db()->quote('%' . $word2 . '%', false);\n\t\t\t\t\t$wheres2 = array();\n\t\t\t\t\t$wheres2[] = ($b_sqlite) ? 'php_nocase(a.title) LIKE php_nocase(' . $word . ')' : 'LOWER(a.title) LIKE LOWER(' . $word . ')';\n\t\t\t\t\t$wheres2[] = ($b_sqlite) ? 'php_nocase(a.data) LIKE php_nocase(' . $word . ')' : 'LOWER(a.data) LIKE LOWER(' . $word . ')';\n\t\t\t\t\t$wheres2[] = 'a.title LIKE ' . $word2 . '';\n\t\t\t\t\t$wheres2[] = 'a.data LIKE ' . $word2 . '';\n\t\t\t\t\t$wheres[] = implode(' OR ', $wheres2);\n\t\t\t\t}\n\n\t\t\t\t$where = '(' . implode(($phrase == 'all' ? ') AND (' : ') OR ('), $wheres) . ')';\n\t\t\t\tbreak;\n\t\t}\n\t\n\t\t\n\t\tswitch ($ordering)\n\t\t{\n\t\t\tcase 'oldest':\n\t\t\t\t$order = 'a.id, ASC';\n\t\t\t\tbreak;\n\n\t\t\tcase 'popular':\n\t\t\t\t//$order = \"'a.hits DESC'\";\n\t\t\t\t//break;\n\n\t\t\tcase 'alpha':\n\t\t\t\t$order = 'a.title, ASC';\n\t\t\t\tbreak;\n\n\t\t\tcase 'category':\n\t\t\t\t$order = 'a.title, ASC';\n\t\t\t\tbreak;\n\n\t\t\tcase 'newest':\n\t\t\tdefault:\n\t\t\t\t$order = 'a.id, DESC';\n\t\t\t\tbreak;\n\t\t}\n\n\t\t$rows = array();\n\n\t\tif ($b_sqlite){\n\t\t\t$mbString = extension_loaded('mbstring');\n\t\t\t$db \t\t\t= App::db()->getDatabase();\n\n\t\t\ttry{\n\t\t\t$pdo = new PDO('sqlite:' . $db, null, null, [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION]); //pagekit.db\n\t\t\t}catch(PDOException $pe){\n\t\t\t\techo $pe->getMessage();\n\t\t\t} \n\t\t\t\n\t\t\t$prefix \t\t\t\t\t= App::db()->getPrefix();\n\t\t\t$db_name_system_widget \t\t= $prefix.'system_widget'; \n\t\t\t$db_name_system_node \t\t= $prefix.'system_node'; \n\n\t\t\t$mbString ? $pdo->sqliteCreateFunction('php_nocase', function($x) { return mb_strtolower($x); }) :\n\t\t\t$pdo->sqliteCreateFunction('php_nocase', function($x) { return strtolower($x); });\n\n\t\t\t$orders = explode(\",\", $order);\n\t\t\t$orderBy ='';\n\t\t\tif ($orders) {\n\t\t\t\t$orderBy = $orders[0] . $orders[1] ;\n\t\t\t}\t\n\n\t\t\t$user = App::user()->roles;\n\t\t\t$values = implode('|', (array)$user);\n\t\t\t$strf_a = \"OR ((',' || a.roles || ',') LIKE '%,$values,%')\";\n\t\t\t$strf_c = \"OR ((',' || c.roles || ',') LIKE '%,$values,%')\";\n\t\t\t$strf_0 = \"(a.nodes IS NULL) OR (',' || a.nodes || ',') LIKE '%,' || c.id || ',%'\";\n\n\t\t\t$query = $pdo->query( 'SELECT \ta.id AS widget_id, a.title AS widget_title, a.data, c.id AS node_id, c.title AS node_title, c.link\n\t\t\t\t\t\t\t\t\tFROM '. $db_name_system_widget .' a \n\t\t\t\t\t\t\t\t\tINNER JOIN '. $db_name_system_node .' c\n\n\t\t\t\t\t\t\t\t\tON ((c.type LIKE \"page\" OR c.type LIKE \"blog\") AND a.type LIKE (\"system/text\") AND '.$strf_0.' )\n\t\t\t\t\t\t\t\t\tWHERE c.status = '. self::STATUS_PUBLISHED.' AND a.status = '. self::STATUS_PUBLISHED.' AND ('. $where .')\n\t\t\t\t\t\t\t\t\tAND ((a.roles IS NULL) '.$strf_a.') \n\t\t\t\t\t\t\t\t\tAND ((c.roles IS NULL) '.$strf_c.')\n\t\t\t\t\t\t\t\t\tGROUP BY a.title, a.data, a.id, c.id\n\t\t\t\t\t\t\t\t\tORDER BY ' . $orderBy .'\n\t\t\t\t\t\t\t\t\tLIMIT 0 ,' . $limit . '\n\t\t\t\t\t\t\t\t\t');\n\n\t\t\t$rows = $query->fetchall(\\PDO::FETCH_ASSOC);\n\t\t\t}\n\n\t\telse{\n\n\t\t\t$strf_0 = \"(a.nodes IS NULL) OR (',' || a.nodes || ',') LIKE '%,' || c.id || ',%'\";\n\t\t\t\n\t\t\t$query = App::db()->createQueryBuilder()\n\t\t\t\t->select( 'a.id AS widget_id, a.title AS widget_title, a.data, c.id AS node_id, c.title AS node_title, c.link')\n\t\t\t\t->from('@system_widget a')\n\t\t\t\t->join('@system_node c', '((c.type LIKE \"page\" OR c.type LIKE \"blog\") AND a.type LIKE (\"system/text\") AND '.$strf_0.')', 'INNER')\n\t\t\t\t->where( 'c.status = '. self::STATUS_PUBLISHED.' AND a.status = '. self::STATUS_PUBLISHED.' AND ('. $where .')');\n\t\t\t\n\t\t\t//$query->where(function ($query) { return $query->where('a.nodes IS NULL')->whereInSet('a.nodes', 'c.id', false, 'OR');});\n\t\t /**\n\t\t\t* Creates and adds an \"order by\" to the query.\n\t\t\t*\n\t\t\t* @param string $sort\n\t\t\t* @param string $order\n\t\t\t* @return self\n\t\t\t*/\n\t\t\t$orders = explode(\",\", $order);\n\t\t\tif ($orders) {\n\t\t\t\t$query->orderBy($orders[0], $orders[1]);\n\t\t\t}\n\t\t\n\t\t\t$query->groupBy('a.title', 'a.data','a.id','c.id');\n\t\t\t$query->offset(0)->limit($limit);\n\t\t\t$query->where(function ($query) { return $query->where('a.roles IS NULL')->whereInSet('a.roles', App::user()->roles, false, 'OR');});\n\t\t\t$query->where(function ($query) { return $query->where('c.roles IS NULL')->whereInSet('c.roles', App::user()->roles, false, 'OR');});\n\t\t\t$rows = $query->get();\n\t\t}\n\t\t\n\t\t$list = null;\n\t\t$index = '0';\n\t\tif (!empty($rows))\n\t\t\t{\n\t\t\t\t$last_id = 0;\n\t\t\t\tforeach ($rows as $key => $item)\n\t\t\t\t{\n\n\t\t\t\t\t// NEED COMPACT RESULT\n\t\t\t\t\t// LOOP ON Widget ID\n\t\t\t\t\t// Compact ID Nodes\n\t\t\t\t\t// $page = $this->getPage($node->get('defaults.id', 0));\n\n\t\t\t\t\tif ($last_id === $item['widget_id']) continue;\n\n\t\t\t\t\t$list[$index]= new \\stdclass();\n\n\t\t\t\t\t$widget = Widget::find($item['widget_id']);\n\t\t\t\t\t//$node = Node::find($item['node_id']);\n\t\t\t\t\t//$page = Page::find($node->get('defaults.id', 0));\n\n\t\t\t\t\t// include support on/off title, but in Pagekit 1.0.13 NOT USE\n\t\t\t\t\t//$page = Page::find($item['page_id']);\n\t\t\t\t\t//($page->get('title')) ? $list[$index]->title = $item['title'] : $list[$index]->title = $index + 1;\n\t\t\t\t\t$list[$index]->title \t \t\t= $item['widget_title'];\n\t\t\t\t\t$list[$index]->metadesc \t\t= '';\n\t\t\t\t\t$list[$index]->metakey \t\t\t= '';\n\t\t\t\t\t$list[$index]->created\t\t\t= '';\n\n\t\t\t\t\t$list[$index]->text \t \t\t= App::content()->applyPlugins($widget->get('content'), ['widget' => $widget, 'markdown' => $widget->get('markdown')]);\n\t\t\t\t\t$list[$index]->section\t\t\t= __('Widget');\n\t\t\t\t\t$list[$index]->catslug \t\t\t= '';\n\t\t\t\t\t$list[$index]->browsernav \t\t= '';\n\t\t\t\t\t$list[$index]->href\t \t\t\t= App::url($item['link']);\n\t\t\t\t\t$last_id = $item['widget_id'];\n\t\t\t\t\t$index++;\n\t\t\t\t}\n\t\t\t$rows = array();\n\t\t\t$rows[] = $list;\n\t\t\t}\n\t\t\n\t\t$results = array();\n\t\t\n\t\tif (count($rows))\n\t\t{\n\t\t\tforeach ($rows as $row)\n\t\t\t{\n\t\t\t\t$new_row = array();\n\n\t\t\t\tforeach ($row as $article)\n\t\t\t\t{\n\t\t\t\t\t//if (EXSearchHelper::checkNoHTML($article, $searchText, array('text', 'title', 'metadesc', 'metakey')))\n\t\t\t\t\tif (EXSearchHelper::checkNoHTML($article, $searchText, array('text', 'title')))\n\t\t\t\t\t{\n\t\t\t\t\t\t$new_row[] = $article;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\n\t\t\t\t$results = array_merge($results, (array) $new_row);\n\t\t\t}\n\t\t}\n\t\t\n\t\t$event->setSearchData($results);\n\t\treturn array();\n\t}", "abstract public function searchById($id);", "public function search() {\n $query_terms = trim($_GET['query-terms']);\n\n //if search term is empty, list all movies\n if ($query_terms == \"\") {\n $this->index();\n }\n\n //search the database for matching movies\n $xboxs = $this->xbox_model->search_xbox($query_terms);\n\n if ($xboxs === false) {\n //handle error\n $message = \"An error has occurred.\";\n $this->error($message);\n return;\n }\n //display matched movies\n $search = new XboxSearch();\n $search->display($query_terms, $xboxs);\n }", "public function getAllArticlesForSearch($searchText) {\r\n\t\t$catName = \"Articles\";\r\n\t\t//$this->query = \"SELECT * from \".Constants::$contentTable.\" Where catid in (\".$this->getCategoryIDList($catName).\") AND (title like '%\".$searchText.\"%' OR introtext like '%\".$searchText.\"%' OR maintext like '%\".$searchText.\"%')\".$this->publishedClause.$this->videoOrderingClause;\r\n\t\t$this->query = \"SELECT * from \".Constants::$contentTable.\" Where catid in (\".$this->getCategoryIDList($catName).\") AND (metadesc like '%\".$searchText.\"%')\".$this->publishedClause.$this->buildSearchOrderingClause($searchText);\t\t\r\n\t\t$result = mysql_query($this->query);\r\n\t\tif(!$result){die(mysql_error());}\r\n\t\t\r\n\t\treturn $this->getContentList($result);\r\n\t}", "function mediadesk_edge_get_search() {\n\t\tmediadesk_edge_load_search_template();\n\t}", "function search()\n\t{\n\t\t$search=$this->input->post('search');\n\t\t$data_rows=get_people_manage_table_data_rows($this->Customer->search($search),$this);\n\t\techo $data_rows;\n\t}" ]
[ "0.6760678", "0.6593086", "0.6482967", "0.6442444", "0.6393272", "0.6367108", "0.630885", "0.6288926", "0.62353516", "0.6228315", "0.6214091", "0.6188252", "0.6183024", "0.6144077", "0.61195874", "0.6103344", "0.6098617", "0.6074752", "0.60689586", "0.5978202", "0.5977614", "0.5974684", "0.5952513", "0.59351116", "0.59021795", "0.58982956", "0.5875586", "0.5865172", "0.5859846", "0.5854023" ]
0.6748875
1
Check if connection has been initialized
public function checkConnection() { if(!$this->connection->hasConnection()) throw new \Exception("Uninitialized Connection"); return ; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function hasConnection()\n {\n return ! (is_null($this->connection) || empty($this->connection));\n }", "protected function _checkConnection() {\n if (!is_object($this->dbConnection)) {\n exit('Not Connected to the database!');\n }\n }", "public function hasConnection(): bool\n {\n return isset($this->connection);\n }", "public static function isConnected()\n {\n return static::$connection != null;\n }", "public static function isConnected() {\n\n\t return (self::$connection != null);\n }", "function checkConnection() {\r\n if ($this->mysqli == null) {\r\n $this->conectar();\r\n }\r\n }", "public function connected() {\n\t\treturn isset($this->_connection) ;\n\t}", "private function checkConnected()\n {\n if (!$this->client->isConnected()) {\n $this->client->connect();\n }\n }", "function checkDbConnection() {\n\t\t$db = owa_coreAPI::dbSingleton();\n\t\t$db->connect();\n\t\tif ($db->connection_status === true) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\n\t}", "public function isConnected() {}", "function isDataBaseConnectionEstablished() {\n return isset($this->db);\n }", "public function checkConnection(): void {\n $connection = $this->getEm()->getConnection();\n if ($connection->isConnected() !== true || $connection->ping() !== true) {\n $connection->close();\n $connection->connect();\n }\n }", "protected function initializeConnection() {}", "public function isConnected(){\n if($this->connection){\n return TRUE;\n }\n }", "protected function initConnection(): void {}", "public function is_init() /*bool*/ {\n return $this->_curl !== FALSE;\n }", "public function databaseInitialised()\r\n {\r\n return !empty($this->database_handler);\r\n }", "public function isConnected()\n {\n return Database::getInstance()->getConnection();\n }", "function isConnectionAvailable(){\n\t\t\tif(mysqli_connect_errno()) {\n\t\t\t\t$this->printErrorTrace(ERROR.\"Invalid Connection.\");\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}", "public function ready ()\n {\n return $this->_status == 1 && $this->_imap_connection !== false;\n }", "public function IsConnected()\r\n\t\t{\r\n\t\t return ($this->Connection && is_resource($this->Connection));\r\n\t\t}", "public function isConnected(){\n return !empty( $this->link );\n }", "public function initialize()\n {\n if (empty($this->connection) && !empty($this->params['connection'])) {\n $this->connection = $this->params['connection'];\n }\n }", "public function connectat(){\n\t\treturn ($this->con != false);\n\t}", "private function checkConnection(): void\n {\n if (! $this->isConnected()) {\n throw new Exception('No connection');\n }\n }", "public function IsConnected()\n {\n return (gettype($this->mysql_link) == 'resource');\n }", "public function isConnected(): bool\n {\n return is_resource($this->connection);\n }", "public function isConnected() {\n if($this->mysqli == null || $this->mysqli->connect_errno) {\n $this->createConnection(BASE_DB_HOST, BASE_DB_USER, BASE_DB_PASS, BASE_DB_DB);\n }\n }", "public function isConnected()\n\t{\n\t\treturn is_resource($this->_conn);\n\t}", "public function testConnection()\n {\n if (!$this->isConnectedSQL()) {\n if (!$this->connectSQL()) {\n return false;\n };\n }\n return true;\n }" ]
[ "0.76924235", "0.7577522", "0.7496831", "0.7419882", "0.73775566", "0.73395175", "0.7242222", "0.7224102", "0.71741855", "0.71521044", "0.71202385", "0.7067286", "0.70621794", "0.7061729", "0.70610404", "0.7016145", "0.7014476", "0.7013464", "0.69930506", "0.69816524", "0.69807804", "0.69774824", "0.69116926", "0.6901344", "0.689067", "0.6886551", "0.68858826", "0.68846714", "0.68797344", "0.6846975" ]
0.8202708
0
This function will remove any space and it will remove semicolon, which can be use in sql injection.
function spaceSemicolon($field){ $field = str_replace(' ', '', $field); $field = str_replace(';', '', $field); return $field; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function trimAndSanitize($str){\r\n\t\t$str = trim($str);\r\n\t\t$str = str_replace(\"'\", \"\", $str );\r\n\t\t$str = str_replace(\";\", \"\", $str);\r\n\t\treturn $str;\r\n\t}", "public function cleanQuery(string $sql): string\n {\n return trim(preg_replace('/\\s+/', ' ', $sql));\n }", "function sanitize($text){\n\t\t$result=$text;\n\t\t$result=str_replace(Array(\";\",'\"'),\"\",$result);\n\t\treturn $result;\n\t}", "function query_strip($query)\n{\n\t$query = trim($query);\n\tif (str_ends_with($query, ';')) {\n\t\t$query = str_cut_end($query, ';');\n\t}\n\t$lines = preg_split(\"#(\\r\\n|\\n|\\r)#\", $query);\n\tforeach ($lines as $k => $line) {\n\t\t$line = trim($line);\n\t\tif (!$line || str_starts_with($line, '--')) {\n\t\t\tunset($lines[$k]);\n\t\t}\n\t}\n\t$query = implode(\"\\r\\n\", $lines);\n\treturn $query;\n}", "function sql_InjectionFilter( $data ) {\n $trimData = trim($data);\n \n // apply stripslashes to pevent double escape if magic_quotes_gpc is enabled\n if(get_magic_quotes_gpc()) {\n $trimData = stripslashes( $trimData );\n }\n // connection is required before using this function\n // TODO FIX THIS\n //$SafeData = mysqli_real_escape_string($conn, $trimData );\n return $trimData;\n }", "protected function trimSQL($str) {\n return trim(rtrim($str, \"; \\r\\n\\t\"));\n }", "function anti_injection($sql){\n\t$sql = preg_replace(sql_regcase(\"/(from|select|insert|delete|where|drop table|show tables|#|\\*|--|\\\\\\\\)/\"),\"\",$sql);\n\t$sql = trim($sql);\n\t$sql = strip_tags($sql);\n\t$sql = addslashes($sql);\n\treturn $sql;\n}", "function anti_injection($sql)\n\t{\n\t\t$sql = preg_replace(sql_regcase(\"/(from|select|insert|delete|where|drop table|show tables|#|\\*|--|\\\\\\\\)/\"),\"\",$sql);\n\t\t$sql = trim($sql);//limpa espašos vazio\n\t\t$sql = strip_tags($sql);//tira tags html e php\n\t\t$sql = addslashes($sql);//Adiciona barras invertidas a uma string\n\t\n\t\treturn $sql;\n\t}", "function anti_injection($sql) {\n $sql = preg_replace(sql_regcase(\"/(from|select|insert|delete|where|drop table|show tables|#|\\*|--|\\\\\\\\)/\"), \"\", $sql);\n $sql = trim($sql); //limpa espaços vazio\n $sql = strip_tags($sql); //tira tags html e php\n $sql = addslashes($sql); //Adiciona barras invertidas a uma string\n return $sql;\n}", "function _remove_sql_inject($str) {\n $str = urldecode($str);\n // add more pattern\n $pat[] = \"/'\\s+AND\\s+extractvalue.*/i\";\n $pat[] = \"/'\\s+and\\(.*/i\";\n $pat[] = \"/select\\s+.*?\\s+from.*/i\";\n $pat[] = \"/(rand|user|version|database)\\(.*/i\";\n $pat[] = \"/union\\(.*/i\";\n $pat[] = \"/CONCAT\\(.*/i\";\n $pat[] = \"/CONCAT_WS\\(.*/i\";\n $pat[] = \"/ORDER\\s+BY.*/i\";\n $pat[] = \"/UNION\\s+SELECT.*/i\";\n $pat[] = \"/'\\s+union\\s+select\\+.*/i\";\n $pat[] = \"/GROUP_CONCAT.*/i\";\n $pat[] = \"/delete\\s+from.*/i\";\n $pat[] = \"/update\\s+.*?\\s+set=.*/i\";\n $pat[] = \"/'\\s+and\\s+\\S+\\(.*/i\";\n $pat[] = \"/'\\s+and\\s+\\S+\\s+\\(.*/i\";\n return preg_replace($pat,\"\", $str);\n}", "function anti_injection($sql)\n{\n $sql = preg_replace(sql_regcase(\"/(from|select|insert|delete|where|drop table|show tables|#|\\*|--|\\\\\\\\)/\"), \"\", $sql);\n $sql = trim($sql);\n $sql = strip_tags($sql);\n $sql = addslashes($sql);\n return $sql;\n}", "public function clean_str($str)\n\t{\n\t\tif (empty($str))\n\t\t\treturn false;\n\t\t$str = trim($str);\n\t\t$str = str_replace(\"'\", \"\", $str);\n\t\t$str = str_replace(\";\", \"\", $str);\n\t\treturn $str;\n\t}", "function clean($str) \n\t{\n\t\t/*if(!get_magic_quotes_gpc()) \n\t\t{\n\t\t\t$str = trim(mysql_real_escape_string($str));\n\t\t}\n\t\telse */\n\t\t{\n\t\t\t$str = trim($str);\n\t\t}\n\n\t\treturn $str;\n\t}", "function cleanQuery($string)\n{\n $string = htmlspecialchars($string, ENT_QUOTES, 'UTF-8');\n $string = trim($string);\n $string = addslashes($string);\n return $string;\n}", "function removeWhitespaces($str){\n\t\t\t$str = str_replace(' ', '', $str);\n\t\t\treturn $str;\n\t\t}", "function antiinjection($data){\n\t\t\t$filter_sql = stripslashes(strip_tags(htmlspecialchars($data,ENT_QUOTES)));\n\t\t\treturn $filter_sql;\n\t\t}", "function antiinjection($data){\n\t\t\t$filter_sql = stripslashes(strip_tags(htmlspecialchars($data,ENT_QUOTES)));\n\t\t\treturn $filter_sql;\n\t\t}", "function clean_for_queries($value)\n{\n $search = array(\"\\\\\", \"\\x00\", \"\\n\", \"\\r\", \"'\", '\"', \"\\x1a\");\n $replace = array(\"\\\\\\\\\",\"\\\\0\",\"\\\\n\", \"\\\\r\", \"\\'\", '\\\"', \"\\\\Z\");\n\n\t$value= str_replace($search, $replace, $value);\n\t$value=stripslashes($value);\n\t$value=htmlentities($value);\n\t$value=strip_tags($value);\n\treturn $value;\n\t\n}", "function clean($str) {\n global $con;\n $str = @trim($str);\n if(get_magic_quotes_gpc()) {\n $str = stripslashes($str);\n }\n return mysqli_real_escape_string($con,$str);\n}", "function clean($db,$str) {\n\t\t\t\t$str = @trim($str);\n\t\t\t\tif(get_magic_quotes_gpc()) {\n\t\t\t\t\t$str = stripslashes($str);\n\t\t\t\t}\n\t\t\t\t$str = stripslashes($str);\n\t\t\t\t$str = str_replace(\"'\",\"\",$str);\n\t\t\t\t$str = str_replace('\"',\"\",$str);\n\t\t\t\t//$str = str_replace(\"-\",\"\",$str);\n\t\t\t\t$str = str_replace(\";\",\"\",$str);\n\t\t\t\t$str = str_replace(\"or 1\",\"\",$str);\n\t\t\t\t$str = str_replace(\"drop\",\"\",$str);\n\t\t\t\t\n\t\t\t\treturn mysqli_real_escape_string($db->linkid,$str);\n\t\t}", "function clean($str) {\nglobal $conn;\n\t\t$str = @trim($str);\n\t\tif(get_magic_quotes_gpc()) {\n\t\t\t$str = stripslashes($str);\n\t\t}\n\t\treturn mysqli_real_escape_string($conn,$str);\n\t}", "function strip_db($str)\n{\n $esc_str = str_replace(\"\\\"\\\"\", \"\\\"\", $str);\n return $esc_str;\n}", "function cleanSqlFieldNames($string)\n {\n return preg_replace('/[^a-z,_0-9*.]+/i', '', $string);\n }", "function sanitize_text($dirty_text){\n $dirty_text = preg_replace('/[[:^print:]]/', \"\", $dirty_text);\n //iteratively loop and remove sql comments dans chr( command\n \n do {\n $temp_var = $dirty_text ;\n //remove comments\n preg_replace('/\\/\\*/i',\"\", $dirty_text);\n preg_replace('/--/i',\"\", $dirty_text);\n //remove chr(\n preg_replace('/chr\\(/i',\"\", $dirty_text);\n } while($temp_var != $dirty_text);\n\n //removing SQL key words\n $wordlist = array(\"CREATE\", \"DELETE\", \"DROP\", \"UPDATE\", \"INSERT\", \"SET\", \"ALTER\");\n do{ // we have to loop because words could be mixed has a possible attack\n $temp_var = $dirty_text ;\n\t foreach($wordlist as $word){\n\t $dirty_text = str_ireplace($word, \"\", $dirty_text); \n\t }\n } while ($temp_var != $dirty_text);\n \n //removing potential html or php tag that could be displayed in the result and attack the user\n $adresse = strip_tags ($dirty_text) ;\n //escaping the adresse properly so to avoid sql attack\n $dirty_text = pg_escape_string(utf8_encode($dirty_text)) ;\n \n return $dirty_text ; \n}", "function dbtrim($str) {\n $str = str_replace(array(\"\\n\", \"&nbsp;\"), array(\"\", \" \"), $str);\n return trim($str);\n}", "function clean($str) \n\t{\n\t $str = @trim($str);\n\t if(get_magic_quotes_gpc()) {\n\t $str = stripslashes($str);\n\t $str = strip_tags($str);\n\t }\n\t return mysqli_real_escape_string($this->db_con,$str);\n\t}", "function cleanParam($param,$op = 0)\n {\n if ($op == 0) \n { \n $param = trim($param);\n }\n\n $param = stripcslashes($param);\n $param = htmlspecialchars($param);\n // $param_cleaned = mysqli_real_escape_string($param_cleaned);\n\n return $param;\n }", "function sanitize($string, $spacesAllowed = true, $semiColonAllowed = true) {\n $replaceValue = \"Q\";\n\n if (!$semiColonAllowed) {\n $string = str_replace(';', $replaceValue, $string);\n }\n \n if (!$spacesAllowed) {\n $string = str_replace(' ', $replaceValue, $string);\n }\n $string = htmlentities($string, ENT_QUOTES);\n\n $string = str_replace('%20', $replaceValue, $string);\n\n return $string;\n}", "function cleanup($var)\n{\n\tglobal $connection;\n\t$var = strip_tags($var);\n\t$var = htmlentities($var);\n\t$var = stripslashes($var);\n\treturn $connection->real_escape_string($var);\n}", "function antiinjection($data){\n $filter_sql = mysql_real_escape_string(stripslashes(strip_tags(htmlspecialchars($data,ENT_QUOTES))));\n return $filter_sql;\n}" ]
[ "0.71741074", "0.69110703", "0.68017524", "0.6721544", "0.64534026", "0.6321618", "0.63051677", "0.62874687", "0.6283949", "0.62308216", "0.616149", "0.6135889", "0.6128032", "0.6126173", "0.61020267", "0.6091896", "0.6091896", "0.60875005", "0.605424", "0.60488045", "0.60479814", "0.6042157", "0.6027692", "0.6026706", "0.6018392", "0.6015562", "0.6008498", "0.59988433", "0.598079", "0.59577626" ]
0.7025453
1
Adds incident specific data to an CSV
public function _add_csv_incident_info() { $incident = Event::$data['incident']; $report_csv = ""; //get group name incident if(isset($this->incident_to_groups[$incident->id])) { $report_csv .= ",\"". $this->incident_to_groups[$incident->id] . "\",\""; } else { $report_csv .= ",,\""; //if they aren't part of a group then don't bother //looking for group categories $report_csv .= "\""; Event::$data['report_csv'] = $report_csv; return; } //get group categories///////////////////////////////////////////////////////////// if(isset($this->incident_to_group_categories[$incident->id])) { $i = 0; foreach($this->incident_to_group_categories[$incident->id] as $title) { $i++; if($i > 1){$report_csv .= ",";} $report_csv .= $title; } } $report_csv .= "\""; Event::$data['report_csv'] = $report_csv; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function _add_csv_headers()\n\t{\n\t\t$csv = Event::$data;\n\t\t$csv .= \",SIMPLE GROUP NAME,SIMPLE GROUP CATEGORIES\";\n\t\tEvent::$data = $csv; \n\t\t\n\t\t/////////////////////////////////////////////////\n\t\t//preload all the incident and their groups:\t\t\n\t\t$this->incident_to_groups = array();\n\t\t// Get the table prefix\n\t\t$table_prefix = Kohana::config('database.default.table_prefix');\n\t\t$sql = 'SELECT sc.name, sgi.incident_id FROM `'.$table_prefix.'simplegroups_groups` as sc \n\t\t\t\t\tRIGHT JOIN '.$table_prefix.'simplegroups_groups_incident as sgi\n\t\t\t\t\tON sc.id = sgi.simplegroups_groups_id';\n\t\t$db = new Database();\n\t\t$rows = $db->query($sql);\n\t\tforeach($rows as $row)\n\t\t{\n\t\t\t$this->incident_to_groups[$row->incident_id] = $row->name;\t\n\t\t}\n\t\t\n\t\t///////////////////////////////////////////////\n\t\t//preload group category info\n\t\t$this->incident_to_group_categories = array();\n\t\t$sql = 'SELECT sc.category_title, incident_id FROM '.$table_prefix.'simplegroups_category as sc\n\t\t\t\t\tRIGHT JOIN '.$table_prefix.'simplegroups_incident_category as sic ON sic.simplegroups_category_id = sc.id';\n\t\t$db = new Database();\n\t\t$rows = $db->query($sql);\n\t\tforeach($rows as $row)\n\t\t{\n\t\t\tif(isset($this->incident_to_group_categories[$row->incident_id]))\n\t\t\t{\n\t\t\t\t$this->incident_to_group_categories[$row->incident_id][] = $row->category_title;\n\t\t\t}\t\n\t\t\telse\n\t\t\t{\n\t\t\t\t$this->incident_to_group_categories[$row->incident_id] = array($row->category_title);\n\t\t\t}\n\t\t}\n\t}", "function saveAppendCSV($data){\n\t\t \n\t\t iconv_set_encoding(\"internal_encoding\", \"UTF-8\");\n\t\t iconv_set_encoding(\"output_encoding\", \"UTF-8\");\n\t\t \n\t\t //$data = mb_convert_encoding( $data, 'UTF-16LE', 'UTF-8'); \n\t\t $fh = $this->actFileHandle;\n\t\t fwrite($fh, $data);\n\t\t \n\t\t $this->actFileHandle = $fh;\n\t\t \n\t }", "public function exportCsv(){\n $user = $this->_ap_right_check();\n if(!$user){\n return;\n }\n $query = $this->{$this->main_model}->find(); \n $this->CommonQuery->build_ap_query($query,$user); //AP QUERY is sort of different in a way\n \n $q_r = $query->all();\n\n //Headings\n $heading_line = array();\n if(isset($this->request->query['columns'])){\n $columns = json_decode($this->request->query['columns']);\n foreach($columns as $c){\n array_push($heading_line,$c->name);\n }\n }\n \n $data = [\n $heading_line\n ];\n \n foreach($q_r as $i){\n\n $columns = array();\n $csv_line = array();\n if(isset($this->request->query['columns'])){\n $columns = json_decode($this->request->query['columns']);\n foreach($columns as $c){\n $column_name = $c->name;\n if($column_name == 'notes'){\n $notes = '';\n foreach($i->user_notes as $un){\n if(!$this->Aa->test_for_private_parent($un->note,$user)){\n $notes = $notes.'['.$un->note->note.']'; \n }\n }\n array_push($csv_line,$notes);\n }elseif($column_name =='owner'){\n $owner_id = $i->parent_id;\n $owner_tree = $this->Users->find_parents($owner_id);\n array_push($csv_line,$owner_tree); \n }else{\n array_push($csv_line,$i->{$column_name}); \n }\n }\n array_push($data,$csv_line);\n }\n }\n \n $_serialize = 'data';\n $this->setResponse($this->getResponse()->withDownload('export.csv'));\n $this->viewBuilder()->setClassName('CsvView.Csv');\n $this->set(compact('data', '_serialize')); \n }", "public function export(){\n\n // Create filter from contacts selected\n if(App::request()->getParams('contacts')) {\n $filter = new DBExample(array(\n 'userId' => App::session()->getUser()->id,\n 'id' => array(\n '$in' => explode(',', App::request()->getParams('contacts'))\n )\n ));\n }\n else {\n $filter = new DBExample(array(\n 'userId' => App::session()->getUser()->id,\n ));\n }\n\n // Get contacts from db\n $listContacts = HContact::getListByExample($filter, 'id', array(), array('firstName' => DB::SORT_ASC));\n\n // Create temporary file\n $tempFileName = 'contacts_' . uniqid() . '.csv';\n $file = fopen( Plugin::get('h-connect')->getPublicUserfilesDir() . $tempFileName, \"w\");\n\n $questions = HContactQuestion::getAll();\n $dataTitle = array(\n 'lastName', \n 'firstName', \n 'job', \n 'company',\n 'phoneNumber',\n 'cellNumber',\n 'personalNumber',\n 'email',\n 'address',\n 'city',\n 'postcode',\n 'country'\n );\n\n foreach ($questions as $key => $q) {\n if($q->type == 'file'){\n unset($questions[$key]);\n }\n else{\n $dataTitle[] = $q->name; \n } \n }\n\n // Write title in first line\n fputcsv($file, $dataTitle, ',');\n\n // For each contacts add data on one line\n foreach ($listContacts as $contact){\n $data = array(\n $contact->lastName, \n $contact->firstName, \n $contact->job, \n $contact->company,\n $contact->phoneNumber,\n $contact->cellNumber,\n $contact->personalNumber,\n $contact->email,\n $contact->address,\n $contact->city,\n $contact->postcode,\n $contact->country\n );\n\n foreach ($questions as $q) {\n $data[] = HContactValue::getValueByName($q->name, $contact->id);\n }\n\n fputcsv($file, $data, ',');\n }\n\n // Close file\n fclose($file);\n\n // Read data\n $data = file_get_contents(Plugin::get('h-connect')->getPublicUserfilesDir() . $tempFileName);\n\n // Remove remporaray file\n shell_exec('rm ' . Plugin::get('h-connect')->getPublicUserfilesDir() . $tempFileName);\n\n // Create response\n $response = App::response();\n $response->setContentType('text');\n $response->header('Content-Disposition', 'attachment; filename=\"contacts.csv\"');\n\n return $data;\n }", "public function download($id,$start_date,$end_date){\n\n $dealership = Dealership::find($id);\n\n $formatted_start_date = Carbon::createFromFormat('Y-m-d',$start_date);\n $formatted_start_date = $formatted_start_date->format('d-m-Y');\n\n $formatted_end_date = Carbon::createFromFormat('Y-m-d',$end_date);\n $formatted_end_date = $formatted_end_date->format('d-m-Y');\n\n $start_date = Carbon::parse($start_date)->format('d-m-Y');\n $end_date = Carbon::parse($end_date)->format('d-m-Y');\n\n $filename = 'Rhino Events_' . $dealership->name . '_' . $formatted_start_date . ' - ' . $formatted_end_date . '.csv';\n\n $handle = fopen('csv/' . $filename, 'w+');\n\n fputs($handle, \"\\xEF\\xBB\\xBF\" ); // UTF-8 BOM \n\n $csv_headers = [''];\n $csv_second_row = [''];\n $csv_events = [''];\n\n $manufacturer_ids = [];\n $event_ids = [];\n\n foreach($dealership->manufacturers as $manufacturer) {\n\n $manufacturer_ids[] = $manufacturer->id;\n\n $csv_headers[] = $manufacturer->name;\n $csv_headers[] = $manufacturer->name;\n $csv_headers[] = $manufacturer->name;\n $csv_headers[] = $manufacturer->name;\n $csv_headers[] = $manufacturer->name;\n $csv_headers[] = $manufacturer->name;\n $csv_headers[] = $manufacturer->name;\n $csv_headers[] = $manufacturer->name;\n $csv_headers[] = $manufacturer->name;\n\n $csv_second_row[] = 'Data Count';\n $csv_second_row[] = 'Appointments';\n $csv_second_row[] = 'Response Rate';\n $csv_second_row[] = 'New';\n $csv_second_row[] = 'Used';\n $csv_second_row[] = 'Demo';\n $csv_second_row[] = '0km';\n $csv_second_row[] = 'Coversion Rate';\n $csv_second_row[] = 'In Progress';\n\n foreach($dealership->events->where('start_date','<=',$end_date)->where('end_date','>=',$start_date) as $event) {\n\n $event_ids[] = $event->id;\n\n }\n\n }\n\n $csv_headers[] = 'Total';\n $csv_headers[] = 'Total';\n $csv_headers[] = 'Total';\n $csv_headers[] = 'Total';\n $csv_headers[] = 'Total';\n $csv_headers[] = 'Total';\n $csv_headers[] = 'Total';\n $csv_headers[] = 'Total';\n $csv_headers[] = 'Total';\n\n $csv_second_row[] = 'Data Count';\n $csv_second_row[] = 'Appointments';\n $csv_second_row[] = 'Response Rate';\n $csv_second_row[] = 'New';\n $csv_second_row[] = 'Used';\n $csv_second_row[] = 'Demo';\n $csv_second_row[] = '0km';\n $csv_second_row[] = 'Coversion Rate';\n $csv_second_row[] = 'In Progress';\n\n fputcsv($handle,$csv_headers);\n fputcsv($handle,$csv_second_row);\n\n $total_event_data = ['Total'];\n\n $events = Event::whereIn('id',$event_ids)->get();\n\n foreach($dealership->manufacturers as $dealershipManufacturer) {\n\n ${$dealershipManufacturer->name . '_total_data_count'} = 0;\n ${$dealershipManufacturer->name . '_total_appointments'} = 0;\n ${$dealershipManufacturer->name . '_total_new'} = 0;\n ${$dealershipManufacturer->name . '_total_used'} = 0;\n ${$dealershipManufacturer->name . '_total_demo'} = 0;\n ${$dealershipManufacturer->name . '_total_zero_km'} = 0;\n ${$dealershipManufacturer->name . '_total_inprogress'} = 0;\n\n }\n\n foreach($events as $event) {\n\n $event_data = [$event->name];\n\n $total_data_count = 0;\n $total_appointments = 0;\n $total_new = 0;\n $total_used = 0;\n $total_demo = 0;\n $total_zero_km = 0;\n $total_inprogress = 0;\n\n foreach($dealership->manufacturers as $dealershipManufacturer) {\n\n $manufacturer_data_count = '';\n $manufacturer_appointments = '';\n $manufacturer_response_rate = '';\n $manufacturer_new = '';\n $manufacturer_used = '';\n $manufacturer_demo = '';\n $manufacturer_zero_km = '';\n $manufacturer_conversion_rate = '';\n $manufacturer_inprogress = '';\n \n foreach($event->manufacturers as $manufacturer) {\n\n if($manufacturer->id == $dealershipManufacturer->id) {\n\n $manufacturer_data_count = $manufacturer->pivot->data_count;\n $manufacturer_appointments = $manufacturer->pivot->appointments;\n $manufacturer_response_rate = number_format($manufacturer->pivot->appointments/$manufacturer->pivot->data_count * 100, 2, '.', ',');\n $manufacturer_new = $manufacturer->pivot->new;\n $manufacturer_used = $manufacturer->pivot->used;\n $manufacturer_demo = $manufacturer->pivot->demo;\n $manufacturer_zero_km = $manufacturer->pivot->zero_km;\n $manufacturer_conversion_rate = number_format(($manufacturer->pivot->new + $manufacturer->pivot->used + $manufacturer->pivot->demo + $manufacturer->pivot->zero_km)/$manufacturer->pivot->appointments * 100, 2, '.', ',');\n $manufacturer_inprogress = $manufacturer->pivot->inprogress;\n\n ${$dealershipManufacturer->name . '_total_data_count'} += $manufacturer->pivot->data_count;\n ${$dealershipManufacturer->name . '_total_appointments'} += $manufacturer->pivot->appointments;\n ${$dealershipManufacturer->name . '_total_new'} += $manufacturer->pivot->new;\n ${$dealershipManufacturer->name . '_total_used'} += $manufacturer->pivot->used;\n ${$dealershipManufacturer->name . '_total_demo'} += $manufacturer->pivot->demo;\n ${$dealershipManufacturer->name . '_total_zero_km'} += $manufacturer->pivot->zero_km;\n ${$dealershipManufacturer->name . '_total_inprogress'} += $manufacturer->pivot->inprogress;\n\n }\n\n }\n\n $event_data[] = $manufacturer_data_count;\n $event_data[] = $manufacturer_appointments;\n if($manufacturer_response_rate > 0) {\n $event_data[] = $manufacturer_response_rate . '%';\n }\n else {\n $event_data[] = '';\n }\n $event_data[] = $manufacturer_new;\n $event_data[] = $manufacturer_used;\n $event_data[] = $manufacturer_demo;\n $event_data[] = $manufacturer_zero_km;\n if($manufacturer_conversion_rate > 0) {\n $event_data[] = $manufacturer_conversion_rate . '%';\n }\n else {\n $event_data[] = '';\n }\n $event_data[] = $manufacturer_inprogress;\n\n if(is_numeric($manufacturer_data_count)) {\n $total_data_count += $manufacturer_data_count;\n }\n\n if(is_numeric($manufacturer_appointments)) {\n $total_appointments += $manufacturer_appointments;\n }\n\n if(is_numeric($manufacturer_new)) {\n $total_new += $manufacturer_new;\n }\n\n if(is_numeric($manufacturer_used)) {\n $total_used += $manufacturer_used;\n }\n\n if(is_numeric($manufacturer_demo)) {\n $total_demo += $manufacturer_demo;\n }\n\n if(is_numeric($manufacturer_zero_km)) {\n $total_zero_km += $manufacturer_zero_km;\n }\n\n if(is_numeric($manufacturer_inprogress)) {\n $total_inprogress += $manufacturer_inprogress;\n }\n\n }\n\n $event_data[] = $total_data_count;\n $event_data[] = $total_appointments;\n if($total_data_count > 0) {\n $event_data[] = number_format($total_appointments/$total_data_count * 100, 2, '.', ',') . '%';\n }\n else {\n $event_data[] = '';\n }\n $event_data[] = $total_new;\n $event_data[] = $total_used;\n $event_data[] = $total_demo;\n $event_data[] = $total_zero_km;\n if($total_appointments > 0) {\n $event_data[] = number_format(($total_new + $total_used + $total_demo + $total_zero_km)/$total_appointments * 100, 2, '.', ',') . '%';\n }\n else {\n $event_data[] = '';\n }\n $event_data[] = $total_inprogress;\n\n fputcsv($handle,$event_data);\n\n }\n\n $total_total_data_count = 0;\n $total_total_appointments = 0;\n $total_total_new = 0;\n $total_total_used = 0;\n $total_total_demo = 0;\n $total_total_zero_km = 0;\n $total_total_inprogress = 0;\n\n foreach($dealership->manufacturers as $dealershipManufacturer) {\n\n $total_event_data[] = ${$dealershipManufacturer->name . '_total_data_count'};\n $total_event_data[] = ${$dealershipManufacturer->name . '_total_appointments'};\n if(${$dealershipManufacturer->name . '_total_data_count'} > 0) {\n $total_event_data[] = number_format(${$dealershipManufacturer->name . '_total_appointments'}/${$dealershipManufacturer->name . '_total_data_count'} * 100, 2, '.', ',') . '%';\n }\n else {\n $total_event_data[] = '0%';\n }\n $total_event_data[] = ${$dealershipManufacturer->name . '_total_new'};\n $total_event_data[] = ${$dealershipManufacturer->name . '_total_used'};\n $total_event_data[] = ${$dealershipManufacturer->name . '_total_demo'};\n $total_event_data[] = ${$dealershipManufacturer->name . '_total_zero_km'};\n if(${$dealershipManufacturer->name . '_total_appointments'} > 0) {\n $total_event_data[] = number_format((${$dealershipManufacturer->name . '_total_new'} + ${$dealershipManufacturer->name . '_total_used'} + ${$dealershipManufacturer->name . '_total_demo'} + ${$dealershipManufacturer->name . '_total_zero_km'})/${$dealershipManufacturer->name . '_total_appointments'} * 100, 2, '.', ',') . '%';\n }\n else {\n $total_event_data[] = '0%';\n }\n $total_event_data[] = ${$dealershipManufacturer->name . '_total_inprogress'};\n\n $total_total_data_count += ${$dealershipManufacturer->name . '_total_data_count'};\n $total_total_appointments += ${$dealershipManufacturer->name . '_total_appointments'};\n $total_total_new += ${$dealershipManufacturer->name . '_total_new'};\n $total_total_used += ${$dealershipManufacturer->name . '_total_used'};\n $total_total_demo += ${$dealershipManufacturer->name . '_total_demo'};\n $total_total_zero_km += ${$dealershipManufacturer->name . '_total_zero_km'};\n $total_total_inprogress += ${$dealershipManufacturer->name . '_total_inprogress'};\n\n }\n\n $total_event_data[] = $total_total_data_count;\n $total_event_data[] = $total_total_appointments;\n if($total_total_data_count > 0) {\n $total_event_data[] = number_format($total_total_appointments/$total_total_data_count * 100, 2, '.', ',') . '%';\n }\n else {\n $total_event_data[] = '0%';\n }\n $total_event_data[] = $total_total_new;\n $total_event_data[] = $total_total_used;\n $total_event_data[] = $total_total_demo;\n $total_event_data[] = $total_total_zero_km;\n if($total_total_appointments > 0) {\n $total_event_data[] = number_format(($total_total_new + $total_total_used + $total_total_demo + $total_total_zero_km)/$total_total_appointments * 100, 2, '.', ',') . '%';\n }\n else {\n $total_event_data[] = '0%';\n }\n $total_event_data[] = $total_total_inprogress;\n\n fputcsv($handle,$total_event_data);\n\n fclose($handle);\n\n $headers = array(\n 'Content-Type' => 'text/csv; charset=UTF-8',\n 'Content-Encoding' => 'UTF-8'\n );\n\n return response()->download('csv/' . $filename, $filename, $headers);\n\n }", "public function exportCsv(){\n $data = array(\n array(\"Viande\", \"Morceau\", \"label\", \"Colisage\", \"Qté\")\n );\n foreach ($this->cumulated_products as $product){\n $row = array(\n $product['category'],\n $product['product_name'],\n $product['label_name'],\n $product['description_short'],\n $product['quantity']\n );\n $data[] = $row;\n }\n //Tools::testVar($data);\n //download\n Tools::downloadCsv($data);\n }", "function modifyCSVEntry($file, $data, $index){\n $dataString = implode(';', $data);\n $currentData = '';\n $handler = fopen($file, 'r');\n for($i = 0; !feof($handler); $i++){\n $nLine = fgets($handler);\n if($i == $index){\n $currentData .= $dataString.\"\\n\";\n }\n else{\n $currentData .= $nLine;\n }\n }\n fclose($handler);\n $handler = fopen($file, 'w');\n fwrite($handler, $currentData);\n fclose($handler);\n}", "public function addBillingInfoToCSV( $extra_columns ) {\n\t\t\n\t\t$extra_columns['membership_id'] = array( $this, 'getCustomerInfo' );\n\t\t$extra_columns['membership_payment_transaction_id'] = array( $this, 'getCustomerInfo' );\n\t\t$extra_columns['membership_payment_subscription_id'] = array( $this, 'getCustomerInfo' );\n\t\t$extra_columns['membership_gateway_environment'] = array( $this, 'getCustomerInfo' );\n\t\t$extra_columns['membership_gateway'] = array( $this, 'getCustomerInfo' );\n\t\t$extra_columns['membership_status'] = array( $this, 'getCustomerInfo' );\n\t\t$extra_columns['membership_expirationyear'] = array( $this, 'getCustomerInfo' );\n\t\t$extra_columns['membership_expirationmonth'] = array( $this, 'getCustomerInfo' );\n\t\t$extra_columns['membership_accountnumber'] = array( $this, 'getCustomerInfo' );\n\t\t$extra_columns['membership_cardtype'] = array( $this, 'getCustomerInfo' );\n\t\t$extra_columns['membership_cardtype'] = array( $this, 'getCustomerInfo' );\n\t\t$extra_columns['membership_startdate'] = array( $this, 'getCustomerInfo' );\n\t\t$extra_columns['membership_enddate'] = array( $this, 'getCustomerInfo' );\n\t\t$extra_columns['membership_initial_payment'] = array( $this, 'getCustomerInfo' );\n\t\t$extra_columns['membership_billing_amount'] = array( $this, 'getCustomerInfo' );\n\t\t$extra_columns['membership_cycle_number'] = array( $this, 'getCustomerInfo' );\n\t\t$extra_columns['membership_cycle_period'] = array( $this, 'getCustomerInfo' );\n\t\t$extra_columns['membership_code_id'] = array( $this, 'getCustomerInfo' );\n\t\t$extra_columns['pmpro_braintree_customerid'] = array( $this, 'getCustomerInfo' );\n\t\t$extra_columns['pmprosm_sponsor'] = array( $this, 'getCustomerInfo' );\n\t\t$extra_columns['user_registered'] = array( $this, 'getCustomerInfo' );\n\t\t\n\t\treturn $extra_columns;\n\t}", "public function addCSV($data) {\n\t$this->csvdata = $data;\n\t$sep = $this->csvenclosedby . $this->csvseparator . $this->csvenclosedby;\n\t\n\t// csvs often have a blank line at the end. Remove or get an incorrect row at end\n\t// we don't know the length of the line separator so we need to calculate e.g. \\n is not the same as \\r\\n (2 chars)\n\tif (substr($data, (0 - strlen($this->csvline))) == $this->csvline) {\n\t\t$data = substr($data, 0, (0 - strlen($this->csvline)));\n\t}\n\t\n\t$lines = explode($this->csvline, $data);\n\t\n\t// get the header if exists\n\tif ($this->csvhasheader) {\n\t\t$headers = array_shift($lines);\n\t\tif ($this->csvenclosedby) { // remove enclose chars at start and end of line\n\t\t\t$headers = substr($headers, strlen($this->csvenclosedby), (0 - strlen($this->csvenclosedby)));\n\t\t}\n\t\t$this->headers = explode($sep, $headers);\n\t}\n\t\n\tforeach ($lines as $line) {\n\t\tif ($this->csvenclosedby) { // remove enclose chars at start and end of line\n\t\t\t$line = substr($line, strlen($this->csvenclosedby), (0 - strlen($this->csvenclosedby)));\n\t\t}\n\t\t$this->addRow(explode($sep, $line));\n\t}\n}", "function AppendData($filename,$Data) {\n\t\t$file = fopen(\"{$filename}\", 'a+');\n\n\t\tforeach ($Data as $fields) {\n\t fputcsv($file, $fields);\n\t }\n\t fclose($file);\n\t idDistribution($filename);\n\t}", "public function admin_addCSV() {\n\t\t\tadmin::addCSV();\n\t\t}", "public function volunteer_report_csv_row( $volunteer_id, $volunteer_data ) {\n\t \n\t $num_events = $volunteer_data['volunteer_num_events'];\n\t $num_hours = $volunteer_data['volunteer_num_hours'];\n\t $num_days = $volunteer_data['volunteer_num_days'];\n\t $display_name = $volunteer_data['display_name'];\n\t $generation_date = $volunteer_data['generation_date'];\n\t $last_volunteer_date = $volunteer_data['last_volunteer_date'];\n\t return $display_name . ',' . $generation_date . ',' .\n\t \t $last_volunteer_date . ',' . $num_events . ',' .\n\t \t $num_days . ',' . $num_hours;\n\t}", "protected function addRowToCsv($invoice_id, $aid, $total, $cost_ilds) {\n\t\tforeach (array('012', '013', '014', '015', '018', '019') as $key) {\n\t\t\tif (!isset($cost_ilds[$key])) {\n\t\t\t\t$cost_ilds[$key] = 0;\n\t\t\t}\n\t\t}\n\n\t\tksort($cost_ilds);\n\t\t$seperator = ',';\n\t\t$row = $invoice_id . $seperator . $aid . $seperator .\n\t\t\t$total . $seperator . ($total * self::VAT_VALUE) . $seperator . implode($seperator, $cost_ilds) . PHP_EOL;\n\t\t$this->csv($row);\n\t}", "public function dumpCsv();", "function create_logs_imprtCsv($csv_log_file=null){\r\n\t $att_Options = get_option ( ATTACHMENT_PREFIX );\r\n\t \r\n\t\r\n\t if( $att_Options['allowlog'] == \"1\"){\r\n\t\t \r\n\t\t $file = WP_EMAIL_ATT_PATH.'log.txt';\r\n\t\t\t// The new person to add to the file\r\n\t\t\t$content = date(\"d/M/Y h:i:sa\").\"\\n\\n\";\r\n\t\t\tif(!empty($csv_log_file)){\r\n\t\t\t\t\r\n\t\t\t\tupdate_option(\"csv_import_temp\", $csv_log_file);\t\r\n\t\t\t\t$csv_temp = get_option ( 'csv_import_temp' );\r\n\t\t\t\t\t\r\n\t\t\t\t$content .= \"Following file have been imported. \\n\\n\";\r\n\t\t\t\t$content .= \"\".$csv_temp.\"\\n\";\t\t\t\t\r\n\t\t\t}\r\n\t\t\t$content .= \"\\n..........................................................................\\n\";\r\n\t\t\t\r\n\t\t\t// using the FILE_APPEND flag to append the content to the end of the file\r\n\t\t\t// and the LOCK_EX flag to prevent anyone else writing to the file at the same time\r\n\t\t\tfile_put_contents($file, $content, FILE_APPEND | LOCK_EX);\r\n\t\t\t\t\t\t\r\n\t }\r\n\t \r\n }", "protected function updateCsvData()\n {\n // Cache found locations\n $locations = array();\n $dataLocation = '';\n \n // Find the data field that is mapped to the location_id\n foreach($this->mappings as $mapping) {\n if($mapping['fieldName'] == 'location_id') {\n $dataLocation = $mapping['headerName'];\n }\n }\n \n // Now go through each data row and add our new data\n for($i = 0; $i < $this->rowsTotal; $i++) {\n // First take care of the location_id\n if($dataLocation != '') {\n // Do a case insensitive search for the arena location\n $locationName = trim($this->csvData[$i][$dataLocation]);\n \n // See if it is in the cache and if so, use it\n if(isset($locations[$locationName])) {\n $this->csvData[$i][$dataLocation] = $locations[$locationName];\n } else {\n // Find the arena and cache the data\n $locations[$locationName] = $this->findOrAddLocation($locationName);\n \n $this->csvData[$i][$dataLocation] = $locations[$locationName];\n }\n }\n \n $this->csvData[$i]['my_secret_arena_id'] = $this->arenaId;\n $this->csvData[$i]['my_secret_type_id'] = $this->typeId;\n }\n }", "public function exportCustomerDetailCsvAction()\n {\n $fileName = 'tag_customer_detail.csv';\n $content = $this->getLayout()->createBlock('adminhtml/report_tag_customer_detail_grid')\n ->getCsvFile();\n\n $this->_prepareDownloadResponse($fileName, $content);\n }", "function booksDetailsCsv()\n {\n if($this->isAdmin() == TRUE)\n {\n $this->loadThis();\n }\n else\n {\n $school_id = $this->input->post('school_id');\n\n $students = $this->student_model->studentsListingByAttribute('School', $school_id);\n\n if ($students & !empty($students)) {\n $file = fopen(\"assets/students/students_data_sheet.csv\", \"w\");\n\n if ($file) {\n $header = array('SR. No.', 'Roll Number', 'NAME OF STUDENT', 'CLASS', 'SCI.', 'SB', 'MATH', 'MB', 'ENG', 'EB', 'GK', 'GB', 'COM.','CB', 'BIO.', 'BB');\n \n fputcsv($file, $header);\n\n $i = 1;\n foreach ($students as $student) {\n $line = array($i, $student->roll_number, $student->name, $student->class, 1, '', '', '', '', '', '', '', '','', '', '');\n fputcsv($file, $line);\n $i++;\n }\n echo '200';\n exit;\n } else {\n echo '400';\n exit;\n }\n }\n echo '400';\n exit;\n }\n }", "public function exportCsv() {\n\t\t$fileName = $this->user->info->ID_ACCOUNT . \"_InventorySalvager\" . date( 'Y-m-d' ) . \".csv\";\n\t\t$this->load->helper( 'download' );\n\t\tif ( ! file_exists( \"Downloads\" ) ) {\n\t\t\tmkdir( \"Downloads\" );\n\t\t}\n\t\terror_reporting( 0 );\n\t\t$fp = fopen( \"Downloads/\" . $fileName, \"w\" );\n\t\tif ( isset( $this->user->info->admin ) && ! empty( $this->user->info->admin ) ) {\n\t\t\t$head = array(\n\t\t\t\t\"User Name\",\n\t\t\t\t\"Product Name\",\n\t\t\t\t\"Reimbursement ID\",\n\t\t\t\t\"FNSKU\",\n\t\t\t\t\"Transaction Item Id\",\n\t\t\t\t\"Field\",\n\t\t\t\t\"Status\",\n\t\t\t\t\"Case Id\",\n\t\t\t\t\"Quantity Damage/Loss\",\n\t\t\t\t\"Case Reimbursed\"\n\t\t\t);\n\t\t\tfputcsv( $fp, $head );\n\t\t\t$write_info = array();\n\t\t\t$userDetails = $this->user_model->getAllUsers();\n\t\t\tforeach ( $userDetails as $key => $user ) {\n\t\t\t\t$inventoryDetails[ $key ] = $this->inventory_salvager_model->getInventoryCaseByAccountId( $user['ID_ACCOUNT'] );\n\t\t\t\t$result = $this->groupSortFNSKUArray( $inventoryDetails[ $key ] );\n\t\t\t\tforeach ( $result as $index => $case ) {\n\t\t\t\t\t$write_info['username'] = $user['username'];\n\t\t\t\t\t$write_info['productname'] = $case['productname'];\n\t\t\t\t\t$write_info['reimburse_id'] = $case['reimburse_id'];\n\t\t\t\t\t$write_info['fnsku'] = $case['fnsku'];\n\t\t\t\t\t$write_info['transaction_item_id'] = $case['transaction_item_id'];\n\t\t\t\t\t$write_info['date'] = date( 'Y/m/d', strtotime( $case['date'] ) );\n\t\t\t\t\t$write_info['status'] = ( ( $case['status'] == 1 ) ? 'Pending' : ( ( $case['status'] == 2 ) ? 'Success' : '' ) );\n\t\t\t\t\t$write_info['caseId'] = $case['caseId'];\n\t\t\t\t\t$write_info['quantity'] = $case['quantity'];\n\t\t\t\t\t$write_info['amount_total'] = ( ! empty( $caseDetials['amount_total'] ) ) ? \"$\" . $caseDetials['amount_total'] : '';\n\t\t\t\t\tfputcsv( $fp, $write_info );\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\t$days = 0;\n\t\t\t$result = $this->inventory_salvager_model->getInventoryCaseByAccountId( $this->user->info->ID_ACCOUNT );\n\t\t\t$invenDetails = $this->groupSortFNSKUArray( $result );\n\t\t\t$head = array(\n\t\t\t\t\"Product Name\",\n\t\t\t\t\"Reimbursement ID\",\n\t\t\t\t\"FNSKU\",\n\t\t\t\t\"Transaction Item Id\",\n\t\t\t\t\"Field\",\n\t\t\t\t\"Status\",\n\t\t\t\t\"Case Id\",\n\t\t\t\t\"Quantity Damage/Loss\",\n\t\t\t\t\"Case Reimbursed\"\n\t\t\t);\n\t\t\tfputcsv( $fp, $head );\n\t\t\t$write_info = array();\n\t\t\tforeach ( $invenDetails as $key => $case ) {\n\t\t\t\t$write_info['productname'] = $case['productname'];\n\t\t\t\t$write_info['reimburse_id'] = $case['reimburse_id'];\n\t\t\t\t$write_info['fnsku'] = $case['fnsku'];\n\t\t\t\t$write_info['transaction_item_id'] = $case['transaction_item_id'];\n\t\t\t\t$write_info['date'] = date( 'Y/m/d', strtotime( $case['date'] ) );\n\t\t\t\t$write_info['status'] = ( ( $case['status'] == 1 ) ? 'Pending' : ( ( $case['status'] == 2 ) ? 'Success' : '' ) );\n\t\t\t\t$write_info['caseId'] = $case['caseId'];\n\t\t\t\t$write_info['quantity'] = $case['quantity'];\n\t\t\t\t$write_info['amount_total'] = ( ! empty( $caseDetials['amount_total'] ) ) ? \"$\" . $caseDetials['amount_total'] : '';\n\t\t\t\tfputcsv( $fp, $write_info );\n\t\t\t}\n\t\t}\n\t\tfclose( $fp );\n\t\techo $url = base_url() . 'Downloads/' . $fileName;\n\t\texit;\n\t}", "public function exportCSV()\n {\n // get all data\n $this->all_users = self::curlRequest();\n\n if(!empty($this->all_users))\n {\n\n $delimiter = \",\";\n\n $filename = \"users_\" . date('Y-m-d-h-i-s') . \".csv\";\n \n //create a file pointer\n $f = fopen('php://memory', 'w');\n \n //set column headers\n $fields = array('Name', 'Email', 'Phone', 'City');\n\n fputcsv($f, $fields, $delimiter);\n \n //output each row of the data, format line as csv and write to file pointer\n foreach ($this->all_users as $key => $value) {\n\n // set user data\n $this->setData($value, $key);\n\n $line_data = (array)$this->users[$key];\n\n fputcsv($f, $line_data, $delimiter);\n\n }\n\n //move back to beginning of file\n fseek($f, 0);\n \n //set headers to download file rather than displayed\n header('Content-Type: text/csv');\n header('Content-Disposition: attachment; filename=\"' . $filename . '\";');\n \n //output all remaining data on a file pointer\n fpassthru($f);\n\n }\n\n }", "public function downloadCompany($dealership_id,$company_id,$start_date,$end_date)\n {\n\n $dealership = Dealership::find($dealership_id);\n\n $company = Company::find($company_id);\n\n $formatted_start_date = Carbon::createFromFormat('Y-m-d',$start_date);\n $formatted_start_date = $formatted_start_date->format('d-m-Y');\n\n $formatted_end_date = Carbon::createFromFormat('Y-m-d',$end_date);\n $formatted_end_date = $formatted_end_date->format('d-m-Y');\n\n $dealershipEvents = $dealership->events->where('start_date','<=',$end_date)->where('end_date','>=',$start_date);\n\n $filename = 'Rhino Events_' . $dealership->name . ' ' . $company->name . ' ' . $formatted_start_date . ' - ' . $formatted_end_date . '.csv';\n\n $handle = fopen('csv/' . $filename, 'w+');\n\n fputs($handle, \"\\xEF\\xBB\\xBF\" ); // UTF-8 BOM\n\n $csv_headers = [''];\n $csv_second_row = [''];\n $csv_events = [''];\n\n $manufacturer_ids = [];\n $event_ids = [];\n\n foreach($company->manufacturers as $manufacturer) {\n\n $manufacturer_ids[] = $manufacturer->id;\n\n $csv_headers[] = $manufacturer->name;\n $csv_headers[] = $manufacturer->name;\n $csv_headers[] = $manufacturer->name;\n $csv_headers[] = $manufacturer->name;\n $csv_headers[] = $manufacturer->name;\n $csv_headers[] = $manufacturer->name;\n $csv_headers[] = $manufacturer->name;\n $csv_headers[] = $manufacturer->name;\n $csv_headers[] = $manufacturer->name;\n\n $csv_second_row[] = 'Data Count';\n $csv_second_row[] = 'Appointments';\n $csv_second_row[] = 'Response Rate';\n $csv_second_row[] = 'New';\n $csv_second_row[] = 'Used';\n $csv_second_row[] = 'Demo';\n $csv_second_row[] = '0km';\n $csv_second_row[] = 'Coversion Rate';\n $csv_second_row[] = 'In Progress';\n\n foreach($manufacturer->events->where('start_date','<=',$end_date)->where('end_date','>=',$start_date) as $event) {\n\n if($event->dealership->id == $dealership->id) {\n\n $event_ids[] = $event->id;\n\n }\n\n }\n\n }\n\n $csv_headers[] = 'Total';\n $csv_headers[] = 'Total';\n $csv_headers[] = 'Total';\n $csv_headers[] = 'Total';\n $csv_headers[] = 'Total';\n $csv_headers[] = 'Total';\n $csv_headers[] = 'Total';\n $csv_headers[] = 'Total';\n $csv_headers[] = 'Total';\n\n $csv_second_row[] = 'Data Count';\n $csv_second_row[] = 'Appointments';\n $csv_second_row[] = 'Response Rate';\n $csv_second_row[] = 'New';\n $csv_second_row[] = 'Used';\n $csv_second_row[] = 'Demo';\n $csv_second_row[] = '0km';\n $csv_second_row[] = 'Coversion Rate';\n $csv_second_row[] = 'In Progress';\n\n fputcsv($handle,$csv_headers);\n fputcsv($handle,$csv_second_row);\n\n $total_event_data = ['Total'];\n\n $events = Event::whereIn('id',$event_ids)->get();\n\n foreach($company->manufacturers as $companyManufacturer) {\n\n ${$companyManufacturer->name . '_total_data_count'} = 0;\n ${$companyManufacturer->name . '_total_appointments'} = 0;\n ${$companyManufacturer->name . '_total_new'} = 0;\n ${$companyManufacturer->name . '_total_used'} = 0;\n ${$companyManufacturer->name . '_total_demo'} = 0;\n ${$companyManufacturer->name . '_total_zero_km'} = 0;\n ${$companyManufacturer->name . '_total_inprogress'} = 0;\n\n }\n\n foreach($events as $event) {\n\n $event_data = [$event->name];\n\n $total_data_count = 0;\n $total_appointments = 0;\n $total_new = 0;\n $total_used = 0;\n $total_demo = 0;\n $total_zero_km = 0;\n $total_inprogress = 0;\n\n foreach($company->manufacturers as $companyManufacturer) {\n\n $manufacturer_data_count = '';\n $manufacturer_appointments = '';\n $manufacturer_response_rate = '';\n $manufacturer_new = '';\n $manufacturer_used = '';\n $manufacturer_demo = '';\n $manufacturer_zero_km = '';\n $manufacturer_conversion_rate = '';\n $manufacturer_inprogress = '';\n \n foreach($event->manufacturers as $manufacturer) {\n\n if($manufacturer->id == $companyManufacturer->id) {\n\n $manufacturer_data_count = $manufacturer->pivot->data_count;\n $manufacturer_appointments = $manufacturer->pivot->appointments;\n $manufacturer_response_rate = number_format($manufacturer->pivot->appointments/$manufacturer->pivot->data_count * 100, 2, '.', ',');\n $manufacturer_new = $manufacturer->pivot->new;\n $manufacturer_used = $manufacturer->pivot->used;\n $manufacturer_demo = $manufacturer->pivot->demo;\n $manufacturer_zero_km = $manufacturer->pivot->zero_km;\n $manufacturer_conversion_rate = number_format(($manufacturer->pivot->new + $manufacturer->pivot->used + $manufacturer->pivot->demo + $manufacturer->pivot->zero_km)/$manufacturer->pivot->appointments * 100, 2, '.', ',');\n $manufacturer_inprogress = $manufacturer->pivot->inprogress;\n\n ${$companyManufacturer->name . '_total_data_count'} += $manufacturer->pivot->data_count;\n ${$companyManufacturer->name . '_total_appointments'} += $manufacturer->pivot->appointments;\n ${$companyManufacturer->name . '_total_new'} += $manufacturer->pivot->new;\n ${$companyManufacturer->name . '_total_used'} += $manufacturer->pivot->used;\n ${$companyManufacturer->name . '_total_demo'} += $manufacturer->pivot->demo;\n ${$companyManufacturer->name . '_total_zero_km'} += $manufacturer->pivot->zero_km;\n ${$companyManufacturer->name . '_total_inprogress'} += $manufacturer->pivot->inprogress;\n\n }\n\n }\n\n $event_data[] = $manufacturer_data_count;\n $event_data[] = $manufacturer_appointments;\n if($manufacturer_response_rate > 0) {\n $event_data[] = $manufacturer_response_rate . '%';\n }\n else {\n $event_data[] = '';\n }\n $event_data[] = $manufacturer_new;\n $event_data[] = $manufacturer_used;\n $event_data[] = $manufacturer_demo;\n $event_data[] = $manufacturer_zero_km;\n if($manufacturer_conversion_rate > 0) {\n $event_data[] = $manufacturer_conversion_rate . '%';\n }\n else {\n $event_data[] = '';\n }\n $event_data[] = $manufacturer_inprogress;\n\n if(is_numeric($manufacturer_data_count)) {\n $total_data_count += $manufacturer_data_count;\n }\n\n if(is_numeric($manufacturer_appointments)) {\n $total_appointments += $manufacturer_appointments;\n }\n\n if(is_numeric($manufacturer_new)) {\n $total_new += $manufacturer_new;\n }\n\n if(is_numeric($manufacturer_used)) {\n $total_used += $manufacturer_used;\n }\n\n if(is_numeric($manufacturer_demo)) {\n $total_demo += $manufacturer_demo;\n }\n\n if(is_numeric($manufacturer_zero_km)) {\n $total_zero_km += $manufacturer_zero_km;\n }\n\n if(is_numeric($manufacturer_inprogress)) {\n $total_inprogress += $manufacturer_inprogress;\n }\n\n }\n\n $event_data[] = $total_data_count;\n $event_data[] = $total_appointments;\n if($total_data_count > 0) {\n $event_data[] = number_format($total_appointments/$total_data_count * 100, 2, '.', ',') . '%';\n }\n else {\n $event_data[] = '';\n }\n $event_data[] = $total_new;\n $event_data[] = $total_used;\n $event_data[] = $total_demo;\n $event_data[] = $total_zero_km;\n if($total_appointments > 0) {\n $event_data[] = number_format(($total_new + $total_used + $total_demo + $total_zero_km)/$total_appointments * 100, 2, '.', ',') . '%';\n }\n else {\n $event_data[] = '';\n }\n $event_data[] = $total_inprogress;\n\n fputcsv($handle,$event_data);\n\n }\n\n $total_total_data_count = 0;\n $total_total_appointments = 0;\n $total_total_new = 0;\n $total_total_used = 0;\n $total_total_demo = 0;\n $total_total_zero_km = 0;\n $total_total_inprogress = 0;\n\n foreach($company->manufacturers as $companyManufacturer) {\n\n $total_event_data[] = ${$companyManufacturer->name . '_total_data_count'};\n $total_event_data[] = ${$companyManufacturer->name . '_total_appointments'};\n if(${$companyManufacturer->name . '_total_data_count'} > 0) {\n $total_event_data[] = number_format(${$companyManufacturer->name . '_total_appointments'}/${$companyManufacturer->name . '_total_data_count'} * 100, 2, '.', ',') . '%';\n }\n else {\n $total_event_data[] = '0%';\n }\n $total_event_data[] = ${$companyManufacturer->name . '_total_new'};\n $total_event_data[] = ${$companyManufacturer->name . '_total_used'};\n $total_event_data[] = ${$companyManufacturer->name . '_total_demo'};\n $total_event_data[] = ${$companyManufacturer->name . '_total_zero_km'};\n if(${$companyManufacturer->name . '_total_appointments'} > 0) {\n $total_event_data[] = number_format((${$companyManufacturer->name . '_total_new'} + ${$companyManufacturer->name . '_total_used'} + ${$companyManufacturer->name . '_total_demo'} + ${$companyManufacturer->name . '_total_zero_km'})/${$companyManufacturer->name . '_total_appointments'} * 100, 2, '.', ',') . '%';\n }\n else {\n $total_event_data[] = '0%';\n }\n $total_event_data[] = ${$companyManufacturer->name . '_total_inprogress'};\n\n $total_total_data_count += ${$companyManufacturer->name . '_total_data_count'};\n $total_total_appointments += ${$companyManufacturer->name . '_total_appointments'};\n $total_total_new += ${$companyManufacturer->name . '_total_new'};\n $total_total_used += ${$companyManufacturer->name . '_total_used'};\n $total_total_demo += ${$companyManufacturer->name . '_total_demo'};\n $total_total_zero_km += ${$companyManufacturer->name . '_total_zero_km'};\n $total_total_inprogress += ${$companyManufacturer->name . '_total_inprogress'};\n\n }\n\n $total_event_data[] = $total_total_data_count;\n $total_event_data[] = $total_total_appointments;\n if($total_total_data_count > 0) {\n $total_event_data[] = number_format($total_total_appointments/$total_total_data_count * 100, 2, '.', ',') . '%';\n }\n else {\n $total_event_data[] = '0%';\n }\n $total_event_data[] = $total_total_new;\n $total_event_data[] = $total_total_used;\n $total_event_data[] = $total_total_demo;\n $total_event_data[] = $total_total_zero_km;\n if($total_total_appointments > 0) {\n $total_event_data[] = number_format(($total_total_new + $total_total_used + $total_total_demo + $total_total_zero_km)/$total_total_appointments * 100, 2, '.', ',') . '%';\n }\n else {\n $total_event_data[] = '0%';\n }\n $total_event_data[] = $total_total_inprogress;\n\n fputcsv($handle,$total_event_data);\n\n fclose($handle);\n\n $headers = array(\n 'Content-Type' => 'text/csv; charset=UTF-8',\n 'Content-Encoding' => 'UTF-8'\n );\n\n return response()->download('csv/' . $filename, $filename, $headers);\n\n }", "function addIncident($data) {\r\n\r\n\t//We use the following if statement to add slashes to the HTML elements so it stores in the database properly\r\n\tif (!get_magic_quotes_runtime())\r\n\t{\r\n\t\t$content = addslashes($data['content']);\r\n\t}\r\n\r\n\t//Check if admin_id is empty or equal to 0, if it is then status remains pending (0), otherwise status is accepted (1)\r\n\tif( ($data['admin_id'] != 0) && !empty($data['admin_id']) ) {\r\n\t\t$status = 1;\r\n\t} else {\r\n\t\t$status = 0;\r\n\t}//end if\r\n\r\n\t\treturn ($this->query('INSERT INTO incidents \r\n\t\t\t\t\t\t\t(`id`, `created`, `modified`, `description`, `status`, `content`, `category_id`, `priority`, \r\n\t\t\t\t\t\t\t`user_id`, `admin_id`) \r\n\t\t\t\t\t\t\tVALUES (NULL, CURRENT_TIMESTAMP(), CURRENT_TIMESTAMP(), \"'. $data['description'] .'\",\r\n\t\t\t\t\t\t\t'. $status .', \"'. $content .'\", '. $data['category_id'] .',\r\n\t\t\t\t\t\t\t'. $data['priority'] .', '. $data['user_id'] .', '. $data['admin_id'] .');'));\r\n\r\n\t}", "public function exportCsvAction()\n {\n $fileName = 'info.csv';\n $content = $this->getLayout()->createBlock('bs_instructorinfo/adminhtml_info_grid')\n ->getCsv();\n $this->_prepareDownloadResponse($fileName, $content);\n }", "function csv($form_id, $search = '', $fid = ''){\n if(!current_user_can('frm_view_entries')){\n global $frm_settings;\n wp_die($frm_settings->admin_permission);\n }\n\n if( !ini_get('safe_mode') ){\n set_time_limit(0); //Remove time limit to execute this function\n ini_set('memory_limit', '256M');\n }\n\n global $current_user, $frm_form, $frm_field, $frm_entry, $frm_entry_meta, $wpdb, $frmpro_settings;\n \n $form = $frm_form->getOne($form_id);\n $form_name = sanitize_title_with_dashes($form->name);\n $form_cols = $frm_field->getAll(\"fi.type not in ('divider', 'captcha', 'break', 'html') and fi.form_id=\".$form->id, 'field_order ASC');\n $item_id = FrmAppHelper::get_param('item_id', false);\n $where_clause = \"it.form_id=\". (int)$form_id;\n \n if($item_id){\n\n $where_clause .= \" and it.id in (\";\n $item_ids = explode(',', $item_id);\n foreach((array)$item_ids as $k => $it){\n if($k)\n $where_clause .= \",\";\n $where_clause .= $it;\n unset($k);\n unset($it);\n }\n\n $where_clause .= \")\";\n }else if(!empty($search)){\n $where_clause = $this->get_search_str($where_clause, $search, $form_id, $fid);\n }\n \n $where_clause = apply_filters('frm_csv_where', $where_clause, compact('form_id'));\n\n $entries = $frm_entry->getAll($where_clause, '', '', true, false);\n\n $filename = date(\"ymdHis\",time()) . '_' . $form_name . '_formidable_entries.csv';\n $wp_date_format = apply_filters('frm_csv_date_format', 'Y-m-d H:i:s');\n $charset = get_option('blog_charset');\n \n $to_encoding = $frmpro_settings->csv_format;\n \n require(FRMPRO_VIEWS_PATH.'/frmpro-entries/csv.php');\n }", "function csv()\n {\n }", "function csv()\n {\n }", "public function exportcatevents()\n\t{\n\t\tJSession::checkToken() or jexit('Invalid Token');\n\n\t\t$this->sendHeaders(\"catevents.csv\", \"text/csv\");\n\t\t$this->getModel()->getCsvcatsevents();\n\t\tjexit();\n\t}", "function exportdids_all() {\n\tglobal $db;\n\t$action\t\t= \"edit\";\n\t$fname\t\t= \"bulkdids__\" . (string) time() . $_SERVER[\"SERVER_NAME\"] . \".csv\";\n\t$csv_header \t= \"action,DID,description,destination,cidnum,alertinfo,grppre,mohclass,ringing,privacyman\\n\";\n\t$data \t\t= $csv_header;\n\t$exts \t\t= get_all_dids();\n\tforeach ($exts as $ext) {\n\n\t\t$e \t= $ext;\n\t\t$did_info = core_did_get($e['extension'],$e['cidnum']);\n\t\t$csv_line[0] \t= $action;\n\t\t$csv_line[1] \t= isset($did_info[\"extension\"])?$did_info[\"extension\"]:\"\";\n\t\t$csv_line[2] \t= isset($did_info[\"description\"])?$did_info[\"description\"]:\"\";\n\t\t$csv_line[3] \t= isset($did_info[\"destination\"])?$did_info[\"destination\"]:\"\";\n\t\t$csv_line[4] \t= isset($did_info[\"cidnum\"])?$did_info[\"cidnum\"]:\"\";\n\t\t$csv_line[5] \t= isset($did_info[\"alertinfo\"])?$did_info[\"alertinfo\"]:\"\";\n\t\t$csv_line[6] \t= isset($did_info[\"grppre\"])?$did_info[\"grppre\"]:\"\";\n\t\t$csv_line[7]\t= isset($did_info[\"mohclass\"])?$did_info[\"mohclass\"]:\"\";\n\t\t$csv_line[8]\t= isset($did_info[\"ringing\"])?$did_info[\"ringing\"]:\"0\";\n\t\t$csv_line[9]\t= isset($did_info[\"privacyman\"])?$did_info[\"privacyman\"]:\"\";\n\n\t\tfor ($i = 0; $i < count($csv_line); $i++) {\n\t\t\t/* If the string contains a comma, enclose it in double-quotes. */\n\t\t\tif (strpos($csv_line[$i], \",\") !== FALSE) {\n\t\t\t\t$csv_line[$i] = \"\\\"\" . $csv_line[$i] . \"\\\"\";\n\t\t\t}\n\t\t\tif ($i != count($csv_line) - 1) {\n\t\t\t\t$data = $data . $csv_line[$i] . \",\";\n\t\t\t} else {\n\t\t\t\t$data = $data . $csv_line[$i];\n\t\t\t}\n\t\t}\n\t\t$data = $data . \"\\n\";\n\t\tunset($csv_line);\n\t}\n\tbulkdids_force_download($data, $fname);\n\treturn;\n}", "function csv_export() {\t\t\n\t\t$db = & JFactory::getDBO();\n\t\tif (!EventBookingHelper::canExportRegistrants()) {\n\t\t\tJFactory::getApplication()->redirect('index.php', JText::_('EB_NOT_ALLOWED_TO_EXPORT'));\n\t\t}\t\t\t\t\n\t\tif (version_compare(JVERSION, '1.6.0', 'ge')) {\n\t\t\t$param = null ;\n\t\t} else {\n\t\t\t$param = 0 ;\n\t\t}\n\t\t$taxEnabled = $config->enable_tax && ($config->tax_rate > 0) ;\n\t\t$eventId = JRequest::getInt('event_id') ;\n\t\t$where = array() ;\n\t\t$where[] = '(a.published = 1 OR (a.payment_method=\"os_offline\" AND a.published != 2))' ;\n\t\tif ($eventId)\n\t\t\t$where[] = ' a.event_id='.$eventId ;\n\t\tif (isset($config->include_group_billing_in_csv_export) && !$config->include_group_billing_in_csv_export)\n\t\t\t$where[] = ' a.is_group_billing = 0 ' ;\n\t\tif ($config->show_coupon_code_in_registrant_list) {\n\t\t\t$sql = 'SELECT a.*, b.event_date, b.title AS event_title, c.code AS coupon_code FROM #__eb_registrants AS a INNER JOIN #__eb_events AS b ON a.event_id = b.id LEFT JOIN #__eb_coupons AS c ON a.coupon_id=c.id WHERE '.implode(' AND ', $where).' ORDER BY a.id ';\n\t\t} else {\n\t\t\t$sql = 'SELECT a.*, b.event_date, b.title AS event_title FROM #__eb_registrants AS a INNER JOIN #__eb_events AS b ON a.event_id = b.id WHERE '.implode(' AND ', $where).' ORDER BY a.id ';\n\t\t}\n\t\t$db->setQuery($sql) ;\n\t\t$rows = $db->loadObjectList();\n\t\tif (count($rows) == 0) {\n\t\t\tJFactory::getApplication()->redirect('index.php', JText::_('EB_NO_REGISTRANTS_TO_EXPORT'));\n\t\t}\n\t\tif ($eventId)\n\t\t\t$sql = 'SELECT id, title FROM #__eb_fields WHERE published=1 AND (event_id = -1 OR id IN (SELECT field_id FROM #__eb_field_events WHERE event_id='.$eventId.')) ORDER BY ordering';\n\t\telse\n\t\t\t$sql = 'SELECT id, title FROM #__eb_fields WHERE published=1 ORDER BY ordering';\n\t\t$db->setQuery($sql) ;\n\t\t$rowFields = $db->loadObjectList() ;\n\t\t//Get the custom fields value and store them into an array\n\t\n\t\t$sql = 'SELECT id FROM #__eb_registrants AS a WHERE '.implode(' AND ', $where) ;\n\t\t$db->setQuery($sql) ;\n\t\t$registrantIds = array(0) ;\n\t\t$registrantIds = array_merge($registrantIds, $db->loadResultArray()) ;\n\t\t$sql = 'SELECT registrant_id, field_id, field_value FROM #__eb_field_values WHERE registrant_id IN ('.implode(',', $registrantIds).')';\n\t\t$db->setQuery($sql) ;\n\t\t$rowFieldValues = $db->loadObjectList();\n\t\t$fieldValues = array() ;\n\t\tfor ($i = 0 , $n = count($rowFieldValues) ; $i < $n ; $i++) {\n\t\t\t$rowFieldValue = $rowFieldValues[$i] ;\n\t\t\t$fieldValues[$rowFieldValue->registrant_id][$rowFieldValue->field_id] = $rowFieldValue->field_value ;\n\t\t}\n\t\t//Get name of groups\n\t\t$groupNames = array() ;\n\t\t$sql = 'SELECT id, first_name, last_name FROM #__eb_registrants AS a WHERE is_group_billing = 1'. (COUNT($where) ? ' AND '.implode(' AND ', $where) : '');\n\t\t$db->setQuery($sql);\n\t\t$rowGroups = $db->loadObjectList() ;\n\t\tif (count($rowGroups)) {\n\t\t\tforeach ($rowGroups as $rowGroup) {\n\t\t\t\t$groupNames[$rowGroup->id] = $rowGroup->first_name . ' '.$rowGroup->last_name ;\n\t\t\t}\n\t\t}\n\t\tif(count($rows)){\n\t\t\t$results_arr=array();\n\t\t\t$csv_output = JText::_('EB_EVENT');\n\t\t\tif ($config->show_event_date) {\n\t\t\t\t$csv_output .= \",\". JText::_('EB_EVENT_DATE') ;\n\t\t\t}\n\t\t\t$csv_output .= \", \". JText::_('EB_FIRST_NAME') ;\n\t\t\tif ($config->s_lastname)\n\t\t\t\t$csv_output .= \", \". JText::_('EB_LAST_NAME');\n\t\t\tif ($config->s_organization)\n\t\t\t\t$csv_output .= ', '. JText::_('EB_ORGANIZATION');\n\t\t\tif ($config->s_address)\n\t\t\t\t$csv_output .= ', '. JText::_('EB_ADDRESS');\n\t\t\tif ($config->s_address2)\n\t\t\t\t$csv_output .= ', '. JText::_('EB_ADDRESS2');\n\t\t\tif ($config->s_city)\n\t\t\t\t$csv_output .= ', '. JText::_('EB_CITY');\n\t\t\tif ($config->s_state)\n\t\t\t\t$csv_output .= ', '. JText::_('EB_STATE');\n\t\t\tif ($config->s_zip)\n\t\t\t\t$csv_output .= ', '. JText::_('EB_ZIP');\n\t\t\tif ($config->s_country)\n\t\t\t\t$csv_output .= ', '. JText::_('EB_COUNTRY');\n\t\t\tif ($config->s_phone)\n\t\t\t\t$csv_output .= ', '. JText::_('EB_PHONE');\n\t\t\tif ($config->s_fax)\n\t\t\t\t$csv_output .= ', '. JText::_('EB_FAX');\n\t\t\t$csv_output .= ', '. JText::_('EB_EMAIL');\n\t\t\t$csv_output .= ', '. JText::_('EB_NB_REGISTRANTS');\n\t\t\t$csv_output .= ', '. JText::_('EB_AMOUNT');\n\t\t\tif ($taxEnabled) {\n\t\t\t\t$csv_output .= ', '. JText::_('EB_TAX');\n\t\t\t}\n\t\t\tif ($config->activate_deposit_feature) {\n\t\t\t\t$csv_output .= ', '. JText::_('EB_DEPOSIT_AMOUNT');\n\t\t\t\t$csv_output .= ', '. JText::_('EB_DUE_AMOUNT');\n\t\t\t}\n\t\t\tif ($config->show_coupon_code_in_registrant_list) {\n\t\t\t\t$csv_output .= ','. JText::_('EB_COUPON');\n\t\t\t}\n\t\t\t$csv_output .= ','. JText::_('EB_REGISTRATION_DATE');\n\t\t\t$csv_output .= ','. JText::_('EB_TRANSACTION_ID');\n\t\t\t$csv_output .= ', '. JText::_('EB_PAYMENT_STATUS');\n\t\t\tif (count($rowFields)) {\n\t\t\t\tforeach ($rowFields as $rowField)\n\t\t\t\t\t$csv_output .= ', '.$rowField->title ;\n\t\t\t}\n\t\t\tif ($config->s_comment)\n\t\t\t\t$csv_output .= ', '. JText::_('EB_COMMENT');\n\t\t\tforeach($rows as $r) {\n\t\t\t\t$results_arr=array();\n\t\t\t\t$results_arr[]=$r->event_title ;\n\t\t\t\tif ($config->show_event_date) {\n\t\t\t\t\t$results_arr[] = JHTML::_('date', $r->event_date, $config->date_format, $param) ;\n\t\t\t\t}\n\t\t\t\tif ($r->is_group_billing)\n\t\t\t\t\t$results_arr[]=$r->first_name.' '.JText::_('EB_GROUP_BILLING');\n\t\t\t\telseif ($r->group_id > 0)\n\t\t\t\t$results_arr[]=$r->first_name.' '.JText::_('EB_GROUP').$groupNames[$r->group_id] ;\n\t\t\t\telse\n\t\t\t\t\t$results_arr[]=$r->first_name ;\n\t\t\t\tif ($config->s_lastname)\n\t\t\t\t\t$results_arr[]=$r->last_name ;\n\t\t\t\tif ($config->s_organization)\n\t\t\t\t\t$results_arr[]=$r->organization;\n\t\t\t\tif ($config->s_address)\n\t\t\t\t\t$results_arr[]=$r->address;\n\t\t\t\tif ($config->s_address2)\n\t\t\t\t\t$results_arr[]=$r->address2;\n\t\t\t\tif ($config->s_city)\n\t\t\t\t\t$results_arr[]=$r->city;\n\t\t\t\tif ($config->s_state)\n\t\t\t\t\t$results_arr[]=$r->state;\n\t\t\t\tif ($config->s_zip)\n\t\t\t\t\t$results_arr[]=$r->zip;\n\t\t\t\tif ($config->s_country)\n\t\t\t\t\t$results_arr[]=$r->country;\n\t\t\t\tif ($config->s_phone)\n\t\t\t\t\t$results_arr[]=$r->phone;\n\t\t\t\tif ($config->s_fax)\n\t\t\t\t\t$results_arr[]=$r->fax;\n\t\t\t\t$results_arr[]=$r->email;\n\t\t\t\t$results_arr[] = $r->number_registrants ;\n\t\t\t\t$results_arr[]= number_format($r->amount, 2);\n\t\t\t\tif ($taxEnabled)\n\t\t\t\t\t$results_arr[]= number_format($r->tax_amount, 2);\n\t\t\t\tif ($config->activate_deposit_feature) {\n\t\t\t\t\tif ($r->deposit_amount > 0) {\n\t\t\t\t\t\t$results_arr[]= number_format($r->deposit_amount, 2);\n\t\t\t\t\t\t$results_arr[]= number_format($r->amount - $r->deposit_amount, 2);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t$results_arr[]= '';\n\t\t\t\t\t\t$results_arr[]= '';\n\t\t\t\t\t}\n\t\t\t\t}\n\t\n\t\t\t\tif ($config->show_coupon_code_in_registrant_list) {\n\t\t\t\t\t$results_arr[]= $r->coupon_code ;\n\t\t\t\t}\n\t\n\t\t\t\t$results_arr[]= JHTML::_('date', $r->register_date, $config->date_format, $param);\n\t\t\t\t$results_arr[]= $r->transaction_id ;\n\t\t\t\tif ($r->published) {\n\t\t\t\t\t$results_arr[]= 'Paid' ;\n\t\t\t\t} else {\n\t\t\t\t\t$results_arr[]= 'Not Paid' ;\n\t\t\t\t}\n\t\t\t\tif (count($rowFields))\n\t\t\t\t\tforeach ($rowFields as $rowField) {\n\t\t\t\t\t$results_arr[] = @$fieldValues[$r->id][$rowField->id] ;\n\t\t\t\t}\n\t\t\t\tif ($config->s_comment)\n\t\t\t\t\t$results_arr[]= $r->comment;\n\t\t\t\t$csv_output .= \"\\n\\\"\".implode (\"\\\",\\\"\", $results_arr).\"\\\"\";\n\t\t\t}\n\t\t\t$csv_output .= \"\\n\";\n\t\t\tif (ereg('Opera(/| )([0-9].[0-9]{1,2})', $_SERVER['HTTP_USER_AGENT'])) {\n\t\t\t\t$UserBrowser = \"Opera\";\n\t\t\t}\n\t\t\telseif (ereg('MSIE ([0-9].[0-9]{1,2})', $_SERVER['HTTP_USER_AGENT'])) {\n\t\t\t\t$UserBrowser = \"IE\";\n\t\t\t} else {\n\t\t\t\t$UserBrowser = '';\n\t\t\t}\n\t\t\t$mime_type = ($UserBrowser == 'IE' || $UserBrowser == 'Opera') ? 'application/octetstream' : 'application/octet-stream';\n\t\t\t$filename = \"registrants_list\";\n\t\t\t@ob_end_clean();\n\t\t\tob_start();\n\t\t\theader('Content-Type: ' . $mime_type);\n\t\t\theader('Expires: ' . gmdate('D, d M Y H:i:s') . ' GMT');\n\t\t\tif ($UserBrowser == 'IE') {\n\t\t\t\theader('Content-Disposition: attachment; filename=\"' . $filename . '.csv\"');\n\t\t\t\theader('Cache-Control: must-revalidate, post-check=0, pre-check=0');\n\t\t\t\theader('Pragma: public');\n\t\t\t}\n\t\t\telse {\n\t\t\t\theader('Content-Disposition: attachment; filename=\"' . $filename . '.csv\"');\n\t\t\t\theader('Pragma: no-cache');\n\t\t\t}\n\t\t\tprint $csv_output;\n\t\t\texit();\n\t\t}\n\t}", "public function render_section_csv($sectiontitle, $report, $head, $rows, $fields) {\n $name = clean_param($sectiontitle, PARAM_FILE);\n $name = preg_replace(\"/[^A-Z0-9]+/i\", \"_\", trim($name));\n\t\t$quote = '\"';\n\t\t$delim= \",\";//\"\\t\";\n\t\t$newline = \"\\r\\n\";\n\n\t\theader(\"Content-Disposition: attachment; filename=$name.csv\");\n\t\theader(\"Content-Type: text/comma-separated-values\");\n\n\t\t//echo header\n\t\t$heading=\"\";\t\n\t\tforeach($head as $headfield){\n\t\t\t$heading .= $quote . $headfield . $quote . $delim ;\n\t\t}\n\t\techo $heading. $newline;\n\t\t\n\t\t//echo data rows\n foreach ($rows as $row) {\n\t\t\t$datarow = \"\";\n\t\t\tforeach($fields as $field){\n\t\t\t\t$datarow .= $quote . $row->{$field} . $quote . $delim ;\n\t\t\t}\n\t\t\t echo $datarow . $newline;\n\t\t}\n exit();\n\t}" ]
[ "0.6106091", "0.57650083", "0.57047313", "0.5674987", "0.56261224", "0.55862075", "0.5574186", "0.55175775", "0.54936993", "0.54843533", "0.54797745", "0.5477209", "0.54559284", "0.5451583", "0.5442308", "0.5425837", "0.54140115", "0.5389178", "0.53820634", "0.53780574", "0.53516746", "0.5322336", "0.5317886", "0.5316263", "0.5299008", "0.5299008", "0.52873945", "0.5275615", "0.52696455", "0.5267305" ]
0.8415029
0
event for adding CSV headers to the CSV output
public function _add_csv_headers() { $csv = Event::$data; $csv .= ",SIMPLE GROUP NAME,SIMPLE GROUP CATEGORIES"; Event::$data = $csv; ///////////////////////////////////////////////// //preload all the incident and their groups: $this->incident_to_groups = array(); // Get the table prefix $table_prefix = Kohana::config('database.default.table_prefix'); $sql = 'SELECT sc.name, sgi.incident_id FROM `'.$table_prefix.'simplegroups_groups` as sc RIGHT JOIN '.$table_prefix.'simplegroups_groups_incident as sgi ON sc.id = sgi.simplegroups_groups_id'; $db = new Database(); $rows = $db->query($sql); foreach($rows as $row) { $this->incident_to_groups[$row->incident_id] = $row->name; } /////////////////////////////////////////////// //preload group category info $this->incident_to_group_categories = array(); $sql = 'SELECT sc.category_title, incident_id FROM '.$table_prefix.'simplegroups_category as sc RIGHT JOIN '.$table_prefix.'simplegroups_incident_category as sic ON sic.simplegroups_category_id = sc.id'; $db = new Database(); $rows = $db->query($sql); foreach($rows as $row) { if(isset($this->incident_to_group_categories[$row->incident_id])) { $this->incident_to_group_categories[$row->incident_id][] = $row->category_title; } else { $this->incident_to_group_categories[$row->incident_id] = array($row->category_title); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static function get_csv_header() {\n\t\treturn [ 'date', 'source', 'target', 'ip', 'referrer', 'agent' ];\n\t}", "public function output_headers() {\n\t\theader( \"Content-type: text/csv\" );\n\t\theader( \"Content-Disposition: attachment; filename=download-monitor-export.csv\" );\n\t\theader( \"Pragma: no-cache\" );\n\t\theader( \"Expires: 0\" );\n\t}", "public static function writeSamplesCSVHeader(){\r\n return 'id,approximateSampleAmount,archivistComments,containedIn,dateCollected,'\r\n .'dateMasked,fate,fieldComments,fishLength,fishOrigin,fishTagType,'\r\n .'fishWeight,sex,geographicFeature,ifbaTimeTable,labNumber,lifeStage,'\r\n .'maturity,representativeSample,species'\r\n .PHP_EOL;\r\n }", "function export_send_header($rows, $output='csv', $filename='data') {\n switch($output) {\n case 'csv':\n // output headers so that the file is downloaded rather than displayed\n header('Content-Type: text/csv; charset=utf-8');\n header('Content-Disposition: attachment; filename='.$filename.'.csv');\n if(sizeof($rows) == 0)\n exit;\n\n // Create the header data\n $header = array_keys($rows[0]);\n\n // create a file pointer connected to the output stream\n $output = fopen('php://output', 'w');\n fputcsv($output, $header);\n fclose($output);\n break;\n\n case 'json':\n header('Content-Type: application/json');\n echo(\"[\");\n break;\n }\n}", "protected function fillHeaderCSV($a_csv) {\n $all_columns = array_merge($this->getColumns(), $this->getAdditionalColumns());\n foreach ($all_columns as $column) {\n $a_csv->addColumn($column['txt']);\n }\n $a_csv->addRow();\n }", "private function _renderColumnHeaders(){\n\t\t$output = \"<thead>\\n\";\n\t\tforeach($this->getColumnHeaders() as $header){\n\t\t\t$output.=\"<th>$header</th>\\n\";\n\t\t}\n\t\t$output.=\"</thead>\\n\";\n\t\t$this->_appendToOutput($output);\n\t}", "public function writeHeaderLine()\n {\n return $this->writeCsvLine($this->header);\n }", "private function compileHeaderWithAdditinalColumns() {\n $additionalConfigs = $this->configReader->read();\n foreach ($additionalConfigs as $name => $columns) {\n foreach($columns as $index => $column) {\n $this->headersMap[] = $column['csv_name'];\n }\n }\n }", "public function admin_addCSV() {\n\t\t\tadmin::addCSV();\n\t\t}", "private function getCSV()\n {\n $outputStream = fopen('php://output', 'r+');\n if ($this->headerRowExists) {\n $longest_row = max($this->source);\n $header = array_keys(static::dot($longest_row));\n fputcsv($outputStream, $header, $this->delimiter, $this->enclosure);\n }\n\n foreach ($this->source as $key => $row) {\n fputcsv($outputStream, static::dot($row), $this->delimiter, $this->enclosure);\n }\n fclose($outputStream);\n }", "public function doHeaders() { }", "public function _add_csv_incident_info()\n\t{\n\t\t$incident = Event::$data['incident'];\n\t\t$report_csv = \"\";\n\t\t\n\t\t//get group name incident\t\t\n\t\tif(isset($this->incident_to_groups[$incident->id]))\n\t\t{\n\t\t\t$report_csv .= \",\\\"\". $this->incident_to_groups[$incident->id] . \"\\\",\\\"\";\n\t\t}\n\t\telse\n\t\t{\n\t\t\t$report_csv .= \",,\\\"\";\n\t\t\t//if they aren't part of a group then don't bother\n\t\t\t//looking for group categories\n\t\t\t$report_csv .= \"\\\"\";\n\t\t\tEvent::$data['report_csv'] = $report_csv;\t\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t//get group categories/////////////////////////////////////////////////////////////\n\t\tif(isset($this->incident_to_group_categories[$incident->id]))\n\t\t{\n\t\t\t$i = 0;\n\t\t\tforeach($this->incident_to_group_categories[$incident->id] as $title)\n\t\t\t{\n\t\t\t\t$i++;\n\t\t\t\tif($i > 1){$report_csv .= \",\";}\n\t\t\t\t$report_csv .= $title;\n\t\t\t}\n\t\t}\n\n\t\t$report_csv .= \"\\\"\";\n\t\tEvent::$data['report_csv'] = $report_csv;\n\t\t\n\t}", "private function _getHeader() {\n if ($this->legacyFgetcsv) {\n $this->header = fgetcsv($this->fileHandle, $this->lineLength, $this->delimiter, $this->enclosure); \n } else {\n $this->header = fgetcsv($this->fileHandle, $this->lineLength, $this->delimiter, $this->enclosure, $this->escape); \n }\n // Fields that aren't predefined in $this->userFields, are treated as extended user-fields\n $this->extendedFields = array_diff($this->header, $this->userFields);\n if (!empty($this->extendedFields)) {\n \t\t$this->modx->log(modX::LOG_LEVEL_INFO, $this->modx->lexicon('userimport.import_users_log_extended_detected').implode(',', $this->extendedFields));\n }\n }", "function csv()\n {\n }", "function csv()\n {\n }", "public function export()\n\t{\n\t\tJSession::checkToken() or jexit('Invalid Token');\n\n\t\t$this->sendHeaders(\"events.csv\", \"text/csv\");\n\t\t$this->getModel()->getCsv();\n\t\tjexit();\n\t}", "function Header()\n{\n\t//Imprime l'en-tête du tableau si nécessaire\n\tif($this->ProcessingTable)\n\t\t$this->TableHeader();\n}", "public function headers()\r\r\n {\r\r\n\r\r\n $names = array(\r\r\n array(__('Done', 'wpsearchconsole'), 'wpsearchconsole-done-checkbox'),\r\r\n array(__('Priority', 'wpsearchconsole'), 'wpsearchconsole-todo-priority'),\r\r\n array(__('Action', 'wpsearchconsole'), 'wpsearchconsole-todo-action'),\r\r\n array(__('Category', 'wpsearchconsole'), 'wpsearchconsole-todo-category'),\r\r\n array(__('Responsible', 'wpsearchconsole'), 'wpsearchconsole-todo-responsible'),\r\r\n array(__('Due Date', 'wpsearchconsole'), 'wpsearchconsole-todo-due_date'),\r\r\n array(__('Delete', 'wpsearchconsole'), 'wpsearchconsole-todo-delete'),\r\r\n ); ?>\r\r\n <tr>\r\r\n <?php foreach ($names as $val): ?>\r\r\n <th class=\"<?php echo $val[1]; ?>\"><?php echo $val[0]; ?></th>\r\r\n <?php endforeach; ?>\r\r\n </tr>\r\r\n <?php\r\r\n }", "function csvHeaders($outfile) {\n $headers = [\n 'Cache-Control' => 'must-revalidate, post-check=0, pre-check=0'\n , 'Content-type' => 'text/csv'\n , 'Content-Disposition' => \"attachment; filename={$outfile}\"\n , 'Expires' => '0'\n , 'Pragma' => 'public'\n ];\n return $headers;\n }", "function dashboard_print_table_header_csv(&$str, &$theblock, &$hcols) {\n global $CFG;\n\n $config = get_config('block_dashboard');\n\n $vlabels = array_values($theblock->vertkeys->labels);\n\n $row = array();\n foreach ($theblock->vertkeys->labels as $vk => $vlabel) {\n $row[] = $vlabel;\n }\n\n foreach ($hcols as $hc) {\n $row[] = $hc;\n }\n\n if (isset($theblock->config->horizsums)) {\n $row[] = get_string('total', 'block_dashboard');\n }\n\n if ($theblock->config->exportcharset == 'utf8') {\n $str .= utf8_decode(implode($config->csv_field_separator, $row));\n } else {\n $str .= implode($config->csv_field_separator, $row);\n }\n $str .= $config->csv_line_separator;\n }", "public function export_csv(){\n }", "public function createheader()\n {\n //\n }", "function writeCsvColumnNames() {\n\t\tglobal $LANG,$TCA;\n\t\t$arrColNames['uid'] = 'uid';\n\t\tif ($this->arrModParameters['unfinished']) {\n\t\t\t$arrColNames['finished'] = $LANG->getLL('finished');\n\t\t}\n\t\t$arrColNames['ip'] = $LANG->getLL('ip-address');\n\t\t$arrColNames['begintstamp'] = $LANG->getLL('begintstamp');\n\t\t$arrColNames['endtstamp'] = $LANG->getLL('endtstamp');\n\t\t$arrColNames['language'] = $LANG->getLL('language');\n\t\tif (isset($this->arrModParameters['fe_users'])) {\n\t\t\t$arrUserKeys = array_keys($this->arrModParameters['fe_users']);\n\t\t\tforeach ($arrUserKeys as $strColumn) {\n\t\t\t\t$arrColNames[$strColumn] = preg_replace(\"/:$/\", \"\", trim($GLOBALS['LANG']->sL($TCA['fe_users']['columns'][$strColumn]['label'])));\n\t\t\t}\n\t\t}\n\t\tforeach ($this->pObj->arrSurveyItems as $intQuestionKey=>$arrItem) {\n\n\t\t\t$strQuestion = $arrItem['question_alias']?$arrItem['question_alias']:$arrItem['question'];\n\t\t\tif (!in_array($arrItem['question_type'],array(10,12,13,14))) {\n\t\t\t\tif (in_array($arrItem['question_type'],array(1,2,3,4,5,23))) {\n\t\t\t\t\tif ($this->arrModParameters['scoring']!=0 && ($arrItem['question_type']!=1 && $arrItem['question_type']!=23)) {\n\t\t\t\t\t\t$arrColNames[$intQuestionKey] = $strQuestion;\n\t\t\t\t\t} elseif (!in_array($arrItem['question_type'],array(4,5))) {\n\t\t\t\t\t\tforeach($arrItem['answers'] as $intAnswerKey=>$strAnswer) {\n\t\t\t\t\t\t\t$arrColNames[$intQuestionKey.'_'.$intAnswerKey] = $strQuestion.'('.$strAnswer['answer'].')';\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\t$strNo = $arrItem['question_type']==4?$LANG->getLL('value_false'):$LANG->getLL('value_no');\n\t\t\t\t\t\t$strYes = $arrItem['question_type']==4?$LANG->getLL('value_true'):$LANG->getLL('value_yes');\n\t\t\t\t\t\t$arrColNames[$intQuestionKey.'_0'] = $strQuestion.'('.$strNo.')';\n\t\t\t\t\t\t$arrColNames[$intQuestionKey.'_1'] = $strQuestion.'('.$strYes.')';\n\t\t\t\t\t}\n\t\t\t\t\tif (isset($arrItem['answers_allow_additional']) && $arrItem['answers_allow_additional'] > 0) {\n\t\t\t\t\t\t$arrColNames[$intQuestionKey.'_-1'] = $strQuestion.'('.$LANG->getLL('additional').')';\n\t\t\t\t\t}\n\t\t\t\t} elseif (in_array($arrItem['question_type'], array(6, 7, 8, 9, 11, 15, 16))) {\n\t\t\t\t\tforeach ($arrItem['rows'] as $intRowKey=>$row) {\n\t\t\t\t\t\tif (in_array($arrItem['question_type'],array(6,7)) || ($this->arrModParameters['scoring']==0 && $arrItem['question_type']==8)) {\n\t\t\t\t\t\t\tforeach ($arrItem['answers'] as $intAnswerKey=>$answer) {\n\t\t\t\t\t\t\t\t$arrColNames[$intQuestionKey.'_'.$intRowKey.'_'.$intAnswerKey] = $strQuestion.'('.$row.')('.$answer['answer'].')';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$arrColNames[$intQuestionKey.'_'.$intRowKey] = $strQuestion.'('.$row.')';\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} elseif ($arrItem['question_type'] == 24) {\n\t\t\t\t\tforeach (range($arrItem['beginning_number'], $arrItem['ending_number']) as $counter) {\n\t\t\t\t\t\t$arrColNames[$intQuestionKey . '_' . $counter] = $strQuestion . '(' . $counter . ')';\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t$arrColNames[$intQuestionKey] = $strQuestion;\n\t\t\t}\n\t\t}\n\t\tforeach($arrColNames as $intKey=>$strValue) {\n\t\t\t$this->arrCsvCols[$intKey] = '';\n\t\t}\n\t\t$mixOutput = $this->writeCsvLine($arrColNames);\n\t\treturn $mixOutput;\n\t}", "public function exportcatevents()\n\t{\n\t\tJSession::checkToken() or jexit('Invalid Token');\n\n\t\t$this->sendHeaders(\"catevents.csv\", \"text/csv\");\n\t\t$this->getModel()->getCsvcatsevents();\n\t\tjexit();\n\t}", "public function exportCsvAction()\n {\n $fileName = 'instructordoc.csv';\n $content = $this->getLayout()->createBlock('bs_material/adminhtml_instructordoc_grid')\n ->getCsv();\n $this->_prepareDownloadResponse($fileName, $content);\n }", "public function export_csv(){\n\n\n }", "public function headers()\r\r\n {\r\r\n\r\r\n $names = array(\r\r\n __('Keyword', 'wpsearchconsole'),\r\r\n __('Title', 'wpsearchconsole'),\r\r\n //\t__( 'Link', 'wpsearchconsole' )\r\r\n ); ?>\r\r\n <tr>\r\r\n <?php foreach ($names as $val): ?>\r\r\n <th><?php echo $val; ?></th>\r\r\n <?php endforeach; ?>\r\r\n </tr>\r\r\n <?php\r\r\n }", "public function Header() {\n $this->imprime($this->format['header']);\n }", "public function exportCsvAction()\n {\n $fileName = 'info.csv';\n $content = $this->getLayout()->createBlock('bs_instructorinfo/adminhtml_info_grid')\n ->getCsv();\n $this->_prepareDownloadResponse($fileName, $content);\n }", "public function exportCsv(){\n $user = $this->_ap_right_check();\n if(!$user){\n return;\n }\n $query = $this->{$this->main_model}->find(); \n $this->CommonQuery->build_ap_query($query,$user); //AP QUERY is sort of different in a way\n \n $q_r = $query->all();\n\n //Headings\n $heading_line = array();\n if(isset($this->request->query['columns'])){\n $columns = json_decode($this->request->query['columns']);\n foreach($columns as $c){\n array_push($heading_line,$c->name);\n }\n }\n \n $data = [\n $heading_line\n ];\n \n foreach($q_r as $i){\n\n $columns = array();\n $csv_line = array();\n if(isset($this->request->query['columns'])){\n $columns = json_decode($this->request->query['columns']);\n foreach($columns as $c){\n $column_name = $c->name;\n if($column_name == 'notes'){\n $notes = '';\n foreach($i->user_notes as $un){\n if(!$this->Aa->test_for_private_parent($un->note,$user)){\n $notes = $notes.'['.$un->note->note.']'; \n }\n }\n array_push($csv_line,$notes);\n }elseif($column_name =='owner'){\n $owner_id = $i->parent_id;\n $owner_tree = $this->Users->find_parents($owner_id);\n array_push($csv_line,$owner_tree); \n }else{\n array_push($csv_line,$i->{$column_name}); \n }\n }\n array_push($data,$csv_line);\n }\n }\n \n $_serialize = 'data';\n $this->setResponse($this->getResponse()->withDownload('export.csv'));\n $this->viewBuilder()->setClassName('CsvView.Csv');\n $this->set(compact('data', '_serialize')); \n }" ]
[ "0.68104327", "0.6749548", "0.67112106", "0.66999596", "0.6653411", "0.65060234", "0.6448018", "0.6437405", "0.62662584", "0.6177313", "0.61653596", "0.6164191", "0.61148286", "0.60664517", "0.60664517", "0.60212433", "0.5974196", "0.5971195", "0.59705305", "0.5953532", "0.59417343", "0.5939172", "0.59389", "0.5855786", "0.5841348", "0.58240557", "0.5821755", "0.58094996", "0.5800965", "0.57773566" ]
0.715457
0
Creates the JS for the reports page so we can turn off and on filtering by group
public function _add_report_filter_js() { if (isset($_GET['sgid']) AND !is_array($_GET['sgid']) AND intval($_GET['sgid']) >= 0) { $view = new View('simplegroups/report_filter_js'); $view->selected_group_categories = implode(",", $this->_get_group_categories()); $view->render(true); } else { $view = new View('simplegroups/report_filter_js_g'); $view = new View('simplegroups/report_filter_js_g'); $view->selected_group_categories = array(); $view->render(true); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function _add_report_filter_ui()\n\t{\n\t\tif (isset($_GET['sgid']) AND !is_array($_GET['sgid']) AND intval($_GET['sgid']) >= 0)\n\t\t{\n\t\t\t$group = ORM::factory(\"simplegroups_groups\")->where(\"id\", $_GET['sgid'])->find();\n\t\t\t$view = new View('simplegroups/report_filter_ui');\n\t\t\t$view->group_name = $group->name;\n\t\t\t$view->group_id = $group->id;\n\t\t\t\n\t\t\t\n\t\t\t//now the categories\n\t\t\t$categories = ORM::factory('simplegroups_category')\t\t\t\n\t\t\t\t->where('parent_id', '0')\n\t\t\t\t->where('applies_to_report', 1)\n\t\t\t\t->where('category_visible', 1)\n\t\t\t\t->where('simplegroups_groups_id', $group->id)\n\t\t\t\t->orderby('category_title', 'ASC')\n\t\t\t\t->find_all();\n\t\t\t$view->group_categories = $categories;\n\t\t\t$view->selected_group_categories = $this->_get_group_categories();\n\t\t\t\n\t\t\t$view->render(true);\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//get a list of groups\n\t\t\t$groups = ORM::factory(\"simplegroups_groups\")->find_all();\n\t\t\t$view = new View('simplegroups/report_filter_ui_g');\n\t\t\t$view->groups = $groups;\n\t\t\t$view->render(true);\n\t\t}\n\t\t\n\t}", "private function generateFilters() {\n $html = '\n <script type=\"application/javascript\">\n $( document ).ready(function() {\n // Documentation; https://www.dynatable.com/\n var dynatable = $(\"#listOfNotes\").dynatable();\n });\n </script>';\n\n return $html;\n }", "public function on_before_render()\n {\n $this->addFooterItem('<script type=\"text/javascript\">window.JanesWalk = window.JanesWalk || {}; Object.assign(window.JanesWalk, ' . json_encode($this->pageData) . ');</script>');\n }", "public function builder_footer_scripts() {\n\n\t\t?>\n\t\t<script type=\"text/html\" id=\"tmpl-wpforms-conditional-block\">\n\t\t\t<# var containerID = data.fieldName.replace(/]/g, '').replace(/\\[/g, '-'); #>\n\t\t\t<div class=\"wpforms-conditional-groups\" id=\"wpforms-conditional-groups-{{ containerID }}\">\n\t\t\t\t<h4>\n\t\t\t\t\t<select name=\"{{ data.fieldName }}[conditional_type]\">\n\t\t\t\t\t\t<# _.each(data.actions, function(key, val) { #>\n\t\t\t\t\t\t<option value=\"{{ val }}\">{{ key }}</option>\n\t\t\t\t\t\t<# }) #>\n\t\t\t\t\t</select>\n\t\t\t\t\t{{ data.actionDesc }}\n\t\t\t\t</h4>\n\t\t\t\t<div class=\"wpforms-conditional-group\" data-reference=\"{{ data.fieldID }}\">\n\t\t\t\t\t<table><tbody>\n\t\t\t\t\t<tr class=\"wpforms-conditional-row\" data-field-id=\"{{ data.fieldID }}\" data-input-name=\"{{ data.fieldName }}\">\n\t\t\t\t\t\t<td class=\"field\">\n\t\t\t\t\t\t\t<select name=\"{{ data.fieldName }}[conditionals][0][0][field]\" class=\"wpforms-conditional-field\" data-groupid=\"0\" data-ruleid=\"0\">\n\t\t\t\t\t\t\t\t<option value=\"\">{{ wpforms_builder.select_field }}</option>\n\t\t\t\t\t\t\t</select>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t\t<td class=\"operator\">\n\t\t\t\t\t\t\t<select name=\"{{ data.fieldName }}[conditionals][0][0][operator]\" class=\"wpforms-conditional-operator\">\n\t\t\t\t\t\t\t\t<option value=\"==\">{{ wpforms_builder.operator_is }}</option>\n\t\t\t\t\t\t\t\t<option value=\"!=\">{{ wpforms_builder.operator_is_not }}</option>\n\t\t\t\t\t\t\t\t<option value=\"e\">{{ wpforms_builder.operator_empty }}</option>\n\t\t\t\t\t\t\t\t<option value=\"!e\">{{ wpforms_builder.operator_not_empty }}</option>\n\t\t\t\t\t\t\t\t<option value=\"c\">{{ wpforms_builder.operator_contains }}</option>\n\t\t\t\t\t\t\t\t<option value=\"!c\">{{ wpforms_builder.operator_not_contains }}</option>\n\t\t\t\t\t\t\t\t<option value=\"^\">{{ wpforms_builder.operator_starts }}</option>\n\t\t\t\t\t\t\t\t<option value=\"~\">{{ wpforms_builder.operator_ends }}</option>\n\t\t\t\t\t\t\t\t<option value=\">\">{{ wpforms_builder.operator_greater_than }}</option>\n\t\t\t\t\t\t\t\t<option value=\"<\">{{ wpforms_builder.operator_less_than }}</option>\n\t\t\t\t\t\t\t</select>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t\t<td class=\"value\">\n\t\t\t\t\t\t\t<select name=\"{{ data.fieldName }}[conditionals][0][0][value]\" class=\"wpforms-conditional-value\">\n\t\t\t\t\t\t\t\t<option value=\"\">{{ wpforms_builder.select_choice }}</option>\n\t\t\t\t\t\t\t</select>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t<td class=\"actions\">\n\t\t\t\t\t\t\t\t<button class=\"wpforms-conditional-rule-add\" title=\"{{ wpforms_builder.rule_create }}\">{{ wpforms_builder.and }}</button><button class=\"wpforms-conditional-rule-delete\" title=\"{{ wpforms_builder.rule_delete }}\"><i class=\"fa fa-times-circle\" aria-hidden=\"true\"></i></button>\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t</tbody></table>\n\t\t\t\t\t<h5>{{ wpforms_builder.or }}</h5>\n\t\t\t\t</div>\n\t\t\t\t<button class=\"wpforms-conditional-groups-add\">{{ wpforms_builder.rule_create_group }}</button>\n\t\t\t</div>\n\t\t</script>\n\t\t<?php\n\t}", "public function renderJavascripts();", "function enableReports()\n {\n static $reportsEnabled = false;\n if ($reportsEnabled)\n return;\n $url1 = \"//cdnjs.cloudflare.com/ajax/libs/raphael/2.1.2/raphael-min.js\";\n $url2 = \"//cdnjs.cloudflare.com/ajax/libs/morris.js/0.5.1/morris.min.js\";\n $this->placeholder('head-finish')->append(<<<CUT\n<script language=\"javascript\" type=\"text/javascript\" src=\"$url1\"></script>\n<script language=\"javascript\" type=\"text/javascript\" src=\"$url2\"></script>\nCUT\n );\n $reportsEnabled = true;\n }", "public function html()\n {\n return $this->builder()\n ->columns($this->getColumns())\n ->minifiedAjax('', \n 'data.stage_id = $(\"#select-filter option:selected\").val();\n data.month_id = $(\"#month-filter option:selected\").val();\n data.year_id = $(\"#year-filter option:selected\").val();', \n [ ])\n ->addAction(['width' => '80px'])\n ->parameters($this->getBuilderParameters());\n }", "public function js_template() {\n\t\t?>\n <script id=\"js-builderius-setting-<?php echo $this->setting_key; ?>-tmpl\" type=\"text/template\">\n <div class=\"uni-modal-row uni-clear\">\n\t\t\t\t<?php echo $this->generate_field_label_html() ?>\n <div class=\"uni-modal-row-second\">\n\t\t\t\t\t<?php echo $this->generate_select_html() ?>\n </div>\n </div>\n </script>\n\t\t<?php\n\t}", "protected function _getEndJs()\r\n\t{\r\n\t\t$js = parent::_getEndJs();\r\n\t\t$js .= 'pageJs';\r\n\t\t$js .= '.setHTMLID(\"result-list-div\", \"result-wrapper\")';\r\n\t\t$js .= '.setHTMLID(\"item-count\", \"item-count\")';\r\n\t\t$js .= '.setCallbackId(\"getItems\", \"' . $this->getItemsBtn->getUniqueID() . '\")';\r\n\t\t$js .= '.setCallbackId(\"delItems\", \"' . $this->delItemsBtn->getUniqueID() . '\")';\r\n\t\t$js .= '.init(new PropertyBuyingCheckPanel(pageJs))';\r\n\t\t$js .= ';';\r\n\t\treturn $js;\r\n\t}", "function template_module_defs_js() {\nglobal $report_modules,$current_language;\n$mod_strings = return_module_language($current_language,'Reports');\n$currentModule = 'Reports';\n\n $global_json = getJSONobj();\n global $ACLAllowedModules;\n $ACLAllowedModules = getACLAllowedModules();\n echo 'ACLAllowedModules = ' . $global_json->encode(array_keys($ACLAllowedModules)) .\";\\n\";\n\n?>\nvar module_defs = new Object();\ndefault_summary_columns = ['count'];\n<?php\n\n// build table datastructure in javascript objs\nglobal $mod_strings;\nglobal $current_language;\nglobal $app_list_strings;\nglobal $currentModule;\n\n$relationships = array();\nforeach($report_modules as $module_name=>$bean_name)\n{\n\tif($module_name=='Reports')\n\t{\n\t\tcontinue;\n\t}\n\tglobal $beanFiles;\n\tif(empty($beanFiles)) {\n\t\tinclude('include/modules.php');\n\t}\n\n\t//we need singular name here;\n\t$bean_name = get_singular_bean_name($bean_name);\n\trequire_once($beanFiles[$bean_name]);\n\t$module = new $bean_name;\n \t$mod_strings = return_module_language($current_language,$module_name);\n\t$currentModule = $module_name;\n\n?>\n\nvar rel_defs = new Object();\nvar link_defs_<?php echo $module_name; ?> = new Object();\n<?php\n $linked_fields = $module->get_linked_fields();\n\n foreach($linked_fields as $linked_field)\n {\n\t\t$module->load_relationship($linked_field['name']);\n\t\t$field = $linked_field['name'];\n\t\tif(empty($module->$field)\n\t\t || (isset($linked_field['reportable']) && $linked_field['reportable'] == false)\n\t\t || empty($linked_field['relationship'])) {\n\t\t\tcontinue;\n\t\t}\n\t\tif(empty($relationships[$linked_field['relationship']]))\n\t\t{\n\t\t\t$relationships[$linked_field['relationship']] = $module->$field->relationship;\n\t\t}\n\n $vname = '';\n // To figure out the label, we will start with the least specific and move in from there\n if (!empty($linked_field['vname'])) {\n $vname = $linked_field['vname'];\n }\n\n //if the relationship module does not match the current module and a relationship side is defined\n //then use the linked field module title if available.\n $relationship_module = isset($linked_field['module']) ? $linked_field['module'] : '' ;\n $relateFieldLabel = strtoupper('LBL_' . $field . '_FROM_' . $relationship_module . '_TITLE');\n if ((!empty($relationship_module) && !empty($field)) &&\n $currentModule != $relationship_module &&\n !empty($linked_field['side']) &&\n !empty($mod_strings[$relateFieldLabel])\n ) {\n $vname = $mod_strings[$relateFieldLabel];\n }\n\n // In order to get the correct label, we have to track down and see if there is a name field and use that for the label.\n foreach ($module->field_defs as $idx => $fieldDef) {\n if (!isset($fieldDef['link'])) {\n continue;\n }\n if ($fieldDef['link'] != $linked_field['name']) {\n continue;\n }\n if ($fieldDef['type'] == 'relate'\n && $fieldDef['rname'] == 'name'\n && !empty($fieldDef['vname'])) {\n // This is the name field for the link field\n $vname = $fieldDef['vname'];\n break;\n }\n }\n if (!empty($vname)) {\n\t\t\t$linked_field['label'] = translate($vname);\n // Try the label from this side of the module\n if ($linked_field['label'] == $vname) {\n $linked_field['label'] = translate($vname, $module->module_dir);\n }\n // How about from the other side\n if ($linked_field['label'] == $vname) {\n $linked_field['label'] = translate($vname, $module->$field->getRelatedModuleName());\n }\n\t\t} else {\n\t\t\t$linked_field['label'] =$linked_field['name'];\n\t\t}\n\t \t$linked_field['label'] = preg_replace('/:$/','',$linked_field['label']);\n\t\t$linked_field['label'] = addslashes($linked_field['label']);\n\n echo \"link_defs_{$module_name}[ '{$linked_field['name']}' ] = \" . json_encode(array(\n 'name' => $linked_field['name'],\n 'relationship_name' => $linked_field['relationship'],\n 'bean_is_lhs' => $module->$field->getSide() == REL_LHS,\n 'link_type' => $module->$field->getType(),\n 'label' => $linked_field['label'],\n 'module' => $module->$field->getRelatedModuleName()\n )) . \";\\n\";\n }\n?>\nvar field_defs_<?php echo $module_name; ?> = new Object();\n<?php\n\n\t\tif(is_array($module->field_defs)) {\n\t\t\t$module->ACLFilterFieldList($module->field_defs, array(\"owner_override\" => true));\n\n\t\t\tksort($module->field_defs);\n\n\t\t if(isset($module->field_defs['team_set_id'])) {\n\t\t $module->field_defs['team_set_id']['type'] = 'team_set_id';\n\t\t }\n\n\t\t\tforeach($module->field_defs as $field_def)\n\t\t\t{\n\t\t\t if(isset($field_def['reportable']) &&\n\t\t\t $field_def['reportable'] == false)\n\t\t\t {\n\t\t\t continue;\n\t\t\t }\n\n //Allowed fields array with non-db-source\n $allowed_fields_array = array('full_name');\n\n\t\t\t if(isset($field_def['source']) &&\n\t\t\t ($field_def['source'] == 'non-db' && empty($field_def['ext2'])) && $field_def['name'] != 'full_name')\n\t\t\t {\n\t\t\t continue;\n\t\t\t }\n\n\t\t\t if($field_def['type'] == 'relate' && ! empty($field_def['custom_type']))\n\t\t\t\t\t{\n\t\t\t\t\t\t$field_def['type'] = $field_def['custom_type'];\n\t\t\t\t\t}\n\n\t\t\t if(($field_def['type'] == 'relate' && empty($field_def['ext2'])) || $field_def['type'] == 'assigned_user_name' || $field_def['type'] == 'foreign_key')\n\t\t\t {\n\t\t\t continue;\n\t\t\t }\n\n\t\t\t if ($field_def['type'] == 'encrypt')\n\t\t\t {\n\t\t\t \tcontinue;\n\t\t\t }\n\n?>\nfield_defs_<?php echo $module_name; ?>[ \"<?php echo $field_def['name']; ?>\"] = <?php\n\n\t\t\t\t$js_defs_array = array();\n\n\t\t\t\tforeach($field_def as $field_name=>$field_value)\n\t\t\t\t{\n\t\t\t\t\tif(empty($field_name) || empty($field_value) || $field_name == 'comment'\n\t\t\t\t\t\t|| $field_name == \"formula\" || $field_name == \"dependency\" || $field_name == \"visibility_grid\" || is_array($field_value))\n\t\t\t\t\t{\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tif($field_name != \"options\" || $field_name != \"name\")\n\t\t\t\t\t{\n\t\t\t\t\t\tif($field_name == \"vname\")\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t$field_value = translate($field_value);\n\t\t\t\t\t\t\tif(substr($field_value, -1) == ':')\n {\n\t\t\t\t\t\t\t\t$field_value = substr($field_value,0,-1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif ($field_name != 'default' && $field_name != 'default_value') {\n\t\t\t\t\t\t array_push($js_defs_array,\n\t\t\t\t\t\t\t\t\"\\\"$field_name\\\":\".json_encode($field_value));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\n\t\t\t if($field_def['name'] == 'team_set_id' && $module_name != 'Teams')\n\t\t \t{\n\t\t \t array_push($js_defs_array, \"invisible:true\");\n\t\t \t \t}\n\n\t\t\t\techo \"{\".implode(\",\",$js_defs_array).\"};\";\n\nif (!empty($field_def['options'])) {\n?>\nvar option_arr_<?php echo $module_name; ?> = new Array();\n\n<?php\n\t\t\t\t\t$options_array = array();\n\t\t\t \t$trans_options = translate($field_def['options']);\n\n\t\t\t\t\tif(! is_array($trans_options))\n\t\t\t\t {\n\t\t\t\t $trans_options = array();\n\t\t\t\t }\n\n\t\t\t\t\tforeach($trans_options as $option_value=>$option_text)\n\t\t\t\t\t{\n\t\t\t\t\t\t$option_text = translate($option_text);\n\n// BEGIN HALF-FIX\n\t\t\t\t if(is_array($option_text))\n\t\t\t\t {\n\t\t\t\t $option_text = 'Array';\n\t\t\t\t }\n\t\t\t\t $option_text = html_entity_decode($option_text,ENT_QUOTES);\n\t\t\t\t $option_text = addslashes($option_text);\n\t\t\t\t $option_value = html_entity_decode($option_value,ENT_QUOTES);\n\t\t\t\t $option_value = addslashes($option_value);\n\n?>\noption_arr_<?php echo $module_name; ?>[option_arr_<?php echo $module_name; ?>.length] = { \"value\":\"<?php echo $option_value; ?>\", \"text\":\"<?php echo $option_text; ?>\"};\n<?php\n// END HALF-FIX\n\t\t\t\t\t}\n?>\n\nfield_defs_<?php echo $module_name; ?>[ \"<?php echo $field_def['name']; ?>\"].options=option_arr_<?php echo $module_name; ?>;\n\n<?php\n\t\t\t\t} else if(isset($field_def['type']) && ($field_def['type'] == 'enum' || $field_def['type'] == 'timeperiod') && isset($field_def['function']))\n\t\t\t\t{\n?>\n\t\t\t\t\tvar option_arr_<?php echo $module_name; ?> = new Array();\n\n<?php\n $options_array = getFunctionValue(!empty($field_def['function_bean']) ? $field_def['function_bean'] : null, $field_def['function']);\n\n\t\t\t foreach($options_array as $option_value=>$option_text)\n\t\t\t {\n\t\t\t $option_text = html_entity_decode($option_text,ENT_QUOTES);\n\t\t\t $option_text = addslashes($option_text);\n\t\t\t $option_value = html_entity_decode($option_value,ENT_QUOTES);\n\t\t\t $option_value = addslashes($option_value);\n?>\noption_arr_<?php echo $module_name; ?>[option_arr_<?php echo $module_name; ?>.length] = { \"value\":\"<?php echo $option_value; ?>\", \"text\":\"<?php echo $option_text; ?>\"};\n<?php\n }\n?>\nfield_defs_<?php echo $module_name; ?>[ \"<?php echo $field_def['name']; ?>\"].options=option_arr_<?php echo $module_name; ?>;\n<?php\n\t\t\t } else if( isset($field_def['type']) && $field_def['type'] == 'parent_type' && isset($field_def['group']) && isset($module->field_defs[$field_def['group']]) && isset($module->field_defs[$field_def['group']]['options']))\n\t\t\t {\n\t \t?>\n\t \tvar option_arr_<?php echo $module_name; ?> = new Array();\n\t \t<?php\n\t \t \t$options_array = array();\n\t\t\t\t \t$trans_options = translate($module->field_defs[$field_def['group']]['options']);\n\n\t\t\t if(! is_array($trans_options))\n\t\t\t \t{\n\t\t\t \t$trans_options = array();\n\t\t\t \t}\n\n\t\t foreach($trans_options as $option_value=>$option_text)\n\t\t {\n\t\t $option_text = translate($option_text);\n\n\t\t\t\t if(is_array($option_text))\n\t\t\t\t {\n\t\t\t\t $option_text = 'Array';\n\t\t\t\t }\n\t\t\t\t $option_text = html_entity_decode($option_text,ENT_QUOTES);\n\t\t\t\t $option_text = addslashes($option_text);\n\t\t\t\t $option_value = html_entity_decode($option_value,ENT_QUOTES);\n\t\t\t\t $option_value = addslashes($option_value);\n\n\t\t\t\t?>\noption_arr_<?php echo $module_name; ?>[option_arr_<?php echo $module_name; ?>.length] = { \"value\":\"<?php echo $option_value; ?>\", \"text\":\"<?php echo $option_text; ?>\"};\n\t\t\t\t<?php\n\t\t }\n\t\t\t\t?>\n\nfield_defs_<?php echo $module_name; ?>[ \"<?php echo $field_def['name']; ?>\"].options=option_arr_<?php echo $module_name; ?>;\n <?php\n\t\t\t\t}\n elseif (isset($field_def['type']) && $field_def['type'] == 'currency_id')\n {\n $tmpList = SugarWidgetFieldcurrency_id::getCurrenciesList();\n $currencyList = array();\n foreach ($tmpList as $bean)\n {\n $currencyList[] = array(\n 'value' => $bean->id,\n 'text' => $bean->symbol . ' ' . $bean->iso4217\n );\n }\n $json = getJSONobj();\n echo \"var option_arr_{$module_name} = \" . $json->encode($currencyList) . \";\\n\";\n echo \"field_defs_{$module_name}[\\\"{$field_def['name']}\\\"].options = option_arr_{$module_name};\\n\";\n }\n\t\t\t} //End foreach field\n\t\t}\n?>\nvar default_table_columns_<?php echo $module_name; ?> = [\"<?php echo implode(\"\\\",\\\"\",array());?>\"];\n\n\n\n\nmodule_defs['<?php echo $module_name; ?>'] = new Object();\nmodule_defs['<?php echo $module_name; ?>'].link_defs = link_defs_<?php echo $module_name; ?>;\nmodule_defs['<?php echo $module_name; ?>'].field_defs = field_defs_<?php echo $module_name; ?>;\nmodule_defs['<?php echo $module_name; ?>'].default_table_columns = default_table_columns_<?php echo $module_name; ?>;\nmodule_defs['<?php echo $module_name; ?>'].summary_field_defs = new Object();\nmodule_defs['<?php echo $module_name; ?>'].group_by_field_defs = new Object();\nmodule_defs['<?php echo $module_name; ?>'].default_summary_columns = default_summary_columns;\nmodule_defs['<?php echo $module_name; ?>'].label = \"<?php echo addslashes(\n isset($app_list_strings['moduleList'][$module_name]) ? $app_list_strings['moduleList'][$module_name] : $module_name);?>\";\n<?php\n\t}\n\n\tglobal $beanList;\n\tforeach($relationships as $relationship_name=>$relationship)\n\t{\n\t\t$rel_defs_array = array();\n\n\t\tif(empty($beanList[$relationship->lhs_module]) || empty($beanList[$relationship->rhs_module]))\n\t\t{\n\t\t\tcontinue;\n\t\t}\n\t\t$lhs_bean_name = $beanList[$relationship->lhs_module];\n\t\t$rhs_bean_name = $beanList[$relationship->rhs_module];\n\t\tarray_push($rel_defs_array, \"\\\"lhs_bean_name\\\":\\\"\".$lhs_bean_name.\"\\\"\");\n\t\tarray_push($rel_defs_array, \"\\\"rhs_bean_name\\\":\\\"\".$rhs_bean_name.\"\\\"\");\n\n\t\tforeach($relationship->def as $rel_field => $value)\n\t\t{\n\t\t if (!is_array($value) && !is_object($value))\n array_push($rel_defs_array, '\"' . $rel_field . '\":\"' . $value . '\"');\n\t\t}\n\t\t$rel_defs = \"{\".implode(',',$rel_defs_array).\"}\";\n\n\t\tprint \"rel_defs['\". $relationship_name.\"'] = $rel_defs;\\n\";\n\t}\n\n\t$mod_strings = return_module_language($current_language,'Reports');\n\t$currentModule = 'Reports';\n\t$sum = translate('LBL_SUM');\n\t$avg = translate('LBL_AVG');\n\t$max = translate('LBL_MAX');\n\t$min = translate('LBL_MIN');\n\t$day = translate('LBL_DAY');\n\t$week = translate('LBL_WEEK');\n\t$month = translate('LBL_MONTH');\n\t$year = translate('LBL_YEAR');\n $quarter = translate('LBL_QUARTER');\n?>\nvar summary_types = {sum:'<?php echo $sum; ?>',avg:'<?php echo $avg; ?>',max:'<?php echo $max; ?>',min:'<?php echo $min; ?>'};\n var date_summary_types = {\n day:'<?php echo $day; ?>',\n week:'<?php echo $week; ?>',\n month:'<?php echo $month; ?>',\n year:'<?php echo $year; ?>',\n quarter:'<?php echo $quarter; ?>'\n };\n\n// create summary_defs_field and group_by_field_defs for every module\n\nfor(module_name in module_defs)\n{\n\tmodule_defs[module_name].summary_field_defs = new Object();\n\t// default summary column\n\n\t//alert(module_defs[module_name].field_defs.length);\n\tvar got_probability = 0;\n\tvar got_first_name = 0;\n\tvar got_last_name = 0;\n\tvar got_amount = 0;\n\n\tmodule_defs[module_name].summary_field_defs['count'] = { name:'count', vname: '<?php echo $GLOBALS['app_strings']['LBL_REPORT_NEWREPORT_COLUMNS_TAB_COUNT']?>',\"group_function\":\"count\",summary_type:'group' };\n\n\tfor(field_name in module_defs[module_name].field_defs)\n\t{\n\t\tvar field_def = module_defs[module_name].field_defs[field_name];\n\t\t// allow those of type 'int' for summary info\n\t\tvar field_type = field_def.type;\n var field_source = (typeof field_def.source == 'undefined') ? '' : field_def.source;\n\n\t\tif(typeof(field_def.custom_type) != 'undefined')\n\t\t{\n\t\t\tfield_type = field_def.custom_type;\n\t\t}\n\n // do not allow group bys of text fields or fields not from the db\n if(field_type != 'text' && (field_source != 'non-db' || typeof(field_def.ext2) != 'undefined') && field_def.name != 'full_name') {\n\t\t module_defs[module_name].group_by_field_defs[ field_def.name] = field_def;\n }\n\n\n\t\tif(field_type == 'int' || field_type == 'float' || field_type=='currency' || field_type=='decimal' || field_type == 'long')\n\t\t{\n\t\t\t// create a new \"column\" for each summary type\n\t\t\tfor(stype in summary_types)\n\t\t\t{\n\n\t\t\t\tmodule_defs[module_name].summary_field_defs[ field_def.name+':'+stype] = { name: field_def.name+':'+stype, field_def_name: field_def.name, vname: summary_types[stype]+': '+ field_def.vname,group_function:stype,summary_type:'group', field_type:field_type};\n\t\t\t}\n\n\t\t}\n\t\telse if(field_type == 'date' || field_type == 'datetime' || field_type == 'datetimecombo')\n\t\t{\n\n\t\t\t// create a new \"column\" for each datetimecombo summary type\n\t\t\tfor(stype in date_summary_types)\n\t\t\t{\n\n\t\t\t\tmodule_defs[module_name].group_by_field_defs[field_def.name+':'+stype] = { name: field_def.name+':'+stype, field_def_name: field_def.name, vname: date_summary_types[stype]+': '+ field_def.vname,column_function:stype,summary_type:'column',field_type:field_type };\n\t\t\t}\n\n\t\t}\n\n\t\tif(field_def.name == 'amount')\n\t\t{\n\t\t\tgot_amount = 1;\n\t\t}\n\n\t\tif(field_def.name == 'probability')\n\t\t{\n\t\t\tgot_probability = 1;\n\t\t}\n\n\t}\n\n\n\tif(got_probability == 1 && got_amount == 1)\n\t{\n\t\tmodule_defs[module_name].summary_field_defs['weighted_amount'] = { name: 'weighted_amount', vname: '<?php echo translate('LBL_WEIGHTED_AVG_AMOUNT'); ?>', group_function: 'weighted_amount' };\n\t\tmodule_defs[module_name].summary_field_defs['weighted_sum'] = { name: 'weighted_sum', vname: '<?php echo translate('LBL_WEIGHTED_SUM_AMOUNT'); ?>', group_function: 'weighted_sum' };\n\t}\n}\n\nvar filter_defs = new Object();\nvar qualifiers = new Array();\nqualifiers[qualifiers.length] = {name:'equals',value:'<?php echo $mod_strings['LBL_EQUALS']; ?>'};\nqualifiers[qualifiers.length] = {name:'not_equals_str',value:'<?php echo $mod_strings['LBL_DOES_NOT_EQUAL']; ?>'};\nqualifiers[qualifiers.length] = {name:'empty',value:'<?php echo $mod_strings['LBL_IS_EMPTY']; ?>'};\nqualifiers[qualifiers.length] = {name:'not_empty',value:'<?php echo $mod_strings['LBL_IS_NOT_EMPTY']; ?>'};\nfilter_defs['encrypt'] = qualifiers;\n\nvar qualifiers = new Array();\nqualifiers[qualifiers.length] = {name:'equals',value:'<?php echo $mod_strings['LBL_EQUALS']; ?>'};\nqualifiers[qualifiers.length] = {name:'not_equals_str',value:'<?php echo $mod_strings['LBL_DOES_NOT_EQUAL']; ?>'};\nqualifiers[qualifiers.length] = {name:'contains',value:'<?php echo $mod_strings['LBL_CONTAINS']; ?>'};\nqualifiers[qualifiers.length] = {name:'does_not_contain',value:'<?php echo $mod_strings['LBL_DOES_NOT_CONTAIN']; ?>'};\nqualifiers[qualifiers.length] = {name:'starts_with',value:'<?php echo $mod_strings['LBL_STARTS_WITH']; ?>'};\nqualifiers[qualifiers.length] = {name:'ends_with',value:'<?php echo $mod_strings['LBL_ENDS_WITH']; ?>'};\nqualifiers[qualifiers.length] = {name:'empty',value:'<?php echo $mod_strings['LBL_IS_EMPTY']; ?>'};\nqualifiers[qualifiers.length] = {name:'not_empty',value:'<?php echo $mod_strings['LBL_IS_NOT_EMPTY']; ?>'};\nfilter_defs['varchar'] = qualifiers;\nfilter_defs['char'] = qualifiers;\nfilter_defs['text'] = qualifiers;\nfilter_defs['email'] = qualifiers;\nfilter_defs['yim'] = qualifiers;\nfilter_defs['time'] = qualifiers;\nfilter_defs['phone'] = qualifiers;\nfilter_defs['url'] = qualifiers;\n\n\nvar qualifiers_name = new Array();\nvar is_def = {name:'is',value:'<?php echo $mod_strings['LBL_IS']; ?>'};\nvar is_not_def = {name:'is_not',value:\"<?php echo $mod_strings['LBL_IS_NOT']; ?>\"};\nvar one_of_def = {name:'one_of',value:'<?php echo $mod_strings['LBL_ONE_OF']; ?>'};\nvar not_one_of_def = {name:'not_one_of',value:'<?php echo $mod_strings['LBL_IS_NOT_ONE_OF']; ?>'};\nqualifiers_name = qualifiers_name.concat(qualifiers);\nqualifiers_name.unshift(is_not_def);\nqualifiers_name.unshift(is_def);\nfilter_defs['name'] = qualifiers_name;\nfilter_defs['fullname'] = qualifiers_name;\n\n\nvar qualifiers_name = new Array();\nvar is_not_empty_def = {name:'not_empty',value:'<?php echo $mod_strings['LBL_IS_NOT_EMPTY']; ?>'};\nvar is_empty_def = {name:'empty',value:'<?php echo $mod_strings['LBL_IS_EMPTY']; ?>'};\nvar reports_to_def = {name:'reports_to',value:'<?php echo $mod_strings['LBL_REPORTS_TO']; ?>'};\nqualifiers_name.unshift(reports_to_def);\nqualifiers_name.unshift(is_not_empty_def);\nqualifiers_name.unshift(is_empty_def);\nqualifiers_name.unshift(not_one_of_def);\nqualifiers_name.unshift(one_of_def);\nqualifiers_name.unshift(is_not_def);\nqualifiers_name.unshift(is_def);\nfilter_defs['username'] = qualifiers_name;\n\nvar qualifiers = new Array();\nqualifiers[qualifiers.length] = {name:'on',value:'<?php echo $mod_strings['LBL_ON']; ?>'};\nqualifiers[qualifiers.length] = {name:'before',value:'<?php echo $mod_strings['LBL_BEFORE']; ?>'};\nqualifiers[qualifiers.length] = {name:'after',value:'<?php echo $mod_strings['LBL_AFTER']; ?>'};\nqualifiers[qualifiers.length] = {name:'between_dates',value:'<?php echo $mod_strings['LBL_IS_BETWEEN']; ?>'};\nqualifiers[qualifiers.length] = {name:'not_equals_str',value:'<?php echo $mod_strings['LBL_NOT_ON']; ?>'};\nqualifiers[qualifiers.length] = {name:'empty',value:'<?php echo $mod_strings['LBL_IS_EMPTY']; ?>'};\nqualifiers[qualifiers.length] = {name:'not_empty',value:'<?php echo $mod_strings['LBL_IS_NOT_EMPTY']; ?>'};\n\n\n\nqualifiers[qualifiers.length] = {name:'tp_yesterday',value:'<?php echo $mod_strings['LBL_YESTERDAY']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_today',value:'<?php echo $mod_strings['LBL_TODAY']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_tomorrow',value:'<?php echo $mod_strings['LBL_TOMORROW']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_last_n_days',value:'<?php echo $mod_strings['LBL_LAST_N_DAYS']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_next_n_days',value:'<?php echo $mod_strings['LBL_NEXT_N_DAYS']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_last_7_days',value:'<?php echo $mod_strings['LBL_LAST_7_DAYS']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_next_7_days',value:'<?php echo $mod_strings['LBL_NEXT_7_DAYS']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_last_month',value:'<?php echo $mod_strings['LBL_LAST_MONTH']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_this_month',value:'<?php echo $mod_strings['LBL_THIS_MONTH']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_next_month',value:'<?php echo $mod_strings['LBL_NEXT_MONTH']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_last_30_days',value:'<?php echo $mod_strings['LBL_LAST_30_DAYS']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_next_30_days',value:'<?php echo $mod_strings['LBL_NEXT_30_DAYS']; ?>'};\n\n qualifiers[qualifiers.length] = {name:'tp_last_quarter',value:'<?php echo $mod_strings['LBL_LAST_QUARTER']; ?>'};\n qualifiers[qualifiers.length] = {name:'tp_this_quarter',value:'<?php echo $mod_strings['LBL_THIS_QUARTER']; ?>'};\n qualifiers[qualifiers.length] = {name:'tp_next_quarter',value:'<?php echo $mod_strings['LBL_NEXT_QUARTER']; ?>'};\n\nqualifiers[qualifiers.length] = {name:'tp_last_year',value:'<?php echo $mod_strings['LBL_LAST_YEAR']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_this_year',value:'<?php echo $mod_strings['LBL_THIS_YEAR']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_next_year',value:'<?php echo $mod_strings['LBL_NEXT_YEAR']; ?>'};\n\nfilter_defs['date'] = qualifiers;\nfilter_defs['datetime'] = qualifiers;\n\nvar qualifiers = new Array();\nqualifiers[qualifiers.length] = {name:'on',value:'<?php echo $mod_strings['LBL_ON']; ?>'};\nqualifiers[qualifiers.length] = {name:'before',value:'<?php echo $mod_strings['LBL_BEFORE']; ?>'};\nqualifiers[qualifiers.length] = {name:'after',value:'<?php echo $mod_strings['LBL_AFTER']; ?>'};\nqualifiers[qualifiers.length] = {name:'between_datetimes',value:'<?php echo $mod_strings['LBL_IS_BETWEEN']; ?>'};\nqualifiers[qualifiers.length] = {name:'not_equals_str',value:'<?php echo $mod_strings['LBL_NOT_ON']; ?>'};\nqualifiers[qualifiers.length] = {name:'empty',value:'<?php echo $mod_strings['LBL_IS_EMPTY']; ?>'};\nqualifiers[qualifiers.length] = {name:'not_empty',value:'<?php echo $mod_strings['LBL_IS_NOT_EMPTY']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_yesterday',value:'<?php echo $mod_strings['LBL_YESTERDAY']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_today',value:'<?php echo $mod_strings['LBL_TODAY']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_tomorrow',value:'<?php echo $mod_strings['LBL_TOMORROW']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_last_n_days',value:'<?php echo $mod_strings['LBL_LAST_N_DAYS']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_next_n_days',value:'<?php echo $mod_strings['LBL_NEXT_N_DAYS']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_last_7_days',value:'<?php echo $mod_strings['LBL_LAST_7_DAYS']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_next_7_days',value:'<?php echo $mod_strings['LBL_NEXT_7_DAYS']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_last_month',value:'<?php echo $mod_strings['LBL_LAST_MONTH']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_this_month',value:'<?php echo $mod_strings['LBL_THIS_MONTH']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_next_month',value:'<?php echo $mod_strings['LBL_NEXT_MONTH']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_last_30_days',value:'<?php echo $mod_strings['LBL_LAST_30_DAYS']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_next_30_days',value:'<?php echo $mod_strings['LBL_NEXT_30_DAYS']; ?>'};\n\n qualifiers[qualifiers.length] = {name:'tp_last_quarter',value:'<?php echo $mod_strings['LBL_LAST_QUARTER']; ?>'};\n qualifiers[qualifiers.length] = {name:'tp_this_quarter',value:'<?php echo $mod_strings['LBL_THIS_QUARTER']; ?>'};\n qualifiers[qualifiers.length] = {name:'tp_next_quarter',value:'<?php echo $mod_strings['LBL_NEXT_QUARTER']; ?>'};\n\nqualifiers[qualifiers.length] = {name:'tp_last_year',value:'<?php echo $mod_strings['LBL_LAST_YEAR']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_this_year',value:'<?php echo $mod_strings['LBL_THIS_YEAR']; ?>'};\nqualifiers[qualifiers.length] = {name:'tp_next_year',value:'<?php echo $mod_strings['LBL_NEXT_YEAR']; ?>'};\n\nfilter_defs['datetimecombo'] = qualifiers;\n\nvar qualifiers = new Array();\nqualifiers[qualifiers.length] = {name:'equals',value:'<?php echo $mod_strings['LBL_EQUALS']; ?>'};\nqualifiers[qualifiers.length] = {name:'not_equals',value:'<?php echo $mod_strings['LBL_DOES_NOT_EQUAL']; ?>'};\nqualifiers[qualifiers.length] = {name:'less',value:'<?php echo $mod_strings['LBL_LESS_THAN']; ?>'};\nqualifiers[qualifiers.length] = {name:'less_equal',value:'<?php echo $mod_strings['LBL_LESS_THAN_EQUAL']; ?>'};\nqualifiers[qualifiers.length] = {name:'greater_equal',value:'<?php echo $mod_strings['LBL_GREATER_THAN_EQUAL']; ?>'};\nqualifiers[qualifiers.length] = {name:'greater',value:'<?php echo $mod_strings['LBL_GREATER_THAN']; ?>'};\nqualifiers[qualifiers.length] = {name:'between',value:'<?php echo $mod_strings['LBL_IS_BETWEEN']; ?>'};\nqualifiers[qualifiers.length] = {name:'empty',value:'<?php echo $mod_strings['LBL_IS_EMPTY']; ?>'};\nqualifiers[qualifiers.length] = {name:'not_empty',value:'<?php echo $mod_strings['LBL_IS_NOT_EMPTY']; ?>'};\nfilter_defs['int'] = qualifiers;\nfilter_defs['long'] = qualifiers;\nfilter_defs['float'] = qualifiers;\nfilter_defs['decimal'] = qualifiers;\nfilter_defs['currency'] = qualifiers;\nfilter_defs['num'] = qualifiers;\n\nvar qualifiers = new Array();\nqualifiers[qualifiers.length] = {name:'is',value:'<?php echo $mod_strings['LBL_IS']; ?>'};\nqualifiers[qualifiers.length] = {name:'is_not',value:\"<?php echo $mod_strings['LBL_IS_NOT']; ?>\"};\nqualifiers[qualifiers.length] = {name:'one_of',value:'<?php echo $mod_strings['LBL_ONE_OF']; ?>'};\nqualifiers[qualifiers.length] = {name:'not_one_of',value:\"<?php echo $mod_strings['LBL_IS_NOT_ONE_OF']; ?>\"};\nqualifiers[qualifiers.length] = {name:'empty',value:'<?php echo $mod_strings['LBL_IS_EMPTY']; ?>'};\nqualifiers[qualifiers.length] = {name:'not_empty',value:'<?php echo $mod_strings['LBL_IS_NOT_EMPTY']; ?>'};\nfilter_defs['enum'] = qualifiers;\nfilter_defs['radioenum'] = qualifiers;\nfilter_defs['parent_type'] = qualifiers;\nfilter_defs['timeperiod'] = qualifiers;\nfilter_defs['currency_id'] = qualifiers;\n\nvar qualifiers = new Array();\nqualifiers[qualifiers.length] = {name:'is',value:'<?php echo $mod_strings['LBL_IS']; ?>'};\nqualifiers[qualifiers.length] = {name:'is_not',value:\"<?php echo $mod_strings['LBL_IS_NOT']; ?>\"};\nqualifiers[qualifiers.length] = {name:'one_of',value:'<?php echo $mod_strings['LBL_ONE_OF']; ?>'};\nqualifiers[qualifiers.length] = {name:'not_one_of',value:'<?php echo $mod_strings['LBL_IS_NOT_ONE_OF']; ?>'};\nqualifiers[qualifiers.length] = {name:'empty',value:'<?php echo $mod_strings['LBL_IS_EMPTY']; ?>'};\nqualifiers[qualifiers.length] = {name:'not_empty',value:'<?php echo $mod_strings['LBL_IS_NOT_EMPTY']; ?>'};\nfilter_defs['multienum'] = qualifiers;\n\nvar qualifiers = new Array();\nqualifiers[qualifiers.length] = {name:'is',value:'<?php echo $mod_strings['LBL_IS']; ?>'};\nqualifiers[qualifiers.length] = {name:'is_not',value:\"<?php echo $mod_strings['LBL_IS_NOT']; ?>\"};\nqualifiers[qualifiers.length] = {name:'one_of',value:'<?php echo $mod_strings['LBL_ONE_OF']; ?>'};\nqualifiers[qualifiers.length] = {name:'empty',value:'<?php echo $mod_strings['LBL_IS_EMPTY']; ?>'};\nqualifiers[qualifiers.length] = {name:'not_empty',value:'<?php echo $mod_strings['LBL_IS_NOT_EMPTY']; ?>'};\nfilter_defs['assigned_user_name'] = qualifiers;\n\nvar qualifiers = new Array();\nqualifiers[qualifiers.length] = {name:'is',value:'<?php echo $mod_strings['LBL_IS']; ?>'};\nqualifiers[qualifiers.length] = {name:'is_not',value:\"<?php echo $mod_strings['LBL_IS_NOT']; ?>\"};\nqualifiers[qualifiers.length] = {name:'empty',value:'<?php echo $mod_strings['LBL_IS_EMPTY']; ?>'};\nqualifiers[qualifiers.length] = {name:'not_empty',value:'<?php echo $mod_strings['LBL_IS_NOT_EMPTY']; ?>'};\nfilter_defs['relate'] = qualifiers;\nfilter_defs['id'] = qualifiers;\n\nvar qualifiers = new Array();\nqualifiers[qualifiers.length] = {name:'equals',value:'<?php echo $mod_strings['LBL_EQUALS']; ?>'};\nqualifiers[qualifiers.length] = {name:'empty',value:'<?php echo $mod_strings['LBL_IS_EMPTY']; ?>'};\nqualifiers[qualifiers.length] = {name:'not_empty',value:'<?php echo $mod_strings['LBL_IS_NOT_EMPTY']; ?>'};\nfilter_defs['bool'] = qualifiers;\n\nvar date_group_defs = new Array();\ndate_group_defs[date_group_defs.length] = {name:'day', value:'<?php echo $mod_strings['LBL_BY_DAY']; ?>'};\ndate_group_defs[date_group_defs.length] = {name:'week', value:'<?php echo $mod_strings['LBL_BY_WEEK']; ?>'};\ndate_group_defs[date_group_defs.length] = {name:'month', value:'<?php echo $mod_strings['LBL_BY_MONTH']; ?>'};\ndate_group_defs[date_group_defs.length] = {name:'year', value:'<?php echo $mod_strings['LBL_BY_YEAR']; ?>'};\ndate_group_defs[date_group_defs.length] = {name:'quarter', value:'<?php echo $mod_strings['LBL_BY_QUARTER']; ?>'};\n\nvar qualifiers = new Array();\nqualifiers[qualifiers.length] = {name:'any',value:'<?php echo $mod_strings['LBL_ANY']; ?>'};\nqualifiers[qualifiers.length] = {name:'all',value:'<?php echo $mod_strings['LBL_ALL']; ?>'};\nqualifiers[qualifiers.length] = {name:'exact',value:'<?php echo $mod_strings['LBL_EXACT']; ?>'};\nfilter_defs['team_set_id'] = qualifiers;\n\n// Dropdown for filtering on basis of tag name in the Tags module\nvar qualifiers = new Array();\nqualifiers[qualifiers.length] = {name:'equals',value:'<?php echo $mod_strings['LBL_EQUALS']; ?>'};\nqualifiers[qualifiers.length] = {name:'not_equals_str',value:'<?php echo $mod_strings['LBL_DOES_NOT_EQUAL']; ?>'};\nqualifiers[qualifiers.length] = {name:'contains',value:'<?php echo $mod_strings['LBL_CONTAINS']; ?>'};\nqualifiers[qualifiers.length] = {name:'does_not_contain',value:'<?php echo $mod_strings['LBL_DOES_NOT_CONTAIN']; ?>'};\nfilter_defs['Tags:name'] = qualifiers;\n\n filter_defs['file'] = [\n {name:'empty',value:'<?php echo $mod_strings['LBL_IS_EMPTY']; ?>'},\n {name:'not_empty',value:'<?php echo $mod_strings['LBL_IS_NOT_EMPTY']; ?>'}\n ];\n\nfunction in_array(n, h){\n var i = 0;\n while (i < h.length) {\n if (n == h[i]) return true;\n i++;\n }\n return false;\n}\n\nfor(i in module_defs) {\n if(!in_array(i, ACLAllowedModules)) {\n delete module_defs[i];\n }\n}\n<?php\n}", "function report() {\r\n \r\n if ($this->isAdmin() == TRUE) {\r\n $this->loadThis();\r\n } else {\r\n\r\n $this->global['pageTitle'] = PROJECT_NAME . ' : Vehicle Report';\r\n $data['title'] = 'Vehicle Report';\r\n $data['sub_title'] = 'Report';\r\n // G:\\xampp\\htdocs\\pms\\assets\\plugins\\daterangepicker\\daterangepicker.js\r\n $this->global['assets'] = array('cssTopArray' => array(\r\n base_url() . 'assets/plugins/datepicker/datepicker3',\r\n base_url() . 'assets/plugins/timepicker/bootstrap-timepicker',\r\n base_url() . 'assets/plugins/daterangepicker/daterangepicker-bs3',\r\n \r\n \r\n ),\r\n \r\n 'cssBottomArray' => array(),\r\n 'jsTopArray' => array(),\r\n 'jsBottomArray' => array(\r\n base_url() . 'assets/plugins/datepicker/bootstrap-datepicker',\r\n base_url() . 'assets/plugins/daterangepicker/moment',\r\n base_url() . 'assets/plugins/daterangepicker/daterangepicker',\r\n base_url() . 'assets/plugins/timepicker/bootstrap-timepicker'\r\n \r\n )\r\n \r\n );\r\n $this->loadViews(\"admin/vehicle/report\", $this->global, $data, NULL);\r\n }\r\n }", "protected function _getEndJs()\r\n\t{\r\n\t\t$orderStatusArray = array();\r\n\t\tforeach((OrderStatus::findAll()) as $os)\r\n\t\t\t$orderStatusArray[] = $os->getJson();\r\n\t\t\r\n\t\t$js = parent::_getEndJs();\r\n\t\t$js .= 'pageJs.resultDivId = \"resultDiv\";';\r\n\t\t$js .= 'pageJs.searchDivId = \"searchDiv\";';\r\n\t\t$js .= 'pageJs._loadStatuses('.json_encode($orderStatusArray).');';\r\n\t\t$js .= 'pageJs.totalNoOfItemsId = \"total_no_of_items\";';\r\n\t\t$js .= 'pageJs._infoTypes = {\"custName\": ' . OrderInfoType::ID_CUS_NAME. ', \"custEmail\" : ' . OrderInfoType::ID_CUS_EMAIL . ', \"qty\": ' . OrderInfoType::ID_QTY_ORDERED . '};';\r\n\t\t$js .= 'pageJs.setCallbackId(\"getOrders\", \"' . $this->getOrdersBtn->getUniqueID(). '\")';\r\n\t\t\t$js .= '.setSearchCriteria(' . json_encode($this->getViewPreference()) . ')';\r\n\t\t\t$js .= ';';\r\n\t\t$js .= '$(\"searchBtn\").click();';\r\n\t\treturn $js;\r\n\t}", "function renderJsVars()\r\n{\r\n\tglobal $status, $isMobileDevice, $user_rights, $institution, $sendit_enabled, $super_user, $surveys_enabled, \r\n\t\t $table_pk, $table_pk_label, $longitudinal, $email_domain_whitelist, $auto_inc_set;\r\n\t// Output JavaScript\r\n\t?>\t\r\n\t<script type=\"text/javascript\">\r\n\t<?php if (defined('APP_NAME')) { ?>\r\n\tvar app_name = '<?php echo APP_NAME ?>';\r\n\tvar pid = <?php echo PROJECT_ID ?>;\r\n\tvar status = <?php echo $status ?>;\r\n\tvar table_pk = '<?php echo $table_pk ?>'; var table_pk_label = '<?php echo trim(cleanHtml(strip_tags(label_decode($table_pk_label)))) ?>';\r\n\tvar longitudinal = <?php echo $longitudinal ? 1 : 0 ?>;\r\n\tvar auto_inc_set = <?php echo $auto_inc_set ? 1 : 0 ?>;\r\n\tvar lock_record = <?php echo (isset($user_rights) && is_numeric($user_rights['lock_record']) ? $user_rights['lock_record'] : '0') ?>;\r\n\tvar shared_lib_browse_url = '<?php echo SHARED_LIB_BROWSE_URL . \"?callback=\" . urlencode(SHARED_LIB_CALLBACK_URL . \"?pid=\" . PROJECT_ID) . \"&institution=\" . urlencode($institution) . \"&user=\" . md5($institution . USERID) ?>';\r\n\t<?php } ?>\r\n\tvar app_path_webroot = '<?php echo APP_PATH_WEBROOT ?>';\r\n\tvar app_path_webroot_full = '<?php echo APP_PATH_WEBROOT_FULL ?>';\r\n\tvar app_path_images = '<?php echo APP_PATH_IMAGES ?>';\r\n\tvar page = '<?php echo PAGE ?>';\r\n\tvar sendit_enabled = <?php echo (isset($sendit_enabled) && is_numeric($sendit_enabled) ? $sendit_enabled : '0') ?>;\r\n\tvar super_user = <?php echo (isset($super_user) && is_numeric($super_user) ? $super_user : '0') ?>;\r\n\tvar surveys_enabled = <?php echo (isset($surveys_enabled) && is_numeric($surveys_enabled) ? $surveys_enabled : '0') ?>;\r\n\tvar now = '<?php echo NOW ?>'; var today = '<?php echo date(\"Y-m-d\") ?>'; var today_mdy = '<?php echo date(\"m-d-Y\") ?>'; var today_dmy = '<?php echo date(\"d-m-Y\") ?>';\r\n\tvar isMobileDevice = <?php echo ((isset($isMobileDevice) && $isMobileDevice) ? '1' : '0') ?>;\r\n\tvar email_domain_whitelist = new Array(<?php echo ($email_domain_whitelist == '' ? '' : prep_implode(explode(\"\\n\", str_replace(\"\\r\", \"\", $email_domain_whitelist)))) ?>);\r\n\t</script>\r\n\t<?php\r\n}", "public function output_javascript() {\n\t\t// What should we track downloads as?\n\t\t$track_download_as = monsterinsights_get_option( 'track_download_as', 'pageview' );\n\t\t$track_download_as = ( $track_download_as === 'pageview' || $track_download_as === 'event' ) ? $track_download_as : 'pageview';\n\n\t\t// What label should be used for internal links?\n\t\t$internal_label = monsterinsights_get_option( 'track_internal_as_label', 'int' );\n\t\tif ( ! empty( $internal_label ) && is_string( $internal_label ) ) {\n\t\t\t$internal_label = trim( $internal_label, ',' );\n\t\t\t$internal_label = trim( $internal_label );\n\t\t}\n\n\t\t// If the label is empty, set a default value\n\t\tif ( empty( $internal_label ) ) {\n\t\t\t$internal_label = 'int';\n\t\t}\n\n\t\t$internal_label = esc_js( $internal_label );\n\n\t\t// Get download extensions to track\n\t\t$inbound_paths = monsterinsights_get_option( 'track_internal_as_outbound', '' );\n\t\t$inbound_paths = explode( ',', str_replace( '.', '', $inbound_paths ) );\n\n\t\t$i = 0;\n\t\tforeach( $inbound_paths as $path ){\n\t\t\t$inbound_paths[ $i ] = '\"'. esc_js( trim( $path ) ) . '\"';\n\t\t\t$i++;\n\t\t}\n\n\t\t$inbound_paths = \"[\" . implode( \",\", $inbound_paths ) . \"]\";\n\t\tif ( $inbound_paths === '[\"\"]' ) {\n\t\t\t$inbound_paths = \"[]\";\n\t\t}\n\n\t\t// Get download extensions to track\n\t\t$download_extensions = monsterinsights_get_option( 'extensions_of_files', '' );\n\t\t$download_extensions = explode( ',', str_replace( '.', '', $download_extensions ) );\n\n\t\t$i = 0;\n\t\tforeach( $download_extensions as $extension ){\n\t\t\t$download_extensions[ $i ] = '\"'. esc_js( trim( $extension ) ) . '\"';\n\t\t\t$i++;\n\t\t}\n\n\t\t$download_extensions = \"[\" . implode( \",\", $download_extensions ) . \"]\";\n\t\tif ( $download_extensions === '[\"\"]' ) {\n\t\t\t$download_extensions = \"[]\";\n\t\t}\n\n\t\t$track_download_as = monsterinsights_get_option( 'track_download_as', '' );\n\t\t$track_download_as = $track_download_as === 'pageview' ? 'pageview' : 'event';\n\n\t\t$is_debug_mode = monsterinsights_is_debug_mode();\n\t\tif ( current_user_can( 'manage_options' ) && $is_debug_mode ) {\n\t\t\t$is_debug_mode = 'true';\n\t\t} else {\n\t\t\t$is_debug_mode = 'false';\n\t\t}\n\n\t\tif ( $is_debug_mode === 'true' ) {\n\t\tob_start();\n\t\t?>\n<!-- MonsterInsights JS Event Tracking -->\n<script type=\"text/javascript\" data-cfasync=\"false\">\n(function(){\n\t// MonsterInsights JS events tracking works on all major browsers, including IE starting at IE 7, via polyfills for any major JS fucntion used that\n\t// is not supported by at least 95% of the global and/or US browser marketshare. Currently, IE 7 & 8 which as of 2/14/17 have under 0.25% global marketshare, require\n\t// us to polyfill Array.prototype.lastIndexOf, and if they continue to drop, we might remove this polyfill at some point. In that case note that events tracking\n\t// for IE 7/8 will continue to work, with the exception of events tracking of downloads.\n\tfunction __gaTrackerClickEventPHP() {\n\t\tvar phpvalues = { \n\t\t\t'is_debug_mode' \t : <?php echo $is_debug_mode; ?>,\n\t\t\t'download_extensions' : <?php echo $download_extensions; ?>, /* Let's get the extensions to track */\n\t\t\t'inbound_paths' : <?php echo $inbound_paths; ?>, /* Let's get the internal paths to track */\n\t\t\t'home_url' : \"<?php echo home_url(); ?>\", /* Let's get the url to compare for external/internal use */\n\t\t\t'track_download_as' : \"<?php echo $track_download_as; ?>\", /* should downloads be tracked as events or pageviews */\n\t\t\t'internal_label' : \"outbound-link-<?php echo $internal_label; ?>\", /* What is the prefix for internal-as-external links */\n\t\t};\n\t\treturn phpvalues;\n\t}\n\n\tfunction __gaTrackerClickEvent( event ) {\n\t\tvar phpvalues = __gaTrackerClickEventPHP();\n\t\tvar is_debug_mode = phpvalues.is_debug_mode || window.monsterinsights_debug_mode; /* Console log instead of running? */\n\t\tvar el = event.srcElement || event.target;\n\t\tif ( is_debug_mode ) {\n\t\t\tconsole.log( \"__gaTracker.hasOwnProperty(loaded)\" );\n\t\t\tconsole.log( __gaTracker.hasOwnProperty( \"loaded\" ) );\n\t\t\tconsole.log( \"__gaTracker.loaded\" );\n\t\t\tconsole.log( __gaTracker.loaded );\n\t\t\tconsole.log( \"Event.which: \" + event.which );\n\t\t\tconsole.log( \"El: \");\n\t\t\tconsole.log( el );\n\t\t\tconsole.log( \"Will track: \" + ! __gaTracker.hasOwnProperty( \"loaded\" ) || __gaTracker.loaded != true || ( event.which != 1 && event.which != 2 && !event.metaKey && !event.ctrlKey && !event.shiftKey && !event.altKey ) );\n\t\t}\n\n\t\t/* If GA is blocked or not loaded, or not main|middle|touch click then don't track */\n\t\tif ( ! __gaTracker.hasOwnProperty( \"loaded\" ) || __gaTracker.loaded != true || ( event.which != 1 && event.which != 2 && !event.metaKey && !event.ctrlKey && !event.shiftKey && !event.altKey ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t/* Loop up the DOM tree through parent elements if clicked element is not a link (eg: an image inside a link) */\n\t\twhile ( el && (typeof el.tagName == 'undefined' || el.tagName.toLowerCase() != 'a' || !el.href ) ) {\n\t\t\tel = el.parentNode;\n\t\t}\n\n\t\t/* if a link with valid href has been clicked */\n\t\tif ( el && el.href ) {\n\t\t\t/* el is an a element so we can parse it */\n\t\t\t/* el.href; => \"http://example.com:3000/pathname/?search=test#hash\" */\n\t\t\t/* el.protocol; => \"http:\" */\n\t\t\t/* el.hostname; => \"example.com\" */\n\t\t\t/* el.port; => \"3000\" */\n\t\t\t/* el.pathname; => \"/pathname/\" */\n\t\t\t/* el.search; => \"?search=test\" */\n\t\t\t/* el.hash; => \"#hash\"\n\t\t\t/* el.host; => \"example.com:3000 */\n\n\t\t\tvar link \t\t\t\t= el.href;\n\t\t\tvar extension \t\t\t= el.href;\n\t\t\tvar type \t\t\t\t= 'internal'; /* By default, we assume all links are internal ones, which we don't track by default */\n\t\t\tvar download_extensions = phpvalues.download_extensions; /* Let's get the extensions to track */\n\t\t\tvar inbound_paths = phpvalues.inbound_paths; /* Let's get the internal paths to track */\n\t\t\tvar home_url = phpvalues.home_url; /* Let's get the url to compare for external/internal use */\n\t\t\tvar track_download_as = phpvalues.track_download_as; /* should downloads be tracked as events or pageviews */\n\t\t\tvar internal_label = \"outbound-link-\" + phpvalues.internal_label; /* What is the prefix for internal-as-external links */\n\n\t\t\t/* Remove the anchor at the end, if there is one */\n\t\t\textension = extension.substring( 0, (extension.indexOf( \"#\" ) == -1 ) ? extension.length : extension.indexOf( \"#\" ) );\n\n\t\t\t/* Remove the query after the file name, if there is one */\n\t\t\textension = extension.substring( 0, (extension.indexOf( \"?\" ) == -1 ) ? extension.length : extension.indexOf( \"?\" ) );\n\n\t\t\t/* Remove everything before the last slash in the path */\n\t\t\textension = extension.substring( extension.lastIndexOf( \"/\" ) + 1, extension.length );\n\n\t\t\t/* Remove everything but what's after the first period */\n\t\t\textension = extension.substring( extension.indexOf( \".\" ) + 1 );\n\n\t\t\tvar currentdomain = (function(){\n\t\t\t var i=0,currentdomain=document.domain,p=currentdomain.split('.'),s='_gd'+(new Date()).getTime();\n\t\t\t while(i<(p.length-1) && document.cookie.indexOf(s+'='+s)==-1){\n\t\t\t\t currentdomain = p.slice(-1-(++i)).join('.');\n\t\t\t\t document.cookie = s+\"=\"+s+\";domain=\"+currentdomain+\";\";\n\t\t\t }\n\t\t\t document.cookie = s+\"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain=\"+currentdomain+\";\";\n\t\t\t return currentdomain;\n\t\t\t})();\n\n\t\t\tif (typeof String.prototype.endsWith !== 'function') {\n\t\t\t\tString.prototype.endsWith = function(suffix) {\n\t\t\t\t\treturn this.indexOf(suffix, this.length - suffix.length) !== -1;\n\t\t\t\t};\n\t\t\t}\n\t\t\tif (typeof String.prototype.startsWith !== 'function') {\n\t\t\t\tString.prototype.startsWith = function(prefix) {\n\t\t\t\t\treturn this.indexOf(prefix) === 0;\n\t\t\t\t};\n\t\t\t}\n\n\t\t\tif ( typeof Array.prototype.includes !== 'function') {\n\t\t\t Object.defineProperty(Array.prototype, 'includes', {\n\t\t\t\tvalue: function(searchElement, fromIndex) {\n\n\t\t\t\t // 1. Let O be ? ToObject(this value).\n\t\t\t\t if (this == null) {\n\t\t\t\t\tthrow new TypeError('\"this\" is null or not defined');\n\t\t\t\t }\n\n\t\t\t\t var o = Object(this);\n\n\t\t\t\t // 2. Let len be ? ToLength(? Get(O, \"length\")).\n\t\t\t\t var len = o.length >>> 0;\n\n\t\t\t\t // 3. If len is 0, return false.\n\t\t\t\t if (len === 0) {\n\t\t\t\t\treturn false;\n\t\t\t\t }\n\n\t\t\t\t // 4. Let n be ? ToInteger(fromIndex).\n\t\t\t\t // (If fromIndex is undefined, this step produces the value 0.)\n\t\t\t\t var n = fromIndex | 0;\n\n\t\t\t\t // 5. If n ≥ 0, then\n\t\t\t\t // a. Let k be n.\n\t\t\t\t // 6. Else n < 0,\n\t\t\t\t // a. Let k be len + n.\n\t\t\t\t // b. If k < 0, let k be 0.\n\t\t\t\t var k = Math.max(n >= 0 ? n : len - Math.abs(n), 0);\n\n\t\t\t\t // 7. Repeat, while k < len\n\t\t\t\t while (k < len) {\n\t\t\t\t\t// a. Let elementK be the result of ? Get(O, ! ToString(k)).\n\t\t\t\t\t// b. If SameValueZero(searchElement, elementK) is true, return true.\n\t\t\t\t\t// c. Increase k by 1.\n\t\t\t\t\t// NOTE: === provides the correct \"SameValueZero\" comparison needed here.\n\t\t\t\t\tif (o[k] === searchElement) {\n\t\t\t\t\t return true;\n\t\t\t\t\t}\n\t\t\t\t\tk++;\n\t\t\t\t }\n\n\t\t\t\t // 8. Return false\n\t\t\t\t return false;\n\t\t\t\t}\n\t\t\t });\n\t\t\t}\n\n\t\t\tif ( typeof Array.prototype.lastIndexOf !== 'function' ) {\n\t\t\t Array.prototype.lastIndexOf = function(searchElement /*, fromIndex*/) {\n\t\t\t\t'use strict';\n\n\t\t\t\tif (this === void 0 || this === null) {\n\t\t\t\t throw new TypeError();\n\t\t\t\t}\n\n\t\t\t\tvar n, k,\n\t\t\t\t t = Object(this),\n\t\t\t\t len = t.length >>> 0;\n\t\t\t\tif (len === 0) {\n\t\t\t\t return -1;\n\t\t\t\t}\n\n\t\t\t\tn = len - 1;\n\t\t\t\tif (arguments.length > 1) {\n\t\t\t\t n = Number(arguments[1]);\n\t\t\t\t if (n != n) {\n\t\t\t\t\tn = 0;\n\t\t\t\t }\n\t\t\t\t else if (n != 0 && n != (1 / 0) && n != -(1 / 0)) {\n\t\t\t\t\tn = (n > 0 || -1) * Math.floor(Math.abs(n));\n\t\t\t\t }\n\t\t\t\t}\n\n\t\t\t\tfor (k = n >= 0 ? Math.min(n, len - 1) : len - Math.abs(n); k >= 0; k--) {\n\t\t\t\t if (k in t && t[k] === searchElement) {\n\t\t\t\t\treturn k;\n\t\t\t\t }\n\t\t\t\t}\n\t\t\t\treturn -1;\n\t\t\t };\n\t\t\t}\n\n\t\t\tfunction monsterinsightsStringTrim(x) {\n\t\t\t\treturn x.replace(/^\\s+|\\s+$/gm,'');\n\t\t\t}\n\n\t\t\tif ( is_debug_mode ) {\n\t\t\t\tconsole.log( \"Link: \" + link);\n\t\t\t\tconsole.log( \"Extension: \" + extension );\n\t\t\t\tconsole.log( \"Protocol: \" + el.protocol );\n\t\t\t\tconsole.log( \"External: \" + (el.hostname.length > 0 && currentdomain.length > 0 && ! el.hostname.endsWith( currentdomain )) );\n\t\t\t\tconsole.log( \"Current domain: \" + currentdomain );\n\t\t\t\tconsole.log( \"Link domain: \" + el.hostname );\n\t\t\t}\n\n\t\t\t/* Let's get the type of click event this is */\n\t\t\tif ( monsterinsightsStringTrim( el.protocol ) == 'mailto' || monsterinsightsStringTrim( el.protocol ) == 'mailto:' ) { /* If it's an email */\n\t\t\t\ttype = \"mailto\"; \n\t\t\t} else if ( download_extensions.length > 0 && extension.length > 0 && download_extensions.includes(extension) ) { /* If it's a download */\n\t\t\t\ttype = \"download\"; \n\t\t\t} else if ( el.hostname.length > 0 && currentdomain.length > 0 && ! el.hostname.endsWith( currentdomain ) ) { /* If it's a outbound */\n\t\t\t\ttype = \"external\"; \n\t\t\t} else {\n\t\t\t\tvar index, len;\n\t\t\t\tvar pathname = el.pathname;\n\t\t\t\tfor ( index = 0, len = inbound_paths.length; index < len; ++index ) {\n\t\t\t\t\tif ( pathname.startsWith( inbound_paths[ index ] ) ) {\n\t\t\t\t\t\ttype = \"internal-as-outbound\";\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( is_debug_mode ) {\n\t\t\t\tconsole.log( \"Type: \" + type );\n\t\t\t}\n\n\t\t\t/* Let's track everything but internals (that aren't internal-as-externals) */\n\t\t\tif ( type !== 'internal' && ! link.match( /^javascript\\:/i ) ) {\n\n\t\t\t\t/* Is actual target set and not _(self|parent|top)? */\n\t\t\t\tvar target = ( el.target && !el.target.match( /^_(self|parent|top)$/i ) ) ? el.target : false;\n\n\t\t\t\t/* Assume a target if Ctrl|shift|meta-click */\n\t\t\t\tif ( event.ctrlKey || event.shiftKey || event.metaKey || event.which == 2 ) {\n\t\t\t\t\ttarget = \"_blank\";\n\t\t\t\t}\n\n\t\t\t\tif ( is_debug_mode ) {\n\t\t\t\t\tconsole.log( \"Control Key: \" + event.ctrlKey );\n\t\t\t\t\tconsole.log( \"Shift Key: \" + event.shiftKey );\n\t\t\t\t\tconsole.log( \"Meta Key: \" + event.metaKey );\n\t\t\t\t\tconsole.log( \"Which Key: \" + event.which );\n\t\t\t\t\tconsole.log( \"Target: \" + target );\n\t\t\t\t}\n\n\t\t\t\tvar __gaTrackerHitBackRun = false; /* Tracker has not yet run */\n\n\t\t\t\t/* HitCallback to open link in same window after tracker */\n\t\t\t\tvar __gaTrackerHitBack = function() {\n\t\t\t\t\t/* Run the hitback only once */\n\t\t\t\t\tif ( __gaTrackerHitBackRun ){\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\t__gaTrackerHitBackRun = true;\n\t\t\t\t\twindow.location.href = link;\n\t\t\t\t};\n\t\t\t\t\n\t\t\t\tif ( target ) { /* If target opens a new window then just track */\n\t\t\t\t\tif ( type == 'download' ) {\n\t\t\t\t\t\tif ( track_download_as == 'pageview' ) {\n\t\t\t\t\t\t\tif ( ! is_debug_mode ) {\n\t\t\t\t\t\t\t\t__gaTracker( 'send', 'pageview', link );\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tconsole.log( \"Target | Download | Send | Pageview | \" + link );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ( ! is_debug_mode ) {\n\t\t\t\t\t\t\t\t__gaTracker( 'send', 'event', 'download', link );\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tconsole.log( \"Target | Download | Send | Event | \" + link );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if ( type == 'mailto' ) {\n\t\t\t\t\t\tif ( ! is_debug_mode ) {\n\t\t\t\t\t\t\t__gaTracker( 'send', 'event', 'mailto', link );\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tconsole.log( \"Target | Mailto | Send | Event | Mailto | \" + link );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t} else if ( type == 'internal-as-outbound' ) {\n\t\t\t\t\t\tif ( ! is_debug_mode ) {\n\t\t\t\t\t\t\t__gaTracker( 'send', 'event', internal_label, link, el.title );\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tconsole.log( \"Target | Internal-As-Outbound | Send | event | \" + internal_label + \" | \" + link + \" | \" + el.title );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t} else if ( type == 'external' ) {\n\t\t\t\t\t\tif ( ! is_debug_mode ) {\n\t\t\t\t\t\t\t__gaTracker( 'send', 'event', 'outbound-link', link, el.title );\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tconsole.log( \"Target | External | Send | 'outbound-link' | \" + link + \" | \" + el.title );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif ( is_debug_mode ) {\n\t\t\t\t\t\t\tconsole.log( \"Target | \" + type + \" | \" + link + \" is not a tracked click.\" );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif ( is_debug_mode ) {\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t} else { /* Prevent standard click, track then open */\n\t\t\t\t\t\tif (!event.defaultPrevented) {\n\t\t\t\t\t\t\tevent.preventDefault ? event.preventDefault() : event.returnValue = !1;\n\t\t\t\t\t\t}\n\n\t\t\t\t\tif ( type == 'download' ) {\n\t\t\t\t\t\tif ( track_download_as == 'pageview' ) {\n\t\t\t\t\t\t\tif ( ! is_debug_mode ) {\n\t\t\t\t\t\t\t\t__gaTracker( 'send', 'pageview', link, { \"hitCallback\": __gaTrackerHitBack } );\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tconsole.log( \"Not Target | Download | Send | Pageview | \" + link );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ( ! is_debug_mode ) {\n\t\t\t\t\t\t\t\t__gaTracker( 'send', 'event', 'download',{ \"hitCallback\": __gaTrackerHitBack } );\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tconsole.log( \"Not Target | Download | Send | Event | \" + link );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t} else if ( type == 'mailto' ) {\n\t\t\t\t\t\tif ( ! is_debug_mode ) {\n\t\t\t\t\t\t\t__gaTracker( 'send', 'event', 'mailto', link, { \"hitCallback\": __gaTrackerHitBack } );\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tconsole.log( \"Not Target | Mailto | Send | Event | Mailto | \" + link );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t} else if ( type == 'internal-as-outbound' ) {\n\t\t\t\t\t\twindow.onbeforeunload = function(e) {\n\t\t\t\t\t\t\tif ( ! is_debug_mode ) {\n\t\t\t\t\t\t\t\tif ( ! navigator.sendBeacon ) {\n\t\t\t\t\t\t\t\t\t__gaTracker( 'send', 'event', internal_label, link, el.title, { \"hitCallback\": __gaTrackerHitBack } );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t__gaTracker( 'send', 'event', internal_label, link, el.title, { transport: 'beacon' } );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tconsole.log( \"Not Target | Internal-As-Outbound | Send | event | \" + internal_label + \" | \" + link + \" | \" + el.title );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t} else if ( type == 'external' ) {\n\t\t\t\t\t\twindow.onbeforeunload = function(e) {\n\t\t\t\t\t\t\tif ( ! is_debug_mode ) {\n\t\t\t\t\t\t\t\tif ( ! navigator.sendBeacon ) {\n\t\t\t\t\t\t\t\t\t__gaTracker( 'send', 'event', 'outbound-link', link, el.title, { \"hitCallback\": __gaTrackerHitBack } )\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t__gaTracker( 'send', 'event', 'outbound-link', link, el.title, { transport: 'beacon' } )\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tconsole.log( \"Not Target | External | Send | 'outbound-link' | \" + link + \" | \" + el.title );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif ( is_debug_mode ) {\n\t\t\t\t\t\t\tconsole.log( \"Not Target | \" + type + \" | \" + link + \" is not a tracked click.\" );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif ( is_debug_mode ) {\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\n\t\t\t\t\t/* Run hitCallback again if GA takes longer than 1 second */\n\t\t\t\t\tsetTimeout( __gaTrackerHitBack, 1000 );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tvar __gaTrackerWindow = window;\n\tvar __gaTrackerEventType = \"click\";\n\t/* Attach the event to all clicks in the document after page has loaded */\n\t__gaTrackerWindow.addEventListener ? __gaTrackerWindow.addEventListener( \"load\", function() {document.body.addEventListener(__gaTrackerEventType, __gaTrackerClickEvent, false)}, false)\n\t\t\t\t\t\t\t\t\t : __gaTrackerWindow.attachEvent && __gaTrackerWindow.attachEvent(\"onload\", function() {document.body.attachEvent( \"on\" + __gaTrackerEventType, __gaTrackerClickEvent)});\n})();\n</script>\n<!-- End MonsterInsights JS Event Tracking -->\n<?php\n\t\t$output = ob_get_contents();\n\t\tob_end_clean();\n\t\techo $output;\n\t\t} else {\t\t\n\t\t\tob_start();\n\t\t\t?>\n<!-- MonsterInsights JS Event Tracking -->\n<script type=\"text/javascript\" data-cfasync=\"false\">\n(function(){\nfunction __gaTrackerClickEventPHP() {var phpvalues = { 'is_debug_mode': <?php echo $is_debug_mode; ?>,'download_extensions': <?php echo $download_extensions; ?>,'inbound_paths': <?php echo $inbound_paths; ?>,'home_url': \"<?php echo home_url(); ?>\",'track_download_as': \"<?php echo $track_download_as; ?>\",'internal_label': \"<?php echo $internal_label; ?>\"};return phpvalues;}\nfunction __gaTrackerClickEvent(e){function t(e){return e.replace(/^\\s+|\\s+$/gm,\"\")}var n=__gaTrackerClickEventPHP(),o=n.is_debug_mode||window.monsterinsights_debug_mode,a=e.srcElement||e.target;if(o&&(console.log(\"__gaTracker.hasOwnProperty(loaded)\"),console.log(__gaTracker.hasOwnProperty(\"loaded\")),console.log(\"__gaTracker.loaded\"),console.log(__gaTracker.loaded),console.log(\"Event.which: \"+e.which),console.log(\"El: \"),console.log(a),console.log(\"Will track: \"+!__gaTracker.hasOwnProperty(\"loaded\")||1!=__gaTracker.loaded||1!=e.which&&2!=e.which&&!e.metaKey&&!e.ctrlKey&&!e.shiftKey&&!e.altKey)),__gaTracker.hasOwnProperty(\"loaded\")&&1==__gaTracker.loaded&&(1==e.which||2==e.which||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)){for(;a&&(\"undefined\"==typeof a.tagName||\"a\"!=a.tagName.toLowerCase()||!a.href);)a=a.parentNode;if(a&&a.href){var r=a.href,l=a.href,i=\"internal\",c=n.download_extensions,d=n.inbound_paths,s=(n.home_url,n.track_download_as),g=\"outbound-link-\"+n.internal_label;l=l.substring(0,-1==l.indexOf(\"#\")?l.length:l.indexOf(\"#\")),l=l.substring(0,-1==l.indexOf(\"?\")?l.length:l.indexOf(\"?\")),l=l.substring(l.lastIndexOf(\"/\")+1,l.length),l=l.substring(l.indexOf(\".\")+1);var h=function(){for(var e=0,t=document.domain,n=t.split(\".\"),o=\"_gd\"+(new Date).getTime();e<n.length-1&&-1==document.cookie.indexOf(o+\"=\"+o);)t=n.slice(-1-++e).join(\".\"),document.cookie=o+\"=\"+o+\";domain=\"+t+\";\";return document.cookie=o+\"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain=\"+t+\";\",t}();if(\"function\"!=typeof String.prototype.endsWith&&(String.prototype.endsWith=function(e){return-1!==this.indexOf(e,this.length-e.length)}),\"function\"!=typeof String.prototype.startsWith&&(String.prototype.startsWith=function(e){return 0===this.indexOf(e)}),\"function\"!=typeof Array.prototype.includes&&Object.defineProperty(Array.prototype,\"includes\",{value:function(e,t){if(null==this)throw new TypeError('\"this\" is null or not defined');var n=Object(this),o=n.length>>>0;if(0===o)return!1;for(var a=0|t,r=Math.max(a>=0?a:o-Math.abs(a),0);o>r;){if(n[r]===e)return!0;r++}return!1}}),\"function\"!=typeof Array.prototype.lastIndexOf&&(Array.prototype.lastIndexOf=function(e){\"use strict\";if(void 0===this||null===this)throw new TypeError;var t,n,o=Object(this),a=o.length>>>0;if(0===a)return-1;for(t=a-1,arguments.length>1&&(t=Number(arguments[1]),t!=t?t=0:0!=t&&t!=1/0&&t!=-(1/0)&&(t=(t>0||-1)*Math.floor(Math.abs(t)))),n=t>=0?Math.min(t,a-1):a-Math.abs(t);n>=0;n--)if(n in o&&o[n]===e)return n;return-1}),o&&(console.log(\"Link: \"+r),console.log(\"Extension: \"+l),console.log(\"Protocol: \"+a.protocol),console.log(\"External: \"+(a.hostname.length>0&&h.length>0&&!a.hostname.endsWith(h))),console.log(\"Current domain: \"+h),console.log(\"Link domain: \"+a.hostname)),\"mailto\"==t(a.protocol)||\"mailto:\"==t(a.protocol))i=\"mailto\";else if(c.length>0&&l.length>0&&c.includes(l))i=\"download\";else if(a.hostname.length>0&&h.length>0&&!a.hostname.endsWith(h))i=\"external\";else{var u,_,f=a.pathname;for(u=0,_=d.length;_>u;++u)if(f.startsWith(d[u])){i=\"internal-as-outbound\";break}}if(o&&console.log(\"Type: \"+i),\"internal\"!==i&&!r.match(/^javascript\\:/i)){var k=a.target&&!a.target.match(/^_(self|parent|top)$/i)?a.target:!1;(e.ctrlKey||e.shiftKey||e.metaKey||2==e.which)&&(k=\"_blank\"),o&&(console.log(\"Control Key: \"+e.ctrlKey),console.log(\"Shift Key: \"+e.shiftKey),console.log(\"Meta Key: \"+e.metaKey),console.log(\"Which Key: \"+e.which),console.log(\"Target: \"+k));var v=!1,T=function(){v||(v=!0,window.location.href=r)};if(k){if(\"download\"==i?\"pageview\"==s?o?console.log(\"Target | Download | Send | Pageview | \"+r):__gaTracker(\"send\",\"pageview\",r):o?console.log(\"Target | Download | Send | Event | \"+r):__gaTracker(\"send\",\"event\",\"download\",r):\"mailto\"==i?o?console.log(\"Target | Mailto | Send | Event | Mailto | \"+r):__gaTracker(\"send\",\"event\",\"mailto\",r):\"internal-as-outbound\"==i?o?console.log(\"Target | Internal-As-Outbound | Send | event | \"+g+\" | \"+r+\" | \"+a.title):__gaTracker(\"send\",\"event\",g,r,a.title):\"external\"==i?o?console.log(\"Target | External | Send | 'outbound-link' | \"+r+\" | \"+a.title):__gaTracker(\"send\",\"event\",\"outbound-link\",r,a.title):o&&console.log(\"Target | \"+i+\" | \"+r+\" is not a tracked click.\"),o)return!1}else{if(e.defaultPrevented||(e.preventDefault?e.preventDefault():e.returnValue=!1),\"download\"==i?\"pageview\"==s?o?console.log(\"Not Target | Download | Send | Pageview | \"+r):__gaTracker(\"send\",\"pageview\",r,{hitCallback:T}):o?console.log(\"Not Target | Download | Send | Event | \"+r):__gaTracker(\"send\",\"event\",\"download\",{hitCallback:T}):\"mailto\"==i?o?console.log(\"Not Target | Mailto | Send | Event | Mailto | \"+r):__gaTracker(\"send\",\"event\",\"mailto\",r,{hitCallback:T}):\"internal-as-outbound\"==i?window.onbeforeunload=function(){o?console.log(\"Not Target | Internal-As-Outbound | Send | event | \"+g+\" | \"+r+\" | \"+a.title):navigator.sendBeacon?__gaTracker(\"send\",\"event\",g,r,a.title,{transport:\"beacon\"}):__gaTracker(\"send\",\"event\",g,r,a.title,{hitCallback:T})}:\"external\"==i?window.onbeforeunload=function(){o?console.log(\"Not Target | External | Send | 'outbound-link' | \"+r+\" | \"+a.title):navigator.sendBeacon?__gaTracker(\"send\",\"event\",\"outbound-link\",r,a.title,{transport:\"beacon\"}):__gaTracker(\"send\",\"event\",\"outbound-link\",r,a.title,{hitCallback:T})}:o&&console.log(\"Not Target | \"+i+\" | \"+r+\" is not a tracked click.\"),o)return!1;setTimeout(T,1e3)}}}}}var __gaTrackerWindow=window,__gaTrackerEventType=\"click\";__gaTrackerWindow.addEventListener?__gaTrackerWindow.addEventListener(\"load\",function(){document.body.addEventListener(__gaTrackerEventType,__gaTrackerClickEvent,!1)},!1):__gaTrackerWindow.attachEvent&&__gaTrackerWindow.attachEvent(\"onload\",function(){document.body.attachEvent(\"on\"+__gaTrackerEventType,__gaTrackerClickEvent)});\n})();\n</script>\n<!-- End MonsterInsights JS Event Tracking -->\n<?php\n\t\t\t$output = ob_get_contents();\n\t\t\tob_end_clean();\n\t\t\techo $output;\n\t\t}\n\t}", "protected function getProjectsScripts()\n {\n return\n \"<script type='text/javascript'>\n function projectChange(el){\n jQuery(\\\"input[name='submission[localize][]']\\\").prop('checked', false);\n\n jQuery('.checkboxes-error-message').hide();\n\n var selectedShortcode = jQuery(el).val();\n\n var fieldId = 'localize_'+selectedShortcode;\n var attributeFieldIdText = 'attribute_'+selectedShortcode+'_text';\n var attributeFieldIdCombo = 'attribute_'+selectedShortcode+'_combo';\n //hide all but selected\n jQuery(\\\"div[class^='field-localize_'],div[class*=' field-localize_']\\\").hide();\n jQuery(\\\"div[class^='field-attribute_'],div[class*=' field-attribute_']\\\").hide();\n jQuery(\\\".field-\\\"+fieldId).show();\n jQuery(\\\".field-\\\"+attributeFieldIdText).show();\n jQuery(\\\".field-\\\"+attributeFieldIdCombo).show();\n //jQuery(\\\"div[class^='field-\\\"+attributeFieldId+\\\"'],div[class*=' field-\\\"+attributeFieldId+\\\"']\\\").show();\n\n validatecheckboxes(fieldId);\n }\n\n function validatecheckboxes(fieldId){\n var isChecked = jQuery(\\\".field-\\\"+fieldId+\\\" input[name='submission[localize][]']:checked\\\").length;\n var saveButton = jQuery('button#save');\n if(!isChecked) {\n jQuery('#error-message-'+fieldId).show();\n saveButton.prop('disabled', true);\n return false;\n }\n jQuery('#error-message-'+fieldId).hide();\n saveButton.prop('disabled', false);\n return true;\n }\n </script>\n \";\n }", "public static function export_lead_page() {\n\n if (!GFCommon::current_user_can_any('gravityforms_export_entries')) {\n wp_die('You do not have permission to access this page');\n }\n\n self::page_header(__('Export Entries', 'gravityforms'));\n\n ?>\n\n <script type=\"text/javascript\">\n\n var gfSpinner;\n\n <?php GFCommon::gf_global(); ?>\n <?php GFCommon::gf_vars(); ?>\n\n function SelectExportForm( formId ) {\n\n if ( !formId ) return;\n\n gfSpinner = new gfAjaxSpinner( jQuery( 'select#export_form' ), gf_vars.baseUrl + '/images/spinner.gif', 'position: relative; top: 2px; left: 5px;' );\n\n var mysack = new sack( \"<?php echo admin_url('admin-ajax.php')?>\" );\n mysack.execute = 1;\n mysack.method = 'POST';\n mysack.setVar( \"action\", \"rg_select_export_form\" );\n mysack.setVar( \"rg_select_export_form\", \"<?php echo wp_create_nonce('rg_select_export_form'); ?>\" );\n mysack.setVar( \"form_id\", formId );\n mysack.onError = function () {\n alert(<?php echo json_encode(__('Ajax error while selecting a form', 'gravityforms')); ?>)\n };\n mysack.runAJAX();\n\n return true;\n }\n\n function EndSelectExportForm( aryFields, filterSettings ) {\n\n gfSpinner.destroy();\n\n if ( aryFields.length == 0 ) {\n jQuery( \"#export_field_container, #export_date_container, #export_submit_container\" ).hide()\n return;\n }\n\n var fieldList = \"<li><input id='select_all' type='checkbox' onclick=\\\"jQuery('.gform_export_field').attr('checked', this.checked); jQuery('#gform_export_check_all').html(this.checked ? '<strong><?php echo esc_js(__('Deselect All', 'gravityforms')); ?></strong>' : '<strong><?php echo esc_js(__('Select All', 'gravityforms')); ?></strong>'); \\\" onkeypress=\\\"jQuery('.gform_export_field').attr('checked', this.checked); jQuery('#gform_export_check_all').html(this.checked ? '<strong><?php echo esc_js(__('Deselect All', 'gravityforms')); ?></strong>' : '<strong><?php echo esc_js(__('Select All', 'gravityforms')); ?></strong>'); \\\"> <label id='gform_export_check_all' for='select_all'><strong><?php esc_html_e('Select All', 'gravityforms') ?></strong></label></li>\";\n for ( var i = 0; i < aryFields.length; i++ ) {\n fieldList += \"<li><input type='checkbox' id='export_field_\" + i + \"' name='export_field[]' value='\" + aryFields[ i ][ 0 ] + \"' class='gform_export_field'> <label for='export_field_\" + i + \"'>\" + aryFields[ i ][ 1 ] + \"</label></li>\";\n }\n jQuery( \"#export_field_list\" ).html( fieldList );\n jQuery( \"#export_date_start, #export_date_end\" )\n .datepicker( {\n dateFormat: 'yy-mm-dd',\n changeMonth: true,\n changeYear: true\n } );\n\n jQuery( \"#export_field_container, #export_filter_container, #export_date_container, #export_submit_container\" )\n .hide()\n .show();\n\n gf_vars.filterAndAny = <?php echo json_encode(esc_html__('Export entries if {0} of the following match:', 'gravityforms')); ?>;\n jQuery( \"#export_filters\" ).gfFilterUI( filterSettings );\n\n // add action to form, to make a actual post, not ajax call.\n var data = jQuery( '#gform_export' ).serialize();\n data += '&action=gf_process_export';\n data += '&offset=' + 0;\n data += '&exportId=' + 0;\n jQuery( '#gform_export' ).attr( 'action', ajaxurl + '?' + data );\n\n\n }\n\n (function ( $, window, undefined ) {\n\n function process( offset, exportId ) {\n\n if ( typeof offset == 'undefined' ) {\n offset = 0;\n }\n\n if ( typeof exportId == 'undefined' ) {\n exportId = 0;\n }\n\n var data = $( '#gform_export' ).serialize();\n\n data += '&action=gf_process_export';\n data += '&offset=' + offset;\n data += '&exportId=' + exportId;\n $.ajax( {\n type: 'POST',\n url: ajaxurl,\n data: data,\n dataType: 'json'\n } ).done( function ( response ) {\n if ( response.status == 'in_progress' ) {\n $( '#progress_container' ).text( response.progress );\n process( response.offset, response.exportId );\n } else if ( response.status == 'complete' ) {\n $( '#progress_container' ).text( '0%' );\n $( '#please_wait_container' ).hide();\n var formId = parseInt( $( '#export_form' ).val() );\n var url = ajaxurl + '?action=gf_download_export&_wpnonce=<?php echo wp_create_nonce('gform_download_export'); ?>&export-id=' + response.exportId + '&form-id=' + formId;\n $( '#submit_button' ).fadeIn();\n document.location.href = url;\n\n }\n } );\n }\n\n }( jQuery, window ));\n\n\n </script>\n\n <p class=\"textleft\"><?php esc_html_e('Select a form below to export entries. Once you have selected a form you may select the fields you would like to export and then define optional filters for field values and the date range. When you click the download button below, Gravity Forms will create a CSV file for you to save to your computer.', 'gravityforms'); ?></p>\n <div class=\"hr-divider\"></div>\n <form id=\"gform_export\" method=\"post\" style=\"margin-top:10px;\">\n <?php echo wp_nonce_field('rg_start_export', 'rg_start_export_nonce'); ?>\n <table class=\"form-table\">\n <tr valign=\"top\">\n\n <th scope=\"row\">\n <label for=\"export_form\"><?php esc_html_e('Select A Form', 'gravityforms'); ?></label> <?php gform_tooltip('export_select_form') ?>\n </th>\n <td>\n\n <select id=\"export_form\" name=\"export_form\" onchange=\"SelectExportForm(jQuery(this).val());\">\n <option value=\"\"><?php esc_html_e('Select a form', 'gravityforms'); ?></option>\n <?php\n $forms = RGFormsModel::get_forms(null, 'title');\n\n /**\n * Modify list of forms available to export entries from.\n *\n * @param array $forms Forms to display on Export Entries page.\n *\n * @since 2.4.7\n *\n */\n $forms = apply_filters('gform_export_entries_forms', $forms);\n\n foreach ($forms as $form) {\n ?>\n <option value=\"<?php echo absint($form->id) ?>\"><?php echo esc_html($form->title) ?></option>\n <?php\n }\n ?>\n </select>\n\n </td>\n </tr>\n <tr id=\"export_field_container\" valign=\"top\" style=\"display: none;\">\n <th scope=\"row\">\n <label for=\"export_fields\"><?php esc_html_e('Select Fields', 'gravityforms'); ?></label> <?php gform_tooltip('export_select_fields') ?>\n </th>\n <td>\n <ul id=\"export_field_list\">\n </ul>\n </td>\n </tr>\n <tr id=\"export_filter_container\" valign=\"top\" style=\"display: none;\">\n <th scope=\"row\">\n <label><?php esc_html_e('Conditional Logic', 'gravityforms'); ?></label> <?php gform_tooltip('export_conditional_logic') ?>\n </th>\n <td>\n <div id=\"export_filters\">\n <!--placeholder-->\n </div>\n\n </td>\n </tr>\n <tr id=\"export_date_container\" valign=\"top\" style=\"display: none;\">\n <th scope=\"row\">\n <label for=\"export_date\"><?php esc_html_e('Select Date Range', 'gravityforms'); ?></label> <?php gform_tooltip('export_date_range') ?>\n </th>\n <td>\n <div>\n <span style=\"width:150px; float:left; \">\n <input type=\"text\" id=\"export_date_start\" name=\"export_date_start\" style=\"width:90%\" />\n <strong><label for=\"export_date_start\" style=\"display:block;\"><?php esc_html_e('Start', 'gravityforms'); ?></label></strong>\n </span>\n\n <span style=\"width:150px; float:left;\">\n <input type=\"text\" id=\"export_date_end\" name=\"export_date_end\" style=\"width:90%\" />\n <strong><label for=\"export_date_end\" style=\"display:block;\"><?php esc_html_e('End', 'gravityforms'); ?></label></strong>\n </span>\n\n <div style=\"clear: both;\"></div>\n <?php esc_html_e('Date Range is optional, if no date range is selected all entries will be exported.', 'gravityforms'); ?>\n </div>\n </td>\n </tr>\n </table>\n <ul>\n <li id=\"export_submit_container\" style=\"display:none; clear:both;\">\n <br /><br />\n <button id=\"submit_button\" class=\"button button-large button-primary\"><?php esc_attr_e('Download Export File', 'gravityforms'); ?></button>\n <span id=\"please_wait_container\" style=\"display:none; margin-left:15px;\">\n <i class='gficon-gravityforms-spinner-icon gficon-spin'></i> <?php esc_html_e('Exporting entries. Progress:', 'gravityforms'); ?>\n\t <span id=\"progress_container\">0%</span>\n </span>\n </li>\n </ul>\n </form>\n\n <?php\n self::page_footer();\n }", "function template_module_defs_fiscal_js()\n{\n global $current_language;\n $mod_strings = return_module_language($current_language, 'Reports');\n\n // Prepare the arrays for json_encode()\n $fiscalSummaryArray = array(\n 'fiscalYear' => translate('LBL_FISCAL_YEAR'),\n 'fiscalQuarter' => translate('LBL_FISCAL_QUARTER')\n );\n $fiscalGroupingsArray = array(\n array(\n 'name' => 'fiscalYear',\n 'value' => $mod_strings['LBL_BY_FISCAL_YEAR']\n ),\n array(\n 'name' => 'fiscalQuarter',\n 'value' => $mod_strings['LBL_BY_FISCAL_QUARTER']\n )\n );\n $fiscalFiltersArray = array(\n array(\n 'name' => 'tp_previous_fiscal_year',\n 'value' => $mod_strings['LBL_PREVIOUS_FISCAL_YEAR']\n ),\n array(\n 'name' => 'tp_previous_fiscal_quarter',\n 'value' => $mod_strings['LBL_PREVIOUS_FISCAL_QUARTER']\n ),\n array(\n 'name' => 'tp_current_fiscal_year',\n 'value' => $mod_strings['LBL_CURRENT_FISCAL_YEAR']\n ),\n array(\n 'name' => 'tp_current_fiscal_quarter',\n 'value' => $mod_strings['LBL_CURRENT_FISCAL_QUARTER']\n ),\n array(\n 'name' => 'tp_next_fiscal_year',\n 'value' => $mod_strings['LBL_NEXT_FISCAL_YEAR']\n ),\n array(\n 'name' => 'tp_next_fiscal_quarter',\n 'value' => $mod_strings['LBL_NEXT_FISCAL_QUARTER']\n )\n );\n\n // Prepare JSON strings for HEREDOC\n $jsonFiscalSummaryArray = json_encode($fiscalSummaryArray);\n $jsonFiscalGroupingsArray = json_encode($fiscalGroupingsArray);\n $jsonFiscalFiltersArray = json_encode($fiscalFiltersArray);\n\n $return = <<<EOT\nvar fiscalSummary = {$jsonFiscalSummaryArray};\n// Add the fiscal group by defs to all modules with date type fields\nfor (module_name in module_defs) {\n for (field_name in module_defs[module_name].field_defs) {\n var field_def = module_defs[module_name].field_defs[field_name];\n var field_type = field_def.type;\n\n if (field_type == 'date' || field_type == 'datetime' || field_type == 'datetimecombo') {\n // Just loop over the fiscal group bys\n for (stype in fiscalSummary) {\n module_defs[module_name].group_by_field_defs[field_def.name + ':' + stype] = {\n name : field_def.name + ':' + stype,\n field_def_name : field_def.name,\n vname : fiscalSummary[stype] + ': ' + field_def.vname,\n column_function : stype,\n summary_type : 'column',\n field_type : field_type\n };\n }\n }\n }\n}\n\nvar fiscalGroupings = {$jsonFiscalGroupingsArray};\ndate_group_defs = date_group_defs.concat(fiscalGroupings);\n\nvar fiscalFilters = {$jsonFiscalFiltersArray};\nfilter_defs['date'] = filter_defs['date'].concat(fiscalFilters);\nfilter_defs['datetime'] = filter_defs['datetime'].concat(fiscalFilters);\nfilter_defs['datetimecombo'] = filter_defs['datetimecombo'].concat(fiscalFilters);\nEOT;\n\n echo $return;\n}", "function msl_admin_js_output () {\n\t?>\n\n\t<style type=\"text/css\">\n\n\t\t.card_style, .report-table-basic {\n\t\t\tbackground: #ffffff;\n\t\t\t-moz-box-shadow: 0 1px 1px #c8bec7;\n\t\t\t-webkit-box-shadow: 0 1px 1px #c8bec7;\n\t\t\tbox-shadow: 0 1px 1px #c8bec7;\n\t\t\tborder: 1px solid #ffffff;\n\t\t\ttext-decoration: none;\n\t\t\tbox-sizing: border-box;\n\t\t\tvertical-align: middle;\n\t\t\tborder-top-color: #f8f6f8;\n\t\t}\n\n\t\t.card_style:hover, .report-table-basic:hover {\n\t\t\tborder: 1px solid #4981bc;\n\t\t}\n\n\t\t.report-table-basic {\n\t\t\twidth: 100%;\n\t\t\tbackground: #ffffff;\n\t\t\tborder: none;\n\t\t\tborder-collapse: collapse;\n\t\t}\n\n\t\t.report-table-basic:hover {\n\t\t\tborder: none;\n\t\t}\n\n\t\t.report-table-basic td,\n\t\t.report-table-basic th {\n\t\t\tborder: none;\n\t\t\tpadding: 0.6em;\n\t\t}\n\n\t\t.report-table-basic th {\n\t\t\tfont-size: 1.1em;\n\t\t\tborder-bottom: 1px solid #dedcde;\n\t\t\ttext-align: left;\n\t\t}\n\n\t\t.report-table-basic tbody tr:hover {\n\t\t\tbackground: #e2ebf4;\n\t\t}\n\n\t\t.report-table-basic a .dashicons-no {\n\t\t\tcolor: red;\n\t\t\ttext-decoration: none;\n\t\t\tcursor: pointer;\n\t\t}\n\n\t</style>\n\n\t<script type=\"text/javascript\">\n\n\t\tvar mslRemoveTermUrl = '<?php echo admin_url( 'tools.php?page=missed-search-log&msl-nonce=' .\n\t\t\t\twp_create_nonce( 'msl-missed-search-nonce' ).'&msl-search-term=' ); ?>';\n\n\t\t//\n\t\t// Search term removal\n\t\t//\n\n\t\t// Confirm single term removal\n\n\t\tjQuery('#wpbody').on('click', '.js-confirm-removal', function (e) {\n\n\t\t\tif (jQuery(this).hasClass('button-disabled')) {\n\t\t\t\te.preventDefault();\n\t\t\t\talert('Please choose at least one search term');\n\t\t\t\treturn false;\n\t\t\t} else {\n\t\t\t\treturn window.confirm('Remove search term(s)?');\n\t\t\t}\n\t\t});\n\n\t\t// Turn the bulk remove button on or off\n\n\t\tvar removeBtns = jQuery('a.js-msl-bulk-remove-search');\n\n\t\tprepareBulkTermRemove();\n\n\t\tjQuery('input[name=msl-bulk-remove-search]').change(function () {\n\t\t\tprepareBulkTermRemove();\n\t\t});\n\n\t\tfunction prepareBulkTermRemove() {\n\t\t\tvar btnEnabled = false;\n\t\t\tvar removeTerms = [];\n\n\t\t\tjQuery('input[name=msl-bulk-remove-search]').each(function (index) {\n\n\t\t\t\tvar $el = jQuery(this);\n\n\t\t\t\tif ($el.prop('checked')) {\n\t\t\t\t\tbtnEnabled = true;\n\t\t\t\t\tremoveTerms.push($el.attr('data-term-rank'));\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tif (btnEnabled) {\n\n\t\t\t\tremoveBtns.each(function (index) {\n\t\t\t\t\tjQuery(this)\n\t\t\t\t\t\t.removeClass('button-disabled')\n\t\t\t\t\t\t.attr('href', mslRemoveTermUrl + removeTerms.toString())\n\t\t\t\t});\n\t\t\t} else {\n\n\t\t\t\tremoveBtns.each(function (index) {\n\t\t\t\t\tjQuery(this)\n\t\t\t\t\t\t.addClass('button-disabled')\n\t\t\t\t\t\t.removeAttr('href');\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t</script>\n\n\t<?php\n}", "protected function _getEndJs()\n\t{\n\t\t$js = parent::_getEndJs();\n\t\t$js .= 'pageJs.setResultDiv(\"resultDiv\")';\n\t\t\t$js .= '.setTotalUserCountDiv(\"totalUsers\")';\r\n\t\t\t$js .= '.setCallbackId(\"getUsers\", \"' . $this->getUsersBtn->getUniqueId() . '\")';\r\n\t\t\t$js .= '.setCallbackId(\"deleteUser\", \"' . $this->deleteUserBtn->getUniqueId() . '\")';\r\n\t\t\t$js .= '.setCallbackId(\"getRoles\", \"' . $this->getRolesBtn->getUniqueId() . '\")';\r\n\t\t\t$js .= '.getUsers($(\"searchBtn\"), true);';\n\t\treturn $js;\n\t}", "public function fetchAllHeaderJS()\n {\n parent::fetchAllHeaderJS();\n Services::formLayout()->fetchAllHeaderJS();\n }", "protected function _getEndJs()\r\n\t{\r\n\t\t$js = parent::_getEndJs();\r\n\t\t$types = array();\r\n\t\tforeach(AccountType::getAll() as $a)\r\n\t\t\t$types[] = $a->getJson();;\r\n\t\t$js .= 'pageJs.setCallbackId(\"getAccounts\", \"' . $this->getAccountsBtn->getUniqueID() . '\")';\r\n\t\t$js .= '.setCallbackId(\"deleteAccount\", \"' . $this->deleteAccountBtn->getUniqueID() . '\")';\r\n\t\t$js .= '.init(\"page-wrapper\", ' . json_encode($types);\r\n\t\tif(isset($_REQUEST['typeid']) && ($firstShowAccType = AccountType::get($_REQUEST['typeid'])) instanceof AccountType)\r\n\t\t\t$js .= ', ' . json_encode($firstShowAccType->getJson());\r\n\t\t$js .= ');';\r\n\t\treturn $js;\r\n\t}", "public function getChainJqueryValuesHTMLReport(){\r\n\t\t// the parameter delimiter\r\n\t\t$delimiter = Utility_Functions::parDelimiter();\r\n\t\r\n\t\t// the html container\r\n\t\t$htmlContainer = \" \\\"{$delimiter}filterSubmit:true\\\"\";\r\n\t\t$htmlContainer .=\" + \\\"{$delimiter}filterSubmitHTMLReport:true\\\"\";\r\n\t\t// for every filter\r\n\t\tforeach($this->getFilters() as $chainIndex => $filter){\r\n\t\t\t// get the object\r\n\t\t\t$filter = $filter['obj'];\r\n\t\t\t// create the jquery script\r\n\t\t\t$htmlContainer .= \" + \\\"$delimiter{$filter->getName()}:\\\" + $(\\\"#{$filter->getName()}\\\").val()\";\r\n\t\t\t\t\r\n\t\t}\r\n\t\r\n\t\treturn $htmlContainer ;\r\n\t}", "function wpyes_custom_page_content_print_footer_js() {\n\t\t?>\n\t\t<script>\n\t\tvar ctx = document.getElementById('myChart').getContext('2d');\n\t\tvar chart = new Chart(ctx, {\n\t\t\t// The type of chart we want to create\n\t\t\ttype: 'line', // also try bar or other graph types\n\n\t\t\t// The data for our dataset\n\t\t\tdata: {\n\t\t\t\tlabels: [\"Jun 2016\", \"Jul 2016\", \"Aug 2016\", \"Sep 2016\", \"Oct 2016\", \"Nov 2016\", \"Dec 2016\", \"Jan 2017\", \"Feb 2017\", \"Mar 2017\", \"Apr 2017\", \"May 2017\"],\n\t\t\t\t// Information about the dataset\n\t\t\tdatasets: [{\n\t\t\t\t\tlabel: \"Rainfall\",\n\t\t\t\t\tbackgroundColor: 'lightblue',\n\t\t\t\t\tborderColor: 'royalblue',\n\t\t\t\t\tdata: [26.4, 39.8, 66.8, 66.4, 40.6, 55.2, 77.4, 69.8, 57.8, 76, 110.8, 142.6],\n\t\t\t\t}]\n\t\t\t},\n\n\t\t\t// Configuration options\n\t\t\toptions: {\n\t\t\tlayout: {\n\t\t\tpadding: 10,\n\t\t\t},\n\t\t\t\tlegend: {\n\t\t\t\t\tposition: 'bottom',\n\t\t\t\t},\n\t\t\t\ttitle: {\n\t\t\t\t\tdisplay: true,\n\t\t\t\t\ttext: 'Precipitation in Toronto'\n\t\t\t\t},\n\t\t\t\tscales: {\n\t\t\t\t\tyAxes: [{\n\t\t\t\t\t\tscaleLabel: {\n\t\t\t\t\t\t\tdisplay: true,\n\t\t\t\t\t\t\tlabelString: 'Precipitation in mm'\n\t\t\t\t\t\t}\n\t\t\t\t\t}],\n\t\t\t\t\txAxes: [{\n\t\t\t\t\t\tscaleLabel: {\n\t\t\t\t\t\t\tdisplay: true,\n\t\t\t\t\t\t\tlabelString: 'Month of the Year'\n\t\t\t\t\t\t}\n\t\t\t\t\t}]\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t</script>\n\t<?php\n\t}", "function setJavascriptVariables($out) {\n\t\t$da = new WTDashboardAnalyze();\n\t\t$da->analyis();\t\t\n\t\t$out->addHTML(\"<script>\\n var dashboard = \".json_encode($da->toJson()).\"; \\n</script>\");\n\t}", "public function run()\n {\n $this->view->registerJs(RESOURCES_DIR . '/js/gridView.js');\n\n return self::getTable() . $this->pagination->run();\n }", "function displayPage()\n {\n $displayGroupIds = $this->session->get('displayGroupIds');\n\n if (!is_array($displayGroupIds)) {\n $displayGroupIds = [];\n }\n\n $displayGroups = [];\n\n // Boolean to check if the option show all was saved in session\n $displayGroupsShowAll = false;\n\n if (count($displayGroupIds) > 0) {\n foreach ($displayGroupIds as $displayGroupId) {\n if ($displayGroupId == -1) {\n // If we have the show all option selected, go no further.\n $displayGroupsShowAll = true;\n break;\n }\n\n try {\n $displayGroup = $this->displayGroupFactory->getById($displayGroupId);\n\n if ($this->getUser()->checkViewable($displayGroup)) {\n $displayGroups[] = $displayGroup;\n }\n } catch (NotFoundException $e) {\n $this->getLog()->debug('Saved filter option for displayGroupId that no longer exists.');\n }\n }\n }\n\n $data = [\n 'displayGroupIds' => $displayGroupIds,\n 'displayGroups' => $displayGroups,\n 'displayGroupsShowAll' => $displayGroupsShowAll\n ];\n\n // Render the Theme and output\n $this->getState()->template = 'schedule-page';\n $this->getState()->setData($data);\n }", "public function FilterAjaxPage()\n\t{\n\t\treturn $this->renderAjaxFilterResponse($this->listQry); //listQry will be used only if available\n\t}", "public function output_report() {\n\t\tinclude( plugin_dir_path( WC_Subscriptions::$plugin_file ) . '/includes/admin/views/html-report-by-period.php' );\n\t}", "function seo_friend_main_report() {\n _seo_friend_add_admin_css();\n $report_list = module_invoke_all('seo_reports');\n asort($report_list);\n $output = '<strong>'.t('SEO Reports').'</strong>';\n $output .= '<ul>';\n foreach ($report_list as $report => $report_data) {\n if ($report) {\n $title = $report_data['title'] ? $report_data['title'] : $report.' Report'; \n $output .= '<li>'.l($title,'admin/reports/seo/'.$report).'</li>';\n }\n }\n $output .= '</ul>';\n\n // notify if more reports should be added\n $output .= '<p><strong>'.t('Add More SEO Reports').'</strong><br/>';\n $output .= t('If you would like additional SEO reports added, please \n log an issue at the drupal.org project page or email me at !email. If you \n have custom SEO reports that you want to show up here, you can implement \n the hook_seo_reports function.',\n array('!email' => '<a href=\"mailto:[email protected]\">[email protected]</a>')).'</p>';\n\n // list of seo-related modules that have been or could be installed\n $output .= '<strong>'.t('SEO-Related Modules').'</strong>';\n $seo_modules = module_invoke_all('seo_modules');\n ksort($seo_modules);\n $rows = array();\n foreach ($seo_modules as $module => $module_data) {\n if (module_exists($module)) {\n $msg = t('This module is installed.');\n $class = 'ok';\n }\n else {\n $msg = seo_friend_module_not_found($module);\n if ($module_data['uninstalled_error']) {\n $msg .= ' <b>'.t('Note').'</b>: '.$module_data['uninstalled_error'];\n $class = 'error';\n }\n else {\n $class = 'warning';\n }\n }\n $project_page = seo_friend_get_project_page_link($module);\n $rows[] = array(\n 'class' => $class,\n 'data' => array(array('data' => $module, 'class' => 'row-status'), $module_data['description'], $msg, $project_page),\n );\n }\n $output .= theme('table', array(t('Module'), t('Description'), t('Status'), t('Project Page')), $rows, array('class' => 'system-status-report seo-friend-admin'));\n\n // notify if more modules should be added\n $output .= '<p><strong>'.t('Add More SEO-Related Modules').'</strong><br/>';\n $output .= t('If you know of other SEO-related modules that should be\n permanently added to this list, please log an issue at the drupal.org\n project page or email me at !email. If you have custom modules that you\n want to show up here, you can implement the hook_seo_modules function.',\n array('!email' => '<a href=\"mailto:[email protected]\">[email protected]</a>')).'</p>';\n\n return $output;\n}", "public static function dashboard() {\n\t\t$GLOBALS['lc_groups_query'] = c2c_LastContacted::get_groups();\n\t\tload_template( c2c_LastContacted::get_template_path( 'groups.php' ) );\n\t}" ]
[ "0.6600949", "0.65983015", "0.6190873", "0.610289", "0.6012869", "0.5928126", "0.59165555", "0.5843919", "0.5775967", "0.5769993", "0.57654625", "0.57024235", "0.56800175", "0.56794137", "0.5679059", "0.56600195", "0.56429476", "0.5640404", "0.56299645", "0.5618031", "0.56037647", "0.55979156", "0.55696106", "0.5568902", "0.5563817", "0.5543333", "0.55430555", "0.5521626", "0.5518914", "0.5518876" ]
0.7763584
0
Creates a custom UI for filtering things in the reports page
public function _add_report_filter_ui() { if (isset($_GET['sgid']) AND !is_array($_GET['sgid']) AND intval($_GET['sgid']) >= 0) { $group = ORM::factory("simplegroups_groups")->where("id", $_GET['sgid'])->find(); $view = new View('simplegroups/report_filter_ui'); $view->group_name = $group->name; $view->group_id = $group->id; //now the categories $categories = ORM::factory('simplegroups_category') ->where('parent_id', '0') ->where('applies_to_report', 1) ->where('category_visible', 1) ->where('simplegroups_groups_id', $group->id) ->orderby('category_title', 'ASC') ->find_all(); $view->group_categories = $categories; $view->selected_group_categories = $this->_get_group_categories(); $view->render(true); } else { //get a list of groups $groups = ORM::factory("simplegroups_groups")->find_all(); $view = new View('simplegroups/report_filter_ui_g'); $view->groups = $groups; $view->render(true); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function renderFilters(){\r\n\t\t$htmlContainer = \"\";\r\n\t\t\r\n\t\t$greaterThan = array_keys($this->getFilters());\r\n\t\t\r\n\t\t$smallerThan = array();\r\n\t\t\r\n\t\tforeach($this->getFilters() as $chainIndex => $filter){\r\n\t\t\t\r\n\t\t\t// get the object \r\n\t\t\t$filter = $filter['obj'];\r\n\t\t\t\r\n\t\t\t// shift the first element out of the array\r\n\t\t\t$element = array_shift($greaterThan);\t\t\r\n\t\t\t\r\n\t\t\t// higher hirearchy filters (include as parameters)\r\n\t\t\tforeach($smallerThan as $key => $chain){\r\n\t\t\t\t$filterObj = $this->getFilterByIndex($chain);\r\n\t\t\t\t//add parameters\r\n\t\t\t\t$filter->addParameter(\"\\\"{$filterObj->getName()}:\\\" + $(\\\"#{$filterObj->getName()}\\\").val()\");\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// depending filters (empty on change)\r\n\t\t\tforeach($greaterThan as $key => $chain){\r\n\t\t\t\t$filterObj = $this->getFilterByIndex($chain);\r\n\t\t\t\t//same chain, depended autocomplete object\t\r\n\t\t\t\tif ($filterObj->isDependent)\t\r\n\t\t\t\t\t$filter->setOnChangeMethod(\"$(\\\"#{$filterObj->getName()}\\\").val('{$filterObj->getDefaultText()}');\");\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// push element into the $smallerThan stack\r\n\t\t\tarray_push($smallerThan, $element);\t\r\n\t\t\t\r\n\t\t\t$htmlContainer .= $filter->render();\r\n\t\t\t/*\r\n\t\t\t\r\n\t\t\t$object->setOnChangeMethod(\"$(\\\"#reportTypeContainer\\\").hide();\");\r\n\t\t\t$object->setOnChangeMethod(\"$(\\\"#reportContent\\\").hide();\");\r\n\t\t\t*/\r\n\t\t}\r\n\t\t\r\n\t\treturn $htmlContainer.$this->theFilterButton().$this->theFilterHTMLReportButton().$this->theResetButton(\"\");\r\n\t}", "function ShowFilterList() {\n\n\t// Initialize\n\t$sFilterList = \"\";\n\n\t// Field date\n\t$sExtWrk = \"\";\n\t$sWrk = \"\";\n\tif (is_array($GLOBALS[\"sel_date\"]))\n\t\t$sWrk = ewrpt_JoinArray($GLOBALS[\"sel_date\"], \", \", EW_REPORT_DATATYPE_DATE);\n\tif ($sExtWrk <> \"\" || $sWrk <> \"\")\n\t\t$sFilterList .= \"Date<br />\";\n\tif ($sExtWrk <> \"\")\n\t\t$sFilterList .= \"&nbsp;&nbsp;$sExtWrk<br />\";\n\tif ($sWrk <> \"\")\n\t\t$sFilterList .= \"&nbsp;&nbsp;$sWrk<br />\";\n\n\t// Field unit\n\t$sExtWrk = \"\";\n\t$sWrk = \"\";\n\tif (is_array($GLOBALS[\"sel_unit\"]))\n\t\t$sWrk = ewrpt_JoinArray($GLOBALS[\"sel_unit\"], \", \", EW_REPORT_DATATYPE_STRING);\n\tif ($sExtWrk <> \"\" || $sWrk <> \"\")\n\t\t$sFilterList .= \"Unit<br />\";\n\tif ($sExtWrk <> \"\")\n\t\t$sFilterList .= \"&nbsp;&nbsp;$sExtWrk<br />\";\n\tif ($sWrk <> \"\")\n\t\t$sFilterList .= \"&nbsp;&nbsp;$sWrk<br />\";\n\n\t// Field fromtype\n\t$sExtWrk = \"\";\n\t$sWrk = \"\";\n\tif (is_array($GLOBALS[\"sel_fromtype\"]))\n\t\t$sWrk = ewrpt_JoinArray($GLOBALS[\"sel_fromtype\"], \", \", EW_REPORT_DATATYPE_STRING);\n\tif ($sExtWrk <> \"\" || $sWrk <> \"\")\n\t\t$sFilterList .= \"Fromtype<br />\";\n\tif ($sExtWrk <> \"\")\n\t\t$sFilterList .= \"&nbsp;&nbsp;$sExtWrk<br />\";\n\tif ($sWrk <> \"\")\n\t\t$sFilterList .= \"&nbsp;&nbsp;$sWrk<br />\";\n\n\t// Field category\n\t$sExtWrk = \"\";\n\t$sWrk = \"\";\n\tif (is_array($GLOBALS[\"sel_category\"]))\n\t\t$sWrk = ewrpt_JoinArray($GLOBALS[\"sel_category\"], \", \", EW_REPORT_DATATYPE_STRING);\n\tif ($sExtWrk <> \"\" || $sWrk <> \"\")\n\t\t$sFilterList .= \"Category<br />\";\n\tif ($sExtWrk <> \"\")\n\t\t$sFilterList .= \"&nbsp;&nbsp;$sExtWrk<br />\";\n\tif ($sWrk <> \"\")\n\t\t$sFilterList .= \"&nbsp;&nbsp;$sWrk<br />\";\n\n\t// Field tocode\n\t$sExtWrk = \"\";\n\t$sWrk = \"\";\n\tif (is_array($GLOBALS[\"sel_tocode\"]))\n\t\t$sWrk = ewrpt_JoinArray($GLOBALS[\"sel_tocode\"], \", \", EW_REPORT_DATATYPE_STRING);\n\tif ($sExtWrk <> \"\" || $sWrk <> \"\")\n\t\t$sFilterList .= \"Tocode<br />\";\n\tif ($sExtWrk <> \"\")\n\t\t$sFilterList .= \"&nbsp;&nbsp;$sExtWrk<br />\";\n\tif ($sWrk <> \"\")\n\t\t$sFilterList .= \"&nbsp;&nbsp;$sWrk<br />\";\n\n\t// Field todescription\n\t$sExtWrk = \"\";\n\t$sWrk = \"\";\n\tif (is_array($GLOBALS[\"sel_todescription\"]))\n\t\t$sWrk = ewrpt_JoinArray($GLOBALS[\"sel_todescription\"], \", \", EW_REPORT_DATATYPE_STRING);\n\tif ($sExtWrk <> \"\" || $sWrk <> \"\")\n\t\t$sFilterList .= \"Todescription<br />\";\n\tif ($sExtWrk <> \"\")\n\t\t$sFilterList .= \"&nbsp;&nbsp;$sExtWrk<br />\";\n\tif ($sWrk <> \"\")\n\t\t$sFilterList .= \"&nbsp;&nbsp;$sWrk<br />\";\n\n\t// Show Filters\n\tif ($sFilterList <> \"\")\n\t\techo \"CURRENT FILTERS:<br />$sFilterList\";\n}", "function template_reports_filters(&$args)\n{\n?>\n<input type=hidden name='filters_def' value =\"\">\n<table id='filters_top'>\n<tbody id='filters'>\n\n</table>\n<table width=\"100%\">\n<tr>\n<td align=center>\n<input class=button type=button onClick='addFilter()' name='Add Filter' value='Add Filter'>\n</td>\n</tr>\n</table>\n\n<?php\n}", "function getFilterDialog() {\n $this->initializeFilterDialog();\n $this->layout->add($this->filterDialog->getDialogXML());\n }", "private function buildSearchForm() {\n\t\tglobal $wgScript;\n\t\t$fieldset = new OOUI\\FieldsetLayout([\n\t\t\t'label' => $this->msg('tilesheet-tile-manager-filter-legend')->text(),\n\t\t\t'items' => [\n\t\t\t\tnew OOUI\\FieldLayout(\n\t\t\t\t\tnew OOUI\\TextInputWidget([\n\t\t\t\t\t\t'type' => 'number',\n\t\t\t\t\t\t'name' => 'id',\n\t\t\t\t\t\t'value' => '',\n\t\t\t\t\t\t'min' => '1',\n\t\t\t\t\t\t'id' => 'form-entry-id',\n\t\t\t\t\t\t'icon' => 'search'\n\t\t\t\t\t]),\n\t\t\t\t\t['label' => $this->msg('tilesheet-tile-manager-filter-id')->text()]\n\t\t\t\t),\n\t\t\t\tnew OOUI\\ButtonInputWidget([\n\t\t\t\t\t'label' => $this->msg('tilesheet-tile-manager-filter-submit')->text(),\n\t\t\t\t\t'type' => 'submit'\n\t\t\t\t])\n\t\t\t]\n\t\t]);\n\t\t$form = new OOUI\\FormLayout([\n\t\t\t'method' => 'GET',\n\t\t\t'action' => $wgScript,\n\t\t\t'id' => 'ext-tilesheet-tile-manager-filter'\n\t\t]);\n\t\t$form->appendContent(\n\t\t\t$fieldset,\n\t\t\tnew OOUI\\HtmlSnippet(Html::hidden('title', $this->getPageTitle()->getPrefixedText()))\n\t\t);\n\t\treturn new OOUI\\PanelLayout([\n\t\t\t'classes' => ['tile-manager-filter-wrapper'],\n\t\t\t'framed' => true,\n\t\t\t'expanded' => false,\n\t\t\t'padded' => true,\n\t\t\t'content' => $form\n\t\t]);\n\t}", "protected function setupFiltersForm() {\n\t\tif(!$this->settings['filtersOn']){\n\t\t\treturn;\n\t\t}\n\t\t// Parse flexform settings\n\t\t$filterSettings = explode(',', $this->settings['filtersArray']);\n\t\tforeach($filterSettings as $filter){\n\t\t\t$filters[$filter] = true;\n\t\t}\n\n\t\t$this->view->assign('filters', $filters);\n\t\t$this->view->assign('categories', $this->categoryRepository->findAll());\n\t\t$this->view->assign('localities', $this->localityRepository->findAll());\n\t\t$this->view->assign('types', $this->typeRepository->findAll());\n\t\t$this->view->assign('ranges', $this->determineRanges());\n\n\t}", "private function composeSearchFilterForm()\n {\n View::composer(\n\n 'admin.partials._filter',\n\n function($view)\n {\n $view->with('statuses', ListHelper::order_statuses());\n $view->with('payments', ListHelper::payment_statuses());\n }\n );\n }", "public function loadFilterBarPanel() {\r\n\t\t$actors = $this->model->selectAllActors();\r\n\t\t$directors = $this->model->selectAllDirectors();\r\n\t\t$genres = $this->model->selectAllGenres();\r\n $classifications = $this->model->selectAllClassifications();\r\n\t\tif (($actors != null) && ($directors != null) && ($genres != null) && ($classifications != null)) {\r\n\t\t\t$this->view->filterBarPanel($actors, $directors, $genres, $classifications);\r\n\t\t}\r\n\t\telse {\r\n\t\t\t$error = $this->model->getError();\r\n\t\t\tif (!empty($error))\r\n\t\t\t\t$this->view->showError($error);\r\n\t\t}\r\n\t}", "function user_filter_form() {\n $session = &$_SESSION['user_overview_filter'];\n $session = is_array($session) ? $session : array();\n $filters = user_filters();\n\n $i = 0;\n $form['filters'] = array(\n '#type' => 'fieldset',\n '#title' => t('Show only users where'),\n '#theme' => 'user_filters',\n );\n foreach ($session as $filter) {\n list($type, $value) = $filter;\n // Merge an array of arrays into one if necessary.\n $options = $type == 'permission' ? call_user_func_array('array_merge', $filters[$type]['options']) : $filters[$type]['options'];\n $params = array('%property' => $filters[$type]['title'] , '%value' => $options[$value]);\n if ($i++ > 0) {\n $form['filters']['current'][] = array('#value' => t('<em>and</em> where <strong>%property</strong> is <strong>%value</strong>', $params));\n }\n else {\n $form['filters']['current'][] = array('#value' => t('<strong>%property</strong> is <strong>%value</strong>', $params));\n }\n }\n\n foreach ($filters as $key => $filter) {\n $names[$key] = $filter['title'];\n $form['filters']['status'][$key] = array(\n '#type' => 'select',\n '#options' => $filter['options'],\n );\n }\n\n $form['filters']['filter'] = array(\n '#type' => 'radios',\n '#options' => $names,\n );\n $form['filters']['buttons']['submit'] = array(\n '#type' => 'submit',\n '#value' => (count($session) ? t('Refine') : t('Filter')),\n );\n if (count($session)) {\n $form['filters']['buttons']['undo'] = array(\n '#type' => 'submit',\n '#value' => t('Undo'),\n );\n $form['filters']['buttons']['reset'] = array(\n '#type' => 'submit',\n '#value' => t('Reset'),\n );\n }\n\n drupal_add_js('misc/form.js', 'core');\n\n return $form;\n}", "protected function buildFilters() {\n\t\t// filter to be displayed as link\n\t\t$filterLabels = [];\n\t\tforeach ( [ 'featured', 'unreviewed' ] as $filter ) {\n\t\t\t$count = ArticleFeedbackv5Model::getCount( $filter, $this->pageId );\n\n\t\t\t// Give grep a chance to find the usages:\n\t\t\t// articlefeedbackv5-special-filter-featured, articlefeedbackv5-special-filter-unreviewed\n\t\t\t$filterLabels[$filter] =\n\t\t\t\tHtml::rawElement(\n\t\t\t\t\t'a',\n\t\t\t\t\t[\n\t\t\t\t\t\t'href' => '#',\n\t\t\t\t\t\t'id' => \"articleFeedbackv5-special-filter-$filter\",\n\t\t\t\t\t\t'class' => 'articleFeedbackv5-filter-link' . ( $this->startingFilter == $filter ? ' filter-active' : '' )\n\t\t\t\t\t],\n\t\t\t\t\t$this->msg( \"articlefeedbackv5-special-filter-$filter\" )\n\t\t\t\t\t\t->numParams( $count )\n\t\t\t\t\t\t->escaped()\n\t\t\t\t);\n\t\t}\n\n\t\t// filters to be displayed in dropdown (only for editors)\n\t\t$filterSelectHtml = '';\n\t\tif ( $this->isAllowed( 'aft-editor' ) ) {\n\t\t\t$opts = [];\n\n\t\t\t// Give grep a chance to find the usages:\n\t\t\t// articlefeedbackv5-special-filter-featured, rticlefeedbackv5-special-filter-unreviewed,\n\t\t\t// articlefeedbackv5-special-filter-helpful, articlefeedbackv5-special-filter-unhelpful,\n\t\t\t// articlefeedbackv5-special-filter-flagged, articlefeedbackv5-special-filter-useful,\n\t\t\t// articlefeedbackv5-special-filter-resolved, articlefeedbackv5-special-filter-noaction,\n\t\t\t// articlefeedbackv5-special-filter-inappropriate, articlefeedbackv5-special-filter-archived,\n\t\t\t// articlefeedbackv5-special-filter-allcomment, articlefeedbackv5-special-filter-hidden,\n\t\t\t// articlefeedbackv5-special-filter-requested, articlefeedbackv5-special-filter-declined,\n\t\t\t// articlefeedbackv5-special-filter-oversighted,\n\t\t\t// articlefeedbackv5-special-filter-all\n\t\t\tforeach ( $this->filters as $filter ) {\n\t\t\t\tif ( isset( $filterLabels[$filter] ) ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t$count = ArticleFeedbackv5Model::getCount( $filter, $this->pageId );\n\n\t\t\t\t$key = $this->msg( \"articlefeedbackv5-special-filter-$filter\" )\n\t\t\t\t\t\t->numParams( $count )\n\t\t\t\t\t\t->text();\n\t\t\t\t$opts[(string)$key] = $filter;\n\t\t\t}\n\n\t\t\tif ( count( $opts ) > 0 ) {\n\t\t\t\t// Put the \"more filters\" option at the beginning of the opts array\n\t\t\t\t$opts = [ $this->msg( 'articlefeedbackv5-special-filter-select-more' )->text() => '' ] + $opts;\n\n\t\t\t\t$filterSelect = new XmlSelect( false, 'articleFeedbackv5-filter-select' );\n\t\t\t\t$filterSelect->setDefault( $this->startingFilter );\n\t\t\t\t$filterSelect->addOptions( $opts );\n\t\t\t\t$filterSelectHtml = $filterSelect->getHTML();\n\t\t\t}\n\t\t}\n\n\t\treturn Html::rawElement(\n\t\t\t\t'div',\n\t\t\t\t[ 'id' => 'articleFeedbackv5-filter' ],\n\t\t\t\timplode( ' ', $filterLabels ) .\n\t\t\t\tHtml::rawElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t[ 'id' => 'articleFeedbackv5-select-wrapper' ],\n\t\t\t\t\t$filterSelectHtml\n\t\t\t\t)\n\t\t\t);\n\t}", "protected function getFilter()\n\t{\n\t\t$valide = array('yes', 'true', '1');\n\n\t\t// Initialize some field(s) attributes.\n\t\t$size = $this->element['size'] ? ' size=\"' . (int) $this->element['size'] . '\"' : '';\n\t\t$maxLength = $this->element['maxlength'] ? ' maxlength=\"' . (int) $this->element['maxlength'] . '\"' : '';\n\t\t$filterclass = $this->element['filterclass'] ? ' class=\"' . (string) $this->element['filterclass'] . '\"' : '';\n\t\t$placeholder = $this->element['placeholder'] ? $this->element['placeholder'] : $this->getLabel();\n\t\t$name = $this->element['searchfieldname'] ? $this->element['searchfieldname'] : $this->name;\n\t\t$placeholder = ' placeholder=\"' . JText::_($placeholder) . '\"';\n\n\t\t$single = in_array($this->element['single'], $valide) ? true : false;\n\t\t$showMethod = in_array($this->element['showmethod'], $valide) ? true : false;\n\t\t$method = $this->element['method'] ? $this->element['method'] : 'between';\n\t\t$fromName = $this->element['fromname'] ? $this->element['fromname'] : 'from';\n\t\t$toName = $this->element['toname'] ? $this->element['toname'] : 'to';\n\n\t\t$values = $this->form->getModel()->getState($name);\n\t\t$fromValue = $values[$fromName];\n\t\t$toValue = $values[$toName];\n\n\t\t// Initialize JavaScript field attributes.\n\t\tif ($this->element['onchange'])\n\t\t{\n\t\t\t$onchange = ' onchange=\"' . (string) $this->element['onchange'] . '\"';\n\t\t}\n\t\telse\n\t\t{\n\t\t\t$onchange = ' onchange=\"document.adminForm.submit();\"';\n\t\t}\n\n\t\tif ($showMethod)\n\t\t{\n\t\t\t$html = '<input type=\"text\" name=\"' . $name . '[method]\" value=\"'. $method . '\" />';\n\t\t} else\n\t\t{\n\t\t\t$html = '<input type=\"hidden\" name=\"' . $name . '[method]\" value=\"'. $method . '\" />';\n\t\t}\n\n\t\t$html .= '<input type=\"text\" name=\"' . $name . '[from]\" id=\"' . $this->id . '_' . $fromName . '\"' . ' value=\"'\n\t\t\t\t. htmlspecialchars($fromValue, ENT_COMPAT, 'UTF-8') . '\"' . $filterclass . $size . $placeholder . $onchange . $maxLength . '/>';\n\n\t\tif (!$single)\n\t\t{\n\t\t\t$html .= '<input type=\"text\" name=\"' . $name . '[to]\" id=\"' . $this->id . '_' . $toName . '\"' . ' value=\"'\n\t\t\t\t. htmlspecialchars($toValue, ENT_COMPAT, 'UTF-8') . '\"' . $filterclass . $size . $placeholder . $onchange . $maxLength . '/>';\n\t\t}\n\n\t\treturn $html;\n\t}", "public static function getBackendFilters() {\n $pseudoFilters = '';\n\n $pseudoFilters .= self::getAdminOrgFilter();\n\n //Filter dates\n $pseudoFilters .= '<hr class=\"hr-condensed\">';\n $pseudoFilters .= JHTML::_('select.genericlist', self::getDateFilterList(), 'filter-date', ' onchange=\"dateFiltersChanged();\"');\n //$pseudoFilters .= '<hr class=\"hr-condensed\">';\n //Get custom date filters\n $pseudoFilters .= '<div class=\"sdi-dashboard-custom-dates\" style=\"display:none\">';\n\n $pseudoFilters .= self::getCustomDateFilterFrom();\n $pseudoFilters .= '<br/>';\n\n $pseudoFilters .= self::getCustomDateFilterTo();\n $pseudoFilters .= '</div>';\n\n //Change calendar electric feature to false\n $document = JFactory::getDocument();\n $document->addScriptDeclaration('\n jQuery(document).ready(function(){\n jQuery(\"#sdi-dashboard-custom-from_img\").click(function() {\n calendar.params.electric = false;\n });\n jQuery(\"#sdi-dashboard-custom-to_img\").click(function() {\n calendar.params.electric = false;\n });\n });');\n\n\n return(\n '<hr>\n <div class=\"filter-select hidden-phone\">\n\t\t\t<h4 class=\"page-header\">' . JText::_('JSEARCH_FILTER_LABEL') . '</h4>' .\n $pseudoFilters\n . '</div>'\n );\n }", "public function advanced_filters() {\n\t\t$start_date = isset( $_GET['start-date'] ) ? strtotime( give_clean( $_GET['start-date'] ) ) : '';\n\t\t$end_date = isset( $_GET['end-date'] ) ? strtotime( give_clean( $_GET['end-date'] ) ) : '';\n\t\t$status = isset( $_GET['status'] ) ? give_clean( $_GET['status'] ) : '';\n\t\t$donor = isset( $_GET['donor'] ) ? absint( $_GET['donor'] ) : '';\n\t\t$search = $this->get_search();\n\t\t$form_id = ! empty( $_GET['form_id'] ) ? absint( $_GET['form_id'] ) : 0;\n\t\t?>\n\t\t<div id=\"give-donor-filters\" class=\"give-filters\">\n\t\t\t<div class=\"give-donor-search-box\">\n\t\t\t\t<input type=\"text\" id=\"give-donors-search-input\" placeholder=\"<?php _e( 'Name, Email, or Donor ID', 'give' ); ?>\" name=\"s\" value=\"<?php echo $search; ?>\">\n\t\t\t\t<?php submit_button( __( 'Search', 'give' ), 'button', false, false, array(\n\t\t\t\t\t'ID' => 'donor-search-submit',\n\t\t\t\t) ); ?>\n\t\t\t</div>\n\t\t\t<div class=\"give-filter give-filter-half\">\n\t\t\t\t<label for=\"start-date\"\n\t\t\t\t class=\"give-start-date-label\"><?php _e( 'Start Date', 'give' ); ?></label>\n\t\t\t\t<input type=\"text\"\n\t\t\t\t id=\"start-date\"\n\t\t\t\t name=\"start-date\"\n\t\t\t\t class=\"give_datepicker\"\n\t\t\t\t autocomplete=\"off\"\n\t\t\t\t value=\"<?php echo $start_date ? date_i18n( give_date_format(), $start_date ) : ''; ?>\"\n\t\t\t\t data-standard-date=\"<?php echo $start_date ? date( 'Y-m-d', $start_date ) : $start_date; ?>\"\n\t\t\t\t placeholder=\"<?php _e( 'Start Date', 'give' ); ?>\"\n\t\t\t\t/>\n\t\t\t</div>\n\t\t\t<div class=\"give-filter give-filter-half\">\n\t\t\t\t<label for=\"end-date\" class=\"give-end-date-label\"><?php _e( 'End Date', 'give' ); ?></label>\n\t\t\t\t<input type=\"text\"\n\t\t\t\t id=\"end-date\"\n\t\t\t\t name=\"end-date\"\n\t\t\t\t class=\"give_datepicker\"\n\t\t\t\t autocomplete=\"off\"\n\t\t\t\t value=\"<?php echo $end_date ? date_i18n( give_date_format(), $end_date ) : ''; ?>\"\n\t\t\t\t data-standard-date=\"<?php echo $end_date ? date( 'Y-m-d', $end_date ) : $end_date; ?>\"\n\t\t\t\t placeholder=\"<?php _e( 'End Date', 'give' ); ?>\"\n\t\t\t\t/>\n\t\t\t</div>\n\t\t\t<div id=\"give-payment-form-filter\" class=\"give-filter\">\n\t\t\t\t<label for=\"give-donation-forms-filter\"\n\t\t\t\t class=\"give-donation-forms-filter-label\"><?php _e( 'Form', 'give' ); ?></label>\n\t\t\t\t<?php\n\t\t\t\t// Filter Donations by Donation Forms.\n\t\t\t\techo Give()->html->forms_dropdown(\n\t\t\t\t\tarray(\n\t\t\t\t\t\t'name' => 'form_id',\n\t\t\t\t\t\t'id' => 'give-donation-forms-filter',\n\t\t\t\t\t\t'class' => 'give-donation-forms-filter',\n\t\t\t\t\t\t'selected' => $form_id, // Make sure to have $form_id set to 0, if there is no selection.\n\t\t\t\t\t\t'chosen' => true,\n\t\t\t\t\t\t'number' => 30,\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t\t?>\n\t\t\t</div>\n\n\t\t\t<?php\n\t\t\t/**\n\t\t\t * Action to add hidden fields and HTML in donor search.\n\t\t\t *\n\t\t\t * @since 2.4.0\n\t\t\t */\n\t\t\tdo_action( 'give_donor_table_advanced_filters' );\n\n\n\t\t\tif ( ! empty( $status ) ) {\n\t\t\t\techo sprintf( '<input type=\"hidden\" name=\"status\" value=\"%s\"/>', esc_attr( $status ) );\n\t\t\t}\n\n\t\t\tif ( ! empty( $donor ) ) {\n\t\t\t\techo sprintf( '<input type=\"hidden\" name=\"donor\" value=\"%s\"/>', absint( $donor ) );\n\t\t\t}\n\t\t\t?>\n\n\t\t\t<div class=\"give-filter\">\n\t\t\t\t<?php submit_button( __( 'Apply', 'give' ), 'secondary', '', false ); ?>\n\t\t\t\t<?php\n\t\t\t\t// Clear active filters button.\n\t\t\t\tif ( ! empty( $start_date ) || ! empty( $end_date ) || ! empty( $donor ) || ! empty( $search ) || ! empty( $status ) || ! empty( $form_id ) ) :\n\t\t\t\t\t?>\n\t\t\t\t\t<a href=\"<?php echo admin_url( 'edit.php?post_type=give_forms&page=give-donors' ); ?>\"\n\t\t\t\t\t class=\"button give-clear-filters-button\"><?php _e( 'Clear Filters', 'give' ); ?></a>\n\t\t\t\t<?php endif; ?>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<?php\n\t}", "private function build_form()\n {\n $this->renderer->setFormTemplate(\n '<form {attributes}><div class=\"filter_form\">{content}</div><div class=\"clear\">&nbsp;</div></form>');\n $this->renderer->setElementTemplate(\n '<div class=\"form-row\"><div class=\"formw\">{label}&nbsp;{element}</div></div>');\n\n $select = $this->addElement('select', self::FILTER_TYPE, null, array(), array('class' => 'postback'));\n\n $disabled_counter = 0;\n\n $select->addOption(Translation::get('AllContentObjects'), 'disabled_' . $disabled_counter);\n $disabled_counter ++;\n\n $condition = new EqualityCondition(\n new PropertyConditionVariable(UserView::class_name(), UserView::PROPERTY_USER_ID),\n new StaticConditionVariable($this->manager->get_user_id()));\n $parameters = new DataClassRetrievesParameters($condition);\n $userviews = DataManager::retrieves(UserView::class_name(), $parameters);\n\n if ($userviews->size() > 0)\n {\n $select->addOption('--------------------------', 'disabled_' . $disabled_counter, array('disabled'));\n $disabled_counter ++;\n\n while ($userview = $userviews->next_result())\n {\n $select->addOption(\n Translation::get('View', null, Utilities::COMMON_LIBRARIES) . ': ' . $userview->get_name(),\n $userview->get_id());\n }\n }\n\n $select->addOption('--------------------------', 'disabled_' . $disabled_counter, array('disabled'));\n $disabled_counter ++;\n\n $typeSelectorFactory = new TypeSelectorFactory($this->get_allowed_content_object_types());\n $type_selector = $typeSelectorFactory->getTypeSelector();\n\n $types = $type_selector->as_tree();\n unset($types[0]);\n\n foreach ($types as $key => $type)\n {\n if (is_integer($key))\n {\n $select->addOption($type, $key);\n }\n else\n {\n $select->addOption($type, 'disabled_' . $disabled_counter, array('disabled'));\n $key = 'disabled_' . $disabled_counter;\n $disabled_counter ++;\n }\n }\n\n $this->addElement(\n 'style_button',\n 'submit',\n Translation::get('Filter', null, Utilities::COMMON_LIBRARIES),\n null,\n null,\n 'filter');\n\n $session_filter = Session::retrieve('filter');\n $this->setDefaults(array(self::FILTER_TYPE => $session_filter, 'published' => 1));\n\n $this->addElement(\n 'html',\n ResourceManager::getInstance()->get_resource_html(\n Path::getInstance()->getJavascriptPath('Chamilo\\Libraries', true) . 'Postback.js'));\n }", "public function _add_report_filter_js()\n\t{\n\t\tif (isset($_GET['sgid']) AND !is_array($_GET['sgid']) AND intval($_GET['sgid']) >= 0)\n\t\t{\n\n\t\t\t$view = new View('simplegroups/report_filter_js');\n\t\t\t$view->selected_group_categories = implode(\",\", $this->_get_group_categories());\n\t\t\t$view->render(true);\n\t\t}\n\t\telse\n\t\t{\t\t\n\t\t\t$view = new View('simplegroups/report_filter_js_g');\n\t\t\t$view = new View('simplegroups/report_filter_js_g');\n\t\t\t$view->selected_group_categories = array();\n\t\t\t$view->render(true);\n\t\t}\n\t}", "private function display_filters(){\n $data=new DBQuery(CDatabaza::getInstance());\n echo \"<script type='text/javascript'></script>\";\n echo \"<form id='filters'>\";\n echo \"<span class='label'>Hľadaj článok: </span><input id='name' type='text' name='nazov' /><br/>\";\n echo \"<span class='label'>Zverejnené: </span><select id='zverejnit' name='released'>\";\n echo \"<option value=''>Všetko</option><option value='1'>Áno</option><option value='0'>Nie</option></select> \";\n echo \"<span class='label'>Rubrika: </span><select id='rubrika' name='topic'>\";\n echo \"<option value=''>Všetko</option>\";\n $data->setTable('Rubrika');\n $query=$data->queryDB('select');\n while($rubrika=$query->fetch_array()){\n echo \"<option value='\".$rubrika['rubrika_id'].\"'>\";\n echo $rubrika['nazov_rubriky'];\n echo \"</option>\";\n }\n echo \"</select>\";\n echo \"<span class='label'>Typ: </span><select id='typ' name='type'>\";\n echo \"<option value=''>Všetko</option>\";\n $data->setTable('Typ_clanku');\n $query=$data->queryDB('select');\n while($typ=$query->fetch_array()){\n echo \"<option value='\".$typ['typ_clanku_id'].\"'>\";\n echo $typ['nazov'];\n echo \"</option>\";\n }\n echo \"</select>\";\n echo \"</form>\";\n echo \"<div id='article_list'></div id='article_list'>\";\n echo \"\";\n echo \"<script type='text/javascript'>\";\n echo \"function filters_load(){\";\n echo \"$('#filters').submit(function(e){e.preventDefault();});\";\n echo \"filter_manager.set_manager('article_list',\".$this->getProgramID().\");\";\n echo \"filter_manager.add('name');\";\n echo \"filter_manager.add('zverejnit');\";\n echo \"filter_manager.add('rubrika');\";\n echo \"filter_manager.add('typ');\";\n echo \"filter_manager.set_max_page($this->max_page);\";\n echo \"filter_manager.apply();}\";\n /*\n echo \"content='article_list';program=\".$this->getProgramID().\";\";\n echo \"apply_filter();\";\n echo \"add_filter('name');\";\n echo \"add_filter('zverejnit');\";\n echo \"add_filter('rubrika');\";\n echo \"add_filter('typ');}\";\n * \n */\n echo \"if(typeof filter_manager!='undefined') filters_load();\";\n echo \"else scriptloader.load_script('redakcia/scripts/filters.js','js',filters_load);\";\n echo \"scriptloader.load_script('redakcia/styles/article_list.css','css');\";\n echo \"scriptloader.load_script('redakcia/styles/topics.css','css');\";\n //echo \"$('#article_list').load('./request/main.php?id=\".$this->getProgramID().\"&mode=display');\";\n echo \"</script>\";\n }", "public static function add_filtering_options() {\n\t\t?>\n\t\t<table class=\"optiontable\" id=\"jetpack-filters\" style=\"display:none;\">\n\t\t\t<tr>\n\t\t\t\t<td colspan=\"2\">\n\t\t\t\t\t<h4><?php _e( 'Choose your filtering options', 'bulk-delete' ); ?></h4>\n\t\t\t\t</td>\n\t\t\t</tr>\n\n\t\t\t<tr>\n\t\t\t\t<td scope=\"row\">\n\t\t\t\t\t<input name=\"smbd_feedback_author_name_filter\" id =\"smbd_feedback_author_name_filter\" value = \"true\" type = \"checkbox\">\n\t\t\t\t</td>\n\t\t\t\t<td>\n\t\t\t\t\t<?php _e( 'Only if author name ', 'bulk-delete' );?>\n\t\t\t\t\t<select name=\"smbd_feedback_author_name_op\" id=\"smbd_feedback_author_name_op\" disabled>\n\t\t\t\t\t\t<option value =\"is\"><?php _e( 'is', 'bulk-delete' );?></option>\n\t\t\t\t\t\t<option value =\"is-not\"><?php _e( 'is not', 'bulk-delete' );?></option>\n\t\t\t\t\t</select>\n\t\t\t\t\t<input type =\"textbox\" name=\"smbd_feedback_author_name_value\" id =\"smbd_feedback_author_name_value\" disabled placeholder=\"<?php _e( 'Author Name', 'bulk-delete' ); ?>\">\n\t\t\t\t</td>\n\t\t\t</tr>\n\n\t\t\t<tr>\n\t\t\t\t<td scope=\"row\">\n\t\t\t\t\t<input name=\"smbd_feedback_author_email_filter\" id =\"smbd_feedback_author_email_filter\" value = \"true\" type = \"checkbox\">\n\t\t\t\t</td>\n\t\t\t\t<td>\n\t\t\t\t\t<?php _e( 'Only if author email ', 'bulk-delete' );?>\n\t\t\t\t\t<select name=\"smbd_feedback_author_email_op\" id=\"smbd_feedback_author_email_op\" disabled>\n\t\t\t\t\t\t<option value =\"is\"><?php _e( 'is', 'bulk-delete' );?></option>\n\t\t\t\t\t\t<option value =\"is-not\"><?php _e( 'is not', 'bulk-delete' );?></option>\n\t\t\t\t\t</select>\n\t\t\t\t\t<input type =\"textbox\" name=\"smbd_feedback_author_email_value\" id =\"smbd_feedback_author_email_value\" disabled placeholder=\"<?php _e( 'Author Email', 'bulk-delete' ); ?>\">\n\t\t\t\t</td>\n\t\t\t</tr>\n\n\t\t\t<tr>\n\t\t\t\t<td scope=\"row\">\n\t\t\t\t\t<input name=\"smbd_feedback_author_ip_filter\" id =\"smbd_feedback_author_ip_filter\" value = \"true\" type = \"checkbox\">\n\t\t\t\t</td>\n\t\t\t\t<td>\n\t\t\t\t\t<?php _e( 'Only if author ip ', 'bulk-delete' );?>\n\t\t\t\t\t<select name=\"smbd_feedback_author_ip_op\" id=\"smbd_feedback_author_ip_op\" disabled>\n\t\t\t\t\t\t<option value =\"is\"><?php _e( 'is', 'bulk-delete' );?></option>\n\t\t\t\t\t\t<option value =\"is-not\"><?php _e( 'is not', 'bulk-delete' );?></option>\n\t\t\t\t\t</select>\n\t\t\t\t\t<input type =\"textbox\" name=\"smbd_feedback_author_ip_value\" id =\"smbd_feedback_author_ip_value\" disabled placeholder=\"<?php _e( 'Author ip', 'bulk-delete' ); ?>\">\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</table>\n\t\t<?php\n\t}", "private function generateFilters() {\n $html = '\n <script type=\"application/javascript\">\n $( document ).ready(function() {\n // Documentation; https://www.dynatable.com/\n var dynatable = $(\"#listOfNotes\").dynatable();\n });\n </script>';\n\n return $html;\n }", "public function initFilters() {\n\t\tforeach($this->table->getFilters() as $oneFilter) {\n\t\t\t$createFilter = true;\n\t\t\t\n// \t\t\t$modelName = $oneFilter->getModelName();\n// \t\t\tif(!empty($modelName)) {\n// \t\t\t\t$model = \\rk\\model\\manager::get($modelName);\n\t\t\t\t\n// \t\t\t\tif($model->getPK() == $oneFilter->getAttributeName()) {\t// no filter for PKs\n// \t\t\t\t\t$createFilter = false;\n// \t\t\t\t}\n// \t\t\t}\n\t\t\t\n\t\t\tif($createFilter) {\n\t\t\t\tlist($fieldName, $type, $widgetParams) = $this->computeOptionsForTableFilter($oneFilter);\n\t\n\t\t\t\tswitch($type) {\n\t\t\t\t\tcase 'ignore':\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\t\tcase 'hidden':\n\t\t\t\t\t\t$this->addWidgets(array(new \\rk\\form\\widget\\hidden($fieldName, $widgetParams)));\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\t\tcase 'integer':\n\t\t\t\t\t\t$this->addWidgets(array(new \\rk\\form\\widget\\integer($fieldName, $widgetParams)));\n\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\tcase 'datetime':\n\t\t\t\t\tcase 'date':\n\t\t\t\t\t\t$this->addWidgets(array(new \\rk\\form\\widget\\date($fieldName, $widgetParams)));\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\t\tcase 'textCombo':\n\t\t\t\t\tcase 'richtext':\n\t\t\t\t\tcase 'text':\n\t\t\t\t\t\t$this->addWidgets(array(new \\rk\\form\\widget\\text($fieldName, $widgetParams)));\n\t\t\t\t\tbreak;\n\t\n\t\t\t\t\tcase 'boolean':\n\t\t\t\t\t\t$this->addWidgets(array(new \\rk\\form\\widget\\checkbox($fieldName, $widgetParams)));\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\t\tcase 'enum':\n\t\t\t\t\tcase 'select':\n\t\t\t\t\t\t$this->addWidgets(array(new \\rk\\form\\widget\\select($fieldName, $widgetParams)));\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tthrow new \\rk\\exception('unknown attribute type ' . $type);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "function period_filter()\r\n\t{\r\n\t\t$from_year\t= $this->get_from_year();\r\n\t\t$to_year\t= $this->get_to_year();\r\n\t\t$from_month\t= $this->get_from_month();\r\n\t\t$to_month\t= $this->get_to_month();\r\n?>\r\n\t\t<span style=\"float: left; margin-top: 5px;\"><?php echo __('From', 'vat_ecsl'); ?>:</span>\r\n<?php\r\n\t\techo vat_ecsl()->html->year_dropdown( 'from_year', $from_year );\r\n\t\techo vat_ecsl()->html->month_dropdown( 'from_month', $from_month );\r\n?>\r\n\t\t<span style=\"float: left; margin-top: 5px;\"><?php echo __('To', 'vat_ecsl'); ?>:</span>\r\n<?php\r\n\t\techo vat_ecsl()->html->year_dropdown ( 'to_year', $to_year );\r\n\t\techo vat_ecsl()->html->month_dropdown( 'to_month', $to_month );\r\n?>\r\n<?php\r\n\t\tif ( empty( $_REQUEST['s'] ) && !$this->has_items() )\r\n\t\t\treturn;\r\n\r\n\t\t$text = __( 'Search', 'vat_ecsl' );\r\n\t\t$input_id = 'ecsl-submissions' . '-search-input';\r\n\r\n\t\tif ( ! empty( $_REQUEST['orderby'] ) )\r\n\t\t\techo '<input type=\"hidden\" name=\"orderby\" value=\"' . esc_attr( $_REQUEST['orderby'] ) . '\" />';\r\n\t\tif ( ! empty( $_REQUEST['order'] ) )\r\n\t\t\techo '<input type=\"hidden\" name=\"order\" value=\"' . esc_attr( $_REQUEST['order'] ) . '\" />';\r\n\t\tif ( ! empty( $_REQUEST['post_mime_type'] ) )\r\n\t\t\techo '<input type=\"hidden\" name=\"post_mime_type\" value=\"' . esc_attr( $_REQUEST['post_mime_type'] ) . '\" />';\r\n\t\tif ( ! empty( $_REQUEST['detached'] ) )\r\n\t\t\techo '<input type=\"hidden\" name=\"detached\" value=\"' . esc_attr( $_REQUEST['detached'] ) . '\" />';\r\n\r\n?>\r\n\t\t<div style=\"float: right;\">\r\n\t\t\t<label class=\"screen-reader-text\" for=\"<?php echo $input_id ?>\"><?php echo $text; ?>:</label>\r\n\t\t\t<input type=\"search\" id=\"<?php echo $input_id ?>\" name=\"s\" value=\"<?php _admin_search_query(); ?>\" />\r\n\t\t\t<?php submit_button( $text, 'button', false, false, array('id' => 'search-submit') ); ?>\r\n\t\t</div>\r\n<?php\r\n\t}", "public function renderFilters()\n\t{\n\t\t$this->timber->filter->issueDetect();\n\t\t$this->timber->filter->configLibs();\n\t\t$this->timber->security->cookieCheck();\n\t}", "function restrict_manage_html_filters() {\n\t\tglobal $post_type_object, $cat;\n\t\t\n\t\tif ( in_array( $post_type_object->name, apply_filters( $this->filter_name, $this->included_post_types ) ) ) {\n\t\t\t\n\t\t\tif ( ! isset( $_GET['global-featured-vc'] ) )\n\t\t\t\techo \" &nbsp;<input type=\\\"submit\\\" class=\\\"button-secondary\\\" name=\\\"global-featured-vc\\\" value=\\\"Display Global Featured\\\" />&nbsp; \";\n\t\t\telse\n\t\t\t\techo \" &nbsp;<a style=\\\"display:inline !important;\\\" class=\\\"button-secondary\\\" href=\\\"\" . home_url() . \"/wp-admin/edit.php?post_type=\" . $post_type_object->name . \"\\\">Display All</a>&nbsp; \";\n\t\t\t\n\t\t} // end if ( in_array () )\n\t\t\n\t}", "public function filter_dropdown()\n {\n }", "public function filter_dropdown()\n {\n }", "public static function adminEventHandlerEventsCustomFilterDisplay() {\n\t\tglobal $dummy, $dummy_combo;\n\t\t?>\n\t\t<p><label for=\"status\" class=\"ib\"><?php echo __('Dummy:'); ?></label>\n\t\t<?php echo form::combo('dummy', $dummy_combo, $dummy); ?>\n\t\t</p>\n\t\t\t<?php\n\t\t}", "function getTableFilterHTML()\r\n\t{\r\n\t\t$html = $this->render();\r\n\t\treturn $html;\r\n\t}", "public function getFilterForm() {\n $param = array(\n 'id' => $this->id . '-filter-form',\n 'attributes' => array(\n 'onchange' => 'app.lists[\"' . $this->id . '\"].setFilter(app.forms[\"' . $this->id . '-filter-form\"].valueOf())'\n ),\n 'fieldsets' => array()\n );\n\n $filters = $this->getFilterFormValue();\n\n foreach($this->filterForm as $name => $field) {\n $param['fieldsets'][$name] = array();\n\n if(isset($field['legend'])) {\n $param['fieldsets'][$name]['legend'] = $field['legend'];\n }\n\n switch($field['type']) {\n case 'checkbox' :\n foreach($field['options'] as $value => $label) {\n $param['fieldsets'][$name][] = new CheckboxInput(array(\n 'name' => $name.'[' . $value . ']',\n 'value' => !empty($filters[$name][$value]),\n 'label' => $label,\n 'beforeLabel' => true,\n 'labelWidth' => 'auto',\n ));\n }\n break;\n\n case 'radio' :\n $param['fieldsets'][$name][] = new RadioInput(array(\n 'name' => $name,\n 'value' => isset($filters[$name]) ? $filters[$name] : '',\n 'options' => $field['options'],\n 'layout' => isset($field['layout']) ? $field['layout'] : 'vertical'\n ));\n break;\n\n case 'select' :\n $param['fieldsets'][$name][] = new SelectInput(array(\n 'name' => $name,\n 'value' => isset($filters[$name]) ? $filters[$name] : '',\n 'options' => $field['options'],\n 'invitation' => isset($field['invitation']) ? $field['invitation'] : null\n ));\n break;\n\n default :\n break;\n }\n }\n\n return new Form($param);\n }", "function Page_Selecting(&$filter) {\n\n\t\t// Enter your code here\n\t}", "function Page_Selecting(&$filter) {\n\n\t\t// Enter your code here\n\t}", "function article_filters() {\n\t\torbiter::add_filter( 'render_article_html_args', array( $this, 'filters' ), 5 );\n\n\t}" ]
[ "0.67237777", "0.6713946", "0.6531687", "0.6502788", "0.64187735", "0.6287409", "0.6250061", "0.62363887", "0.6216136", "0.61401576", "0.61109287", "0.61104447", "0.6103905", "0.6101517", "0.60904664", "0.60383093", "0.60351586", "0.60162526", "0.5960873", "0.5947835", "0.5939355", "0.5937853", "0.5905628", "0.5905628", "0.58961564", "0.5865677", "0.5858219", "0.5856386", "0.5856386", "0.58422184" ]
0.7055278
0
figures out what the logical operator is defaults to OR
private function _get_logical_operator() { $lo = "or"; if ( isset($_GET['lo']) AND !is_array($_GET['lo']) AND strtolower($_GET['lo']) == "and" ) { $lo = "and"; } return $lo; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function getOperator() {\n\t\tif($this->isExact) {\n\t\t\treturn ' AND ';\n\t\t} else {\n\t\t\treturn ' OR ';\n\t\t}\n\t}", "public function _or(): bool;", "public function do_or() {\n\t\treturn $this->condition_factory->do_or( func_get_args() );\n\t}", "private function and_or( $or ) {\n\t\treturn $or ? 'OR' : 'AND';\n\t}", "public function getOR() {\n\t\treturn \"\\|\\|\";\n\t}", "public static function sqlor() {\n\t\t$args = func_get_args();\n\t\t$function = 'or';\n\t\t$res = false;\n\t\tforeach ($args as $arg) {\n\t\t\tif (!empty($arg))\n\t\t\t\t$res[] = $arg;\n\t\t}\n\t\tif (!empty($res))\n\t\t\t$res = '(' . implode(') '.$function.' (', $res) . ')';\n\t\telse\n\t\t\t$res = '1=0';\n\t\treturn $res;\n\t}", "public function getConditionOperator();", "public function getConditionOperator();", "#[@test]\n public function logicalOr() {\n $this->assertEquals(\n new AssignmentNode(['variable' => new VariableNode('a'), 'op' => '|=', 'expression' => new VariableNode('b')]),\n $this->optimize(new AssignmentNode([\n 'variable' => new VariableNode('a'), \n 'op' => '=', \n 'expression' => new BinaryOpNode(['lhs' => new VariableNode('a'), 'op' => '|', 'rhs' => new VariableNode('b')])\n ]))\n );\n }", "abstract protected function perform_or($first, $second);", "public function getDefaultOperatorOptions()\n {\n if (null === $this->_defaultOperatorOptions) {\n $this->_defaultOperatorOptions = array(\n '==' => Mage::helper('rule')->__('is'),\n '!=' => Mage::helper('rule')->__('is not'),\n '>=' => Mage::helper('rule')->__('equals or greater than'),\n '<=' => Mage::helper('rule')->__('equals or less than'),\n '>' => Mage::helper('rule')->__('greater than'),\n '<' => Mage::helper('rule')->__('less than'),\n '{}' => Mage::helper('rule')->__('contains'),\n '!{}' => Mage::helper('rule')->__('does not contain'),\n '[]' => Mage::helper('rule')->__('contains'),\n '![]' => Mage::helper('rule')->__('does not contain'),\n '()' => Mage::helper('rule')->__('is one of'),\n '!()' => Mage::helper('rule')->__('is not one of')\n );\n }\n return $this->_defaultOperatorOptions;\n }", "private function _matchesOperator()\n {\n return $this->stream->matches(Token::TYPE_OPERATOR)\n || self::OPERATOR_PRECEDENCE_PRE_9_5 === $this->precedence\n && ($this->stream->matches(Token::TYPE_INEQUALITY)\n || $this->stream->matches(Token::TYPE_EQUALS_GREATER))\n || $this->stream->matches(Token::TYPE_KEYWORD, 'operator')\n && $this->stream->look(1)->matches(Token::TYPE_SPECIAL_CHAR, '(');\n }", "public function or() {\n\t\t$this->comandoString .= \"OR \";\n\n\t\treturn $this;\n\t}", "public function getOperator();", "public function getOperator();", "public function orWhere($column, $operator = '', $value = '');", "public function operator() {\n return $this->getConditionOperator($this->operator == '=' ? 'LIKE' : 'NOT LIKE');\n }", "public function getDefaultOperatorInputByType()\n {\n if (null === $this->_defaultOperatorInputByType) {\n parent::getDefaultOperatorInputByType();\n $this->_defaultOperatorInputByType['numeric'] = array('==', '!=', '>=', '>', '<=', '<');\n $this->_defaultOperatorInputByType['string'] = array('==', '!=', '{}', '!{}');\n }\n return $this->_defaultOperatorInputByType;\n }", "public function conditions($operand=null);", "public function isOperator($str) {\n\t\treturn in_array($str, array('=', '<', '>', '>=', '<=', '<>', '!=', '&', '~', '|', '^', '<<', '>>'));\n\t}", "public static function getConditionOperators()\n\t{\n\t\tinclude_once './Services/AccessControl/classes/class.ilConditionHandler.php';\n\t\treturn array(\n\t\t\tilConditionHandler::OPERATOR_PASSED,\n\t\t\tilConditionHandler::OPERATOR_FAILED\n\t\t);\n\t}", "function _or()\n{\n foreach(func_get_args() as $a)\n if ($a)\n return $a;\n}", "public function getOperatorForValidate()\n {\n return $this->correctOperator($this->getOperator(), $this->getInputType());\n }", "private function isOperator($string)\n {\n return in_array($string, ['&', '|', '^']);\n }", "public function opOr() {\n $this->orm->opOr();\n return $this;\n }", "public function getOperator(): string;", "public function isOperator($str);", "public function GetOrs()\r\n\t{\r\n\t\treturn $this->_or;\r\n\t}", "public function or_()\n {\n $this->addRules( OrRule::operator, func_get_args());\n return $this;\n }", "public function getOperatorForValidate()\n {\n return $this->getOperator();\n }" ]
[ "0.7360302", "0.67223287", "0.666818", "0.65281737", "0.6455017", "0.63943183", "0.63623166", "0.63623166", "0.62696743", "0.6243903", "0.61686236", "0.6131022", "0.6075585", "0.6064906", "0.6064906", "0.60194975", "0.6016445", "0.59684914", "0.5962199", "0.5921136", "0.59085184", "0.5904891", "0.5891925", "0.588939", "0.58709437", "0.58652604", "0.5845562", "0.5843236", "0.5811107", "0.5811069" ]
0.79997236
0
end of _edit_user_submit Adds a drop down box to pick which group a user is a part of when you're editing a user.
public function _edit_user_form() { $groups_array = null; $user_group_id = "NONE"; $user_id = Event::$data; //check and see if the person doing the editing is a group user $current_user = new User_Model($_SESSION['auth_user']->id); $group_id = groups::get_user_group($current_user); if($group_id) { $group = ORM::factory("simplegroups_groups") ->where("id", $group_id) ->find(); $groups_array = array($group->id => $group->name); } else { //get a list of all the groups $groups = ORM::factory("simplegroups_groups") ->find_all(); $groups_array = array("NONE"=>"--No Group--"); foreach($groups as $group) { $groups_array[$group->id] = $group->name; } //find out if our user in question is a group members $users_groups = ORM::factory("simplegroups_groups") ->join('simplegroups_groups_users', 'simplegroups_groups_users.simplegroups_groups_id', 'simplegroups_groups.id') ->where('simplegroups_groups_users.users_id', $user_id) ->find_all(); foreach($users_groups as $users_group) { $user_group_id = $users_group->id; } } //get list of group roles $roles = groups::get_group_roles(); //get list of roles for this particular user $users_roles = groups::get_roles_for_user($user_id); $view = new View('simplegroups/edit_user'); $view->groups = $groups_array; $view->roles = $roles; $view->users_roles = $users_roles; $view->user_group_id = $user_group_id; $view->render(TRUE); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function formEdit($id){\t\t\n\n\t\t$person =&Person::getRecordByID($id);\n$groupoptions .= '<select name=\"v_roles\" id=\"v_roles\" >';\n\t\t\t\t\t$groupoptions .= '<option value=17';if ($person ['roles'] == 17) $groupoptions .= ' selected';\n\t\t\t\t\t$groupoptions .= '>ADMISSION</option>';\n\t\t\t\t\t$groupoptions .= '<option value=9';if ($person ['roles'] == 9) $groupoptions .= ' selected';\n\t\t\t\t\t$groupoptions .= '>APOTEK</option>';\n\t\t\t\t\t$groupoptions .= '<option value=16';if ($person ['roles'] == 16) $groupoptions .= ' selected';\n\t\t\t\t\t$groupoptions .= '>EKSEKUTIF</option>';\n\t\t\t\t\t$groupoptions .= '<option value=15';if ($person ['roles'] == 15) $groupoptions .= ' selected';\n\t\t\t\t\t$groupoptions .= '>GIZI</option>';\n\t\t\t\t\t$groupoptions .= '<option value=7';if ($person ['roles'] == 7) $groupoptions .= ' selected';\n\t\t\t\t\t$groupoptions .= '>GUDANG</option>';\n\t\t\t\t\t$groupoptions .= '<option value=8';if ($person ['roles'] == 8) $groupoptions .= ' selected';\n\t\t\t\t\t$groupoptions .= '>LOGISTIK</option>';\n\t\t\t\t\t$groupoptions .= '<option value=13';if ($person ['roles'] == 13) $groupoptions .= ' selected';\n\t\t\t\t\t$groupoptions .= '>JAMKESMAS</option>';\n\t\t\t\t\t$groupoptions .= '<option value=18';if ($person ['roles'] == 18) $groupoptions .= ' selected';\n\t\t\t\t\t$groupoptions .= '>ICD</option>';\n\t\t\t\t\t$groupoptions .= '<option value=19';if ($person ['roles'] == 19) $groupoptions .= ' selected';\n\t\t\t\t\t$groupoptions .= '>KAMAR OPERASI</option>';\n\t\t\t\t\t$groupoptions .= '<option value=22';if ($person ['roles'] == 22) $groupoptions .= ' selected';\n\t\t\t\t\t$groupoptions .= '>ASKES</option>';\n\t\t\t\t\t$groupoptions .= '<option value=23';if ($person ['roles'] == 23) $groupoptions .= ' selected';\n\t\t\t\t\t$groupoptions .= '>KEUANGAN</option>';\n\t\t\t\t\t$groupoptions .= '<option value=24';if ($person ['roles'] == 24) $groupoptions .= ' selected';\n\t\t\t\t\t$groupoptions .= '>JASPEL</option>';\n\t\t\t\t\t$groupoptions .= '<option value=2';if ($person ['roles'] == 2) $groupoptions .= ' selected';\n\t\t\t\t\t$groupoptions .= '>KASIR</option>';\n\t\t\t\t\t$groupoptions .= '<option value=26';if ($person ['roles'] == 26) $groupoptions .= ' selected';\n\t\t\t\t\t$groupoptions .= '>ADMIN RAJAL</option>';\n\t\t\t\t\t$groupoptions .= '<option value=27';if ($person ['roles'] == 27) $groupoptions .= ' selected';\n\t\t\t\t\t$groupoptions .= '>KEPERAWATAN</option>';\n\t\t\t\t\t$groupoptions .= '<option value=5';if ($person ['roles'] == 5) $groupoptions .= ' selected';\n\t\t\t\t\t$groupoptions .= '>LABORATORIUM</option>';\n\t\t\t\t\t$groupoptions .= '<option value=1';if ($person ['roles'] == 1) $groupoptions .= ' selected';\n\t\t\t\t\t$groupoptions .= '>PENDAFTARAN</option>';\n\t\t\t\t\t$groupoptions .= '<option value=4';if ($person ['roles'] == 4) $groupoptions .= ' selected';\n\t\t\t\t\t$groupoptions .= '>RAWAT JALAN</option>';\n\t\t\t\t\t$groupoptions .= '<option value=11';if ($person ['roles'] == 11) $groupoptions .= ' selected';\n\t\t\t\t\t$groupoptions .= '>RAWAT INAP</option>';\n\t\t\t\t\t$groupoptions .= '<option value=6';if ($person ['roles'] == 6) $groupoptions .= ' selected';\n\t\t\t\t\t$groupoptions .= '>RADIOLOGI</option>';\n\t\t\t\t\t$groupoptions .= '<option value=12';if ($person ['roles'] == 12) $groupoptions .= ' selected';\n\t\t\t\t\t$groupoptions .= '>REKAM MEDIK</option>';\t\t\t\t\n\t\t\t\t\t$groupoptions .= '<option value=99';if ($person ['roles'] == 99) $groupoptions .= ' selected';\n\t\t\t\t\t$groupoptions .= '>SUPERVISOR</option>';\t\t\t\t\n\t\t\t\t\t$groupoptions .= '<option value=1017';if ($person ['roles'] == 1017) $groupoptions .= ' selected';\n\t\t\t\t\t$groupoptions .= '>ADMIN</option>';\n\t\t\t\t$groupoptions .= '</select>';\n\t\t\t\t\n$groupoptions2 .= '<select name=\"v_departemen\" id=\"v_departemen\" >';\n$roles = &Person::getUnit();\n\t\t\t\twhile ($row = $roles->fetchRow()) {\n\t\t\t\t\t\t$groupoptions2 .= '<option value=\"'.$row['nama_unit'].'\"';\n\t\t\t\t\t\tif ($person['departemen'] == $row['nama_unit'])\n\t\t\t\t\t\t\t$groupoptions2 .= ' selected';\n\t\t\t\t\t\t$groupoptions2 .= '>'.$row['nama_unit'].'</option>';\n\t\t\t\t}\n$groupoptions2 .= '<option value=\"ADMISSION\"';if ($person ['departemen'] == \"ADMISSION\") $groupoptions2 .= ' selected';\n\t\t\t\t\t$groupoptions2 .= '>ADMISSION</option>';\n$groupoptions2 .= '<option value=\"EKSEKUTIF\"';if ($person ['departemen'] == 'EKSEKUTIF') $groupoptions2 .= ' selected';\n\t\t\t\t\t$groupoptions2 .= '>EKSEKUTIF</option>';\n$groupoptions2 .= '<option value=\"JAMKESMAS\"';if ($person ['departemen'] == 'JAMKESMAS') $groupoptions2 .= ' selected';\n\t\t\t\t\t$groupoptions2 .= '>JAMKESMAS</option>';\n$groupoptions2 .= '<option value=\"KEPERAWATAN\"';if ($person ['departemen'] == 'KEPERAWATAN') $groupoptions2 .= ' selected';\n\t\t\t\t\t$groupoptions2 .= '>KEPERAWATAN</option>';\n$groupoptions2 .= '<option value=\"PEMBAYARAN\"';if ($person ['departemen'] == 'PEMBAYARAN') $groupoptions2 .= ' selected';\n\t\t\t\t\t$groupoptions2 .= '>PEMBAYARAN</option>';\n$groupoptions2 .= '<option value=\"PENDAFTARAN\"';if ($person ['departemen'] == 'PENDAFTARAN') $groupoptions2 .= ' selected';\n\t\t\t\t\t$groupoptions2 .= '>PENDAFTARAN</option>';\n$groupoptions2 .= '<option value=\"REKAM MEDIK\"';if ($person ['departemen'] == 'REKAM MEDIK') $groupoptions2 .= ' selected';\n\t\t\t\t\t$groupoptions2 .= '>REKAM MEDIK</option>';\n$groupoptions2 .= '<option value=\"ADMIN\"';if ($person ['departemen'] == 'ADMIN') $groupoptions2 .= ' selected';\n\t\t\t\t\t$groupoptions2 .= '>ADMIN</option>';\n$groupoptions2 .= '<option value=\"ICD\"';if ($person ['departemen'] == 'ICD') $groupoptions2 .= ' selected';\n\t\t\t\t\t$groupoptions2 .= '>ICD</option>';\n\n\t\t$html = '\n\t\t\t\t<form method=\"post\" name=\"f\" id=\"f\">\n\t\t\t\t<!-- No edit the next line -->\n\t\t\t\t<input type=\"hidden\" id=\"id\" name=\"id\" value=\"'.$person['nip'].'\">\n\n\t\t\t\t<table border=\"0\" width=\"100%\">\n\t\t\t\t<tr>\n\t\t\t\t\t<td nowrap align=\"left\">Nip *</td>\n\t\t\t\t\t<td align=\"left\"><input type=\"text\" id=\"v_nip\" name=\"v_nip\" size=\"25\" readonly=\"true\" value=\"'.$person['nip'].'\"></td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td nowrap align=\"left\">Password *</td>\n\t\t\t\t\t<td align=\"left\"><input type=\"text\" id=\"v_pwd\" name=\"v_pwd\" size=\"25\" value=\"'.$person['pwd'].'\"></td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td nowrap align=\"left\">SES_REG *</td>\n\t\t\t\t\t<td align=\"left\"><input type=\"text\" id=\"v_ses_reg\" name=\"v_ses_reg\" size=\"25\" value=\"'.$person['ses_reg'].'\"></td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td nowrap align=\"left\">ROLES *</td>\n\t\t\t\t\t<!--<td align=\"left\"><input type=\"text\" id=\"v_roles\" name=\"v_roles\" size=\"25\" value=\"'.$person['roles'].'\"></td>-->\n\t\t\t\t<td align=\"left\">'.$groupoptions.'</td>\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t</tr>\n\t\t\t\t<!--<tr>\n\t\t\t\t\t<td nowrap align=\"left\">KOde Unit *</td>\n\t\t\t\t\t<td align=\"left\"><input type=\"text\" id=\"v_kdunit\" name=\"v_kdunit\" size=\"25\" value=\"'.$person['kdunit'].'\"></td>\n\t\t\t\t</tr>-->\n\t\t\t\t<tr>\n\t\t\t\t\t<td nowrap align=\"left\">Departemen *</td>\n\t\t\t\t<!--<td align=\"left\"><SELECT id=\"v_departemen\" name=\"v_departemen\" >-->\n\t\t\t\t<td align=\"left\">'.$groupoptions2.'</td>\t\t\t\t\t\t\t\t\n\t\t\t\t</tr>\t\t\t\t\n\t\t\t\t<tr>\n\t\t\t\t\t<td colspan=\"2\" align=\"center\"><button id=\"submitButton\" onClick=\\'xajax_update(xajax.getFormValues(\"f\"));return false;\\'>Continue</button></td>\n\t\t\t\t</tr>\n\t\t\t\t</table>\n\t\t\t\t</form>\n\t\t\t\t* Tidak boleh kosong\n\t\t\t\t';\n\t\t\n\t\treturn $html;\n\t}", "function og_ui_user_admin_account($form, $form_state, $obj_type, $oid) {\n og_set_breadcrumb($obj_type, $oid, array(l(t('Group'), \"$obj_type/$oid/og\")));\n $group = og_get_group($obj_type, $oid);\n $header = array(\n 'username' => array('data' => t('Username')),\n 'status' => array('data' => t('Status')),\n 'roles' => array('data' => t('Roles')),\n );\n\n $form['group'] = array('#type' => 'value', '#value' => $group);\n $form['options'] = array(\n '#type' => 'fieldset',\n '#title' => t('Update options'),\n '#prefix' => '<div class=\"container-inline\">',\n '#suffix' => '</div>',\n );\n $options = array();\n foreach (module_implements('og_user_operations') as $module) {\n $result = call_user_func($module . '_og_user_operations', array(), array('group' => $group));\n foreach ($result as $operation => $array) {\n $options[$operation] = $array['label'];\n }\n }\n\n $form['options']['operation'] = array(\n '#type' => 'select',\n '#options' => $options,\n '#default_value' => 'unblock',\n );\n\n $options = array();\n $form['options']['submit'] = array(\n '#type' => 'submit',\n '#value' => t('Update'),\n );\n\n $destination = drupal_get_destination();\n\n $status = array('blocked' => t('blocked'), 'pending' => t('pending'), 'active' => t('active'));\n $roles = array_flip(og_get_group_roles($group->gid));\n $accounts = array();\n // Get the group real object, so we can check the user ID of the object.\n $object = current(entity_load($obj_type, array($group->oid)));\n\n foreach (og_get_group_users($group->gid, array()) as $account) {\n // Don't allow editing of the group manager.\n if (empty($object->uid) || $account->uid != $object->uid) {\n $accounts[$account->uid] = '';\n $users_roles = array();\n foreach (og_get_user_roles($group->gid, $account->uid) as $rid) {\n $users_roles[] = $roles[$rid];\n }\n asort($users_roles);\n\n $options[$account->uid] = array(\n 'username' => theme('username', array('account' => $account)),\n 'status' => $status[$account->state],\n 'roles' => theme('item_list', array('items' => $users_roles)),\n );\n\n }\n }\n $form['accounts'] = array(\n '#type' => 'tableselect',\n '#header' => $header,\n '#options' => $options,\n '#empty' => !empty($object->uid) ? t('No people available apart of the group manager.') : t('No people available.'),\n );\n $form['pager'] = array('#markup' => theme('pager', array('tags' => NULL)));\n\n return $form;\n}", "public function _edit_user()\n\t {\n\t\t$user = Event::$data;\n\n\t\t//clear any group assocations they may already have\n\t\t$group_users = ORM::factory(\"simplegroups_groups_users\")\n\t\t\t->where(\"users_id\", $user->id)\n\t\t\t->find_all();\n\t\tforeach($group_users as $group_user)\n\t\t{\n\t\t\t$group_user->delete();\n\t\t}\n\t\t\n\t\t//check and see if the person doing the editing is a group user\n\t\t$current_user = new User_Model($_SESSION['auth_user']->id);\n\t\t$group_id = groups::get_user_group($current_user);\n\t\tif($group_id)\n\t\t{\n\t\t\t$group_user = ORM::factory(\"simplegroups_groups_users\");\n\t\t\t$group_user->simplegroups_groups_id = $group_id;\n\t\t\t$group_user->users_id = $user->id;\n\t\t\t$group_user->save();\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//check and see if they selected a group\n\t\t\tif(isset($this->post_data->group) && $this->post_data->group != \"NONE\")\n\t\t\t{\n\t\t\t\t$group_user = ORM::factory(\"simplegroups_groups_users\");\n\t\t\t\t$group_user->simplegroups_groups_id = $this->post_data->group;\n\t\t\t\t$group_user->users_id = $user->id;\n\t\t\t\t$group_user->save();\n\t\t\t}\n\t\t}\n\t\t\n\t\t//clear out any group roles for this user\n\t\t$users_group_roles = ORM::factory(\"simplegroups_users_roles\")\n\t\t\t->where(\"users_id\", $user->id)\n\t\t\t->find_all();\n\t\tforeach($users_group_roles as $users_group_role)\n\t\t{\n\t\t\t$users_group_role->delete();\n\t\t}\n\t\t\n\t\t//if any new group roles have been added add them\n\t\tforeach($this->post_data as $key=>$item)\n\t\t{\t\t\t\n\t\t\tif (strpos($key, \"group_role_id_\") !== false)\n\t\t\t{\n\t\t\t\t$group_role_id = substr($key, 14);\n\t\t\t\t$users_group_role = ORM::factory(\"simplegroups_users_roles\");\n\t\t\t\t$users_group_role->users_id = $user->id;\n\t\t\t\t$users_group_role->roles_id = $group_role_id;\n\t\t\t\t$users_group_role->save();\n\t\t\t}\n\t\t}\n\t\t\n\t }", "public static function edit()\r\n {\r\n if(!self::user()->hasPerm('groups_edit'))\r\n Json::printError('You are not allowed for the requested action!');\r\n $val = \\CAT\\Helper\\Validate::getInstance();\r\n $field = $val->sanitizePost('name');\r\n $id = $val->sanitizePost('pk');\r\n $value = $val->sanitizePost('value');\r\n \\CAT\\Groups::set($field,$value,$id);\r\n }", "function ocs_admin_group_edit_form( $form, &$form_state, $type, $groupid = NULL)\n{\n if ((isset($_SESSION['subgroup_id'])) && (!is_null($_SESSION['subgroup_id']))) {\n $groupid = $_SESSION['subgroup_id'];\n $_SESSION['subgroup_id'] = NULL;\n } \n if ( isset( $groupid)) $group = group_load( $groupid);\n $form = array();\n \n $form['group'] = array(\n '#type' => 'fieldset',\n '#title' => t('Group'),\n '#collapsible' => TRUE,\n '#collapsed' => FALSE,\n '#description' => 'Click the <em>Search</em> button to find a account.',\n );\n\n $form['group']['group_id'] = array(\n '#type' => 'hidden',\n '#value' => NULL,\n );\n if ((isset($group)) && ($group['parent_group_id'] != 0)) {\n $_SESSION['subgroup_id'] = $groupid;\n $subgroups = ocs_admin_subgroup_load($groupid);\n $options = array();\n foreach($subgroups as $key => $value) {\n $options[$key] = $value['group_name'];\n if ($value['parent_group_id'] == 0) {\n $ancestor = $value['ancestor_group_id'];\n }\n }\n \n $form['group']['parent_group_id'] = array(\n '#type' => 'select',\n '#title' => 'Parent Group',\n '#options' => $options,\n );\n \n $form['group']['ancestor_group_id'] = array(\n '#type' => 'hidden',\n '#value' => $ancestor,\n );\n\n $form['group']['group_name'] = array(\n '#type' => 'textfield',\n '#title' => 'Name',\n '#description' => t('Enter Subgroup Name'),\n '#maxlength' => 64,\n '#size' => 30,\n );\n } else {\n $_SESSION['subgroup_id'] = NULL;\n $form['group']['parent_group_id'] = array(\n '#type' => 'hidden',\n '#value' => 0,\n );\n\n $form['group']['ancestor_group_id'] = array(\n '#type' => 'hidden',\n '#value' => 0,\n );\n\n $form['group']['group_name'] = array(\n '#type' => 'textfield',\n '#title' => 'Name',\n '#description' => t('Enter Group Name'),\n '#maxlength' => 64,\n '#size' => 30,\n );\n }\n\n $form['group']['limit_usage'] = array(\n '#type' => 'textfield',\n '#title' => 'Limit Usage',\n '#description' => t('Enter group limit usage'),\n '#maxlength' => 24,\n '#size' => 30,\n );\n\n $form['group']['item'] = array(\n '#type' => 'item',\n '#title' => 'Master Number',\n );\n\n $form['group']['container'] = array(\n '#prefix' => '<div class=\"container-inline form-item\">',\n '#suffix' => '</div>'\n );\n \n $form['group']['container']['master_number'] = array(\n '#type' => 'textfield',\n '#maxlength' => 24,\n '#size' => 30,\n );\n \n // $_GET['account_key']\n $form['group']['container']['account_search'] = array(\n '#type' => 'submit',\n '#value' => 'Search Account',\n );\n \n $form['discount'] = array(\n '#type' => 'fieldset',\n '#title' => t('Discout Rule'),\n '#collapsible' => TRUE,\n '#collapsed' => FALSE,\n );\n\n $rules = new OcsGroupRules;\n $rules->load( $groupid);\n\n dpm( $rules, 'rules');\n\n if ( count( $rules->rules()) == 0) {\n // get OCS_VPN_CALL event\n $items = entity_load( 'node', FALSE, array( 'type' => 'ocs_events', 'title' => 'OCS_VPN_CALL'));\n $event = array_shift( $items);\n if ( empty( $event)) {\n $form['discount']['rule'] = array(\n '#type' => 'markup',\n '#markup' => t('Unable to find OCS_VPN_CALL event.'),\n );\n }\n else {\n $form['discount']['rule'] = array(\n '#type' => 'markup',\n '#markup' => t('There are no rules yet. <a href=\"@url\">Add Rules.</a>',\n array( '@url' => url( 'ocs_admin/rule/add', \n array( 'query' => array( \n 'redirect' => current_path(),\n 'name' => $group['group_name'],\n 'rule_key' => 'group:'.$groupid.':event:'.$event->nid))))),\n );\n }\n }\n else {\n $form['discount']['rule'] = array(\n '#type' => 'markup',\n '#markup' => $rules->render(),\n );\n }\n\n $form['actions'] = array('#type' => 'actions');\n $form['actions']['submit'] = array(\n '#type' => 'submit',\n '#value' => t('Save'),\n );\n\n $form['actions']['cancel'] = array(\n '#type' => 'submit',\n '#value' => t('Cancel'),\n );\n\n if ( isset( $groupid)) {\n $form['group']['group_id']['#value'] = $group['group_id'];\n $form['group']['ancestor_group_id']['#value'] = $group['ancestor_group_id'];\n $form['group']['parent_group_id']['#value'] = $group['parent_group_id'];\n $form['group']['group_name']['#default_value'] = $group['group_name'];\n $form['group']['container']['master_number']['#default_value'] = $group['master_number'];\n $form['group']['limit_usage']['#default_value'] = $group['limit_usage'];\n $_SESSION['form_mode'] = 'M';\n $_SESSION['group_name'] = $group['group_name'];\n $_SESSION['limt_usage'] = $group['limit_usage'];\n }\n \n if (isset($_GET['account_key'])) {\n if (!$_GET['account_key'] == NULL) {\n $form['group']['container']['master_number']['#default_value'] = $_GET['account_key'];\n }\n }\n \n return $form;\n}", "function userForm($object=null,$allGroupList,$userCurrentGroup){\n \n ?>\n\n\n <!-- action is global -->\n <fieldset>\n <legend><?php if($object->getId()!=null) echo \"EDIT\"; else echo \"ADD\";?> User</legend>\n <form action=\"<?=base_path?>?page=user&update=<?=$object->getId()?>\" method=post >\n \n <!-- \n \n use updateArray in url(action) by replacing update to update only specific fields\n \n eg: action=\"<?=base_path?>?page=user&updateArray=<?=$object->getId()?>\"\n \n -->\n\n Name: \n <input type=\"text\" name=\"name\" value=\"<?=$object->getName()?>\" >\n <br><br> \n\n Email-id:<input type=\"text\" name=\"emailId\" value=\"<?=$object->getEmailId()?>\" >\n <br><br> \n\n Company:\n <input type=\"text\" name=\"company\" value=\"<?=$object->getCompany()?>\" >\n <br><br> \n\n <!-- Groups:\n \n \n <select multiple name=\"group[]\">\n \n <?php \n \n if(!empty($userCurrentGroup))\n $userCurrentGroup_array = iterator_to_array($userCurrentGroup);\n \n while($allGroupList->hasNext())\n {\n $temp_array = $allGroupList->getNext();\n \n ?>\n <option value=\"<?=$temp_array['_id']?>\" <?php if(in_array($temp_array['_id'],$userCurrentGroup_array)) { echo \"selected\"; } ?> ><?=$temp_array['name']?></option>\n \n <?php } \n ?>\n \n \n </select>\n <br><br> -->\n\n \n \n UserName:\n <input type=\"text\" name=\"userName\" value=\"<?=$object->getUserName()?>\" >\n <br><br> \n\n Password\n <input type=\"password\" name=\"password\" value=\"<?=$object->getPassword()?>\" >\n <br><br> \n\n\n\n <input type=submit name=\"addORupdate\" value=\"<?php if($object->getId()==null){ echo \"add\"; }else{ echo \"update\"; } ?>\">\n\n </form>\n\n </fieldset>\n \n \n <?php }", "public function testUpdateGroupsOfUser()\n {\n }", "private function user_edit_form($id) {\n\t\tGLOBAL $db, $MYSQL_PREFIX, $TDTRAC_SITE;\n\t\t$sql = \"SELECT u.*, groupid FROM `{$MYSQL_PREFIX}users` u, `{$MYSQL_PREFIX}usergroups` ug\" .\n\t\t\t\" WHERE u.userid = ug.userid AND u.userid = \".intval($id).\" LIMIT 1\";\n\t\t\n\t\t$result = mysql_query($sql, $db);\n\t\t$row = mysql_fetch_array($result);\n\t\t\n\t\t$form = new tdform(array(\n\t\t\t'action' => \"{$TDTRAC_SITE}json/adm/base:admin/sub:saveuser/id:{$id}/\",\n\t\t\t'id' => 'edituser'\n\t\t));\n\t\t\n\t\t$fesult = $form->addText(array(\n\t\t\t'name' => 'username',\n\t\t\t'label' => \"User Name\",\n\t\t\t'preset' => $row['username']\n\t\t));\n\t\t$fesult = $form->addText(array(\n\t\t\t'name' => 'password',\n\t\t\t'label' => \"Password\",\n\t\t\t'preset' => $row['password']\n\t\t));\n\t\t$fesult = $form->addText(array(\n\t\t\t'name' => 'payrate',\n\t\t\t'label' => \"Pay Rate\",\n\t\t\t'preset' => $row['payrate']\n\t\t));\n\t\t$fesult = $form->addText(array(\n\t\t\t'name' => 'first',\n\t\t\t'label' => \"First Name\",\n\t\t\t'preset' => $row['first']\n\t\t));\n\t\t$fesult = $form->addText(array(\n\t\t\t'name' => 'last',\n\t\t\t'label' => \"Last Name\",\n\t\t\t'preset' => $row['last']\n\t\t));\n\t\t$fesult = $form->addText(array(\n\t\t\t'name' => 'phone',\n\t\t\t'label' => \"Phone\",\n\t\t\t'preset' => $row['phone']\n\t\t));\n\t\t$fesult = $form->addText(array(\n\t\t\t'name' => 'email',\n\t\t\t'label' => \"E-Mail\",\n\t\t\t'preset' => $row['email']\n\t\t));\n\t\t$fesult = $form->addDrop(array(\n\t\t\t'name' => 'groupid', \n\t\t\t'label' => \"Group\", \n\t\t\t'options' => db_list(\"SELECT groupname, groupid FROM {$MYSQL_PREFIX}groupnames ORDER BY groupid DESC;\", array('groupid', 'groupname')),\n\t\t\t'selected' => $row['groupid']\n\t\t));\n\t\t$fesult = $form->addHidden('id', $id);\n\t\t\n\t\treturn $form->output('Save User');\n\t}", "public function edit(UserGroup $userGroup)\n {\n //\n }", "public function process_edit_user_group()\n {\n\t\t//No data -> redirected to Daftar Pegawai \n\t\tif(count($_POST) == 0){\n\t\t\tredirect('dashboard', 'location');\n\t\t}\n\t\t\n\t\t//Default value is OK. If validations fail result will change to NG.\n\t\t$output = array(\n\t\t\t'result' \t\t=> 'OK'\n\t\t);\n\t\t\n\t\t//==== Get Data ====\n\t\t$user_group\t\t= $this->security->xss_clean(strip_image_tags($this->input->post('f-eu-user-group')));\n\t\t$id_user\t\t= $this->security->xss_clean(strip_image_tags($this->input->post('f-hidden-id-user')));\n\t\t$id_user_m\t\t= $this->session->userdata('sess_user_id');\n\t\t\n\t\t//==== Update Data ====\n\t\t$data_update\t= array(\n\t\t\t\t\t\t\t\t'id_user_group'\t\t=> $user_group,\n\t\t\t\t\t\t\t\t'modified_by'\t\t=> $id_user_m,\n\t\t\t\t\t\t\t\t'modified_date'\t\t=> date(\"Y-m-d H:i:s\")\n\t\t\t\t\t\t\t);\n\t\t$sql = $this->employee_model->update_user($data_update,$id_user);\n\t\t\t\n\t\tif($sql === FALSE)\n\t\t{\n\t\t\t$output = array(\n\t\t\t\t'result' \t\t=> 'NG'\n\t\t\t);\n\t\t\t\n\t\t\t//Set session flashdata\n\t\t\t$this->session->set_flashdata('message_error', 'Terjadi kesalahan, mohon ulangi kembali.');\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//Set session flashdata\n\t\t\t$this->session->set_flashdata('message_success', 'Hak Akses telah berhasil diubah.');\n\t\t}\n\t\t\n\t\techo json_encode($output);\n\t\texit;\n\t}", "public function UserIntoGroup($idUser) { \r\n $form = new CFormUserIntoGroup($this, $idUser );\r\n if($form->Check() === false) {\r\n $this->AddMessage('notice', 'Some fields did not validate and the form could not be processed.');\r\n $this->RedirectToController('UserIntoGroup');\r\n }\r\n $this->views->SetTitle('Insert into Group');\r\n $this->views->AddInclude(__DIR__ . '/UserIntoGroup.tpl.php', array(\r\n 'profile_form'=>$form->GetHTML(),\r\n 'goBackAdmin' => $this->CreateUrl('user','profile', null),\r\n ));\r\n}", "function default_add(){\n\tglobal $assign_list, $_CONFIG, $_SITE_ROOT, $mod;\n\tglobal $core, $clsModule, $clsButtonNav;\n\t$tableName = \"user\";\n\t$classTable = \"User\";\n\t$pkeyTable = \"id\";\n\t\n\trequire_once DIR_COMMON.\"/clsForm.php\";\n\t//get _GET, _POST\n\t$pvalTable = isset($_REQUEST[$pkeyTable])? $_REQUEST[$pkeyTable] : \"\";\n\t$btnSave = isset($_POST[\"btnSave\"])? $_POST[\"btnSave\"] : \"\";\n\t//get Mode\n\t$mode = ($pvalTable!=\"\")? \"Edit\" : \"New\";\n\t//init Button\n\t$clsButtonNav->set(\"Save\", \"/icon/disks.png\", \"Save\", 1, \"save\");\n\tif ($mode==\"Edit\"){\n\t\t$clsButtonNav->set(\"New\", \"/icon/add2.png\", \"?admin&mod=$mod&act=add\",1);\n\t\t$clsButtonNav->set(\"Delete\", \"/icon/delete2.png\", \"?admin&mod=$mod&act=delete&$pkeyTable=$pvalTable\");\n\t}\n\t$clsButtonNav->set(\"Cancel\", \"/icon/undo.png\", \"?admin&mod=$mod\");\n\t//################### CHANGE BELOW CODE ###################\n\t$clsUserGroup = new UserGroup();\n\t$arrListUserGroup = $clsUserGroup->getAll();\n\t$arrOptionsUserGroup = array();\n\tif (is_array($arrListUserGroup))\n\tforeach ($arrListUserGroup as $key => $val){\n\t\t$arrOptionsUserGroup[$val[\"user_group_id\"]] = $val[\"display_name\"];\n\t}\n\t//init Form\n\t$arrPositionOptions = array(\"L\"=>\"LEFT\", \"R\"=>\"RIGHT\", \"B\"=>\"BOTTOM\", \"T\"=>\"TOP\");\n\t$arrYesNoOptions = array(\"NO\", \"YES\");\n\t$arrGenderOptions = array(\"Male\", \"Female\");\n\t$clsForm = new Form();\n\t$clsForm->setDbTable($tableName, $pkeyTable, $pvalTable);\n\t$clsForm->setTitle($core->getLang(\"User\"));\n\t$clsForm->addInputText(\"user_name\", \"\", \"User Name\", 32, 0, \"style='width:200px'\");\n\t$clsForm->addInputPassword(\"user_pass\", \"\", \"Password\", 255, 0, \"style='width:200px'\");\n\t$user_pass_hint = ($mode==\"Edit\")? \"Leave if no change password\" : \"\";\n\t$clsForm->addHint(\"user_pass\", $user_pass_hint);\n\t$clsForm->addInputText(\"full_name\", \"\", \"Full Name\", 255, 0, \"style='width:200px'\");\n\t$clsForm->addInputSelect(\"gender\", 0, \"Gender\", $arrGenderOptions, 0, \"style='font-size:10px'\");\n\t$clsForm->addInputHidden(\"reg_date\", time());\n\t$clsForm->addInputDate(\"birthday\", \"\", \"Birthday\", \"%m/%d/%Y\", 1, 0);\n\t$clsForm->addInputEmail(\"email\", \"\", \"Email\", 255, 0, \"style='width:200px'\");\n\t$clsForm->addInputSelect(\"user_group_id\", \"\", \"User Group Name\", $arrOptionsUserGroup, 0, \"style='font-size:10px'\");\n\t$clsForm->addInputSelect(\"is_ban\", 0, \"Banned?\", $arrYesNoOptions, 0, \"style='font-size:10px'\");\n\t$clsForm->addInputSelect(\"is_active\", 1, \"Is Active?\", $arrYesNoOptions, 0, \"style='font-size:10px'\");\n\t//####################### ENG CHANGE ######################\n\t//do Action\n\tif ($btnSave!=\"\"){\n\t\tif ($clsForm->validate()){\n\t\t\tif ($clsForm->saveData($mode)){\n\t\t\t\theader(\"location: ?$_SITE_ROOT&mod=$mod\");\n\t\t\t}\n\t\t}\n\t}\n\t\n\t$assign_list[\"clsModule\"] = $clsModule;\n\t$assign_list[\"clsForm\"] = $clsForm;\n\t$assign_list[$pkeyTable] = $pvalTable;\n}", "public function formUserEdit($user_id){\n // Get the user to edit\n $target_user = \\UserFrosting\\User::find($user_id);\n\n // Access-controlled resource\n if (!$this->_app->user->checkAccess('uri_users') && !$this->_app->user->checkAccess('uri_group_users', ['primary_group_id' => $target_user->primary_group_id])){\n $this->_app->notFound();\n }\n\n $get = $this->_app->request->get();\n\n if (isset($get['render']))\n $render = $get['render'];\n else\n $render = \"modal\";\n\n $render = \"panel\";\n // Get a list of all groups\n $groups = \\UserFrosting\\Group::get();\n\n // Get a list of all locales\n $locale_list = $this->_app->site->getLocales();\n\n // Determine which groups this user is a member of\n $user_groups = $target_user->getGroups();\n foreach ($groups as $group){\n $group_id = $group->id;\n $group_list[$group_id] = $group->export();\n if (isset($user_groups[$group_id]))\n $group_list[$group_id]['member'] = true;\n else\n $group_list[$group_id]['member'] = false;\n }\n\n if ($render == \"modal\")\n $template = \"components/common/user-info-modal.twig\";\n else\n $template = \"components/common/user-info-panel.twig\";\n\n $template = \"user-edit.html.twig\";\n // Determine authorized fields\n $fields = ['display_name', 'email', 'title', 'locale', 'groups', 'primary_group_id'];\n $show_fields = [];\n $disabled_fields = [];\n $hidden_fields = [];\n foreach ($fields as $field){\n if ($this->_app->user->checkAccess(\"update_account_setting\", [\"user\" => $target_user, \"property\" => $field]))\n $show_fields[] = $field;\n else if ($this->_app->user->checkAccess(\"view_account_setting\", [\"user\" => $target_user, \"property\" => $field]))\n $disabled_fields[] = $field;\n else\n $hidden_fields[] = $field;\n }\n\n // Always disallow editing username\n $disabled_fields[] = \"user_name\";\n\n // Load validator rules\n $schema = new \\Fortress\\RequestSchema($this->_app->config('schema.path') . \"/forms/user-update.json\");\n $this->_app->jsValidator->setSchema($schema);\n\n $this->_app->render($template, [\n \"box_id\" => 'box_'.$user_id,\n \"box_title\" => \"Edit User\",\n \"submit_button\" => \"Update user\",\n \"form_action\" => $this->_app->site->uri['public'] . \"/users/u/$user_id\",\n \"target_user\" => $target_user,\n \"groups\" => $group_list,\n \"locales\" => $locale_list,\n \"fields\" => [\n \"disabled\" => $disabled_fields,\n \"hidden\" => $hidden_fields\n ],\n \"buttons\" => [\n \"hidden\" => [\n \"edit\", \"enable\", \"delete\", \"activate\"\n ]\n ],\n \"user_validators\" => $this->_app->jsValidator->rules(),\n \"validators\" => $this->_app->jsValidator->rules()\n ]);\n }", "function og_ui_user_admin_role($form, $form_state, $obj_type, $oid) {\n if ($group = og_get_group($obj_type, $oid)) {\n $form['group'] = array('#type' => 'value', '#value' => $group);\n\n $rid = arg(7);\n if ($rid) {\n og_set_breadcrumb($obj_type, $oid, array(l(t('Group'), \"$obj_type/$oid/og\")), l(t('Roles'), \"og/$obj_type/$oid/admin/people/roles\"));\n\n $og_roles = og_get_group_default_roles($group->gid);\n if (in_array($rid, $og_roles)) {\n drupal_goto(\"og/$obj_type, $oid/admin/people/roles\");\n }\n // Display the edit role form.\n $role = og_user_role_load($rid);\n $form['name'] = array(\n '#type' => 'textfield',\n '#title' => t('Role name'),\n '#default_value' => $role->name,\n '#size' => 30,\n '#required' => TRUE,\n '#maxlength' => 64,\n '#description' => t('The name for this role. Example: \"moderator\", \"editorial board\", \"site architect\".'),\n );\n $form['rid'] = array(\n '#type' => 'value',\n '#value' => $rid,\n );\n $form['submit'] = array(\n '#type' => 'submit',\n '#value' => t('Save role'),\n );\n $form['delete'] = array(\n '#type' => 'submit',\n '#value' => t('Delete role'),\n );\n }\n else {\n og_set_breadcrumb($obj_type, $oid, array(l(t('Group'), \"$obj_type/$oid/og\")));\n\n $form['name'] = array(\n '#type' => 'textfield',\n '#size' => 32,\n '#maxlength' => 64,\n );\n $form['submit'] = array(\n '#type' => 'submit',\n '#value' => t('Add role'),\n );\n $form['#submit'][] = 'og_ui_user_admin_role_submit';\n $form['#validate'][] = 'og_ui_user_admin_role_validate';\n }\n return $form;\n }\n else {\n // Not a group node.\n drupal_not_found();\n exit;\n }\n}", "public function editAction( Request $request, $groupName ) {\n\t\t$group = $this->findGroupBy( 'name', $groupName );\n\n\t\t/** @var $dispatcher \\Symfony\\Component\\EventDispatcher\\EventDispatcherInterface */\n\t\t$dispatcher = $this->get( 'event_dispatcher' );\n\n\t\t$event = new GetResponseGroupEvent( $group, $request );\n\t\t$dispatcher->dispatch( FOSUserEvents::GROUP_EDIT_INITIALIZE, $event );\n\n\t\tif ( null !== $event->getResponse() ) {\n\t\t\treturn $event->getResponse();\n\t\t}\n\n\t\t/** @var $formFactory \\FOS\\UserBundle\\Form\\Factory\\FactoryInterface */\n\t\t$formFactory = $this->get( 'fos_user.group.form.factory' );\n\n\t\t$permisoEspecialOriginales = new ArrayCollection();\n\n\t\t// Crear un ArrayCollection de $permisoEspecialGrupo\n\t\tforeach ( $group->getPermisoEspecialGrupo() as $permisoEspecialGrupo ) {\n\t\t\t$permisoEspecialOriginales->add( $permisoEspecialGrupo );\n\t\t}\n\n\t\t$permisoAplicacionOriginales = new ArrayCollection();\n\n\t\t// Crear un ArrayCollection de $permisoAplicacion\n\t\tforeach ( $group->getPermisoAplicacion() as $permisoAplicacion ) {\n\t\t\t$permisoAplicacionOriginales->add( $permisoAplicacion );\n\t\t}\n\n\t\t$form = $formFactory->createForm();\n\t\t$form->setData( $group );\n\n\t\t$form->handleRequest( $request );\n\t\t$em = $this->getDoctrine()->getManager();\n\t\tif ( $form->isValid() ) {\n\n\t\t\t//elimina los permisoAplicacion\n\t\t\tforeach ( $permisoAplicacionOriginales as $permisoAplicacion ) {\n\t\t\t\tif ( false === $group->getPermisoAplicacion()->contains( $permisoAplicacion ) ) {\n\n\t\t\t\t\t$permisoAplicacion->setGrupo( null );\n\t\t\t\t\t$em->remove( $permisoAplicacion );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tforeach ( $group->getPermisoAplicacion() as $permisoAplicacion ) {\n\t\t\t\t$permisoAplicacion->setGrupo( $group );\n\t\t\t}\n\n\t\t\t//elimina los permisos especiales grupos\n\t\t\tforeach ( $permisoEspecialOriginales as $permisoEspecialGrupo ) {\n\t\t\t\tif ( false === $group->getPermisoEspecialGrupo()->contains( $permisoEspecialGrupo ) ) {\n\n\t\t\t\t\t$permisoEspecialGrupo->setGrupo( null );\n\t\t\t\t\t$em->remove( $permisoEspecialGrupo );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tforeach ( $group->getPermisoEspecialGrupo() as $permisoEspecial ) {\n\t\t\t\t$permisoEspecial->setGrupo( $group );\n\t\t\t}\n\n\n\t\t\t/** @var $groupManager \\FOS\\UserBundle\\Model\\GroupManagerInterface */\n\t\t\t$groupManager = $this->get( 'fos_user.group_manager' );\n\n\t\t\t$event = new FormEvent( $form, $request );\n\t\t\t$dispatcher->dispatch( FOSUserEvents::GROUP_EDIT_SUCCESS, $event );\n\n\t\t\t$groupManager->updateGroup( $group );\n\n\t\t\tif ( null === $response = $event->getResponse() ) {\n\t\t\t\t$url = $this->generateUrl( 'fos_user_group_show', array( 'groupName' => $group->getName() ) );\n\t\t\t\t$response = new RedirectResponse( $url );\n\t\t\t}\n\n\t\t\t$dispatcher->dispatch(\n\t\t\t\tFOSUserEvents::GROUP_EDIT_COMPLETED,\n\t\t\t\tnew FilterGroupResponseEvent( $group, $request, $response )\n\t\t\t);\n\n\t\t\treturn $response;\n\t\t}\n\n\t\treturn $this->render(\n\t\t\t'FOSUserBundle:Group:edit.html.twig',\n\t\t\tarray(\n\t\t\t\t'form' => $form->createview(),\n\t\t\t\t'group_name' => $group->getName(),\n\t\t\t)\n\t\t);\n\t}", "function og_ui_add_users($form, &$form_state, $obj_type, $oid) {\n og_set_breadcrumb($obj_type, $oid, array(l(t('Group'), \"$obj_type/$oid/og\")));\n if ($group = og_get_group($obj_type, $oid)) {\n $label = check_plain(og_entity_get_label($group->obj_type, $group->oid));\n\n $form['og_user'] = array(\n '#type' => 'fieldset',\n '#title' => t('Add a group member to %group', array('%group' => $label)),\n );\n $form['og_user']['og_add_user'] = array(\n '#type' => 'textfield',\n '#title' => t('User name'),\n '#autocomplete_path' => 'user/autocomplete',\n );\n $form['og_user']['og_add_user_state'] = array(\n '#type' => 'select',\n '#title' => t('Membership state'),\n '#options' => array(\n OG_STATE_ACTIVE => t('Active'),\n OG_STATE_PENDING => t('Pending'),\n OG_STATE_BLOCKED => t('Blocked'),\n ),\n '#description' => t('Select the state of the membership.'),\n );\n $form['op'] = array('#type' => 'submit', '#value' => t('Add users'));\n $form['group'] = array('#type' => 'value', '#value' => $group);\n return $form;\n }\n // Not a valid group node.\n drupal_not_found();\n}", "function scoopit_author_role_settings_form() {\n\n\t$userrolesArr = user_roles();\n\t$sel_role = variable_get('scoopit_author_role', '');\n\n\t$role_options=array(''=>t('--- SELECT ---'));\n\tforeach ($userrolesArr as $role){\n\t\t$role_options[$role] = $role;\n\t}\n\n\t# the values for the dropdown box\n\t$form['role_options'] = array(\n\t\t'#role' => 'value',\n\t\t'#value' => $role_options,\n\t);\n\n\t$form['scoopit_role'] = array(\n\t\t'#title' => t('Scoopit Author Role'),\n\t\t'#type' => 'select',\n\t\t'#description' => \"Select Author Role.\",\n\t\t'#options' => $form['role_options']['#value'],\n\t\t'#attributes' => array('id'=>'scoopit_role'),\n\t);\n\n\tif($sel_role!=NULL && $sel_role!='')\n\t{\n\t\t$form['scoopit_role']['#default_value'] = array( $sel_role );\n\t}\n\n\n\n\tglobal $base_path;\n\t$server_doc_root = $base_path;\n\n\t$form['dna_server_root'] = array(\n\t\t'#type' => 'hidden',\n\t\t'#attributes' => array('id'=>'dna_server_root'),\n\t\t'#value' => $server_doc_root,\n\t\t'#validated'=> TRUE,\n\t);\n\n return system_settings_form($form);\n}", "function theme_og_ui_user_admin_new_role($variables) {\n $form = $variables['form'];\n $header = array(t('Name'), array('data' => t('Operations'), 'colspan' => 2));\n // The group object.\n $group = $form['group']['#value'];\n\n $og_roles = og_get_group_default_roles($group->gid);\n\n foreach (og_user_roles($group->gid) as $rid => $name) {\n $edit_permissions = l(t('edit permissions'), 'og/' . $group->obj_type .'/' . $group->oid . '/admin/people/permissions/' . $rid);\n if (!in_array($rid, $og_roles)) {\n $rows[] = array($name, l(t('edit role'), 'og/' . $group->obj_type .'/' . $group->oid . '/admin/people/roles/edit/' . $rid), $edit_permissions);\n }\n else {\n $rows[] = array($name, t('locked'), $edit_permissions);\n }\n }\n $rows[] = array(drupal_render($form['name']), array('data' => drupal_render($form['submit']), 'colspan' => 2));\n\n $output = drupal_render_children($form);\n $output .= theme('table', array('header' => $header, 'rows' => $rows));\n\n return $output;\n}", "public function editAction() {\n\t\t$groupId = $this->getRequest()->getParam('id');\n\t\t$_model\t = Mage::getModel('wizard/group')->load($groupId);\n\n\t\tif ($_model->getId()) {\n\t\t\t$this->_title($_model->getId() ? Mage::helper('wizard')->__('Edit '). $_model->getTitle() : Mage::helper('wizard')->__('Create a Group'));\n\n\t\t\tMage::register('group_data', $_model);\n\t\t\tMage::register('current_group', $_model);\n\n\t\t\t$this->_initAction();\n\n\t\t\t$this->getLayout()->getBlock('head')->setCanLoadExtJs(true);\n\n\t\t\t$this->renderLayout();\n\t\t} else {\n\t\t\t$this->_title(Mage::helper('wizard')->__('Create a Group'));\n\n\t\t\t$_model\t = Mage::getModel('wizard/group');\n\t\t\tMage::register('group_data', $_model);\n\t\t\tMage::register('current_group', $_model);\n\n\t\t\t$this->_initAction();\n\n\t\t\t$this->getLayout()->getBlock('head')->setCanLoadExtJs(true);\n\n\t\t\t$this->renderLayout();\n\t\t}\n\t}", "public function restrictionsGroupForm() {\n\n$IPBHTML = \"\";\n//--starthtml--//\n\n$all_groups \t\t= array();\n\nforeach( $this->cache->getCache('group_cache') as $group_data )\n{\n\tif( $group_data['g_access_cp'] )\n\t{\n\t\t$all_groups[]\t= array( $group_data['g_id'], $group_data['g_title'] );\n\t}\n}\n\n$dropDown\t= $this->registry->output->formDropdown( \"entered_group\", $all_groups );\n\n$IPBHTML .= <<<HTML\n<div class='section_title'>\n\t<h2>{$this->lang->words['r_title']}</h2>\n</div>\n\n<form id='postingform' action=\"{$this->settings['base_url']}&amp;{$this->form_code}&amp;do=acpperms-group-add-complete\" method=\"post\" name=\"REPLIER\">\n<input type='hidden' name='_admin_auth_key' value='{$this->registry->getClass('adminFunctions')->_admin_auth_key}' />\n<div class='acp-box'>\n <h3>{$this->lang->words['r_selectgroup']}</h3>\n <table class='ipsTable'>\n \t<tr>\n \t<td class='field_title'><strong class='title'>{$this->lang->words['r_whatgroup']}</strong></td>\n \t<td class='field_field'>{$dropDown}</td>\n \t</tr>\n </table>\n\t<div class='acp-actionbar'><input type='submit' value='{$this->lang->words['r_proceed']}' class='realbutton' accesskey='s' /></div>\n</div>\n</form>\nHTML;\n\n//--endhtml--//\nreturn $IPBHTML;\n}", "function doAlter($confirm, $mode, $msg = '') {\n\t\tglobal $data, $misc;\n\t\tglobal $lang;\n\n\t\tif (!isset($_REQUEST['username'])) $_REQUEST['username'] = array();\n\t\tif (!isset($_REQUEST['groupname'])) $_REQUEST['groupname'] = array();\n\t\tif (!isset($_REQUEST['privilege'])) $_REQUEST['privilege'] = array();\n\t\n\t\tif ($confirm) {\n\t\t\t// Get users from the database\n\t\t\t$users = $data->getUsers();\n\t\t\t// Get groups from the database\n\t\t\t$groups = $data->getGroups();\n\t\t\n\t\t\t$misc->printTrail($_REQUEST['subject']);\n\t\t\t\n\t\t\tswitch ($mode) {\n\t\t\t\tcase 'grant':\n\t\t\t\t\t$misc->printTitle($lang['strgrant'],'pg.privilege.grant');\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'revoke':\n\t\t\t\t\t$misc->printTitle($lang['strrevoke'],'pg.privilege.revoke');\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\t$misc->printMsg($msg);\n\t\t\t\n\t\t\techo \"<form action=\\\"privileges.php\\\" method=\\\"post\\\">\\n\";\n\t\t\techo \"<table>\\n\";\n\t\t\techo \"<tr><th class=\\\"data left\\\">{$lang['strusers']}</th>\\n\";\n\t\t\techo \"<td class=\\\"data1\\\"><select name=\\\"username[]\\\" multiple=\\\"multiple\\\" size=\\\"\", min(6, $users->recordCount()), \"\\\">\\n\";\n\t\t\twhile (!$users->EOF) {\n\t\t\t\t$uname = htmlspecialchars($users->fields['usename']);\n\t\t\t\techo \"<option value=\\\"{$uname}\\\"\",\n\t\t\t\t\tin_array($users->fields['usename'], $_REQUEST['username']) ? ' selected=\"selected\"' : '', \">{$uname}</option>\\n\";\n\t\t\t\t$users->moveNext();\n\t\t\t}\n\t\t\techo \"</select></td></tr>\\n\";\n\t\t\techo \"<tr><th class=\\\"data left\\\">{$lang['strgroups']}</th>\\n\";\n\t\t\techo \"<td class=\\\"data1\\\">\\n\";\n\t\t\techo \"<input type=\\\"checkbox\\\" id=\\\"public\\\" name=\\\"public\\\"\", (isset($_REQUEST['public']) ? ' checked=\"checked\"' : ''), \" /><label for=\\\"public\\\">PUBLIC</label>\\n\";\n\t\t\t// Only show groups if there are groups!\n\t\t\tif ($groups->recordCount() > 0) {\n\t\t\t\techo \"<br /><select name=\\\"groupname[]\\\" multiple=\\\"multiple\\\" size=\\\"\", min(6, $groups->recordCount()), \"\\\">\\n\";\n\t\t\t\twhile (!$groups->EOF) {\n\t\t\t\t\t$gname = htmlspecialchars($groups->fields['groname']);\n\t\t\t\t\techo \"<option value=\\\"{$gname}\\\"\",\n\t\t\t\t\t\tin_array($groups->fields['groname'], $_REQUEST['groupname']) ? ' selected=\"selected\"' : '', \">{$gname}</option>\\n\";\n\t\t\t\t\t$groups->moveNext();\n\t\t\t\t}\n\t\t\t\techo \"</select>\\n\";\n\t\t\t}\n\t\t\techo \"</td></tr>\\n\";\n\t\t\techo \"<tr><th class=\\\"data left required\\\">{$lang['strprivileges']}</th>\\n\";\n\t\t\techo \"<td class=\\\"data1\\\">\\n\";\n\t\t\tforeach ($data->privlist[$_REQUEST['subject']] as $v) {\n\t\t\t\t$v = htmlspecialchars($v);\n\t\t\t\techo \"<input type=\\\"checkbox\\\" id=\\\"privilege[$v]\\\" name=\\\"privilege[$v]\\\"\", \n\t\t\t\t\t\t\tisset($_REQUEST['privilege'][$v]) ? ' checked=\"checked\"' : '', \" /><label for=\\\"privilege[$v]\\\">{$v}</label><br />\\n\";\n\t\t\t}\n\t\t\techo \"</td></tr>\\n\";\n\t\t\t// Grant option\n\t\t\tif ($data->hasGrantOption()) {\n\t\t\t\techo \"<tr><th class=\\\"data left\\\">{$lang['stroptions']}</th>\\n\";\n\t\t\t\techo \"<td class=\\\"data1\\\">\\n\";\n\t\t\t\tif ($mode == 'grant') {\n\t\t\t\t\techo \"<input type=\\\"checkbox\\\" id=\\\"grantoption\\\" name=\\\"grantoption\\\"\", \n\t\t\t\t\t\t\t\tisset($_REQUEST['grantoption']) ? ' checked=\"checked\"' : '', \" /><label for=\\\"grantoption\\\">GRANT OPTION</label>\\n\";\n\t\t\t\t}\n\t\t\t\telseif ($mode == 'revoke') {\n\t\t\t\t\techo \"<input type=\\\"checkbox\\\" id=\\\"grantoption\\\" name=\\\"grantoption\\\"\", \n\t\t\t\t\t\t\t\tisset($_REQUEST['grantoption']) ? ' checked=\"checked\"' : '', \" /><label for=\\\"grantoption\\\">GRANT OPTION FOR</label><br />\\n\";\n\t\t\t\t\techo \"<input type=\\\"checkbox\\\" id=\\\"cascade\\\" name=\\\"cascade\\\"\", \n\t\t\t\t\t\t\t\tisset($_REQUEST['cascade']) ? ' checked=\"checked\"' : '', \" /><label for=\\\"cascade\\\">CASCADE</label><br />\\n\";\n\t\t\t\t}\n\t\t\t\techo \"</td></tr>\\n\";\n\t\t\t}\n\t\t\techo \"</table>\\n\";\n\n\t\t\techo \"<p><input type=\\\"hidden\\\" name=\\\"action\\\" value=\\\"save\\\" />\\n\";\n\t\t\techo \"<input type=\\\"hidden\\\" name=\\\"mode\\\" value=\\\"\", htmlspecialchars($mode), \"\\\" />\\n\";\n\t\t\techo \"<input type=\\\"hidden\\\" name=\\\"subject\\\" value=\\\"\", htmlspecialchars($_REQUEST['subject']), \"\\\" />\\n\";\n\t\t\tif (isset($_REQUEST[$_REQUEST['subject'].'_oid']))\n\t\t\t\techo \"<input type=\\\"hidden\\\" name=\\\"\", htmlspecialchars($_REQUEST['subject'].'_oid'),\n\t\t\t\t\t\"\\\" value=\\\"\", htmlspecialchars($_REQUEST[$_REQUEST['subject'].'_oid']), \"\\\" />\\n\";\n\t\t\techo \"<input type=\\\"hidden\\\" name=\\\"\", htmlspecialchars($_REQUEST['subject']),\n\t\t\t\t\"\\\" value=\\\"\", htmlspecialchars($_REQUEST[$_REQUEST['subject']]), \"\\\" />\\n\";\n\t\t\tif ($_REQUEST['subject'] == 'column')\n\t\t\t\techo \"<input type=\\\"hidden\\\" name=\\\"table\\\" value=\\\"\",\n\t\t\t\t\thtmlspecialchars($_REQUEST['table']), \"\\\" />\\n\";\n\t\t\techo $misc->form;\n\t\t\tif ($mode == 'grant')\n\t\t\t\techo \"<input type=\\\"submit\\\" name=\\\"grant\\\" value=\\\"{$lang['strgrant']}\\\" />\\n\";\n\t\t\telseif ($mode == 'revoke')\n\t\t\t\techo \"<input type=\\\"submit\\\" name=\\\"revoke\\\" value=\\\"{$lang['strrevoke']}\\\" />\\n\";\n\t\t\techo \"<input type=\\\"submit\\\" name=\\\"cancel\\\" value=\\\"{$lang['strcancel']}\\\" /></p>\";\n\t\t\techo \"</form>\\n\";\n\t\t}\n\t\telse {\n\t\t\t// Determine whether object should be ref'd by name or oid.\n\t\t\tif (isset($_REQUEST[$_REQUEST['subject'].'_oid']))\n\t\t\t\t$object = $_REQUEST[$_REQUEST['subject'].'_oid'];\n\t\t\telse\n\t\t\t\t$object = $_REQUEST[$_REQUEST['subject']];\n\n\t\t\tif (isset($_REQUEST['table'])) $table = $_REQUEST['table'];\n\t\t\telse $table = null;\n\t\t\t$status = $data->setPrivileges(($mode == 'grant') ? 'GRANT' : 'REVOKE', $_REQUEST['subject'], $object,\n\t\t\t\tisset($_REQUEST['public']), $_REQUEST['username'], $_REQUEST['groupname'], array_keys($_REQUEST['privilege']),\n\t\t\t\tisset($_REQUEST['grantoption']), isset($_REQUEST['cascade']), $table);\n\n\t\t\tif ($status == 0)\n\t\t\t\tdoDefault($lang['strgranted']);\n\t\t\telseif ($status == -3 || $status == -4)\n\t\t\t\tdoAlter(true, $_REQUEST['mode'], $lang['strgrantbad']);\n\t\t\telse\n\t\t\t\tdoAlter(true, $_REQUEST['mode'], $lang['strgrantfailed']);\n\t\t}\n\t}", "public function setworkinggroupAction() {\n if ($this->getRequest()->isPost()) {\n $userId = $_SESSION['Incite']['USER_DATA']['id'];\n $groupId = $_POST['groupId'];\n\n if ($groupId == 0) {\n $user = $this->_helper->db->getTable(\"InciteUser\")->findUserById($userId);\n $user->working_group_id = $groupId;\n unset($_SESSION['Incite']['USER_DATA']['working_group']);\n\n echo 'true';\n } else {\n $groupuser = $this->_helper->db->getTable('InciteGroupsUsers')->findGroupUserByUserAndGroupIds($userId, $groupId);\n if (isset($groupuser) && $groupuser->privilege >= 0) {\n $user = $this->_helper->db->getTable(\"InciteUser\")->findUserById($groupuser->user_id);\n $user->working_group_id = $groupId;\n $_SESSION['Incite']['USER_DATA']['working_group'] = $this->_helper->db->getTable('InciteGroup')->findGroupById($groupId);\n\n echo 'true';\n\n } else {\n echo 'false';\n }\n }\n }\n }", "function bbp_edit_user_form_fields()\n{\n}", "function creator_drop_down($this_user_ID, $form_element_name = 'created_by') {\n\n\t// start the session:\n\tsession_start();\n\t// enable the DB connection:\n\tinclude 'db_conn.php';\n\n\t// now output the result:\n\n\t?>\n\t<!-- originally parsed USER ID = <?php echo $this_user_ID; ?> -->\n\t<select class=\"form-control populate\" name=\"<?php echo $form_element_name; ?>\" id=\"<?php echo $form_element_name; ?>\" data-plugin-selectTwo>\n\t\t<option value=\"0\">Select User</option>\n\t\t<?php\n\t\t// GET PART TYPE:\n\t\t$get_user_list_SQL = \"SELECT * FROM `users` WHERE `record_status` = 2\";\n\t\t// echo $get_part_type_SQL;\n\t\t$result_get_user_list = mysqli_query($con,$get_user_list_SQL);\n\t\t// while loop\n\t\twhile($row_get_user = mysqli_fetch_array($result_get_user_list)) {\n\n\t\t\t$user_ID = $row_get_user['ID'];\n\t\t\t$user_fn = $row_get_user['first_name'];\n\t\t\t$user_mn = $row_get_user['middle_name'];\n\t\t\t$user_ln = $row_get_user['last_name'];\n\t\t\t$user_name_cn = $row_get_user['name_CN'];\n\t\t\t$user_email = $row_get_user['email'];\n\t\t\t$user_level = $row_get_user['user_level'];\n\t\t\t$user_position = $row_get_user['position'];\n\t\t\t$user_last_login_date = $row_get_user['last_login_date'];\n\t\t\t$user_facebook = $row_get_user['facebook_profile'];\n\t\t\t$user_linkedin = $row_get_user['linkedin_profile'];\n\t\t\t$user_twitter = $row_get_user['twitter_profile'];\n\t\t\t$user_wechat = $row_get_user['wechat_profile'];\n\t\t\t$user_skype = $row_get_user['skype_profile'];\n\t\t\t$user_record_status = \t$row_get_user['record_status']; // should be 2\n\n\t\t?>\n\t\t\t<option value=\"<?php echo $user_ID; ?>\"<?php if ($user_ID == $this_user_ID) { ?> selected=\"selected\"<?php } ?>><?php echo $user_fn; ?> <?php echo $user_ln; if (($user_name_cn!='')&&($user_name_cn!='中文名')) { echo \" / \" . $user_name_cn; } ?></option>\n\t\t<?php\n\t\t} // end get part type loop\n\t\t?>\n\t</select>\n\t<?php\n\n\n}", "function doEdit()\n {\n assignPostIfExists($this->id, $this->rs, 'group_id');\n $student_id = SessionDataBean::getUserId();\n $res = $this->setGroupIdForStudent($student_id, $this->id);\n if ($res != self::ERR_OK)\n {\n trigger_error(\"setGroupIdForStudent() did not succeed, error $res\", E_USER_WARNING);\n }\n /* Could move to `assignSingle()` in case we need it. */\n $this->dbQuerySingle();\n $this->assign('student_group', $this->rs);\n }", "function drawGroupsForm($allowEditing=false)\r\n{\r\n$sql =\"SELECT * FROM activityGroups\";\r\n\r\n\t$result = executeQuary($sql);\r\n\tif (mysql_num_rows($result)==0)\r\n\t{\r\n\t\t?>\r\n\t\t<div class=\"QUARY_RESULT_ERROR\">\r\n\t\tאין קבוצות\r\n\t\t</div>\r\n\t\t<?php\r\n\t}\r\n\telse\r\n\t{ \r\n?>\t\t\r\n\t\t<?php if ($allowEditing) {?>\r\n\t\t<FORM method=\"POST\" name=\"GROUP_LIST_FORM\" action=\"manageGroups.php\" onsubmit=\"return confirmDelete()\">\r\n\t\t<?php } ?>\r\n\t\t<input type=\"hidden\" name=\"editGroup\" value=\"true\">\r\n\t\t<input type=\"hidden\" name=\"manageGroupsForm\" value=\"true\">\r\n\t\t<table class=list border=1>\r\n\t\t<tr class=\"TABLE_HEADER\">\r\n\t\t\t\t<?php if ($allowEditing) {?>\r\n\t\t\t\t<td>בחירה</td>\r\n\t\t\t\t<?php } ?>\r\n\t\t\t\t<td>שם קבוצה</td>\r\n\t\t\t\t<td>עיר</td>\r\n\t\t\t\t<td>רחוב</td>\r\n\t\t\t\t<td>מדריך</td>\r\n\t\t\t</tr>\r\n\t\t\t<?php \t\r\n\t\t\twhile ($myRecord = mysql_fetch_array($result))\r\n\t\t\t{\r\n\t\t\tif ($myRecord[0]<4) continue; //skip groups instructors and administrators\r\n\t\t\t?>\t\r\n\t\t\t<tr>\r\n\t\t\t\t<?php if ($allowEditing) {?>\r\n\t\t\t\t<td><INPUT NAME=\"<?php echo $myRecord[0];?>\" TYPE=\"checkbox\" value=\"<?php echo $myRecord[0];?>\"> </td>\r\n\t\t\t\t<?php } ?>\r\n\t\t\t\t<td><a href=\"javascript:GroupEditSubmit(<?php echo $myRecord[0];?>)\"><?php echo $myRecord[aGroupName];?></a><?php// echo $myRecord[aGroupName];?> </td>\r\n\t\t\t\t<td><?php echo $myRecord[City];?> </td>\r\n\t\t\t\t<td><?php echo $myRecord[Address];?> </td>\r\n\t\t\t\t<td><?php echo getGroupGuide($myRecord[0]);?></td>\r\n\t\t\t</tr>\t\r\n\t\t\t<?php\r\n\t\t\t}\t\r\n\t\t\t?>\r\n\t\t\t </table>\r\n\t\t\t<?php if ($allowEditing) {?>\r\n\t\t\t <table class=\"LIST_BUTTONS\">\r\n\t\t\t<tr>\r\n\t\t\t\t<td><INPUT TYPE=\"submit\" name=\"delete_groups\" value=\" מחק קבוצות נבחרות \"></td>\r\n\t\t\t\t<td><INPUT TYPE=\"reset\" value=\" נקה \"></td>\r\n\t\t\t</tr>\r\n\t\t\t</table>\r\n\t\t\t<?php }?>\r\n \t<?php if ($allowEditing) {?>\r\n \t</FORM>\r\n \t\r\n \t<!-- Add a new group -->\r\n <form action=\"manageGroups.php\" method=\"post\">\r\n \t\t<table>\r\n\t\t\t<tr class=\"TABLE_HEADER\">\r\n\t\t\t\t<td colspan=\"2\">הוספת קבוצה חדשה</td>\r\n\t\t\t</tr>\r\n\t\t\t<tr>\r\n\t \t\t\t<td>שם הקבוצה:</td>\r\n\t \t\t\t<td><INPUT NAME=\"groupName\" type=\"text\" ></td>\r\n\t \t\t</tr>\r\n\t \t\t<tr>\r\n\t \t\t\t<td>עיר הקבוצה:</td>\r\n\t \t\t\t<td><INPUT NAME=\"groupCity\" type=\"text\" ></td><td></td>\r\n\t \t\t</tr>\r\n\t \t\t<tr>\r\n\t \t\t\t<td>כתובת\t:</td>\r\n\t \t\t\t<td><INPUT NAME=\"groupAddress\" type=\"text\" ></td>\r\n\t \t\t</tr>\r\n\t \t\t<tr>\r\n\t \t\t\t<td><INPUT TYPE=\"submit\" name=\"add_group\" value=\" הוסף קבוצה \"></td>\r\n\t \t\t\t<td><center><INPUT TYPE=\"reset\" name=\"add_group\" value=\" נקה טופס\"></center></td>\r\n\t \t\t</tr>\r\n \t\t</table>\r\n \t</form>\r\n \t<?php }?>\r\n<?php\r\n\t}\r\n}", "public function GroupId($id) { \r\n $user = new CMUser();\r\n //echo \"<br><br>This id the id: \".$id ;\r\n $g= $user->findGrupWithID($id);\r\n $form = new CFormGroups($this, $g[0] );\r\n if($form->Check() === false) {\r\n $this->AddMessage('notice', 'Some fields did not validate and the form could not be processed.');\r\n $this->RedirectToController('groupId');\r\n }\r\n $this->views->SetTitle('Group Managing');\r\n $this->views->AddInclude(__DIR__ . '/group.tpl.php', array(\r\n 'profile_form'=>$form->GetHTML(),\r\n 'goBackAdmin' => $this->CreateUrl('user','profile', null),\r\n ));\r\n}", "public function groupForm($values)\n {\n\n $title = \"Add User(s) To District(s)\";\n\n $ctls = array(\n 'users'=>array('type'=>'combobox','label'=>'User(s)','fcol'=>'user_id','table'=>'users','display'=>'full_name','multiselect'=>true),\n 'districts'=>array('type'=>'combobox','label'=>'District(s)','fcol'=>'district_id','table'=>'districts','display'=>'district','multiselect'=>true,'value'=>$values),\n );\n\n $html = mkForm(array('controls'=>$ctls,'id'=>'user_group_form','title'=>$title,'onclick'=>'addUserGroup()','cancel'=>true));\n\n return $html;\n }", "public function edit($id)\n\t{\n\t\t$user = $this->users->findOrFail($id);\n\n\t\t$user->available_groups = $this->groups->lists('name', 'id');\n\n\t\t$user->selected_groups = $user->groups()->select('groups.id AS id')->lists('id');\n\n\t\t$this->layout->nest('content', \"platform::users.edit\", compact('user'));\n\t}", "function main_form()\n\t{\n\t\t$this->ipsclass->input['id'] = intval($this->ipsclass->input['id']);\n\t\t\n\t\tif ( ! $this->ipsclass->input['id'] )\n\t\t{\n\t\t\t$this->ipsclass->admin->error(\"No group id was passed to edit.\");\n\t\t}\n\t\t\n\t\t//-----------------------------------------\n\t\t// Get group from db\n\t\t//-----------------------------------------\n\t\t\n\t\t$this->ipsclass->DB->simple_construct( array( 'select' => 'g_id, g_title, idm_restrictions', 'from' => 'groups', 'where' => \"g_id=\".intval($this->ipsclass->input['id']) ) );\n\t\t$this->ipsclass->DB->simple_exec();\n\t\t\n\t\t$group = $this->ipsclass->DB->fetch_row();\n\t\t\n\t\t$restrictions = is_array( @unserialize( stripslashes( $group['idm_restrictions'] ) ) ) ? unserialize( stripslashes( $group['idm_restrictions'] ) ) : array();\n\t\t$group = array_merge( $group, $restrictions );\n\n\t\tif( !$group['g_id'] )\n\t\t{\n\t\t\t$this->ipsclass->admin->error(\"Group could not be found.\");\n\t\t}\n\t\t\n\t\t$this->ipsclass->admin->page_title = \"Editing Restrictions for group \".$group['g_title'];\n\t\t\n\t\t//-----------------------------------------\n\t\t// Wise words\n\t\t//-----------------------------------------\n\t\t\n\t\t$this->ipsclass->admin->page_detail = \"Please double check the information before submitting the form. All information can be 'mixed and matched' - that is, you can configure the settings you do want to use, and set those that you don't want to use to 0.\";\n\t\t\n\t\t//-----------------------------------------\n\t\t// Start form\n\t\t//-----------------------------------------\n\t\t\n\t\t$this->ipsclass->html .= $this->ipsclass->adskin->start_form( array( 1 => array( 'code' , 'save' ),\n\t\t\t\t\t\t\t\t\t\t\t\t \t\t\t 2 => array( 'act' , 'downloads' ),\n\t\t\t\t\t\t\t\t\t\t\t\t \t\t\t 3 => array( 'id' , $this->ipsclass->input['id'] ),\n\t\t\t\t\t\t\t\t\t\t\t\t \t\t\t 4 => array( 'section', $this->ipsclass->section_code ),\n\t\t\t\t\t\t\t\t\t\t\t\t \t\t\t 5 => array( 'req'\t , 'groups'\t),\n\t\t\t\t\t\t\t\t\t ) );\n\t\t\n\t\t//-----------------------------------------\n\t\t// Tbl (no ae?)\n\t\t//-----------------------------------------\n\t\t\n\t\t$this->ipsclass->adskin->td_header[] = array( \"&nbsp;\" , \"60%\" );\n\t\t$this->ipsclass->adskin->td_header[] = array( \"&nbsp;\" , \"40%\" );\n\t\t\n\t\t$this->ipsclass->html .= $this->ipsclass->adskin->start_table( \"Group Restrictions: {$group['g_title']}\" );\n\t\t\n\t\t/*\tFields:\n\t\t\t\tintval($rs['daily_bw']),\n\t\t\t\tintval($rs['daily_dl']),\n\t\t\t\tintval($rs['weekly_bw']),\n\t\t\t\tintval($rs['weekly_dl']),\n\t\t\t\tintval($rs['monthly_bw']),\n\t\t\t\tintval($rs['monthly_dl']),\n\t\t\t\tintval($rs['min_posts']),\n\t\t\t\tintval($rs['posts_per_dl']),\n\t\t*/\n\t\t\n\t\t$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( \"<b>Enable Restrictions</b><div class='graytext'>You must set this to yes to enable any restrictions on this group.</div>\" ,\n\t\t\t\t\t\t\t\t\t\t\t\t $this->ipsclass->adskin->form_yes_no(\"enabled\", $group['enabled'] )\n\t\t\t\t\t\t\t\t\t ) );\n\t\t\t\t\t\t\t\t\t \n\t\t$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( \"<b>Maximum Simultaneous Downloads</b><div class='graytext'>Number of files a particular user can download at the same time.</div>\" ,\n\t\t\t\t\t\t\t\t\t\t\t\t $this->ipsclass->adskin->form_input(\"limit_sim\", $group['limit_sim'] )\n\t\t\t\t\t\t\t\t\t ) );\n\t\t\t\t\t\t\t\t\t \n\t\t$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( \"<b>How many posts required to download?</b><div class='graytext'>If you wish to require members in this group to have a certain number of posts before they can download, set it here.</div>\" ,\n\t\t\t\t\t\t\t\t\t\t\t\t $this->ipsclass->adskin->form_input(\"min_posts\", $group['min_posts'] )\n\t\t\t\t\t\t\t\t\t ) );\n\t\t\t\t\t\t\t\t\t \n\t\t$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( \"<b>How many posts per download?</b><div class='graytext'>If you wish to require members in this group to post a certain number of posts in between each download, set it here.</div>\" ,\n\t\t\t\t\t\t\t\t\t\t\t\t $this->ipsclass->adskin->form_input(\"posts_per_dl\", $group['posts_per_dl'] )\n\t\t\t\t\t\t\t\t\t ) );\n\t\t\t\t\t\t\t\t\t \n\t\t$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( \"<b>Maximum bandwidth usage per day?</b><div class='graytext'>If you wish to limit the amount of bandwidth each user can use (on a daily basis), enter the amount (in kB).</div>\" ,\n\t\t\t\t\t\t\t\t\t\t\t\t $this->ipsclass->adskin->form_input(\"daily_bw\", $group['daily_bw'] )\n\t\t\t\t\t\t\t\t\t ) );\n\t\t\t\t\t\t\t\t\t \n\t\t$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( \"<b>Maximum bandwidth usage per week?</b><div class='graytext'>If you wish to limit the amount of bandwidth each user can use (on a weekly basis), enter the amount (in kB).</div>\" ,\n\t\t\t\t\t\t\t\t\t\t\t\t $this->ipsclass->adskin->form_input(\"weekly_bw\", $group['weekly_bw'] )\n\t\t\t\t\t\t\t\t\t ) );\n\t\t\t\t\t\t\t\t\t \n\t\t$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( \"<b>Maximum bandwidth usage per month?</b><div class='graytext'>If you wish to limit the amount of bandwidth each user can use (on a monthly basis), enter the amount (in kB).</div>\" ,\n\t\t\t\t\t\t\t\t\t\t\t\t $this->ipsclass->adskin->form_input(\"monthly_bw\", $group['monthly_bw'] )\n\t\t\t\t\t\t\t\t\t ) );\n\t\t\t\t\t\t\t\t\t \n\t\t$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( \"<b>Maximum downloads per day?</b><div class='graytext'>Do you wish to limit the number of files each user can download (on a daily basis)?</div>\" ,\n\t\t\t\t\t\t\t\t\t\t\t\t $this->ipsclass->adskin->form_input(\"daily_dl\", $group['daily_dl'] )\n\t\t\t\t\t\t\t\t\t ) );\n\t\t\t\t\t\t\t\t\t \n\t\t$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( \"<b>Maximum downloads per week?</b><div class='graytext'>Do you wish to limit the number of files each user can download (on a weekly basis)?</div>\" ,\n\t\t\t\t\t\t\t\t\t\t\t\t $this->ipsclass->adskin->form_input(\"weekly_dl\", $group['weekly_dl'] )\n\t\t\t\t\t\t\t\t\t ) );\n\t\t\t\t\t\t\t\t\t \n\t\t$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( \"<b>Maximum downloads per month?</b><div class='graytext'>Do you wish to limit the number of files each user can download (on a monthly basis)?</div>\" ,\n\t\t\t\t\t\t\t\t\t\t\t\t $this->ipsclass->adskin->form_input(\"monthly_dl\", $group['monthly_dl'] )\n\t\t\t\t\t\t\t\t\t ) );\n\t\t\n\t\t$this->ipsclass->html .= $this->ipsclass->adskin->end_form( 'Update' );\n\t\t\t\t\t\t\t\t\t\t \n\t\t$this->ipsclass->html .= $this->ipsclass->adskin->end_table();\n\t\t\n\t\t$this->ipsclass->admin->output();\n\t\t\t\n\t}" ]
[ "0.67952704", "0.6739243", "0.67271703", "0.6540169", "0.6494687", "0.64562213", "0.6422052", "0.64086026", "0.63442343", "0.619727", "0.6170033", "0.614136", "0.6129958", "0.61099446", "0.6099197", "0.6097535", "0.6037274", "0.60129356", "0.5951906", "0.5943115", "0.59340686", "0.5930334", "0.5925876", "0.59203297", "0.5913794", "0.59065175", "0.58888876", "0.58840925", "0.5882915", "0.58745736" ]
0.73330384
0
end method Puts a link to the list of groups on the front end
public function _public_group_list_link() { $this_page = url::current(); $menu = "<li><a href=\"".url::site()."simplegroups/groups\" "; $menu .= ( strpos($this_page, "simplegroups") !== false) ? " class=\"active\"" : ""; $menu .= ">GROUPS</a></li>"; echo $menu; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function call_grouplist() {\n $data['title'] = $this->data['meta_title'];\n $data['favicon'] = $this->data['favicon'];\n \n $data['view'] = 'rbac/group/view';\n $this->load->view('main_template', $data);\n }", "public function groups() {\n $b[] = array('href' => site_url('auth/admin/groups'), 'name' => _t('Grupy'));\n $this->get_breadcrumb(_t('Grupy uprawnień'), $b);\n\n $this->load->helper('table');\n $data = array();\n\n $data['groups'] = $this->aauth->list_groups();\n $this->theme->load('groups', $data);\n }", "public function actionGroups()\n {\n $directoryModule = Yii::$app->getModule('directory');\n\n if (!$directoryModule->isGroupListingEnabled()) {\n return $this->redirect(['/directory/directory/members']);\n }\n\n $groups = Group::getDirectoryGroups();\n\n Event::on(Sidebar::class, Sidebar::EVENT_INIT, function ($event) {\n $event->sender->addWidget(GroupStatistics::class, [], ['sortOrder' => 10]);\n });\n\n return $this->render('groups', [\n 'groups' => $groups,\n ]);\n }", "private function groups() {\n\t\tGLOBAL $db, $MYSQL_PREFIX, $TDTRAC_SITE, $HEAD_LINK;\n\t\t$perm_sql = \"SELECT groupname, permid FROM `{$MYSQL_PREFIX}groupnames` gn, `{$MYSQL_PREFIX}permissions` pm WHERE pm.groupid = gn.groupid AND pm.permcan = 1 ORDER BY groupname, permid\";\n\t\t$perm_res = mysql_query($perm_sql, $db);\n\t\twhile ( $row = mysql_fetch_array($perm_res) ) {\n\t\t\t$disperm[$row['groupname']][$row['permid']] = true;\n\t\t}\n\t\t\n\t\t$sql = \"SELECT `groupname`, `groupid` FROM `{$MYSQL_PREFIX}groupnames` ORDER BY groupid\";\n\t\t$groups = db_list($sql, array('groupid', 'groupname'));\n\t\t\n\t\t\n\t\t$list = new tdlist(array('id' => 'grouplist', 'inset' => true));\n\t\t\n\t\t$img = \"<img src='/images/perm-%s.png' title='Add' /><img src='/images/perm-%s.png' title='Edit' /><img src='/images/perm-%s.png' title='View' />\";\n\t\t$perms = \"<pre><strong>Shows : </strong>{$img}<br />\";\n\t\t$perms .= \"<strong>Budget : </strong>{$img}<br />\";\n\t\t$perms .= \"<strong>Payroll : </strong>{$img}<br />\";\n\t\t$perms .= \"<strong>Todo : </strong>{$img}<br />\";\n\t\t$perms .= \"<strong>Memebers : </strong>%s</pre>\";\n\t\t\n\t\t$list->setFormat(\"<a class='group-menu' data-id='%d' href='#'><h3>%s</h3><p>{$perms}</p></a>\");\n\t\t\n\t\tforeach ( $groups as $group ) {\n\t\t\t$permtext = array();\n\t\t\t$members = array();\n\t\t\tforeach ( $this->perms_avail as $cp ) {\n\t\t\t\tif ( $disperm[$group[1]][$cp] ) { \n\t\t\t\t\t$permtext[] = 'ya';\n\t\t\t\t} else {\n\t\t\t\t\t$permtext[] = 'no';\n\t\t\t\t}\n\t\t\t}\n\t\t\t$sql = \"SELECT u.username FROM `{$MYSQL_PREFIX}users` u, `{$MYSQL_PREFIX}groupnames` gn, `{$MYSQL_PREFIX}usergroups` ug WHERE gn.groupname = '{$group[1]}' AND gn.groupid = ug.groupid AND ug.userid = u.userid ORDER BY username ASC\";\n\t\t\t$result = mysql_query($sql, $db);\n\t\t\tif ( mysql_num_rows($result) < 1 ) { \n\t\t\t\t$members[] = \"<em>N/A</em>\";\n\t\t\t} else {\n\t\t\t\twhile ( $mrow = mysql_fetch_array($result) ) {\n\t\t\t\t\t$members[] = $mrow['username'];\n\t\t\t\t}\n\t\t\t}\n\t\t\t$list->addRow(array_merge(array($group[0], $group[1].\" (\".$group[0].\")\"),$permtext,array(join(', ', $members))));\n\t\t}\n\t\t$list->addRaw(\"<li data-theme='c'><a data-id='0' class='group-add' href='#'><h3>Add Group</h3></a></li>\");\n\t\treturn $list->output();\n\t\t\n\t\t$form1 = new tdform(\"{$TDTRAC_SITE}admin/groups/\", 'form1', 1, 'genform', 'Add Group');\n\t\t$result = $form1->addText('newgroup', \"Group Name\");\n\t\t$html = $form1->output(\"Add Group\");\n\t\t\n\t\t$form2 = new tdform(\"{$TDTRAC_SITE}admin/groups/\", 'form2', $form1->getlasttab(), 'genform2', 'Rename Group');\n\t\t$sql = \"SELECT `groupname`, `groupid` FROM `{$MYSQL_PREFIX}groupnames` WHERE `groupid` > 1 ORDER BY groupid\";\n\t\t$result = $form2->addDrop('oldname', \"Current Name\", null, db_list($sql, array('groupid', 'groupname')), False);\n\t\t$result = $form2->addText('newname', \"New Name\");\n\t\t$html = array_merge($html, $form2->output('Rename Group'));\n\t\treturn $html;\n\t}", "public function getListGroup(){\n\n $list = new ItemList(array(\n 'id' => 'h-connect-group-list',\n 'model' => 'HDirectoryGroup',\n 'action' => App::router()->getUri('h-connect-group-list'),\n 'reference' => 'id',\n 'filter' => new DBExample(array(\n 'userId' => App::session()->getUser()->id,\n )),\n 'controls' => array(\n array(\n 'icon' => 'plus',\n 'label' => Lang::get($this->_plugin . '.btn-add-group-label'),\n 'class' => 'btn-success',\n 'href' => App::router()->getUri('h-connect-group-edit', array('groupId' => 0)),\n 'target' => 'dialog',\n )\n ),\n 'fields' => array(\n 'actions' => array(\n 'independant' => true,\n 'search' => false,\n 'sort' => false,\n 'display' => function($value, $field, $group){\n\n return Icon::make(array(\n 'icon' => 'wrench',\n 'size' => 'lg',\n 'href' => App::router()->getUri('h-connect-group-edit', array('groupId' => $group->id)),\n 'title' => Lang::get($this->_plugin . '.list-edit-group'),\n 'target' => 'dialog',\n ));/* .\n\n Icon::make(array(\n 'icon' => 'times-circle',\n 'size' => 'lg',\n 'class' => 'text-danger delete-group',\n 'data-group' => $group->id,\n 'title' => Lang::get($this->_plugin . '.list-remove-group'),\n ));*/\n }\n ),\n 'name' => array(\n 'label' => Lang::get($this->_plugin . '.group-name-label'),\n 'href' => function($value, $field, $group) {\n return App::router()->getUri('h-connect-group-edit', array('groupId' => $group->id));\n },\n 'target' => 'dialog',\n ),\n\n 'description' => array(\n 'label' => Lang::get($this->_plugin . '.group-description-label'),\n 'display' => function($value){\n $maxLength = 150;\n $value = strip_tags($value);\n if(strlen($value) > $maxLength){\n return substr($value, 0, $maxLength - 4) . ' ...';\n }\n else{\n return $value;\n }\n },\n ),\n\n 'contacts' => array(\n 'label' => Lang::get($this->_plugin . '.group-preview-label'),\n 'independant' => true,\n 'search' => false,\n 'sort' => false,\n 'display' => function($value, $filed, $group){\n $contacts = HGroupContact::getAllContactByGroupId($group->id);\n\n return View::make(Plugin::current()->getView('list-contacts-group.tpl'), array(\n 'contacts' => $contacts\n ));\n },\n ),\n\n )\n ));\n\n if(!$list->isRefreshing()) {\n $this->addJavaScript(Plugin::current()->getJsUrl('group.js'));\n $this->addKeysToJavaScript($this->_plugin . '.delete-group-confirmation');\n }\n\n return $list->display();\n }", "public function actionGroupList()\n {\n if( ! $this->request->isAjax) {\n // 渲染页面\n return $this->render('group-list');\n }\n $params = $this->request->post();\n $params['deleted_at'] = '0';\n $query = AdminRole::filters(['identity', ['title', 'like'], 'deleted_at'], $params)->andWhere(['!=', 'id', '1']);\n $pagination = Render::pagination((clone $query)->count());\n $data['infos'] = $query->orderBy('id desc')->offset($pagination->offset)->limit($pagination->limit)->asArray()->all();\n $data['page'] = Render::pager($pagination);\n return $this->json($data);\n }", "public function index()\n {\n $group = AdminGroup::all();\n $result = array(\n 'list' => $group,\n 'page_header' => 'List of Group',\n );\n return view('admin.group.list', compact('result'));\n }", "function displayGroups() {\n $groups = $this->getUserGroups();\n $str = \"\";\n if ($groups->count() == 0) {\n return $str;\n }\n $str .= '<ul class=\"list\">';\n foreach($groups as $thegroup) {\n $str .= \"<li>\".$thegroup->getGroup()->getName().\"</li>\"; \n }\n $str .= \"</ul>\";\n return $str; \n }", "public function renderGroupList()\n\t{\n\t\t$obj = new LeoSliderGroup();\n\t\t$id_shop = $this->context->shop->id;\n\t\t$groups = $obj->getGroups(null, $id_shop);\n\n\t\tforeach ($groups as $key => $group)\n\t\t{\n\t\t\tif ($group['id_leosliderlayer_groups'] == Tools::getValue(\"id_group\") || (!Tools::getValue(\"id_group\") && !Tools::isSubmit(\"addNewGroup\") && $group['id_leosliderlayer_groups'] == Configuration::get('LEOSLIDERLAYER_GROUP_DE'))) {\n\t\t\t\t$this->_currentGroup[\"id_group\"] = $group['id_leosliderlayer_groups'];\n\t\t\t\t$this->_currentGroup[\"title\"] = $group['title'];\n\n\t\t\t\t$params = Tools::jsonDecode(SliderLayer::base64Decode($group[\"params\"]), true);\n\t\t\t\tif ($params)\n\t\t\t\t\t$groupResult = array();\n\t\t\t\t\tforeach ($params as $k => $v)\n\t\t\t\t\t{\n\t\t\t\t\t\t$groupResult[$k] = $v;\n\t\t\t\t\t}\n\t\t\t\t$groupResult[\"title\"] = $group[\"title\"];\n\t\t\t\t$groupResult[\"id_leosliderlayer_groups\"] = $group[\"id_leosliderlayer_groups\"];\n\t\t\t\t$groupResult[\"id_shop\"] = $group[\"id_shop\"];\n\t\t\t\t$groupResult[\"hook\"] = $group[\"hook\"];\n\t\t\t\t$groupResult[\"active\"] = $group[\"active\"];\n\n\t\t\t\tif ($groupResult)\n\t\t\t\t\t$this->groupData = array_merge($this->groupData, $groupResult);\n\t\t\t}\n\n\t\t\t$groups[$key]['status'] = $this->displayGStatus($group['id_leosliderlayer_groups'], $group['active']);\n\t\t}\n\t\t$this->context->smarty->assign(array(\n\t\t\t'link' => $this->context->link,\n\t\t\t'groups' => $groups,\n\t\t\t'curentGroup' => $this->_currentGroup[\"id_group\"],\n\t\t\t'languages' => $this->context->controller->getLanguages(),\n\t\t\t'exportLink' => Context::getContext()->link->getAdminLink('AdminLeoSliderLayer') . \"&ajax=1&exportGroup=1\",\n\t\t\t'previewLink' => Context::getContext()->link->getModuleLink($this->name, 'preview', array('secure_key' => $this->secure_key)),\n\t\t\t'msecure_key' => $this->secure_key\n\t\t));\n\n\t\treturn $this->display(__FILE__, 'grouplist.tpl');\n\t}", "public function index()\n {\n $module = Module::get('Groups');\n $user = User::get();\n \n if(Module::hasAccess($module->id)) {\n return View('la.groups.index', [\n 'show_actions' => $this->show_action,\n 'listing_cols' => Module::getListingColumns('Groups'),\n 'module' => $module,\n 'user' => $user\n ]);\n } else {\n return redirect(config('laraadmin.adminRoute') . \"/\");\n }\n }", "public function indexAction()\n {\n $groupings = $this->flattenList($this->objects);\n $this->view->assignMultiple(\n [\n 'titles' => $groupings,\n 'linkAction' => $this->configuration['linkAction'],\n 'linkController' => $this->configuration['linkController'],\n 'linkPluginName' => $this->configuration['linkPluginName']\n ]\n );\n }", "public function index()\n {\n\n $groups = $this->groupRepository->getAllWithPaginate($this->nbrPerPage);\n $links = $groups->setPath('')->render();\n\n return view('contents.groups.group_index', compact('groups', 'links'));\n }", "public function groupAction() {\n\t\t$gid = $this->_request->getParam('gid');\n\t\t$ds = Zend_Registry::get('ds');\n\t\t$group = $ds->getGroup($gid);\n\t\t$this->view->group = $group;\n\t\t\n\t\t$groupname = $gid;\n\t\t$config = Zend_Registry::get('config');\n\n\t\t$groupname = $this->getGroupName($gid);\n\t\t\t\n\t\t$roomFinder = new PblRooms();\n \t$this->view->roomname = $roomFinder->getPblRoom($gid);\n\n\t\t$this->view->groupname = $groupname;\n\t\t$users = array();\n\t\tforeach($group['members'] as $member) {\n\t\t\t//$memberdetails = $ds->getUser($member);\n\t\t\t$memberdetails = LdapCache::getUserDetails($member);\n\t\t\tif(!strncmp($memberdetails['givenname'][0],'Virtual',6))\n\t\t\t\tcontinue;\n\t\t\tif($memberdetails['uid'][0]=='smpbind')\n\t\t\t\tcontinue;\n\t\t\t\n\t\t\t$users[$this->sortkey($memberdetails)] = $memberdetails;\n\t\t}\n\t\tuksort($users,'strnatcasecmp');\n\t\t$this->view->members = $users;\n\t\t$uids = array();\n\t\tforeach($users as $user) {\n\t\t\t$uids[] = $user['uid'][0];\n\t\t}\n\t\tStudentResourceService::prepStudentResourceView($this, $this->_request, null, $uids);\t\t\n\t\t\n\t}", "function add_group() {\r\n\r\n\t\tgreen::$watches['pageHeading'] = 'Create template group';\r\n\r\n\t\tgreen::$watches['toggleSidebar'] = TRUE;\r\n\r\n\t\t\r\n\r\n\t\t$this->display('templates/add_group');\r\n\r\n\t}", "public function renderList()\n {\n $this->table = 'ag_group';\n $this->list_id = 'ag_group';\n $this->identifier = 'id_ag_group';\n $this->className = 'AggregateCombinationGroup';\n $this->_defaultOrderBy = 'position';\n\n $this->addRowAction('edit');\n $this->addRowAction('delete');\n $this->addRowAction('details');\n $this->bulk_actions = array(\n 'delete' => array(\n 'text' => $this->trans('Delete selected'),\n 'confirm' => $this->trans('Delete selected items?')\n )\n );\n $this->fields_list = array(\n 'id_ag_group' => array(\n 'title' => $this->trans('ID'),\n 'align' => 'center',\n 'width' => 25\n ),\n 'name' => array(\n 'title' => $this->trans('Name'),\n 'width' => 'auto',\n ),\n 'position' => array(\n 'title' => $this->trans('Position'),\n 'width' => 70,\n 'align' => 'center',\n 'position' => 'position',\n 'filter_key' => 'a!position',\n ),\n 'active' => array(\n 'title' => $this->trans('Active'),\n 'width' => 'auto',\n ),\n );\n\n $lists = parent::renderList();\n parent::initToolbar();\n return $lists;\n }", "public function index()\n {\n $groups = Group::getGroupDetails();\n return view('admin.groups.index')->with('groups', $groups);\n \n }", "public function index()\n {\n $groups = Group::paginate(20);\n\n return view('admin.groups.index', ['groups' => $groups]);\n }", "public function index()\n\t{\n\t\t$groups = Group::all();\n\n\t\treturn view('admin.groups.index')->with('groups', $groups);\n\n\n\t\t// $g1 = new Group();\n\t\t// $g1-> name = 'g1';\n\t\t// $g1-> save();\n\n\t\t// $g2 = new Group();\n\t\t// $g2-> name = 'g2';\n\t\t// $g2-> save();\n\n\n\t\t// $g1 -> groups()->attach([1,2]);\n\n\t\t// $g2 -> groups()->attach([3,4]);\n\n\n\t\t// $g3 = new Group();\n\t\t// $g3->name = 'g3';\n\t\t// $g3->save();\n\n\t\t// $g3->groups()->attach([1,2]);\n\t\t// $g = Group::find(3);\n\n\t\t// foreach ($g->groups as $member) {\n\t\t// \tdd($member->groups);\n\t\t// \tprint_r();\n\t\t// }\n\n\n\t\t// $g4 = Group::find(4);\n\t\t// $g4->groups()->detach();\n\t\t// $g4->groups()->attach(3);\n\t\t// $g4->groups()->attach(1);\n\n\t\t// $c = Category::find(3);\n\n\t\t// echo (json_encode($c->belongs));\n\t}", "public function index()\n {\n //\n\t\t$groups = group::orderBy('id','desc')->get();\n\t\t\n\t\t\n\t\treturn view('admin.group.index',['groups'=>$groups]);\n }", "public function index()\n {\n $groups = Group::all();\n return view('admin.pages.groups.groups',['groups'=>$groups]);\n }", "function nt_display_groups( ) {\n\n\tglobal $debug;\n\tglobal $wpdb;\n\n\t$group_table_name = $wpdb->prefix . \"group\";\n\t$query = \"SELECT * FROM $group_table_name\"; /* KBL todo: add for this user */\n\t$allgroups = $wpdb->get_results( $query );\n\n\tnt_create_group_table_header(); \n\tnt_create_group_add_row( /* $group_name */ );\n\n\tif ( $allgroups ) {\n\t\tforeach ( $allgroups as $thisgroup ) {\n\t\t\tnt_create_group_table_row( $thisgroup );\n\t\t}\n\t} else { \n\t\t?><h3>No groups. Add one!</h3><?php\n\t}\n\t\t\t\n\tnt_create_group_table_footer(); // end the table\n}", "public function render()\n {\n parent::render();\n\n $soxId = $this->getEditObjectId();\n $sSelGroup = oxRegistry::getConfig()->getRequestParameter(\"selgroup\");\n\n $sViewName = getViewName(\"oxgroups\", $this->_iEditLang);\n // all usergroups\n $oGroups = oxNew(\"oxlist\");\n $oGroups->init('oxgroups');\n $oGroups->selectString(\"select * from {$sViewName}\");\n\n $oRoot = new oxGroups();\n $oRoot->oxgroups__oxid = new oxField(\"\");\n $oRoot->oxgroups__oxtitle = new oxField(\"-- \");\n // rebuild list as we need the \"no value\" entry at the first position\n $aNewList = array();\n $aNewList[] = $oRoot;\n\n foreach ($oGroups as $val) {\n $aNewList[$val->oxgroups__oxid->value] = new oxGroups();\n $aNewList[$val->oxgroups__oxid->value]->oxgroups__oxid = new oxField($val->oxgroups__oxid->value);\n $aNewList[$val->oxgroups__oxid->value]->oxgroups__oxtitle = new oxField($val->oxgroups__oxtitle->value);\n }\n\n $oGroups = $aNewList;\n\n if (isset($soxId) && $soxId != \"-\") {\n $oDelivery = oxNew(\"oxdelivery\");\n $oDelivery->load($soxId);\n\n //Disable editing for derived articles\n if ($oDelivery->isDerived()) {\n $this->_aViewData['readonly'] = true;\n }\n }\n\n $this->_aViewData[\"allgroups2\"] = $oGroups;\n\n $iAoc = oxRegistry::getConfig()->getRequestParameter(\"aoc\");\n if ($iAoc == 1) {\n $oDeliveryUsersAjax = oxNew('delivery_users_ajax');\n $this->_aViewData['oxajax'] = $oDeliveryUsersAjax->getColumns();\n\n return \"popups/delivery_users.tpl\";\n } elseif ($iAoc == 2) {\n $oDeliveryGroupsAjax = oxNew('delivery_groups_ajax');\n $this->_aViewData['oxajax'] = $oDeliveryGroupsAjax->getColumns();\n\n return \"popups/delivery_groups.tpl\";\n }\n\n return \"delivery_users.tpl\";\n }", "public function setUserGroups(){\r\n $groups = '';\r\n $groupChunkName = $this->modx->getOption('groupListChunkName', $this->props, 'sbsGroupListTpl');\r\n $groupList = $this->modx->getChunk($groupChunkName);\r\n if (!empty($groupList)) {\r\n\r\n $src = '<script type=\"text/javascript\">\r\nfunction nf_insert_group(group) {\r\n var text = document.getElementById(\"nf_groups\").value;\r\n if (text.indexOf(group) != -1) {\r\n text= text.replace(\",\" + group + \",\",\",\" );\r\n text = text.replace(group + \",\",\"\");\r\n text = text.replace(\",\" + group,\"\");\r\n text = text.replace(group,\"\");\r\n } else {\r\n if (text) {\r\n text = text + \",\" + group;\r\n } else {\r\n text = group;\r\n }\r\n }\r\n var groupArray = text.split(\",\");\r\n groupArray.sort();\r\n text = groupArray.join(\",\");\r\n document.getElementById(\"nf_groups\").value = text;\r\n return false;\r\n }\r\n</script>';\r\n\r\n $this->modx->regClientStartupScript($src);\r\n $groups = '<p>';\r\n $groupArray = explode('||', $groupList);\r\n natcasesort($groupArray);\r\n $i = 0;\r\n foreach ($groupArray as $t) {\r\n\r\n $pos = strpos($t, '==');\r\n $group = $pos\r\n ? substr($t, $pos + 2)\r\n : $t;\r\n $group = trim($group);\r\n $groups .= '<button name=\"button' . $i . '\" id=\"button' . $i .\r\n '\" type=\"button\" class=\"nf_group\" onclick=\"nf_insert_group(' .\r\n \"'\" . $group . \"'\" . ');\"' . '\">' . $group . \"</button>\\n\";\r\n $i++;\r\n }\r\n $groups .= '</p>';\r\n }\r\n $this->modx->setPlaceholder('nf_group_list', $groups);\r\n }", "public function listGroupsCommand()\n {\n $validAttributes = $this->settings['additionalAttributes']['group'];\n $headerRow = ['Name', 'Description'];\n\n foreach ($validAttributes as $attribute) {\n $headerRow[] = $this->translator->translateById('attribute.' . $attribute, [], null, null, 'CrowdApi',\n 'Neos.NeosIo');\n }\n\n $groups = $this->crowdApiConnector->fetchGroups(false);\n $tableRows = array_map(function ($item) use ($validAttributes) {\n $attributes = [\n $item['name'],\n $item['description'],\n ];\n\n foreach ($validAttributes as $attribute) {\n $attributes[] = array_key_exists($attribute, $item) ? $item[$attribute] : '';\n }\n return $attributes;\n }, $groups);\n\n $this->output->outputTable($tableRows, $headerRow);\n }", "function ajax_get_nav_group_list() {\n\nif( ! wp_verify_nonce( $_POST['Nonce'],'sibson_nonce')) die ('Sorry there was a problem, please try again later!');\nglobal $current_user;\n\tget_currentuserinfo();\n\t\n\tif ($_POST['query']){\n\t\n\tif($_POST['query']==\"new_entrants\"){\n\t$query = \"and team = 'New Entrants'\";\t\n\t}\n\telse if($_POST['query']==\"year_two\"){\n\t$query = \"and team = 'Year 2'\";\t\n\t}\n\telse if($_POST['query']==\"senior\"){\n\t$query = \"and team = 'Senior'\";\t\n\t}\n\t\n\telse if($_POST['query']==\"middle\"){\n\t$query = \"and team = 'Middle'\";\t\n\t}\n\t\n\t$type = '';\t\n\t}\n\telse {\n\t$query = \"\";\n\t$type = \"groups\";\t\t\n\t}\n\t\n$list = new GroupList($current_user->ID, $type, $query );\n\n\necho $list->menuList('link');\n\n\t// IMPORTANT: don't forget to \"exit\"\n\tdie();\nexit;\n}", "public function index()\n {\n return view('admin.groups.index');\n }", "public function index()\n {\n return view('admin::groups.index')->with('groups', $this->groupService->getAll());\n }", "function get_groups(){\r\n\t$grps = Group::getListByUserId($_SESSION['personId']);\r\n\t$a = sizeof($grps);\r\n\t settype($a, \"integer\");\r\n\t $html1 ='';\r\n\t $html2 ='';\r\n\t for($i=0;$i<$a/2;$i++){\r\n\t $img= $grps[$i]['icon_link'];\r\n\t $id= $grps[$i]['id'];\r\n\t \r\n\t $html1.= '<a href=\"backend/main.php?id='.urlencode($id).'&action=viewGroup\" class=\"detail\">';\r\n\t $html1.= '<img class=\"pics\" src=\"'.$img.'\" /></a>';\r\n\t\r\n\t }\r\n\t $b=($a/2)+1;\r\n\t for($i=$b;$i<$a;$i++){\r\n\t $img= $grps[$i]['icon_link'];\r\n\t $id= $grps[$i]['id'];\r\n\t \r\n\t $html2.= '<a href=\"backend/main.php?id='.urlencode($id).'&action=viewGroup\" class=\"detail\">';\r\n\t $html2.= '<img class=\"pics\" src=\"'.$img.'\" /></a>';\r\n\t }\r\n\t $a= array();\r\n\t $a[0]= $html1; $a[1]= $html2;\r\n\t return $a;\r\n\t }", "function phptemplate_group_list($groups) {\n\t$out = '';\n\n\tforeach($groups as $g) {\n\t\t$out .= '<div class=\"group-list-item\">' . phptemplate_group_list_item($g) . '</div>';\n\t}\n\n\treturn $out;\n}", "public function actionManagergroups(){\r\n \\Yii::$app->view->title = \"Gerenciar Grupos\";\r\n \\Yii::$app->view->params['title-page'] = 'Gerenciador de grupos administrativos';\r\n \\Yii::$app->view->params['breadcrumbs-links'] =[['label'=>'Gerenciador de grupos administrativos',]];\r\n /*END: Define atributos da pagina*/\r\n $model = new AdmGruposSearch;\r\n $dataProvider = $model->search(Yii::$app->request->queryParams);\r\n return $this->render('managergroups',[\r\n 'model'=>$model,\r\n 'dataProvider'=>$dataProvider\r\n ]);\r\n }" ]
[ "0.78419363", "0.7817577", "0.7333467", "0.7169253", "0.7147876", "0.706196", "0.70199364", "0.70030046", "0.69427615", "0.689547", "0.684702", "0.6802875", "0.6798574", "0.6775257", "0.6773916", "0.67625815", "0.67028284", "0.67019224", "0.6688463", "0.6687409", "0.6686061", "0.6681999", "0.665597", "0.66183937", "0.66183513", "0.660376", "0.6596826", "0.6589559", "0.65834975", "0.6569842" ]
0.7985736
0
end of _give_credit() Used to run give credit, but formated with categories
public function _give_credit_front_end() { $this->_give_credit(true); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function processQuickCredit();", "function process_categories()\n {\n }", "function all_benefits_loop($args)\n{\n\ttry\n\t{\n\t\t$TAXONOMY = 'partner_categories';\n\t\t$POST_TYPE = 'partner'; \n\n\t\tif(is_admin())\n\t\t\treturn;\n\t\t$term = validate_term($args['category'],$TAXONOMY);\n\t\t$childTerms = get_term_children((int)$term->term_id,$TAXONOMY);\n\n\t\tif(is_wp_error($childTerms) || count($childTerms) <= 0)\n\t\t\tthrow new Exception(\"No child terms found!\");\n\n\t\t$output = \"\"; \n\t\tforeach ($childTerms as $childTerm) {\n\t\t\t$output .= benefits_loop(array('category' => get_term_by('id',$childTerm,$TAXONOMY)->slug));\n\t\t}\n\t\treturn $output;\n\t}\n\tcatch(Exception $ex)\n\t{\n\t\twp_mail(get_option('admin_email'), \"Chyba na webu \" . get_option('blog_name'), $ex);\n\t}\n}", "function benefits_loop($args)\n{\n\t$TAXONOMY = 'partner_categories';\n\t$POST_TYPE = 'partner'; \n\t\n\tif(is_admin())\n\t\treturn;\n\n\t$term = validate_term($args['category'],$TAXONOMY);\n\tif(!$term)\n\t\tthrow new Exception(\"This category does not exist!\");\n\t$query = prepare_query($POST_TYPE, $TAXONOMY, $term->slug);\n\n\tob_start();\n\trender_membership_benefits($query, $term);\n\t$output = ob_get_clean();\n\n\treturn $output;\n}", "public function _give_credit($is_front_end = false)\n\t{\n\t\t$report_id = Event::$data;\n\t\t//check and see if this is a group report\n\t\t$group_reports = ORM::factory(\"simplegroups_groups\")\n\t\t\t->join($this->table_prefix.\"simplegroups_groups_incident\", $this->table_prefix.\"simplegroups_groups.id\", $this->table_prefix.\"simplegroups_groups_incident.simplegroups_groups_id\")\n\t\t\t->where($this->table_prefix.\"simplegroups_groups_incident.incident_id\", $report_id)\n\t\t\t->find_all();\n\t\t\t\n\t\tforeach($group_reports as $group_report)\n\t\t{\n\t\t\t\t\t\t\n\t\t\t$credit = View::factory('simplegroups/credit');\n\t\t\tif(!$is_front_end)\n\t\t\t{\n\t\t\t\t$credit->categories = array();\t\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t$categories = ORM::factory(\"simplegroups_category\")\n\t\t\t\t\t->join($this->table_prefix.\"simplegroups_incident_category\", $this->table_prefix.\"simplegroups_category.id\", $this->table_prefix.\"simplegroups_incident_category.simplegroups_category_id\")\n\t\t\t\t\t->where($this->table_prefix.\"simplegroups_incident_category.incident_id\", $report_id)\n\t\t\t\t\t->find_all();\n\t\t\t\t$credit->categories = $categories;\n\t\t\t}\n\t\t\t$credit->group_name = $group_report->name;\n\t\t\t$credit->group_id = $group_report->id;\n\t\t\t$credit->logo_file = $group_report->logo;\n\t\t\t$credit->render(TRUE);\n\t\t}\n\t}", "function getRateConcat($catName,$cost_param)\n { \n if($catName=='Floor Cleaning'){\n $cost = $cost_param.' for 2BHK';\n }else if($catName=='Utensils Wash'){\n $cost = $cost_param.' per month';\n }else{\n $cost = $cost_param.' per person/month';\n }\n return $cost;\n }", "public function applycredit($observer){\n\t\t//add up the total prices of the add ons, the difference is the extra amount the customer pays\n\t\t$quote = $observer->getEvent()->getQuote();\n\t\t$total=$quote->getBaseSubtotal();\n\t\t$quoteid=$quote->getId();\n\t\t//get the pledge amount;\n\t\t$items = $quote->getAllItems();\n\t\t$discountAmount = 0;\n\t\t$credit = 0;\n\t\t$addon_prices = array();\n\t\tforeach($items as $item){\n\t\t\tif($item->getSku()==\"pledge-prd\"){\n\t\t\t\t$pledge_price = $item->getPrice();\n\n\t\t\t}\n\t\t\t\n\n\t\t\t$_product = Mage::getModel('catalog/product')->load($item->getProduct()->getId());\n\t\t\t$is_addon = $_product\n\t\t \t\t\t\t->getResource()\n\t\t\t\t\t\t \t->getAttribute('crowdfund_isaddon')\n\t\t\t\t\t\t \t->getFrontend()\n\t\t\t\t\t\t \t->getValue($_product);\n\t\t\tif($is_addon==\"Yes\"){\n\t\t\t\t//Mage::log('addonprice : '.($_product->getPrice())*$item->getQty());\n\t\t\t\tMage::log(\"IS ADDON YES >\");\n\t\t\t\t$addon_prices[] = $_product->getPrice()*$item->getQty();\n\t\t\t\t$project_id = $_product->getCrowdfundProjectid();\n\t\t\t\t;\n\t\t\t\t/*$_product\n\t\t\t\t\t\t \t \t->getResource()\n\t\t\t\t\t\t \t \t->getAttribute('crowdfund_projectid')\n\t\t\t\t\t\t \t \t->getFrontend()\n\t\t\t\t\t\t \t \t->getValue($_product);*/\n\t\t\t\t\n\t\t\t\tMage::log(\"FROM CART PROJECT ID : \".$project_id);\n\t\t\t}\n\t\t}\n\t//\tMage::log(\"PLEDGE PRICE : \".$pledge_price,null,\"crowdfund.log\");\n\t//\tMage::log('Start discount calculation',null,\"crowdfund.log\");\n\t\t$addons = array_sum($addon_prices);\n\n\t\tif(isset($project_id)){\n\t\t\tif(!isset($pledge_price)){\n\t\t\t\tMage::log(\"BLANK PLEDGE PRICE RETRIEVE CREDIT\");\n\t\t\t\t//get the customer email is logged in\n\t\t\t\t$user = Mage::getSingleton('customer/session')->getCustomer();\n\n\n\t\t\t\t\n\t\t\t\t//lets get the credit amount if this is a return purchase\n\t\t\t\t$creditmodel = Mage::getModel('crowdfund/customercredit')->getCollection()\n\t\t\t\t->addFieldToFilter('customer_email',$user->getEmail())\n\t\t\t\t->addFieldToFilter('project_id',$project_id)\n\t\t\t\t;\n\n\t\t\t\tforeach($creditmodel as $credit){\n\t\t\t\t\t$pledge_price = $credit->getData('credit_amount');\n\t\t\t\t}\n\n\t\t\t}\n\t\t\t\n\t\t\tif($pledge_price>$addons){//remainder is a credit/discount\n\t\t\t\tMage::log('PLEDGE IS HIGHER');\n\t\t\t\t$credit = $pledge_price-$addons;\n\t\t\t\t$discountAmount = $addons;\n\n\t\t\t}\n\t\t\tif($pledge_price<$addons){//remainder is a credit/discount\n\t\t//\t\tMage::log('PLEDGE IS HIGHER',null,\"crowdfund.log\");\n\t\t\t\t$credit = 0;\n\t\t\t\t$discountAmount = $pledge_price;\n\n\t\t\t}\n\t\t}\n\n\t//\tMage::log(\"DISCOUNT AMOUNT : \".$discountAmount,null,\"crowdfund.log\");\n\t//\tMage::log(\"CREDIT AMOUNT : \".$credit,null,\"crowdfund.log\");\n\t\t//set credit as a session variable to insert in credit table for later use\n\t\t Mage::getSingleton('checkout/session')->setCustomerCredit($credit);\n\n\t\t//apply discount\n\t\t\n\n\n\n\t\tif($quoteid) {\n \n \n \n if($discountAmount>0) {\n $total=$quote->getBaseSubtotal();\n $quote->setSubtotal(0);\n $quote->setBaseSubtotal(0);\n\n $quote->setSubtotalWithDiscount(0);\n $quote->setBaseSubtotalWithDiscount(0);\n\n $quote->setGrandTotal(0);\n $quote->setBaseGrandTotal(0);\n \n \n $canAddItems = $quote->isVirtual()? ('billing') : ('shipping'); \n foreach ($quote->getAllAddresses() as $address) {\n \n $address->setSubtotal(0);\n $address->setBaseSubtotal(0);\n\n $address->setGrandTotal(0);\n $address->setBaseGrandTotal(0);\n\n $address->collectTotals();\n\n $quote->setSubtotal((float) $quote->getSubtotal() + $address->getSubtotal());\n $quote->setBaseSubtotal((float) $quote->getBaseSubtotal() + $address->getBaseSubtotal());\n\n $quote->setSubtotalWithDiscount(\n (float) $quote->getSubtotalWithDiscount() + $address->getSubtotalWithDiscount()\n );\n $quote->setBaseSubtotalWithDiscount(\n (float) $quote->getBaseSubtotalWithDiscount() + $address->getBaseSubtotalWithDiscount()\n );\n\n $quote->setGrandTotal((float) $quote->getGrandTotal() + $address->getGrandTotal());\n $quote->setBaseGrandTotal((float) $quote->getBaseGrandTotal() + $address->getBaseGrandTotal());\n \n $quote ->save(); \n \n $quote->setGrandTotal($quote->getBaseSubtotal()-$discountAmount)\n ->setBaseGrandTotal($quote->getBaseSubtotal()-$discountAmount)\n ->setSubtotalWithDiscount($quote->getBaseSubtotal()-$discountAmount)\n ->setBaseSubtotalWithDiscount($quote->getBaseSubtotal()-$discountAmount)\n ->save(); \n \n \n if($address->getAddressType()==$canAddItems) {\n //echo $address->setDiscountAmount; exit;\n $address->setSubtotalWithDiscount((float) $address->getSubtotalWithDiscount()-$discountAmount);\n $address->setGrandTotal((float) $address->getGrandTotal()-$discountAmount);\n $address->setBaseSubtotalWithDiscount((float) $address->getBaseSubtotalWithDiscount()-$discountAmount);\n $address->setBaseGrandTotal((float) $address->getBaseGrandTotal()-$discountAmount);\n if($address->getDiscountDescription()){\n $address->setDiscountAmount(-($address->getDiscountAmount()-$discountAmount));\n $address->setDiscountDescription($address->getDiscountDescription().', Addon Credit[Not a discount]');\n $address->setBaseDiscountAmount(-($address->getBaseDiscountAmount()-$discountAmount));\n }else {\n $address->setDiscountAmount(-($discountAmount));\n $address->setDiscountDescription('Addon Credit[Not a discount]');\n $address->setBaseDiscountAmount(-($discountAmount));\n }\n $address->save();\n }//end: if\n } //end: foreach\n //echo $quote->getGrandTotal();\n \n foreach($quote->getAllItems() as $item){\n //We apply discount amount based on the ratio between the GrandTotal and the RowTotal\n\t\t\t$_addonproduct = Mage::getModel('catalog/product')->load($item->getProduct()->getId());\n $is_addon = $_addonproduct\n\t\t \t\t\t->getResource()\n\t\t\t\t\t \t->getAttribute('crowdfund_isaddon')\n\t\t\t\t\t \t->getFrontend()\n\t\t\t\t\t \t->getValue($_addonproduct);\n\n\t\t\tif($is_addon==\"Yes\"){\n\t\t\t\tMage::log('DISC',null,\"crowdfund.log\");\n $rat=$item->getPriceInclTax()/$total;\n $ratdisc=$discountAmount*$rat;\n $item->setDiscountAmount(($item->getDiscountAmount()+$ratdisc) * $item->getQty());\n $item->setBaseDiscountAmount(($item->getBaseDiscountAmount()+$ratdisc) * $item->getQty())->save();\n }\n \n }\n \n \n }\n \n }\n\n\n\n\n\n\n \t\n\n\n\n\n\t\t\n //end apply discount\n\n\n\t}", "public function expense_category()\n {\n $this->data['categories'] = $this->db->order_by('name', 'asc')->get_where('transaction_category', ['type' => 2])->result();\n $this->admin_template('expense_category', $this->data);\n }", "public function expencecategory(){\n\t\t$data[\"expencecategory\"] = $this->Billing_model->getexpencecategories();\n\t\t$data[\"customers\"] = $this->Customer_model->m_getallcustomers();\n\t\t$this->load->view('billing/header');\n\t\t$this->load->view('billing/expencecategories',@$data);\n\t\t$this->load->view('billing/footer');\n\t}", "function cancelledCredit($vars) {\n\t$minpay = '0.00'; //Set minimum payment amount to receive credit here\n\t$desc = 'Credit for cancelling service early'; //Edit the description to whatever you'd like\n\t$adminuser = \"ADMINUSER\"; //Edit the admin user to which ever you like, make sure it's valid in WHMCS since this is required\n\t\n\tif($vars['type'] == \"Immediate\") {\n\t\t$sid = $vars['relid'];\n\t\t$num = '0';\n\t\t$pastinv = 'false';\n\t\twhile($pastinv == 'false'){\n\t\t\t$result = select_query('tblinvoiceitems','',array(\"relid\" => $sid),'id','DESC',$num.',1');\n\t\t\t$data = mysql_fetch_assoc($result);\n\t\t\t$date = new DateTime($data['duedate']);\n\t\t\t$now = new DateTime();\n\t\t\tif($date < $now) {\n\t\t\t\t$invoice = $data['invoiceid'];\n\t\t\t\t$state = mysql_result(select_query('tblinvoices','status',array(\"id\" => $invoice),'id','DESC','1'),0);\n\t\t\t\tif($state == 'Paid') {\n\t\t\t\t\t$pastin = 'true';\n\t\t\t\t} else {\n\t\t\t\t\t$pastin = 'false';\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t$cycle = mysql_result(select_query('tblhosting','billingcycle',array(\"id\" => $sid),'id','DESC','1'),0);\n\t\t$amountpaid = $data['amount'];\n\t\t$invoice = $data['invoiceid'];\n\t\tif($cycle == 'Monthly') {\n\t\t\t$amount = ($row['amount']/30);\n\t\t\t$amount = round($amount,2);\n\t\t} elseif($cycle == 'Quarterly') {\n\t\t\t$amount = ($row['amount']/90);\n\t\t\t$amount = round($amount,2);\n\t\t} elseif($cycle == 'Semi-Annually') {\n\t\t\t$amount = ($row['amount']/180);\n\t\t\t$amount = round($amount,2);\n\t\t} elseif($cycle == 'Annually') {\n\t\t\t$amount = ($row['amount']/365);\n\t\t\t$amount = round($amount,2);\n\t\t} elseif($cycle == 'Biennially') {\n\t\t\t$amount = ($row['amount']/730);\n\t\t\t$amount = round($amount,2);\n\t\t} elseif($cycle == 'Triennially') {\n\t\t\t$amount = ($row['amount']/1095);\n\t\t\t$amount = round($amount,2);\n\t\t}\n\t\t$now = time();\n\t\t$your_date = strtotime(\"2016-02-21\");\n\t\t$datediff = $your_date - $now;\n\t\t$days = floor($datediff/(60*60*24));\n\t\t$amount = ($days * $amount);\n\t\tif(isset($amount) AND $amount > $minpay) {\n\t\t\t$command = \"addcredit\";\n\t\t\t$values = array( 'clientid' => $vars['userid'], 'description' => $desc, 'amount' => $amount );\n\t\t\t$results = localAPI($command, $values, $adminuser);\n\t\t\tif ($results['result'] != \"success\") {\n\t\t\t\tlogActivity('An Error Occurred: '.$results['result']);\n\t\t\t}\n\t\t}\n\t}\n}", "function claim_reqs( $category = array() ) {\r\n return \\query\\main::while_rewards_reqs( $category );\r\n}", "function do_add_category($db,$title,$description,$cat,$day,$month,$year,$contact,$email,$url,$start_time_hour,$start_time_minute,$start_time_ampm,$end_days,$end_hours,$end_minutes)\n{\nglobal $bluebdr, $action,$SID;\n\n//----------------------------------------------------------------------------------------\n// setup variables\n//----------------------------------------------------------------------------------------\n\n\t$ti = addslashes(trim($title));\n\t$de = addslashes(trim($description));\n\t$ca = addslashes(trim($cat));\n\t$da = addslashes(trim($day));\n\t$mo = addslashes(trim($month));\n\t$ye = addslashes(trim($year));\n\t$co = addslashes(trim($contact));\n\t$el = addslashes(trim($email));\n\t$ur = addslashes(trim($url));\n\t$sh = addslashes(trim($start_time_hour));\n\t$sm = addslashes(trim($start_time_minute));\n\t$sa = addslashes(trim($start_time_ampm));\n\t$ed = addslashes(trim($end_days));\n\t$eh = addslashes(trim($end_hours));\n\t$em = addslashes(trim($end_minutes));\n\n\t$start_time_hour = extcal_12to24hour($sh, $sa);\n\t$start_date = date(\"Y-m-d H:i:s\", mktime($start_time_hour, $sm, 0, $mo, $da, $ye));\n\n\tif($ed > 0 && !$eh && !$em) {\n\t\t$ed--; // to make sure not to jump to the next day, we push the time to 23:59:59\n\t\t$total_hours = 23;\n\t\t$total_minutes = 59;\n\t\t$total_seconds = 59;\n\t} else {\n\t\t$total_hours = $start_time_hour + $eh;\n\t\t$total_minutes = $sm + $em;\n\t\t$total_seconds = 0;\n\t}\n\t$end_date = date(\"Y-m-d H:i:s\", mktime( $total_hours, $total_minutes, $total_seconds, $mo, $da + $ed, $ye));\n\n\n//----------------------------------------------------------------------------------------\n// insert into database\n//----------------------------------------------------------------------------------------\n\n\t$db->Insert(\"INSERT INTO extcal_events (title,description,cat,day,month,year,start_date,end_date,contact,email,url,approved) VALUES ('$ti','$de','$ca','$da','$mo','$ye','$start_date','$end_date','$co','$el','$ur',1)\");\n\n\tif ($db->a_rows != -1) {\n\t echo \"<p>You have now added a new event.</p>\\n\";\n\t echo \"<p>&raquo; <a href=\\\"main.php?SID=$SID&action=$action&do=sadd\\\">add another event</a></p>\\n\";\n\t echo \"<p>&laquo; <a href=\\\"main.php?SID=$SID&action=$action\\\">return to event list</a></p>\\n\";\n\t} else {\n\t echo \"<p>The event could not be added to the database at this time.</p>\\n\";\n\t echo \"<p>&laquo; <a href=\\\"main.php?SID=$SID&action=$action\\\">return to event list</a></p>\\n\";\n\t}\n}", "function storefront_credit() {\n\t\t?>\n\t\t<div class=\"site-info\">\n\t\t\t<?php echo esc_html( apply_filters( 'storefront_copyright_text', $content = '&copy; ' . get_bloginfo( 'name' ) . ' ' . date( 'Y' ) ) ); ?>\n\t\t\t<?php if ( apply_filters( 'storefront_credit_link', true ) ) { ?>\n\t\t\tSpazzolificio Piave S.p.a. Via A.Palladio 5, 35019 Tombolo – Pd (Italia) <?php if ( function_exists ('wc_accepted_payment_methods') ) wc_accepted_payment_methods(); ?>\n\t\t\t<?php } ?>\n\t\t</div><!-- .site-info -->\n\t\t<?php\n\t}", "function storefront_credit() {\n ?>\n <div class=\"site-info\">\n <?php echo esc_html(apply_filters('storefront_copyright_text', $content = '&copy; ' . get_bloginfo('name') . ' ' . date('Y'))); ?>\n <?php if (apply_filters('storefront_credit_link', true)) { ?>\n <br /> <?php printf(esc_attr__('%1$s designed by %2$s.', 'storefront'), 'Storefront', '<a href=\"http://www.woothemes.com\" alt=\"Premium WordPress Themes & Plugins by WooThemes\" title=\"Premium WordPress Themes & Plugins by WooThemes\" rel=\"designer\">WooThemes</a>'); ?>\n <?php } ?>\n </div><!-- .site-info -->\n <?php\n }", "function calcmet_form_addcategory_submit($form, &$form_state) {\r\n \r\n // Save the submitted entry.\r\n $basename = 'calcmetcat'; \r\n $entry = array(\r\n 'title' => $form_state['values']['title'],\r\n );\r\n $return = calcmet_entry_insert ($basename, $entry);\r\n if ($return) {\r\n drupal_set_message(t(\"Created entry @entry\", array('@entry' => print_r($entry, TRUE))));\r\n }\r\n}", "function addCorporateUser() {\n // print_r($_POST); //1=super admin,2=zone,3=account,4=taxi,5=corporate,99=coprporateUser,7=customer \n global $objCommon;\n $err_string = \"\";\n $error = false;\n $name = $_POST['name'];\n $email = $_POST['emailID'];\n $contact = $_POST['contact'];\n $city = $_POST['city'];\n $zipCode = $_POST['zipCode'];\n $creditLimit = $_POST['creditLimit'];\n $creditLimitPerDay = $_POST['creditLimitPerDay'];\n $username = $_POST['username'];\n $blockUser = $_POST['blockUser'];\n $password = md5($_POST['password']);\n $password_de = $_POST['password'];\n $added_on = date('Y-m-d H:i:g');\n $account_type = '99';\n\n\n $checkEmail = mysql_query(\"select * from `users` where 1 and email_id = '\" . $email . \"'\");\n if (mysql_num_rows($checkEmail) == 0) {\n $query = \"SELECT begning_credit FROM `corporate` WHERE web_user_id ='\" . $_SESSION['uid'] . \"' LIMIT 0 , 30\";\n $result = mysql_query($query);\n $amount = 0;\n if ($row = mysql_fetch_array($result)) {\n $amount = $row['begning_credit'];\n }\n $query_user_amt = mysql_query(\"select credit_limit from `users` where 1 and corporate_id = '\" . $_SESSION['uid'] . \"'\");\n $rows = mysql_num_rows($query_user_amt);\n $noitems = 0;\n while ($info = mysql_fetch_array($query_user_amt)) {\n $numberitems = explode(',', $info['credit_limit']);\n //$numberitems_per_day = explode(',',$info['credit_limit_per_day']);\n for ($i = 0; $i < $rows; $i++) {\n $noitems += $creditLimit + $numberitems[$i];\n }\n }\n $accutualAmtPerDay = $creditLimitPerDay >= $creditLimit;\n $accutualAmt = $noitems > $amount;\n if ($accutualAmt && $accutualAmtPerDay) {\n echo '<div class=\"alert alert-danger\"><button class=\"close loginError\" data-dismiss=\"alert\" type=\"button\">x</button>Your credit limit is not enough</div>';\n } else {\n $query = mysql_query(\"select * from `corporate` where 1 and web_user_id = '\" . $email . \"'\");\n $num = mysql_num_rows($query);\n if ($num == 0) {\n //$qryP1 = \"insert into `login` (`name`,`email`,`password`,`contact_number`,`account_type`,`added_on`,`added_by`,`login_status`,`status`) values ('$name','$email','$password','$contact','$account_type','$added_on','\".$_SESSION['uid'].\"','0','200')\";\n //mysql_query($qryP1); \n //$logId = mysql_insert_id();\n //$qryP1 = \"insert into `users` (`corporate_id`,`name`,`email_id`,`contact_no`,`city`,`zip_code`,`credit_limit`,`credit_limit_per_day`,`username`,`password`,`status`,`account_type`,`blockUser`,`added_on`,`added_by`,`web_user_id`) values ('\".$_SESSION['uid'].\"','$name','$email','$contact','$city','$zipCode','$creditLimit','$creditLimitPerDay','$username','$password','200','$account_type','$blockUser','$added_on','\".$_SESSION['uid'].\"','$logId')\";\n $qryP1 = \"insert into `users` (`corporate_id`,`name`,`email_id`,`contact_no`,`credit_limit`,`credit_limit_per_day`,`username`,`password`,`status`,`account_type`,`blockUser`,`added_on`,`added_by`,`web_user_id`,`password_de`) values ('\" . $_SESSION['uid'] . \"','$name','$email','$contact','$creditLimit','$creditLimitPerDay','$username','$password','200','$account_type','$blockUser','$added_on','\" . $_SESSION['uid'] . \"','$logId','$password_de')\";\n mysql_query($qryP1);\n $last_id = mysql_insert_id();\n\n $qry_manage_master = \"insert into `manage_master_amount` (`crop_mb_u_id`,`corporate_id`,`type`,`amount`,`added_by`,`added_on`) values ('$last_id','\" . $_SESSION['uid'] . \"','credit_amount','$creditLimit','\" . $_SESSION['uid'] . \"','$added_on')\";\n mysql_query($qry_manage_master);\n // For send mail\n $to = $email;\n $to_name = $name;\n $from = FROM_ADMIN_EMAIL_ID;\n $from_name = FROM_ADMIN_NAME;\n $reply_to = REPLY_ADMIN_EMAIL_ID;\n $reply_name = REPLY_ADMIN_NAME;\n $subject = \"Account Created in Central Taxi\";\n $message = \"Account (corporate user) has been created with this email. For any questions contact us at our email.\";\n $mail_status = sendMail($to, $to_name, $from, $from_name, $subject, $message, $reply_to, $reply_name);\n\n echo '<div class=\"alert alert-success\"><button class=\"close loginError\" data-dismiss=\"alert\" type=\"button\">x</button>User added successfully</div>';\n } else {\n echo '<div class=\"alert alert-danger\"><button class=\"close loginError\" data-dismiss=\"alert\" type=\"button\">x</button>The Email already exists in the system</div>';\n }\n }\n } else {\n echo '<div class=\"alert alert-danger\"><button class=\"close loginError\" data-dismiss=\"alert\" type=\"button\">x</button>The Email already exists in the system, please enter another</div>';\n }\n}", "function storefront_credit() {\n\t\t?>\n\t\t<div class=\"site-info\">\n\t\t\t<?php //echo esc_html( apply_filters( 'storefront_copyright_text', $content = '&copy; ' . get_bloginfo( 'name' ) . ' - - ' . date( 'Y' ) ) ); ?>\n\t\t\t<?php if ( apply_filters( 'storefront_credit_link', true ) ) { ?>\n\t\t\t<br /> <?php printf( esc_attr__( '%1$s designed by %2$s.', 'storefront' ), 'Storefront', '<a href=\"http://www.woocommerce.com\" title=\"WooCommerce - The Best eCommerce Platform for WordPress\" rel=\"author\">WooCommerce</a>' ); ?>\n\t\t\t<?php } ?>\n\t\t</div><!-- .site-info -->\n\t\t<?php\n\t}", "function addCategories($cat) {\n //print \"Looking at categories:$cat<br/>\";\n\t$list = split(' ', $cat);\n\tforeach ($list as $item) {\n //print \"Looking at: $item<br/>\";\n\t if ($key = $this->containsValue($this->bases, $item)) {\n\t\t$this->currentRecipe['base_type_id'] = $key;\n //print \"Got Base Type ID: \" . $this->bases[$key] . \"<br/>\";\n\t } else if ($key = $this->containsValue($this->courses, $item)) {\n\t\t$this->currentRecipe['course_id'] = $key;\n //print \"Got course ID: \" . $this->courses[$key] . \"<br/>\";\n\t } else if ($key = $this->containsValue($this->ethnicities, $item)) {\n\t\t$this->currentRecipe['ethnicity_id'] = $key;\n //print \"Got ethnic ID: \" . $this->ethnicities[$key] . \"<br/>\";\n\t }\n\t}\n }", "function generateCareer(){\n//\t\t$countBanner\t\t= count($ListCareer);\n//\t\t//createCacheBanner($rsBanner,\"bannerhome\");\n// createCache($ListCareer,\"career\");\n }", "function print_casc($cascade){\n\t\tif(!empty($cascade)){\nprint(\"<ul>\\n\");\n foreach($cascade as $cat_id => $nb){ //print(\" The Category IS \".$nb[0].\"\\n\");\n\t\t\n\t\t\tprint(\"<li>\");\n\t\t\tprint(\"<div>\");\n\t\t\tprint(\"<a href='index.php?cid=\".$cat_id.\"'\\\">\".$nb[0].\"</a>\");\n\t\t\tprint(\"</div>\\n\");\n\t\t\t\t\tif(!empty($nb[2])){ //loop through\n\t\t\tprint_casc($nb[2]);\n\t\t}\n\t\t\tprint(\"</li>\\n\");\n\t\t\n\n\t\t\n\t} //end of foreach cascade\n\t\nprint(\"</ul>\\n\");\n\t\t}\n\t\t\t\t}", "public function applyCredit()\r\n {\r\n $this->credit_total = 0;\r\n \r\n if (!$this->hasGiftCardProduct()) \r\n {\r\n if ($value = (float) $this->user()->{'shop.credits.balance'})\r\n {\r\n $total = $this->taxableTotal();\r\n if ($total < $value)\r\n {\r\n $value = $total;\r\n }\r\n \r\n $this->credit_total = $value;\r\n }\r\n }\r\n \r\n return $this->save();\r\n }", "function addCategory(&$reports) {\n\t$date = date('Y-m-d_H-i-s');\n\t$title = process_language_string_save(\"title\",2); // so that no \\ are shown in the 'Category x added' message\n\t$titlelink = seoFriendly(get_language_string($title));\n\t$desc = process_language_string_save(\"desc\",2);\n\t$custom = process_language_string_save(\"custom_data\",2);\n\tif (empty($titlelink)) $titlelink = seoFriendly($date);\n\n\t$sql = 'SELECT `id` FROM '.prefix('news_categories').' WHERE `titlelink`='.db_quote($titlelink);\n\t$rslt = query_single_row($sql,false);\n\tif ($rslt) {\n\t\t$titlelink .= '_'.seoFriendly($date); // force unique so that data may be saved.\n\t}\n\t// create new category\n\t$show = getcheckboxState('show');\n\t$cat = new ZenpageCategory($titlelink);\n\t$notice = processPasswordSave($cat);\n\t$cat->setPermalink(getcheckboxState('permalink'));\n\t$cat->set('title',$title);\n\t$cat->setDesc($desc);\n\t$cat->setCustomData(zp_apply_filter('save_category_custom_data', $custom,$cat));\n\t$cat->setShow($show);\n\t$msg = zp_apply_filter('new_category','', $cat);\n\t$cat->save();\n\tif(empty($title)) {\n\t\t$reports[] = \"<p class='errorbox fade-message'>\".sprintf(gettext(\"Category <em>%s</em> added but you need to give it a <strong>title</strong> before publishing!\"),$titlelink).'</p>';\n\t} else if ($notice == 'user') {\n\t\t$reports[] = \"<p class='errorbox fade-message'>\".gettext('You must supply a password for the Protected Category user').'</p>';\n\t} else if ($notice == 'pass') {\n\t\t$reports[] = \"<p class='errorbox fade-message'>\".gettext('Your passwords were empty or did not match').'</p>';\n\t} else {\n\t\t$reports[] = \"<p class='messagebox fade-message'>\".sprintf(gettext(\"Category <em>%s</em> added\"),$titlelink).'</p>';\n\t}\n\tif ($msg) {\n\t\t$reports[] = $msg;\n\t}\n}", "public function categorizeTransactions()\r\n {\r\n $this->cobSessionToken = $_SESSION['login_response']['Body']->userContext->cobrandConversationCredentials->sessionToken;\r\n $this->userSessionToken = $_SESSION['login_response']['Body']->userContext->conversationCredentials->sessionToken;\r\n \r\n $sendParameters = array('cobSessionToken' => $this->cobSessionToken, 'userSessionToken' => $this->userSessionToken);\r\n \r\n $sendParameters['userCategorizationObjects[0].container'] = 'bank'; //BANK, CREDIT_CARD, INVESTMENT, INSURANCE, LOAN, REWARD_PROGRAM, MORTGAGE.\r\n $sendParameters['userCategorizationObjects[0].containerTransactionId'] = '';\r\n $sendParameters['userCategorizationObjects[0].targetTransactionCategoryId'] = '';\r\n $sendParameters['userCategorizationObjects[0].categoryLevelId'] = '';\r\n $sendParameters['userCategorizationObjects[0].transactionType'] = '';\r\n\r\n $this->response_to_request = $this->api_call('categorizeTransactions', $sendParameters);\r\n\r\n }", "function creditIndirectUnilevelSponsorCommission($sponser_id,$user_id,$pkg_id,$pkg_amount)\n{\n\t\t\t\t\t$obj= & get_instance();\n\t\t\t\t\t$user_info=get_user_details($sponser_id);\n\t\t\t\t\t$ref_id=$user_info->ref_id;\n\n\t\t\t\t\t$commission_info=$obj->db->select('*')->from('indirect_unilevel_commission')->where('pkg_id',$pkg_id)->get()->row();\n\t\t\t\t\t\n\t\t\t\t\tif($commission_info->level_type=='1')//for limited level\n\t\t\t\t\t{\n\t\t\t\t\t\t\n\t\t\t\t\t\t$max_level_info=$obj->db->select_max('level')->from('indirect_unilevel_commission_meta')\n\t\t\t\t\t\t->where('unilevel_commission_id',$commission_info->id)->get()->row();\n\t\t\t\t\t\t$max_level=$max_level_info->level;\n\t\t\t\t\t\t$level=1;\n\t\t\t\t\t\twhile($ref_id!='cmp')\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t$commission_meta_info=$obj->db->select('*')->from('indirect_unilevel_commission_meta')\n\t\t\t\t\t\t\t->where(array('unilevel_commission_id'=>$commission_info->id,'level'=>$level))\n\t\t\t\t\t\t\t->get()->row();\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t$commission_amount=$commission_meta_info->level_commission;\n\t\t\t\t\t\t\t$ttype=\"flat \".$commission_amount.\" commission of level\".$level;\n\t\t\t\t\t\t\tif($commission_info->commission_type=='1')//percent commission\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t$commission_amount=($pkg_amount*$commission_amount)/100;\n\t\t\t\t\t\t\t\t$ttype=$commission_meta_info->level_commission.\"% of level\".$level.\" commission\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//////////////////////////////\n\t\t\t\t\t\t\t$query_obj=$obj->db->select('amount')->from('final_e_wallet')->where('user_id',$ref_id)->get()->row();\n\t\t\t\t\t\t\t$balance=$query_obj->amount+$commission_amount;\n\t\t\t\t\t\t\t$obj->db->update('final_e_wallet',array('amount'=>$balance),array('user_id'=>$ref_id));\n\t\t\t\t\t\t\t//reason enum filed '1'=>debit for pkg purchased, '2'=> debit for ewallet withdrawl, '3'=>debit for balance transfer, '4'=>'credit for balance transfer received', '5'=>credit for direct commission, '6'=>credit for binary commission, '7'=>credit for matching commission, '9'=>credit for unilevel commission, '10'=>credit for rank bonus update\n\t\t\t\t\t\t\t /*\n\t\t\t\t\t\t\tNote: status field '0'=>debit,'1'=>credit\n\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t\t$obj->db->insert('credit_debit',array(\n\t\t\t\t\t\t\t\t'transaction_no'=>generateUniqueTranNo(),\n\t\t\t\t\t\t\t\t'user_id'=>$ref_id,\n\t\t\t\t\t\t\t\t'credit_amt'=>$commission_amount,\n\t\t\t\t\t\t\t\t'debit_amt'=>'0',\n\t\t\t\t\t\t\t\t'balance'=>$balance,\n\t\t\t\t\t\t\t\t'admin_charge'=>'0',\n\t\t\t\t\t\t\t\t'receiver_id'=>$ref_id,\n\t\t\t\t\t\t\t\t'sender_id'=>$sponser_id,\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t'receive_date'=>date('d-m-Y'),\n\t\t\t\t\t\t\t\t'ttype'=>$ttype.' of new member '.$user_id.' registerd by '.$sponser_id,\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t'TranDescription'=>$ttype.' of new member '.$user_id.' registerd by '.$sponser_id,\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t'pkg_id'=>$pkg_id,\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t'pkg_amount'=>$pkg_amount,\n\t\t\t\t\t\t\t\t'level'=>$level,\n\t\t\t\t\t\t\t\t'Cause'=>'level Income of level'.$level,\n\t\t\t\t\t\t\t\t'Remark'=>'Unilevel Income',\n\t\t\t\t\t\t\t\t'invoice_no'=>'',\n\t\t\t\t\t\t\t\t'product_name'=>'',\n\t\t\t\t\t\t\t\t'status'=>'1',\n\t\t\t\t\t\t\t\t'ewallet_used_by'=>'',\n\t\t\t\t\t\t\t\t'current_url'=>site_url(),\n\t\t\t\t\t\t\t\t'reason'=>'9'\n\t\t\t\t\t\t\t\t));\t\t\n\t\t\t\t\t\t\t\t$user_info=get_user_details($ref_id);\n\t\t\t\t\t\t\t\t$ref_id=$user_info->ref_id;\n\t\t\t\t\t\t\t\t//////////////////////////////////\n\t\t\t\t\t\t\t\t if($level==$max_level)break;\n\t\t\t\t\t\t\t\t $level++;\n\t\t\t\t\t\t\t}//end while loop here!\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\telse//for unlimited level \n\t\t\t\t\t{\n\t\t\t\t\t\t$commission_amount=$commission_info->commission;\n\t\t\t\t\t\t$ttype=\"flat \".$commission_amount.\" commission of Unlimited level\";\n\t\t\t\t\t\tif($commission_info->commission_type=='1')//percent commission\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t$commission_amount=($pkg_amount*$commission_amount)/100;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t$ttype=$commission_info->commission.\"% of unlimited level commission\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$level=1;\n\t\t\t\t\t\twhile($ref_id!='cmp')\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t//////////////////////////////\n\t\t\t\t\t\t\t$query_obj=$obj->db->select('amount')->from('final_e_wallet')->where('user_id',$ref_id)->get()->row();\n\t\t\t\t\t\t\t$balance=$query_obj->amount+$commission_amount;\n\t\t\t\t\t\t\t$obj->db->update('final_e_wallet',array('amount'=>$balance),array('user_id'=>$ref_id->income_id));\n\t\t\t\t\t\t\t//reason enum filed '1'=>debit for pkg purchased, '2'=> debit for ewallet withdrawl, '3'=>debit for balance transfer, '4'=>'credit for balance transfer received', '5'=>credit for direct commission, '6'=>credit for binary commission, '7'=>credit for matching commission, '9'=>credit for unilevel commission, '10'=>credit for rank bonus update\n\t\t\t\t\t\t\t/*\n\t\t\t\t\t\t\tNote: status field '0'=>debit,'1'=>credit\n\t\t\t\t\t\t\t*/\n\t\t\t\t\t\t\t$obj->db->insert('credit_debit',array(\n\t\t\t\t\t\t\t\t'transaction_no'=>generateUniqueTranNo(),\n\t\t\t\t\t\t\t\t'user_id'=>$ref_id,\n\t\t\t\t\t\t\t\t'credit_amt'=>$commission_amount,\n\t\t\t\t\t\t\t\t'debit_amt'=>'0',\n\t\t\t\t\t\t\t\t'balance'=>$balance,\n\t\t\t\t\t\t\t\t'admin_charge'=>'0',\n\t\t\t\t\t\t\t\t'receiver_id'=>$ref_id,\n\t\t\t\t\t\t\t\t'sender_id'=>$sponser_id,\n\t\t\t\t\t\t\t\t'receive_date'=>date('d-m-Y'),\n\t\t\t\t\t\t\t\t'ttype'=>$ttype.' of new member '.$user_id.' registerd by '.$sponser_id,\n\t\t\t\t\t\t\t\t'TranDescription'=>$ttype.' of new member '.$user_id.' registerd by '.$sponser_id,\n\t\t\t\t\t\t\t\t'pkg_id'=>$pkg_id,\n\t\t\t\t\t\t\t\t'level'=>$level,\n\t\t\t\t\t\t\t\t'Cause'=>'level Income of level'.$level,\n\t\t\t\t\t\t\t\t'Remark'=>'Unilevel Income',\n\t\t\t\t\t\t\t\t'invoice_no'=>'',\n\t\t\t\t\t\t\t\t'product_name'=>'',\n\t\t\t\t\t\t\t\t'status'=>'1',\n\t\t\t\t\t\t\t\t'ewallet_used_by'=>'',\n\t\t\t\t\t\t\t\t'current_url'=>site_url(),\n\t\t\t\t\t\t\t\t'reason'=>'9'\n\t\t\t\t\t\t\t\t));\t\t\n\t\t\t\t\t\t\t\t$user_info=get_user_details($ref_id);\n\t\t\t\t\t\t\t\t$ref_id=$user_info->ref_id;\n\t\t\t\t\t\t\t\t$level++;\n\t\t\t\t\t\t\t}//end while loop here!\n\t\t\t\t\t}//end else\n}", "function storefront_credit() {\n?>\n\t<div class=\"legal\">\n\t\t<a target=\"_blank\" href=\"http://www.anpc.gov.ro/\">ANPC</a> |\n\t\t<a href=\"/termeni/\">Termeni si conditii</a> | \n\t\t<a href=\"/date-personale/\">Protectia datelor personale</a> | \n\t\t<?php echo ' &copy; ' . date(\"Y\") . ' ' . get_bloginfo('name') . '. '; ?>\n\t</div>\n<?php\n}", "public function income_category()\n {\n $this->data['categories'] = $this->db->order_by('name', 'asc')->get_where('transaction_category', ['type' => 1])->result();\n $this->admin_template('income_category', $this->data);\n }", "function update_categories() {\r\n\t\t\t\t// Get\r\n\t\t\t\t$x = 'error';\r\n\t\t\t\twhile ( trim ( $x ) != '' ) {\r\n\t\t\t\t\t$url = 'http://www.clickbank.com/advancedMarketplaceSearch.htm';\r\n\t\t\t\t\tcurl_setopt ( $this->ch, CURLOPT_HTTPGET, 1 );\r\n\t\t\t\t\tcurl_setopt ( $this->ch, CURLOPT_URL, trim ( $url ) );\r\n\t\t\t\t\t$exec = curl_exec ( $this->ch );\r\n\t\t\t\t\techo $x = curl_error ( $this->ch );\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tif (stristr ( $exec, '<option value=\"\">- All categories -</option>' )) {\r\n\t\t\t\t\techo '<br>categories found';\r\n\t\t\t\t\tpreg_match_all ( \"{>- All categories -</option>((.|\\s)*?)</select>}\", $exec, $matches, PREG_PATTERN_ORDER );\r\n\t\t\t\t\t\r\n\t\t\t\t\t$res = $matches [0];\r\n\t\t\t\t\t$cats = $res [0];\r\n\t\t\t\t\t\r\n\t\t\t\t\t// extracting single parent categories [<option value=\"1510\">Betting Systems</option>]\r\n\t\t\t\t\tpreg_match_all ( \"{<option value=\\\"(.*?)\\\">(.*?)</option>}\", $cats, $matches, PREG_PATTERN_ORDER );\r\n\t\t\t\t\t$paretcats_ids = $matches [1];\r\n\t\t\t\t\t$paretcats_names = $matches [2];\r\n\t\t\t\t\t\r\n\t\t\t\t\t// delete current records\r\n\t\t\t\t\tif (count ( $paretcats_names ) > 0) {\r\n\t\t\t\t\t\t$query = \"delete from {$this->wp_prefix}automatic_categories \";\r\n\t\t\t\t\t\t$this->db->query ( $query );\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\t// adding parent categories\r\n\t\t\t\t\t$i = 0;\r\n\t\t\t\t\tforeach ( $paretcats_ids as $parentcat_id ) {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t$parentcat_name = $paretcats_names [$i];\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t// inserting cats\r\n\t\t\t\t\t\t$query = \"insert into {$this->wp_prefix}automatic_categories (cat_id , cat_name) values ('$parentcat_id','$parentcat_name')\";\r\n\t\t\t\t\t\t$this->db->query ( $query );\r\n\t\t\t\t\t\t$i ++;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\techo '<br>Parent Categories added:' . $i;\r\n\t\t\t\t\t\r\n\t\t\t\t\t// extracting subcategories\r\n\t\t\t\t\t/*\r\n\t\t\t\t\t * <option value=\"1265\" parent=\"1253\" path=\"Arts & Entertainment &raquo; Architecture\"> Architecture </option>\r\n\t\t\t\t\t */\r\n\t\t\t\t\t\r\n\t\t\t\t\t// echo $exec;\r\n\t\t\t\t\t// exit;\r\n\t\t\t\t\tpreg_match_all ( \"{<option value=\\\"(.*?)\\\" parent=\\\"(.*?)\\\"(.|\\s)*?>((.|\\s)*?)</option>}\", $exec, $matches, PREG_PATTERN_ORDER );\r\n\t\t\t\t\t$subcats_ids = $matches [1];\r\n\t\t\t\t\t$subcats_parents = $matches [2];\r\n\t\t\t\t\t$subcats_names = $matches [4];\r\n\t\t\t\t\t\r\n\t\t\t\t\t$i = 0;\r\n\t\t\t\t\tforeach ( $subcats_ids as $subcats_id ) {\r\n\t\t\t\t\t\t$subcats_names [$i] = trim ( $subcats_names [$i] );\r\n\t\t\t\t\t\t$subcats_parents [$i] = trim ( $subcats_parents [$i] );\r\n\t\t\t\t\t\t$query = \"insert into {$this->wp_prefix}automatic_categories(cat_id,cat_parent,cat_name) values('$subcats_id','$subcats_parents[$i]','$subcats_names[$i]')\";\r\n\t\t\t\t\t\t$this->db->query ( $query );\r\n\t\t\t\t\t\t$i ++;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\techo '<br>Sub Categories added ' . $i;\r\n\t\t\t\t\t\r\n\t\t\t\t\t// print_r($matches);\r\n\t\t\t\t\texit ();\r\n\t\t\t\t\t\r\n\t\t\t\t\t$res = $matches [2];\r\n\t\t\t\t\t$form = $res [0];\r\n\t\t\t\t\t\r\n\t\t\t\t\tpreg_match_all ( \"{<option value=\\\"(.*?)\\\" parent=\\\"(.*?)\\\"}\", $exec, $matches, PREG_PATTERN_ORDER );\r\n\t\t\t\t\t\r\n\t\t\t\t\tprint_r ( $matches );\r\n\t\t\t\t\t\r\n\t\t\t\t\t// print_r($matches);\r\n\t\t\t\t\texit ();\r\n\t\t\t\t\t$res = $matches [0];\r\n\t\t\t\t\t$cats = $res [0];\r\n\t\t\t\t}\r\n\t\t\t}", "public function freelancerCategories()\n {\n \n }", "abstract public function category();", "function buildCreditCard() {\n\t}" ]
[ "0.6010214", "0.5842134", "0.58299047", "0.58132666", "0.5516237", "0.5442053", "0.5416226", "0.539462", "0.5365905", "0.53409547", "0.5332348", "0.5328697", "0.5318235", "0.53105325", "0.52813405", "0.52669454", "0.5264816", "0.5248551", "0.5238525", "0.5235323", "0.5229188", "0.52113414", "0.5191211", "0.5189817", "0.5182774", "0.5134304", "0.51308465", "0.51261365", "0.51234037", "0.5106913" ]
0.59838897
1
end method _admin_map_let_view() Tries to match the sender of incoming SMSs with a whitelisted number from a group
public function _incoming_sms() { $sms = Event::$data; //get all of the whitelisted numbers and see if there's a match $numbers = ORM::factory("simplegroups_groups_number")->find_all(); foreach($numbers as $number) { if($number->number) { //makes it a fuzzy search if( !(strpos($sms->message_from, $number->number) === false) || ($number->number == $sms->message_from)) { $group_message = ORM::factory("simplegroups_groups_message"); $group_message->simplegroups_groups_id = $number->simplegroups_groups_id; $group_message->message_id = $sms->id; $group_message->number_id = $number->id; $group_message->save(); //check and see if it needs to be forwarded groups::forward_message_to_own_instance($sms->message, $sms->message_from, $number->simplegroups_groups_id); //check and see if we need to assign some categories to this $group_categories = ORM::factory("simplegroups_category") ->where("simplegroups_groups_id", $number->simplegroups_groups_id) ->where("applies_to_message", "1") ->where("selected_by_default", "1") ->find_all(); foreach($group_categories as $group_category) { $category_instance = ORM::factory("simplegroups_message_category"); $category_instance->simplegroups_category_id = $group_category->id; $category_instance->message_id = $sms->id; $category_instance->save(); } //break; //more than one number can match? good or bad? } } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function _parse_sms()\n\t{\n\t\t//the message\n\t\t$message = Event::$data->message;\n\t\t$from = Event::$data->message_from;\n\t\t$reporterId = Event::$data->reporter_id;\n\t\t$message_date = Event::$data->message_date;\n\n\n\t\t//check to see if we're using the white list, and if so, if our SMSer is whitelisted\n\t\t$num_whitelist = ORM::factory('smsautomate_whitelist')\n\t\t->count_all();\n\t\tif($num_whitelist > 0)\n\t\t{\n\t\t\t//check if the phone number of the incoming text is white listed\n\t\t\t$whitelist_number = ORM::factory('smsautomate_whitelist')\n\t\t\t\t->where('phone_number', $from)\n\t\t\t\t->count_all();\n\t\t\tif($whitelist_number == 0)\n\t\t\t{\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\t\n\t\t//the delimiter\n\t\t$delimiter = $this->settings->delimiter;\n\t\t\n\t\t//the code word\n\t\t$code_word = $this->settings->code_word;\n\t\t\n\t\t\n\t\t//split up the string using the delimiter\n\t\t$message_elements = explode($delimiter, $message);\n\t\t\n\t\t//echo Kohana::debug($message_elements);\n\t\t\n\t\t//check if the message properly exploded\n\t\t$elements_count = count($message_elements);\n\t\t\n\t\tif( $elements_count < 4) //must have code word, lat, lon, title. Which is 4 elements\n\t\t{\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t//check to see if they used the right code word, code word should be first\n\t\tif(strtoupper($message_elements[0]) != strtoupper($code_word))\n\t\t{\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t//start parsing\n\t\t//latitude\n\t\t$lat = strtoupper(trim($message_elements[1]));\n\t\t//check if there's a N or S in here and deal with it\n\t\t$n_pos = stripos($lat, \"N\");\n\t\tif(!($n_pos === false))\n\t\t{\n\t\t\t$lat = str_replace(\"N\", \"\", $lat);\n\t\t}\n\t\t\n\t\t$s_pos = stripos($lat, \"S\");\n\t\tif(!($s_pos===false))\n\t\t{\n\t\t\t$lat = str_replace(\"S\", \"\", $lat);\n\t\t\t$lat = \"-\".$lat; //make negative\n\t\t}\n\t\tif(is_numeric($lat))\n\t\t{\n\t\t\t$lat = floatval($lat);\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn; //not valid\n\t\t}\n\t\t\n\t\t//longitude\n\t\t$lon = strtoupper(trim($message_elements[2]));\n\t\t//check if there's a W or E in here and deal with it\n\t\t$e_pos = stripos($lon, \"E\");\n\t\tif(!($e_pos===false))\n\t\t{\n\t\t\t$lon = str_replace(\"E\", \"\", $lon);\n\t\t}\n\t\t\n\t\t$w_pos = stripos($lon, \"W\");\n\t\tif(!($w_pos===false))\n\t\t{\n\t\t\t$lon = str_replace(\"W\", \"\", $lon);\n\t\t\t$lon = \"-\".$lon; //make negative\n\t\t}\n\t\tif(is_numeric($lon))\n\t\t{\n\t\t\t$lon = floatval($lon);\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn; //not valid\n\t\t}\n\t\t\n\t\t//title\n\t\t$title = trim($message_elements[3]);\n\t\tif($title == \"\")\n\t\t{\n\t\t\treturn; //need a valid title\n\t\t}\n\t\t\n\t\t$location_description = \"\";\n\t\t//check and see if we have a textual location\n\t\tif($elements_count >= 5)\n\t\t{\n\t\t\t$location_description =trim($message_elements[4]);\n\t\t}\n\t\tif($location_description == \"\")\n\t\t{\n\t\t\t$location_description = \"Sent Via SMS\";\n\t\t}\n\t\t\n\t\t$description = \"\";\n\t\t//check and see if we have a description\n\t\tif($elements_count >= 6)\n\t\t{\n\t\t\t$description =$description.trim($message_elements[5]);\n\t\t}\n\t\t$description = $description.\"\\n\\r\\n\\rThis reported was created automatically via SMS.\";\n\t\t\n\t\t$categories = array();\n\t\t//check and see if we have categories\n\t\tif($elements_count >=7)\n\t\t{\n\t\t\t$categories = explode(\",\", $message_elements[6]);\n\t\t}\n\t\t\n\t\t\n\t\t//for testing:\n\t\t/*\n\t\techo \"lat: \". $lat.\"<br/>\";\n\t\techo \"lon: \". $lon.\"<br/>\";\n\t\techo \"title: \". $title.\"<br/>\";\n\t\techo \"description: \". $description.\"<br/>\";\n\t\techo \"category: \". Kohana::debug($categories).\"<br/>\";\n\t\t*/\n\t\t\n\t\t// STEP 1: SAVE LOCATION\n\t\t$location = new Location_Model();\n\t\t$location->location_name = $location_description;\n\t\t$location->latitude = $lat;\n\t\t$location->longitude = $lon;\n\t\t$location->location_date = $message_date;\n\t\t$location->save();\n\t\t//STEP 2: Save the incident\n\t\t$incident = new Incident_Model();\n\t\t$incident->location_id = $location->id;\n\t\t$incident->user_id = 0;\n\t\t$incident->incident_title = $title;\n\t\t$incident->incident_description = $description;\n\t\t$incident->incident_date = $message_date;\n\t\t$incident->incident_dateadd = $message_date;\n\t\t$incident->incident_mode = 2;\n\t\t// Incident Evaluation Info\n\t\t$incident->incident_active = 1;\n\t\t$incident->incident_verified = 1;\n\t\t//Save\n\t\t$incident->save();\n\t\t\n\t\t//STEP 3: Record Approval\n\t\t$verify = new Verify_Model();\n\t\t$verify->incident_id = $incident->id;\n\t\t$verify->user_id = 0;\n\t\t$verify->verified_date = date(\"Y-m-d H:i:s\",time());\n\t\tif ($incident->incident_active == 1)\n\t\t{\n\t\t\t$verify->verified_status = '1';\n\t\t}\n\t\telseif ($incident->incident_verified == 1)\n\t\t{\n\t\t\t$verify->verified_status = '2';\n\t\t}\n\t\telseif ($incident->incident_active == 1 && $incident->incident_verified == 1)\n\t\t{\n\t\t\t$verify->verified_status = '3';\n\t\t}\n\t\telse\n\t\t{\n\t\t\t$verify->verified_status = '0';\n\t\t}\n\t\t$verify->save();\n\t\t\n\t\t\n\t\t// STEP 3: SAVE CATEGORIES\n\t\tORM::factory('Incident_Category')->where('incident_id',$incident->id)->delete_all();\t\t// Delete Previous Entries\n\t\tforeach($categories as $item)\n\t\t{\n\t\t\tif(is_numeric($item))\n\t\t\t{\n\t\t\t\t$incident_category = new Incident_Category_Model();\n\t\t\t\t$incident_category->incident_id = $incident->id;\n\t\t\t\t$incident_category->category_id = $item;\n\t\t\t\t$incident_category->save();\n\t\t\t}\n\t\t}\n\n\t\t//don't forget to set incident_id in the message\n\t\tEvent::$data->incident_id = $incident->id;\n\t\tEvent::$data->save();\n\t\t\n\t}", "function checkSpamForReceiver($viewer, $viewed)\n{\n\t$today = date(\"Y-m-d\");\n\t$sql = \"SELECT COUNT(*) cnt FROM jsadmin.VIEW_CONTACTS_LOG WHERE VIEWED='$viewed' AND SOURCE='\".CONTACT_ELEMENTS::CALL_DIRECTLY_TRACKING.\"' AND DATE BETWEEN '$today 00:00:00' AND '$today 23:59:59'\";\n\t$res = mysql_query_decide($sql) or logError(\"Due to a temporary problem your request could not be processed. Please try after a couple of minutes\",$sql,\"ShowErrTemplate\");\n\t$row=mysql_fetch_array($res);\n\tif($row[0] >= 10)\n\t\treturn false;\n\treturn true;\n}", "function check_spammer_filter($jprofile_result,$action='')\n{\n\t$myprofileid=$jprofile_result['viewer']['PROFILEID'];\n\t$hisprofileid=$jprofile_result['viewed']['PROFILEID'];\n\t$return=getFilteredContact($myprofileid, $hisprofileid,'','',$action);\n\tif($return=='Y')\n\t\treturn 1;\n\treturn 0;\n}", "function jasmin_hook_sendsms($smsc, $sms_sender, $sms_footer, $sms_to, $sms_msg, $uid = '', $gpid = 0, $smslog_id = 0, $sms_type = 'text', $unicode = 0) {\n\tglobal $plugin_config;\n\t\n\t_log(\"enter smsc:\" . $smsc . \" smslog_id:\" . $smslog_id . \" uid:\" . $uid . \" to:\" . $sms_to, 3, \"jasmin_hook_sendsms\");\n\t\n\t// override plugin gateway configuration by smsc configuration\n\t$plugin_config = gateway_apply_smsc_config($smsc, $plugin_config);\n\t\n\t$sms_sender = stripslashes($sms_sender);\n\tif ($plugin_config['jasmin']['module_sender']) {\n\t\t$sms_sender = $plugin_config['jasmin']['module_sender'];\n\t}\n\t\n\t$sms_footer = stripslashes($sms_footer);\n\t$sms_msg = stripslashes($sms_msg);\n\t$ok = false;\n\t\n\tif ($sms_footer) {\n\t\t$sms_msg = $sms_msg . $sms_footer;\n\t}\n\t\n\tif ($sms_sender && $sms_to && $sms_msg) {\n\t\t\n\t\t$unicode_query_string = '';\n\t\tif ($unicode) {\n\t\t\tif (function_exists('mb_convert_encoding')) {\n\t\t\t\t// $sms_msg = mb_convert_encoding($sms_msg, \"UCS-2BE\", \"auto\");\n\t\t\t\t$sms_msg = mb_convert_encoding($sms_msg, \"UCS-2\", \"auto\");\n\t\t\t\t// $sms_msg = mb_convert_encoding($sms_msg, \"UTF-8\", \"auto\");\n\t\t\t\t$unicode_query_string = \"&coding=8\"; // added at the of query string if unicode\n\t\t\t}\n\t\t}\n\t\t\n\t\t$query_string = \"username=\" . $plugin_config['jasmin']['api_username'] . \"&password=\" . $plugin_config['jasmin']['api_password'] . \"&to=\" . urlencode($sms_to) . \"&from=\" . urlencode($sms_sender) . \"&content=\" . urlencode($sms_msg) . $unicode_query_string;\n\t\t$query_string .= \"&dlr=yes&dlr-level=2&dlr-url=\" . $plugin_config['jasmin']['callback_url'];\n\t\t$url = $plugin_config['jasmin']['url'] . \"?\" . $query_string;\n\t\t\n\t\t_log(\"send url:[\" . $url . \"]\", 3, \"jasmin_hook_sendsms\");\n\t\t\n\t\t// new way\n\t\t$opts = array(\n\t\t\t'http' => array(\n\t\t\t\t'method' => 'POST',\n\t\t\t\t'header' => \"Content-type: application/x-www-form-urlencoded\\r\\nContent-Length: \" . strlen($query_string) . \"\\r\\nConnection: close\\r\\n\",\n\t\t\t\t'content' => $query_string \n\t\t\t) \n\t\t);\n\t\t$context = stream_context_create($opts);\n\t\t$resp = file_get_contents($plugin_config['jasmin']['url'], FALSE, $context);\n\t\t\n\t\t// Success \"07033084-5cfd-4812-90a4-e4d24ffb6e3d\"\n\t\t// Error \"No route found\"\n\t\t$resp = explode(' ', $resp, 2);\n\t\t\n\t\tif ($resp[0] == 'Success') {\n\t\t\t$c_message_id = $resp[1];\n\t\t\t$c_message_id = str_replace('\"', '', $c_message_id);\n\t\t\t_log(\"sent smslog_id:\" . $smslog_id . \" message_id:\" . $c_message_id . \" smsc:\" . $smsc, 2, \"jasmin_hook_sendsms\");\n\t\t\t$db_query = \"\n\t\t\t\tINSERT INTO \" . _DB_PREF_ . \"_gatewayJasmin (local_smslog_id, remote_smslog_id)\n\t\t\t\tVALUES ('$smslog_id', '$c_message_id')\";\n\t\t\t$id = @dba_insert_id($db_query);\n\t\t\tif ($id) {\n\t\t\t\t$ok = true;\n\t\t\t\t$p_status = 1;\n\t\t\t\tdlr($smslog_id, $uid, $p_status);\n\t\t\t}\n\t\t} else {\n\t\t\t// even when the response is not what we expected we still print it out for debug purposes\n\t\t\tif ($resp[0] == 'Error') {\n\t\t\t\t$resp = $resp[1];\n\t\t\t\t$resp = str_replace('\"', '', $resp);\n\t\t\t} else {\n\t\t\t\t$resp = str_replace(\"\\n\", \" \", $resp);\n\t\t\t\t$resp = str_replace(\"\\r\", \" \", $resp);\n\t\t\t}\n\t\t\t_log(\"failed smslog_id:\" . $smslog_id . \" resp:[\" . $resp . \"] smsc:\" . $smsc, 2, \"jasmin_hook_sendsms\");\n\t\t}\n\t}\n\tif (!$ok) {\n\t\t$p_status = 2;\n\t\tdlr($smslog_id, $uid, $p_status);\n\t}\n\t\n\treturn $ok;\n}", "function my_hook_jallo_function($keyword, $params)\n{\n global $app_name, $app_version, $nama_modem;\n // Sometime, you don't need to reply SMS from non-user number,\n // such as SMS from Service Center, message center, \n // or promotional SMS:\n if (strlen($params['sender'])<=6) {\n return true;\n }\n else\n {\n // If the SMS requires reply, do it as follows:\n /*\n * return sms_send($params['sender'], \n * 'Thank your for texting us.', \n * $nama_modem);\n */\n // or simply return true without replying it:\n /*\n * return true;\n */\n return sms_send($params['sender'], 'Jallo lalo mi.', $nama_modem);\n } \n}", "function SentSMS($from, $recs, $msg) {\n foreach ($to as $recs) {\n $sender = trim($sender);\n $recs = trim($recs);\n $msg = trim($msg);\n $f = '[\"sender\",\"to\",\"msg\"]';\n $v = '[$sender, $to,$msg]';\n $resp = $this->Insert(\"sms\", $f, $v);\n return $resp;\n \n }\n }", "function isSMSRequest($req){\n\t\t//S means SMS\n\t\tif ((strpos($req->DisplayID, 'S') !== false) || $req->Status==4)\n\t\t\treturn true;\n\t\telse return false;\n\t}", "public function checkLimitSentPhones() {\n\n return $this->validateTamPhones();\n\n }", "function _sendInternalSMS($recipient, $message, $sender_id) {\r\n \t\t$this->getSmsVendor($this->Session->read('domain_id'));\r\n \t\t//pr($this->sms_vendor_details);\r\n \t\t\t\r\n\t\t$this->sendSMS($recipient, $message, $sender_id, true);\r\n\t\t$this->autoRender = false;\r\n\t\t\t\r\n\t}", "function SendToAll($sender, $msg) {\n $resource = $this->Retrieve();\n $qry = \"SELECT phone FROM personel\";\n $rec = \"\";\n $getallqry = mysqli_query($resource, $qry);\n while($phone = mysqli_fetch_array($getallqry)) { \n $rec .= $phone['phone'].\",\";\n }\n $recs = explode(\",\", $rec);\n $this->SendSMS($sender, $recs, $msg);\n }", "function send_sms($phone, $text, $from, $supplier, $groupID = ''){\n if(!empty($this->password) && !empty($this->username)){\n if($supplier == 'VHT' || empty($supplier)){\n $params = array(\n 'code' => $this->password,\n 'account' => $this->username,\n 'phone' => $phone,\n 'from' => $from,\n 'sms' => $text,\n );\n $login_results = $this->client->call('sendSms',$params);\n }\n\n elseif($supplier == 'VIETGUYS'){\n $params = array(\n 'account' => $this->username,\n 'passcode' => $this->password,\n 'service_id' => $from,\n 'phone' => $phone,\n 'sms' => $text,\n 'transactionid' => '',\n 'json' => 2\n );\n $login_results = $this->client->call('send',array('sms' => $params) );\n }elseif($supplier == 'GAPIT'){\n $params = array(\n 'dest' => $phone,\n 'name' => $from,\n 'msgBody' => $text,\n 'contentType' => 'text',\n 'serviceID' => 'G-API',\n 'mtID' => '0',\n 'cpID' => $groupID,\n 'username' => $this->username,\n 'password' => $this->password,\n );\n $login_results = $this->client->call('SendMT', $params );\n if($login_results['SendMTResult'] == '200') $login_results = 1;\n else $login_results = -1;\n }elseif($supplier == '8x77'){\n $this->client->setCredentials($this->username, $this->password);\n $err = $this->client->getError();\n if ($err) $login_results = -1;\n\n $params = array('string' => $phone,\n 'string0' => base64_encode($text),\n 'string1' => $from, //'SERVICE_ID: neu BrandName thi dien BrandName vao\n 'string2' => $from, // Command_code: neu BrandName thi dien BrandName vao\n 'string3' => 0, //Message_Type\n 'string4' => 0,//Receive_ID\n 'string5' => 1,//Total_MSG\n 'string6' => 1,//Msg_Index\n 'string7' => 0,//IsMore\n 'string8' => 0);//Content_Type\n\n // $params = array(\n // 'User_ID' => $phone,\n // 'Message' => $text,\n // 'contentType' => 'text',\n // 'Service_ID' => 'BLUESEA',\n // 'Command_Code' => 'CSKH',\n // 'Message_Type' => '0',\n // 'Request_ID' => $groupID,\n // 'Total_Message'=> '1',\n // 'Message_Index'=> '1',\n // 'IsMore' => '1',\n // 'Content_Type' => '0',\n // );\n\n\n $login_results = $this->client->call('sendMT', $params );\n if($login_results == 0) $login_results = 1;\n else $login_results = -1;\n }\n elseif($supplier == 'VMG'){\n //config WS Account bất kì, WS Password là token\n $params = array(\n 'to' => $phone,\n 'telco' => '',\n 'orderCode' => '',\n 'packageCode' => '',\n 'type' => 1,\n 'from' => $from,\n 'message' => $text,\n 'scheduled' => '',\n 'requestId' => '',\n 'useUnicode' => 1,\n 'maxMt' => 0,\n 'ext' => '',\n );\n\n// $this->client->setHeaders('token:' + $this->password);\n// $login_results = $this->client->call('BulkSendSms',$params);\n// if($login_results['BulkSendSmsResult']['error_code'] == 0) $login_results = 1;\n// else $login_results = -1;\n\n $curl = curl_init();\n curl_setopt_array($curl, array(\n CURLOPT_URL => $this->url,\n CURLOPT_RETURNTRANSFER => true,\n CURLOPT_ENCODING => \"\",\n CURLOPT_MAXREDIRS => 10,\n CURLOPT_TIMEOUT => 0,\n CURLOPT_FOLLOWLOCATION => true,\n CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n CURLOPT_CUSTOMREQUEST => \"POST\",\n CURLOPT_POSTFIELDS => json_encode($params),\n CURLOPT_HTTPHEADER => array(\n 'Content-Type: application/json; charset=\"UTF-8\"',\n 'token: ' . $this->password\n ),\n ));\n $response = curl_exec($curl);\n curl_close($curl);\n if ($response != false) {\n $login_results = 1;\n } else\n $login_results = -1;\n }\n elseif ($supplier =='VIETTEL'){\n\n $params = array(\n \"User\" => $this->username,\n \"Password\" => $this->password,\n \"CPCode\" => $from,\n \"RequestID\" => \"1\",\n \"UserID\" => $phone,\n \"ReceiverID\" => $phone,\n \"ServiceID\" => $from,\n \"CommandCode\" => \"bulksms\",\n \"Content\" => $text,\n \"ContentType\" => \"0\"\n );\n\n $login_results = $this->client->call(\"wsCpMt\", array($params));\n\n\n if($login_results['return']['result'] == 1) $login_results = 1;\n else $login_results = -1;\n }\n else $login_results = -1;\n }else $login_results = -1;\n\n return $login_results;\n }", "function master_spam_check($email,$message,$phone,$spam_on_off)\n{\nif($spam_on_off!=\"off\")\n{\nif(spam_message_check($message,$words_list)==true){return true;}\nif(spam_email_check($email)==true){return true;}\nif(spam_phone_check($phone)==true){return true;}\n}\nelse return false;\n}", "public function recipientsAction()\n {\n $this->checkAjaxToken();\n $result = array();\n $args = array('keyword' => $this->request->getPost()->get('keyword'));\n $tables = DBUtil::getTables();\n if (SecurityUtil::checkPermission('Groups::', 'ANY', ACCESS_OVERVIEW)) {\n $grpColumn = $tables['groups_column'];\n $value = DataUtil::formatForStore($args['keyword']);\n $where = \"WHERE {$grpColumn['name']} LIKE '%{$value}%'\";\n $results = DBUtil::selectFieldArray('groups', 'name', $where, $grpColumn['name'], false, 'gid');\n foreach ($results as $gid => $name) {\n $result[] = array('value' => \"g{$gid}\", 'caption' => $this->__f('%s (Group)', DataUtil::formatForDisplay($name)));\n }\n }\n if (SecurityUtil::checkPermission('Users::', '::', ACCESS_COMMENT)) {\n $usersColumn = $tables['users_column'];\n $value = DataUtil::formatForStore($args['keyword']);\n $where = \"WHERE {$usersColumn['uname']} LIKE '%{$value}%'\";\n $results = DBUtil::selectFieldArray('users', 'uname', $where, $usersColumn['uname'], false, 'uid');\n foreach ($results as $uid => $uname) {\n $result[] = array('value' => \"u{$uid}\", 'caption' => DataUtil::formatForDisplay($uname));\n }\n }\n return new Zikula_Response_Ajax_Json(array('data' => $result));\n }", "public function getTurnSms()\r\n {\r\n\r\n $arFilter = array();\r\n $arFilter[\"STATUS\"] = 1;\r\n $arFilter[\"<TIME_SEND\"] = \\Bitrix\\Main\\Type\\DateTime::createFromTimestamp(time());\r\n\r\n $res = \\Startsend\\Sms\\ListTable::getList(\r\n array(\r\n 'select' => array('ID', 'SENDER', 'PHONE', 'MESS', 'EVENT', 'EVENT_NAME'),\r\n 'filter' => array($arFilter),\r\n 'limit' => \\Bitrix\\Main\\Config\\Option::get(\"startsend.sms\", \"limitsms\", 10, \"\"),\r\n 'order' => array(\"SORT\" => \"DESC\")\r\n )\r\n );\r\n while ($data = $res->fetch()) {\r\n usleep(100000); //на всякий случай не более 10 запросов в секунду\r\n $this->event = $data['EVENT'];\r\n $this->eventName = $data['EVENT_NAME'];\r\n $send = $this->sendSms($data['PHONE'], $data['MESS'], 0, $data['SENDER'], '', false, array('id' => $data['ID']));\r\n }\r\n\r\n }", "function CheckUserSmsLimitForEmergency($iMemberId, $UserType = \"Passenger\") {\n global $obj, $generalobj, $tconfig, $VERIFICATION_CODE_RESEND_COUNT_EMERGENCY, $VERIFICATION_CODE_RESEND_TIME_IN_SECONDS_EMERGENCY;\n if ($UserType == \"Passenger\") {\n $tblname = \"register_user\";\n $fields = 'vVerificationCountEmergency,dSendverificationDateEmergency,vLang';\n $condfield = 'iUserId';\n } else {\n $tblname = \"register_driver\";\n $fields = 'vVerificationCountEmergency,dSendverificationDateEmergency,vLang';\n $condfield = 'iDriverId';\n }\n $sql = \"SELECT * FROM user_emergency_contact WHERE iUserId = '\" . $iMemberId . \"' AND eUserType='\" . $UserType . \"'\";\n $dataArr = $obj->MySQLSelect($sql);\n if (count($dataArr) == 0) {\n $returnArr['Action'] = \"0\";\n $returnArr['message'] = \"LBL_ADD_EME_CONTACTS\";\n $returnArr['message1'] = \"ContactError\";\n setDataResponse($returnArr);\n }\n $sql = \"select $fields from $tblname where $condfield='\" . $iMemberId . \"'\";\n $db_user = $obj->MySQLSelect($sql);\n $vVerificationCount = $db_user[0]['vVerificationCountEmergency'];\n $dSendverificationDate = $db_user[0]['dSendverificationDateEmergency'];\n $vLang = $db_user[0]['vLang'];\n if ($vLang == \"\" || $vLang == NULL) {\n $vLang = get_value('language_master', 'vCode', 'eDefault', 'Yes', '', 'true');\n }\n $languageLabelsArr = getLanguageLabelsArr($vLang, \"1\");\n $currentdate = @date(\"Y-m-d H:i:s\");\n $totalMinute = @round(abs(strtotime($dSendverificationDate) - strtotime($currentdate)) / 60);\n $totalSeconds = abs(strtotime($dSendverificationDate) - strtotime($currentdate));\n $hours = floor($totalMinute / 60); // No. of mins/60 to get the hours and round down\n $mins = $totalMinute % 60; // No. of mins/60 - remainder (modulus) is the minutes\n $LBL_HOURS_TXT = ($hours > 1) ? $languageLabelsArr['LBL_HOURS_TXT'] : $languageLabelsArr['LBL_HOUR_TXT'];\n //$LBL_MINUTES_TXT = ($mins > 1)? $languageLabelsArr['LBL_MINUTES_TXT'] : $languageLabelsArr['LBL_MINUTE'];\n $LBL_MINUTES_TXT = ($mins > 1) ? $languageLabelsArr['LBL_MINS_SMALL'] : $languageLabelsArr['LBL_MINUTE'];\n if ($hours >= 1) {\n $timeDurationDisplay = $hours . \" \" . $LBL_HOURS_TXT . \" \" . $mins . \" \" . $LBL_MINUTES_TXT;\n } else {\n if ($mins > 1) {\n $timeDurationDisplay = $mins . \" \" . $LBL_MINUTES_TXT;\n } else {\n $timeDurationDisplay = $totalSeconds . \" \" . $languageLabelsArr['LBL_SECONDS_TXT'];\n }\n }\n $message = $languageLabelsArr['LBL_SMS_MAXIMAM_LIMIT_TXT'] . \" \" . $timeDurationDisplay;\n if (($dSendverificationDate < $currentdate) && $dSendverificationDate != \"0000-00-00 00:00:00\") {\n $updateQuery = \"UPDATE $tblname set dSendverificationDateEmergency='0000-00-00 00:00:00',vVerificationCountEmergency = 0 WHERE $condfield = \" . $iMemberId;\n $obj->sql_query($updateQuery);\n $vVerificationCount = 0;\n $dSendverificationDate = \"0000-00-00 00:00:00\";\n }\n $totalSeconds1 = abs(strtotime($dSendverificationDate) - strtotime($currentdate));\n if ($totalSeconds1 < $VERIFICATION_CODE_RESEND_TIME_IN_SECONDS_EMERGENCY) {\n $returnArr['Action'] = \"0\";\n $returnArr['message'] = $message;\n $returnArr['message1'] = \"SmsError\";\n setDataResponse($returnArr);\n }\n if ($vVerificationCount == $VERIFICATION_CODE_RESEND_COUNT_EMERGENCY) {\n $returnArr['Action'] = \"0\";\n $returnArr['message'] = $message;\n $returnArr['message1'] = \"SmsError\";\n setDataResponse($returnArr);\n }\n return $iMemberId;\n}", "function search_user_by_sms($sms_number) {\n\t\t$sql = \"SELECT * \n\t\t\tFROM \" . USERS_TABLE . \"\n\t\t\tWHERE user_sms='$sms_number'\";\n\t\tif ( !($result = $this->db->sql_query($sql)) )\n\t\t{\n\t\t\treturn false;\n\t\t}\n\n\t\t$matching_user = array();\n\t\tif ( $row = $this->db->sql_fetchrow($result) )\n\t\t{\n\t\t\treturn $row;\n\t\t}\n\t\treturn false;\n\t}", "static function getNewSms()\n {\n global $vgDB, $vgSmsPrefix;\n \n $new = $vgDB->GetAll(\"SELECT ID, SenderNumber, TextDecoded FROM {$vgSmsPrefix}inbox \"\n .\"WHERE Processed = 'false'\");\n $list = array();\n foreach($new as $sms)\n {\n //If it is a balance report or some unknown spammer, don't delete just mark as processed\n if($sms['SenderNumber'] == Sms::$balanceNumber || strlen($sms['SenderNumber']) < 7 )\n {\n Sms::processed($sms['ID']);\n continue;\n }\n //Spammers, burn in hell!\n if(in_array($sms['SenderNumber'], Sms::$blackList))\n {\n Sms::processed($sms['ID']); // change this to delete\n continue;\n }\n \n $list[] = array(\n 'id' => $sms['ID'],\n 'from' => $sms['SenderNumber'],\n 'text' => $sms['TextDecoded'],\n );\n }\n return $list;\n }", "function sms_send($number, $subject, $message, $from, $provider)\n{\n\t// Teleflip Service no longer exists, just return success\n\t// return true;\n\tif($provider == 'oth')\n\t{\n\t\t// provider information hasn't been set, so we'll default to not sending a thing\n\t\t$gSmsError = \"Provider has not been setup. Please choose the cell phone provider in the Dealer's information page in order to enable sending SMSs.\";\n\t\treturn false;\n\t}\n\t// Check that the phone number is numeric\n if (!is_numeric($number)) {\n $gSmsError = \"Please enter a phone number containing only digits 0-9.\";\n\t\treturn false;\n // Make sure the phone number doesn't start with 911\n } elseif (eregi(\"^(911)(.*)$\", $number)) {\n $gSmsError = \"Please enter a valid phone number.\";\n\t\treturn false;\n // Check that the phone number is 10 digits\n } elseif (strlen($number) != \"10\") {\n $gSmsError = \"Please enter a phone number that is 10 digits (the 3 digit area code and 7 digit number).\";\n\t\treturn false;\n // Check that the subject doesn't contain HTML characters\n } elseif (eregi(\"^(.*)(<|>)(.*)$\", $subject)) {\n $gSmsError = \"The subject of the message cannot contain HTML characters (such as &gt; or &lt;).\";\n\t\treturn false;\n // Check that the message doesn't contain HTML characters\n } elseif (eregi(\"^(.*)(<|>)(.*)$\", $message)) {\n $gSmsError = \"The message cannot contain HTML characters (such as &gt; or &lt;).\";\n\t\treturn false;\n // Check that the subject is between 3 and 20 characters\n } elseif ((strlen($subject) < \"3\") || (strlen($subject) > \"20\")) {\n $gSmsError = \"The subject must be between 3 and 20 characters in length.\";\n\t\treturn false;\n\t} else {\n // Where are we sending it?\n // get the provider information\n $cellprovider = new cellProvider($provider);\n $to = $number .'@'. $cellprovider->getEmail();\n\t\t//echo \"to: $to, subject: $subject, message: $message\";\n\t\t//die();\n // Send the text message (via Teleflip's service)\n if (@sendmail($to, $subject, $message)) {\n // Give a success notice\n\t\t\treturn true;\n // Give an error that message can't be sent\n } else {\n $gSmsError = \"Sorry, there was an error while trying to send the message - please try again later.\";\n\t\t\treturn false;\n }\n }\n}", "public function SmsSend($user_info, $tel, $message)\n\t{\n\t\t/*$validator = \"\n\t\tavea = \" . ($this->avea_validator1($tel)) . \" ,\n\t\tavea2 = \" . ($this->avea_validator2($tel)) . \",\n\t\tvodafone_validator = \" . ($this->vodafone_validator($tel)) . \",\n\t\tturkcell_validator = \" . ($this->turkcell_validator($tel)) . \"\n\t\t\";\n\t\t$mail = new Zend_Mail();\n\t\t$mail->setBodyText('My Nice Test Text');\n\t\t$mail->setBodyHtml(($validator));\n\t\t$mail->setFrom('[email protected]', 'Some Sender');\n\t\t$mail->addTo('[email protected]', 'Some Recipient');\n\t\t$mail->setSubject('HAtalar sonuçlar ');\n\t\t$mail->send();*/\n\n\n\t\t$sonuc = array();\n\t\t$numra_dogrula = false;\n\n\t\t$sonuc[0] = $this->avea_validator1($tel);\n\t\t$sonuc[1] = $this->vodafone_validator($tel);\n\t\t$sonuc[2] = $this->turkcell_validator($tel);\n\t\t$sonuc[3] = $this->avea_validator2($tel);\n\n\n\t\tif (in_array(\"var\", $sonuc)) {\n\t\t\t$numra_dogrula = true;\n\t\t}\n\n\n\t\t$tel = explode(';', $tel);\n\n\t\tif (is_array($tel)) {\n\t\t\t$to_list = $tel; // array('00905300000002', '+905360000001');\n\t\t} else {\n\t\t\t$to_list = array($tel);\n\t\t}\n\n\t\t/*$mail = new Zend_Mail();\n\t\t$mail->setBodyText('My Nice Test Text');\n\t\t$mail->setBodyHtml(json_encode($numra_dogrula));\n\t\t$mail->setFrom('[email protected]', 'Some Sender');\n\t\t$mail->addTo('[email protected]', 'Some Recipient');\n\t\t$mail->setSubject('yeni duzende $numra_dogrula degeri ');\n\t\t$mail->send();*/\n\t\t//$numra_dogrula = $this->all_mobile_sms_validator($to_list);//iptal\n\n\t\t$mail_gonderme = false;\n\n\t\tif ($numra_dogrula == false) {\n\t\t\t$sonuc = array(\n\t\t\t\t'sorgu_return' => '400',\n\t\t\t\t'sonuc' => 'sorun oluştu cep telefonu numarası degil===',\n\t\t\t\t'tel' => $tel,\n\t\t\t\t'sonucc' => $numra_dogrula,\n\t\t\t);\n\t\t\tif ($mail_gonderme) {\n\t\t\t\t$mail = new Zend_Mail();\n\t\t\t\t$mail->setSubject('girer 400 hatası');\n\t\t\t\t$mail->setBodyHtml(json_encode($sonuc));\n\t\t\t\t$mail->setFrom('[email protected]', 'Some Sender');\n\t\t\t\t$mail->addTo('[email protected]', 'Some Recipient');\n\t\t\t\t$mail->setBodyText('My Nice Test Text');\n\t\t\t\t$mail->send();\n\t\t\t\t//return (($sonuc));\n\t\t\t}\n\n\t\t}\n\n\n\t\tif ($numra_dogrula) {\n\n\t\t\t//eğer array değilse olayına bakılacak\n\t\t\t$user_name = $user_info['username'];\n\t\t\t$pass = $user_info['pass'];\n\t\t\tparent::__construct($user_name, $pass);\n\n\t\t\t// $to_list = array($tel); // array('00905300000002', '+905360000001');\n\n\n\t\t\t$from = null;\n\t\t\t$validity_period = 1440;\n\t\t\t$data_coding = 'Default';\n\t\t\tdate_default_timezone_set('UTC');\n\t\t\t$date = mktime(15, 55, 0, 07, 04, 2017); // 5 November 2011 //11 - 5 -2011\n\t\t\t$scheduled_delivery_time = date(DATE_ATOM, $date); // '2011-11-05T00:00:00+00:00'\n\n\t\t\t/* Send SMS at 2011-11-05 00:00+01:00, valid for 61 minute and with unicode support */\n\t\t\t// $response = parent::submit($to_list, $message, $from, $scheduled_delivery_time, $validity_period, $data_coding);\n\n\t\t\t/* Send SMS immediately, with default sender (from) and 24h validity period, using default GSM 3.38 alphabet */\n\t\t\t// $response = $smsapi->submit($to_list, 'hello world');\n\n\t\t\t/* Send SMS immediately, with default sender (from) and 24h validity period, with unicode support */\n\t\t\t$response = parent::submit($to_list, $message, null, null, null, 'Default');//sel\n\n\n\t\t\t/* Check submit response */\n\t\t\tif ($response->status) {\n\t\t\t\tif ($response->payload->Status->Code == 200) {\n\t\t\t\t\t$log1 = array(\n\t\t\t\t\t\t'code' => $response->payload->Status->Code,\n\t\t\t\t\t\t'return' => true,\n\t\t\t\t\t\t'return_id' => $response->payload->MessageId\n\t\t\t\t\t);\n\t\t\t\t\t$array = json_decode(json_encode($log1), true);//mecbur array e cevirilmeli\n\n\t\t\t\t\t//usleep(3000000);\n\t\t\t\t\t$sorgu_return = $this->sorgu($user_info, $array['return_id'][0]);\n\n\n\t\t\t\t\t$sonuc = array(\n\t\t\t\t\t\t'sorgu_return' => $sorgu_return,\n\t\t\t\t\t\t'sonuc' => $array,\n\t\t\t\t\t);\n\t\t\t\t\treturn $sonuc;\n\t\t\t\t} else {\n\t\t\t\t\t$log1 = array(\n\t\t\t\t\t\t'code' => $response->payload->Status->Code,\n\t\t\t\t\t\t'desc' => $response->payload->Status->Description,\n\t\t\t\t\t\t'return' => false,\n\t\t\t\t\t\t'return_id' => $response->payload->MessageId\n\t\t\t\t\t);\n\n\t\t\t\t\t$array = json_decode(json_encode($log1), true);\n\t\t\t\t\t$sonuc = array(\n\t\t\t\t\t\t'sorgu_return' => null,\n\t\t\t\t\t\t'sonuc' => $array,\n\t\t\t\t\t);\n\n\t\t\t\t\treturn $sonuc;\n\n\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\treturn $response->error;\n\t\t\t}\n\t\t}\n\n\t}", "public function _get_number_info_for_message()\n\t{\n\t\t$message_id = Event::$data;\n\t\t\n\t\t$number_items = ORM::factory(\"simplegroups_groups_number\")\n\t\t\t->join(\"simplegroups_groups_message\", \"simplegroups_groups_message.number_id\", \"simplegroups_groups_numbers.id\")\n\t\t\t->where(\"simplegroups_groups_message.message_id\", $message_id)\n\t\t\t->find_all();\n\t\tforeach($number_items as $number_item)\n\t\t{\n\t\t\t$view = new View('simplegroups/number_info_message');\n\t\t\t$view->name = $number_item->name;\n\t\t\t$view->org = $number_item->org;\n\t\t\t$view->render(TRUE);\n\t\t}\n\t}", "function filterInbox(int $userId);", "public function checkUserByNumber($request)\n {\n return DB::table(\"deliveries\")\n ->select(\"recipient_name\",\"recipient_number\", \"recipient_email\", \"recipient_zone_id\", \"recipient_address\", \"latitude\", \"longitude\")\n ->where([\"recipient_number\" => $request->recipient_number])\n ->first();\n }", "public function routeNotificationForSms()\n {\n return $this->phone;\n }", "public function request_sms() {\n\n //are sms allowed\n if(!$this->sms) {\n throw new Exception( t('SMS Disabled.') );\n }\n\n //sanity check\n if( !$this->isPost() ) {\n throw new Exception( t('Invalid request type.') );\n }\n\n //get and parse the phone number\n $phone = $this->post('phone');\n\n\n //remove and non valid chars\n $phone = preg_replace(\"/[^0-9]/\", \"\", $phone);\n\n //remove leading country code 00es\n if( substr($phone,0,2) == \"00\" ) {\n $phone = substr($phone,2);\n }\n\n //last sanity check after parsing\n if( empty($phone) ) {\n echo json_encode( array( \"status\" => \"FAIL\", \"msg\" => t(\"Invalid phone number\") ) );\n exit();\n }\n\n //find the user with the phone number\n Loader::model('user_list');\n $ul = new UserList();\n\n //filter by the phone number\n $ul->filterByAttribute('phone_number', $phone);\n\n //and get the first and only result\n $users = $ul->get(1);\n\n //no users found, maybe he added the prefix to the phone number\n if( count($users) == 0 ) {\n\n //adjust the phone\n $phone = substr($phone,2);\n\n //and try a new search\n $ul = new UserList();\n $ul->filterByAttribute('phone_number', $phone);\n $users = $ul->get(1);\n }\n\n //if still no result, we dont have this number in DB\n if( count($users) == 0 ) {\n echo json_encode( array( \"status\" => \"FAIL\", \"msg\" => t(\"Non existing phone number\") ) );\n exit();\n }\n\n $ui = UserInfo::getByID( $users[0]->getUserID() );\n\n //Last sanity check, i promisse\n $authy_id = $ui->getAttribute('authy_user_id');\n if( empty($authy_id) ) {\n echo json_encode( array( \"status\" => \"FAIL\", \"msg\" => t(\"Invalid Authy Account\") ) );\n exit();\n }\n\n\n //load the library\n $authy = Loader::helper(\"authy\");\n\n //request the SMS\n if( $authy->requestSMS( $authy_id ) ) {\n //report that everything is ok\n echo json_encode( array( \"status\" => \"OK\" ) );\n } else {\n //small problem\n echo json_encode( array( \"status\" => \"FAIL\", \"msg\" => \"Error while requesting SMS token\" ) );\n }\n\n //end exit\n exit();\n }", "function broadcast($from_user, $msg) {\r\n\tglobal $users;\r\n\t\r\n\tforeach( $users as $user ) {\r\n\t\tif( $user->id != $from_user->id && $user->whiteboard_id == $from_user->whiteboard_id ) {\r\n\t\t\tsend($user->socket, $msg);\r\n\t\t}\r\n\t}\r\n}", "function call_directly($jprofile_result,$sender_sub,$reciever_sub,$contact_type,$who)\n{\n\t//This is get variable called from search and view similar.\n\tglobal $from_search;\n\tglobal $from_symfony;\n\t//print_r($jprofile_result);\n\t$sender_prof=$jprofile_result['viewer']['PROFILEID'];\n\t$reciever_prof=$jprofile_result['viewed']['PROFILEID'];\n\t$filter=$jprofile_result['IS_FILTER'];\n\t$same_gender=$jprofile_result['SAME_GENDER'];\n\t\n\t$type=$contact_type;\n\t$return_mes=ret_filter_gender_pri_ph($filter,$same_gender,$type,$who,$jprofile_result);\t\n\t$allow=0;\n\t$direct_show=0;\n\n\t//Don't show filter message for contact in[I,RA,A] state.\n\t$ctype=$type;\n\tif($who==\"SENDER\")\n\t\t$ctype=\"R\".$type;\n\tif(in_array($ctype,array('I','A','RA')))\t\n\t\t$filter='';\n\n\tif(!$return_mes)\n\t\t$alreadyViewed = alreadyViewed($sender_prof,$reciever_prof,$sender_sub);\n\tif($alreadyViewed == \"S\")\n\t{\n\t\t$allow=1;\n\t\t$direct_show=1;\n\t}\n\telseif($filter && $alreadyViewed != \"R\")\n\t\t$return_mes=\"You cannot see the contact details of this profile as the profile has filtered you.\";\n\tif(!$return_mes && $alreadyViewed)\n\t{\n\t\tif($alreadyViewed == \"S\")\n\t\t{\n\t\t\t$allow=1;\n\t\t\t$direct_show=1;\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//$verify_ph=isValidPhone($jprofile_result[\"viewer\"][\"PROFILEID\"], $jprofile_result[\"viewer\"][\"PHONE_MOB\"]);\n\t\t\t$verify_ph = getPhoneStatus($jprofile_result[\"viewer\"]);\n\t\t\tif($verify_ph!='Y')\n\t\t\t{\n\t\t\t\tif($jprofile_result[\"viewer\"][\"PHONE_RES\"])\n\t\t\t\t\t$LANDLINE = $jprofile_result[\"viewer\"][\"STD\"].\"-\".$jprofile_result[\"viewer\"][\"PHONE_RES\"];\n\t\t\t\tif($jprofile_result[\"viewer\"][\"PHONE_MOB\"])\n\t\t\t\t\t$MYMOBILE = $jprofile_result[\"viewer\"][\"PHONE_MOB\"]; \n\t\t\t\t$con_det_message=\"Please <a href=\\\"/profile/myjs_verify_phoneno.php?width=700\\\" class=\\\"thickbox\\\" onclick=\\\"javascript:{close_all_con_layer();$.colorbox({href:'/profile/myjs_verify_phoneno.php'});return false;}\\\">Verify your number</a> before using this feature.\";\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t$allow=1;\n\t\t\t\t$direct_show=1;\n\t\t\t}\n\t\t}\n\t}\n\telse\n\t{\n\t\tif($sender_sub && !$filter && !$same_gender && !$jprofile_result[\"INCOMPLETE_USER\"] && !$jprofile_result[\"UNDERSCREEN_USER\"])\n\t\t{\n\t\t\t$result=contacts_left_to_view($sender_prof);\n\t\t\t$viewed=$result['VIEWED'];\n\t\t\t$alloted=$result['ALLOTED'];\n\t\t\tif($viewed>=$alloted)\n\t\t\t\t$comm_mes=\"You have <span class='dark_orange b t14'>0</span> contacts left to view.<BR><div style='height:3px'>&nbsp;</div>\";\n\t\t\telse\n\t\t\t{\n\t\t\t\t//$verify_ph=isValidPhone($jprofile_result[\"viewer\"][\"PROFILEID\"], $jprofile_result[\"viewer\"][\"PHONE_MOB\"]);\n\t\t\t\t$verify_ph = getPhoneStatus($jprofile_result[\"viewer\"]);\n\t\t\t\tif($verify_ph!='Y')\n\t\t\t\t{\n\t\t\t\t\tif($jprofile_result[\"viewer\"][\"PHONE_RES\"])\n\t\t\t\t\t\t$LANDLINE = $jprofile_result[\"viewer\"][\"STD\"].\"-\".$jprofile_result[\"viewer\"][\"PHONE_RES\"];\n\t\t\t\t\tif($jprofile_result[\"viewer\"][\"PHONE_MOB\"])\n\t\t\t\t\t\t$MYMOBILE = $jprofile_result[\"viewer\"][\"PHONE_MOB\"];\t\t\t\t\n\t\t\t\t\t$return_mes=\"Please <a href=\\\"/profile/myjs_verify_phoneno.php?width=700\\\" class=\\\"thickbox\\\" onclick=\\\"javascript:{close_all_con_layer();$.colorbox({href:'/profile/myjs_verify_phoneno.php'});return false;}\\\">Verify your number</a> before using this feature.\";\n\t\t\t\t}\n\t\t\t\tif($return_mes)\n\t\t\t\t\t$con_det_message=$return_mes;\n\t\t\t\telse\n\t\t\t\t\t$allow=1;\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//$return_mes=ret_filter_gender_pri_ph($filter,$same_gender,$type,$who,$jprofile_result);\n\t\t\tif($return_mes)\n\t\t\t\t$con_det_message=$return_mes;\n\t\t\telse\n\t\t\t\t$comm_mes=\"Only paid members can view contact details directly.<BR><!--div style='height:3px'>&nbsp;</div-->\";\n\t\t}\n\t\t//When to put br in message.[because size is different in layer and page.\n\t\t$to_br=\"<BR>\";\n\t\tif($from_symfony)\n\t\t\t$to_br=\"\";\n\t\tif($con_det_message)\n\t\t{\n\t\t}\n\t\telseif($type==\"\")\n\t\t{\n\t\t\t$con_det_message=\"$comm_mes Please <a class='blink b' href='$SITE_URL/profile/mem_comparison.php?from_source=Express_interest_tab'>Upgrade your membership</a>\";\n\t\t\t\n\t\t\tif($from_search)\n\t\t\t{\n\t\t\t\t$profile_url=$_GET['profile_url'];\n //$con_det_message=$con_det_message.\" or <BR> <a style=\\\"pointer:cursor\\\" class=\\\"blink b\\\" onclick=\\\"javascript:{show_exp_layer('PROFILE_\".$profile_url.\"','\".$profile_url.\"',event);}\\\">Express Interest</a>\";\t\t\n\t\t\t\t$con_det_message=$con_det_message;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t$con_det_message=$con_det_message.\" or $to_br <a href=\\\"#\\\" class=\\\"blink b\\\" onclick=\\\"javascript:{show_layer('show_express','show_contact','expr_layer','con_layer');return false;}\\\">Express Interest</a>\";\n\t\t\t}\n\t\t}\n\t\telseif($type=='I')\n\t\t{\n\t\t\tif($who=='SENDER')\n\t\t\t{\n\t\t\t\t$con_det_message=\"$comm_mes Please <a class='blink b' href='$SITE_URL/profile/mem_comparison.php?from_source=Express_interest_tab'>Upgrade your membership</a>\";\n\t\t\t\tif(!$from_search)\n\t\t\t\t\t$con_det_message=$con_det_message.\" or <BR> <a href=\\\"#\\\" class=\\\"blink b\\\" onclick=\\\"javascript:{show_layer('show_express','show_contact','expr_layer','con_layer');return false;}\\\">Send Reminder</a>\";\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t$con_det_message=\"$comm_mes Please <a class='blink b' href='$SITE_URL/profile/mem_comparison.php?from_source=Express_interest_tab'>Upgrade your membership</a>\";\n\t\t\t\tif(!$from_search)\n $con_det_message=$con_det_message.\" or $to_br <a href=\\\"#\\\" class=\\\"blink b\\\" onclick=\\\"javascript:{show_layer('show_express','show_contact','expr_layer','con_layer');return false;}\\\">Accept</a>\";\n\t\t\t}\n\t\t}\n\t\telseif($type=='A')\n\t\t{\n\t\t\t$con_det_message=\"$comm_mes Please <a class='blink b' href='$SITE_URL/profile/mem_comparison.php?from_source=Express_interest_tab'>Upgrade your membership</a>\";\n\n\t\t}\n\t\telseif($type=='D')\n\t\t{\n\t\t\tif($who==\"\")\n\t\t\t\t$con_det_message=\"Please <a class='blink b' href='$SITE_URL/profile/mem_comparison.php?from_source=Express_interest_tab'>Upgrade your membership</a>\";\n\t\t\tif(!$from_search)\n $con_det_message=$con_det_message.\" or $to_br <a href=\\\"#\\\" class=\\\"blink b\\\" onclick=\\\"javascript:{show_layer('show_express','show_contact','expr_layer','con_layer');return false;}\\\">Accept</a>\";\n\t\t}\n\t\t\t\n\t}\n\t$return_arr['ALLOW']=$allow;\n\t$return_arr['DIRECT_SHOW']=$direct_show;\n\t$return_arr[\"VIEWED\"]=$viewed;\n\t$return_arr['ALLOTED']=$alloted;\n\t$return_arr['con_det_message']=$con_det_message;\n\tif($alreadyViewed == \"S\" || $alreadyViewed == \"R\")\n\t\t$return_arr['ALREADY_VIEWED']=1;\n\treturn $return_arr;\n}", "function bbp_is_user_spammer($user_id = 0)\n{\n}", "function spam_message_check($spm_check_query,$word_list){\n\n\t$spm_check_len = strlen($spm_check_query);\n\t$spm_check_count = str_word_count($spm_check_query);\n\t\n\tif($spm_check_count<=2){\n\t\treturn true;\n\t\t// echo \"word count spam \";\n\n\t}else if($spm_check_len>=1001 || $spm_check_len <= 25)\n\t{\n\t\treturn true;\n\t\t// echo \"length spam\";\n\n\t}else if(word_list_check($spm_check_query)==true){\n\t\t// echo \"word list spam\";\n\t\treturn true;\n\t}\n\n\n}", "function sms_survey_hook_setsmsincomingaction($sms_datetime, $sms_sender, $survey_keyword, $survey_param = '', $sms_receiver = '', $raw_message = '') {\n\t$ok = false;\n\t$db_query = \"SELECT uid FROM \" . _DB_PREF_ . \"_featureSurvey WHERE keyword='$survey_keyword'\";\n\t$db_result = dba_query($db_query);\n\tif ($db_row = dba_fetch_array($db_result)) {\n\t\t$c_uid = $db_row['uid'];\n\t\tif (sms_survey_handle($c_uid, $sms_datetime, $sms_sender, $sms_receiver, $survey_keyword, $survey_param, $raw_message)) {\n\t\t\t$ok = true;\n\t\t}\n\t}\n\t$ret['uid'] = $c_uid;\n\t$ret['status'] = $ok;\n\treturn $ret;\n}", "function otp_send_by_msg91($senderId, $authKey, $mobileno, $message){\n\t $postData = array(\n\t 'authkey' => $authKey,\n\t 'mobiles' => $mobileno, //Multiple mobiles numbers separated by comma\n\t 'message' => urlencode($message),\n\t 'sender' => $senderId\n\t // 'route' => $route\n\t );\n\n\t //API URL\n\t $url=\"http://api.msg91.com/api/sendhttp.php\";\n\n\t // init the resource\n\t $ch = curl_init();\n\t curl_setopt_array($ch, array(\n\t CURLOPT_URL => $url,\n\t CURLOPT_RETURNTRANSFER => true,\n\t CURLOPT_POST => true,\n\t CURLOPT_POSTFIELDS => $postData\n\t //,CURLOPT_FOLLOWLOCATION => true\n\t ));\n\n\n\t //Ignore SSL certificate verification\n\t curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);\n\t curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);\n\n\n\t //get response\n\t $output = curl_exec($ch);\n\n\t //Print error if any\n\t if(curl_errno($ch)){\n\t //echo 'error:' . curl_error($ch);\n\t $result = 'error';\n\t }else{\n\t \t$result = 'true';\n\t }\n\n\t curl_close($ch);\n\n\t if($result){\n\t \treturn 'TRUE';\n\t }else{\n\t \treturn 'FALSE';\n\t }\n\t}" ]
[ "0.5471523", "0.52210647", "0.52073246", "0.5190572", "0.51563233", "0.5114939", "0.5097408", "0.5089288", "0.50864136", "0.5026111", "0.5010691", "0.50077087", "0.49949226", "0.49460423", "0.49407572", "0.49393952", "0.49306783", "0.49246374", "0.4921805", "0.49168032", "0.49109474", "0.48846984", "0.486566", "0.48638672", "0.48626104", "0.48514265", "0.48470488", "0.48438933", "0.4841008", "0.4827596" ]
0.7290572
0
end method _check_for_group Here we check and see if the user logged in is part of a group If they are we re direct them to only the content they can see This differs from the above in that it's called right when the user is logged in and the user object is passed in by the event
public function _check_for_group_login() { $user = Event::$data; $group_id = groups::get_user_group($user); $role = ORM::factory("role") ->join("roles_users", "roles_users.role_id", "roles.id") ->where("roles_users.user_id", $user->id) ->where("name", "simplegroups") ->find(); if (!$group_id) //don't belong to a group { //but do they have the role of a groupie and they're just not assigned to a group yet? if($role->name == "simplegroups") { url::redirect(url::site().'admin/simplegroups/nogroup'); } return; } //the person is a member of a group so redirect them to the group dashboard url::redirect(url::site().'admin/simplegroups/dashboard'); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function _check_for_group()\n\t{\n\t\t$user = new User_Model($_SESSION['auth_user']->id);\n\t\t$group_id = groups::get_user_group($user);\n\t\t$role = ORM::factory(\"role\")\n\t\t\t->join(\"roles_users\", \"roles_users.role_id\", \"roles.id\")\n\t\t\t->where(\"roles_users.user_id\", $user->id)\n\t\t\t->where(\"name\", \"simplegroups\")\n\t\t\t->find();\n\t\t\t\t\t\n\t\tif (!$group_id) //don't belong to a group\n\t\t{\n\t\t\t//but do they have the role of a groupie and they're just not assigned to a group yet?\n\t\t\tif($role->name == \"simplegroups\")\n\t\t\t{\n\t\t\t\turl::redirect(url::site().'admin/simplegroups/nogroup');\n\t\t\t}\n\t\t\t\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t//the person is a member of a group so redirect them to the group dashboard\n\t\turl::redirect(url::site().'admin/simplegroups/dashboard');\n\t\t\t\n\t}", "public function _admin_map_let_view()\n\t{\n\t\t$user = new User_Model($_SESSION['auth_user']->id);\n\t\t//figure out what group this user is\n\t\t//if they're not a groupie, then quit\n\t\t$group_id = groups::get_user_group($user);\n\t\tif($group_id)\n\t\t{\n\t\t\tEvent::$data = true;\n\t\t}\n\t}", "function rm_check_group_access() {\n\t// exception: company directory/pages are ok\n\n\tif ( 'groups' !== bp_current_component() ) {\n\t\treturn;\n\t}\n\n\t// echo bp_groups_get_group_type( bp_get_current_group_id() );\n\n\tif ( bp_get_current_group_id() && 'company' !== bp_groups_get_group_type( bp_get_current_group_id() ) ) {\n\t\t// ok you are on a group page now\n\t\tif ( ! current_user_can( 'administrator' ) ) {\n\t\t\twp_safe_redirect( home_url() );\n\t\t\texit;\n\t\t}\n\t}\n\n\t// echo bp_current_component() . '-----';\n\t// echo bp_current_action() . '-----';\n\n}", "function groupextended_user_join_event_listener($event, $object_type, $object) {\n\n $group = $object['group'];\n $user = $object['user'];\n if($user instanceof ElggUser){\n return true;\n }\n\n $user = $user->getOwner();\n if(!$group->isMember($user)){\n $acl = $group->group_acl;\n add_user_to_access_collection($user, $acl);\n }\n return false;\n}", "function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) { \n // For security, start by assuming the visitor is NOT authorized. \n $isValid = False; \n\n // When a visitor has logged into this site, the Session variable MM_Username set equal to their username. \n // Therefore, we know that a user is NOT logged in if that Session variable is blank. \n if (!empty($UserName)) { \n // Besides being logged in, you may restrict access to only certain users based on an ID established when they login. \n // Parse the strings into arrays. \n $arrUsers = Explode(\",\", $strUsers); \n $arrGroups = Explode(\",\", $strGroups); \n if (in_array($UserName, $arrUsers)) { \n $isValid = true; \n \n\n// Or, you may restrict access to only certain users based on their username. \n if (in_array($UserGroup, $arrGroups)) { \n $isValid = true; \n \n\nif (($strUsers == \"\") && true) { \n $isValid = true; \n \n\n} \n return $isValid; \n}\n\n$MM_restrictGoTo = \"../registro.php\";\nif (!((isset($_SESSION['MM_Username'])) && (isAuthorized(\"\",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) { \n $MM_qsChar = \"?\";\n $MM_referrer = $_SERVER['PHP_SELF'];\n if (strpos($MM_restrictGoTo, \"?\")) $MM_qsChar = \"&\";\n if (isset($QUERY_STRING) && strlen($QUERY_STRING) > 0) \n $MM_referrer .= \"?\" . $QUERY_STRING;\n $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . \"accesscheck=\" . urlencode($MM_referrer);\n header(\"Location: \". $MM_restrictGoTo); \n exit;\n}\n}\n}\n}", "function setup_and_restrict($query){\nglobal $wpdb;\nif ($query->is_main_query()) {\n $post_name = $query->query['name'];\n\tif ($post_name ==\"\"){\n\t//it is a page\n\t$post_name = $query->query['pagename'];\n\t}\n\t$thepost = $wpdb->get_row(\"SELECT * FROM $wpdb->posts WHERE post_name = '\".$post_name.\"' and (post_status='publish' || post_status='private')\");\n $ID = $thepost->ID;\n\tif ($ID == 0 || $ID ==\"\"){\n\treturn;\n\t}\n\t$postAuthor = $thepost->post_author;\n\t$current_user = wp_get_current_user();\n $current_userID = $current_user->ID;\n\t\n $aStored_group_posts= array();\n //if there is an id find groups that are associated with it redirect users who do not have access to this item\n $aStored_group_posts = get_post_meta( $ID, 'user-group-content' );\n if (count($aStored_group_posts) > 0 ){\n $group_user_ids = get_objects_in_term( $aStored_group_posts, 'user-group');\n \n if (in_array($current_userID , $group_user_ids) || $current_userID == $postAuthor || is_super_admin($current_userID) ){\n\t\treturn;\n\t\t}\n\t\telse{\n\t wp_redirect(\"/content-restricted/\");\n\t\texit; \n\t\t}\n\t}//end if there is group post meta associated with the content we are loading\t\n\telse{\n return;\n\t}\n}\nreturn;\n}", "public function index()\n {\n $user = \\Auth::user();\n if ( $user->group->id == \"1\"){\n return redirect(\"home\"); \n }else{\n\n }\n \n }", "function group_user_added_handler($eventdata){\n\t\tglobal $CFG;\n\t\t//check if this group is relevant \n\t\t$group = groups_get_group($eventdata->groupid);\n\t\t$courseid = $group->courseid;\n\t\t//if(record_exists('mumiemodule_students', 'groupid', $eventdata->groupid)){\n\t\t//BUT WE SHOULD BETTER CHECK IF THE WHOLE COURSE IS RELEVANT\n\t\tif(record_exists('mumiemodule', 'course', $courseid)){\n\t\t\tevent_logoutput(\"group_user_added_handler called \\n\", $eventdata);\n\t\t\t //check if current user might be tutor or not\n\t\t\t //$context = get_context_instance(CONTEXT_GROUP, $eventdata->groupid);\n\t\t\t $context = get_context_instance(CONTEXT_COURSE, $group->courseid);\n\t\t\t \n\t\t\t if(has_capability('mod/mumiemodule:tutorize', $context, $eventdata->userid)){ //this is a tutor\n\t\t\t \t//groups must not have more than one tutor in this activity! //REMOVE AFTER MUMIE-DB CHANGE\n\t\t\t \t$fields = 'u.id';\n\t\t\t\t//$groupcontext = get_context_instance(CONTEXT_GROUP, $eventdata->groupid);\n\t\t\t\t$grouptutors = get_users_by_capability($context, 'mod/mumiemodule:tutorize', $fields, '', '', '', $eventdata->groupid);\n\t\t\t\tif(count($grouptutors)>1){\n\t\t\t\t\t$removed = groups_remove_member($eventdata->groupid, $eventdata->userid);\n\t\t\t\t\terror(get_string('toomuchtutorssingle', 'mumiemodule'), \"../group/members.php?group=\".$eventdata->groupid);\n\t\t\t\t\tbreak;\n\t\t\t\t} //REMOVE TILL HERE\t \t\n\t\t\t \tif(!has_capability('mod/mumiemodule:teachcourse', $context, $eventdata->userid)){ //so this is really just a tutor, lecturers are already known in mumie\n\t\t\t \t\t//perhaps the tutor is already known in MUMIE\n\t\t\t \t\t$tutortocheck = new object();\n\t\t\t \t\t$tutortocheck->syncid = 'moodle-'.$CFG.'user-'.$eventdata->userid;\n\t\t\t \t\t$tutorexists = check_tutor($tutortocheck);\n\t\t\t \t\t$islecturer = check_lecturer($tutortocheck);\n\t\t\t \t\tif(!$tutorexists && !$islecturer){\n\t\t\t \t\t\t$newuser = get_record('user', 'id', $eventdata->userid);\n\t\t\t \t\t\tsend_single_user_to_mumie($newuser);\n\t\t\t \t\t}\n\t\t\t \t}\n\t\t\t \t//start creating the tutorial-object\n\t\t\t \t$tutorial = new object();\n\t\t\t \t$tutorial->syncid = 'moodle-'.$CFG->prefix.'groups-'.$eventdata->groupid;\n\t\t\t \t$tutorial->name = $name->name;\n\t\t\t $tutorial->description = $group->description;\n\t\t\t $tutorial->tutor = 'moodle-'.$CFG->prefix.'user-'.$eventdata->userid;\n\t\t\t $tutorial->classid = 'moodle-'.$CFG->prefix.'course-'.$courseid;\n\t\t\t change_tutorial_for_mumie($tutorial);\n\t\t\t \n\t\t\t \n\t\t\t } else if(has_capability('mod/mumiemodule:participate', $context, $eventdata->userid)){ //this is a student\n\t\t\t \t //a student must not be in more than one group in this activity\n\t\t\t \t $studentsgroups = groups_get_all_groups($courseid, $eventdata->userid);\n\t\t\t\t if(count($studentsgroups)>1){\n\t\t\t\t\t$removed = groups_remove_member($eventdata->groupid, $eventdata->userid);\n\t\t\t\t\terror(get_string('justonegroupsingle', 'mumiemodule'), \"../group/members.php?group=\".$eventdata->groupid);\n\t\t\t\t\tbreak;\n\t\t\t\t }\n\t\t\t \t \n\t\t\t \t $mumiemodules = get_records('mumiemodule', 'course', $courseid);\n\t\t\t \t //variable to keep in mind whether there are more than one mumiemodules in this course\n\t\t\t \t $morethanone = false;\n\t\t\t \t foreach($mumiemodules as $mumiemodule){\n\t\t\t \t \tmumiemodule_students_subscribe($eventdata->userid, $mumiemodule->id, $group, $morethanone);\n\t\t\t \t \t$morethanone = true;\n\t\t\t \t }\n\t\t\t }\n\t\t} else { //ACHTUNG: dies könnte eine nachträglich eingefügte gruppe sein!!!!!!!!!!!!!!!!!!!!!!!!!!\n\t\t\t\n\t\t}\n\t\treturn true;\n\t}", "public function isAuthorized($user){\n /*\n * \n 1 \tAdmin\n 2 \tOfficer / Manager\n 3 \tRead Only\n 4 \tStaff\n 5 \tUser / Operator\n 6 \tStudent\n 7 \tLimited\n */\n \n \n //Read Only can list \n if (in_array($this->request->action, ['index','view'])) {\n if ($user['group_id'] <= 3) {\n return true;\n }\n }\n \n //managers can add / edit delete\n if (in_array($this->request->action, ['add','edit','delete','reorder'])) {\n if ($user['group_id'] <= 2) {\n return true;\n }\n }\n \n //Admins have all\n return parent::isAuthorized($user);\n }", "function groupextended_pagesetup(){\n global $CONFIG;\n $page_owner = page_owner_entity();\n if($page_owner instanceof ElggGroup && get_context()==\"groups\"){\n\n if (isloggedin() && $page_owner->canEdit()){\n add_submenu_item(elgg_echo('groupextended:members:admin'),$CONFIG->wwwroot.\"pg/groupextended/membersadmin/\" . $page_owner->getGUID(), '1groupsactions');\n }\n }\n}", "function allow_access($group) {\n\t$allowed = \"no\";\n\tif (isset($_SESSION[\"group1\"]) || isset($_SESSION[\"user_name\"])) {\n\t\tif ($_SESSION[\"group1\"] == \"$group\" || $_SESSION[\"group2\"] == \"$group\" || $_SESSION[\"group3\"] == \"$group\" ||\n\t\t\t//\t$_SESSION[\"group1\"] == \"Administrators\" || $_SESSION[\"group2\"] == \"Administrators\" || \n\t\t\t// \t$_SESSION[\"group3\"] == \"Administrators\" ||\n\t\t\t$_SESSION[\"user_name\"] == \"$group\") {\n\t\t$allowed = \"yes\";\n\t} else {\n\t\t$allowed = \"no\";\n\t}\n\t}\n\treturn $allowed;\n}", "public function isAuthorized($user){\n /*\n * \n 1 \tAdmin\n 2 \tOfficer / Manager\n 3 \tRead Only\n 4 \tStaff\n 5 \tUser / Operator\n 6 \tStudent\n 7 \tLimited\n */\n \n \n //Read Only can list user accounts\n if (in_array($this->request->action, ['index'])) {\n if ($user['group_id'] <= 3) {\n return true;\n }\n }\n \n //managers can add / edit\n if (in_array($this->request->action, ['add','edit','delete'])) {\n if ($user['group_id'] <= 2) {\n return true;\n }\n }\n \n //Admins have all\n return parent::isAuthorized($user);\n }", "public function handle($request, Closure $next){ \n $groupID = $request->route('group') | $request->route('groupid'); \n \n if($this->isUserPartOfGroup($groupID)){\n return $next($request);\n }else{\n return redirect(GroupMiddleware::$errorPage);\n } \n }", "public function index(User $user)\n {\n return $user->can('groups.view');\n }", "public function authDoView(){\n if(!$this->authUser()){\n echo '{\"status\":-1,\"result\":\"/user/login?prePage='.$_SERVER['HTTP_REFERER'].'\"}';\n exit();\n }\n }", "function wine_user_join_event_listener($event, $object_type, $object) {\n\n\t$wine = $object['group'];\n\t$user = $object['user'];\n\t$acl = $wine->group_acl;\n\n\tadd_user_to_access_collection($user->guid, $acl);\n\n\treturn true;\n}", "function rm_check_discussion_access() {\n\t// exception: company directory/pages are ok\n\n\t$bp = BuddyPress();\n\t// print_r( $bp->unfiltered_uri ); exit;\n\tif ( $bp->unfiltered_uri[0] !== 'discussions' ) {\n\t\treturn;\n\t}\n\n\t// echo bp_groups_get_group_type( bp_get_current_group_id() );\n\n\tif ( ! is_user_logged_in() ) {\n\t\t// ok you are on a group page now\n\t\twp_safe_redirect( home_url( 'upgrade' ) );\n\t\texit;\n\t}\n\n\t// echo bp_current_component() . '-----';\n\t// echo bp_current_action() . '-----';\n\n}", "private function _filter_authorization($row)\r\n\t{\r\n\t\tif($row['id_group'] != 0)\r\n\t\t{\r\n\t\t\t$page_group = false;\r\n\t\t\t\r\n\t\t\t// Get the page group\r\n\t\t\tforeach($this->groups as $group)\r\n\t\t\t{\r\n\t\t\t\tif ($group['id_group'] == $row['id_group']) $page_group = $group;\r\n\t\t\t} \r\n\r\n\t\t\t// If the current connected user has access to the page return true\r\n\t\t\tif ($this->user !== false && $page_group != false && $this->user['group']['level'] >= $page_group['level'])\r\n\t\t\t\treturn true;\r\n\t\t\t\r\n\t\t\t// If nothing found, return false\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "function restrict_content()\n{\n // Get the URL segments\n $uriSegments = explode(\"/\", parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH));\n\n // Check the first segment\n if ($uriSegments[1] == 'kunskapsbas') {\n\n // Check if user is logged in\n if (!is_user_logged_in()) {\n\n // User is not logged in. Meta refresh and redirect to login modal\n echo '\n <meta http-equiv=\"refresh\" content=\"0; url = /#login\" />';\n\n // Prevent page content from loading\n exit();\n } else {\n // User is logged in; do nothing.\n }\n }\n}", "function groupextended_user_leave_event_listener($event, $object_type, $object) {\n global $CONFIG;\n $group = $object['group'];\n $user = $object['user'];\n if($user instanceof ElggUser){\n return true;\n }\n\n $user = $user->getGUID();\n if($group->isMember($user)){\n $acl = $group->group_acl;\n // I have to use this because the remove_user_from_access_collection function need that user_id must a user\n $collections = get_write_access_array();\n\n if ((array_key_exists($acl, $collections) || $collection->owner_guid == 0)) {\n delete_data(\"delete from {$CONFIG->dbprefix}access_collection_membership where access_collection_id = {$acl} and user_guid = {$user}\");\n }\n }\n return false;\n}", "function kleo_check_access($area, $restrict_options=null)\n{\n global $current_user;\n\t\n if (!$restrict_options) {\n $restrict_options = kleo_memberships();\n }\n\t\n\tif (pmpro_url(\"levels\")) {\n\t\t$default_redirect = pmpro_url(\"levels\");\n\t}\n\telse {\n\t\t$default_redirect = bp_get_signup_page();\n\t}\n\t$default_redirect = apply_filters('kleo_pmpro_url_redirect', $default_redirect);\n\t\n\t//no restriction\n if ($restrict_options[$area]['type'] == 0) \n {\n\t\treturn;\n\t}\n\t\n //restrict all members -> go to home url\n if ($restrict_options[$area]['type'] == 1) \n {\n\t\twp_redirect(apply_filters('kleo_pmpro_home_redirect',home_url()));\n\t\texit;\n }\n\n //is a member\n if (isset($current_user->membership_level) && $current_user->membership_level->ID) {\n\n //if restrict my level\n if ($restrict_options[$area]['type'] == 2 && is_array($restrict_options[$area]['levels']) && !empty($restrict_options[$area]['levels']) && pmpro_hasMembershipLevel($restrict_options[$area]['levels']) )\n {\n wp_redirect($default_redirect);\n exit;\n }\n \n //logged in but not a member\n } else if (is_user_logged_in()) {\n if ($restrict_options[$area]['type'] == 2 && isset($restrict_options[$area]['not_member']) && $restrict_options[$area]['not_member'] == 1)\n {\n wp_redirect($default_redirect);\n exit;\n }\n }\n //not logged in\n else {\n if ($restrict_options[$area]['type'] == 2 && isset($restrict_options[$area]['guest']) && $restrict_options[$area]['guest'] == 1)\n {\n wp_redirect($default_redirect);\n exit;\n }\n }\n}", "function isAuthorized_menu($strUsers, $strGroups, $UserName, $UserGroup) { \n // For security, start by assumiaccng the visitor is NOT authorized. \n $isValid = False; \n\n // When a visitor has logged into this site, the Session variable MM_Username set equal to their username. \n // Therefore, we know that a user is NOT logged in if that Session variable is blank. \n if (!empty($UserName)) { \n // Besides being logged in, you may restrict access to only certain users based on an ID established when they login. \n // Parse the strings into arrays. \n $arrUsers = Explode(\",\", $strUsers); \n $arrGroups = Explode(\",\", $strGroups); \n if (in_array($UserName, $arrUsers)) { \n $isValid = true; \n } \n // Or, you may restrict access to only certain users based on their username. \n if (in_array($UserGroup, $arrGroups)) { \n $isValid = true; \n } \n if (($strUsers == \"\") && true) { \n $isValid = true; \n } \n } \n return $isValid; \n}", "public function bp_group_restrict_thecontent_main_loop($content) {\n \n // Check if we're inside the main loop in a single Post.\n if ( is_singular() && in_the_loop() && is_main_query() ) {\n $restriction_arr = get_post_meta( get_the_ID(), 'bp_groups_restricted_to', true);\n\n if (!empty($restriction_arr)) { // restriction is set\n\n $member_arr = array();\n \n // get all groups user is a member of\n if ( bp_has_groups() ) {\n while ( bp_groups() ) {\n bp_the_group();\n\n if ( groups_is_user_member(get_current_user_id(), bp_get_group_id()) ) {\n array_push( $member_arr, bp_get_group_id() );\n } \n }\n }\n \n // if \"all groups checkbox\" and a member of a group\n if ( in_array('all_groups', $restriction_arr) && !empty($member_arr) ) {\n return $content;\n }\n\n // if a member of certian subteams\n $restriction_match = array_intersect($restriction_arr, $member_arr);\n if (!empty($restriction_match)) {\n return $content;\n } else {\n return '<p>' . __('This is restricted content.', 'bp-content-restriction') . '</p>';\n }\n\n } else {\n return $content; // if there is no restriction then it's public content\n }\n \n }\n \n return $content;\n }", "function isAuthorized_menu($strUsers, $strGroups, $UserName, $UserGroup) { \n // For security, start by assuming the visitor is NOT authorized. \n $isValid = False; \n\n // When a visitor has logged into this site, the Session variable MM_Username set equal to their username. \n // Therefore, we know that a user is NOT logged in if that Session variable is blank. \n if (!empty($UserName)) { \n // Besides being logged in, you may restrict access to only certain users based on an ID established when they login. \n // Parse the strings into arrays. \n $arrUsers = Explode(\",\", $strUsers); \n $arrGroups = Explode(\",\", $strGroups); \n if (in_array($UserName, $arrUsers)) { \n $isValid = true; \n } \n // Or, you may restrict access to only certain users based on their username. \n if (in_array($UserGroup, $arrGroups)) { \n $isValid = true; \n } \n if (($strUsers == \"\") && true) { \n $isValid = true; \n } \n } \n return $isValid; \n}", "function invite_anyone_access_test() {\n\tglobal $current_user, $bp;\n\n\t$access_allowed = true;\n\t$iaoptions = invite_anyone_options();\n\n\tif ( ! is_user_logged_in() ) {\n\t\t$access_allowed = false;\n\t}\n\n\t// The site admin can see all\n\telseif ( current_user_can( 'bp_moderate' ) ) {\n\t\t$access_allowed = true;\n\t}\n\n\telseif ( bp_displayed_user_id() && ! bp_is_my_profile() ) {\n\t\t$access_allowed = false;\n\t}\n\n\t/* This is the last of the general checks: logged in, looking at own profile, and finally admin has set to \"All Users\".*/\n\telseif ( isset( $iaoptions['email_visibility_toggle'] ) && 'no_limit' === $iaoptions['email_visibility_toggle'] ) {\n\t\t$access_allowed = true;\n\t}\n\n\t/* Minimum number of days since joined the site */\n\telseif ( isset( $iaoptions['email_since_toggle'] ) && 'yes' === $iaoptions['email_since_toggle'] ) {\n\t\tif ( isset( $iaoptions['days_since'] ) && $since = $iaoptions['days_since'] ) {\n\t\t\t// WordPress's DAY_IN_SECONDS exists for WP >= 3.5, target version is 3.2, hence hard-coded value of 86400.\n\t\t\t$since = $since * 86400;\n\n\t\t\t$date_registered = strtotime( $current_user->data->user_registered );\n\t\t\t$time = time();\n\n\t\t\tif ( $time - $date_registered < $since ) {\n\t\t\t\t$access_allowed = false;\n\t\t\t}\n\t\t}\n\t}\n\n\t/* Minimum role on this blog. Users who are at the necessary role or higher should move right through this toward the 'return true' at the end of the function. */\n\telseif ( isset( $iaoptions['email_role_toggle'] ) && 'yes' === $iaoptions['email_role_toggle'] ) {\n\t\tif ( isset( $iaoptions['minimum_role'] ) && $role = $iaoptions['minimum_role'] ) {\n\t\t\tswitch ( $role ) {\n\t\t\t\tcase 'Subscriber' :\n\t\t\t\t\tif ( ! current_user_can( 'read' ) ) {\n\t\t\t\t\t\t$access_allowed = false;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'Contributor' :\n\t\t\t\t\tif ( ! current_user_can( 'edit_posts' ) ) {\n\t\t\t\t\t\t$access_allowed = false;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'Author' :\n\t\t\t\t\tif ( ! current_user_can( 'publish_posts' ) ) {\n\t\t\t\t\t\t$access_allowed = false;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'Editor' :\n\t\t\t\t\tif ( ! current_user_can( 'delete_others_pages' ) ) {\n\t\t\t\t\t\t$access_allowed = false;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'Administrator' :\n\t\t\t\t\tif ( ! current_user_can( 'switch_themes' ) ) {\n\t\t\t\t\t\t$access_allowed = false;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t}//end switch\n\t\t}//end if\n\t}\n\n\t/* User blacklist */\n\telseif ( isset( $iaoptions['email_blacklist_toggle'] ) && 'yes' === $iaoptions['email_blacklist_toggle'] ) {\n\t\tif ( isset( $iaoptions['email_blacklist'] ) ) {\n\t\t\t$blacklist = wp_parse_id_list( $iaoptions['email_blacklist'] );\n\t\t\t$user_id = intval( $current_user->ID );\n\t\t\tif ( in_array( $user_id, $blacklist, true ) ) {\n\t\t\t\t$access_allowed = false;\n\t\t\t}\n\t\t}\n\t}\n\n\treturn apply_filters( 'invite_anyone_access_test', $access_allowed );\n\n}", "public function view(?User $user, Group $group)\n {\n if($group->visibility === 0)\n {\n return true;\n }\n if($group->visibility === 1 && Auth()->check())\n {\n return true;\n }\n\n $member = $group->members()->find(optional($user)->id);\n if($member != null)\n {\n return true;\n }\n return false;\n }", "public function view(User $user, Group $group)\n {\n return $user->account_id === $group->account_id && $user->can('groups.view');\n }", "function variant_page_builder_check_user_ajax(){\n\t$output = 'false';\n\tif( is_user_logged_in() && current_user_can('edit_others_pages') ){\n\t\t$output = 'true';\t\n\t}\n\twp_die($output);\n}", "public function isAuthorized($user) {\n // All registered users can add posts\n if ($this->action === 'add') {\n return true;\n }\n\n // The owner of a post can edit and delete it\n if (in_array($this->action, array('edit', 'delete'))) {\n $postId = $this->request->params['pass'][0];\n if ($this->Post->isOwnedBy($postId, $user['id'])) { //loggin and own edit/delete/view \n return true;\n }\n }\n\n return parent::isAuthorized($user);\n}", "function rm_check_member_directory_access() {\n\t// exception: company directory/pages are ok\n\n\tif ( 'members' !== bp_current_component() ) {\n\t\treturn;\n\t}\n\n\t$bp = buddypress();\n\n\tif ( ! empty( $bp->current_item ) || ! empty( $bp->current_action ) ) {\n\t\treturn;\n\t}\n\n\t// echo bp_groups_get_group_type( bp_get_current_group_id() );\n\n\tif (! is_user_logged_in() ) {\n\t\t// ok you are on a group page now\n\t\twp_safe_redirect( home_url( 'upgrade' ) );\n\t\texit;\n\t}\n\n\t// echo bp_current_component() . '-----';\n\t// echo bp_current_action() . '-----';\n\n}" ]
[ "0.6687941", "0.6500029", "0.6459665", "0.6370396", "0.6303304", "0.62470174", "0.6243", "0.6198227", "0.6159779", "0.61346835", "0.6080202", "0.6020649", "0.6001158", "0.5998074", "0.59695697", "0.59528565", "0.59502435", "0.5944433", "0.5940503", "0.5915454", "0.58974606", "0.58926374", "0.588517", "0.5851889", "0.5845143", "0.5844159", "0.5836869", "0.5816214", "0.58083534", "0.5783142" ]
0.68862104
0
Returns an array which contains wrong permitted file paths as elements. The array is prepared for the updater logic.
public static function getWrongPermittedUpdaterFiles() { $wrongPermittedFiles = self::getWrongPermittedInstallerFiles(true); $updaterChmodArray = array(); foreach($wrongPermittedFiles as $file) { $updaterChmodArray[] = array('PATH' => $file, 'IS_DIR' => is_dir($file)); } return $updaterChmodArray; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function dataInvalidFileNames()\n {\n return array(\n array(null),\n array(1),\n array(array(1,2,3)),\n array('')\n );\n }", "public function provideValidImagePaths() {\r\n\t\treturn [\r\n\t\t\t[ self::IMAGE_FOLDER . 'test.jpg' ],\r\n\t\t\t[ self::IMAGE_FOLDER . 'testII.tif' ],\r\n\t\t\t[ self::IMAGE_FOLDER . 'testMM.tif']\r\n\t\t];\r\n\t}", "protected function getValidFiles()\n {\n\n // Use the home directory of the current user as file source\n if ($this->objElement->useHomeDir && FE_USER_LOGGED_IN)\n {\n $objUser = \\FrontendUser::getInstance();\n\n if ($objUser->assignDir && $objUser->homeDir)\n {\n $this->objElement->multiSRC = array($objUser->homeDir);\n }\n }\n else\n {\n $this->objElement->multiSRC = deserialize($this->objElement->multiSRC);\n }\n\n // Return if there are no files\n if (!is_array($this->objElement->multiSRC) || empty($this->objElement->multiSRC))\n {\n return;\n }\n\n // Get the file entries from the database\n $objFiles = \\FilesModel::findMultipleByUuids($this->objElement->multiSRC);\n\n $files = array();\n\n $allowedDownload = trimsplit(',', strtolower(\\Config::get('allowedDownload')));\n\n // Get all files\n while ($objFiles->next())\n {\n // Continue if the files has been processed or does not exist\n if (isset($files[$objFiles->path]) || !file_exists(TL_ROOT . '/' . $objFiles->path))\n {\n continue;\n }\n\n // Single files\n if ($objFiles->type == 'file')\n {\n $objFile = new \\File($objFiles->path, true);\n\n if (!in_array($objFile->extension, $allowedDownload) || preg_match('/^meta(_[a-z]{2})?\\.txt$/', $objFile->basename))\n {\n continue;\n }\n\n // Add the file\n $files[$objFiles->path] = array\n (\n 'id' => $objFiles->id,\n );\n $this->arrValidFileIDS[] = $objFiles->id;\n }\n\n // Folders\n else\n {\n $objSubfiles = \\FilesModel::findByPid($objFiles->uuid);\n\n if ($objSubfiles === null)\n {\n continue;\n }\n\n while ($objSubfiles->next())\n {\n // Skip subfolders\n if ($objSubfiles->type == 'folder')\n {\n continue;\n }\n\n $objFile = new \\File($objSubfiles->path, true);\n\n if (!in_array($objFile->extension, $allowedDownload) || preg_match('/^meta(_[a-z]{2})?\\.txt$/', $objFile->basename))\n {\n continue;\n }\n\n\n // Add the image\n $files[$objSubfiles->path] = array\n (\n 'id' => $objSubfiles->id,\n );\n $this->arrValidFileIDS[] = $objSubfiles->id;\n\n }\n }\n }\n }", "function filterOutFiles(){\n\t\t\t\t\t$tmpFileArr = array();\n\t\t\t\t\tforeach ($this->files as $curFile){\n\t\t\t\t\t\tarray_push($tmpFileArr,$curFile['fpath'].$curFile['fname']);\n\t\t\t\t\t}\n\t\t\t\t\tforeach ($this->filesFS as $curFile){\n\t\t\t\t\t\tif (!in_array($curFile,$tmpFileArr)){\n\t\t\t\t\t\t\tarray_push($this->missingFilesDB,$curFile);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}", "public function checkPaths() {\n\t\t$paths = array();\n\n\t\tforeach ($this->__paths as $path => $options) {\n\t\t\tswitch($options['type']) {\n\t\t\t\tcase 'write':\n\t\t\t\t\t$function = 'is_writable';\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\t$function = 'is_readable';\n\t\t\t}\n\t\t\tif (!$function(APP.$path)) {\n\t\t\t\t$paths[] = sprintf(__d('installer', $options['message']), APP.$path);\n\t\t\t}\n\t\t}\n\n\t\treturn $paths;\n\t}", "function getDontEmailKeys()\r\n\t{\r\n\t\tif (is_null( $this->_dontEmailKeys )) {\r\n\t\t\t$this->_dontEmailKeys = array();\r\n\t\t\tforeach ($_FILES as $key => $file) {\r\n\t\t\t\t$this->_dontEmailKeys[] = $key;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn $this->_dontEmailKeys;\r\n\t}", "public function getExcludedFiles();", "public static function getPermissionsFiles() {\n\t\t$writableFilesAndFolders = self::$writableFilesAndFolders;\n\t\t$permissions = array();\n\t\trequire_once ('include/utils/VtlibUtils.php');\n\t\tforeach ($writableFilesAndFolders as $index => $value) {\n\t\t\t$permissions[$index]['permission'] = 'TruePermission';\n\t\t\t$permissions[$index]['path'] = $value;\n\t\t\tif (!vtlib_isWriteable($value)) {\n\t\t\t\t$permissions[$index]['permission'] = 'FailedPermission';\n\t\t\t}\n\t\t}\n\t\treturn $permissions;\n\t}", "public static function getWrongPermittedInstallerFiles($ignoreConfigureFiles = false)\n\t{\n\t\tself::_prepareChmodLists();\n\t\t$completeList = array_merge(self::$chmodList, self::$chmodRecursiveList);\n\t\t$wrongPermittedFiles = array();\n\n\t\t$configure = 'includes' . DIRECTORY_SEPARATOR . 'configure.php';\n\t\t$configureOrg = 'includes' . DIRECTORY_SEPARATOR . 'configure.org.php';\n\n\t\tforeach($completeList as $pathReference)\n\t\t{\n\t\t\t$path = DIR_FS_CATALOG . $pathReference;\n\t\t\tif(!self::_endWith($path, '.gitignore'))\n\t\t\t{\n\t\t\t\tif($ignoreConfigureFiles\n\t\t\t\t && (self::_endWith($pathReference, $configure)\n\t\t\t\t || self::_endWith($pathReference, $configureOrg))\n\t\t\t\t)\n\t\t\t\t{\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\n\t\t\t\tif((is_file($path) || is_dir($path)) && @!is_writable($path))\n\t\t\t\t{\n\t\t\t\t\t// set 777 rights only if path is not writable to prevent problems with servers which only need 755 rights to run properly\n\t\t\t\t\t@chmod($path, 0777);\n\t\t\t\t\t\n\t\t\t\t\tif(@!is_writable($path))\n\t\t\t\t\t{\n\t\t\t\t\t\t$wrongPermittedFiles[] = $path;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn $wrongPermittedFiles;\n\t}", "protected function resetExclusionList()\n {\n self::$exclusionList = [];\n self::$warningExclusionList = [];\n file_put_contents(self::$fileExclusionList, '');\n file_put_contents(self::$fileWarningExclusionList, '');\n\n return self::$exclusionList;\n }", "public function getExcludedFilesList();", "public static function dataInvalidArguments()\n {\n return array(\n \t[ new \\SplFileInfo(__FILE__), new \\stdClass() ],\n \t[ new \\stdClass(), new \\SplFileInfo(__FILE__) ],\n [ 'string', new \\SplFileInfo(__FILE__) ],\n [ 42, new \\SplFileInfo(__FILE__) ],\n [ __FILE__, new \\SplFileInfo(__FILE__) ],\n );\n }", "function check_verzeichnis_rechte()\n\t{\n\t\t$verz_array = array(\"../styles\");\n\t\t$i=0;\n\t\tforeach ($verz_array as $file) {\n\t\t\tif ($this->checkpermission($file)) {\n\t\t\t\t$perm[$i]['perm'] = \"no\";\n\t\t\t\t$perm[$i]['file'] = $file;\n\t\t\t}\n\t\t\telse {\n\t\t\t\t$perm[$i]['perm'] = \"ja\";\n\t\t\t\t$perm[$i]['file'] = $file;\n\t\t\t}\n\t\t\t$i++;\n\t\t}\n\t\tIfNotSetNull($perm);\n\t\treturn $perm;\n\t}", "function getValidDirnames()\n\t{\n\t\t$ret = array() ;\n\t\t$module_handler =& xoops_gethandler( 'module' ) ;\n\t\t$modules = $module_handler->getList( null , true ) ;\n\n\t\tif( ! empty( $this->trustdirname ) ) {\n\t\t\tforeach( array_keys( $modules ) as $mydirname ) {\n\t\t\t\t$trustpath_file = XOOPS_ROOT_PATH.'/modules/'.$mydirname.'/mytrustdirname.php' ;\n\t\t\t\tif( ! file_exists( $trustpath_file ) ) continue ;\n\t\t\t\t$mytrustdirname = '' ;\n\t\t\t\trequire $trustpath_file ;\n\t\t\t\tif( $mytrustdirname == $this->trustdirname ) $ret[] = $mydirname ;\n\t\t\t}\n\t\t} else {\n\t\t\t$dirname = strtolower( substr( get_class( $this ) , strlen('D3pipesBlock') ) ) ;\n\t\t\tif( isset( $modules[ $dirname ] ) ) $ret[] = $dirname ;\n\t\t}\n\n\t\treturn $ret ;\n\t}", "function getValidDirnames()\n\t{\n\t\t$ret = array() ;\n\t\t$module_handler =& xoops_gethandler( 'module' ) ;\n\t\t$modules = $module_handler->getObjects() ;\n\n\t\tforeach( $modules as $module ) {\n\t\t\t$trust_dirname = $module->getVar( 'trust_dirname' ) ;\n\t\t\tif( $trust_dirname == $this->trustdirname ) {\n\t\t\t\t$ret[] = $module->getVar('dirname') ;\n\t\t\t}\n\t\t}\n\n\t\treturn $ret ;\n\t}", "protected static function _prepareInvalidPermissions($excludeIgnoredPaths = false)\n\t{\n\t\tself::_prepareChmodLists($excludeIgnoredPaths);\n\n\t\tif(count(self::$writable) === 0 || count(self::$nonWritable) === 0)\n\t\t{\n\t\t\tself::$writable = array();\n\t\t\tself::$nonWritable = array();\n\n\t\t\t$configure = 'includes' . DIRECTORY_SEPARATOR . 'configure.php';\n\t\t\t$configureOrg = 'includes' . DIRECTORY_SEPARATOR . 'configure.org.php';\n\n\t\t\t// handle chmod.txt\n\t\t\tforeach(self::$chmodList as $item)\n\t\t\t{\n\t\t\t\t$path = DIR_FS_CATALOG . $item;\n\n\t\t\t\t// configure files files must be non writable\n\t\t\t\tif((self::_endWith($item, $configure) || self::_endWith($item, $configureOrg))\n\t\t\t\t && is_writable($path)\n\t\t\t\t)\n\t\t\t\t{\n\t\t\t\t\tself::$nonWritable[] = $path;\n\t\t\t\t}\n\t\t\t\telseif(!self::_endWith($item, $configure) && !self::_endWith($item, $configureOrg)\n\t\t\t\t && (is_dir($path)\n\t\t\t\t || is_file($path))\n\t\t\t\t && !is_writable($path)\n\t\t\t\t)\n\t\t\t\t{\n\n\t\t\t\t\tself::$writable[] = $path;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// handle chmod_all.txt\n\t\t\tforeach(self::$chmodRecursiveList as $item)\n\t\t\t{\n\t\t\t\t$path = DIR_FS_CATALOG . $item;\n\n\t\t\t\tif(!is_writable($path))\n\t\t\t\t{\n\t\t\t\t\tself::$writable[] = $path;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public function getExcludeFiles(): array\n {\n return $this->excludeFiles;\n }", "protected function getValidSourceFileExtensions()\n {\n return array_map(function ($pageName) {\n $nameParts = explode('.', $pageName);\n\n return array_pop($nameParts);\n }, $this->defaultPages);\n }", "private function filesToSet()\n {\n $list = [];\n $metadata = $this->getMetadata();\n\n foreach ($this->hashMap as $relativePath => $md5)\n {\n if (!isset($metadata['hashMap'][$relativePath])\n or $metadata['hashMap'][$relativePath] !== $md5)\n {\n $absolutePath = $this->fileMap[$relativePath];\n $list[$relativePath] = $absolutePath;\n }\n }\n\n return $list;\n }", "public static function getIgnorableFolders(): array\n {\n return [];\n }", "private function filesToDelete()\n {\n $list = [];\n $metadata = $this->getMetadata();\n\n foreach ($metadata['hashMap'] as $relativePath => $md5)\n {\n if (!isset($this->hashMap[$relativePath]))\n {\n $list[] = $relativePath;\n }\n }\n\n return $list;\n }", "protected function getWarningExclusionList()\n {\n if (is_null(self::$warningExclusionList)) {\n if (!file_exists(self::$fileWarningExclusionList)) {\n self::$warningExclusionList = [];\n } else {\n self::$warningExclusionList = file(self::$fileWarningExclusionList);\n self::$warningExclusionList = array_map('trim', self::$warningExclusionList);\n self::$warningExclusionList = array_filter(self::$warningExclusionList);\n }\n }\n\n return self::$warningExclusionList;\n }", "public static function getEntityNotAllow(): array\n {\n $file = [];\n if (file_exists(PATH_HOME . \"public/entity/-entity.json\"))\n $file = json_decode(file_get_contents(PATH_HOME . \"public/entity/-entity.json\"), true);\n\n foreach (Helper::listFolder(PATH_HOME . VENDOR) as $lib) {\n if (file_exists(PATH_HOME . VENDOR . \"{$lib}/public/entity/-entity.json\")) {\n $json = json_decode(file_get_contents(PATH_HOME . VENDOR . \"{$lib}/public/entity/-entity.json\"), true);\n foreach ($json as $setor => $info) {\n foreach ($info as $entity) {\n if (file_exists(PATH_HOME . VENDOR . \"{$lib}/public/entity/cache/{$entity}.json\")) {\n if ($setor === \"*\") {\n for ($e = 0; $e < 20; $e++) {\n //Adiciona entidade ao setor\n if (!isset($file[$e]) || !in_array($entity, $file[$e]))\n $file[$e][] = $entity;\n }\n } else {\n //Adiciona entidade ao setor\n if (!in_array($entity, $file[$setor]))\n $file[$setor][] = $entity;\n }\n }\n }\n }\n }\n }\n\n return $file;\n }", "public function getAllowedFiles(){\n return self::$allowed_files;\n }", "protected function submitted_form_files() {\n\t\t$files = array();\n\n\t\t// Checks the form method\n\t\tif ( 0 < count( $_FILES ) ) {\n\t\t\t$files = $_FILES;\n\t\t}\n\n\t\treturn $files;\n\t}", "protected function getIgnoredVersions()\n {\n return [];\n }", "public function getInvalidRoutes() {\n return array(\n array('/foobar'),\n array('/status.json/'),\n array('/users/Christer'),\n array('/users/christer.json/'),\n array('/users/Christer.json/'),\n array('/users/christer/images.json/'),\n array('/users/christer/images/a9b80ed42957fd508c617549cad07d6c/'),\n array('/users/christer/images/a9b80ed42957fd508c617549cad07d6c.gif/'),\n array('/users/christer/images/a9b80ed42957fd508c617549cad07d6c/meta.json/'),\n );\n }", "public function getExcludedFilePaths() {\n\t\treturn $this->exclude_file_paths;\n\t}", "public function getExcludedFilePaths() {\n\t\treturn $this->exclude_file_paths;\n\t}", "function get_ignore_filelist()\n{\n$ignored_files = explode(\",\", str_replace(\" \", \",\" ,read_config('files_2_ignore')));\n\n if(is_array($ignored_files))\n {\n return $ignored_files;\n }\n else\n {\n return array();\n }\n}" ]
[ "0.73359364", "0.6591463", "0.6221205", "0.62096244", "0.6159685", "0.6155649", "0.6147417", "0.61122006", "0.60895354", "0.6054967", "0.60274774", "0.59904045", "0.59706783", "0.5969243", "0.5961243", "0.59272313", "0.5914449", "0.58889455", "0.58734334", "0.5860281", "0.5852728", "0.5851806", "0.58441055", "0.5836782", "0.5804789", "0.5801874", "0.57797164", "0.577056", "0.577056", "0.5767693" ]
0.77305126
0
Checks invalid file/directory permissions. Adds a message to the message stack if the non writable list contains writable files.
public static function checkNonWritableList(messageStack $messageStack) { self::_prepareInvalidPermissions(true); if(count(self::$nonWritable) > 0) { $message = '<br/>' . implode('<br/>', self::$nonWritable); $messageStack->add(TEXT_FILE_WARNING . '<b>' . $message . '</b>', 'error'); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static function checkWritableList(messageStack $messageStack)\n\t{\n\t\tself::_prepareInvalidPermissions(true);\n\n\t\tif(count(self::$writable) > 0)\n\t\t{\n\t\t\t$message = '<br/>' . implode('<br/>', self::$writable);\n\t\t\t$messageStack->add(TEXT_FOLDER_WARNING . '<b>' . $message . '</b>', 'error');\n\t\t}\n\t}", "protected function writableFolderCheck()\n {\n $fileName = '/configtester_' . date('Y-m-d-h-i-s') . '.txt';\n\n $fileSystems = [\n ['name' => 'files', 'folder' => '', 'label' => '<code>files/</code> in the webroot'],\n ['name' => 'extensions', 'folder' => '', 'label' => '<code>extensions/</code> in the webroot'],\n ['name' => 'config', 'folder' => ''],\n ['name' => 'cache', 'folder' => ''],\n ];\n if ($this->app['config']->get('general/database/driver') === 'pdo_sqlite') {\n $fileSystems[] = ['name' => 'app', 'folder' => 'database'];\n }\n $fileSystems = Bag::fromRecursive($fileSystems);\n\n foreach ($fileSystems as $fileSystem) {\n $contents = $this->isWritable($fileSystem, $fileName);\n if ($contents != 'ok') {\n $folderName = $this->getFoldername($fileSystem);\n $notice = json_encode([\n 'severity' => 1,\n 'notice' => 'Bolt needs to be able to <strong>write files to</strong> the folder <code>' . $folderName . \"</code>, but it doesn't seem to be writable.\",\n 'info' => 'Make sure the folder exists, and is writable to the webserver.',\n ]);\n $this->app['logger.flash']->configuration($notice);\n }\n }\n }", "function checkFileWriteablity($files)\n{\n if (isset($_POST['op']) && $_POST['op'] === 'proceed') {\n return true; // user said skip this\n }\n $tmpStats = getTmpStats();\n if (false === $tmpStats) {\n return true; // tests are not applicable\n }\n\n $message = array();\n\n foreach ($files as $file) {\n $dirName = dirname($file);\n $fileName = basename($file);\n $dirStat = getStats($dirName);\n if (false !== $dirStat) {\n $uid = $tmpStats['uid'];\n $gid = $tmpStats['gid'];\n if (!(($uid === $dirStat['uid'] && $dirStat['user']['write'])\n || ($gid === $dirStat['gid'] && $dirStat['group']['write'])\n || (file_exists($file) && is_writable($file))\n || (false !== stripos(PHP_OS, 'WIN'))\n )\n ) {\n $uidStr = (string) $uid;\n $dUidStr = (string) $dirStat['uid'];\n $gidStr = (string) $gid;\n $dGidStr = (string) $dirStat['gid'];\n if (function_exists('posix_getpwuid')) {\n $tempUsr = posix_getpwuid($uid);\n $uidStr = isset($tempUsr['name']) ? $tempUsr['name'] : (string) $uid;\n $tempUsr = posix_getpwuid($dirStat['uid']);\n $dUidStr = isset($tempUsr['name']) ? $tempUsr['name'] : (string) $dirStat['uid'];\n }\n if (function_exists('posix_getgrgid')) {\n $tempGrp = posix_getgrgid($gid);\n $gidStr = isset($tempGrp['name']) ? $tempGrp['name'] : (string) $gid;\n $tempGrp = posix_getgrgid($dirStat['gid']);\n $dGidStr = isset($tempGrp['name']) ? $tempGrp['name'] : (string) $dirStat['gid'];\n }\n $message[] = sprintf(\n CHMOD_CHGRP_ERROR,\n $fileName,\n $uidStr,\n $gidStr,\n basename($dirName),\n $dUidStr,\n $dGidStr\n );\n }\n }\n }\n return empty($message) ? true : $message;\n}", "protected static function _prepareInvalidPermissions($excludeIgnoredPaths = false)\n\t{\n\t\tself::_prepareChmodLists($excludeIgnoredPaths);\n\n\t\tif(count(self::$writable) === 0 || count(self::$nonWritable) === 0)\n\t\t{\n\t\t\tself::$writable = array();\n\t\t\tself::$nonWritable = array();\n\n\t\t\t$configure = 'includes' . DIRECTORY_SEPARATOR . 'configure.php';\n\t\t\t$configureOrg = 'includes' . DIRECTORY_SEPARATOR . 'configure.org.php';\n\n\t\t\t// handle chmod.txt\n\t\t\tforeach(self::$chmodList as $item)\n\t\t\t{\n\t\t\t\t$path = DIR_FS_CATALOG . $item;\n\n\t\t\t\t// configure files files must be non writable\n\t\t\t\tif((self::_endWith($item, $configure) || self::_endWith($item, $configureOrg))\n\t\t\t\t && is_writable($path)\n\t\t\t\t)\n\t\t\t\t{\n\t\t\t\t\tself::$nonWritable[] = $path;\n\t\t\t\t}\n\t\t\t\telseif(!self::_endWith($item, $configure) && !self::_endWith($item, $configureOrg)\n\t\t\t\t && (is_dir($path)\n\t\t\t\t || is_file($path))\n\t\t\t\t && !is_writable($path)\n\t\t\t\t)\n\t\t\t\t{\n\n\t\t\t\t\tself::$writable[] = $path;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// handle chmod_all.txt\n\t\t\tforeach(self::$chmodRecursiveList as $item)\n\t\t\t{\n\t\t\t\t$path = DIR_FS_CATALOG . $item;\n\n\t\t\t\tif(!is_writable($path))\n\t\t\t\t{\n\t\t\t\t\tself::$writable[] = $path;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public function ensureWritable($files)\n {\n $errors = [];\n\n foreach ($files as $filename) {\n if (!is_dir($dir = dirname(PHPFOX_DIR . $filename))) {\n if (!@mkdir($dir, 0777, true)) {\n $errors[] = 'mkdir -p ' . $dir;\n } else {\n @chmod($dir, 0777);\n }\n }\n if (!is_writable($dir = dirname(PHPFOX_DIR . $filename))) {\n $errors[] = 'chmod 777 ' . $dir;\n }\n\n if (file_exists($filename = PHPFOX_DIR . $filename) and !is_writeable($filename)) {\n $errors[] = 'chmod 777 ' . $filename;\n }\n }\n return implode('<br />', $errors);\n }", "function checkPermissions()\n {\n if (is_writeable($this->filePath) AND\n is_dir($this->filePath)) {\n return true;\n } else {\n return false;\n }\n }", "private function assertPermissionsFilesToTest()\n {\n $failures = [];\n $perm = fileperms($this->getTestDir());\n $perm = sprintf('%o', $perm);\n $perm = (int) substr($perm, -3);\n if ($this->expectedDirPermissions !== $perm) {\n $failures[$this->getTestDir()] = [$perm, $this->expectedDirPermissions];\n }\n\n $perm = fileperms($this->getTestFile());\n $perm = sprintf('%o', $perm);\n $perm = (int) substr($perm, -3);\n if (644 !== $perm) {\n $failures[$this->getTestFile()] = [$perm, $this->expectedFilePermissions];\n }\n\n if (count($failures)) {\n $message = '';\n foreach ($failures as $item => $fail) {\n $message .= sprintf(\n \"\\nFailed test resource \\\"%s\\\" has permissions \\\"%d\\\", expected \\\"%d\\\".\",\n $item, $fail[0], $fail[1]\n );\n }\n\n throw new \\RuntimeException($message);\n }\n }", "private function _check_permissions() {\n \n }", "protected function checkFilePermissions()\n\t{\n\t\tinclude 'file-permissions.php';\n\t\t$permissions = new FilePermissions;\n\n\t\tif ($permissions->hasSafeMode()) {\n\t\t\treturn true;\n\t\t}\n\n\t\tif (!$permissions->canCreateFolder()) {\n\t\t\treturn true;\n\t\t}\n\n\t\tif (!$permissions->canCreateFile()) {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn false;\n\t}", "public function isPermissions(): void\n {\n foreach ($this->subjects as [$value, $exception]) {\n if (! is_array($value)) {\n throw $exception;\n }\n\n if ([] === $value) {\n throw $exception;\n }\n\n foreach ($value as $permission) {\n if (! isset($permission['permission_name'])) {\n throw $exception;\n }\n\n if (! isset($permission['resource_server_identifier'])) {\n throw $exception;\n }\n }\n }\n }", "protected function checkDirectory()\n {\n if (!is_dir($this->absoluteStorageDir)) {\n throw new DirDoesNotExistException(\"Directory '{$this->absoluteStorageDir}' doesnt exists\");\n }\n\n if (!is_writable($this->absoluteStorageDir)) {\n if (!@chmod($this->absoluteStorageDir, 0777)) {\n throw new DirNotWritableException(\"Directory '{$this->absoluteStorageDir}' is not writable\");\n }\n }\n }", "private function CheckPathWritable()\r\n\t{\r\n\t\t\r\n\t}", "private function checkPermissions()\n {\n $folder = dirname($this->settingsPath);\n if (is_writable($folder)) {\n return true;\n } elseif (mkdir($folder, 0755, true)) {\n return true;\n } elseif (chmod($folder, 0755)) {\n return true;\n }\n\n throw new InstagramException('The settings folder is not writable.', ErrorCode::INTERNAL_SETTINGS_ERROR);\n }", "protected static function validateWritable($path)\n {\n if (!file_exists($path)) {\n $dir = dirname($path);\n\n if (!file_exists($dir)) {\n return \"Directory to be written is not found : $dir.\";\n }\n\n if (!is_writable($dir)) {\n return \"File and its directory are not writable : $path, $dir.\";\n }\n } else {\n if (!is_file($path)) {\n return \"Path is not a file : $path.\";\n }\n\n if (!is_writable($path)) {\n return \"File is not writable : $path.\";\n }\n }\n\n return '';\n }", "function spgm_CheckPerms($strFilePath) {\n\t\n spgm_Trace(\n '<p>function spgm_CheckPerms</p>'.\"\\n\"\n .'strFilePath: '.$strFilePath.'<br />'.\"\\n\"\n );\n\t\n if (! file_exists($strFilePath)) return false;\n\n $fileperms = fileperms($strFilePath);\n $isreadable = $fileperms & 4;\n if ( is_file($strFilePath) ) {\n // pictures, thumbnails, config files and comments only need to be readable\n if (! $isreadable) {\n spgm_Warning(\n $strFilePath.': '.WARNMSG_DIR_INSUFFICIENT_PERMISSIONS.'<br />'\n );\n }\n return $isreadable;\t\n }\n else if ( is_dir($strFilePath) ) {\n // galleries need to be both readable and executable\n $isexecutable = $fileperms & 1;\n if (! $isreadable || ! $isexecutable)\n spgm_Warning(\n $strFilePath.': '.WARNMSG_DIR_INSUFFICIENT_PERMISSIONS.'<br />'\n );\n return ( $isreadable && $isexecutable); // ($dirperms & 5) == 5 ?\n }\n \n // default behavior: the strFilePath does not exist\n return false;\n}", "private function check_for_directory_errors() {\n $errors = FALSE;\n\n // If the output path doesn't exist\n if( !is_dir( $this->output_path ) )\n {\n $this->messages[] = 'The path ' . $this->output_path . ' does not exists';\n $errors = TRUE;\n }\n\n // Checking if the directory where the output files will be written, is readable/writable\n if(!is_writable($this->output_path) || !is_readable($this->output_path)) {\n $this->messages[] = $this->output_path . ' is not a readable or writable directory';\n $errors = TRUE;\n } else {\n // If it is, checking if the contained files are readable/writable\n $not_writable_files = FALSE;\n $files = scandir($this->output_path);\n foreach ($files as $file) {\n if ($file != \".\" && $file != \"..\") {\n if (!is_writable($this->output_path .'/' . $file) || !is_readable($this->output_path .'/' . $file)) {\n $this->messages[] = $this->output_path .'/' . $file . ' is not readable or writable<br>';\n $errors = TRUE;\n }\n }\n }\n }\n\n return $errors;\n }", "public function checkPermission()\n\t{\n\t\tif ($this->User->isAdmin)\n\t\t{\n\t\t\treturn;\n\t\t}\n\n\t\tif (!$this->User->hasAccess('css', 'themes'))\n\t\t{\n\t\t\t$this->log('Not enough permissions to access the style sheets module', __METHOD__, TL_ERROR);\n\t\t\t$this->redirect('contao/main.php?act=error');\n\t\t}\n\t}", "function checkForbidden($files, $theDest)\t{\n\t\tforeach($files as $file) {\n\t\t\t$info = t3lib_div::split_fileref($file);\n\t\t\tif (!$this->basicFileFunc->checkIfAllowed($info['fileext'], $theDest, $file))\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "public function checkVulnerableFiles()\n {\n if ($this->getHelper()->checkVulnerableFilesExists()) {\n /** @var Mage_AdminNotification_Model_Inbox $notification */\n $notification = Mage::getModel('adminnotification/inbox');\n\n $notification->addCritical(\n Mage::helper('uecommerce_securityredirect')->__(\n \"Attention! Your installation has vulnerable files! \n Please install PATCH SUPEE-8788 immediately\n for your Magento to fix this critical security issue!\"\n ),\n Mage::helper('uecommerce_securityredirect')->__(\n \"Please install PATCH SUPEE-8788 immediately for your Magento \n to fix this critical security issue!\"\n ),\n 'https://magento.com/tech-resources/download'\n );\n }\n }", "function upload($chmod = 0644)\n\t{\n\t\tif ($this->uploadDir == '') {\n\n// 2008-04-02\n//\t\t\t$this->setErrors('Upload directory not set');\n\t\t\t$this->setErrorCodes(5);\n\n\t\t\treturn false;\n\t\t}\n\t\tif (!is_dir($this->uploadDir)) {\n\n// 2008-04-02\n//\t\t\t$this->setErrors('Failed opening directory: '.$this->uploadDir);\n\t\t\t$this->setErrorCodes(8, $this->uploadDir);\n\n\t\t\treturn false;\n\t\t}\n\t\tif (!is_writeable($this->uploadDir)) {\n\n// 2008-04-02\n//\t\t\t$this->setErrors('Failed opening directory with write permission: '.$this->uploadDir);\n\t\t\t$this->setErrorCodes(9, $this->uploadDir);\n\n\t\t\treturn false;\n\t\t}\n\t\tif (!$this->checkMimeType()) {\n\n// 2008-04-02\n//\t\t\t$this->setErrors('MIME type not allowed: '.$this->mediaType);\n\t\t\t$this->setErrorCodes(10, $this->mediaType);\n\n\t\t\treturn false;\n\t\t}\n\t\tif (!$this->checkExtension()) {\n\n// 2008-04-02\n//\t\t\t$this->setErrors('Extension not allowed');\n\t\t\t$this->setErrorCodes(6);\n\n\t\t\treturn false;\n\t\t}\n\t\tif (!$this->checkMaxFileSize()) {\n\n// 2008-04-02\n//\t\t\t$this->setErrors('File size too large: '.$this->mediaSize);\n\t\t\t$this->setErrorCodes(11, $this->mediaSize);\n\n\t\t}\n\t\tif (!$this->checkMaxWidth()) {\n\n// 2008-04-02\n//\t\t\t$this->setErrors(sprintf('File width must be smaller than %u', $this->maxWidth));\n\t\t\t$this->setErrorCodes(12, $this->maxWidth);\n\n\t\t}\n\t\tif (!$this->checkMaxHeight()) {\n\n// 2008-04-02\n//\t\t\t$this->setErrors(sprintf('File height must be smaller than %u', $this->maxHeight));\n\t\t\t$this->setErrorCodes(13, $this->maxHeight);\n\n\t\t}\n\t\tif (count($this->errors) > 0) {\n\t\t\treturn false;\n\t\t}\n\t\tif (!$this->_copyFile($chmod)) {\n\n// 2008-04-02\n//\t\t\t$this->setErrors('Failed uploading file: '.$this->mediaName);\n\t\t\t$this->setErrorCodes(14, $this->mediaName);\n\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "function checkPermissions(string $directory): bool\n {\n $directoryIterator = new \\RecursiveDirectoryIterator($directory);\n\n foreach (new \\RecursiveIteratorIterator($directoryIterator) as $file) {\n if ($file->isFile() && !$file->isWritable()) {\n return false;\n }\n }\n\n return true;\n }", "function check_perms($file){\n $perms = \"\";\n\n if(file_exists($file)){\n if (is_readable($file)){\n $perms .= \"Readable, \";\n }\n if (is_writable($file)){\n $perms .= \"Writable, \";\n }\n if (is_executable($file)){\n $perms .= \"Executable, \";\n }\n } else $perms .= \"File does not exist\";\n\n //removes trailing comma and whitespace\n return rtrim(trim($perms), ',');\n}", "function isWriteable ( $canContinue, $file, $mode, $desc )\n{\n\t@chmod( $file, $mode );\n\t$good = is_writable( $file ) ? 1 : 0;\n\tMessage ( '<b>' . $desc .'</b> ('. $file .') is writable: ', $good );\n\treturn ( $canContinue && $good );\n}", "public function testPermissions() {\n\t\t$this->assertEquals('0777', $this->object->permissions());\n\t\t$this->assertEquals(null, $this->temp->permissions());\n\n\t\t$this->object->chmod(0444);\n\t\t$this->temp->chmod(0444);\n\n\t\t$this->assertEquals('0444', $this->object->permissions());\n\t\t$this->assertEquals(null, $this->temp->permissions());\n\t}", "function isWriteable ( $canContinue, $file, $mode, $desc ) \r\n{\r\n\t@chmod( $file, $mode );\r\n\t$good = is_writable( $file ) ? 1 : 0;\r\n\tMessage ( $desc.' is writable: ', $good );\r\n\treturn ( $canContinue && $good );\r\n}", "public function testCheckPermission()\n {\n // test no exception has occured\n $flag = false;\n try {\n $this->sharedFixture['session']->checkPermission('/tests_general_base', 'read');\n } catch (\\PHPCR\\Security\\AccessControlException $ex) {\n $flag = true;\n }\n $this->assertFalse($flag);\n\n $flag = false;\n try {\n $this->sharedFixture['session']->checkPermission('/tests_general_base/numberPropertyNode/jcr:content/foo', 'read');\n } catch (\\PHPCR\\Security\\AccessControlException $ex) {\n $flag = true;\n }\n $this->assertFalse($flag);\n }", "public function canCreateFiles()\n\t{\n\t\treturn $this->filePermissions;\n\t}", "public function validateRuntime()\n {\n /// check /temp and /perm for read-write permission\n /// check /temp and /perm have enough space for a build\n }", "public function checkUploadFolder() {\n\t\t$absolutePath = PATH_site . $this->uploadFolder;\n\t\tif (!@is_dir($absolutePath)){\n\t\t\tthrow new RuntimeException(\n\t\t\t\t'The folder ' . $absolutePath . ' with the uploaded realty files does not exist. ' .\n\t\t\t\t\t'Please check your configuration and restart the clean-up.',\n\t\t\t\t1333035462\n\t\t\t);\n\t\t}\n\t\tif (!@is_writable($absolutePath)) {\n\t\t\t$ownerUid = fileowner($absolutePath);\n\t\t\t$owner = posix_getpwuid($ownerUid);\n\n\t\t\tthrow new tx_oelib_Exception_AccessDenied(\n\t\t\t\t'The folder ' . $absolutePath . ' is not writable. Please fix file permissions and restart' .\n\t\t\t\t\t' the import. The folder belongs to the user: ' . $owner['name'] . ', ' . $ownerUid .\n\t\t\t\t\t', and has the following permissions: ' . substr(decoct(fileperms($absolutePath)), 2) .\n\t\t\t\t\t'. The user starting this import was: ' . get_current_user() . '.',\n\t\t\t\t1333035471\n\t\t\t);\n\t\t}\n\t}", "public function checkPermission($permissions = 'canViewLibrary') {\n\t\tif (!is_array($permissions))\n\t\t\t$permissions = array($permissions);\n\n\t\tforeach ($permissions as $permission) {\n\t\t\tif (!$this->getPermission($permission)) {\n\t\t\t\tthrow new PermissionDeniedException();\n\t\t\t}\n\t\t}\n\t}" ]
[ "0.72709197", "0.6198336", "0.61050695", "0.6055418", "0.6034162", "0.6031957", "0.5751729", "0.5688719", "0.5678918", "0.55821574", "0.5552972", "0.5519012", "0.54928803", "0.53793526", "0.5369033", "0.52926487", "0.528635", "0.52523834", "0.52276367", "0.5206942", "0.51843065", "0.5175868", "0.51571393", "0.51505727", "0.51470435", "0.5140339", "0.51399636", "0.5120933", "0.5118718", "0.5105172" ]
0.74551135
0
Checks invalid file/directory permissions. Adds a message to the message stack if the writable list contains non writable files.
public static function checkWritableList(messageStack $messageStack) { self::_prepareInvalidPermissions(true); if(count(self::$writable) > 0) { $message = '<br/>' . implode('<br/>', self::$writable); $messageStack->add(TEXT_FOLDER_WARNING . '<b>' . $message . '</b>', 'error'); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static function checkNonWritableList(messageStack $messageStack)\n\t{\n\t\tself::_prepareInvalidPermissions(true);\n\n\t\tif(count(self::$nonWritable) > 0)\n\t\t{\n\t\t\t$message = '<br/>' . implode('<br/>', self::$nonWritable);\n\t\t\t$messageStack->add(TEXT_FILE_WARNING . '<b>' . $message . '</b>', 'error');\n\t\t}\n\t}", "protected function writableFolderCheck()\n {\n $fileName = '/configtester_' . date('Y-m-d-h-i-s') . '.txt';\n\n $fileSystems = [\n ['name' => 'files', 'folder' => '', 'label' => '<code>files/</code> in the webroot'],\n ['name' => 'extensions', 'folder' => '', 'label' => '<code>extensions/</code> in the webroot'],\n ['name' => 'config', 'folder' => ''],\n ['name' => 'cache', 'folder' => ''],\n ];\n if ($this->app['config']->get('general/database/driver') === 'pdo_sqlite') {\n $fileSystems[] = ['name' => 'app', 'folder' => 'database'];\n }\n $fileSystems = Bag::fromRecursive($fileSystems);\n\n foreach ($fileSystems as $fileSystem) {\n $contents = $this->isWritable($fileSystem, $fileName);\n if ($contents != 'ok') {\n $folderName = $this->getFoldername($fileSystem);\n $notice = json_encode([\n 'severity' => 1,\n 'notice' => 'Bolt needs to be able to <strong>write files to</strong> the folder <code>' . $folderName . \"</code>, but it doesn't seem to be writable.\",\n 'info' => 'Make sure the folder exists, and is writable to the webserver.',\n ]);\n $this->app['logger.flash']->configuration($notice);\n }\n }\n }", "public function ensureWritable($files)\n {\n $errors = [];\n\n foreach ($files as $filename) {\n if (!is_dir($dir = dirname(PHPFOX_DIR . $filename))) {\n if (!@mkdir($dir, 0777, true)) {\n $errors[] = 'mkdir -p ' . $dir;\n } else {\n @chmod($dir, 0777);\n }\n }\n if (!is_writable($dir = dirname(PHPFOX_DIR . $filename))) {\n $errors[] = 'chmod 777 ' . $dir;\n }\n\n if (file_exists($filename = PHPFOX_DIR . $filename) and !is_writeable($filename)) {\n $errors[] = 'chmod 777 ' . $filename;\n }\n }\n return implode('<br />', $errors);\n }", "function checkPermissions()\n {\n if (is_writeable($this->filePath) AND\n is_dir($this->filePath)) {\n return true;\n } else {\n return false;\n }\n }", "function checkFileWriteablity($files)\n{\n if (isset($_POST['op']) && $_POST['op'] === 'proceed') {\n return true; // user said skip this\n }\n $tmpStats = getTmpStats();\n if (false === $tmpStats) {\n return true; // tests are not applicable\n }\n\n $message = array();\n\n foreach ($files as $file) {\n $dirName = dirname($file);\n $fileName = basename($file);\n $dirStat = getStats($dirName);\n if (false !== $dirStat) {\n $uid = $tmpStats['uid'];\n $gid = $tmpStats['gid'];\n if (!(($uid === $dirStat['uid'] && $dirStat['user']['write'])\n || ($gid === $dirStat['gid'] && $dirStat['group']['write'])\n || (file_exists($file) && is_writable($file))\n || (false !== stripos(PHP_OS, 'WIN'))\n )\n ) {\n $uidStr = (string) $uid;\n $dUidStr = (string) $dirStat['uid'];\n $gidStr = (string) $gid;\n $dGidStr = (string) $dirStat['gid'];\n if (function_exists('posix_getpwuid')) {\n $tempUsr = posix_getpwuid($uid);\n $uidStr = isset($tempUsr['name']) ? $tempUsr['name'] : (string) $uid;\n $tempUsr = posix_getpwuid($dirStat['uid']);\n $dUidStr = isset($tempUsr['name']) ? $tempUsr['name'] : (string) $dirStat['uid'];\n }\n if (function_exists('posix_getgrgid')) {\n $tempGrp = posix_getgrgid($gid);\n $gidStr = isset($tempGrp['name']) ? $tempGrp['name'] : (string) $gid;\n $tempGrp = posix_getgrgid($dirStat['gid']);\n $dGidStr = isset($tempGrp['name']) ? $tempGrp['name'] : (string) $dirStat['gid'];\n }\n $message[] = sprintf(\n CHMOD_CHGRP_ERROR,\n $fileName,\n $uidStr,\n $gidStr,\n basename($dirName),\n $dUidStr,\n $dGidStr\n );\n }\n }\n }\n return empty($message) ? true : $message;\n}", "protected static function _prepareInvalidPermissions($excludeIgnoredPaths = false)\n\t{\n\t\tself::_prepareChmodLists($excludeIgnoredPaths);\n\n\t\tif(count(self::$writable) === 0 || count(self::$nonWritable) === 0)\n\t\t{\n\t\t\tself::$writable = array();\n\t\t\tself::$nonWritable = array();\n\n\t\t\t$configure = 'includes' . DIRECTORY_SEPARATOR . 'configure.php';\n\t\t\t$configureOrg = 'includes' . DIRECTORY_SEPARATOR . 'configure.org.php';\n\n\t\t\t// handle chmod.txt\n\t\t\tforeach(self::$chmodList as $item)\n\t\t\t{\n\t\t\t\t$path = DIR_FS_CATALOG . $item;\n\n\t\t\t\t// configure files files must be non writable\n\t\t\t\tif((self::_endWith($item, $configure) || self::_endWith($item, $configureOrg))\n\t\t\t\t && is_writable($path)\n\t\t\t\t)\n\t\t\t\t{\n\t\t\t\t\tself::$nonWritable[] = $path;\n\t\t\t\t}\n\t\t\t\telseif(!self::_endWith($item, $configure) && !self::_endWith($item, $configureOrg)\n\t\t\t\t && (is_dir($path)\n\t\t\t\t || is_file($path))\n\t\t\t\t && !is_writable($path)\n\t\t\t\t)\n\t\t\t\t{\n\n\t\t\t\t\tself::$writable[] = $path;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// handle chmod_all.txt\n\t\t\tforeach(self::$chmodRecursiveList as $item)\n\t\t\t{\n\t\t\t\t$path = DIR_FS_CATALOG . $item;\n\n\t\t\t\tif(!is_writable($path))\n\t\t\t\t{\n\t\t\t\t\tself::$writable[] = $path;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "private function CheckPathWritable()\r\n\t{\r\n\t\t\r\n\t}", "protected function checkDirectory()\n {\n if (!is_dir($this->absoluteStorageDir)) {\n throw new DirDoesNotExistException(\"Directory '{$this->absoluteStorageDir}' doesnt exists\");\n }\n\n if (!is_writable($this->absoluteStorageDir)) {\n if (!@chmod($this->absoluteStorageDir, 0777)) {\n throw new DirNotWritableException(\"Directory '{$this->absoluteStorageDir}' is not writable\");\n }\n }\n }", "protected function checkFilePermissions()\n\t{\n\t\tinclude 'file-permissions.php';\n\t\t$permissions = new FilePermissions;\n\n\t\tif ($permissions->hasSafeMode()) {\n\t\t\treturn true;\n\t\t}\n\n\t\tif (!$permissions->canCreateFolder()) {\n\t\t\treturn true;\n\t\t}\n\n\t\tif (!$permissions->canCreateFile()) {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn false;\n\t}", "private function assertPermissionsFilesToTest()\n {\n $failures = [];\n $perm = fileperms($this->getTestDir());\n $perm = sprintf('%o', $perm);\n $perm = (int) substr($perm, -3);\n if ($this->expectedDirPermissions !== $perm) {\n $failures[$this->getTestDir()] = [$perm, $this->expectedDirPermissions];\n }\n\n $perm = fileperms($this->getTestFile());\n $perm = sprintf('%o', $perm);\n $perm = (int) substr($perm, -3);\n if (644 !== $perm) {\n $failures[$this->getTestFile()] = [$perm, $this->expectedFilePermissions];\n }\n\n if (count($failures)) {\n $message = '';\n foreach ($failures as $item => $fail) {\n $message .= sprintf(\n \"\\nFailed test resource \\\"%s\\\" has permissions \\\"%d\\\", expected \\\"%d\\\".\",\n $item, $fail[0], $fail[1]\n );\n }\n\n throw new \\RuntimeException($message);\n }\n }", "private function _check_permissions() {\n \n }", "private function checkPermissions()\n {\n $folder = dirname($this->settingsPath);\n if (is_writable($folder)) {\n return true;\n } elseif (mkdir($folder, 0755, true)) {\n return true;\n } elseif (chmod($folder, 0755)) {\n return true;\n }\n\n throw new InstagramException('The settings folder is not writable.', ErrorCode::INTERNAL_SETTINGS_ERROR);\n }", "protected static function validateWritable($path)\n {\n if (!file_exists($path)) {\n $dir = dirname($path);\n\n if (!file_exists($dir)) {\n return \"Directory to be written is not found : $dir.\";\n }\n\n if (!is_writable($dir)) {\n return \"File and its directory are not writable : $path, $dir.\";\n }\n } else {\n if (!is_file($path)) {\n return \"Path is not a file : $path.\";\n }\n\n if (!is_writable($path)) {\n return \"File is not writable : $path.\";\n }\n }\n\n return '';\n }", "public function isPermissions(): void\n {\n foreach ($this->subjects as [$value, $exception]) {\n if (! is_array($value)) {\n throw $exception;\n }\n\n if ([] === $value) {\n throw $exception;\n }\n\n foreach ($value as $permission) {\n if (! isset($permission['permission_name'])) {\n throw $exception;\n }\n\n if (! isset($permission['resource_server_identifier'])) {\n throw $exception;\n }\n }\n }\n }", "function spgm_CheckPerms($strFilePath) {\n\t\n spgm_Trace(\n '<p>function spgm_CheckPerms</p>'.\"\\n\"\n .'strFilePath: '.$strFilePath.'<br />'.\"\\n\"\n );\n\t\n if (! file_exists($strFilePath)) return false;\n\n $fileperms = fileperms($strFilePath);\n $isreadable = $fileperms & 4;\n if ( is_file($strFilePath) ) {\n // pictures, thumbnails, config files and comments only need to be readable\n if (! $isreadable) {\n spgm_Warning(\n $strFilePath.': '.WARNMSG_DIR_INSUFFICIENT_PERMISSIONS.'<br />'\n );\n }\n return $isreadable;\t\n }\n else if ( is_dir($strFilePath) ) {\n // galleries need to be both readable and executable\n $isexecutable = $fileperms & 1;\n if (! $isreadable || ! $isexecutable)\n spgm_Warning(\n $strFilePath.': '.WARNMSG_DIR_INSUFFICIENT_PERMISSIONS.'<br />'\n );\n return ( $isreadable && $isexecutable); // ($dirperms & 5) == 5 ?\n }\n \n // default behavior: the strFilePath does not exist\n return false;\n}", "function isWriteable ( $canContinue, $file, $mode, $desc )\n{\n\t@chmod( $file, $mode );\n\t$good = is_writable( $file ) ? 1 : 0;\n\tMessage ( '<b>' . $desc .'</b> ('. $file .') is writable: ', $good );\n\treturn ( $canContinue && $good );\n}", "private function check_for_directory_errors() {\n $errors = FALSE;\n\n // If the output path doesn't exist\n if( !is_dir( $this->output_path ) )\n {\n $this->messages[] = 'The path ' . $this->output_path . ' does not exists';\n $errors = TRUE;\n }\n\n // Checking if the directory where the output files will be written, is readable/writable\n if(!is_writable($this->output_path) || !is_readable($this->output_path)) {\n $this->messages[] = $this->output_path . ' is not a readable or writable directory';\n $errors = TRUE;\n } else {\n // If it is, checking if the contained files are readable/writable\n $not_writable_files = FALSE;\n $files = scandir($this->output_path);\n foreach ($files as $file) {\n if ($file != \".\" && $file != \"..\") {\n if (!is_writable($this->output_path .'/' . $file) || !is_readable($this->output_path .'/' . $file)) {\n $this->messages[] = $this->output_path .'/' . $file . ' is not readable or writable<br>';\n $errors = TRUE;\n }\n }\n }\n }\n\n return $errors;\n }", "function isWriteable ( $canContinue, $file, $mode, $desc ) \r\n{\r\n\t@chmod( $file, $mode );\r\n\t$good = is_writable( $file ) ? 1 : 0;\r\n\tMessage ( $desc.' is writable: ', $good );\r\n\treturn ( $canContinue && $good );\r\n}", "function upload($chmod = 0644)\n\t{\n\t\tif ($this->uploadDir == '') {\n\n// 2008-04-02\n//\t\t\t$this->setErrors('Upload directory not set');\n\t\t\t$this->setErrorCodes(5);\n\n\t\t\treturn false;\n\t\t}\n\t\tif (!is_dir($this->uploadDir)) {\n\n// 2008-04-02\n//\t\t\t$this->setErrors('Failed opening directory: '.$this->uploadDir);\n\t\t\t$this->setErrorCodes(8, $this->uploadDir);\n\n\t\t\treturn false;\n\t\t}\n\t\tif (!is_writeable($this->uploadDir)) {\n\n// 2008-04-02\n//\t\t\t$this->setErrors('Failed opening directory with write permission: '.$this->uploadDir);\n\t\t\t$this->setErrorCodes(9, $this->uploadDir);\n\n\t\t\treturn false;\n\t\t}\n\t\tif (!$this->checkMimeType()) {\n\n// 2008-04-02\n//\t\t\t$this->setErrors('MIME type not allowed: '.$this->mediaType);\n\t\t\t$this->setErrorCodes(10, $this->mediaType);\n\n\t\t\treturn false;\n\t\t}\n\t\tif (!$this->checkExtension()) {\n\n// 2008-04-02\n//\t\t\t$this->setErrors('Extension not allowed');\n\t\t\t$this->setErrorCodes(6);\n\n\t\t\treturn false;\n\t\t}\n\t\tif (!$this->checkMaxFileSize()) {\n\n// 2008-04-02\n//\t\t\t$this->setErrors('File size too large: '.$this->mediaSize);\n\t\t\t$this->setErrorCodes(11, $this->mediaSize);\n\n\t\t}\n\t\tif (!$this->checkMaxWidth()) {\n\n// 2008-04-02\n//\t\t\t$this->setErrors(sprintf('File width must be smaller than %u', $this->maxWidth));\n\t\t\t$this->setErrorCodes(12, $this->maxWidth);\n\n\t\t}\n\t\tif (!$this->checkMaxHeight()) {\n\n// 2008-04-02\n//\t\t\t$this->setErrors(sprintf('File height must be smaller than %u', $this->maxHeight));\n\t\t\t$this->setErrorCodes(13, $this->maxHeight);\n\n\t\t}\n\t\tif (count($this->errors) > 0) {\n\t\t\treturn false;\n\t\t}\n\t\tif (!$this->_copyFile($chmod)) {\n\n// 2008-04-02\n//\t\t\t$this->setErrors('Failed uploading file: '.$this->mediaName);\n\t\t\t$this->setErrorCodes(14, $this->mediaName);\n\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "public function checkPermission()\n\t{\n\t\tif ($this->User->isAdmin)\n\t\t{\n\t\t\treturn;\n\t\t}\n\n\t\tif (!$this->User->hasAccess('css', 'themes'))\n\t\t{\n\t\t\t$this->log('Not enough permissions to access the style sheets module', __METHOD__, TL_ERROR);\n\t\t\t$this->redirect('contao/main.php?act=error');\n\t\t}\n\t}", "public function setWritePermissions()\n {\n if( is_dir(ROOT . '/app/tmp') )\n {\n $this->out('Setting permissions on ROOT/app/tmp ...');\n $this->chMod(ROOT . '/app/tmp/');\n }\n\n if( is_dir(ROOT . '/app/webroot/media') )\n {\n $this->out('Setting permissions on ROOT/app/webroot/media ...');\n $this->chMod(ROOT . '/app/webroot/media/');\n }\n }", "function checkPermissions(string $directory): bool\n {\n $directoryIterator = new \\RecursiveDirectoryIterator($directory);\n\n foreach (new \\RecursiveIteratorIterator($directoryIterator) as $file) {\n if ($file->isFile() && !$file->isWritable()) {\n return false;\n }\n }\n\n return true;\n }", "public function checkWriteAccess() {\n \treturn true;\n }", "function check_perms($file){\n $perms = \"\";\n\n if(file_exists($file)){\n if (is_readable($file)){\n $perms .= \"Readable, \";\n }\n if (is_writable($file)){\n $perms .= \"Writable, \";\n }\n if (is_executable($file)){\n $perms .= \"Executable, \";\n }\n } else $perms .= \"File does not exist\";\n\n //removes trailing comma and whitespace\n return rtrim(trim($perms), ',');\n}", "public function testPermissions() {\n\t\t$this->assertEquals('0777', $this->object->permissions());\n\t\t$this->assertEquals(null, $this->temp->permissions());\n\n\t\t$this->object->chmod(0444);\n\t\t$this->temp->chmod(0444);\n\n\t\t$this->assertEquals('0444', $this->object->permissions());\n\t\t$this->assertEquals(null, $this->temp->permissions());\n\t}", "public function canCreateFiles()\n\t{\n\t\treturn $this->filePermissions;\n\t}", "public static function ensureWritable()\n {\n foreach (self::$all_files as $type)\n {\n $filename = self::_createFileName($type);\n if (file_exists($filename) && !is_writable($filename))\n {\n return false;\n }\n elseif (!is_writable(dirname($filename)))\n {\n return false;\n }\n }\n return true;\n }", "public function validateRuntime()\n {\n /// check /temp and /perm for read-write permission\n /// check /temp and /perm have enough space for a build\n }", "function checkpermission( $filename )\n\t{\n\t\t$dirname=$filename;\n\t\t$filename=$dirname.\"/index.html\";\n\t\tif (@is_dir($dirname)) {\n\t\t\t@chmod($dirname, 0777);\n\t\t}\n\t\tif (!@fopen(\"$filename\", \"w+\")) {\n\t\t\treturn false;\n\t\t}\n\t\telse {\n\t\t\t@unlink($filename);\n\t\t\treturn true;\n\t\t}\n\t}", "protected function checkErrorWritable(): void\n {\n if (!$this->isErrorWritable()) {\n throw Exceptional::Runtime(\n 'Error writing has been shut down'\n );\n }\n }" ]
[ "0.7333732", "0.63149405", "0.61312044", "0.6131018", "0.6099973", "0.60109967", "0.5703172", "0.5686893", "0.566547", "0.56640637", "0.5642789", "0.56347525", "0.5597475", "0.55301553", "0.53819865", "0.53408206", "0.5337628", "0.5336799", "0.5277464", "0.5257209", "0.5225469", "0.5223719", "0.52107847", "0.5205898", "0.5196511", "0.5136029", "0.51307863", "0.51125735", "0.5092275", "0.5086964" ]
0.73640895
0
Prepares the chmod list, if not already done.
protected static function _prepareChmodList() { if(count(self::$chmodList) === 0) { self::$chmodList = array_map(array(__CLASS__, '_trimLeftSlash'), file(DIR_FS_CATALOG . 'version_info/lists/chmod.txt')); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function updatePermissions()\n {\n $pathNames = $this->resolver->names();\n // These should be moved to PathResolver paths eventually.\n $pathNames[] = '%web%/extensions';\n $pathNames[] = '%web%/thumbs';\n\n $dirMode = $this->options->getDirMode();\n foreach ($pathNames as $name) {\n $path = $this->resolver->resolve($name);\n if (!$this->filesystem->exists($path)) {\n $this->filesystem->mkdir($path);\n }\n $this->filesystem->chmod($path, $dirMode);\n }\n }", "protected static function _prepareInvalidPermissions($excludeIgnoredPaths = false)\n\t{\n\t\tself::_prepareChmodLists($excludeIgnoredPaths);\n\n\t\tif(count(self::$writable) === 0 || count(self::$nonWritable) === 0)\n\t\t{\n\t\t\tself::$writable = array();\n\t\t\tself::$nonWritable = array();\n\n\t\t\t$configure = 'includes' . DIRECTORY_SEPARATOR . 'configure.php';\n\t\t\t$configureOrg = 'includes' . DIRECTORY_SEPARATOR . 'configure.org.php';\n\n\t\t\t// handle chmod.txt\n\t\t\tforeach(self::$chmodList as $item)\n\t\t\t{\n\t\t\t\t$path = DIR_FS_CATALOG . $item;\n\n\t\t\t\t// configure files files must be non writable\n\t\t\t\tif((self::_endWith($item, $configure) || self::_endWith($item, $configureOrg))\n\t\t\t\t && is_writable($path)\n\t\t\t\t)\n\t\t\t\t{\n\t\t\t\t\tself::$nonWritable[] = $path;\n\t\t\t\t}\n\t\t\t\telseif(!self::_endWith($item, $configure) && !self::_endWith($item, $configureOrg)\n\t\t\t\t && (is_dir($path)\n\t\t\t\t || is_file($path))\n\t\t\t\t && !is_writable($path)\n\t\t\t\t)\n\t\t\t\t{\n\n\t\t\t\t\tself::$writable[] = $path;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// handle chmod_all.txt\n\t\t\tforeach(self::$chmodRecursiveList as $item)\n\t\t\t{\n\t\t\t\t$path = DIR_FS_CATALOG . $item;\n\n\t\t\t\tif(!is_writable($path))\n\t\t\t\t{\n\t\t\t\t\tself::$writable[] = $path;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "protected function initPermissions()\n {\n if (isset($this->settings) && $this->settings->exists('permissions') && !self::$init_stages[$this->name]['permissions']) {\n\n $permissions = [\n 'admin'\n ];\n\n if ($this->settings->exists('config')) {\n $permissions[] = 'config';\n }\n\n $permissions = array_merge($permissions, $this->settings->get('permissions'));\n\n $this->permissions = new Permissions();\n $this->permissions->set($permissions);\n\n // Set flat that permission init is done\n self::$init_stages[$this->name]['perms'] = true;\n }\n }", "private function setPermissions()\n\t{\n\t\tforeach ($this->foldersToChmod as $folder => $permissions)\n\t\t{\n\t\t\tchmod(__DIR__ . '/' . $folder, $permissions);\n\t\t}\n\n\t\t$this->success('Permissions changed ...');\n\t}", "function chmod($files, $mode, $umask = 0000, $recursive = false);", "private function fillPermissions()\n {\n $smmPermissions = [\n 'smm.access', 'news.add', 'news.edit', 'news.delete'\n ];\n\n $moderatorPermissions = [\n 'moder.access', 'score.add', 'promocode.add', 'users.ban'\n ];\n\n $adminPermissions = [\n 'manager.access', 'users.roles'\n ];\n\n $this->permissionsList = [\n 'smm' => $smmPermissions,\n 'moderator' => $moderatorPermissions,\n 'admin' => $adminPermissions,\n\n 'full_permissions' => $this->fullPermissions\n ];\n }", "function buildACL()\r\n {\r\n if (count($this->userRoles) > 0)\r\n {\r\n $this->perms = array_merge($this->perms,$this->getRolePerms($this->userRoles));\r\n }\r\n //then, get the individual user permissions\r\n $this->perms = array_merge($this->perms,$this->getUserPerms($this->user_id));\r\n }", "public function testPermissions() {\n\t\t$this->assertEquals('0777', $this->object->permissions());\n\t\t$this->assertEquals(null, $this->temp->permissions());\n\n\t\t$this->object->chmod(0444);\n\t\t$this->temp->chmod(0444);\n\n\t\t$this->assertEquals('0444', $this->object->permissions());\n\t\t$this->assertEquals(null, $this->temp->permissions());\n\t}", "public function get_chmod_array($runtime = false)\n {\n return array();\n }", "public function get_chmod_array($runtime = false)\n {\n return array();\n }", "public function get_chmod_array($runtime = false)\n {\n return array();\n }", "public function get_chmod_array($runtime = false)\n {\n return array();\n }", "protected static function _prepareChmodRecursiveList($excludeIgnoredPaths = false)\n\t{\n\t\tif(count(self::$chmodRecursiveList) === 0)\n\t\t{\n\t\t\t$recursivePath = DIR_FS_CATALOG . 'version_info/lists/chmod_all.txt';\n\t\t\t$recursiveList = array_map(array(__CLASS__, '_trimLeftSlash'), file($recursivePath));\n\n\t\t\t$recursiveList = array_filter($recursiveList, array(__CLASS__, '_isPathIgnored'));\n\t\t\tforeach($recursiveList as $listItem)\n\t\t\t{\n\t\t\t\tif(is_dir(DIR_FS_CATALOG . $listItem) || is_file(DIR_FS_CATALOG . $listItem))\n\t\t\t\t{\n\t\t\t\t\t$iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator(DIR_FS_CATALOG\n\t\t\t\t\t . $listItem));\n\n\t\t\t\t\tforeach($iterator as $path)\n\t\t\t\t\t{\n\t\t\t\t\t\tif($path->isDir() && $path->getFilename() !== '.' && $path->getFilename() !== '..')\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tself::$chmodRecursiveList[] = str_replace(DIR_FS_CATALOG, '', (string)$path);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// handle of excluded paths\n\t\t\tif(!$excludeIgnoredPaths)\n\t\t\t{\n\t\t\t\tforeach(self::$ignoredPaths as $ignoredPath)\n\t\t\t\t{\n\t\t\t\t\t$iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator(DIR_FS_CATALOG\n\t\t\t\t\t . $ignoredPath));\n\n\t\t\t\t\tforeach($iterator as $path)\n\t\t\t\t\t{\n\t\t\t\t\t\t/** @var SplFileInfo $path */\n\t\t\t\t\t\tif($path->getFilename() !== '.' && $path->getFilename() !== '..')\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tself::$chmodRecursiveList[] = str_replace(DIR_FS_CATALOG, '', (string)$path);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "abstract public static function setup_permissions(): void;", "public function get_chmod_array($runtime = false)\n {\n return array(\n 'buildr_addon',\n );\n }", "public function buildACL() {\r\n if (count($this->userRoles) > 0) {\r\n $this->perms = array_merge($this->perms,$this->getRolePerms($this->userRoles));\r\n }\r\n //then, get the individual user permissions\r\n $this->perms = array_merge($this->perms,$this->getUserPerms($this->id));\r\n }", "private function setPermissions()\n {\n $this->permissions = \\PermissionModel::getUserPermissionsByRole($this->data['role_id']);\n unset($this->permissions['role_id']);\n }", "protected function setApplicationPermissions()\n\t{\n\t\t$files = (array) $this->rocketeer->getOption('remote.permissions.files');\n\t\tforeach ($files as $file) {\n\t\t\t$this->setPermissions($file);\n\t\t}\n\t}", "private static function setPerms(string $filename, bool $isFlag, int $perm): bool\n {\n $stat = @\\stat($filename);\n\n if ($stat === false) {\n return false;\n }\n\n // We're on Windows\n if (Sys::isWin()) {\n return true;\n }\n\n [$myuid, $mygid] = [\\posix_geteuid(), \\posix_getgid()];\n\n $isMyUid = $stat['uid'] === $myuid;\n $isMyGid = $stat['gid'] === $mygid;\n\n if ($isFlag) {\n // Set only the user writable bit (file is owned by us)\n if ($isMyUid) {\n return \\chmod($filename, \\fileperms($filename) | \\intval('0' . $perm . '00', 8));\n }\n\n // Set only the group writable bit (file group is the same as us)\n if ($isMyGid) {\n return \\chmod($filename, \\fileperms($filename) | \\intval('0' . $perm . $perm . '0', 8));\n }\n\n // Set the world writable bit (file isn't owned or grouped by us)\n return \\chmod($filename, \\fileperms($filename) | \\intval('0' . $perm . $perm . $perm, 8));\n }\n\n // Set only the user writable bit (file is owned by us)\n if ($isMyUid) {\n $add = \\intval(\"0{$perm}{$perm}{$perm}\", 8);\n\n return self::chmod($filename, $perm, $add);\n }\n\n // Set only the group writable bit (file group is the same as us)\n if ($isMyGid) {\n $add = \\intval(\"00{$perm}{$perm}\", 8);\n\n return self::chmod($filename, $perm, $add);\n }\n\n // Set the world writable bit (file isn't owned or grouped by us)\n $add = \\intval(\"000{$perm}\", 8);\n\n return self::chmod($filename, $perm, $add);\n }", "public function testPermsAndChmod() {\n\t\t$this->assertTrue($this->object->executable());\n\t\t$this->assertTrue($this->object->readable());\n\t\t$this->assertTrue($this->object->writable());\n\n\t\t$this->assertFalse($this->temp->executable());\n\t\t$this->assertFalse($this->temp->readable());\n\t\t$this->assertFalse($this->temp->writable());\n\n\t\t$this->object->chmod(0);\n\t\t$this->temp->chmod(0);\n\n\t\t$this->assertFalse($this->object->executable());\n\t\t$this->assertFalse($this->object->readable());\n\t\t$this->assertFalse($this->object->writable());\n\n\t\t$this->assertFalse($this->temp->executable());\n\t\t$this->assertFalse($this->temp->readable());\n\t\t$this->assertFalse($this->temp->writable());\n\t}", "public function setWritePermissions()\n {\n if( is_dir(ROOT . '/app/tmp') )\n {\n $this->out('Setting permissions on ROOT/app/tmp ...');\n $this->chMod(ROOT . '/app/tmp/');\n }\n\n if( is_dir(ROOT . '/app/webroot/media') )\n {\n $this->out('Setting permissions on ROOT/app/webroot/media ...');\n $this->chMod(ROOT . '/app/webroot/media/');\n }\n }", "function chmod ($filename, $mode) {}", "protected static function resetUserRights() {\n // reset rights 644 for files\n exec(\"chmod 644 \".self::$config_silverstripe_old);\n self::$event->getIO()->write(\":: reset rights for _config.php\");\n exec(\"chmod 644 \".self::$config_silverstripe);\n self::$event->getIO()->write(\":: reset rigths config.yml\");\n }", "public function fructifyPermissions()\n {\n // These folders will be given full write permissions\n $folders =\n [\n './wp-content/uploads'\n ];\n\n // Loop through each folder\n foreach ($folders as $folder)\n {\n $this->taskFileSystemStack()\n ->mkdir($folder)\n ->chmod($folder, 0777)\n ->run();\n }\n }", "function setChmod( $int_chmod = '' )\r\n\t{\r\n\t\t$this->chmod\t= $int_chmod;\r\n\t}", "function _undo()\n{\n\t$list = json_decode(file_get_contents('perm-save-file.json'), true);\n\tforeach ($list as $file=>$data) {\n\t\tchown($file, $data['uid']);\n\t\tchgrp($file, $data['gid']);\n\t\tchmod($file, $data['mode']);\n\t}\n\n\t// Restore User Data\n\t$list = json_decode(file_get_contents('perm-save-user.json'), true);\n\tprint_r($list);\n\tforeach ($list as $user=>$data) {\n\t\t$cmd = sprintf('usermod --gid %d --uid %d %s', $data['gid'], $data['uid'], $user);\n\t\techo \"exec: $cmd\\n\";\n\t\tshell_exec($cmd);\n\t}\n}", "function build_permissions()\n {\n\t\tif ( $this->ipsclass->member['g_is_supmod'] )\n\t\t{\n\t\t\t$this->can_edit_topics = 1;\n\t\t\t$this->can_close_topics = 1;\n\t\t\t$this->can_open_topics = 1;\n\t\t}\n\t\telse if ( isset($this->ipsclass->member['_moderator'][ $this->forum['id'] ]) AND is_array( $this->ipsclass->member['_moderator'][ $this->forum['id'] ] ) )\n\t\t{\n\t\t\tif ( $this->ipsclass->member['_moderator'][ $this->forum['id'] ]['edit_topic'] )\n\t\t\t{\n\t\t\t\t$this->can_edit_topics = 1;\n\t\t\t}\n\t\t\t\n\t\t\tif ( $this->ipsclass->member['_moderator'][ $this->forum['id'] ]['close_topic'] )\n\t\t\t{\n\t\t\t\t$this->can_close_topics = 1;\n\t\t\t}\n\t\t\t\n\t\t\tif ( $this->ipsclass->member['_moderator'][ $this->forum['id'] ]['open_topic'] )\n\t\t\t{\n\t\t\t\t$this->can_open_topics = 1;\n\t\t\t}\n\t\t}\n\t}", "private static function fillSystemPermissions(): void\n {\n $map = RoleUtil::preparedRoleMap();\n\n $query = [];\n try {\n $oldRolesList = RoleTable::getList(['select' => ['ID', 'XML_ID']])->fetchAll();\n $xmlIds = array_flip(array_column($oldRolesList, 'XML_ID'));\n foreach ($map as $roleKey => $permissions) {\n $roleName = RoleUtil::getLocalizedName($roleKey);\n\n $roleId = isset($xmlIds[$roleKey])\n ? $oldRolesList[$xmlIds[$roleKey]]['ID']\n : (new RolePermissionService())->saveRole($roleName);\n\n $query = array_merge($query, RoleUtil::buildInsertPermissionQuery($permissions, $roleId));\n }\n\n RoleUtil::insertPermissions($query);\n } catch (\\Exception $e) {\n }\n }", "protected function applyPermissions()\n {\n $this->output->write('Updating file permissions...');\n\n foreach (['local', 'site', 'statamic', 'assets'] as $folder) {\n $dir = $this->directory . '/' . $folder;\n $iterator = new \\RecursiveIteratorIterator(new \\RecursiveDirectoryIterator($dir));\n\n foreach ($iterator as $item) {\n chmod($item, 0777);\n }\n }\n\n $this->output->writeln(\" <info>[✔]</info>\");\n\n return $this;\n }", "function loadPermissions()\n{\n\tglobal $user_info, $db_prefix, $board, $board_info;\n\n\t$user_info['permissions'] = array();\n\n\tif ($user_info['is_admin'])\n\t\treturn;\n\n\t$removals = array();\n\n\t// Get the general permissions.\n\t$request = db_query(\"\n\t\tSELECT permission, addDeny\n\t\tFROM {$db_prefix}permissions\n\t\tWHERE ID_GROUP IN (\" . implode(', ', $user_info['groups']) . ')', __FILE__, __LINE__);\n\twhile ($row = mysql_fetch_assoc($request))\n\t{\n\t\tif (empty($row['addDeny']))\n\t\t\t$removals[] = $row['permission'];\n\t\telse\n\t\t\t$user_info['permissions'][] = $row['permission'];\n\t}\n\tmysql_free_result($request);\n\n\t// Get the board permissions.\n\tif (!empty($board))\n\t{\n\t\t// Make sure the board (if any) has been loaded by loadBoard().\n\t\tif (!isset($board_info['use_local_permissions']))\n\t\t\tfatal_lang_error('smf232');\n\n\t\t$request = db_query(\"\n\t\t\tSELECT permission, addDeny\n\t\t\tFROM {$db_prefix}board_permissions\n\t\t\tWHERE ID_GROUP IN (\" . implode(', ', $user_info['groups']) . \")\n\t\t\t\tAND ID_BOARD = \" . ($board_info['use_local_permissions'] ? $board : '0'), __FILE__, __LINE__);\n\t\twhile ($row = mysql_fetch_assoc($request))\n\t\t{\n\t\t\tif (empty($row['addDeny']))\n\t\t\t\t$removals[] = $row['permission'];\n\t\t\telse\n\t\t\t\t$user_info['permissions'][] = $row['permission'];\n\t\t}\n\t\tmysql_free_result($request);\n\t}\n\n\t// Remove all the permissions they shouldn't have ;).\n\t$user_info['permissions'] = array_diff($user_info['permissions'], $removals);\n\n\t// Banned? Watch, don't touch..\n\tbanPermissions();\n}" ]
[ "0.5942955", "0.5787125", "0.5774643", "0.56912255", "0.56902117", "0.559977", "0.55586386", "0.5507697", "0.55042547", "0.55042547", "0.55042547", "0.55042547", "0.54981434", "0.54784787", "0.54457027", "0.54076993", "0.5383038", "0.5347191", "0.5326438", "0.531865", "0.53180665", "0.52923703", "0.5277406", "0.5249866", "0.5235132", "0.5233792", "0.52016926", "0.51197755", "0.5109529", "0.5090691" ]
0.78260666
0
Checks if the passed argument is in the ignored paths property.
protected static function _isPathIgnored($element) { return !in_array($element, self::$ignoredPaths); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function checkExcludePaths()\n {\n $currentPath = $this->getRequest()->getRequestUri();\n $pathsConfig = $this->_helperData->getWhereToShowConfig('exclude_pages_with_url');\n\n if ($pathsConfig) {\n $arrayPaths = explode(\"\\n\", $pathsConfig);\n $pathsUrl = array_map('trim', $arrayPaths);\n\n foreach ($pathsUrl as $path) {\n if (strpos($currentPath, $path) !== false) {\n return false;\n }\n }\n }\n\n return true;\n }", "protected function checkPaths()\r\n\t{\r\n\t\tforeach ( $this->data_paths as $path )\r\n\t\t{\r\n\t\t\tif( !file_exists( $path ) )\r\n\t\t\t{\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn true;\r\n\t}", "public function hasPath(){\n return $this->_has(2);\n }", "public function hasPath(){\n return $this->_has(2);\n }", "private function isPathExcluded($path)\n {\n if ($this->excludedPath === '*') {\n return true;\n }\n\n if (empty($this->excludedPath) && !is_numeric($this->excludedPath)) {\n return false;\n }\n\n foreach ((array)$this->excludedPath as $excluded) {\n if (preg_match('@' . $excluded . '@', $path)) {\n return true;\n }\n }\n\n return false;\n }", "public function hasPath(){\n return $this->_has(1);\n }", "public function isPath();", "public function hasNestedPath()\n {\n $path = $this->attributes[$this->getPathName()];\n\n return Str::contains($path, $this->getPathSeparator());\n }", "public final function isIgnored() {\n\t\treturn (isset($this->_options['ignore']) && $this->_options['ignore']) ? true : false;\n\t}", "public function checkIncludePaths()\n {\n $currentPath = $this->getRequest()->getRequestUri();\n $pathsConfig = $this->_helperData->getWhereToShowConfig('include_pages_with_url');\n\n if ($pathsConfig) {\n $arrayPaths = explode(\"\\n\", $pathsConfig);\n $pathsUrl = array_map('trim', $arrayPaths);\n foreach ($pathsUrl as $path) {\n if ($path && strpos($currentPath, $path) !== false) {\n return true;\n }\n }\n }\n\n return false;\n }", "function hasPath($name)\n {\n $n = $this->_normalizeName($name);\n return isset($this->paths[$n]);\n }", "public function testPathIsRestricted() {\n $paths = [$this->current_path];\n $this->rule->set('paths', $paths);\n\n $this->matcher->expects($this->once())\n ->method('matchPath')\n ->willReturn(TRUE);\n\n $this->rule->expects($this->once())->method('getMatcher')->willReturn($this->matcher);\n $this->rule->expects($this->never())->method('getRule');\n\n $this->assertTrue($this->rule->assert());\n }", "private function hasPath($subsitepaths, $uripath){\n \n $paths = explode(',', $subsitepaths);\n \n foreach($paths as &$path){\n $path = trim($path);\n }\n \n if(in_array($uripath, $paths))\n return TRUE;\n }", "function route_except()\n{\n $except = func_get_args();\n if (count($except)) {\n foreach ($except as $string) {\n if ($string) {\n $string = trim($string, '/');\n }\n\n if (stripos(_rr(), $string) === 0 || route_name() == $string) {\n return false;\n }\n }\n }\n\n return true;\n}", "public function checkPaths() {\n\t\t$paths = array();\n\n\t\tforeach ($this->__paths as $path => $options) {\n\t\t\tswitch($options['type']) {\n\t\t\t\tcase 'write':\n\t\t\t\t\t$function = 'is_writable';\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\t$function = 'is_readable';\n\t\t\t}\n\t\t\tif (!$function(APP.$path)) {\n\t\t\t\t$paths[] = sprintf(__d('installer', $options['message']), APP.$path);\n\t\t\t}\n\t\t}\n\n\t\treturn $paths;\n\t}", "public function hasPropertyPath(): bool\n {\n return $this->has(ConfigUtil::PROPERTY_PATH);\n }", "public function excludePath($path)\n {\n if (is_array($path)) {\n foreach ($path as $p) {\n $this->excludePath($p);\n }\n }\n\n $this->exclude[] = realpath($path);\n\n return true;\n }", "private function _checkIsExclude(string $path): bool\n {\n $isExclude = false;\n foreach (self::excludeDirs as $excDir) {\n if (Utils::strContains($excDir, $path)) {\n $isExclude = true;\n }\n }\n return $isExclude;\n }", "protected function check_path($path) {\n\t\tif (isset ( $path ) && ! empty ( $path ) && '/' == substr ( $path, 0, 1 )) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "public function ignoreEmpty(string $method, $value, array $args): bool;", "public function hasFilePath() : bool ;", "public function checkExclude()\n {\n return ($this->checkExcludePages() && $this->checkExcludePaths());\n }", "public function isMissing(): bool;", "private function excludeUrl()\r\n\t{\r\n\t\t$exclude_urls = array_map('trim', explode(\"\\n\", $this->params->get('exclude_urls')));\r\n\r\n\t\tforeach($exclude_urls as $exclude_url)\r\n\t\t{\r\n\t\t\tif(stripos($this->url, $exclude_url) !== false)\r\n\t\t\t{\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn false;\r\n\t}", "public function testPathInRestricted() {\n $cur_path = $this->current_path;\n $paths = [\n '/test',\n '/test2',\n $cur_path,\n '/test3',\n ];\n $this->rule->set('paths', $paths);\n\n $this->matcher->expects($this->exactly(3))\n ->method('matchPath')\n ->withConsecutive(...array_map(function($p) use ($cur_path) { return [$cur_path, $p]; }, $paths))\n ->willReturnOnConsecutiveCalls(FALSE, FALSE, TRUE, FALSE);\n\n $this->rule->expects($this->once())->method('getMatcher')->willReturn($this->matcher);\n $this->rule->expects($this->never())->method('getRule');\n\n $this->assertTrue($this->rule->assert());\n }", "public function isPathIgnored($path) : bool\n {\n $relativePathToCheck = new RelativePath($this->getRepository(), $path);\n\n // for each parent directory, read possible .gitignore and check if $path is ignored by it\n $directories = PathUtils::getRelativeDirectoriesToScan($relativePathToCheck);\n\n // @todo check order priority\n foreach ($directories as $directory) {\n $relativePathToScan = new RelativePath($this->getRepository(), $directory);\n\n try {\n $file = $this->searchGitIgnoreFileInRelativePath($relativePathToScan);\n } catch (FileNotFoundException $e) {\n continue;\n }\n\n if (!$file instanceof File) {\n continue;\n }\n\n if ($file->isPathIgnored($relativePathToCheck)) {\n return true;\n }\n }\n\n return false;\n }", "private function isExcluded(FilesystemJob $directory, string $path, string $fullPath): bool\n {\n foreach ($directory->exclude as $excluded) {\n\n if (str_starts_with($fullPath, $excluded) || str_starts_with($path, $excluded)) {\n return true;\n }\n }\n\n return false;\n }", "public function hasFilePath() : bool;", "public function testIgnore()\n {\n // create file if not exists\n $filePath = $this->repository->getProjectPath() . DIRECTORY_SEPARATOR . $this->variables['ignoredPath'];\n if (!file_exists($filePath)) {\n file_put_contents($filePath, 'ignored file');\n }\n\n // check full path ignored files\n $this->assertFalse($this->repository->pathIsNotIgnored($this->variables['ignoredPath']));\n $this->assertTrue($this->repository->pathIsNotIgnored($this->variables['notIgnoredPath']));\n }", "function url_path(string $path): bool\n{\n if ($path === '*') {\n return true;\n }\n\n if ($path === '/') {\n $path = '';\n } elseif (!empty($path) && $path[0] === '/') {\n $path = substr($path, 1);\n }\n\n return $path === $_GET['url'];\n}" ]
[ "0.66361713", "0.6018075", "0.59412587", "0.59412587", "0.59360385", "0.5794575", "0.57773834", "0.57121134", "0.56821793", "0.56670284", "0.5645322", "0.5616877", "0.5589886", "0.55846196", "0.55496097", "0.5537038", "0.55008745", "0.5479081", "0.5477644", "0.5386775", "0.5371104", "0.53570414", "0.5339865", "0.5322376", "0.53179395", "0.5316786", "0.52993226", "0.529624", "0.5295217", "0.5284345" ]
0.70843697
0
Prepares the chmod recursive list, if not already done. Scans the directories which are listed recursively.
protected static function _prepareChmodRecursiveList($excludeIgnoredPaths = false) { if(count(self::$chmodRecursiveList) === 0) { $recursivePath = DIR_FS_CATALOG . 'version_info/lists/chmod_all.txt'; $recursiveList = array_map(array(__CLASS__, '_trimLeftSlash'), file($recursivePath)); $recursiveList = array_filter($recursiveList, array(__CLASS__, '_isPathIgnored')); foreach($recursiveList as $listItem) { if(is_dir(DIR_FS_CATALOG . $listItem) || is_file(DIR_FS_CATALOG . $listItem)) { $iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator(DIR_FS_CATALOG . $listItem)); foreach($iterator as $path) { if($path->isDir() && $path->getFilename() !== '.' && $path->getFilename() !== '..') { self::$chmodRecursiveList[] = str_replace(DIR_FS_CATALOG, '', (string)$path); } } } } // handle of excluded paths if(!$excludeIgnoredPaths) { foreach(self::$ignoredPaths as $ignoredPath) { $iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator(DIR_FS_CATALOG . $ignoredPath)); foreach($iterator as $path) { /** @var SplFileInfo $path */ if($path->getFilename() !== '.' && $path->getFilename() !== '..') { self::$chmodRecursiveList[] = str_replace(DIR_FS_CATALOG, '', (string)$path); } } } } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected static function _prepareChmodList()\n\t{\n\t\tif(count(self::$chmodList) === 0)\n\t\t{\n\t\t\tself::$chmodList = array_map(array(__CLASS__, '_trimLeftSlash'),\n\t\t\t file(DIR_FS_CATALOG . 'version_info/lists/chmod.txt'));\n\t\t}\n\t}", "function scandir_recursive()\n{ \n}", "private function updatePermissions()\n {\n $pathNames = $this->resolver->names();\n // These should be moved to PathResolver paths eventually.\n $pathNames[] = '%web%/extensions';\n $pathNames[] = '%web%/thumbs';\n\n $dirMode = $this->options->getDirMode();\n foreach ($pathNames as $name) {\n $path = $this->resolver->resolve($name);\n if (!$this->filesystem->exists($path)) {\n $this->filesystem->mkdir($path);\n }\n $this->filesystem->chmod($path, $dirMode);\n }\n }", "function chmodDirRecursively($parentPath, $mode){\n $iterator=new RecursiveIteratorIterator(new RecursiveDirectoryIterator($parentPath)); \n foreach($iterator as $item){\n if(is_dir($item))\n chmod($item, $mode);\n }\n}", "protected static function _prepareInvalidPermissions($excludeIgnoredPaths = false)\n\t{\n\t\tself::_prepareChmodLists($excludeIgnoredPaths);\n\n\t\tif(count(self::$writable) === 0 || count(self::$nonWritable) === 0)\n\t\t{\n\t\t\tself::$writable = array();\n\t\t\tself::$nonWritable = array();\n\n\t\t\t$configure = 'includes' . DIRECTORY_SEPARATOR . 'configure.php';\n\t\t\t$configureOrg = 'includes' . DIRECTORY_SEPARATOR . 'configure.org.php';\n\n\t\t\t// handle chmod.txt\n\t\t\tforeach(self::$chmodList as $item)\n\t\t\t{\n\t\t\t\t$path = DIR_FS_CATALOG . $item;\n\n\t\t\t\t// configure files files must be non writable\n\t\t\t\tif((self::_endWith($item, $configure) || self::_endWith($item, $configureOrg))\n\t\t\t\t && is_writable($path)\n\t\t\t\t)\n\t\t\t\t{\n\t\t\t\t\tself::$nonWritable[] = $path;\n\t\t\t\t}\n\t\t\t\telseif(!self::_endWith($item, $configure) && !self::_endWith($item, $configureOrg)\n\t\t\t\t && (is_dir($path)\n\t\t\t\t || is_file($path))\n\t\t\t\t && !is_writable($path)\n\t\t\t\t)\n\t\t\t\t{\n\n\t\t\t\t\tself::$writable[] = $path;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// handle chmod_all.txt\n\t\t\tforeach(self::$chmodRecursiveList as $item)\n\t\t\t{\n\t\t\t\t$path = DIR_FS_CATALOG . $item;\n\n\t\t\t\tif(!is_writable($path))\n\t\t\t\t{\n\t\t\t\t\tself::$writable[] = $path;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "function chmod_r($Path,$mod) {\r\n $dp = opendir($Path);\r\n while($File = readdir($dp)) {\r\n if($File != \".\" AND $File != \"..\") {\r\n if(is_dir($File)){\r\n chmod($File, $mod);\r\n chmod_r($Path.\"/\".$File);\r\n }else{\r\n chmod($Path.\"/\".$File, $mod);\r\n }\r\n }\r\n }\r\n closedir($dp);\r\n}", "function recursiveChmod($path, $filePerm = 0644, $dirPerm = 0755)\n{\n if (!file_exists($path)) {\n return false;\n }\n if (is_file($path)) {\n chmod($path, $filePerm);\n } elseif (is_dir($path)) {\n $foldersAndFiles = scandir($path);\n $entries = array_slice($foldersAndFiles, 2);\n foreach ($entries as $entry) {\n recursiveChmod($path . \"/\" . $entry, $filePerm, $dirPerm);\n }\n chmod($path, $dirPerm);\n }\n\n return true;\n}", "private function setPermissions()\n\t{\n\t\tforeach ($this->foldersToChmod as $folder => $permissions)\n\t\t{\n\t\t\tchmod(__DIR__ . '/' . $folder, $permissions);\n\t\t}\n\n\t\t$this->success('Permissions changed ...');\n\t}", "public function fructifyPermissions()\n {\n // These folders will be given full write permissions\n $folders =\n [\n './wp-content/uploads'\n ];\n\n // Loop through each folder\n foreach ($folders as $folder)\n {\n $this->taskFileSystemStack()\n ->mkdir($folder)\n ->chmod($folder, 0777)\n ->run();\n }\n }", "function chmod($files, $mode, $umask = 0000, $recursive = false);", "protected static function _prepareChmodLists($excludeIgnoredPaths = false)\n\t{\n\t\tself::_prepareChmodList();\n\t\tself::_prepareChmodRecursiveList($excludeIgnoredPaths);\n\t}", "function chmodTree($path, $filemode = 0777, $limit = 5)\n {\n for ($x = 0; $x < $limit; $x++) {\n @chmod($path, $filemode);\n $path = substr($path, 0, strrpos($path, '/', -2) + 1);\n }\n }", "protected function initPermissions()\n {\n if (isset($this->settings) && $this->settings->exists('permissions') && !self::$init_stages[$this->name]['permissions']) {\n\n $permissions = [\n 'admin'\n ];\n\n if ($this->settings->exists('config')) {\n $permissions[] = 'config';\n }\n\n $permissions = array_merge($permissions, $this->settings->get('permissions'));\n\n $this->permissions = new Permissions();\n $this->permissions->set($permissions);\n\n // Set flat that permission init is done\n self::$init_stages[$this->name]['perms'] = true;\n }\n }", "function create_folder_loop_decision($dir_path,$new_path){\n\n $folder_name = opendir($dir_path);\n\n while($f = readdir($folder_name)){\n $full = $dir_path . $f;\n if(is_dir($full)){\n if(($f!=\".\")&&($f!=\"..\")){\n $temp_new_path = $new_path . $f . \"/\";\n if(@mkdir($temp_new_path)){\n if(@chmod($temp_new_path, 0777)){\n create_folder_loop_decision($full . \"/\", $temp_new_path);\n }else{\n receive_message($_SESSION['toolkits_logon_username'], \"FILE_SYSTEM\", \"MAJOR\", \"Failed to set permissions on folder\", \"Failed to set correct rights on \" . $temp_new_path);\n return false;\n }\n }else{\n receive_message($_SESSION['toolkits_logon_username'], \"FILE_SYSTEM\", \"CRITICIAL\", \"Failed to create folder\", \"Failed to create folder \" . $temp_new_path);\n return false;\n }\n }\n }else{\n $file_dest_path = $new_path . $f;\n if(@copy($full, $file_dest_path)){\n if(!@chmod($file_dest_path, 0777)){\n receive_message($_SESSION['toolkits_logon_username'], \"FILE_SYSTEM\", \"CRITICAL\", \"Failed to copy file\", \"Failed to set rights on file \" . $full . \" \" . $file_dest_path);\n return false;\n }\n }else{\n receive_message($_SESSION['toolkits_logon_username'], \"FILE_SYSTEM\", \"MAJOR\", \"Failed to set rights on file\", \"Failed to copy file \" . $full . \" \" . $file_dest_path);\n return false;\n }\n }\n }\n closedir($folder_name);\n\n /*\n * loop level is used to check for the recusion to make sure it has worked ok. A failure in this is not critical but is used in error reporting\n */\n\n return true;\n}", "private function fillPermissions()\n {\n $smmPermissions = [\n 'smm.access', 'news.add', 'news.edit', 'news.delete'\n ];\n\n $moderatorPermissions = [\n 'moder.access', 'score.add', 'promocode.add', 'users.ban'\n ];\n\n $adminPermissions = [\n 'manager.access', 'users.roles'\n ];\n\n $this->permissionsList = [\n 'smm' => $smmPermissions,\n 'moderator' => $moderatorPermissions,\n 'admin' => $adminPermissions,\n\n 'full_permissions' => $this->fullPermissions\n ];\n }", "private function cambiar_modo() {\n\t\t$iterator = new RecursiveIteratorIterator( new RecursiveDirectoryIterator( \"./\" ) ); // todos los dirs y subsdirs..\n\t\tforeach($iterator as $item)\n\t\t\tif( ! preg_match('/^\\/[\\.]/', $item) ) // evita archivos empezando por un punto (.)\n \t\t\t@chmod($item, 0777); // cambia el modo recursivamente a todos los ficheros nuevos.\n\t}", "protected function applyPermissions()\n {\n $this->output->write('Updating file permissions...');\n\n foreach (['local', 'site', 'statamic', 'assets'] as $folder) {\n $dir = $this->directory . '/' . $folder;\n $iterator = new \\RecursiveIteratorIterator(new \\RecursiveDirectoryIterator($dir));\n\n foreach ($iterator as $item) {\n chmod($item, 0777);\n }\n }\n\n $this->output->writeln(\" <info>[✔]</info>\");\n\n return $this;\n }", "function CheckDirectoryTree () {\n \t\t\n \t\t// If the current directory isn't writable, return it.\n \t\tif (!is_writable (getcwd())) {\n \t\t\t$files[] = getcwd();\n \t\t\treturn ($files);\n \t\t} // if\n \t\t\n \t\t$code = getcwd() . \"/code\";\n \t\t$frameworks = getcwd() . \"/frameworks\";\n \t\t$themes = getcwd() . \"/themes\";\n \t\t\n \t\t$files = $this->ListDirectory ($code);\n \t\t$files = array_merge ($files, $this->ListDirectory ($frameworks));\n \t\t$files = array_merge ($files, $this->ListDirectory ($themes));\n \t\t\n \t\tforeach ($files as $f => $file) {\n \t\t\tif (is_writable ($file)) unset ($files[$f]);\n \t\t} // foreach\n \t\t\n \t\treturn ($files);\n \t}", "protected function prepareFolder()\n {\n if (!file_exists(Yii::$app->getModule('files')->cacheFullPath))\n mkdir(Yii::$app->getModule('files')->cacheFullPath);\n $lastFolder = '/';\n $explodes = explode('/', $this->fileName);\n array_pop($explodes);\n if (empty($explodes))\n return;\n foreach ($explodes as $folder) {\n if (empty($folder))\n continue;\n $lastFolder = $lastFolder . $folder . '/';\n if (!file_exists($lastFolder))\n mkdir($lastFolder);\n }\n }", "private function _mapFilesAndDirectories() {\n \n $iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($this->_dir),\n RecursiveIteratorIterator::CHILD_FIRST);\n foreach ($iterator as $path) {\n if ($path->isDir()) {\n // add to Directory array\n \n // don't pass any svn folders\n if(!strstr($path->__toString(), '.svn')){\n $this->_dirArray[] = $path->__toString();\n }\n \n } else {\n // add to File array\n $this->_OriginalFileArray[] = $path->__toString();\n }\n }\n \n \n // this is needed because of the order by which the directories\n // are mapped, children are higher than parents, which means that\n // children are never created\n $this->_dirArray = array_reverse($this->_dirArray);\n \n\n }", "function buildACL()\r\n {\r\n if (count($this->userRoles) > 0)\r\n {\r\n $this->perms = array_merge($this->perms,$this->getRolePerms($this->userRoles));\r\n }\r\n //then, get the individual user permissions\r\n $this->perms = array_merge($this->perms,$this->getUserPerms($this->user_id));\r\n }", "protected function setFolderPermissions($dir, &$res)\n {\n // Change the permissions on a path and output the results.\n $changePerms = function ($path, $perms, &$res)\n {\n // Get permission bits from stat(2) result.\n $currentPerms = fileperms($path) & 0777;\n if (($currentPerms & $perms) == $perms)\n {\n $gnarg = array();\n $gnarg['result'] = true;\n $gnarg['message'] = __d(\"simplicity\", 'Folder permissions already set for path').' '.$path;\n $res[] = $gnarg;\n return;\n }\n\n $changed = chmod($path, $currentPerms | $perms);\n if ($changed) \n {\n $gnarg = array();\n $gnarg['result'] = true;\n $gnarg['message'] = __d(\"simplicity\", 'Permissions set on').' '.$path;\n $res[] = $gnarg;\n } \n else \n {\n $gnarg = array();\n $gnarg['result'] = false;\n $gnarg['message'] = __d(\"simplicity\", 'Failed to set permissions on').' '.$path;\n $res[] = $gnarg;\n }\n };\n\n $walker = function ($dir, $perms, $res) use (&$walker, $changePerms) \n {\n $files = array_diff(scandir($dir), ['.', '..']);\n foreach ($files as $file)\n {\n $path = $dir . '/' . $file;\n\n if (!is_dir($path))\n {\n continue;\n }\n\n $changePerms($path, $perms, $res);\n $walker($path, $perms, $res);\n }\n };\n\n $worldWritable = bindec('0000000111');\n $walker($dir . '/tmp', $worldWritable, $res);\n $changePerms($dir . '/tmp', $worldWritable, $res);\n $changePerms($dir . '/logs', $worldWritable, $res);\n }", "function prepare()\r\n\t{\r\n\t\tforeach($this->children as $key => $child)\r\n\t\t{\r\n\t\t\t$this->children[$key]->prepare();\r\n\t\t} \r\n\t}", "public function buildACL() {\r\n if (count($this->userRoles) > 0) {\r\n $this->perms = array_merge($this->perms,$this->getRolePerms($this->userRoles));\r\n }\r\n //then, get the individual user permissions\r\n $this->perms = array_merge($this->perms,$this->getUserPerms($this->id));\r\n }", "public static function recursiveChmod($path, $mod = 0777)\n {\n $path = Normalize::diskFullPath($path);\n if (!self::exist($path)) {\n return;\n }\n\n $dir = new \\DirectoryIterator($path);\n foreach ($dir as $item) {\n // change chmod for folders and files\n if ($item->isDir() || $item->isFile()) {\n chmod($item->getPathname(), 0777);\n }\n // try to recursive chmod folders\n if ($item->isDir() && !$item->isDot()) {\n self::recursiveChmod($item->getPathname(), $mod);\n }\n }\n }", "function dirlist( $path, $include_hidden = true, $recursive = false ) {\n\t\tif ( $this->is_file( $path ) ) {\n\t\t\t$limit_file = basename( $path );\n\t\t\t$path = dirname( $path );\n\t\t} else {\n\t\t\t$limit_file = false;\n\t\t}\n\n\t\tif ( ! $this->is_dir( $path ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t$dir = @dir( $path );\n\t\tif ( ! $dir ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t$ret = [];\n\n\t\twhile ( false !== ( $entry = $dir->read() ) ) {\n\t\t\t$struc = [];\n\t\t\t$struc['name'] = $entry;\n\n\t\t\tif ( '.' == $struc['name'] || '..' == $struc['name'] ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif ( ! $include_hidden && '.' == $struc['name'][0] ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif ( $limit_file && $struc['name'] != $limit_file ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t$struc['perms'] = $this->gethchmod( $path . '/' . $entry );\n\t\t\t$struc['permsn'] = $this->getnumchmodfromh( $struc['perms'] );\n\t\t\t$struc['number'] = false;\n\t\t\t$struc['owner'] = $this->owner( $path . '/' . $entry );\n\t\t\t$struc['group'] = $this->group( $path . '/' . $entry );\n\t\t\t$struc['size'] = $this->size( $path . '/' . $entry );\n\t\t\t$struc['lastmodunix'] = $this->mtime( $path . '/' . $entry );\n\t\t\t$struc['lastmod'] = date( 'M j', $struc['lastmodunix'] );\n\t\t\t$struc['time'] = date( 'h:i:s', $struc['lastmodunix'] );\n\t\t\t$struc['type'] = $this->is_dir( $path . '/' . $entry ) ? 'd' : 'f';\n\n\t\t\tif ( 'd' == $struc['type'] ) {\n\t\t\t\tif ( $recursive ) {\n\t\t\t\t\t$struc['files'] = $this->dirlist( $path . '/' . $struc['name'], $include_hidden, $recursive );\n\t\t\t\t} else {\n\t\t\t\t\t$struc['files'] = [];\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t$ret[ $struc['name'] ] = $struc;\n\t\t}\n\t\t$dir->close();\n\t\tunset( $dir );\n\n\t\treturn $ret;\n\t}", "public function changePermissionsRecursively($path, $dirPermissions, $filePermissions);", "function Create_Directories() {\n global $CONF;\n $Dirs = [['int/ArchiveImages',1], // dir name, access control\n ['int/Contracts',1],\n ['int/Insurance',1],\n ['int/Invoices',1],\n ['int/LogFiles',1],\n ['int/OldStore',1],\n ['int/PAspecs',1],\n ['int/Store',1],\n ['int/Temp',0],\n ];\n $LinkedDirs = ['js','files','cache','images','festfiles'];\n foreach($Dirs as $D) {\n if (!file_exists(\"../\" . $D[0])) {\n \n mkdir(\"../\" . $D[0],0777,true);\n chmod(\"../\" . $D[0],0777);\n echo \"Creating \" . $D[0] . \"<br>\";\n }\n if ($D[1] && !file_exists(\"../\" . $D[0] . \"/.htaccess\")) file_put_contents(\"../\" . $D[0] . \"/.htaccess\",\"order deny,allow\\ndeny from all\");\n }\n foreach($LinkedDirs as $D) {\n if (!file_exists(\"../\" . $D)) mkdir(\"../\" . $D,0777,true);\n if (!file_exists($D)) symlink (\"../\" . $D, $D);\n }\n echo \"Directories Created<p>\";\n}", "public function setWritePermissions()\n {\n if( is_dir(ROOT . '/app/tmp') )\n {\n $this->out('Setting permissions on ROOT/app/tmp ...');\n $this->chMod(ROOT . '/app/tmp/');\n }\n\n if( is_dir(ROOT . '/app/webroot/media') )\n {\n $this->out('Setting permissions on ROOT/app/webroot/media ...');\n $this->chMod(ROOT . '/app/webroot/media/');\n }\n }", "function expandDirectories(\r\n\t$base_dir){\r\n\r\n\tglobal $set_tings;\r\n\t$directories = array();\r\n\tforeach(scandir($base_dir) as $file) {\r\n\t\tif($file == '.' || $file == '..') continue;\r\n\t\t$dir = $base_dir.DIRECTORY_SEPARATOR.$file;\r\n\t\tif(is_dir($dir)) {\r\n\t\t\t//get rid of the base_site\r\n\t\t\t$temp = str_replace($set_tings['base_site'],\"\",$dir);\r\n\t\t\t//don't include dirs starting with a .\r\n\t\t\tif($temp[0] != \".\"){\r\n\t\t\t\t$directories []= $temp;\r\n\t\t\t\t//merge with existing and recur to sub\r\n\t\t\t\t$directories = array_merge($directories, expandDirectories($dir));\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\treturn $directories;\r\n}" ]
[ "0.63266283", "0.62465066", "0.5935501", "0.585531", "0.5805183", "0.55994886", "0.5584927", "0.55703187", "0.55226165", "0.55138296", "0.5465719", "0.53443825", "0.53308386", "0.5329443", "0.5294102", "0.52422684", "0.52359384", "0.52092904", "0.5188766", "0.51827216", "0.5172639", "0.5151427", "0.5127068", "0.5109874", "0.51055086", "0.5101709", "0.5100982", "0.4979625", "0.49732533", "0.49239737" ]
0.68545437
0
Prepares the lists which contains information about invalid file permissions.
protected static function _prepareInvalidPermissions($excludeIgnoredPaths = false) { self::_prepareChmodLists($excludeIgnoredPaths); if(count(self::$writable) === 0 || count(self::$nonWritable) === 0) { self::$writable = array(); self::$nonWritable = array(); $configure = 'includes' . DIRECTORY_SEPARATOR . 'configure.php'; $configureOrg = 'includes' . DIRECTORY_SEPARATOR . 'configure.org.php'; // handle chmod.txt foreach(self::$chmodList as $item) { $path = DIR_FS_CATALOG . $item; // configure files files must be non writable if((self::_endWith($item, $configure) || self::_endWith($item, $configureOrg)) && is_writable($path) ) { self::$nonWritable[] = $path; } elseif(!self::_endWith($item, $configure) && !self::_endWith($item, $configureOrg) && (is_dir($path) || is_file($path)) && !is_writable($path) ) { self::$writable[] = $path; } } // handle chmod_all.txt foreach(self::$chmodRecursiveList as $item) { $path = DIR_FS_CATALOG . $item; if(!is_writable($path)) { self::$writable[] = $path; } } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected static function _prepareChmodList()\n\t{\n\t\tif(count(self::$chmodList) === 0)\n\t\t{\n\t\t\tself::$chmodList = array_map(array(__CLASS__, '_trimLeftSlash'),\n\t\t\t file(DIR_FS_CATALOG . 'version_info/lists/chmod.txt'));\n\t\t}\n\t}", "public static function checkNonWritableList(messageStack $messageStack)\n\t{\n\t\tself::_prepareInvalidPermissions(true);\n\n\t\tif(count(self::$nonWritable) > 0)\n\t\t{\n\t\t\t$message = '<br/>' . implode('<br/>', self::$nonWritable);\n\t\t\t$messageStack->add(TEXT_FILE_WARNING . '<b>' . $message . '</b>', 'error');\n\t\t}\n\t}", "public function dataInvalidFileNames()\n {\n return array(\n array(null),\n array(1),\n array(array(1,2,3)),\n array('')\n );\n }", "private function __construct() {\n $this->domains = $this->getListFromFile(\"forbiddenDomains.txt\");\n $this->emails = $this->getListFromFile(\"forbiddenEmails.txt\");\n $this->characters = $this->getListFromFile(\"forbiddenCharacters.txt\");\n }", "private function fillPermissions()\n {\n $smmPermissions = [\n 'smm.access', 'news.add', 'news.edit', 'news.delete'\n ];\n\n $moderatorPermissions = [\n 'moder.access', 'score.add', 'promocode.add', 'users.ban'\n ];\n\n $adminPermissions = [\n 'manager.access', 'users.roles'\n ];\n\n $this->permissionsList = [\n 'smm' => $smmPermissions,\n 'moderator' => $moderatorPermissions,\n 'admin' => $adminPermissions,\n\n 'full_permissions' => $this->fullPermissions\n ];\n }", "private function _check_permissions() {\n \n }", "private function assertPermissionsFilesToTest()\n {\n $failures = [];\n $perm = fileperms($this->getTestDir());\n $perm = sprintf('%o', $perm);\n $perm = (int) substr($perm, -3);\n if ($this->expectedDirPermissions !== $perm) {\n $failures[$this->getTestDir()] = [$perm, $this->expectedDirPermissions];\n }\n\n $perm = fileperms($this->getTestFile());\n $perm = sprintf('%o', $perm);\n $perm = (int) substr($perm, -3);\n if (644 !== $perm) {\n $failures[$this->getTestFile()] = [$perm, $this->expectedFilePermissions];\n }\n\n if (count($failures)) {\n $message = '';\n foreach ($failures as $item => $fail) {\n $message .= sprintf(\n \"\\nFailed test resource \\\"%s\\\" has permissions \\\"%d\\\", expected \\\"%d\\\".\",\n $item, $fail[0], $fail[1]\n );\n }\n\n throw new \\RuntimeException($message);\n }\n }", "public static function getPermissionsFiles() {\n\t\t$writableFilesAndFolders = self::$writableFilesAndFolders;\n\t\t$permissions = array();\n\t\trequire_once ('include/utils/VtlibUtils.php');\n\t\tforeach ($writableFilesAndFolders as $index => $value) {\n\t\t\t$permissions[$index]['permission'] = 'TruePermission';\n\t\t\t$permissions[$index]['path'] = $value;\n\t\t\tif (!vtlib_isWriteable($value)) {\n\t\t\t\t$permissions[$index]['permission'] = 'FailedPermission';\n\t\t\t}\n\t\t}\n\t\treturn $permissions;\n\t}", "function check_verzeichnis_rechte()\n\t{\n\t\t$verz_array = array(\"../styles\");\n\t\t$i=0;\n\t\tforeach ($verz_array as $file) {\n\t\t\tif ($this->checkpermission($file)) {\n\t\t\t\t$perm[$i]['perm'] = \"no\";\n\t\t\t\t$perm[$i]['file'] = $file;\n\t\t\t}\n\t\t\telse {\n\t\t\t\t$perm[$i]['perm'] = \"ja\";\n\t\t\t\t$perm[$i]['file'] = $file;\n\t\t\t}\n\t\t\t$i++;\n\t\t}\n\t\tIfNotSetNull($perm);\n\t\treturn $perm;\n\t}", "public static function dataInvalidArguments()\n {\n return array(\n \t[ new \\SplFileInfo(__FILE__), new \\stdClass() ],\n \t[ new \\stdClass(), new \\SplFileInfo(__FILE__) ],\n [ 'string', new \\SplFileInfo(__FILE__) ],\n [ 42, new \\SplFileInfo(__FILE__) ],\n [ __FILE__, new \\SplFileInfo(__FILE__) ],\n );\n }", "public function checkForFiles() {\n if (!$this->modx->getOption('allowFiles',$this->config,true)) {\n $fields = $this->dictionary->toArray();\n foreach ($fields as $key => $value) {\n if (is_array($value) && !empty($value['tmp_name'])) {\n $this->dictionary->remove($key);\n }\n }\n }\n }", "public static function checkWritableList(messageStack $messageStack)\n\t{\n\t\tself::_prepareInvalidPermissions(true);\n\n\t\tif(count(self::$writable) > 0)\n\t\t{\n\t\t\t$message = '<br/>' . implode('<br/>', self::$writable);\n\t\t\t$messageStack->add(TEXT_FOLDER_WARNING . '<b>' . $message . '</b>', 'error');\n\t\t}\n\t}", "public function checkFiles() {\n $iterator = new FilesystemIterator($this->recordPath, FilesystemIterator::SKIP_DOTS);\n $count = iterator_count($iterator);\n\n if (\n $count < 3\n ||\n !file_exists($this->transcriptionsPath)\n ||\n !file_exists($this->fileidsPath)\n ) {\n throw new Exception('User\\'s model directory doesn\\'t contain files for adaptation!');\n }\n }", "private function\tcheck_sanity() {\n\n\t\tif(!count($this->list)) {\n\t\t\tthrow new pattern_matcher_exception(\"matcher cannot be empty\");\n\t\t}\n/*\n\t\t//TODO: There's no need, actually, maybe we could just extend.\n\t\t$names=[];\n\t\tforeach($this->list as $k => $v) {\n\n\t\t\t$curname=$v->get_name();\n\t\t\tif(false!==array_search($curname, $names)) {\n\t\t\t\tthrow new pattern_matcher_exception(\"pattern names cannot be repeated in matcher ('$curname'\");\n\t\t\t}\n\t\t\t$names[]=$curname;\n\t\t}\n*/\n\t}", "protected function _prepare_restrictions ()\n {\n parent::_prepare_restrictions ();\n\n if (! $this->_returns_no_data ())\n {\n include_once ('webcore/db/query_security.php');\n $restriction = new QUERY_SECURITY_RESTRICTION ($this, $this->_user);\n $sql = $restriction->as_sql (array (Privilege_set_folder, Privilege_set_entry));\n if (! $sql)\n {\n $this->_set_returns_no_data ();\n }\n else\n {\n $this->_calculated_restrictions [] = $sql;\n }\n }\n }", "public function requiresFileList();", "public static function validatePermission()\n\t{\n\t\treturn array(\n\t\t\tnew Entity\\Validator\\Length(null, 1),\n\t\t);\n\t}", "private function validate()\n {\n // Now\n if (!is_array($this->fileContents[\"now\"])) {\n $this->fileContents[\"now\"] = array();\n }\n if (!is_array($this->fileContents[\"now\"][\"users\"])) {\n $this->fileContents[\"now\"][\"users\"] = array();\n }\n\n // Daily\n if (!is_array($this->fileContents[\"daily\"])) {\n $this->fileContents[\"daily\"] = array();\n }\n if (!is_int($this->fileContents[\"daily\"][\"day\"])) {\n $this->fileContents[\"daily\"][\"day\"] = intval(date(\"d\"));\n }\n if (!is_array($this->fileContents[\"daily\"][\"users\"])) {\n $this->fileContents[\"daily\"][\"users\"] = array();\n }\n\n // Total\n if (!is_array($this->fileContents[\"total\"])) {\n $this->fileContents[\"total\"] = array();\n }\n if (!is_int($this->fileContents[\"total\"][\"count\"])) {\n $this->fileContents[\"total\"][\"count\"] = 0;\n }\n }", "private static function fillSystemPermissions(): void\n {\n $map = RoleUtil::preparedRoleMap();\n\n $query = [];\n try {\n $oldRolesList = RoleTable::getList(['select' => ['ID', 'XML_ID']])->fetchAll();\n $xmlIds = array_flip(array_column($oldRolesList, 'XML_ID'));\n foreach ($map as $roleKey => $permissions) {\n $roleName = RoleUtil::getLocalizedName($roleKey);\n\n $roleId = isset($xmlIds[$roleKey])\n ? $oldRolesList[$xmlIds[$roleKey]]['ID']\n : (new RolePermissionService())->saveRole($roleName);\n\n $query = array_merge($query, RoleUtil::buildInsertPermissionQuery($permissions, $roleId));\n }\n\n RoleUtil::insertPermissions($query);\n } catch (\\Exception $e) {\n }\n }", "public function isPermissions(): void\n {\n foreach ($this->subjects as [$value, $exception]) {\n if (! is_array($value)) {\n throw $exception;\n }\n\n if ([] === $value) {\n throw $exception;\n }\n\n foreach ($value as $permission) {\n if (! isset($permission['permission_name'])) {\n throw $exception;\n }\n\n if (! isset($permission['resource_server_identifier'])) {\n throw $exception;\n }\n }\n }\n }", "public function checkVulnerableFiles()\n {\n if ($this->getHelper()->checkVulnerableFilesExists()) {\n /** @var Mage_AdminNotification_Model_Inbox $notification */\n $notification = Mage::getModel('adminnotification/inbox');\n\n $notification->addCritical(\n Mage::helper('uecommerce_securityredirect')->__(\n \"Attention! Your installation has vulnerable files! \n Please install PATCH SUPEE-8788 immediately\n for your Magento to fix this critical security issue!\"\n ),\n Mage::helper('uecommerce_securityredirect')->__(\n \"Please install PATCH SUPEE-8788 immediately for your Magento \n to fix this critical security issue!\"\n ),\n 'https://magento.com/tech-resources/download'\n );\n }\n }", "protected function initPermissions()\n {\n if (isset($this->settings) && $this->settings->exists('permissions') && !self::$init_stages[$this->name]['permissions']) {\n\n $permissions = [\n 'admin'\n ];\n\n if ($this->settings->exists('config')) {\n $permissions[] = 'config';\n }\n\n $permissions = array_merge($permissions, $this->settings->get('permissions'));\n\n $this->permissions = new Permissions();\n $this->permissions->set($permissions);\n\n // Set flat that permission init is done\n self::$init_stages[$this->name]['perms'] = true;\n }\n }", "public function validateFileStructure() {\n\n\t\t// if home directory is not defined, create this one now.\n\t\tif (!is_dir($this->settings['documentsCache'])) {\n\t\t\t// @todo: check whether a set up action would be preferable\n\t\t\t//throw new Exception('Exception thrown #1294746784: temp directory does not exist \"' . $this->settings['documentsCache'] . '\". Run command setUp', 1294746784);\n\t\t\ttry {\n\t\t\t\tt3lib_div::mkdir($this->settings['documentsCache']);\n\t\t\t} catch (Exception $e) {\n\t\t\t\tTx_TerDoc_Utility_Cli::log($e->getMessage());\n\t\t\t}\n\t\t}\n\n\t\t// Check if configuration is valid ...and throw error if that is not the case\n\t\tif (!is_dir($this->settings['repositoryDir'])) {\n\t\t\tthrow new Exception('Exception thrown #1294657643: directory does not exist \"' . $this->settings['repositoryDir'] . '\". Make sure key \"repositoryDir\" is properly defined.', 1294657643);\n\t\t}\n\t}", "public function alterValid(Form $form, &$isValid)\n {\n $result = [];\n if ($isValid) {\n $file = $form->getData('file');\n if (!$file) {\n $isValid = false;\n\n $result['file'] = __('File is missing.');\n }\n\n $values = $form->getFieldValues(false);\n if (!$values) {\n $isValid = false;\n\n $result['fields'] = __('Nothing was submitted');\n }\n\n if ($file->user) {\n if (($user = Auth::user()) && $user->id !== $file->user->id) {\n $isValid = false;\n $result['mode'] = __('Please log in as the owner of this file to perform this action.');\n\n return $result;\n }\n }\n\n if ($values['mode'] & File::MODE_HASH) {\n if (!self::validateHashModeColumns($values)) {\n $isValid = false;\n $result['static_columns'] = __('You did not select a plaintext column to hash.');\n }\n }\n\n if ($values['mode'] & (File::MODE_LIST_CREATE | File::MODE_LIST_APPEND | File::MODE_LIST_REPLACE)) {\n if (!self::validateListModeColumns($values)) {\n $isValid = false;\n $result['static_columns'] = __('You need a :critical column to be used for suppression.',\n ['critical' => $this->criticalColumnTypes()]);\n }\n }\n\n if ($values['mode'] & File::MODE_LIST_APPEND) {\n if (empty($values['suppression_list_append'])) {\n $isValid = false;\n $result['suppression_list_append'] = __('You must specify a suppression list to append.');\n } elseif (!$file->user->suppressionLists->where('id',\n (int) $values['suppression_list_append'])->count()) {\n $result['suppression_list_append'] = __('You do not have permission to append to this suppression list.');\n }\n }\n\n if ($values['mode'] & File::MODE_LIST_REPLACE) {\n if (empty($values['suppression_list_replace'])) {\n $isValid = false;\n $result['suppression_list_replace'] = __('You must specify a suppression list to replace.');\n } elseif (!$file->user->suppressionLists->where('id',\n (int) $values['suppression_list_replace'])->count()) {\n $result['suppression_list_append'] = __('You do not have permission to replace to this suppression list.');\n }\n }\n\n if ($values['mode'] & File::MODE_SCRUB) {\n if (!self::validateScrubModeColumns($values)) {\n $isValid = false;\n $result['static_columns'] = __('You need a :critical column to be used for scrubbing.',\n ['critical' => $this->criticalColumnTypes()]);\n } else {\n $this->validateScrubModeSupports($isValid, $values, $file, $result);\n }\n }\n }\n\n return $result;\n }", "public function validateRuntime()\n {\n /// check /temp and /perm for read-write permission\n /// check /temp and /perm have enough space for a build\n }", "protected function getValidFiles()\n {\n\n // Use the home directory of the current user as file source\n if ($this->objElement->useHomeDir && FE_USER_LOGGED_IN)\n {\n $objUser = \\FrontendUser::getInstance();\n\n if ($objUser->assignDir && $objUser->homeDir)\n {\n $this->objElement->multiSRC = array($objUser->homeDir);\n }\n }\n else\n {\n $this->objElement->multiSRC = deserialize($this->objElement->multiSRC);\n }\n\n // Return if there are no files\n if (!is_array($this->objElement->multiSRC) || empty($this->objElement->multiSRC))\n {\n return;\n }\n\n // Get the file entries from the database\n $objFiles = \\FilesModel::findMultipleByUuids($this->objElement->multiSRC);\n\n $files = array();\n\n $allowedDownload = trimsplit(',', strtolower(\\Config::get('allowedDownload')));\n\n // Get all files\n while ($objFiles->next())\n {\n // Continue if the files has been processed or does not exist\n if (isset($files[$objFiles->path]) || !file_exists(TL_ROOT . '/' . $objFiles->path))\n {\n continue;\n }\n\n // Single files\n if ($objFiles->type == 'file')\n {\n $objFile = new \\File($objFiles->path, true);\n\n if (!in_array($objFile->extension, $allowedDownload) || preg_match('/^meta(_[a-z]{2})?\\.txt$/', $objFile->basename))\n {\n continue;\n }\n\n // Add the file\n $files[$objFiles->path] = array\n (\n 'id' => $objFiles->id,\n );\n $this->arrValidFileIDS[] = $objFiles->id;\n }\n\n // Folders\n else\n {\n $objSubfiles = \\FilesModel::findByPid($objFiles->uuid);\n\n if ($objSubfiles === null)\n {\n continue;\n }\n\n while ($objSubfiles->next())\n {\n // Skip subfolders\n if ($objSubfiles->type == 'folder')\n {\n continue;\n }\n\n $objFile = new \\File($objSubfiles->path, true);\n\n if (!in_array($objFile->extension, $allowedDownload) || preg_match('/^meta(_[a-z]{2})?\\.txt$/', $objFile->basename))\n {\n continue;\n }\n\n\n // Add the image\n $files[$objSubfiles->path] = array\n (\n 'id' => $objSubfiles->id,\n );\n $this->arrValidFileIDS[] = $objSubfiles->id;\n\n }\n }\n }\n }", "static protected function validateFiles()\n\t{\n\n\t\tself::log(PHP_EOL.'validateFiles():');\n\n\t\tforeach (self::$_files as $k => $file) {\n\n\t\t\t$key =& self::$_files[$k];\n\n\t\t\tif (self::isAllowedExt($file['path']) === false) {\n\n\t\t\t\tunset($key);\n\n\t\t\t\t$file = basename($file['path']);\n\t\t\t\t$msg = 'Skipping %s due to invalid file.';\n\t\t\t\t$msg = sprintf($msg, $file);\n\n\t\t\t\tthrow new Exception($msg);\n\n\t\t\t} else {\n\n\t\t\t\t$key['ext'] = self::getExt($file['path']);\n\n\t\t\t\t$regexp = '/((http|ftp|https):\\/\\/[\\w\\-_]+\n\t\t\t\t\t\t(\\.[\\w\\-_]+)+([\\w\\-\\.,@?^=%&amp;:\n\t\t\t\t\t\t\\/~\\+#]*[\\w\\-\\@?^=%&amp;\\/~\\+#])?)/siU';\n\n\t\t\t\t$regexp = preg_replace('/\\s+/', '', $regexp);\n\n\t\t\t\tif (preg_match($regexp, $file['path'], $match) !== 0) {\n\n\t\t\t\t\t$srcPath = $file['path'];\n\t\t\t\t\t$cachePath = self::$_cacheDir.md5($file['path']);\n\n\t\t\t\t\tif (file_exists($cachePath) === true) {\n\n\t\t\t\t\t\t$key['data'] = file_get_contents($cachePath);\n\t\t\t\t\t\t$key['path'] = $cachePath;\n\t\t\t\t\t\t$key['hash'] = hash(self::$_opt['algorithm'], $key['data']);\n\t\t\t\t\t\tself::log('Cache : '.basename($file['path']), true, 1);\n\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\tself::$_downloadQueue[$k] = $srcPath;\n\t\t\t\t\t\tself::log('Download: '.basename($file['path']), true, 1);\n\n\t\t\t\t\t}\n\n\t\t\t\t} else {\n\n\t\t\t\t\tif (file_exists($file['path']) === true) {\n\n\t\t\t\t\t\t$key['data'] = file_get_contents($file['path']);\n\t\t\t\t\t\t$key['hash'] = hash(self::$_opt['algorithm'], $key['data']);\n\t\t\t\t\t\tself::log('Found : '.basename($file['path']), true, 1);\n\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\tunset($key);\n\t\t\t\t\t\tself::log('Invalid : '.basename($file['path']), true, 1);\n\n\t\t\t\t\t}\n\n\t\t\t\t}//end if\n\n\t\t\t}//end if\n\n\t\t}//end foreach\n\t\t\n\t}", "function filterOutFiles(){\n\t\t\t\t\t$tmpFileArr = array();\n\t\t\t\t\tforeach ($this->files as $curFile){\n\t\t\t\t\t\tarray_push($tmpFileArr,$curFile['fpath'].$curFile['fname']);\n\t\t\t\t\t}\n\t\t\t\t\tforeach ($this->filesFS as $curFile){\n\t\t\t\t\t\tif (!in_array($curFile,$tmpFileArr)){\n\t\t\t\t\t\t\tarray_push($this->missingFilesDB,$curFile);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}", "public function checkPermission()\n\t{\n\n\t\tif ($this->User->isAdmin)\n\t\t{\n\t\t\treturn;\n\t\t}\n\n\t\t// Set root IDs\n\t\tif (!is_array($this->User->downloadarchives) || empty($this->User->downloadarchives))\n\t\t{\n\t\t\t$root = array(0);\n\t\t}\n\t\telse\n\t\t{\n\t\t\t$root = $this->User->downloadarchives;\n\t\t}\n\n\t\t$GLOBALS['TL_DCA']['tl_downloadarchiv']['list']['sorting']['root'] = $root;\n\n\t\t\n\t\t// Check permissions to add downloadarchives\n\t\tif (!$this->User->hasAccess('create', 'downloadarchivep'))\n\t\t{\n\t\t\t$GLOBALS['TL_DCA']['tl_downloadarchiv']['config']['closed'] = true;\n\t\t}\n\n\t\t// Check current action\n\t\tswitch ($this->Input->get('act'))\n\t\t{\n\t\t\tcase 'create':\n\t\t\tcase 'select':\n\t\t\t\t// Allow\n\t\t\t\tbreak;\n\n\t\t\tcase 'edit':\n\t\t\t\t// Dynamically add the record to the user profile\n\t\t\t\tif (!in_array($this->Input->get('id'), $root))\n\t\t\t\t{\n\t\t\t\t\t$arrNew = $this->Session->get('new_records');\n\n\t\t\t\t\tif (is_array($arrNew['tl_downloadarchiv']) && in_array($this->Input->get('id'), $arrNew['tl_downloadarchiv']))\n\t\t\t\t\t{\n\t\t\t\t\t\t\n\t\t\t\t\t\t// Add permissions on user level\n\t\t\t\t\t\tif ($this->User->inherit == 'custom' || !$this->User->groups[0])\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t$objUser = $this->Database->prepare(\"SELECT downloadarchives, downloadarchivep FROM tl_user WHERE id=?\")\n\t\t\t\t\t\t\t\t\t\t\t\t\t ->limit(1)\n\t\t\t\t\t\t\t\t\t\t\t\t\t ->execute($this->User->id);\n\n\t\t\t\t\t\t\t$arrDownloadarchivep = deserialize($objUser->downloadarchivep);\n\n\t\t\t\t\t\t\tif (is_array($arrDownloadarchivep) && in_array('create', $arrDownloadarchivep))\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t$arrdownloadarchives = deserialize($objUser->downloadarchives);\n\t\t\t\t\t\t\t\t$arrdownloadarchives[] = $this->Input->get('id');\n\n\t\t\t\t\t\t\t\t$this->Database->prepare(\"UPDATE tl_user SET downloadarchives=? WHERE id=?\")\n\t\t\t\t\t\t\t\t\t\t\t ->execute(serialize($arrdownloadarchives), $this->User->id);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Add permissions on group level\n\t\t\t\t\t\telseif ($this->User->groups[0] > 0)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t$objGroup = $this->Database->prepare(\"SELECT downloadarchives, downloadarchivep FROM tl_user_group WHERE id=?\")\n\t\t\t\t\t\t\t\t\t\t\t\t\t ->limit(1)\n\t\t\t\t\t\t\t\t\t\t\t\t\t ->execute($this->User->groups[0]);\n\n\t\t\t\t\t\t\t$arrDownloadarchivep = deserialize($objGroup->downloadarchivep);\n\n\t\t\t\t\t\t\tif (is_array($arrDownloadarchivep) && in_array('create', $arrDownloadarchivep))\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t$arrdownloadarchives = deserialize($objGroup->downloadarchives);\n\t\t\t\t\t\t\t\t$arrdownloadarchives[] = $this->Input->get('id');\n\n\t\t\t\t\t\t\t\t$this->Database->prepare(\"UPDATE tl_user_group SET downloadarchives=? WHERE id=?\")\n\t\t\t\t\t\t\t\t\t\t\t ->execute(serialize($arrdownloadarchives), $this->User->groups[0]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Add new element to the user object\n\t\t\t\t\t\t$root[] = $this->Input->get('id');\n\t\t\t\t\t\t$this->User->downloadarchives = $root;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// No break;\n\n\t\t\tcase 'copy':\n\t\t\tcase 'delete':\n\t\t\tcase 'show':\n\t\t\t\tif (!in_array($this->Input->get('id'), $root) || ($this->Input->get('act') == 'delete' && !$this->User->hasAccess('delete', 'downloadarchivep')))\n\t\t\t\t{\n\t\t\t\t\t$this->log('Not enough permissions to '.$this->Input->get('act').' calendar ID \"'.$this->Input->get('id').'\"', 'tl_downloadarchiv checkPermission', TL_ERROR);\n\t\t\t\t\t$this->redirect('contao/main.php?act=error');\n\t\t\t\t}\n\t\t\t\tbreak;\n\n\t\t\tcase 'editAll':\n\t\t\tcase 'deleteAll':\n\t\t\tcase 'overrideAll':\n\t\t\t\t$session = $this->Session->getData();\n\t\t\t\tif ($this->Input->get('act') == 'deleteAll' && !$this->User->hasAccess('delete', 'downloadarchivep'))\n\t\t\t\t{\n\t\t\t\t\t$session['CURRENT']['IDS'] = array();\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\t$session['CURRENT']['IDS'] = array_intersect($session['CURRENT']['IDS'], $root);\n\t\t\t\t}\n\t\t\t\t$this->Session->setData($session);\n\t\t\t\tbreak;\n\n\t\t\tdefault:\n\t\t\t\tif (strlen($this->Input->get('act')))\n\t\t\t\t{\n\t\t\t\t\t$this->log('Not enough permissions to '.$this->Input->get('act').' downloadarchives', 'tl_downloadarchiv checkPermission', TL_ERROR);\n\t\t\t\t\t$this->redirect('contao/main.php?act=error');\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t}\n\t}", "private function createPermissions()\n {\n foreach ($this->permissionsList as $key => $permissions) {\n foreach ($permissions as $value) {\n Permission::create(['name' => $value]);\n }\n }\n }" ]
[ "0.6753965", "0.5722315", "0.5551467", "0.54632336", "0.5453061", "0.5402711", "0.5374395", "0.53455615", "0.5294602", "0.526357", "0.5211249", "0.5150948", "0.514532", "0.5063902", "0.50579023", "0.5041544", "0.50238824", "0.5009081", "0.49917904", "0.49887002", "0.49867022", "0.496889", "0.49653745", "0.49574095", "0.49526897", "0.4937708", "0.4933953", "0.49293458", "0.49242985", "0.4920628" ]
0.6280843
1
Create the panorama (the tiles creation with krpano)
public function createTiles($removeXML = true) { //Check hfov if($this->error == false) { //Load configuration for pano creation and viewer (default options or gallery configuration) if(!(isset($this->hfov)) || $this->hfov == '' || (int)$this->hfov == 0) { $this->errmsg = 'Horizontal FOV not OK : ' . $this->hfov; $this->error = true; } } //Check all files for generation if($this->error == false) { //TOOLS //check to see if kmakemultires if(!file_exists(trailingslashit($this->kmakemultiresFolderPath) . $this->kmakemultiresFile)) { $this->errmsg = 'Krpanotool - ' . $this->kmakemultiresFile .' file not found in ' . $this->kmakemultiresFolder; $this->error = true; } //check to see if file is executable elseif(!is_executable (trailingslashit($this->kmakemultiresFolderPath) . $this->kmakemultiresFile)) { $this->errmsg = 'Krpanotool - ' . $this->kmakemultiresFile .' not executable'; $this->error = true; } //check to see if krpanotool config file exists elseif(!file_exists($this->toolConfigFilePath)) { $this->errmsg = 'Krpanotool - Config File '. $this->toolConfigFile . ' not found'; $this->error = true; } //check to see if krpanotool XML config file exists elseif(!file_exists($this->kmakemultiresXMLConfigPath)) { $this->errmsg = 'Krpanotool - XML Config File '. $this->kmakemultiresXMLConfig . ' not found'; $this->error = true; } } if($this->error == false) { //Manage Folders $this->manageFolders(false); if($this->imageInputPath =="" ) { $this->errmsg = 'Image not found for id : ' . $this->pid; $this->error = true; } else { //Generate and execute command $command = $this->generateCommand(); exec($command, $output, $return); if ($return !== 0) { $this->errmsg = 'Progam did not finished correctly ! (output : '.implode("\n", $output); $this->error = true; //throw new Exception("Progam did not finished correctly ! (output : ".implode("\n", $output)); } //Store config in database $this->is_partial = ($this->hfov == 360) ? 0 : 1; // Check pano is partial - force assuming that the input is a partial sphere (hfov setting needed!) $this->xml_configuration = file_get_contents($this->xmlKrpanoPath); //$this->xml_configuration = str_replace('url="', 'url="'.$this->panoFolder.'/', $this->xml_configuration); if($removeXML) unlink($this->xmlKrpanoPath); $this->save(); //DEBUG //echo $command; } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function actionCreate()\n\t{\n $onePanoramaPic = 4;//一份全景图片数。\n if(isset($_POST['panoramapic'])&&count($_POST['panoramapic'])>0&&count($_POST['panoramapic'])%$onePanoramaPic==0){\n //先把所有图片后面的缩略图标记去除\n $panoramapic = array();\n foreach($_POST['panoramapic'] as $value){\n $tmp = str_replace(Subpanorama::$standard[1]['suffix'], \"\", $value);\n $panoramapic[] = str_replace(PIC_URL, \"\", $tmp);\n }\n //可以保存\n $subPanoramaNum = intval(count($panoramapic)/$onePanoramaPic);//要保存的全景份数\n for($i=0;$i<$subPanoramaNum;$i++){\n $spn_fisheyephoto = array_slice($panoramapic, $i*4, $onePanoramaPic);//每一份全景中的图片\n $model = new Subpanorama();\n $model->spn_fisheyephoto = serialize($spn_fisheyephoto);\n $model->spn_sourceid = $_POST['sourceid'];\n $model->spn_sourcetype = $_POST['type'];\n isset($_POST['panoramaname'][$i])?$model->spn_panoramaname = trim($_POST['panoramaname'][$i]):\"\";\n $model->spn_releasetime = time();\n $model->save();\n header(\"Location:\".$_SERVER['HTTP_REFERER']);\n }\n }else{\n echo \"error\";\n }\n\t}", "private function generatePane() {\n\n\t\t$this->paneIm = imagecreatetruecolor($this->paneWidth, $this->paneHeight);\n\t\t$this->paneColors['white'] = imagecolorallocate($this->paneIm, 255, 255, 255);\n\t\t$this->paneColors['black'] = imagecolorallocate($this->paneIm, 0, 0, 0);\n\t\t$this->paneColors['internal'] = imagecolorallocate($this->paneIm, 252, 252, 254);\n\t\t$this->paneColors['gray'] = imagecolorallocate($this->paneIm, 110, 116, 118);\n\t\t$this->paneColors['l_gray'] = imagecolorallocate($this->paneIm, 212, 220, 222);\n\t\t$this->paneColors['d_gray'] = imagecolorallocate($this->paneIm, 188, 189, 193);\n\n\t\timagefilledrectangle($this->paneIm, 2, 2, ($this->paneWidth - 3), ($this->paneHeight - 3), ($this->borderColor == 'white')?$this->paneColors['white']:$this->paneColors['d_gray']);\n\t}", "public function __construct($panorama)\n {\n $this->panorama = $panorama;\n }", "function startMap(){\n\t\t?>\n\t\tthis.layers = [];\n\t\tthis.tileset_name\t\t \t\t= \"res/tilesets/Testset.png\";\n\t\tthis.tileset_grid_size \t\t= 32;\n\t\tthis.tileset_zoom_factor = 1.0;\n\t\tthis.tileset_row_width \t\t= 8;\n\t\tthis.tileset_passable \t\t= [[0,0,0,0],\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[1,1,1,1],[0,0,0,0],[0,0,0,0],\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[1,1,1,1],[1,1,1,1],[1,1,1,1],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[1,1,1,1],[1,1,1,1],[1,1,1,1],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[1,1,1,1],[1,1,1,1],[1,1,1,1],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[0,0,0,0],[0,0,0,0]];\n\t\t\n\t\tthis.map_width \t\t\t\t\t= 21*this.tileset_zoom_factor*this.tileset_grid_size;\n\t\tthis.map_height \t\t\t\t= 21*this.tileset_zoom_factor*this.tileset_grid_size;\n\t\t\n\t\tthis.layers[0] = [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\n\t\t\t\t\t\t\t\t\t [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\n\t\t\t\t\t\t\t\t\t [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\n\t\t\t\t\t\t\t\t\t [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\n\t\t\t\t\t\t\t\t\t [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\n\t\t\t\t\t\t\t\t\t [39,39,39,39,39,39,39,40,9,9,9,38,39,39,39,39,9,9,9,9,9],\n\t\t\t\t\t\t\t\t\t [39,39,39,39,39,39,39,40,9,9,9,38,39,39,39,39,9,9,9,9,9],\n\t\t\t\t\t\t\t\t\t [39,39,39,39,39,39,39,40,9,9,9,38,39,39,39,39,9,9,9,9,9],\n\t\t\t\t\t\t\t\t\t [39,39,39,39,39,53,47,48,9,9,9,38,39,39,39,39,9,9,9,9,9],\n\t\t\t\t\t\t\t\t\t [39,39,39,39,39,40, 9, 9,9,9,9,38,39,39,39,39,9,9,9,9,9],\n\t\t\t\t\t\t\t\t\t [47,47,47,47,47,48, 9, 9,9,9,9,38,39,39,39,39,9,9,9,9,9],\n\t\t\t\t\t\t\t\t\t [9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9],\n\t\t\t\t\t\t\t\t\t [9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9],\n\t\t\t\t\t\t\t\t\t [9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9],\n\t\t\t\t\t\t\t\t\t [9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9],\n\t\t\t\t\t\t\t\t\t [9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9],\n\t\t\t\t\t\t\t\t\t [9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9],\n\t\t\t\t\t\t\t\t\t [9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9],\n\t\t\t\t\t\t\t\t\t [9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9]];\n\t\t\n\t\tthis.layers[1] = [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\n\t\t\t\t\t\t\t\t\t [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\n\t\t\t\t\t\t\t\t\t [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\n\t\t\t\t\t\t\t\t\t [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\n\t\t\t\t\t\t\t\t\t [49,50,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\n\t\t\t\t\t\t\t\t\t [57,58,59,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\n\t\t\t\t\t\t\t\t\t [65,66,67,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,7,0,0],\n\t\t\t\t\t\t\t\t\t [0,7,0,6,6,0,0,0,0,0,0,0,0,0,0,6,0,0,0,0,6]];\n\t\t\n\t\tthis.layers[2] = [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\n\t\t\t\t\t\t\t\t\t [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\n\t\t\t\t\t\t\t\t\t [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\n\t\t\t\t\t\t\t\t\t [41,42,43,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\n\t\t\t\t\t\t\t\t\t [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\n\t\t\t\t\t\t\t\t\t [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\n\t\t\t\t\t\t\t\t\t [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\n\t\t\t\t\t\t\t\t\t [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]];\n\t\t\n\t\t<?php\n\t\t// Events and characters:\n\t\taddChara(\"player\", \"res/chara/Poyo_chara.png\", 230, 230, 1);\n\t\taddChara(\"old\", \"res/chara/OldPoyo_chara.png\", 330, 270, 1);\n\t\t\n\t\t//addEvent(\"talk_old\", \"keynewpress_13\", '[[\"move\",-1, \"turn\", [\"towards_chara\", \"player\"], 1], [\"speak\", \"old_speech\", [\"[s=12]Hallo, ich bins, der alte Poyo.[/s]\",\"[s=12]Ich hoffe du erinnerst dich noch an mich.[/s]\"]], [\"choice\",\"old_speech\",\"[s=12]Erinnerst du dich?[/s]\"]]', '[[[ \"distance\", -1, \"player\", function(d){ return d < 46;}], [\"facing_towards\", \"player\", -1]]]', \"old\");\n\t\taddEvent(\"talk_old\", \"keynewpress_13\", '[[\"move\",-1, \"turn\", [\"towards_chara\", \"player\"], 1], '.speakEffect('old', '[\"[s=12]Hallo, ich bins, der alte Poyo.[/s]\",\"[s=12]Ich hoffe du erinnerst dich noch an mich.[/s]\"]').', '.choiceEffect('old', '[s=12]Erinnerst du dich?[/s]', '[\"[s=12]ja\",\"[s=12]nein\"]').', [\"map_variable\", \"frozen\", function(){ return false;}]]', '[[[ \"distance\", -1, \"player\", function(d){ return d < 46;}], [\"facing_towards\", \"player\", -1]]]', \"old\");\n\t\t\n\t\t// scrolling\n\t\taddEvent(\"player_scrolling\", \"auto\", '[[\"scroll\", function(sx, e){ return 320-e.get_chara().x-e.get_chara().get_width()/2; }, function(sy, e){ return 240-e.get_chara().y-e.get_chara().get_height()/2; }]]', '[]', \"player\", \"true\");\n\t\t\n\t\t// player walking\n\t\taddEvent(\"player_move_left\", \"keypress_37\", '[[\"player_move\", \"player\", \"walk\", [0,3,\"inf\"], 1, true]]', ' [[[\"chara_variable\",\"player\",\"walking\",function(v){ return v != true; }], [\"map_variable\",\"frozen\",function(v){ return v != true; }]]]', \"player\", \"true\");\n\t\taddEvent(\"player_stop_left\", \"keyrelease_37\", '[[\"player_move\", \"player\", \"stand\", [], 1, false]]', '[[[\"facing\",\"player\",3]]]', \"player\", \"true\");\n\t\taddEvent(\"player_move_up\", \"keypress_38\", '[[\"player_move\", \"player\", \"walk\", [0,0,\"inf\"], 1, true]]', ' [[[\"chara_variable\",\"player\",\"walking\",function(v){ return v != true; }], [\"map_variable\",\"frozen\",function(v){ return v != true; }]]]', \"player\", \"true\");\n\t\taddEvent(\"player_stop_up\", \"keyrelease_38\", '[[\"player_move\", \"player\", \"stand\", [], 1, false]]', '[[[\"facing\",\"player\",0]]]', \"player\", \"true\");\n\t\taddEvent(\"player_move_right\", \"keypress_39\", '[[\"player_move\", \"player\", \"walk\", [0,1,\"inf\"], 1, true]]', ' [[[\"chara_variable\",\"player\",\"walking\",function(v){ return v != true; }], [\"map_variable\",\"frozen\",function(v){ return v != true; }]]]', \"player\", \"true\");\n\t\taddEvent(\"player_stop_right\", \"keyrelease_39\", '[[\"player_move\", \"player\", \"stand\", [], 1, false]]', '[[[\"facing\",\"player\",1]]]', \"player\", \"true\");\n\t\taddEvent(\"player_move_down\", \"keypress_40\", '[[\"player_move\", \"player\", \"walk\", [0,2,\"inf\"], 1, true]]', ' [[[\"chara_variable\",\"player\",\"walking\",function(v){ return v != true; }], [\"map_variable\",\"frozen\",function(v){ return v != true; }]]]', \"player\", \"true\");\n\t\taddEvent(\"player_stop_down\", \"keyrelease_40\", '[[\"player_move\", \"player\", \"stand\", [], 1, false]]', '[[[\"facing\",\"player\",2]]]', \"player\", \"true\");\n\t\t\n\t\t// teleport to other map\n\t\taddEvent(\"tp\", \"keynewpress_50\", '[[\"change_map\",2]]');\n\t\t\n\t\taddEvent(\"save\", \"keynewpress_83\", '[[\"save_game\",1]]');\n\t\t\n\t\taddTriggerKey(13);\n\t\taddTriggerKey(37);\n\t\taddTriggerKey(38);\n\t\taddTriggerKey(39);\n\t\taddTriggerKey(40);\n\t\taddTriggerKey(50);\n\t\taddTriggerKey(83);\n\t}", "public function run()\n {\n $this->createNew('Unite Centrale','Ensemble constitutif d un ordinateur et de son châssis.','unite_centrale.jpg');\n $this->createNew('Souris','Dispositif de pointage qui se relie à l ordinateur','souris.jpg');\n $this->createNew('Clavier','périphérique permettant d écrire du texte et communiquer avec l ordinateur','clavier.jpg');\n $this->createNew('Imprimante','Périphérique d ordinateur qui imprime sur papier des textes ou des éléments graphiques.','imprimante_bureau.jpg');\n $this->createNew('Onduleur','dispositif d électronique de puissance permettant de générer des tensions et des courants alternatifs à partir dune source d énergie électrique de tension ou de fréquence différente.','onduleur.jpg');\n $this->createNew('Telephone fix','systèmes téléphoniques dont la ligne terminale d abonné est située à un emplacement fixe','telephone_fix.jpg');\n $this->createNew('Switch','équipement ou appareil qui permet linterconnexion dappareils communicants, terminaux, ordinateurs, serveurs, périphériques reliés à un même réseau physique.','switch.jpg');\n $this->createNew('Ecrant TV','appareil affichant sur un écran des émissions de télévision.','ecrant_tv.jpg');\n $this->createNew('Antivirus','Logiciel capable de détecter les virus informatiques et de les éliminer','antivirus.jpg');\n $this->createNew('Barette memoire',' mémoire informatique dans laquelle un ordinateur place les données lors de leur traitement','barette_memoire.jpg');\n $this->createNew('Code barre','représentation d’une donnée numérique ou alphanumérique sous forme dun symbole constitué de barres et d’espaces dont l épaisseur varie en fonction de la symbologie utilisée et des données ainsi codées.','barette_memoire.jpg');\n $this->createNew('Routeur','équipement réseau informatique assurant le routage des paquets. Son rôle est de faire transiter des paquets dune interface réseau vers une autre, au mieux, selon un ensemble de règles.','routeur.jpg');\n $this->createNew('Bande de sauvegarde','automatiser la manipulation de bandes magnétiques lors des sauvegarde ou restauration de données.','bandesauv.jpg');\n $this->createNew('Camera ip','caméra de surveillance utilisant le Protocole Internet pour transmettre des images et des signaux de commande via une liaison Fast Ethernet. Certaines caméras IP sont reliées à un enregistreur vidéo numérique (DVR) ou un enregistreur vidéo en réseau (NVR) pour former un système de surveillance vidéo.','cam.jpg');\n $this->createNew('Module fribre optique','un module émetteur-récepteur optique compact et enfichable à chaud qui est largement utilisé pour toutes les applications de télécommunications et de transmission de données.','module.jpg');\n $this->createNew('Batterie laptop',' batterie rechargeable, intégrée à l’ordinateur portable.','batterie.jpg');\n $this->createNew('USB RS233',' ','rs233.jpg');\n $this->createNew('Multiprise','Prise de courant électrique permettant de relier plusieurs appareils.','multi.jpg');\n $this->createNew('Scanner','permet de transférer des documents sur papier vers des fichiers numériques.','scaner.jpg');\n }", "public function generate(){\n//\n// $im->setResolution(595,648);\n// $im->readimage('signed_Documents/MVRENTcroped.pdf[0]');\n// $im->setImageFormat('jpg');\n// $im->mergeImageLayers(Imagick::LAYERMETHOD_FLATTEN);\n// $im->setImageAlphaChannel(Imagick::ALPHACHANNEL_REMOVE);\n// $im->writeImage('thumb222.jpg');\n// $im->clear();\n// $im->destroy();\n }", "public function run()\n {\n Pastel::factory(15)->create();\n }", "protected function create_output() {\n\n\t\t// If a grid is created inside a story, make this into an figure class.\n\t\t$el = 'div';\n\t\tif ( is_single() || is_page() || is_archive() ) {\n\t\t\t$el = 'figure';\n\t\t}\n\n\t\tif ( class_exists( 'Leaflet_Map_Plugin_Extension' ) ) {\n\t\t\t$map_shortcode = $this->create_map_shortcode();\n\n\t\t\tif ( 'dots' === $this->input['map_style'] ) {\n\t\t\t\t$this->set_map_markers();\n\t\t\t} elseif ( 'network' === $this->input['map_style'] ) {\n\t\t\t\t$this->set_map_collaborations();\n\t\t\t}\n\t\t\t$this->set_caption();\n\n\t\t\t// Random string for via: http://stackoverflow.com/questions/4356289/php-random-string-generator#comment35061829_4356295\n\t\t\t$this->map_hash = substr(str_shuffle(MD5(microtime())), 0, 10);\n\n\t\t\t$this->set_attribute('data','map-hash', $this->map_hash );\n\n\t\t\t$this->output_tag_open( $el );\n\n\t\t\t$this->output .= apply_filters('the_content', $map_shortcode);\n\n\t\t\tif ( $this->use_shortcodes_for_objects ) {\n\t\t\t\t$this->embed_object_shortcodes();\n\t\t\t} else {\n\t\t\t\t$this->pass_json_as_var();\n\t\t\t\t$auto_draw = count( $this->map_polylines ) === 1 ? ' auto_draw=1' : '';\n\t\t\t\t$layers_shortcode = '[leaflet-layers map_hash=\"' . $this->map_hash . '\"' . $auto_draw . ']';\n\t\t\t\t$this->output .= apply_filters( 'the_content', $layers_shortcode );\n\t\t\t}\n\n\t\t\t// Add caption.\n\t\t\tif ( $this->has_caption ) {\n\t\t\t\t$this->output .= $this->caption->embed();\n\t\t\t}\n\n\t\t\t// Close map element.\n\t\t\t$this->output_tag_close( $el );\n\n\n\t\t} else {\n\t\t\t$this->output_tag_open( $el );\n\t\t\t$this->output .= '<span>Normally, we would see a map here!</span>';\n\t\t\t$this->output_tag_close( $el );\n\t\t}\n\t}", "public function run()\n {\n $parking = new App\\Photolocation;\n $parking->id_parking = 1;\n $parking->floor = 'G';\n $parking->canvas = 'font,1A - 10A,270,294|font,11A - 20A,693,299|rect,104,124,419,355,#0080ff,11|rect,559,125,406,356,#008000,11|';\n $parking->photo = '/storage/photoslocation/O8A6MAmvx2vPEqGweGKFP4wf71Om0juKnsgAKEp4.jpeg';\n $parking->save();\n\n $parking = new App\\Photolocation;\n $parking->id_parking = 1;\n $parking->floor = '1';\n $parking->canvas = 'font,1B - 9B,470,123|font,13B - 15B,80,455|font,10B - 12B,889,451|rect,5,4,1075,198,#ff0000,14|pen,795,253,795,253,795,254,795,255,795,256,791,257,784,258,770,261,756,262,731,264,705,265,685,265,650,265,626,265,608,265,588,265,568,267,551,268,536,268,514,268,501,266,484,264,469,264,459,264,455,263,451,263,449,263,446,263,445,263,444,263,443,263,#008080,14|pen,402,242,402,242,402,243,402,244,402,247,402,254,402,268,402,287,402,309,403,328,408,357,413,390,419,433,424,455,429,477,432,487,433,496,434,503,435,511,435,512,436,514,436,515,436,516,436,517,436,519,436,521,436,523,436,525,436,528,436,532,436,535,435,537,435,539,435,541,435,543,435,544,435,546,435,547,435,548,435,550,435,551,435,552,435,554,435,555,435,556,435,557,435,559,435,560,435,561,435,562,435,563,435,565,435,566,435,568,435,569,#008080,14|rect,13,316,243,270,#0080c0,14|rect,843,304,243,281,#ff0080,14|pen,521,387,521,387,521,390,523,390,526,390,539,388,567,380,601,365,615,359,647,345,663,338,675,331,687,324,705,316,720,308,729,302,735,298,741,294,743,292,745,290,746,289,747,289,748,288,748,290,748,297,744,304,727,330,702,366,679,401,656,431,610,486,587,511,565,534,557,540,533,556,519,564,514,568,509,571,504,574,500,577,500,578,499,578,498,579,497,579,498,578,501,576,509,568,515,562,524,554,539,542,551,532,563,524,568,521,571,519,575,517,581,513,585,510,589,507,592,504,598,501,602,498,607,493,614,485,623,475,626,472,627,470,630,467,631,466,637,460,646,449,651,442,654,439,655,438,656,438,656,437,656,436,655,435,648,434,640,435,624,442,609,451,596,459,585,467,566,481,551,490,542,497,529,507,520,512,516,517,513,519,512,520,510,522,509,522,509,521,509,516,512,505,517,495,528,477,535,465,542,453,549,442,559,426,562,421,564,418,566,416,567,415,#8080ff,14|';\n $parking->photo = '/storage/photoslocation/8qiZgqgCenCcSBfcFak0i3bflia0qmQpIai26Hz1.png';\n $parking->save();\n\n $parking = new App\\Photolocation;\n $parking->id_parking = 2;\n $parking->floor = '1';\n $parking->canvas = 'font,1A - 10A,270,294|font,11A - 20A,693,299|rect,104,124,419,355,#0080ff,11|rect,559,125,406,356,#008000,11|';\n $parking->photo = '/storage/photoslocation/O8A6MAmvx2vPEqGweGKFP4wf71Om0juKnsgAKEp4.jpeg';\n $parking->save();\n\n $parking = new App\\Photolocation;\n $parking->id_parking = 3;\n $parking->floor = '1';\n $parking->canvas = 'font,1B - 9B,470,123|font,13B - 15B,80,455|font,10B - 12B,889,451|rect,5,4,1075,198,#ff0000,14|pen,795,253,795,253,795,254,795,255,795,256,791,257,784,258,770,261,756,262,731,264,705,265,685,265,650,265,626,265,608,265,588,265,568,267,551,268,536,268,514,268,501,266,484,264,469,264,459,264,455,263,451,263,449,263,446,263,445,263,444,263,443,263,#008080,14|pen,402,242,402,242,402,243,402,244,402,247,402,254,402,268,402,287,402,309,403,328,408,357,413,390,419,433,424,455,429,477,432,487,433,496,434,503,435,511,435,512,436,514,436,515,436,516,436,517,436,519,436,521,436,523,436,525,436,528,436,532,436,535,435,537,435,539,435,541,435,543,435,544,435,546,435,547,435,548,435,550,435,551,435,552,435,554,435,555,435,556,435,557,435,559,435,560,435,561,435,562,435,563,435,565,435,566,435,568,435,569,#008080,14|rect,13,316,243,270,#0080c0,14|rect,843,304,243,281,#ff0080,14|pen,521,387,521,387,521,390,523,390,526,390,539,388,567,380,601,365,615,359,647,345,663,338,675,331,687,324,705,316,720,308,729,302,735,298,741,294,743,292,745,290,746,289,747,289,748,288,748,290,748,297,744,304,727,330,702,366,679,401,656,431,610,486,587,511,565,534,557,540,533,556,519,564,514,568,509,571,504,574,500,577,500,578,499,578,498,579,497,579,498,578,501,576,509,568,515,562,524,554,539,542,551,532,563,524,568,521,571,519,575,517,581,513,585,510,589,507,592,504,598,501,602,498,607,493,614,485,623,475,626,472,627,470,630,467,631,466,637,460,646,449,651,442,654,439,655,438,656,438,656,437,656,436,655,435,648,434,640,435,624,442,609,451,596,459,585,467,566,481,551,490,542,497,529,507,520,512,516,517,513,519,512,520,510,522,509,522,509,521,509,516,512,505,517,495,528,477,535,465,542,453,549,442,559,426,562,421,564,418,566,416,567,415,#8080ff,14|';\n $parking->photo = '/storage/photoslocation/8qiZgqgCenCcSBfcFak0i3bflia0qmQpIai26Hz1.png';\n $parking->save();\n\n $parking = new App\\Photolocation;\n $parking->id_parking = 4;\n $parking->floor = '1';\n $parking->canvas = 'font,1A - 10A,270,294|font,11A - 20A,693,299|rect,104,124,419,355,#0080ff,11|rect,559,125,406,356,#008000,11|';\n $parking->photo = '/storage/photoslocation/O8A6MAmvx2vPEqGweGKFP4wf71Om0juKnsgAKEp4.jpeg';\n $parking->save();\n\n $parking = new App\\Photolocation;\n $parking->id_parking = 5;\n $parking->floor = '1';\n $parking->canvas = 'font,1A - 10A,270,294|font,11A - 20A,693,299|rect,104,124,419,355,#0080ff,11|rect,559,125,406,356,#008000,11|';\n $parking->photo = '/storage/photoslocation/O8A6MAmvx2vPEqGweGKFP4wf71Om0juKnsgAKEp4.jpeg';\n $parking->save();\n\n $parking = new App\\Photolocation;\n $parking->id_parking = 6;\n $parking->floor = '1';\n $parking->canvas = 'font,1A - 10A,270,294|font,11A - 20A,693,299|rect,104,124,419,355,#0080ff,11|rect,559,125,406,356,#008000,11|';\n $parking->photo = '/storage/photoslocation/O8A6MAmvx2vPEqGweGKFP4wf71Om0juKnsgAKEp4.jpeg';\n $parking->save();\n\n $parking = new App\\Photolocation;\n $parking->id_parking = 7;\n $parking->floor = '1';\n $parking->canvas = 'font,1B - 9B,470,123|font,13B - 15B,80,455|font,10B - 12B,889,451|rect,5,4,1075,198,#ff0000,14|pen,795,253,795,253,795,254,795,255,795,256,791,257,784,258,770,261,756,262,731,264,705,265,685,265,650,265,626,265,608,265,588,265,568,267,551,268,536,268,514,268,501,266,484,264,469,264,459,264,455,263,451,263,449,263,446,263,445,263,444,263,443,263,#008080,14|pen,402,242,402,242,402,243,402,244,402,247,402,254,402,268,402,287,402,309,403,328,408,357,413,390,419,433,424,455,429,477,432,487,433,496,434,503,435,511,435,512,436,514,436,515,436,516,436,517,436,519,436,521,436,523,436,525,436,528,436,532,436,535,435,537,435,539,435,541,435,543,435,544,435,546,435,547,435,548,435,550,435,551,435,552,435,554,435,555,435,556,435,557,435,559,435,560,435,561,435,562,435,563,435,565,435,566,435,568,435,569,#008080,14|rect,13,316,243,270,#0080c0,14|rect,843,304,243,281,#ff0080,14|pen,521,387,521,387,521,390,523,390,526,390,539,388,567,380,601,365,615,359,647,345,663,338,675,331,687,324,705,316,720,308,729,302,735,298,741,294,743,292,745,290,746,289,747,289,748,288,748,290,748,297,744,304,727,330,702,366,679,401,656,431,610,486,587,511,565,534,557,540,533,556,519,564,514,568,509,571,504,574,500,577,500,578,499,578,498,579,497,579,498,578,501,576,509,568,515,562,524,554,539,542,551,532,563,524,568,521,571,519,575,517,581,513,585,510,589,507,592,504,598,501,602,498,607,493,614,485,623,475,626,472,627,470,630,467,631,466,637,460,646,449,651,442,654,439,655,438,656,438,656,437,656,436,655,435,648,434,640,435,624,442,609,451,596,459,585,467,566,481,551,490,542,497,529,507,520,512,516,517,513,519,512,520,510,522,509,522,509,521,509,516,512,505,517,495,528,477,535,465,542,453,549,442,559,426,562,421,564,418,566,416,567,415,#8080ff,14|';\n $parking->photo = '/storage/photoslocation/8qiZgqgCenCcSBfcFak0i3bflia0qmQpIai26Hz1.png';\n $parking->save();\n\n $parking = new App\\Photolocation;\n $parking->id_parking = 8;\n $parking->floor = '1';\n $parking->canvas = 'font,1B - 9B,470,123|font,13B - 15B,80,455|font,10B - 12B,889,451|rect,5,4,1075,198,#ff0000,14|pen,795,253,795,253,795,254,795,255,795,256,791,257,784,258,770,261,756,262,731,264,705,265,685,265,650,265,626,265,608,265,588,265,568,267,551,268,536,268,514,268,501,266,484,264,469,264,459,264,455,263,451,263,449,263,446,263,445,263,444,263,443,263,#008080,14|pen,402,242,402,242,402,243,402,244,402,247,402,254,402,268,402,287,402,309,403,328,408,357,413,390,419,433,424,455,429,477,432,487,433,496,434,503,435,511,435,512,436,514,436,515,436,516,436,517,436,519,436,521,436,523,436,525,436,528,436,532,436,535,435,537,435,539,435,541,435,543,435,544,435,546,435,547,435,548,435,550,435,551,435,552,435,554,435,555,435,556,435,557,435,559,435,560,435,561,435,562,435,563,435,565,435,566,435,568,435,569,#008080,14|rect,13,316,243,270,#0080c0,14|rect,843,304,243,281,#ff0080,14|pen,521,387,521,387,521,390,523,390,526,390,539,388,567,380,601,365,615,359,647,345,663,338,675,331,687,324,705,316,720,308,729,302,735,298,741,294,743,292,745,290,746,289,747,289,748,288,748,290,748,297,744,304,727,330,702,366,679,401,656,431,610,486,587,511,565,534,557,540,533,556,519,564,514,568,509,571,504,574,500,577,500,578,499,578,498,579,497,579,498,578,501,576,509,568,515,562,524,554,539,542,551,532,563,524,568,521,571,519,575,517,581,513,585,510,589,507,592,504,598,501,602,498,607,493,614,485,623,475,626,472,627,470,630,467,631,466,637,460,646,449,651,442,654,439,655,438,656,438,656,437,656,436,655,435,648,434,640,435,624,442,609,451,596,459,585,467,566,481,551,490,542,497,529,507,520,512,516,517,513,519,512,520,510,522,509,522,509,521,509,516,512,505,517,495,528,477,535,465,542,453,549,442,559,426,562,421,564,418,566,416,567,415,#8080ff,14|';\n $parking->photo = '/storage/photoslocation/8qiZgqgCenCcSBfcFak0i3bflia0qmQpIai26Hz1.png';\n $parking->save();\n\n $parking = new App\\Photolocation;\n $parking->id_parking = 9;\n $parking->floor = '1';\n $parking->canvas = 'font,1A - 10A,270,294|font,11A - 20A,693,299|rect,104,124,419,355,#0080ff,11|rect,559,125,406,356,#008000,11|';\n $parking->photo = '/storage/photoslocation/O8A6MAmvx2vPEqGweGKFP4wf71Om0juKnsgAKEp4.jpeg';\n $parking->save();\n\n $parking = new App\\Photolocation;\n $parking->id_parking =10;\n $parking->floor = '1';\n $parking->canvas = 'font,1B - 9B,470,123|font,13B - 15B,80,455|font,10B - 12B,889,451|rect,5,4,1075,198,#ff0000,14|pen,795,253,795,253,795,254,795,255,795,256,791,257,784,258,770,261,756,262,731,264,705,265,685,265,650,265,626,265,608,265,588,265,568,267,551,268,536,268,514,268,501,266,484,264,469,264,459,264,455,263,451,263,449,263,446,263,445,263,444,263,443,263,#008080,14|pen,402,242,402,242,402,243,402,244,402,247,402,254,402,268,402,287,402,309,403,328,408,357,413,390,419,433,424,455,429,477,432,487,433,496,434,503,435,511,435,512,436,514,436,515,436,516,436,517,436,519,436,521,436,523,436,525,436,528,436,532,436,535,435,537,435,539,435,541,435,543,435,544,435,546,435,547,435,548,435,550,435,551,435,552,435,554,435,555,435,556,435,557,435,559,435,560,435,561,435,562,435,563,435,565,435,566,435,568,435,569,#008080,14|rect,13,316,243,270,#0080c0,14|rect,843,304,243,281,#ff0080,14|pen,521,387,521,387,521,390,523,390,526,390,539,388,567,380,601,365,615,359,647,345,663,338,675,331,687,324,705,316,720,308,729,302,735,298,741,294,743,292,745,290,746,289,747,289,748,288,748,290,748,297,744,304,727,330,702,366,679,401,656,431,610,486,587,511,565,534,557,540,533,556,519,564,514,568,509,571,504,574,500,577,500,578,499,578,498,579,497,579,498,578,501,576,509,568,515,562,524,554,539,542,551,532,563,524,568,521,571,519,575,517,581,513,585,510,589,507,592,504,598,501,602,498,607,493,614,485,623,475,626,472,627,470,630,467,631,466,637,460,646,449,651,442,654,439,655,438,656,438,656,437,656,436,655,435,648,434,640,435,624,442,609,451,596,459,585,467,566,481,551,490,542,497,529,507,520,512,516,517,513,519,512,520,510,522,509,522,509,521,509,516,512,505,517,495,528,477,535,465,542,453,549,442,559,426,562,421,564,418,566,416,567,415,#8080ff,14|';\n $parking->photo = '/storage/photoslocation/8qiZgqgCenCcSBfcFak0i3bflia0qmQpIai26Hz1.png';\n $parking->save();\n\n $parking = new App\\Photolocation;\n $parking->id_parking =11;\n $parking->floor = '1';\n $parking->canvas = 'font,1A - 10A,270,294|font,11A - 20A,693,299|rect,104,124,419,355,#0080ff,11|rect,559,125,406,356,#008000,11|';\n $parking->photo = '/storage/photoslocation/O8A6MAmvx2vPEqGweGKFP4wf71Om0juKnsgAKEp4.jpeg';\n $parking->save();\n\n $parking = new App\\Photolocation;\n $parking->id_parking = 12;\n $parking->floor = '1';\n $parking->canvas = 'font,1B - 9B,470,123|font,13B - 15B,80,455|font,10B - 12B,889,451|rect,5,4,1075,198,#ff0000,14|pen,795,253,795,253,795,254,795,255,795,256,791,257,784,258,770,261,756,262,731,264,705,265,685,265,650,265,626,265,608,265,588,265,568,267,551,268,536,268,514,268,501,266,484,264,469,264,459,264,455,263,451,263,449,263,446,263,445,263,444,263,443,263,#008080,14|pen,402,242,402,242,402,243,402,244,402,247,402,254,402,268,402,287,402,309,403,328,408,357,413,390,419,433,424,455,429,477,432,487,433,496,434,503,435,511,435,512,436,514,436,515,436,516,436,517,436,519,436,521,436,523,436,525,436,528,436,532,436,535,435,537,435,539,435,541,435,543,435,544,435,546,435,547,435,548,435,550,435,551,435,552,435,554,435,555,435,556,435,557,435,559,435,560,435,561,435,562,435,563,435,565,435,566,435,568,435,569,#008080,14|rect,13,316,243,270,#0080c0,14|rect,843,304,243,281,#ff0080,14|pen,521,387,521,387,521,390,523,390,526,390,539,388,567,380,601,365,615,359,647,345,663,338,675,331,687,324,705,316,720,308,729,302,735,298,741,294,743,292,745,290,746,289,747,289,748,288,748,290,748,297,744,304,727,330,702,366,679,401,656,431,610,486,587,511,565,534,557,540,533,556,519,564,514,568,509,571,504,574,500,577,500,578,499,578,498,579,497,579,498,578,501,576,509,568,515,562,524,554,539,542,551,532,563,524,568,521,571,519,575,517,581,513,585,510,589,507,592,504,598,501,602,498,607,493,614,485,623,475,626,472,627,470,630,467,631,466,637,460,646,449,651,442,654,439,655,438,656,438,656,437,656,436,655,435,648,434,640,435,624,442,609,451,596,459,585,467,566,481,551,490,542,497,529,507,520,512,516,517,513,519,512,520,510,522,509,522,509,521,509,516,512,505,517,495,528,477,535,465,542,453,549,442,559,426,562,421,564,418,566,416,567,415,#8080ff,14|';\n $parking->photo = '/storage/photoslocation/8qiZgqgCenCcSBfcFak0i3bflia0qmQpIai26Hz1.png';\n $parking->save();\n }", "protected function generateCommand()\r\n {\r\n //kmakemultires tool path\r\n $executable = $this->kmakemultiresFolderPath . $this->kmakemultiresFile;\r\n //template for xml generation path\r\n $xmltemplate = $this->kmakemultiresXMLConfigPath;\r\n \r\n //Path for tiles generation\r\n //tilepath=%INPUTPATH%/%BASENAME%.tiles/l%Al[_c]_%Av_%Ah.jpg\r\n //tilepath=%INPUTPATH%/%BASENAME%.tiles/l%Al/[c]/%Av/l%Al[_c]_%Av_%Ah.jpg\r\n $tilepath =\"%INPUTPATH%\" . $this->panoSubFolder . $this->panoPrefix . $this->pid . \"/\" . $this->panoPrefix . $this->pid . \".tiles/l%Al/[c]/%Av/l%Al[_c]_%Av_%Ah.jpg\";\r\n $tilepath =\"%INPUTPATH%\" . $this->panoSubFolder . $this->panoPrefix . $this->pid . \"/tiles/mres_[c/]l%Al/%Av/l%Al[_c]_%Av_%Ah.jpg\";\r\n //tilepath=%INPUTPATH%/pano_%PANOID%/tiles/[mres_c/]l%Al/%Av/l%Al[_c]_%Av_%Ah.jpg\r\n //Path for preview generation\r\n //previewpath=%INPUTPATH%/%BASENAME%.tiles/preview.jpg\r\n $previewpath =\"%INPUTPATH%\" . $this->panoSubFolder . $this->panoPrefix . $this->pid . \"/tiles/preview.jpg\";\r\n \r\n //Path for thumb generation\r\n //thumbpath=%INPUTPATH%/%BASENAME%.tiles/thumb.jpg\r\n $thumbpath =\"%INPUTPATH%\" . $this->panoSubFolder . $this->panoPrefix . $this->pid . \"/tiles/thumb.jpg\";\r\n \r\n //Path for ipad3 image\r\n //customimage[ipad3].path=%INPUTPATH%/pano/tiles/ipad3_%s.jpg\r\n $customimage_ipad3 =\"%INPUTPATH%\" . $this->panoSubFolder . $this->panoPrefix . $this->pid . \"/tiles/ipad3_%s.jpg\";\r\n \r\n //Path for mobile image\r\n //customimage[mobile].path=%INPUTPATH%/pano/tiles/mobile_%s.jpg\r\n $customimage_mobile =\"%INPUTPATH%\" . $this->panoSubFolder . $this->panoPrefix . $this->pid . \"/tiles/mobile_%s.jpg\";\r\n \r\n //Path for mobile image\r\n //customimage[mobile].path=%INPUTPATH%/pano/tiles/mobile_%s.jpg\r\n $customimage_html5 =\"%INPUTPATH%\" . $this->panoSubFolder . $this->panoPrefix . $this->pid . \"/tiles/html5_%s.jpg\";\r\n \r\n \r\n \r\n //make sure krpanotools are here\r\n if (!file_exists($executable))\r\n {\r\n throw new Exception(\"Unable to find executable for tiles creation : $executable\");\r\n }\r\n\r\n $cmd = '\"' . $executable .'\" \"-hfov=' . $this->hfov . '\" ';\r\n \r\n if($this->vfov <> '')\r\n $cmd .= '\"-vfov=' . $this->vfov . '\" ';\r\n\r\n if($this->voffset <> '')\r\n $cmd .= '\"-voffset=' . $this->voffset . '\" ';\r\n\r\n if($this->krpanoToolsTempFolder <> '')\r\n $cmd .= '\"-tempdir=' . $this->krpanoToolsTempFolder . '\" ';\r\n \r\n $cmd .= '\"-xmlpath=' . $this->xmlKrpanoPath . '\" ';\r\n $cmd .= '\"-xmltemplate='. $xmltemplate . '\" ';\r\n $cmd .= '\"-tilepath='. $tilepath . '\" ';\r\n $cmd .= '\"-previewpath='. $previewpath . '\" ';\r\n $cmd .= '\"-thumbpath='. $thumbpath . '\" ';\r\n $cmd .= '\"-customimage[mobile].path='. $customimage_mobile . '\" ';\r\n $cmd .= '\"-customimage[ipad3].path='. $customimage_ipad3 . '\" ';\r\n $cmd .= '\"-customimage[html5].path='. $customimage_html5 . '\" ';\r\n $cmd .= '\"'.$this->imageInputPath.'\" \"' . $this->toolConfigFilePath . '\"';\r\n return $cmd;\r\n\r\n }", "public function create() {\n return View::make('targets.zonepopulations.create', array(\"zones\" => $this->zones, \"districts\" => $this->districts, \"region\" => $this->regions, \"subdistricts\" => $this->subdistricts, \"years\"=>$this->years)); //\n }", "public function create()\n {\n //\n //Mapper::map(-1.264, 36.803);\n //Mapper at the users current location\n $location = Mapper::location('Westlands Nairobi');\n $longitude = str_replace(',','.', $location->getLongitude());\n $latitude = str_replace(',','.', $location->getLatitude());\n Mapper::map($latitude, $longitude);\n return view('home');\n }", "public function map($map_type, $type_id) {\n\n $map_title = \"\";\n if ($map_type == \"album\") {\n // Generate an array of all items in the current album that have exif gps \n // coordinates and order by latitude (to group items w/ the same\n // coordinates together).\n $items = ORM::factory(\"item\", $type_id)\n ->join(\"exif_coordinates\", \"items.id\", \"exif_coordinates.item_id\")\n ->viewable()\n ->order_by(\"exif_coordinates.latitude\", \"ASC\")\n ->descendants();\n $curr_album = ORM::factory(\"item\")->where(\"id\", \"=\", $type_id)->find_all();\n $map_title = $curr_album[0]->name;\n } elseif ($map_type == \"user\") {\n // Generate an array of all items uploaded by the current user that \n // have exif gps coordinates and order by latitude (to group items \n // w/ the same coordinates together).\n $items = ORM::factory(\"item\")\n ->join(\"exif_coordinates\", \"items.id\", \"exif_coordinates.item_id\")\n ->where(\"items.owner_id\", \"=\", $type_id)\n ->viewable()\n ->order_by(\"exif_coordinates.latitude\", \"ASC\")\n ->find_all();\n $curr_user = ORM::factory(\"user\")->where(\"id\", \"=\", $type_id)->find_all();\n $map_title = $curr_user[0]->full_name . \"'s \" . t(\"Photos\");\n }\n\n // Make a new page.\n $template = new Theme_View(\"page.html\", \"other\", \"EXIFMap\");\n $template->page_title = t(\"Gallery :: Map\");\n $template->content = new View(\"exif_gps_map.html\");\n if ($map_title == \"\") {\n $template->content->title = t(\"Map\");\n } else {\n $template->content->title = t(\"Map of\") . \" \" . $map_title;\n }\n\n // Figure out default map type.\n $int_map_type = module::get_var(\"exif_gps\", \"largemap_maptype\");\n if ($int_map_type == 0) $map_type = \"ROADMAP\";\n if ($int_map_type == 1) $map_type = \"SATELLITE\";\n if ($int_map_type == 2) $map_type = \"HYBRID\";\n if ($int_map_type == 3) $map_type = \"TERRAIN\";\n $template->content->map_type = $map_type;\n\n // When mapping an album, generate a \"return to album\" link.\n if (isset($curr_album)) $template->content->return_url = url::abs_site(\"{$curr_album[0]->type}s/{$curr_album[0]->id}\");\n\n // Load in module preferences.\n $template->content->items = $items;\n $template->content->google_map_key = module::get_var(\"exif_gps\", \"googlemap_api_key\");\n\n // Display the page.\n print $template;\n }", "public function create()\n {\n //\n return view(\"index\",[\"pageTile\" =>\"index\"]);\n }", "public function create()\n\t{\n\t\t$TileLayer = new \\App\\TileLayer();\n\n\t\treturn view('backend.tilelayer.create', compact('TileLayer'));\n\t}", "public function panoramas()\n {\n return $this->attachments()->where('type', 'panorama');\n }", "public function create()\n {\n \t$catplan = Prueba::all();\n \t$pais = pais::all();\n $estados =\testadoc::all();\n $ciudad = Ciudades::all();\n\t $zonas = Zonas::all();\n return view('PlanesUnicos.create')->with('pais', $pais)->with('catplan', $catplan)->with('estados', $estados)->with('ciudad', $ciudad)->with('zonas', $zonas);\n }", "public function generateMainImage();", "protected function createView()\n {\n if ($this->files->exists($path = $this->getViewPath())) {\n $this->error('View already exists!');\n\n return;\n }\n\n $stub = __DIR__ . '/stubs/tile.blade.stub';\n\n $this->makeDirectory($path);\n $this->files->put($path, file_get_contents($stub));\n $this->info('View created successfully.');\n }", "public function create()\n {\n require_once(\"View/praktikum/create.php\");\n }", "function nggpanoPano($pid, $gid = \"\", $hfov = \"\", $vfov = \"\", $voffset = \"\") {\r\n \r\n global $ngg, $nggpano_options;\r\n \r\n //Get default options of the plugin\r\n if(!$nggpano_options)\r\n $nggpano_options = get_option('nggpano_options');\r\n \r\n \t//initialize variables\r\n $this->pid = $pid;\r\n $this->gid = $gid;\r\n \r\n $this->errmsg = '';\r\n $this->error = false;\r\n $this->hfov = $hfov;\r\n $this->vfov = $vfov;\r\n $this->voffset = $voffset;\r\n \r\n \r\n $Image = nggdb::find_image( $this->pid );\r\n \r\n //find gallerypath by Image\r\n if($Image) {\r\n // Input Image\r\n $this->galleryFolder = $Image->path;\r\n $this->imageInputPath = $Image->imagePath;\r\n \r\n $this->title = html_entity_decode( stripslashes(nggPanoramic::i18n($Image->alttext, 'pano_' . $Image->pid . '_alttext')) );\r\n $this->description = html_entity_decode( stripslashes(nggPanoramic::i18n($Image->description, 'pano_' . $Image->pid . '_description')) );\r\n \r\n $this->thumbURL = $Image->thumbURL;\r\n \r\n $this->ImageCustomURL = trailingslashit( home_url() ) . 'index.php?callback=image&amp;pid='.$this->pid;\t\r\n\r\n //Gallery id\r\n $this->gid = $Image->galleryid;\r\n \r\n $filename = $this->imageInputPath;\r\n //check to see if file exists\r\n if(!file_exists($filename)) {\r\n $this->errmsg = 'File not found';\r\n $this->error = true;\r\n }\r\n //check to see if file is readable\r\n elseif(!is_readable($filename)) {\r\n $this->errmsg = 'File is not readable';\r\n $this->error = true;\r\n }\r\n } else {\r\n //find gallerypath by Gallery\r\n $Gallery = nggdb::find_gallery($this->gid);\r\n $this->galleryFolder = $Gallery->path;\r\n //$this->imageInputPath = $Gallery->path;\r\n }\r\n \r\n /*\r\n * init panoFolder for generation\r\n */\r\n // Relative Path where panogeneration will be store\r\n $this->panoFolder = $this->galleryFolder . $this->panoSubFolder . $this->panoPrefix . $this->pid;\r\n $this->setpanoFolderPath();\r\n\r\n \r\n //Relative Path to xml\r\n $this->xmlKrpano\t= $this->panoFolder . \"/\" . $this->panoPrefix . $this->pid.\".xml\";\r\n //URL path to xml\r\n $this->xmlKrpanoURL\t= site_url() . '/' . $this->xmlKrpano;\r\n //Absolute path to xml path\r\n $this->xmlKrpanoPath\t= NGGPANOWINABSPATH . $this->xmlKrpano;\r\n \r\n \r\n //Check configuration\r\n $this->loadConfig();\r\n \r\n// if($this->error == false) {\r\n// //Throw an error if a file doesn't exist\r\n// //VIEWER\r\n// //check to see if krpano viewer file exists\r\n// if(!file_exists(trailingslashit($this->krpanoFolderPath) . $this->krpanoSWF)) {\r\n// $this->errmsg = $this->krpanoSWF .' file not found in ' . $this->krpanoFolder;\r\n// $this->error = true;\r\n// }\r\n// //check to see if Skin file exists\r\n// if(!file_exists($this->viewerTemplatePath)) {\r\n// $this->errmsg = 'Template file '. $this->viewerTemplate .' not found';\r\n// $this->error = true;\r\n// }\r\n// //TOOLS\r\n// //check to see if kmakemultires\r\n// elseif(!file_exists(trailingslashit($this->kmakemultiresFolderPath) . $this->kmakemultiresFile)) {\r\n// $this->errmsg = 'Krpanotool - ' . $this->kmakemultiresFile .' file not found in ' . $this->kmakemultiresFolder;\r\n// $this->error = true;\r\n// }\r\n// //check to see if file is executable\r\n// elseif(!is_executable (trailingslashit($this->kmakemultiresFolderPath) . $this->kmakemultiresFile)) {\r\n// $this->errmsg = 'Krpanotool - ' . $this->kmakemultiresFile .' not executable';\r\n// $this->error = true;\r\n// }\r\n// //check to see if krpanotool config file exists\r\n// elseif(!file_exists($this->toolConfigFilePath)) {\r\n// $this->errmsg = 'Krpanotool - Config File '. $this->toolConfigFile . ' not found';\r\n// $this->error = true;\r\n// }\r\n// //check to see if krpanotool XML config file exists\r\n// elseif(!file_exists($this->kmakemultiresXMLConfigPath)) {\r\n// $this->errmsg = 'Krpanotool - XML Config File '. $this->kmakemultiresXMLConfig . ' not found';\r\n// $this->error = true;\r\n// }\r\n// \r\n// }\r\n\r\n //return null if an error is detected\r\n if($this->error == true) {\r\n return;\r\n }\r\n }", "public function crearDesdePlantilla()\n\t{\n\t\t$partes = func_get_args();\n\t\t$contenido = \"\";\n\t\tforeach($partes as $parte)\n\t\t{\n\t\t\tif(strpos($parte, 'vista/') === false)\n\t\t\t{\n\t\t\t\t$parte = 'vista/'.$this->registro->obtenerConfig('vista').'/plantilla/'.$parte.'.tpl.php';\n\t\t\t}\n\t\t\tif(file_exists($parte) == true )\n\t\t\t{\n\t\t\t\t$contenido .= file_get_contents($parte);\n\t\t\t}\n\t\t}\n\t\t$this->pagina->fijarContenido($contenido);\n\t\t\n\t}", "public function run()\n {\n Type::create(['name'=>'Panorama']);\n Type::create(['name'=>'Monumento']);\n }", "function theme_panopoly_spotlight_view($variables) {\n $title = $variables['items']['title'];\n $description = $variables['items']['description'];\n $link = $variables['items']['link'];\n $alt = $variables['items']['alt'];\n $settings = $variables['settings'];\n\n if (module_exists('uuid')) {\n $image_entity = entity_uuid_load('file', array($variables['items']['uuid']));\n $image = file_load(array_pop($image_entity)->fid);\n }\n else {\n $image = (object) $variables['items'];\n }\n\n $output = '<div id=\"' . 'panopoly-spotlight-' . $variables['delta'] . '\" class=\"' . 'panopoly-spotlight' . '\">';\n $output .= theme('image_style', array('style_name' => $settings['image_style'], 'path' => $image->uri, 'alt' => $alt));\n $output .= '<div class=\"panopoly-spotlight-wrapper\">';\n if (!empty($title) || !empty($link)) {\n if (empty($title)) {\n $title = t('Link');\n }\n $output .= '<h3 class=\"panopoly-spotlight-label\">' . (empty($link) ? check_plain($title) : l($title, $link)) . '</h3>';\n }\n if (!empty($description)) {\n $output .= '<div class=\"panopoly-spotlight-info\">';\n $output .= '<p>' . $description . '</p>';\n $output .= '</div>';\n }\n $output .= '</div>';\n $output .= '</div>';\n\n return $output;\n}", "private function newArchive()\n {\n $dir = FileSystemTool::mkTmpDir();\n\n\n// FileSystemTool::mkdir($dir);\n\n\n //--------------------------------------------\n // BASIC FILES\n //--------------------------------------------\n $boilerplateDir = __DIR__ . \"/../assets/light-app-boilerplate\";\n $otherFiles = [\n \"config/services/_zzz.byml\",\n \"universe/bigbang.php\",\n \"www/index.php\",\n \"www/.htaccess\",\n ];\n foreach ($otherFiles as $rpath) {\n $file = $boilerplateDir . \"/$rpath\";\n $dst = $dir . \"/$rpath\";\n FileSystemTool::copyFile($file, $dst);\n }\n\n\n //--------------------------------------------\n // PLANETS\n //--------------------------------------------\n $uniDir = $this->uniDir;\n $deps = $this->getBoilerplateDependencies();\n\n\n if ($deps) {\n\n $nbDeps = count($deps);\n\n $c = 1;\n foreach ($deps as $pDotName) {\n\n $pSlashName = PlanetTool::getPlanetSlashNameByDotName($pDotName);\n $planetDir = $uniDir . \"/\" . $pSlashName;\n $sizeHuman = ConvertTool::convertBytes(FileSystemTool::getDirectorySize($planetDir), 'h');\n\n\n $this->msg(\"Processing planet $pDotName ($c/$nbDeps) ($sizeHuman)\" . PHP_EOL);\n flush();\n\n\n if (true === is_dir($planetDir)) {\n PlanetTool::importPlanetByExternalDir($pDotName, $planetDir, $dir, [\n \"assets\" => true,\n ]);\n } else {\n throw new LingTalfiException(\"Planet dir not found: $planetDir.\");\n }\n $c++;\n }\n }\n\n\n //--------------------------------------------\n // CREATE ZIP ARCHIVE\n //--------------------------------------------\n\n $this->msg(\"Creating zip archive...\" . PHP_EOL);\n flush();\n\n\n $zipFile = $dir . \".zip\";\n ZipTool::zip($dir, $zipFile, [\n \"ignoreName\" => [\n \".git\",\n \".gitignore\",\n ]\n ]);\n FileSystemTool::remove($dir);\n\n\n $zipFileDst = $uniDir . \"/Ling/Light_AppBoilerplate/assets/light-app-boilerplate.zip\";\n $this->msg(\"moving zip file to $zipFileDst.\" . PHP_EOL);\n FileSystemTool::move($zipFile, $zipFileDst);\n\n }", "public function create()\n {\n //\n $Maps = Mapas::all();\n return view('mapas.create');\n \n }", "public function create()\n {\n $this->authorize('admin.gallery.create');\n $distinations = TripsDistination::all();\n\n return view('admin.gallery.create',[\"distinations\"=>$distinations]);\n }", "public function create()\n\t{\n\t\treturn View::make('projections.create');\n\t}", "public function drawPane() {\n\n\t\tif ($this->deviders) {\n\t\t\tswitch($this->typeDevider) {\n\t\t\t\tcase 1:\n\t\t\t\t\t$b_overallWidth = ($this->borderDevider)?($this->borderDevider + $this->border * 2):($this->border * 3);\n\t\t\t\t\t($this->parObj->type == 'preview') ? $coeff = 1 - ($b_overallWidth * 100)/$this->preHeight/100 : $coeff = 1 - ($b_overallWidth * 100)/$this->paneHeight/100;\n\t\t\t\t\tif ($this->distanceRow) {\n\t\t\t\t\t\tlist($distance,) = explode(':', $this->distanceRow);\n\t\t\t\t\t\tif (!$distance) {\n\t\t\t\t\t\t\t$distanceProportional = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ($this->parObj->type == 'preview') {\n\t\t\t\t\t\t\t\t$distance = round($distance * $this->parObj->ratio);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$distance = round($distance * $coeff);\n\t\t\t\t\t\t}\n\t\t\t\t\t} \n\t\t\t\t\tif (!$this->distanceRow || isset($distanceProportional)) {\n\t\t\t\t\t\t$distance = round(($this->paneHeight - $b_overallWidth)/2);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t$border_width = $this->paneWidth - ($this->border * 2);\n\t\t\t\t\t$border1_height = ($this->paneHeight - $b_overallWidth) - (($this->paneHeight - $b_overallWidth) - $distance);\n\t\t\t\t\t$border2_height = $this->paneHeight - $b_overallWidth - $border1_height;\n\n\t\t\t\t\t$b1Im = imagecreatetruecolor($border_width, $border1_height);\n\t\t\t\t\t$b2Im = imagecreatetruecolor($border_width, $border2_height);\n\t\t\t\t\timagefilledrectangle($b1Im, 1, 1, ($border_width - 2), ($border1_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b2Im, 1, 1, ($border_width - 2), ($border2_height - 2), $this->paneColors['white']);\n\t\t\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b1Im, $this->border, $this->border, 0, 0, $border_width, $border1_height, 100);\n\t\t\t\t\timagecopymerge($this->paneIm, $b2Im, $this->border, $this->border + $border1_height + ((is_numeric($this->borderDevider))?$this->borderDevider:$this->border), 0, 0, $border_width, $border2_height, 100);\n\n\t\t\t\t\tif ($this->innerPadding) {\n\t\t\t\t\t\t$this->drawSecondLine($border_width, $border1_height, $this->border, $this->border);\n\t\t\t\t\t\t$this->drawSecondLine($border_width, $border2_height, $this->border, $this->border + $border1_height + ((is_numeric($this->borderDevider))?$this->borderDevider:$this->border));\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t\tcase 2:\n\t\t\t\t\t($this->parObj->type == 'preview') ? $coeff = 1 - ($this->border * 4 * 100)/$this->preHeight/100 : $coeff = 1 - ($this->border * 4 * 100)/$this->paneHeight/100;\n\t\t\t\t\tif ($this->distanceRow) {\n\t\t\t\t\t\tlist($distance1, $distance2,) = explode(':', $this->distanceRow);\n\t\t\t\t\t\tif (!$distance1) {\n\t\t\t\t\t\t\t$distance1Proportional = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ($this->parObj->type == 'preview') {\n\t\t\t\t\t\t\t\t$distance1 = round($distance1 * $this->parObj->ratio);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$distance1 = round($distance1 * $coeff);\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!$distance2) {\n\t\t\t\t\t\t\t$distance2Proportional = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ($this->parObj->type == 'preview') {\n\t\t\t\t\t\t\t\t$distance2 = round($distance2 * $this->parObj->ratio);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$distance2 = round($distance2 * $coeff) + $this->border;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (!$this->distanceRow || isset($distance1Proportional)) {\n\t\t\t\t\t\t$distance1 = round(($this->paneHeight - $this->border * 4)/3);\n\t\t\t\t\t}\n\t\t\t\t\tif (!$this->distanceRow || isset($distance2Proportional)) {\n\t\t\t\t\t\t$distance2 = round((($this->paneHeight - $this->border * 4) - $distance1)/2) + $distance1 + $this->border;\n\t\t\t\t\t}\n\n\t\t\t\t\t$border_width = $this->paneWidth - ($this->border * 2);\n\t\t\t\t\t$border1_height = ($this->paneHeight - $this->border * 4) - (($this->paneHeight - $this->border * 4) - $distance1);\n\t\t\t\t\t$border2_height = ($this->paneHeight - $this->border * 4) - (($this->paneHeight - $this->border * 4) - $distance2) - $border1_height - $this->border;\n\t\t\t\t\t$border3_height = ($this->paneHeight - $this->border * 4) - $border1_height - $border2_height;\n\t\t\t\t\t\n\t\t\t\t\t$b1Im = imagecreatetruecolor($border_width, $border1_height);\n\t\t\t\t\t$b2Im = imagecreatetruecolor($border_width, $border2_height);\n\t\t\t\t\t$b3Im = imagecreatetruecolor($border_width, $border3_height);\n\t\t\t\t\timagefilledrectangle($b1Im, 1, 1, ($border_width - 2), ($border1_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b2Im, 1, 1, ($border_width - 2), ($border2_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b3Im, 1, 1, ($border_width - 2), ($border3_height - 2), $this->paneColors['white']);\n\t\t\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b1Im, $this->border, $this->border, 0, 0, $border_width, $border1_height, 100);\n\t\t\t\t\timagecopymerge($this->paneIm, $b2Im, $this->border, ($this->border * 2 + $border1_height), 0, 0, $border_width, $border2_height, 100);\n\t\t\t\t\timagecopymerge($this->paneIm, $b3Im, $this->border, ($this->border * 3 + $border1_height + $border2_height), 0, 0, $border_width, $border3_height, 100);\n\t\t\t\t\t\n\t\t\t\t\tif ($this->innerPadding) {\n\t\t\t\t\t\t$this->drawSecondLine($border_width, $border1_height, $this->border, $this->border);\n\t\t\t\t\t\t$this->drawSecondLine($border_width, $border2_height, $this->border, ($this->border * 2 + $border1_height));\n\t\t\t\t\t\t$this->drawSecondLine($border_width, $border3_height, $this->border, ($this->border * 3 + $border1_height + $border2_height));\n\t\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t\tcase 3:\n\t\t\t\t\t($this->parObj->type == 'preview') ? $coeff = 1 - ($this->border * 5 * 100)/$this->preHeight/100 : $coeff = 1 - ($this->border * 5 * 100)/$this->paneHeight/100;\n\t\t\t\t\tif ($this->distanceRow) {\n\t\t\t\t\t\tlist($distance1, $distance2, $distance3) = explode(':', $this->distanceRow);\n\t\t\t\t\t\tif (!$distance1) {\n\t\t\t\t\t\t\t$distance1Proportional = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ($this->parObj->type == 'preview') {\n\t\t\t\t\t\t\t\t$distance1 = round($distance1 * $this->parObj->ratio);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$distance1 = round($distance1 * $coeff);\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!$distance2) {\n\t\t\t\t\t\t\t$distance2Proportional = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ($this->parObj->type == 'preview') {\n\t\t\t\t\t\t\t\t$distance2 = round($distance2 * $this->parObj->ratio);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$distance2 = round($distance2 * $coeff) + $this->border;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!$distance3) {\n\t\t\t\t\t\t\t$distance3Proportional = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ($this->parObj->type == 'preview') {\n\t\t\t\t\t\t\t\t$distance3 = round($distance3 * $this->parObj->ratio);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$distance3 = round($distance3 * $coeff) + $this->border * 2;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif (!$this->distanceRow || isset($distance1Proportional)) {\n\t\t\t\t\t\t$distance1 = round(($this->paneHeight - $this->border * 5)/4);\n\t\t\t\t\t}\n\t\t\t\t\tif (!$this->distanceRow || isset($distance2Proportional)) {\n\t\t\t\t\t\t$distance2 = round((($this->paneHeight - $this->border * 5) - $distance1)/3) + $distance1 + $this->border;\n\t\t\t\t\t}\n\t\t\t\t\tif (!$this->distanceRow || isset($distance3Proportional)) {\n\t\t\t\t\t\t$distance3 = round((($this->paneHeight - $this->border * 4) - $distance2)/2) + $distance2 + $this->border;\n\t\t\t\t\t}\n\n\t\t\t\t\t$border_width = $this->paneWidth - ($this->border * 2);\n\t\t\t\t\t$border1_height = ($this->paneHeight - $this->border * 5) - (($this->paneHeight - $this->border * 5) - $distance1);\n\t\t\t\t\t$border2_height = ($this->paneHeight - $this->border * 5) - (($this->paneHeight - $this->border * 5) - $distance2) - $border1_height - $this->border;\n\t\t\t\t\t$border3_height = ($this->paneHeight - $this->border * 5) - (($this->paneHeight - $this->border * 5) - $distance3) - $border1_height - $border2_height - $this->border * 2;\n\t\t\t\t\t$border4_height = ($this->paneHeight - $this->border * 5) - $border1_height - $border2_height - $border3_height;\n\n\t\t\t\t\t$b1Im = imagecreatetruecolor($border_width, $border1_height);\n\t\t\t\t\t$b2Im = imagecreatetruecolor($border_width, $border2_height);\n\t\t\t\t\t$b3Im = imagecreatetruecolor($border_width, $border3_height);\t\t\t\t\t\n\t\t\t\t\t$b4Im = imagecreatetruecolor($border_width, $border4_height);\n\t\t\t\t\timagefilledrectangle($b1Im, 1, 1, ($border_width - 2), ($border1_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b2Im, 1, 1, ($border_width - 2), ($border2_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b3Im, 1, 1, ($border_width - 2), ($border3_height - 2), $this->paneColors['white']);\t\t\t\t\t\n\t\t\t\t\timagefilledrectangle($b4Im, 1, 1, ($border_width - 2), ($border4_height - 2), $this->paneColors['white']);\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b1Im, $this->border, $this->border, 0, 0, $border_width, $border1_height, 100);\n\t\t\t\t\timagecopymerge($this->paneIm, $b2Im, $this->border, ($this->border * 2 + $border1_height), 0, 0, $border_width, $border2_height, 100);\n\t\t\t\t\timagecopymerge($this->paneIm, $b3Im, $this->border, ($this->border * 3 + $border1_height + $border2_height), 0, 0, $border_width, $border3_height, 100);\t\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b4Im, $this->border, ($this->border * 4 + $border1_height + $border2_height + $border3_height), 0, 0, $border_width, $border4_height, 100);\n\t\t\t\t\t\n\t\t\t\t\tif ($this->innerPadding) {\n\t\t\t\t\t\t$this->drawSecondLine($border_width, $border1_height, $this->border, $this->border);\t\t\n\t\t\t\t\t\t$this->drawSecondLine($border_width, $border2_height, $this->border, ($this->border * 2 + $border1_height));\t\t\n\t\t\t\t\t\t$this->drawSecondLine($border_width, $border3_height, $this->border, ($this->border * 3 + $border1_height + $border2_height));\t\t\n\t\t\t\t\t\t$this->drawSecondLine($border_width, $border4_height, $this->border, ($this->border * 4 + $border1_height + $border2_height + $border3_height));\n\t\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t\tcase 4:\n\t\t\t\t\t($this->parObj->type == 'preview') ? $coeffR = 1 - ($this->border * 3 * 100)/$this->preHeight/100 : $coeffR = 1 - ($this->border * 3 * 100)/$this->paneHeight/100;\n\t\t\t\t\t$coeffC = 1 - ($this->border * 3 * 100)/$this->paneWidth/100;\n\t\t\t\t\tif ($this->distanceRow) {\n\t\t\t\t\t\tlist($distanceR,) = explode(':', $this->distanceRow);\n\t\t\t\t\t\tif (!$distanceR) {\n\t\t\t\t\t\t\t$distanceRProportional = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ($this->parObj->type == 'preview') {\n\t\t\t\t\t\t\t\t$distanceR = round($distanceR * $this->parObj->ratio);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$distanceR = round($distanceR * $coeffR);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ($this->distanceCol) {\n\t\t\t\t\t\tlist($distanceC,) = explode(':', $this->distanceCol);\n\t\t\t\t\t\tif (!$distanceC) {\n\t\t\t\t\t\t\t$distanceCProportional = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ($this->parObj->type == 'preview') {\n\t\t\t\t\t\t\t\t$distanceC = round($distanceC * $this->parObj->ratio);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$distanceC = round($distanceC * $coeffC);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif (!$this->distanceRow || $distanceRProportional) {\n\t\t\t\t\t\t$distanceR = round(($this->paneHeight - $this->border * 3)/2);\n\t\t\t\t\t}\n\t\t\t\t\tif (!$this->distanceCol || $distanceCProportional) {\n\t\t\t\t\t\t$distanceC = round(($this->paneWidth - $this->border * 3)/2);\n\t\t\t\t\t}\n\n\t\t\t\t\t$border1_width = ($this->paneWidth - $this->border * 3) - (($this->paneWidth - $this->border * 3) - $distanceC);\n\t\t\t\t\t$border2_width = ($this->paneWidth - $this->border * 3) - $border1_width;\n\t\t\t\t\t$border1_height = ($this->paneHeight - $this->border * 3) - (($this->paneHeight - $this->border * 3) - $distanceR);\n\t\t\t\t\t$border2_height = ($this->paneHeight - $this->border * 3) - $border1_height;\n\t\t\t\t\n\t\t\t\t\t$b1Im = imagecreatetruecolor($border1_width, $border1_height);\n\t\t\t\t\t$b2Im = imagecreatetruecolor($border2_width, $border1_height);\n\t\t\t\t\t$b3Im = imagecreatetruecolor($border1_width, $border2_height);\n\t\t\t\t\t$b4Im = imagecreatetruecolor($border2_width, $border2_height);\n\t\t\t\t\timagefilledrectangle($b1Im, 1, 1, ($border1_width - 2), ($border1_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b2Im, 1, 1, ($border2_width - 2), ($border1_height - 2), $this->paneColors['white']);\t\t\t\t\t\n\t\t\t\t\timagefilledrectangle($b3Im, 1, 1, ($border1_width - 2), ($border2_height - 2), $this->paneColors['white']);\t\t\t\t\t\n\t\t\t\t\timagefilledrectangle($b4Im, 1, 1, ($border2_width - 2), ($border2_height - 2), $this->paneColors['white']);\n\t\t\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b1Im, $this->border, $this->border, 0, 0, $border1_width, $border1_height, 100);\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b2Im, ($border1_width + $this->border * 2), $this->border, 0, 0, $border2_width, $border1_height, 100);\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b3Im, $this->border, ($this->border * 2 + $border1_height), 0, 0, $border1_width, $border2_height, 100);\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b4Im, ($border1_width + $this->border * 2), ($this->border * 2 + $border1_height), 0, 0, $border2_width, $border2_height, 100);\n\t\t\t\t\t\t\t\n\t\t\t\t\t$this->drawSecondLine($border1_width, $border2_height, $this->border, ($this->border * 2 + $border1_height));\t\t\n\t\t\t\t\t$this->drawSecondLine($border2_width, $border2_height, ($border1_width + $this->border * 2), ($this->border * 2 + $border1_height));\n\n\t\t\t\t\t$normalSecondLine = true;\n\t\t\t\t\tif (isset($this->modDevider_r[4])) {\n\t\t\t\t\t\tforeach($this->modDevider_r[4] as $v) {\n\t\t\t\t\t\t\tif ($v == 'cellsTop') {\n\t\t\t\t\t\t\t\t$normalSecondLine = false;\n\t\t\t\t\t\t\t\tif ($this->innerPadding) {\n\t\t\t\t\t\t\t\t\t$this->drawSecondLine($border1_width/2, $border1_height/2, $this->border, $this->border);\n\t\t\t\t\t\t\t\t\t$this->drawSecondLine($border1_width/2, $border1_height/2, ($this->border + $border1_width/2), $this->border);\n\t\t\t\t\t\t\t\t\t$this->drawSecondLine($border1_width/2, $border1_height/2, $this->border, ($this->border + $border1_height/2));\n\t\t\t\t\t\t\t\t\t$this->drawSecondLine($border1_width/2, $border1_height/2, ($this->border + $border1_width/2), ($this->border + $border1_height/2));\n\t\t\t\t\t\t\t\t\t$this->drawSecondLine($border1_width/2, $border1_height/2, ($this->border * 2 + $border1_width), $this->border);\n\t\t\t\t\t\t\t\t\t$this->drawSecondLine($border1_width/2, $border1_height/2, ($this->border * 2 + $border1_width + $border1_width/2), $this->border);\n\t\t\t\t\t\t\t\t\t$this->drawSecondLine($border1_width/2, $border1_height/2, ($this->border * 2 + $border1_width), ($this->border + $border1_height/2));\n\t\t\t\t\t\t\t\t\t$this->drawSecondLine($border1_width/2, $border1_height/2, ($this->border * 2 + $border1_width + $border1_width/2), ($this->border + $border1_height/2));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif ($this->innerPadding) {\n\t\t\t\t\t\t\t$this->drawSecondLine(($border1_width + $this->border - 1), ($border1_height + $this->border - 2), $this->border, $this->border, true);\n\t\t\t\t\t\t\t$this->drawSecondLine(($border1_width + $border2_width + $this->border * 2 - 1), ($border1_height + $this->border - 2), ($this->border * 2 + $border1_width), $this->border, true);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif ($normalSecondLine && $this->innerPadding) {\n\t\t\t\t\t\t$this->drawSecondLine($border1_width, $border1_height, $this->border, $this->border);\t\t\n\t\t\t\t\t\t$this->drawSecondLine($border2_width, $border1_height, ($border1_width + $this->border * 2), $this->border);\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t\tcase 5:\n\t\t\t\t\t($this->parObj->type == 'preview') ? $coeffR = 1 - ($this->border * 4 * 100)/$this->preHeight/100 : $coeffR = 1 - ($this->border * 4 * 100)/$this->paneHeight/100;\n\t\t\t\t\t$coeffC = 1 - ($this->border * 3 * 100)/$this->paneWidth/100;\n\t\t\t\t\tif ($this->distanceRow) {\n\t\t\t\t\t\tlist($distanceR1, $distanceR2) = explode(':', $this->distanceRow);\n\t\t\t\t\t\tif (!$distanceR1) {\n\t\t\t\t\t\t\t$distanceR1Proportional = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ($this->parObj->type == 'preview') {\n\t\t\t\t\t\t\t\t$distanceR1 = round($distanceR1 * $this->parObj->ratio);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$distanceR1 = round($distanceR1 * $coeffR);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!$distanceR2) {\n\t\t\t\t\t\t\t$distanceR2Proportional = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ($this->parObj->type == 'preview') {\n\t\t\t\t\t\t\t\t$distanceR2 = round($distanceR2 * $this->parObj->ratio);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$distanceR2 = round($distanceR2 * $coeffR);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ($this->distanceCol) {\n\t\t\t\t\t\tlist($distanceC,) = explode(':', $this->distanceCol);\n\t\t\t\t\t\tif (!$distanceC) {\n\t\t\t\t\t\t\t$distanceCProportional = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ($this->parObj->type == 'preview') {\n\t\t\t\t\t\t\t\t$distanceC = round($distanceC * $this->parObj->ratio);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$distanceC = round($distanceC * $coeffC);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif (!$this->distanceRow || isset($distanceR1Proportional)) {\n\t\t\t\t\t\t$distanceR1 = round(($this->paneHeight - $this->border * 4)/3);\n\t\t\t\t\t}\n\t\t\t\t\tif (!$this->distanceRow || isset($distanceR2Proportional)) {\n\t\t\t\t\t\t$distanceR2 = round((($this->paneHeight - $this->border * 4) - $distanceR1)/2) + $distanceR1 + $this->border;\n\t\t\t\t\t}\n\t\t\t\t\tif (!$this->distanceCol || $distanceCProportional) {\n\t\t\t\t\t\t$distanceC = round(($this->paneWidth - $this->border * 3)/2);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t$border1_width = ($this->paneWidth - $this->border * 3) - (($this->paneWidth - $this->border * 3) - $distanceC);\n\t\t\t\t\t$border2_width = ($this->paneWidth - $this->border * 3) - $border1_width;\n\t\t\t\t\t$border1_height = ($this->paneHeight - $this->border * 4) - (($this->paneHeight - $this->border * 4) - $distanceR1);\n\t\t\t\t\t$border2_height = ($this->paneHeight - $this->border * 4) - (($this->paneHeight - $this->border * 4) - $distanceR2) - $border1_height - $this->border;\n\t\t\t\t\t$border3_height = ($this->paneHeight - $this->border * 4) - $border1_height - $border2_height;\n\t\t\t\t\t\n\t\t\t\t\t$b1Im = imagecreatetruecolor($border1_width, $border1_height);\n\t\t\t\t\t$b2Im = imagecreatetruecolor($border2_width, $border1_height);\n\t\t\t\t\t$b3Im = imagecreatetruecolor($border1_width, $border2_height);\n\t\t\t\t\t$b4Im = imagecreatetruecolor($border2_width, $border2_height);\n\t\t\t\t\t$b5Im = imagecreatetruecolor($border1_width, $border3_height);\n\t\t\t\t\t$b6Im = imagecreatetruecolor($border2_width, $border3_height);\n\t\t\t\t\timagefilledrectangle($b1Im, 1, 1, ($border1_width - 2), ($border1_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b2Im, 1, 1, ($border2_width - 2), ($border1_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b3Im, 1, 1, ($border1_width - 2), ($border2_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b4Im, 1, 1, ($border2_width - 2), ($border2_height - 2), $this->paneColors['white']);\t\t\t\t\t\t\t\t\t\n\t\t\t\t\timagefilledrectangle($b5Im, 1, 1, ($border1_width - 2), ($border3_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b6Im, 1, 1, ($border2_width - 2), ($border3_height - 2), $this->paneColors['white']);\n\t\t\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b1Im, $this->border, $this->border, 0, 0, $border1_width, $border1_height, 100);\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b2Im, ($border1_width + $this->border * 2), $this->border, 0, 0, $border2_width, $border1_height, 100);\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b3Im, $this->border, ($this->border * 2 + $border1_height), 0, 0, $border1_width, $border2_height, 100);\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b4Im, ($border1_width + $this->border * 2), ($this->border * 2 + $border1_height), 0, 0, $border2_width, $border2_height, 100);\t\t\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b5Im, $this->border, ($this->border * 3 + $border1_height + $border2_height), 0, 0, $border1_width, $border3_height, 100);\t\t\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b6Im, ($border1_width + $this->border * 2), ($this->border * 3 + $border1_height + $border2_height), 0, 0, $border2_width, $border3_height, 100);\n\t\t\t\t\t\n\t\t\t\t\tif ($this->innerPadding) {\n\t\t\t\t\t\t$this->drawSecondLine($border1_width, $border1_height, $this->border, $this->border);\t\t\t\t\n\t\t\t\t\t\t$this->drawSecondLine($border2_width, $border1_height, ($border1_width + $this->border * 2), $this->border);\t\t\t\t\n\t\t\t\t\t\t$this->drawSecondLine($border1_width, $border2_height, $this->border, ($this->border * 2 + $border1_height));\t\t\t\t\n\t\t\t\t\t\t$this->drawSecondLine($border2_width, $border2_height, ($border1_width + $this->border * 2), ($this->border * 2 + $border1_height));\t\t\t\t\n\t\t\t\t\t\t$this->drawSecondLine($border1_width, $border3_height, $this->border, ($this->border * 3 + $border1_height + $border2_height));\t\t\t\t\n\t\t\t\t\t\t$this->drawSecondLine($border2_width, $border3_height, ($border1_width + $this->border * 2), ($this->border * 3 + $border1_height + $border2_height));\n\t\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t\tcase 6:\n\t\t\t\t\t($this->parObj->type == 'preview') ? $coeffR = 1 - ($this->border * 5 * 100)/$this->preHeight/100 : $coeffR = 1 - ($this->border * 5 * 100)/$this->paneHeight/100;\n\t\t\t\t\t$coeffC = 1 - ($this->border * 3 * 100)/$this->paneWidth/100;\n\t\t\t\t\tif ($this->distanceRow) {\n\t\t\t\t\t\tlist($distanceR1, $distanceR2, $distanceR3) = explode(':', $this->distanceRow);\n\t\t\t\t\t\tif (!$distanceR1) {\n\t\t\t\t\t\t\t$distanceR1Proportional = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ($this->parObj->type == 'preview') {\n\t\t\t\t\t\t\t\t$distanceR1 = round($distanceR1 * $this->parObj->ratio);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$distanceR1 = round($distanceR1 * $coeffR);\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!$distanceR2) {\n\t\t\t\t\t\t\t$distanceR2Proportional = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ($this->parObj->type == 'preview') {\n\t\t\t\t\t\t\t\t$distanceR2 = round($distanceR2 * $this->parObj->ratio);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$distanceR2 = round($distanceR2 * $coeffR) + $this->border;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!$distanceR3) {\n\t\t\t\t\t\t\t$distanceR3Proportional = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ($this->parObj->type == 'preview') {\n\t\t\t\t\t\t\t\t$distanceR3 = round($distanceR3 * $this->parObj->ratio);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$distanceR3 = round($distanceR3 * $coeffR) + $this->border * 2;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ($this->distanceCol) {\n\t\t\t\t\t\tlist($distanceC,) = explode(':', $this->distanceCol);\n\t\t\t\t\t\tif (!$distanceC) {\n\t\t\t\t\t\t\t$distanceCProportional = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ($this->parObj->type == 'preview') {\n\t\t\t\t\t\t\t\t$distanceC = round($distanceC * $this->parObj->ratio);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$distanceC = round($distanceC * $coeffC);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif (!$this->distanceRow || isset($distanceR1Proportional)) {\n\t\t\t\t\t\t$distanceR1 = round(($this->paneHeight - $this->border * 5)/4);\n\t\t\t\t\t}\n\t\t\t\t\tif (!$this->distanceRow || isset($distanceR2Proportional)) {\n\t\t\t\t\t\t$distanceR2 = round((($this->paneHeight - $this->border * 5) - $distanceR1)/3) + $distanceR1 + $this->border;\n\t\t\t\t\t}\n\t\t\t\t\tif (!$this->distanceRow || isset($distanceR3Proportional)) {\n\t\t\t\t\t\t$distanceR3 = round((($this->paneHeight - $this->border * 4) - $distanceR2)/2) + $distanceR2 + $this->border;\n\t\t\t\t\t}\n\t\t\t\t\tif (!$this->distanceCol || $distanceCProportional) {\n\t\t\t\t\t\t$distanceC = round(($this->paneWidth - $this->border * 3)/2);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t$border1_width = ($this->paneWidth - $this->border * 3) - (($this->paneWidth - $this->border * 3) - $distanceC);\n\t\t\t\t\t$border2_width = ($this->paneWidth - $this->border * 3) - $border1_width;\n\t\t\t\t\t$border1_height = ($this->paneHeight - $this->border * 5) - (($this->paneHeight - $this->border * 5) - $distanceR1);\n\t\t\t\t\t$border2_height = ($this->paneHeight - $this->border * 5) - (($this->paneHeight - $this->border * 5) - $distanceR2) - $border1_height - $this->border;\n\t\t\t\t\t$border3_height = ($this->paneHeight - $this->border * 5) - (($this->paneHeight - $this->border * 5) - $distanceR3) - $border1_height - $border2_height - $this->border * 2;\n\t\t\t\t\t$border4_height = ($this->paneHeight - $this->border * 5) - $border1_height - $border2_height - $border3_height;\n\t\t\t\t\t\n\t\t\t\t\t$b1Im = imagecreatetruecolor($border1_width, $border1_height);\n\t\t\t\t\t$b2Im = imagecreatetruecolor($border2_width, $border1_height);\n\t\t\t\t\t$b3Im = imagecreatetruecolor($border1_width, $border2_height);\n\t\t\t\t\t$b4Im = imagecreatetruecolor($border2_width, $border2_height);\n\t\t\t\t\t$b5Im = imagecreatetruecolor($border1_width, $border3_height);\n\t\t\t\t\t$b6Im = imagecreatetruecolor($border2_width, $border3_height);\n\t\t\t\t\t$b7Im = imagecreatetruecolor($border1_width, $border4_height);\n\t\t\t\t\t$b8Im = imagecreatetruecolor($border2_width, $border4_height);\n\t\t\t\t\timagefilledrectangle($b1Im, 1, 1, ($border1_width - 2), ($border1_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b2Im, 1, 1, ($border2_width - 2), ($border1_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b3Im, 1, 1, ($border1_width - 2), ($border2_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b4Im, 1, 1, ($border2_width - 2), ($border2_height - 2), $this->paneColors['white']);\t\t\t\t\t\t\t\t\t\n\t\t\t\t\timagefilledrectangle($b5Im, 1, 1, ($border1_width - 2), ($border3_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b6Im, 1, 1, ($border2_width - 2), ($border3_height - 2), $this->paneColors['white']);\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\timagefilledrectangle($b7Im, 1, 1, ($border1_width - 2), ($border4_height - 2), $this->paneColors['white']);\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\timagefilledrectangle($b8Im, 1, 1, ($border2_width - 2), ($border4_height - 2), $this->paneColors['white']);\n\t\t\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b1Im, $this->border, $this->border, 0, 0, $border1_width, $border1_height, 100);\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b2Im, ($border1_width + $this->border * 2), $this->border, 0, 0, $border2_width, $border1_height, 100);\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b3Im, $this->border, ($this->border * 2 + $border1_height), 0, 0, $border1_width, $border2_height, 100);\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b4Im, ($border1_width + $this->border * 2), ($this->border * 2 + $border1_height), 0, 0, $border2_width, $border2_height, 100);\t\t\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b5Im, $this->border, ($this->border * 3 + $border1_height + $border2_height), 0, 0, $border1_width, $border3_height, 100);\t\t\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b6Im, ($border1_width + $this->border * 2), ($this->border * 3 + $border1_height + $border2_height), 0, 0, $border2_width, $border3_height, 100);\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b7Im, $this->border, ($this->border * 4 + $border1_height + $border2_height + $border3_height), 0, 0, $border1_width, $border4_height, 100);\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b8Im, ($border1_width + $this->border * 2), ($this->border * 4 + $border1_height + $border2_height + $border3_height), 0, 0, $border2_width, $border4_height, 100);\n\t\t\t\t\t\n\t\t\t\t\tif ($this->innerPadding) {\n\t\t\t\t\t\t$this->drawSecondLine($border1_width, $border1_height, $this->border, $this->border);\t\t\t\t\t\n\t\t\t\t\t\t$this->drawSecondLine($border2_width, $border1_height, ($border1_width + $this->border * 2), $this->border);\t\t\t\t\t\n\t\t\t\t\t\t$this->drawSecondLine($border1_width, $border2_height, $this->border, ($this->border * 2 + $border1_height));\t\t\t\t\t\n\t\t\t\t\t\t$this->drawSecondLine($border2_width, $border2_height, ($border1_width + $this->border * 2), ($this->border * 2 + $border1_height));\t\t\t\t\t\n\t\t\t\t\t\t$this->drawSecondLine($border1_width, $border3_height, $this->border, ($this->border * 3 + $border1_height + $border2_height));\t\t\t\t\t\n\t\t\t\t\t\t$this->drawSecondLine($border2_width, $border3_height, ($border1_width + $this->border * 2), ($this->border * 3 + $border1_height + $border2_height));\t\t\t\t\t\n\t\t\t\t\t\t$this->drawSecondLine($border1_width, $border4_height, $this->border, ($this->border * 4 + $border1_height + $border2_height + $border3_height));\t\t\t\t\t\n\t\t\t\t\t\t$this->drawSecondLine($border2_width, $border4_height, ($border1_width + $this->border * 2), ($this->border * 4 + $border1_height + $border2_height + $border3_height));\n\t\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t\tcase 7:\n\t\t\t\t\t($this->parObj->type == 'preview') ? $coeffR = 1 - ($this->border * 4 * 100)/$this->preHeight/100 : $coeffR = 1 - ($this->border * 4 * 100)/$this->paneHeight/100;\n\t\t\t\t\t$coeffC = 1 - ($this->border * 4 * 100)/$this->paneWidth/100;\n\t\t\t\t\tif ($this->distanceRow) {\n\t\t\t\t\t\tlist($distanceR1, $distanceR2,) = explode(':', $this->distanceRow);\n\t\t\t\t\t\tif (!$distanceR1) {\n\t\t\t\t\t\t\t$distanceR1Proportional = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ($this->parObj->type == 'preview') {\n\t\t\t\t\t\t\t\t$distanceR1 = round($distanceR1 * $this->parObj->ratio);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$distanceR1 = round($distanceR1 * $coeffR);\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!$distanceR2) {\n\t\t\t\t\t\t\t$distanceR2Proportional = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ($this->parObj->type == 'preview') {\n\t\t\t\t\t\t\t\t$distanceR2 = round($distanceR2 * $this->parObj->ratio);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$distanceR2 = round($distanceR2 * $coeffR) + $this->border;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ($this->distanceCol) {\n\t\t\t\t\t\tlist($distanceC1,$distanceC2,) = explode(':', $this->distanceCol);\n\t\t\t\t\t\tif (!$distanceC1) {\n\t\t\t\t\t\t\t$distanceC1Proportional = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ($this->parObj->type == 'preview') {\n\t\t\t\t\t\t\t\t$distanceC1 = round($distanceC1 * $this->parObj->ratio);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$distanceC1 = round($distanceC1 * $coeffC);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!$distanceC2) {\n\t\t\t\t\t\t\t$distanceC2Proportional = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ($this->parObj->type == 'preview') {\n\t\t\t\t\t\t\t\t$distanceC2 = round($distanceC2 * $this->parObj->ratio);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$distanceC2 = round($distanceC2 * $coeffC);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif (!$this->distanceRow || isset($distanceR1Proportional)) {\n\t\t\t\t\t\t$distanceR1 = round(($this->paneHeight - $this->border * 4)/3);\n\t\t\t\t\t}\n\t\t\t\t\tif (!$this->distanceRow || isset($distanceR2Proportional)) {\n\t\t\t\t\t\t$distanceR2 = round((($this->paneHeight - $this->border * 4) - $distanceR1)/2) + $distanceR1 + $this->border;\n\t\t\t\t\t}\n\t\t\t\t\tif (!$this->distanceCol || $distanceC1Proportional) {\n\t\t\t\t\t\t$distanceC1 = round(($this->paneWidth - $this->border * 4)/3);\n\t\t\t\t\t}\n\t\t\t\t\tif (!$this->distanceRow || isset($distanceC2Proportional)) {\n\t\t\t\t\t\t$distanceC2 = round((($this->paneWidth - $this->border * 4) - $distanceC1)/2) + $distanceC1 + $this->border;\n\t\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\t$border1_width = ($this->paneWidth - $this->border * 4) - (($this->paneWidth - $this->border * 4) - $distanceC1);\n\t\t\t\t\t$border2_width = ($this->paneWidth - $this->border * 4) - (($this->paneWidth - $this->border * 4) - $distanceC2) - $border1_width - $this->border;\n\t\t\t\t\t$border3_width = ($this->paneWidth - $this->border * 4) - $border1_width - $border2_width;\n\t\t\t\t\t$border1_height = ($this->paneHeight - $this->border * 4) - (($this->paneHeight - $this->border * 4) - $distanceR1);\n\t\t\t\t\t$border2_height = ($this->paneHeight - $this->border * 4) - (($this->paneHeight - $this->border * 4) - $distanceR2) - $border1_height - $this->border;\n\t\t\t\t\t$border3_height = ($this->paneHeight - $this->border * 4) - $border1_height - $border2_height;\n\n\t\t\t\t\t$b1Im = imagecreatetruecolor($border1_width, $border1_height);\n\t\t\t\t\t$b2Im = imagecreatetruecolor($border2_width, $border1_height);\n\t\t\t\t\t$b3Im = imagecreatetruecolor($border3_width, $border1_height);\n\t\t\t\t\t$b4Im = imagecreatetruecolor($border1_width, $border2_height);\n\t\t\t\t\t$b5Im = imagecreatetruecolor($border2_width, $border2_height);\n\t\t\t\t\t$b6Im = imagecreatetruecolor($border3_width, $border2_height);\n\t\t\t\t\t$b7Im = imagecreatetruecolor($border1_width, $border3_height);\n\t\t\t\t\t$b8Im = imagecreatetruecolor($border2_width, $border3_height);\t\t\t\t\n\t\t\t\t\t$b9Im = imagecreatetruecolor($border3_width, $border3_height);\t\t\t\t\n\t\t\t\t\timagefilledrectangle($b1Im, 1, 1, ($border1_width - 2), ($border1_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b2Im, 1, 1, ($border2_width - 2), ($border1_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b3Im, 1, 1, ($border3_width - 2), ($border1_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b4Im, 1, 1, ($border1_width - 2), ($border2_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b5Im, 1, 1, ($border2_width - 2), ($border2_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b6Im, 1, 1, ($border3_width - 2), ($border2_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b7Im, 1, 1, ($border1_width - 2), ($border3_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b8Im, 1, 1, ($border2_width - 2), ($border3_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b9Im, 1, 1, ($border3_width - 2), ($border3_height - 2), $this->paneColors['white']);\n\t\t\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b1Im, $this->border, $this->border, 0, 0, $border1_width, $border1_height, 100);\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b2Im, ($border1_width + $this->border * 2), $this->border, 0, 0, $border2_width, $border1_height, 100);\n\t\t\t\t\timagecopymerge($this->paneIm, $b3Im, ($border1_width + $border2_width + $this->border * 3), $this->border, 0, 0, $border3_width, $border1_height, 100);\n\t\t\t\t\timagecopymerge($this->paneIm, $b4Im, $this->border, ($this->border * 2 + $border1_height), 0, 0, $border1_width, $border2_height, 100);\n\t\t\t\t\timagecopymerge($this->paneIm, $b5Im, ($border1_width + $this->border * 2), ($this->border * 2 + $border1_height), 0, 0, $border2_width, $border2_height, 100);\n\t\t\t\t\timagecopymerge($this->paneIm, $b6Im, ($border1_width + $border2_width + $this->border * 3), ($this->border * 2 + $border1_height), 0, 0, $border3_width, $border2_height, 100);\n\t\t\t\t\timagecopymerge($this->paneIm, $b7Im, $this->border, ($this->border * 3 + $border1_height + $border2_height), 0, 0, $border1_width, $border3_height, 100);\n\t\t\t\t\timagecopymerge($this->paneIm, $b8Im, ($border1_width + $this->border * 2), ($this->border * 3 + $border1_height + $border2_height), 0, 0, $border2_width, $border3_height, 100);\n\t\t\t\t\timagecopymerge($this->paneIm, $b9Im, ($border1_width + $border2_width + $this->border * 3), ($this->border * 3 + $border1_height + $border2_height), 0, 0, $border3_width, $border3_height, 100);\n\t\t\t\t\t\n\t\t\t\t\tif ($this->innerPadding) {\n\t\t\t\t\t\t$this->drawSecondLine($border1_width, $border1_height, $this->border, $this->border);\n\t\t\t\t\t\t$this->drawSecondLine($border2_width, $border1_height, ($border1_width + $this->border * 2), $this->border);\n\t\t\t\t\t\t$this->drawSecondLine($border3_width, $border1_height, ($border1_width + $border2_width + $this->border * 3), $this->border);\n\t\t\t\t\t\t$this->drawSecondLine($border1_width, $border2_height, $this->border, ($this->border * 2 + $border1_height));\n\t\t\t\t\t\t$this->drawSecondLine($border2_width, $border2_height, ($border1_width + $this->border * 2), ($this->border * 2 + $border1_height));\n\t\t\t\t\t\t$this->drawSecondLine($border3_width, $border2_height, ($border1_width + $border2_width + $this->border * 3), ($this->border * 2 + $border1_height));\n\t\t\t\t\t\t$this->drawSecondLine($border1_width, $border3_height, $this->border, ($this->border * 3 + $border1_height + $border2_height));\n\t\t\t\t\t\t$this->drawSecondLine($border2_width, $border3_height, ($border1_width + $this->border * 2), ($this->border * 3 + $border1_height + $border2_height));\n\t\t\t\t\t\t$this->drawSecondLine($border3_width, $border3_height, ($border1_width + $border2_width + $this->border * 3), ($this->border * 3 + $border1_height + $border2_height));\n\t\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t\tcase 8:\n\t\t\t\t\t$coeff = 1 - ($this->border * 3 * 100)/$this->paneWidth/100;\n\t\t\t\t\tif ($this->distanceCol) {\n\t\t\t\t\t\tlist($distance,) = explode(':', $this->distanceCol);\n\t\t\t\t\t\tif (!$distance) {\n\t\t\t\t\t\t\t$distanceProportional = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ($this->parObj->type == 'preview') {\n\t\t\t\t\t\t\t\t$distance = round($distance * $this->parObj->ratio);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$distance = round($distance * $coeff);\n\t\t\t\t\t\t}\n\t\t\t\t\t} \n\t\t\t\t\tif (!$this->distanceCol || isset($distanceProportional)) {\n\t\t\t\t\t\t$distance = round(($this->paneWidth - $this->border * 3)/2);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t$border_height = $this->paneHeight - ($this->border * 2);\n\t\t\t\t\t$border1_width = ($this->paneWidth - $this->border * 3) - (($this->paneWidth - $this->border * 3) - $distance);\n\t\t\t\t\t$border2_width = ($this->paneWidth - $this->border * 3) - $border1_width;\n\n\t\t\t\t\t$b1Im = imagecreatetruecolor($border1_width, $border_height);\n\t\t\t\t\t$b2Im = imagecreatetruecolor($border2_width, $border_height);\n\t\t\t\t\timagefilledrectangle($b1Im, 1, 1, ($border1_width - 2), ($border_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b2Im, 1, 1, ($border2_width - 2), ($border_height - 2), $this->paneColors['white']);\n\t\t\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b1Im, $this->border, $this->border, 0, 0, $border1_width, $border_height, 100);\n\t\t\t\t\timagecopymerge($this->paneIm, $b2Im, ($this->border * 2 + $border1_width), $this->border, 0, 0, $border2_width, $border_height, 100);\n\t\t\t\t\t\n\t\t\t\t\tif ($this->innerPadding) {\n\t\t\t\t\t\t$this->drawSecondLine($border1_width, $border_height, $this->border, $this->border);\n\t\t\t\t\t\t$this->drawSecondLine($border2_width, $border_height, ($this->border * 2 + $border1_width), $this->border);\n\t\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t\tcase 9:\n\t\t\t\t\t$coeff = 1 - ($this->border * 4 * 100)/$this->paneWidth/100;\n\t\t\t\t\tif ($this->distanceRow) {\n\t\t\t\t\t\tlist($distance1, $distance2,) = explode(':', $this->distanceCol);\n\t\t\t\t\t\tif (!$distance1) {\n\t\t\t\t\t\t\t$distance1Proportional = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ($this->parObj->type == 'preview') {\n\t\t\t\t\t\t\t\t$distance1 = round($distance1 * $this->parObj->ratio);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$distance1 = round($distance1 * $coeff);\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!$distance2) {\n\t\t\t\t\t\t\t$distance2Proportional = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ($this->parObj->type == 'preview') {\n\t\t\t\t\t\t\t\t$distance2 = round($distance2 * $this->parObj->ratio);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$distance2 = round($distance2 * $coeff) + $this->border;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (!$this->distanceRow || isset($distance1Proportional)) {\n\t\t\t\t\t\t$distance1 = round(($this->paneWidth - $this->border * 4)/3);\n\t\t\t\t\t}\n\t\t\t\t\tif (!$this->distanceRow || isset($distance2Proportional)) {\n\t\t\t\t\t\t$distance2 = round((($this->paneWidth - $this->border * 4) - $distance1)/2) + $distance1 + $this->border;\n\t\t\t\t\t}\n\n\t\t\t\t\t$border_height = $this->paneHeight - ($this->border * 2);\n\t\t\t\t\t$border1_width = ($this->paneWidth - $this->border * 4) - (($this->paneWidth - $this->border * 4) - $distance1);\n\t\t\t\t\t$border2_width = ($this->paneWidth - $this->border * 4) - (($this->paneWidth - $this->border * 4) - $distance2) - $border1_width - $this->border;\n\t\t\t\t\t$border3_width = ($this->paneWidth - $this->border * 4) - $border1_width - $border2_width;\n\t\t\t\t\t\n\t\t\t\t\t$b1Im = imagecreatetruecolor($border1_width, $border_height);\n\t\t\t\t\t$b2Im = imagecreatetruecolor($border2_width, $border_height);\n\t\t\t\t\t$b3Im = imagecreatetruecolor($border3_width, $border_height);\n\t\t\t\t\timagefilledrectangle($b1Im, 1, 1, ($border1_width - 2), ($border_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b2Im, 1, 1, ($border2_width - 2), ($border_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b3Im, 1, 1, ($border3_width - 2), ($border_height - 2), $this->paneColors['white']);\n\t\t\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b1Im, $this->border, $this->border, 0, 0, $border1_width, $border_height, 100);\n\t\t\t\t\timagecopymerge($this->paneIm, $b2Im, ($this->border * 2 + $border1_width), $this->border, 0, 0, $border2_width, $border_height, 100);\n\t\t\t\t\timagecopymerge($this->paneIm, $b3Im, ($this->border * 3 + $border1_width + $border2_width), $this->border, 0, 0, $border3_width, $border_height, 100);\n\t\t\t\t\t\n\t\t\t\t\tif ($this->innerPadding) {\n\t\t\t\t\t\t$this->drawSecondLine($border1_width, $border_height, $this->border, $this->border);\n\t\t\t\t\t\t$this->drawSecondLine($border2_width, $border_height, ($this->border * 2 + $border1_width), $this->border);\n\t\t\t\t\t\t$this->drawSecondLine($border3_width, $border_height, ($this->border * 3 + $border1_width + $border2_width), $this->border);\n\t\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t\tcase 10:\n\t\t\t\t\t($this->parObj->type == 'preview') ? $coeffR = 1 - ($this->border * 4 * 100)/$this->preHeight/100 : $coeffR = 1 - ($this->border * 4 * 100)/$this->paneHeight/100;\n\t\t\t\t\t$coeffC = 1 - ($this->border * 3 * 100)/$this->paneWidth/100;\n\t\t\t\t\tif ($this->distanceCol) {\n\t\t\t\t\t\tlist($distanceC1, $distanceC2) = explode(':', $this->distanceCol);\n\t\t\t\t\t\tif (!$distanceC1) {\n\t\t\t\t\t\t\t$distanceC1Proportional = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ($this->parObj->type == 'preview') {\n\t\t\t\t\t\t\t\t$distanceC1 = round($distanceC1 * $this->parObj->ratio);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$distanceC1 = round($distanceC1 * $coeffC);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!$distanceC2) {\n\t\t\t\t\t\t\t$distanceC2Proportional = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ($this->parObj->type == 'preview') {\n\t\t\t\t\t\t\t\t$distanceC2 = round($distanceC2 * $this->parObj->ratio);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$distanceC2 = round($distanceC2 * $coeffR);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ($this->distanceRow) {\n\t\t\t\t\t\tlist($distanceR,) = explode(':', $this->distanceRow);\n\t\t\t\t\t\tif (!$distanceR) {\n\t\t\t\t\t\t\t$distanceRProportional = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif ($this->parObj->type == 'preview') {\n\t\t\t\t\t\t\t\t$distanceR = round($distanceR * $this->parObj->ratio);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$distanceR = round($distanceR * $coeffR);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif (!$this->distanceCol|| isset($distanceC1Proportional)) {\n\t\t\t\t\t\t$distanceC1 = round(($this->paneWidth - $this->border * 4)/3);\n\t\t\t\t\t}\n\t\t\t\t\tif (!$this->distanceCol || isset($distanceC2Proportional)) {\n\t\t\t\t\t\t$distanceC2 = round((($this->paneWidth - $this->border * 4) - $distanceC1)/2) + $distanceC1 + $this->border;\n\t\t\t\t\t}\n\t\t\t\t\tif (!$this->distanceRow || $distanceRProportional) {\n\t\t\t\t\t\t$distanceR = round(($this->paneHeight - $this->border * 3)/2);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t$border1_height = ($this->paneHeight - $this->border * 3) - (($this->paneHeight - $this->border * 3) - $distanceR);\n\t\t\t\t\t$border2_height = ($this->paneHeight - $this->border * 3) - $border1_height;\n\t\t\t\t\t$border1_width = ($this->paneWidth - $this->border * 4) - (($this->paneWidth - $this->border * 4) - $distanceC1);\n\t\t\t\t\t$border2_width = ($this->paneWidth - $this->border * 4) - (($this->paneWidth - $this->border * 4) - $distanceC2) - $border1_width - $this->border;\n\t\t\t\t\t$border3_width = ($this->paneWidth - $this->border * 4) - $border1_width - $border2_width;\n\t\t\t\t\t\n\t\t\t\t\t$b1Im = imagecreatetruecolor($border1_width, $border1_height);\n\t\t\t\t\t$b2Im = imagecreatetruecolor($border2_width, $border1_height);\n\t\t\t\t\t$b3Im = imagecreatetruecolor($border3_width, $border1_height);\n\t\t\t\t\t$b4Im = imagecreatetruecolor($border1_width, $border2_height);\n\t\t\t\t\t$b5Im = imagecreatetruecolor($border2_width, $border2_height);\n\t\t\t\t\t$b6Im = imagecreatetruecolor($border3_width, $border2_height);\n\t\t\t\t\timagefilledrectangle($b1Im, 1, 1, ($border1_width - 2), ($border1_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b2Im, 1, 1, ($border2_width - 2), ($border1_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b3Im, 1, 1, ($border3_width - 2), ($border1_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b4Im, 1, 1, ($border1_width - 2), ($border2_height - 2), $this->paneColors['white']);\t\t\t\t\t\t\t\t\t\n\t\t\t\t\timagefilledrectangle($b5Im, 1, 1, ($border2_width - 2), ($border2_height - 2), $this->paneColors['white']);\n\t\t\t\t\timagefilledrectangle($b6Im, 1, 1, ($border3_width - 2), ($border2_height - 2), $this->paneColors['white']);\n\t\t\t\t\t\n\t\t\t\t\timagecopymerge($this->paneIm, $b1Im, $this->border, $this->border, 0, 0, $border1_width, $border1_height, 100);\n\t\t\t\t\timagecopymerge($this->paneIm, $b2Im, ($border1_width + $this->border * 2), $this->border, 0, 0, $border2_width, $border1_height, 100);\n\t\t\t\t\timagecopymerge($this->paneIm, $b3Im, ($border1_width + $border2_width + $this->border * 3), $this->border, 0, 0, $border3_width, $border1_height, 100);\n\t\t\t\t\timagecopymerge($this->paneIm, $b4Im, $this->border, ($this->border * 2 + $border1_height), 0, 0, $border1_width, $border2_height, 100);\n\t\t\t\t\timagecopymerge($this->paneIm, $b5Im, ($border1_width + $this->border * 2), ($this->border * 2 + $border1_height), 0, 0, $border2_width, $border2_height, 100);\n\t\t\t\t\timagecopymerge($this->paneIm, $b6Im, ($border1_width + $border2_width + $this->border * 3), ($this->border * 2 + $border1_height), 0, 0, $border3_width, $border2_height, 100);\n\t\t\t\t\t\n\t\t\t\t\tif ($this->innerPadding) {\n\t\t\t\t\t\t$this->drawSecondLine($border1_width, $border1_height, $this->border, $this->border);\n\t\t\t\t\t\t$this->drawSecondLine($border2_width, $border1_height, ($border1_width + $this->border * 2), $this->border);\n\t\t\t\t\t\t$this->drawSecondLine($border3_width, $border1_height, ($border1_width + $border2_width + $this->border * 3), $this->border);\n\t\t\t\t\t\t$this->drawSecondLine($border1_width, $border2_height, $this->border, ($this->border * 2 + $border1_height));\n\t\t\t\t\t\t$this->drawSecondLine($border2_width, $border2_height, ($border1_width + $this->border * 2), ($this->border * 2 + $border1_height));\n\t\t\t\t\t\t$this->drawSecondLine($border3_width, $border2_height, ($border1_width + $border2_width + $this->border * 3), ($this->border * 2 + $border1_height));\n\t\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\t\n\t\t\t\tbreak;\n\t\t\t}\n\t\t} else {\n\t\t\t$border_width = $this->paneWidth - ($this->border * 2);\n\t\t\t$border_height = $this->paneHeight - ($this->border * 2);\n\t\t\t$bIm = imagecreatetruecolor($border_width, $border_height);\n\t\t\timagefilledrectangle($bIm, 1, 1, ($border_width - 2), ($border_height - 2), $this->paneColors['white']);\n\t\t\t// add $bIm to main Pane\n\t\t\timagecopymerge($this->paneIm, $bIm, $this->border, $this->border, 0, 0, $border_width, $border_height, 100);\n\t\t\t\n\t\t\tif ($this->innerPadding) {\n\t\t\t\t$this->drawSecondLine($this->paneWidth - $this->border * 2, $this->paneHeight - $this->border * 2, $this->border, $this->border);\n\t\t\t}\n\t\t}\n\t\t\n\t\t// corners\n\t\t$this->drawCorners();\n\t\t\n\t\t// doorknob\n\t\t$this->drawDoorknob();\n\t\t\n\t\t// separator\n\t\t$this->drawSeparator();\n\t\t\n\t\t// stars\n\t\t$this->drawStars($gray);\n\t\t\n\t\t// signs\n\t\t$this->drawSign();\n\t\t\n\t\t// dashedline\n\t\t$this->drawDashed();\n\t}", "public function create()\n\t{\n\t\t//\n return view('maps.create');\n\t}" ]
[ "0.5840418", "0.5577389", "0.55369645", "0.55233467", "0.547131", "0.54246974", "0.5302682", "0.5161349", "0.51374346", "0.5133541", "0.5129328", "0.51198494", "0.51070064", "0.50815594", "0.50811994", "0.50790715", "0.50578594", "0.504528", "0.50208163", "0.50202066", "0.4997483", "0.49968296", "0.49605078", "0.49401873", "0.49172685", "0.49152225", "0.49129114", "0.49099708", "0.49068534", "0.49039158" ]
0.6759445
0
Check if pano exists
public function exists() { $this->loadFromDB(); if($this->panoFolderPath == "") { return false; } if(!is_dir($this->panoFolderPath)) { return false; } if($this->xml_configuration == "") { return false; } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function exists($view):bool{\r\n return in_array($view,scandir(Env::app('VIEWS').'Pages'));\r\n }", "public function exist() {\n if($this->page->getId() === 0) {\n return false;\n } else {\n return true;\n }\n }", "public function existsApelido()\n {\n $obj = $this->objectByFields(null, null, null, null, null, null, null, null, null, null, null, null, $this->Apelido, null, null, null);\n return !($obj && ($obj->IdPessoa === $this->IdPessoa));\n }", "public function noExiste()\n {\n return $this->primero(PIPE::OBJETO) ? false : true;\n }", "public function isPaciente()\n {\n return $this->tipo == self::$tipos[1];\n }", "public function testExiste() {\n $mazo = new Mazo;\n\n $this->assertTrue(isset($mazo));\n }", "public function existe()\n {\n return $this->primero(PIPE::OBJETO) ? true : false;\n }", "public function isExists() {\n }", "private static function isExistingJiaoyuProject($path) {\n\t\t\t// Does this path even exist?\n\t\t\tif (!file_exists($path)) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\t// Make sure this is a path to a directory (and not a file)\n\t\t\tif (!is_dir($path)) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tif (preg_match(\"/.+\\/$/\", $path)) {\n\t\t\t\tif (file_exists($path . self::CORE_CONFIG_FILE)) {\n\t\t\t\t\treturn true;\n\t\t\t\t} else {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (file_exists($path . \"/\" . self::CORE_CONFIG_FILE)) {\n\t\t\t\t\treturn true;\n\t\t\t\t} else {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn false;\n\t\t}", "function testRpnPageExists() {\n $this->get(PAGE_URL);\n $this->assertText(PAGE_H1);\n }", "public function hasPokeStorage()\n {\n return $this->poke_storage !== null;\n }", "private function isOwnProject(): bool\n {\n return $this->getComposer()->getPackage()->getPrettyName() === 'flying/wordpress-composer';\n }", "public function exists ( $view )\n {\n try {\n $this->finder->find ( $view );\n }\n catch ( \\InvalidArgumentException $e ) {\n return false;\n }\n\n return true;\n }", "function existePartie() {\n return ($this->partie != null);\n }", "public function exists(): bool;", "public function exists(): bool;", "public function exists(): bool;", "public function exists(): bool;", "public function exists(): bool;", "public function isProject()\n {\n return ($this->isInitted()\n && FileStorage::isUsefulDirectory($this->directory . \"/pages/\") # does have \"pages\" folder\n );\n }", "public function exists()\n\t{\n\t\treturn true;\n\t}", "public function exists()\n {\n return false;\n }", "protected function exists(): bool\n {\n return $this->wizard->exists();\n }", "public function exists($scene);", "private function checkDirectoriosView() {\n\n if (is_object($this->controladorObject)):\n $this->vista->layout = $this->controladorObject->layout;\n $this->vista->definirDirectorios();\n endif;\n\n }", "public function doesMapExist(){\n\t\tif($this->robotMaps){\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "public function exists();", "public function exists();", "public function exists();", "public function exists();" ]
[ "0.59549147", "0.59044045", "0.58905286", "0.58184415", "0.56619096", "0.563675", "0.56271297", "0.559885", "0.55681926", "0.5546756", "0.552762", "0.55272114", "0.5526797", "0.547638", "0.5427816", "0.5427816", "0.5427816", "0.5427816", "0.5427816", "0.54258555", "0.54245603", "0.54159355", "0.54133004", "0.5401384", "0.53918463", "0.5387464", "0.537979", "0.537979", "0.537979", "0.537979" ]
0.64468074
0
Load panoinformation from database
public function loadFromDB() { $database_infos = nggpano_getImagePanoramicOptions($this->pid); if($database_infos) { //set properties $this->panoFolder = $database_infos->pano_directory; $this->setpanoFolderPath(); $this->xml_configuration = $database_infos->xml_configuration; $this->is_partial = $database_infos->is_partial; $this->hfov = $database_infos->hfov; $this->vfov = $database_infos->vfov; $this->voffset = $database_infos->voffset; $this->gid = $database_infos->gid; $this->gps_lat = $database_infos->gps_lat; $this->gps_lng = $database_infos->gps_lng; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract public function loadFromDb();", "public static function loadFromDatabase();", "private function load() {\n\t\t$this->deserialize(DatabaseController::select($this));\n\t}", "public function loadDataFromDb() {\n \n }", "function load_from_database () : bool {\n $db = $this->getDatabase();\n\n $id = $db->escape($this->id);\n $sql = \"SELECT * FROM \" . TABLE_PROFILES_PHOTOS . \" WHERE photo_id = '\" . $id . \"'\";\n if (!($result = $db->query($sql))) {\n message_die(SQL_ERROR, \"Unable to query azhar_profiles_photos\", '', __LINE__, __FILE__, $sql);\n }\n if (!$row = $db->fetchRow($result)) {\n $this->lastError = \"photo unknown: \" . $this->id;\n return false;\n }\n $this->perso_id = $row['perso_id'];\n $this->name = $row['photo_name'];\n $this->description = $row['photo_description'];\n $this->avatar = $row['photo_avatar'];\n return true;\n }", "function loadFromDB() {\n\n\t}", "public function loadData()\n {\n $db = $this->getDb();\n\n $sql = <<<SQL\n\nSQL;\n\n return $db->select($sql);\n\n }", "function load_from_database (): bool {\n $db = $this->getDatabase();\n\n $id = $db->escape($this->perso->id);\n $sql = \"SELECT * FROM \" . TABLE_PROFILES . \" WHERE perso_id = '$id'\";\n if (!($result = $db->query($sql))) {\n message_die(SQL_ERROR, \"Unable to query azhar_profiles\", '', __LINE__, __FILE__, $sql);\n }\n if (!$row = $db->fetchRow($result)) {\n $this->lastError = \"Profile unknown: \" . $this->perso_id;\n return false;\n }\n\n $this->text = $row['profile_text'];\n $this->updated = $row['profile_updated'];\n $this->fixedwidth = $row['profile_fixedwidth'];\n\n return true;\n }", "public function loadFromDatabase()\n\t{\n\t\tif (!isset($this->fields))\n\t\t{\n\t\t\t//From down to up\n\t\t\t$select = array_values($this->fieldMap);\n\t\t\t$this->dbPath = array();\n\t\t\t$id = $this->id;\n\t\t\twhile ($id > 0)\n\t\t\t{\n\t\t\t\t$sectionList = \\Bitrix\\Iblock\\SectionTable::getList(array(\n\t\t\t\t\t\"select\" => $select,\n\t\t\t\t\t\"filter\" => array(\"=ID\" => $id),\n\t\t\t\t));\n\t\t\t\t$section = $sectionList->fetch();\n\t\t\t\tif ($section)\n\t\t\t\t\t$this->dbPath[] = $section;\n\t\t\t\telse\n\t\t\t\t\tbreak;\n\t\t\t\t$id = $section[\"IBLOCK_SECTION_ID\"];\n\t\t\t}\n\t\t\t//Reversed from up to down\n\t\t\t//and laid by fields\n\t\t\t$this->fields = array();\n\t\t\tfor($i = count($this->dbPath)-1; $i >= 0; $i--)\n\t\t\t{\n\t\t\t\tforeach($this->dbPath[$i] as $fieldName => $fieldValue)\n\t\t\t\t{\n\t\t\t\t\t$this->fields[$fieldName][] = $fieldValue;\n\t\t\t\t}\n\t\t\t}\n\t\t\t$this->loadProperty();\n\t\t}\n\t\treturn is_array($this->fields);\n\t}", "private function preload()\n {\n $config = $this->config('db');\n if (!isset($config[0]['driver'])) {\n throw new \\Exception(\"Database driver name must be declared\", 500);\n }\n $driver = $config[0]['driver'];\n if (!isset($config[0]['driver'])) {\n $driver = $this->config('database_driver');\n }\n if (trim($driver) == \"\") {\n throw new \\Exception(\"No database driver to load\", 500);\n }\n $this->_dataset['driver'] = 'Djokka\\\\Database\\\\Drivers\\\\' . $driver;\n\n $this->table('labels', $this->labels());\n if (!TableCollection::getInstance()->exists($this->tableName()))\n {\n $desc = $this->getDriver('Table')->desc($this->tableName());\n if ($desc !== null) {\n $pkey = null;\n $temp = array();\n foreach ($desc as $schema) {\n $field = null;\n $info = array();\n foreach ($schema as $key => $value) {\n if ($key == 'Field') {\n $field = $value;\n } else {\n $info[$key] = $value;\n if ($key == 'Key' && $value == 'PRI') {\n $pkey = $field;\n }\n }\n }\n $fields[] = $field;\n $temp['describe'][$field] = $info;\n }\n $temp['fields'] = $fields;\n $temp['primary_key'] = $pkey;\n $this->table($temp);\n }\n }\n }", "public function loadFromDb() {\n\t\t$statement = $GLOBALS['pdo']->prepare('SELECT * FROM dancer WHERE id = :id');\n\t\t$statement->execute(['id' => $this->id]);\n\t\t$row = $statement->fetch();\n\n\t\t//Extract from table row\n\t\t$this->firstName = $row['firstName'];\n\t\t$this->lastName = $row['lastName'];\n\t\t$this->name = $row['firstName'] . \" \" . $row['lastName'];\n\t\t$this->city = $row['city'];\n\n\t\t//Fetch from city table (via City class)\n\t\t$cityObject = new City($this->city);\n\t\t$cityDetails = $cityObject->export();\n\t\t$this->cityName = $cityDetails['name'];\n\t\t$this->country = $cityDetails['country'];\n\n\t}", "protected function load() {}", "public function load();", "public function load();", "public function load();", "public function load();", "public function load();", "public function load();", "public function load();", "public function load();", "public function load();", "public function load();", "public function load();", "public function load();", "public function load();", "public function getObjectFromDB() {\r\n if($this->error == false) {\r\n //Throw an error if a file doesn't exist\r\n //VIEWER\r\n //check to see if krpano viewer file exists\r\n if(!file_exists(trailingslashit($this->krpanoFolderPath) . $this->krpanoSWF)) {\r\n $this->errmsg = $this->krpanoSWF .' file not found in ' . $this->krpanoFolder;\r\n $this->error = true;\r\n }\r\n //check to see if Skin file exists\r\n elseif(!file_exists($this->viewerTemplatePath)) {\r\n $this->errmsg = 'Template file '. $this->viewerTemplate .' not found';\r\n $this->error = true;\r\n }\r\n //check to see if pano correctly build\r\n elseif(!$this->exists()) {\r\n $this->errmsg = 'Panorama not found';\r\n $this->error = true;\r\n }\r\n }\r\n \r\n if($this->error == false) {\r\n //load pano information from database\r\n $this->loadFromDB();\r\n return $this;\r\n\r\n } else {\r\n return false;\r\n }\r\n\r\n }", "function load_pod($params) {\n $params = (object) $params;\n if (!empty($params->id) || !empty($params->name)) {\n $where = empty($params->id) ? \"name = '$params->name'\" : \"id = $params->id\";\n $result = pod_query(\"SELECT * FROM @wp_pod_types WHERE $where LIMIT 1\");\n if (0 < mysql_num_rows($result)) {\n $pod = mysql_fetch_assoc($result);\n $pod['fields'] = array();\n $result = pod_query(\"SELECT id, name, coltype, pickval, required, weight FROM @wp_pod_fields WHERE datatype = {$pod['id']} ORDER BY weight\");\n while ($row = mysql_fetch_assoc($result)) {\n $pod['fields'][$row['name']] = $row;\n }\n\n return $pod;\n }\n }\n return false;\n }", "public function preLoadData()\n {\n $obj_query=new querry_select(\"SELECT column_name,data_type \n FROM all_tab_columns \n WHERE table_name='\".$this->stri_table_name.\"'\");\n $obj_query->execute();\n foreach($obj_query->getResult() as $arra_result)\n {\n $this->arra_simple_attribut[$arra_result[0]]['type']=$arra_result[1];\n }\n \n $this->convertTypeOracleToTypePhp(); \n }", "protected abstract function load();", "public function load() {}" ]
[ "0.6610451", "0.6468537", "0.62676215", "0.6197418", "0.6014191", "0.59359044", "0.5823758", "0.5811661", "0.5772353", "0.56902415", "0.567475", "0.562464", "0.5611218", "0.5611218", "0.5611218", "0.5611218", "0.5611218", "0.5611218", "0.5611218", "0.5611218", "0.5611218", "0.5611218", "0.5611218", "0.5611218", "0.5611218", "0.5610987", "0.5588363", "0.55852914", "0.5518758", "0.55175894" ]
0.7203311
0
Set HFOV for DB save
public function setHFov($hfov) { if($hfov) $this->hfov = $hfov; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function vqfInfo()\n {\n $this->mediaInfo['audio']['format_name'] = 'VQF';\n }", "public function setVFov($vfov)\r\n {\r\n if($vfov)\r\n $this->vfov = $vfov;\r\n }", "public function saveVcfAsFile(){\n\t\t\n\t}", "public function setF3(){\n $this->f3 = \\Base::instance();\n }", "function save() {\n\t\tforeach($this->dic_list as $dic) {\n\t\t if (Z::c()->selectCell(\"SELECT count(*) FROM t_dic WHERE fidx_path = ?\", $dic[\"idx_path\"])) continue;\n\t\t $tmp = array(\n\t\t\t\t\"fstate_id\" => 1,\n\t\t\t\t\"fidx_path\" => $dic[\"idx_path\"],\n\t\t\t\t\"fdict_path\" => $dic[\"dict_path\"],\n\t\t\t\t\"fversion\" => $dic[\"version\"],\n\t\t\t\t\"fwordcount\" => $dic[\"wordcount\"],\n\t\t\t\t\"fidxfilesize\" => $dic[\"idxfilesize\"],\n\t\t\t\t\"fbookname\" => $dic[\"bookname\"],\n\t\t\t\t\"fdate\" => $dic[\"date\"],\n\t\t\t\t\"fsts\" => $dic[\"sametypesequence\"],\n\t\t\t\t\"fdescription\" => $dic[\"description\"],\n\t\t\t\t\"ferror\" => $dic[\"error\"],\n\t\t );\n\n\t\t # Set error state\n\t\t if ($tmp[\"ferror\"]) $tmp[\"fstate_id\"] = -1;\n\t\t \n\t\t\tZ::c()->query(\"INSERT INTO t_dic (?#) VALUES (?a)\", array_keys($tmp), array_values($tmp));\n\t\t}\n }", "public static function save_dbversion()\n\t{\n\t\tOptions::set( 'db_version', Version::DB_VERSION );\n\t}", "function setting_flavor() {\n $data['welcome'] = $this;\n $sess = $this->session->all_userdata();\n $uid = $sess[0]->id;\n $user = $sess['0']->username;\n $data['tab'] = 'Flavor';\n $data['flavorData'] = $this->videos_model->getFlavorData();\n $settings_key = 'flavor_settings';\n if (isset($_POST['submit']) && $_POST['submit'] == 'Save') {\n $redirect_url = $_REQUEST['redirect_url'];\n $checkDataF = $this->videos_model->checkFlavorData($settings_key, $uid);\n $post['value'] = serialize($_POST['flavors']);\n if ($checkDataF >= 1) {\n $post['modified'] = date('Y-m-d H:i:s');\n $result = $this->videos_model->update_flavorOption($post, $settings_key, $uid);\n } else {\n $post['user_id'] = $uid;\n $post['key'] = $settings_key;\n $post['group'] = 'flavors';\n $post['created'] = date('Y-m-d H:i:s');\n $result = $this->videos_model->insert_flavorOption($post);\n }\n $msg = $this->loadPo($this->config->item('success_flavor_update'));\n $this->log($this->user, $msg);\n $this->session->set_flashdata('message', $this->_successmsg($msg));\n redirect($redirect_url);\n exit;\n } else {\n //$data['allCategory'] = $this->category_model->getAllCategory();\n $this->show_view('video_settings', $data);\n }\n }", "public function setStemH($stemh)\n {\n $this['StemH'] = $stemh;\n }", "public function setHash(FileHash $fh) {\n $fn = $fh->getFilename();\n $hash = $fh->getHash();\n $this->data[$fn] = $hash;\n }", "private function save_favorite_data()\n\t{\n\t\t// Delete relationship when unfavourited\n\t\t// Also delete the relationship just before favouriting, to ensure it doesn't get two records\n\t\t$user = Auth::instance()->get_user();\n\t\tDB::delete(self::FAVORITES_TABLE)->where('user_id', '=', $user['id'])->where('report_id', '=', $this->id)->execute();\n\n\t\t// Add relationship, when favourited\n\t\tif ($this->is_favorite)\n\t\t{\n\t\t\tDB::insert(self::FAVORITES_TABLE)->columns(array('user_id', 'report_id'))->values(array($user['id'], $this->id))->execute();\n\t\t}\n\t}", "public function setHoraFim( $horaFim ) {\n $this->horaFim = $horaFim;\n }", "public static function set_huser($huser)\n\t{\n\t\t// Sets the history table name \n\t\tif ( \\bbn\\str\\text::is_number($huser) ){\n\t\t\tself::$huser = $huser;\n\t\t}\n\t}", "protected function saveDBImage($file , $obj ){\n $file->file = $obj['file'];\n $file->title = $obj['title'];\n $file->gallery_id = $this->gallery->id;\n $file->user_id = $this->gallery->user_id;\n $file->user_ip = ip2long($_SERVER['REMOTE_ADDR']);\n $file->save();\n }", "function _saveLogo()\r\n\t{\r\n\t\t$dt = $this->_dt;\r\n\r\n\t\t// Control the team id\r\n\t\t$infos['team_id'] = kform::getInput('teamId', -1);\r\n\t\tif ($infos['team_id'] == -1)\r\n\t\t{\r\n\t \t\t$page = new kPage('none');\r\n\t \t\t$page->close();\r\n\t \t\texit;\r\n\t\t}\r\n\r\n\t\t// Verify if the image is local\r\n\t\t$infos['team_logo'] = '';\r\n\t\t$fileObj = kform::getInput('image', NULL);\r\n\t\t$fileName = $fileObj['name'];\r\n\t\tif ($fileName == NULL) $fileName = kform::getData();\r\n\t\tif ($fileName != NULL)\r\n\t\t{\r\n\t // No local image, so try to dowload it\r\n\t \t\tif (utimg::getPathTeamLogo($fileName)==false)\r\n\t \t\t{\r\n\t \t\t\t$up = new utFile();\r\n\t \t\t\t$res = $up->upload(\"image\", utimg::getPathTeamLogo());\r\n\t \t\t\tif (isset($res['errMsg']))\r\n\t \t\t\t{\r\n\t \t\t\t\techo $res['errMsg'];\r\n\t \t\t\t\t$hide['teamId'] = kform::getInput('teamId', -1);\r\n\t \t\t\t\tutimg::selectTeamLogo('teams', TEAM_UPDATE_LOGO, $hide);\r\n\t \t\t\t}\r\n\t \t\t\telse $fileName = $res['file'];\r\n\t \t\t}\r\n\t \t\tif (utimg::getPathTeamLogo($fileName)!=false) $infos['team_logo'] = $fileName;\r\n\t\t}\r\n\t\t// Update the team\r\n\t\t$res = $dt->updateTeam($infos);\r\n\t\tif (is_array($res))\r\n\t\t{\r\n\t\t\t$infos['errMsg'] = $res['errMsg'];\r\n\t\t}\r\n\t\t$page = new kPage('none');\r\n\t\t$page->close();\r\n\t\texit;\r\n\t}", "public function write() {\n\t\t$data = json_encode($this->data);\n\t\t$file = $this->fileName;\n\n\t\t$db = new stdClass();\n\t\tif (!is_null($this->subversion)) {\n\t\t\t$db->maDb = $this->version . $this->subversion;\n\t\t}\n\t\telse {\n\t\t\t$db->maDb = $this->version;\n\t\t}\n\t\t$db->records = $data;\n\n\t\tapi::log(__CLASS__ . ': Zápis souboru ' . $file);\n\t\tfile_put_contents($file, $db);\n\t}", "function save()\n {\n $this->_reaktorfile->save();\n $this->_isunsaved = false;\n }", "public function save_Volatile($objeto){\n\n\t\t\t//echo $objeto->vid;\n\t\t\t$vid = $objeto->vid;\n\t\t\t$imei = $objeto->imei;\n\t\t\t$lat = $objeto->lat;\n\t\t\t$lon = $objeto->lon;\n\t\t\t//$eventTime = $objeto->eventTime;\n\t\t\t//$eventTime = date(\"Y-m-d H:i:s\");\n\t\t\t$eventTime = $objeto->eventTime;\n\t\t\t$tx = $objeto->tx;\n\t\t\tif (empty($tx)) {\n\t\t\t\t$tx = \"0,0,0,0,0\";\n\t\t\t}\n\t\t\t//$tx = \"0,1,2,3,4\";\n\t\t\t$trama = explode(\",\", $tx);\n\t\t\t$up = $trama[0];\n\t\t\t$down = $trama[1];\n\t\t\t$abord = $trama[2];\n\t\t\t$false_up = $trama[3];\n\t\t\t$false_down = $trama[4];\n\n\t\t\tif ($this->mysqli->query(\"INSERT INTO data_frame2 VALUES (default, '$up', '$down', '$abord', '$false_up', '$false_down', '$eventTime', '$lat', '$lon', '$imei', '$vid')\")) {\n\t\t\t\techo \"Se ingresaron los registros\";\n\t\t\t}\n\t\t\telse{\n\t\t \t\n\t\t\t\t\techo \"Se ingresaron los registros\";\n\t\t\t}\n\t\t\t\t\n\n \t }", "function save_to_database () : void {\n $db = $this->getDatabase();\n\n //Escapes fields\n $id = $this->id ? \"'\" . $db->escape($this->id) . \"'\" : 'NULL';\n $perso_id = $db->escape($this->perso_id);\n $name = $db->escape($this->name);\n $description = $db->escape($this->description);\n $avatar = $this->avatar ? 1 : 0;\n\n //Saves\n $sql = \"REPLACE INTO \" . TABLE_PROFILES_PHOTOS . \" (`photo_id`, `perso_id`, `photo_name`, `photo_description`, `photo_avatar`) VALUES ($id, '$perso_id', '$name', '$description', $avatar)\";\n if (!$db->query($sql)) {\n message_die(SQL_ERROR, \"Unable to save\", '', __LINE__, __FILE__, $sql);\n }\n if (!$id) {\n //Gets new record id value\n $this->id = $db->nextId();\n }\n }", "public function save() {\n\t\tif( ! $this->filtered )\n\t\t\tupdate_option( $this->name, $this->scope );\n\t}", "function save_feature_on_product_save() {\n\t\t// Abort if we can't determine a product type\n\t\tif ( ! $product_type = it_exchange_get_product_type() )\n\t\t\treturn;\n\n\t\t// Abort if we don't have a product ID\n\t\t$product_id = empty( $_POST['ID'] ) ? false : $_POST['ID'];\n\t\tif ( ! $product_id )\n\t\t\treturn;\n\n\t\t// Abort if this product type doesn't support this feature\n\t\tif ( ! it_exchange_product_type_supports_feature( $product_type, 'featured-video' ) )\n\t\t\treturn;\n\n\t\t// Abort if key for feature option isn't set in POST data\n\t\tif ( ! isset( $_POST['it-exchange-product-featured-video'] ) )\n\t\t\treturn;\n\n\t\t// Get new value from post\n\t\t$new_value = $_POST['it-exchange-product-featured-video'];\n\n\t\t// Save new value\n\t\tit_exchange_update_product_feature( $product_id, 'featured-video', $new_value );\n\t}", "function borra() {\n $this->setGolL(null);\n $this->setGolV(null);\n $this->persist();\n }", "public function save() {\n $db = Db::instance();\n // omit id and any timestamps\n $db_properties = array(\n 'title' => $this->title,\n 'brand' => $this->brand,\n 'speed' => $this->speed,\n 'weight' => $this->weight,\n 'basic_description' => $this->basic_description,\n 'secondary_desc' => $this->secondary_desc,\n 'price' => $this->price,\n 'price_range' => $this->price_range,\n 'size' => $this->size,\n 'hard_drive' => $this->hard_drive,\n 'image_url' => $this->img_url,\n 'user_id' => $this->user_id\n );\n $db->store($this, __CLASS__, self::DB_TABLE, $db_properties);\n }", "public function save_school_logo($logo_detail);", "private function _v200()\n {\n // Add extra table attrs\n ee()->db->query(\"ALTER TABLE `exp_pro_variables` ADD `save_as_file` char(1) NOT NULL DEFAULT 'n'\");\n ee()->db->query(\"ALTER TABLE `exp_pro_variables` ADD `edit_date` int(10) unsigned default 0 NOT NULL\");\n\n // Change settings to smaller array\n $query = ee()->db->select('variable_id, variable_type, variable_settings')->from('pro_variables')->get();\n\n foreach ($query->result_array() as $row) {\n $settings = unserialize($row['variable_settings']);\n $settings = base64_encode(serialize($settings[$row['variable_type']]));\n\n ee()->db->where('variable_id', $row['variable_id']);\n ee()->db->update('pro_variables', array('variable_settings' => $settings));\n }\n }", "public function save()\r\n {\r\n global $wpdb;\r\n \r\n $error = true; \r\n \r\n $pid = $this->pid;\r\n $gid = $this->gid;\r\n \r\n //correct values\r\n $hfov = $this->hfov ? $this->hfov : 'null';\r\n $vfov = $this->vfov ? $this->vfov : 'null';\r\n $voffset = $this->voffset ? $this->voffset : 'null';\r\n \r\n \r\n if(nggpano_getImagePanoramicOptions($pid)) {\r\n $query = \"UPDATE \".$wpdb->prefix.\"nggpano_panoramic SET \";\r\n $query .= \"pano_directory = '\" . $this->panoFolder . \"', \";\r\n $query .= \"xml_configuration = '\" . $this->xml_configuration . \"', \";\r\n $query .= \"is_partial = '\" . $this->is_partial . \"', \";\r\n $query .= \"hfov = \" . $hfov . \", \";\r\n $query .= \"vfov = \" . $vfov . \", \";\r\n $query .= \"voffset = \" . $voffset . \" \";\r\n $query .= \"WHERE pid = '\".$wpdb->escape($pid).\"'\";\r\n \r\n if($wpdb->query($query) !== false) {\r\n \r\n $error = false; \r\n $message = __('Panoramic datas successfully saved','nggpano');\r\n } else {\r\n $message = 'Error with database';\r\n };\r\n }else{\r\n $query = \"INSERT INTO \".$wpdb->prefix.\"nggpano_panoramic (id, pid, gid, pano_directory, xml_configuration, is_partial, hfov, vfov, voffset) \";\r\n $query .= \"VALUES (null, '\".$wpdb->escape($pid).\"', \";\r\n $query .= \"'\" . $wpdb->escape($gid) . \"', \";\r\n $query .= \"'\" . $this->panoFolder . \"', \";\r\n $query .= \"'\" . $this->xml_configuration . \"', \";\r\n $query .= \"'\" . $this->is_partial . \"', \";\r\n $query .= \"\" . $hfov . \", \";\r\n $query .= \"\" . $vfov . \", \";\r\n $query .= \"\" . $voffset . \" \";\r\n $query .= \")\";\r\n \r\n if($wpdb->query($query) !== false) {\r\n $error = false;\r\n $message = __('Panoramic datas successfully saved','nggpano');\r\n } else {\r\n $message = 'Error with database';\r\n };\r\n }\r\n \r\n if($this->error == false && $error ) {\r\n $this->errmsg = $message;\r\n $this->error = true;\r\n \r\n } \r\n \r\n// echo $query;\r\n// echo \"<hr/>\";\r\n// echo $message;\r\n }", "public function setOneofs($var) {}", "function vqfInfo() {\n\t\t$this->result['format_name'] = 'VQF';\n\t}", "public static function set_hcol($hcol)\n\t{\n\t\tif ( text::check_name($hcol) ){\n\t\t\tself::$hcol = $hcol;\n\t\t}\n\t}", "public function saveInYf(): void\n\t{\n\t\tforeach ($this->dataYf as $key => $value) {\n\t\t\t$this->recordModel->set($key, $value);\n\t\t}\n\t\tif ($this->recordModel->isEmpty('assigned_user_id')) {\n\t\t\t$this->recordModel->set('assigned_user_id', $this->synchronizer->config->get('assigned_user_id'));\n\t\t}\n\t\tif (\n\t\t\t$this->recordModel->isEmpty('woocommerce_id')\n\t\t\t&& $this->recordModel->getModule()->getFieldByName('woocommerce_id')\n\t\t\t&& !empty($this->dataApi['id'])\n\t\t) {\n\t\t\t$this->recordModel->set('woocommerce_id', $this->dataApi['id']);\n\t\t}\n\t\t$this->recordModel->set('woocommerce_server_id', $this->synchronizer->config->get('id'));\n\t\t$isNew = empty($this->recordModel->getId());\n\t\t$this->recordModel->save();\n\t\t$this->recordModel->ext['isNew'] = $isNew;\n\t\tif ($isNew && $this->recordModel->get('woocommerce_id')) {\n\t\t\t$this->synchronizer->updateMapIdCache(\n\t\t\t\t$this->recordModel->getModuleName(),\n\t\t\t\t$this->recordModel->get('woocommerce_id'),\n\t\t\t\t$this->recordModel->getId()\n\t\t\t);\n\t\t}\n\t}", "function save_country_hdi_meta( $term_id, $tt_id ){\n if( isset( $_POST['country-hdi'] ) && '' !== $_POST['country-hdi'] ){\n $country_npl = filter_var($_POST['country-hdi'], FILTER_SANITIZE_NUMBER_FLOAT, FILTER_FLAG_ALLOW_FRACTION);\n add_term_meta( $term_id, 'country-hdi', $country_npl, true );\n }\n }" ]
[ "0.5348137", "0.5164645", "0.5023784", "0.49560267", "0.48799652", "0.4825638", "0.47771773", "0.47590715", "0.4753865", "0.4730586", "0.47221085", "0.47141033", "0.47109348", "0.4692351", "0.46732032", "0.46678036", "0.46558857", "0.4639957", "0.46392164", "0.46384197", "0.4634981", "0.46328807", "0.46158528", "0.4589709", "0.45778465", "0.45634136", "0.454787", "0.4545232", "0.45421106", "0.45316786" ]
0.66210043
0
Set VFOV for DB save
public function setVFov($vfov) { if($vfov) $this->vfov = $vfov; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function saveVcfAsFile(){\n\t\t\n\t}", "public function saveVariacionVolumen(array $data);", "private function vqfInfo()\n {\n $this->mediaInfo['audio']['format_name'] = 'VQF';\n }", "public static function save_dbversion()\n\t{\n\t\tOptions::set( 'db_version', Version::DB_VERSION );\n\t}", "function setVat($vat);", "public function save(VendLog $vendLog);", "public function save_Volatile($objeto){\n\n\t\t\t//echo $objeto->vid;\n\t\t\t$vid = $objeto->vid;\n\t\t\t$imei = $objeto->imei;\n\t\t\t$lat = $objeto->lat;\n\t\t\t$lon = $objeto->lon;\n\t\t\t//$eventTime = $objeto->eventTime;\n\t\t\t//$eventTime = date(\"Y-m-d H:i:s\");\n\t\t\t$eventTime = $objeto->eventTime;\n\t\t\t$tx = $objeto->tx;\n\t\t\tif (empty($tx)) {\n\t\t\t\t$tx = \"0,0,0,0,0\";\n\t\t\t}\n\t\t\t//$tx = \"0,1,2,3,4\";\n\t\t\t$trama = explode(\",\", $tx);\n\t\t\t$up = $trama[0];\n\t\t\t$down = $trama[1];\n\t\t\t$abord = $trama[2];\n\t\t\t$false_up = $trama[3];\n\t\t\t$false_down = $trama[4];\n\n\t\t\tif ($this->mysqli->query(\"INSERT INTO data_frame2 VALUES (default, '$up', '$down', '$abord', '$false_up', '$false_down', '$eventTime', '$lat', '$lon', '$imei', '$vid')\")) {\n\t\t\t\techo \"Se ingresaron los registros\";\n\t\t\t}\n\t\t\telse{\n\t\t \t\n\t\t\t\t\techo \"Se ingresaron los registros\";\n\t\t\t}\n\t\t\t\t\n\n \t }", "public function setVObjectFactory(IVObjectFactory $factory)\n {\n $this->vobjectFactory = $factory;\n }", "function setting_flavor() {\n $data['welcome'] = $this;\n $sess = $this->session->all_userdata();\n $uid = $sess[0]->id;\n $user = $sess['0']->username;\n $data['tab'] = 'Flavor';\n $data['flavorData'] = $this->videos_model->getFlavorData();\n $settings_key = 'flavor_settings';\n if (isset($_POST['submit']) && $_POST['submit'] == 'Save') {\n $redirect_url = $_REQUEST['redirect_url'];\n $checkDataF = $this->videos_model->checkFlavorData($settings_key, $uid);\n $post['value'] = serialize($_POST['flavors']);\n if ($checkDataF >= 1) {\n $post['modified'] = date('Y-m-d H:i:s');\n $result = $this->videos_model->update_flavorOption($post, $settings_key, $uid);\n } else {\n $post['user_id'] = $uid;\n $post['key'] = $settings_key;\n $post['group'] = 'flavors';\n $post['created'] = date('Y-m-d H:i:s');\n $result = $this->videos_model->insert_flavorOption($post);\n }\n $msg = $this->loadPo($this->config->item('success_flavor_update'));\n $this->log($this->user, $msg);\n $this->session->set_flashdata('message', $this->_successmsg($msg));\n redirect($redirect_url);\n exit;\n } else {\n //$data['allCategory'] = $this->category_model->getAllCategory();\n $this->show_view('video_settings', $data);\n }\n }", "public function save()\n {\n $this->validate(null, $this->getValidationMessages());\n\n if (! $this->manualVolume) {\n $this->variant->volume_unit = null;\n $this->variant->volume_value = null;\n }\n\n $data = $this->prepareAttributeData();\n $this->variant->attribute_data = $data;\n\n $this->variant->save();\n $this->savePricing();\n $this->updateImages();\n\n $this->updateSlots();\n\n $this->notify('Variant updated');\n }", "public function setVOffset($voffset)\r\n {\r\n //if(isset($voffset))\r\n $this->voffset = $voffset;\r\n }", "public function setVid($vid = \"\") \n {\n if ($vid) {\n $this->emvid = $vid;\n $this->appendPreScript(\"<a name=\\\"emos_vid\\\" title=\\\"$vid\\\"></a>\");\n }\n }", "public function setVCard($vCard);", "function saveVirtualAsset($row, $col) {\n\t\t\tglobal $uploaded_img_path;\n\t\t\tglobal $uploaded_img_url;\n\t\t\t\n\t\t\t$options = $col['virtual_data'];\n\t\t\t\n\t\t\tif (!empty($options['upload_path']))\n\t\t\t\t$uploaded_img_path = $col['virtual_data']['upload_path'];\n\t\t\tif (!empty($options['upload_url']))\n\t\t\t\t$uploaded_img_url = $col['virtual_data']['upload_url'];\n\n\t\t\t// copy the settings from the config file if set, falling back on $options or globals\n\t\t\tif (defined('GANGPLANK_UL_PATH') && empty($uploaded_img_path))\n\t\t\t\t$uploaded_img_path = GANGPLANK_UL_PATH;\n\t\t\tif (defined('GANGPLANK_UL_URL') && empty($uploaded_img_url))\n\t\t\t\t$uploaded_img_url = GANGPLANK_UL_URL;\n\t\t\t\t\n\t\t\t// still nothing? die.\n\t\t\tif (empty($uploaded_img_path)) gp_die('saveVirtualAsset(): No uploaded image path');\n\t\t\tif (empty($uploaded_img_url)) gp_die('saveVirutalAsset(): No uploaded image URL');\n\t\t\t\n\t\t\t$pk = $this->primary_key;\n\t\t\t$field = $col['name'];\n\t\t\t\n\t\t\t// If the user clicked the Delete This Asset checkbox,\n\t\t\t// let's go ahead and clear the relevant fields. Also unlink the file.\n\t\t\tif (isset($_POST[\"x_${field}_del\"])) {\n\t\t\t\t$sql = \"$field = '', \";\n\t\t\t\tif (!empty($options['path_column'])) {\n\t\t\t\t\t$sql .= \"$options[path_column] = '', \";\n\t\t\t\t\tif (!empty($row[$options['path_column']])) {\n\t\t\t\t\t\t@unlink($row[$options['path_column']]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn $sql;\n\t\t\t}\n\t\t\t\n\t\t\tif (empty($_FILES[$field]) || empty($_FILES[$field]['name'])) \n\t\t\t\treturn;\n\t\t\t$tmp = $_FILES[$field]['tmp_name'];\n\t\t\tif (! is_uploaded_file($tmp)) gp_die('saveVirtualAsset(): Bad upload!');\n\t\t\t\n\t\t\t$sql = '';\n\t\t\t\n\t\t\t// build the output filename.\n\t\t\t$fn = '';\n\t\t\tif (! empty($this->photo_prefix))\n\t\t\t\t$fn .= $this->photo_prefix . '-';\n\t\t\t\n\t\t\tif (! empty($row[$pk])) \n\t\t\t\t$fn .= $row[$pk] . '-';\n\t\t\tif (! empty($_FILES[$field]['name']))\n\t\t\t\t$fn .= basename($_FILES[$field]['name']);\n\t\t\t$out_fn = $uploaded_img_path . escapeshellcmd($fn);\n\t\t\t$out_url = $uploaded_img_url . $fn;\n\t\t\t\n\t\t\t// build command string\n\t\t\tif (! move_uploaded_file($tmp, $out_fn)) {\n\t\t\t\tgp_die(\"saveVirtualAsset(): Command failed: 'move_uploaded_file($tmp, $out_fn)'\");\n\t\t\t}\n\t\t\t\n\t\t\tchmod($out_fn, 0755);\n\t\t\t\n\t\t\tif (empty($options['skip_url_column']))\n\t\t\t\t$sql .= \"$field = '\" . gp_escapeSql($out_url) .\"', \";\n\t\t\t\n\t\t\tif (!empty($options['path_column'])) \n\t\t\t\t$sql .= \"$options[path_column] = '\" . gp_escapeSql($out_fn) . \"', \";\n\n\t\t\tif (isset($col[\"virtual_data\"][\"optionally_scale_to\"])) {\n\t\t\t\tforeach ($col[\"virtual_data\"][\"optionally_scale_to\"] as $col => $sz) {\n\t\t\t\t\t$field_name = \"x_asset_${field}_scale_$col\";\n\t\t\t\t\tif (isset($_POST[$field_name])) {\n\t\t\t\t\t\t// scale a copy; put in $col\n\t\t\t\t\t\t$save_as = $out_fn . \"-$sz.jpg\";\n\t\t\t\t\t\t$save_url = $out_url . \"-$sz.jpg\";\n\t\t\t\t\t\tgp_resize_imagemagick($out_fn, $save_as, $sz);\n\t\t\t\t\t\t$sql .= \"$col = '\" . gp_escapeSql($save_url). \"', \";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\t\n\t\t\tif (file_exists($tmp))\n\t\t\t\tunlink($tmp);\n\t\t\treturn $sql;\n\t\t}", "function save_feature_on_product_save() {\n\t\t// Abort if we can't determine a product type\n\t\tif ( ! $product_type = it_exchange_get_product_type() )\n\t\t\treturn;\n\n\t\t// Abort if we don't have a product ID\n\t\t$product_id = empty( $_POST['ID'] ) ? false : $_POST['ID'];\n\t\tif ( ! $product_id )\n\t\t\treturn;\n\n\t\t// Abort if this product type doesn't support this feature\n\t\tif ( ! it_exchange_product_type_supports_feature( $product_type, 'featured-video' ) )\n\t\t\treturn;\n\n\t\t// Abort if key for feature option isn't set in POST data\n\t\tif ( ! isset( $_POST['it-exchange-product-featured-video'] ) )\n\t\t\treturn;\n\n\t\t// Get new value from post\n\t\t$new_value = $_POST['it-exchange-product-featured-video'];\n\n\t\t// Save new value\n\t\tit_exchange_update_product_feature( $product_id, 'featured-video', $new_value );\n\t}", "public function setVat($vat);", "function save_vcard()\n\t{\n\t\t$rdn_attrib = $this->ldap_server->get_object_schema_setting(\n\t\t\t$this->ldap_server->get_object_class($this->ldap_entry[0])\n\t\t\t,\"rdn_attrib\");\n\n\t\t$rdn_list = explode(\",\",$rdn_attrib);\n\n\t\t$filename = \"\";\n\t\tforeach($rdn_list as $rdn)\n\t\t{\n\t\t\tif($filename != \"\") $filename .= \"_\";\n\n\t\t\tif(isset($this->ldap_entry[0][strtolower($rdn)][0]))\n\t\t\t\t$filename .= $this->ldap_entry[0][strtolower($rdn)][0];\n\t\t\telse\n\t\t\t\t$filename .= $this->ldap_entry[0][strtolower($rdn)];\n\t\t}\n\n\t\theader(\"Content-Type: text/vcard\");\n\t\theader(\"Content-Disposition: attachment; filename=\\\"\"\n\t\t\t. $filename . \".vcf\\\"\");\n\n\t\t$vcard = new vcard($this->ldap_server,$this->ldap_entry[0]);\n\t\techo $vcard->data;\n\t}", "public function setVida($vida){\n $this->vida=$vida;\n }", "private function __flv() {\n\n $is_video = strpos($this->field('mime_type'), 'video');\n if ($is_video === 0) {\n $file_name = explode('.', $this->field('slug'));\n\n $flv_file = $this->conf['flvDir'] . DS . $file_name[0] . '.flv';\n if (file_exists($flv_file)) {\n $this->setField('flv_path', '/nodeattachment/flv/' . $file_name[0] . '.flv'\n );\n return;\n }\n\n if ($file_name[1] == 'flv') {\n $this->setField('flv_path', $this->field('path')\n );\n }\n }\n }", "public function view(){\n $this->viewable =true;\n $this->save();\n }", "public function setHFov($hfov)\r\n {\r\n if($hfov)\r\n $this->hfov = $hfov;\r\n }", "function vqfInfo() {\n\t\t$this->result['format_name'] = 'VQF';\n\t}", "public function setVoto($voto){\n $this->voto = $voto;\n }", "public function save() {\n\t\tif( ! $this->filtered )\n\t\t\tupdate_option( $this->name, $this->scope );\n\t}", "private function _v200()\n {\n // Add extra table attrs\n ee()->db->query(\"ALTER TABLE `exp_pro_variables` ADD `save_as_file` char(1) NOT NULL DEFAULT 'n'\");\n ee()->db->query(\"ALTER TABLE `exp_pro_variables` ADD `edit_date` int(10) unsigned default 0 NOT NULL\");\n\n // Change settings to smaller array\n $query = ee()->db->select('variable_id, variable_type, variable_settings')->from('pro_variables')->get();\n\n foreach ($query->result_array() as $row) {\n $settings = unserialize($row['variable_settings']);\n $settings = base64_encode(serialize($settings[$row['variable_type']]));\n\n ee()->db->where('variable_id', $row['variable_id']);\n ee()->db->update('pro_variables', array('variable_settings' => $settings));\n }\n }", "function save_feature( $product_id, $new_value, $options=array() ) {\n\t\tif ( ! it_exchange_get_product( $product_id ) )\n\t\t\treturn false;\n\t\tupdate_post_meta( $product_id, '_it-exchange-product-featured-video', $new_value );\n\t}", "public function setStemV($stemv)\n {\n $this['StemV'] = $stemv;\n }", "function getVat();", "public function save()\n {\n $this->validate(null, $this->getValidationMessages());\n\n if ($this->image) {\n if ($this->image instanceof Media) {\n $this->image->copy($this->variant, 'variants');\n $this->image->setCustomProperty('primary', true);\n $this->image->save();\n }\n if ($this->image instanceof TemporaryUploadedFile) {\n $this->validateOnly('image', ['image' => 'image']);\n $media = $this->variant->addMedia($this->image->getRealPath())\n ->preservingOriginal()\n ->toMediaCollection('variants');\n $media->setCustomProperty('primary', true);\n $media->save();\n }\n }\n\n if ($this->removeImage) {\n $image = $this->variant->media()->first();\n if ($image) {\n $image->forceDelete();\n }\n }\n\n if (! $this->manualVolume) {\n $this->variant->volume_unit = null;\n $this->variant->volume_value = null;\n }\n\n $data = $this->prepareAttributeData();\n $this->variant->attribute_data = $data;\n\n $this->variant->save();\n $this->savePricing();\n $this->image = null;\n // $this->variant->refresh();\n $this->removeImage = false;\n\n $this->updateSlots();\n\n $this->notify('Variant updated');\n }", "public function setVie($vie)\n {\n $this->vie = $vie;\n }" ]
[ "0.5667186", "0.5614689", "0.5587992", "0.54862857", "0.548364", "0.53731227", "0.52947724", "0.52146596", "0.5209927", "0.51949674", "0.5183613", "0.5133717", "0.5117204", "0.50933933", "0.504811", "0.50243545", "0.5014815", "0.500248", "0.49904102", "0.49618673", "0.4958943", "0.49391115", "0.4929087", "0.48643064", "0.48604435", "0.48440516", "0.4821521", "0.47767806", "0.47759968", "0.47501206" ]
0.6146017
0
Set Voffset for DB save
public function setVOffset($voffset) { //if(isset($voffset)) $this->voffset = $voffset; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setOffset($offset) {\n $this->offset = $this->checkVal($offset);\n }", "public function setOffset($offset)\n {\n $this->offset = $offset;\n }", "public function _setOffset($offset)\r\n {\r\n $this->offset = $offset;\r\n }", "private function calculateOffset() {\n $this->offset = ($this->currentpage - 1) * $this->limit;\n }", "public function setOffset(string $offset)\n\t{\n\t\t$this->addKeyValue('offset', $offset); \n\n\t}", "public function setOffset(int $offset): void\n {\n $this->offset = $offset;\n }", "public function setOffset(int $offset): void\n {\n $this->offset = $offset;\n }", "public function setOffset(int $offset): void {\n $this->offset = $offset;\n $this->page = intval(ceil(intval($offset) / $this->pageSize)) + 1;\n }", "protected function setQueryOffset(){\n if ($this->per_page == -1) return ;\n\n $this->query->skip($this->offset)->take($this->per_page);\n }", "public function offset($value){\n $this->offset = $value;\n }", "public function offsetSet( $offset, $value ) {\n\t\t$this->$offset = $value;\n\t}", "private function _offset($option) {\n\t\t$this->setOffset($option);\n\t}", "public function store($offset, $value)\n {\n $this->__set($offset, $value);\n }", "public function offsetSet($offset, $value)\r\n {\r\n $this->$offset = $value;\r\n }", "public function testSetTotpOffsetWithInvalid() {\n $this->Otp->setTotpOffset(0.1);\n }", "public function offsetSet( $offset, $value )\n {\n $this->$offset = $value;\n }", "public function offsetSet($offset, $value)\n {\n $this->$offset = $value;\n }", "public function offsetSet($offset, $value)\n {\n $this->$offset = $value;\n }", "public function offsetSet($offset, $value)\n {\n $this->$offset = $value;\n }", "public function offsetSet($offset, $value)\n {\n $this->$offset = $value;\n }", "public function offsetSet($offset, $value)\n {\n $this->$offset = $value;\n }", "public function offsetSet($offset, $value)\n {\n $this->$offset = $value;\n }", "public function offsetSet($offset, $value)\n {\n $this->$offset = $value;\n }", "public function offsetSet($offset, $value)\n {\n $this->$offset = $value;\n }", "public function offsetSet($offset, $value)\n {\n $this->$offset = $value;\n }", "public function offsetSet($offset, $value)\n {\n $this->$offset = $value;\n }", "public function offsetSet($offset, $value)\n {\n $this->$offset = $value;\n }", "public function offsetSet($offset, $value)\n {\n $this->$offset = $value;\n }", "public function offsetSet($offset, $value)\n {\n $this->$offset = $value;\n }", "public function offsetSet($offset, $value)\n {\n $this->$offset = $value;\n }" ]
[ "0.56031984", "0.55813605", "0.55542296", "0.553686", "0.55096465", "0.53426635", "0.53426635", "0.528662", "0.5273263", "0.5262332", "0.5101709", "0.5066735", "0.50559556", "0.5055566", "0.5047784", "0.5026463", "0.50261104", "0.50261104", "0.50261104", "0.50261104", "0.50261104", "0.50261104", "0.50261104", "0.50261104", "0.50261104", "0.50261104", "0.50261104", "0.50261104", "0.50261104", "0.50261104" ]
0.6616105
0
Set panoFolder for DB save
public function setPanoFolder($panoFolder) { if($panoFolder) $this->panoFolder = $panoFolder; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function setpanoFolderPath() {\r\n $this->panoFolderURL = site_url() . '/' . $this->panoFolder;\r\n // Absolute Path where panogeneration will be store\r\n $this->panoFolderPath = NGGPANOWINABSPATH . $this->panoFolder; \r\n }", "public function changeFolder()\n {\n $sFolder = oxConfig::getParameter( 'setfolder' );\n $sFolderClass = oxConfig::getParameter( 'folderclass' );\n\n if ( $sFolderClass == 'oxcontent' && $sFolder == 'CMSFOLDER_NONE' ) {\n $sFolder = '';\n }\n\n $oObject = oxNew( $sFolderClass );\n if ( $oObject->load( $this->getEditObjectId() ) ) {\n $oObject->{$oObject->getCoreTableName() . '__oxfolder'} = new oxField($sFolder);\n $oObject->save();\n }\n }", "public function setFolder() {\n $fb = str_replace('index.php', '', $_SERVER['SCRIPT_FILENAME']);\n $folder = $fb . 'media/blog/';\n if (is_dir($folder . date('Y'))) {\n $folder = $folder . date('Y') . '/';\n }\n else {\n mkdir($folder . date('Y'));\n $folder = $folder . date('Y') . '/';\n }\n if (is_dir($folder . date('m'))) {\n $folder = $folder . date('m') . '/';\n }\n else {\n mkdir($folder . date('m'));\n $folder = $folder . date('m') . '/';\n }\n $this->folder = $folder;\n $this->folder_clean = substr(str_replace($fb, '', $folder), 0, -1);\n }", "public function save()\n\t\t{\n\t\t\t$dir = DIR_APP . '/data/';\n\t\t}", "private function setDirectory() {\n\t\t\tif(!is_null($this->folder)) {\n\t\t\t\tif(!file_exists($this->targetDir.$this->folder)) {\n\t\t\t\t\tif(!mkdir($this->targetDir.$this->folder, 0777)) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t$this->targetDir .= $this->folder.'/';\n\t\t\t}\n\t\t}", "protected function _saveFolder($pnPk = 0)\n {\n if(!assert('is_integer($pnPk)'))\n return false;\n\n // Saving folder main table\n $aData['parentfolderfk'] = (int)$_POST['parentfolderfk'];\n $aData['label'] = addslashes($_POST['label']);\n $aData['private'] = $_POST['private'];\n\n if($pnPk == 0)\n {\n $nHRank = $this->_getModel()->getHighestRank($aData['parentfolderfk']);\n $aData['rank'] = $nHRank+1;\n $aData['ownerloginfk'] = $this->_userPk;\n $nPk = $this->_getModel()->add($aData, 'folder');\n\n if($nPk == 0)\n return array('error' => 'Could not save folder. Please contact the administrator.');\n }\n else\n {\n $aData['folderpk'] = $pnPk;\n $bUpdated = $this->_getModel()->update($aData, 'folder');\n\n if(!$bUpdated)\n return array('error' => 'Could not update folder. Please contact the administrator.');\n\n $nPk = $pnPk;\n }\n\n // Saving folder type (link table)\n if(!empty($_POST['type']))\n {\n $aLinkData = unserialize(urldecode($_POST['type']));\n $aLinkData['folderfk']=$nPk;\n\n if(is_key($pnPk))\n {\n $bUpdatedLink = $this->_getModel()->update($aLinkData, 'folder_link', 'folderfk='.$nPk);\n if(!$bUpdatedLink)\n return array('error' => 'Could not update folder type. Please contact the administrator.');\n }\n else\n {\n $nLinkPk = $this->_getModel()->add($aLinkData, 'folder_link');\n if($nLinkPk == 0)\n return array('error' => 'Could not save folder type. Please contact the administrator.');\n }\n }\n\n // Saving folder rights\n $this->_getModel()->deleteByFk($nPk, 'folder_rights', 'folder');\n\n if($aData['private']==2)\n {\n $oLogin = CDependency::getCpLogin();\n $asUser = $oLogin->getUserList(0,true,false);\n\n $aDataRights = array();\n foreach ($asUser as $aUser)\n {\n foreach ($this->_aRights as $sRight)\n {\n $sField = $aUser['loginpk'].'_'.$sRight;\n if ((isset($_POST[$sField])) && ($_POST[$sField]=='on'))\n {\n $aDataRights['folderfk'][]= $nPk;\n $aDataRights['loginfk'][]= $aUser['loginpk'];\n $aDataRights['rights'][]= $sRight;\n }\n }\n }\n\n if(!empty($aDataRights))\n $this->_getModel()->add($aDataRights, 'folder_rights');\n }\n\n\n $sItems = getValue('items');\n if(!empty($sItems))\n {\n $asItem = unserialize(base64_decode($sItems));\n if(!empty($asItem))\n {\n $this->_addToFolder($nPk, $asItem);\n }\n }\n\n // self::_loadFolderTree(true);\n\n\n if(!empty($this->casAfterSavingAction))\n {\n unset($_SESSION['folder_save_action']);\n return $this->casAfterSavingAction;\n }\n\n return array('notice' => 'Folder saved successfully', 'reload' => 1);\n }", "public function set_folder_data()\r\n\t{\r\n\t\t$folder = new Plugin\\Folder($this->folder_id);\r\n\t\t\r\n\t\t$this->folders_list = $folder->get_folders();\r\n\t\t$this->folder_list = $folder->get_paths($this->folder_id, false);\r\n\t\t$this->folder_hidden = $folder->get_hidden($this->folder_id, $this->per_page, $this->page_num);\r\n\t\t$this->folder_tree = $folder->view_tree();\r\n\t}", "protected function createRootFolder()\n\t{\n\t\t//get path to parent folder\n\t\t$parent = $this->owner->hasExtension('Hierarchy')\n\t\t\t? $this->owner->getParent()\n\t\t\t: null;\n\t\tif (is_a($parent, 'Page') && $parentFolder = $parent->RootFolder()) {\n\t\t\t$folderRoot = $parent->getRootFolderName();\n\t\t} else {\n\t\t\t//fallback to classes folder_root which is defined in your config.yml\n\t\t\t$folderRoot = $this->getFolderRoot() . '/';\n\t\t}\n\n\t\tif ($folderRoot == '/') {\n\t\t\t$folderRoot = getFolderRoot() . '/';\n\t\t}\n\n\t\t$folder = Folder::find_or_make($folderRoot . $this->owner->URLSegment);\n\t\t$folder->Title = $this->owner->Title;\n\t\t$folder->setName($this->owner->URLSegment);\n\t\t$folder->write();\n\n\t\t$this->owner->RootFolderID = $folder->ID;\n\t\t$this->owner->write();\n\t}", "public function setFolder( $folder )\n {\n $this->folder = $folder;\n }", "public function planner_save_planification() {\n \n // Save planification\n (new MidrubBaseUserAppsCollectionPlannerHelpers\\Planify)->planner_save_planification();\n \n }", "public function setBackupFolder($folder) {\r\n\t\t$this->backup_folder = $folder;\r\n\t}", "function savedirectory () {\r\n\t\t// Get/Create the model\r\n\t\t$model = & $this->getModel('Package', 'JPackageDirModel');\r\n\r\n\t\t// Let us not forget to check this record in...\r\n\t\t$model->checkin();\r\n\r\n\t\t// Error handling, throw warning when we encountered an error\r\n\t\tif ($model->storedirectory()) {\r\n\t\t\t$msg = JText::_( 'Directory Entry Saved' );\r\n\t\t} else {\r\n\t\t\t$msg = JText::_( 'Error Saving Directory Entry - ' . $model->getError() );\r\n\t\t}\r\n\r\n\t\t$option = JRequest::getVar('option', '', '', 'string');\r\n\t\t$version = JRequest::getVar('version', '', '', 'string');\r\n\t\t$type = JRequest::getVar('type', '', '', 'string');\r\n\t\t$name = JRequest::getVar('name', '', '', 'string');\r\n\r\n\t\t// Jump to proper page\r\n\t\t$this->setRedirect( \"index.php?option=$option&task=showdirectory&version=$version&type=&type&name=$name\" , $msg );\r\n\t}", "function save_option_draft_folder($option) {\n global $data_dir, $username;\n\n if (strtolower($option->new_value)=='inbox') {\n // make sure that it is not INBOX\n error_option_save(_(\"You can't select INBOX as Draft folder.\"));\n } else {\n /* Set move to draft on or off. */\n $draft_on = ($option->new_value == SMPREF_NONE ? SMPREF_OFF : SMPREF_ON);\n setPref($data_dir, $username, 'save_as_draft', $draft_on);\n\n /* Now just save the option as normal. */\n save_option($option);\n }\n}", "function setMedPoolFolder()\n\t{\n\t\t$_SESSION[\"il_link_mep_obj\"] = $_GET[\"mep_fold\"];\n\t\t$this->showLinkHelp();\n\t}", "public function save()\r\n {\r\n global $wpdb;\r\n \r\n $error = true; \r\n \r\n $pid = $this->pid;\r\n $gid = $this->gid;\r\n \r\n //correct values\r\n $hfov = $this->hfov ? $this->hfov : 'null';\r\n $vfov = $this->vfov ? $this->vfov : 'null';\r\n $voffset = $this->voffset ? $this->voffset : 'null';\r\n \r\n \r\n if(nggpano_getImagePanoramicOptions($pid)) {\r\n $query = \"UPDATE \".$wpdb->prefix.\"nggpano_panoramic SET \";\r\n $query .= \"pano_directory = '\" . $this->panoFolder . \"', \";\r\n $query .= \"xml_configuration = '\" . $this->xml_configuration . \"', \";\r\n $query .= \"is_partial = '\" . $this->is_partial . \"', \";\r\n $query .= \"hfov = \" . $hfov . \", \";\r\n $query .= \"vfov = \" . $vfov . \", \";\r\n $query .= \"voffset = \" . $voffset . \" \";\r\n $query .= \"WHERE pid = '\".$wpdb->escape($pid).\"'\";\r\n \r\n if($wpdb->query($query) !== false) {\r\n \r\n $error = false; \r\n $message = __('Panoramic datas successfully saved','nggpano');\r\n } else {\r\n $message = 'Error with database';\r\n };\r\n }else{\r\n $query = \"INSERT INTO \".$wpdb->prefix.\"nggpano_panoramic (id, pid, gid, pano_directory, xml_configuration, is_partial, hfov, vfov, voffset) \";\r\n $query .= \"VALUES (null, '\".$wpdb->escape($pid).\"', \";\r\n $query .= \"'\" . $wpdb->escape($gid) . \"', \";\r\n $query .= \"'\" . $this->panoFolder . \"', \";\r\n $query .= \"'\" . $this->xml_configuration . \"', \";\r\n $query .= \"'\" . $this->is_partial . \"', \";\r\n $query .= \"\" . $hfov . \", \";\r\n $query .= \"\" . $vfov . \", \";\r\n $query .= \"\" . $voffset . \" \";\r\n $query .= \")\";\r\n \r\n if($wpdb->query($query) !== false) {\r\n $error = false;\r\n $message = __('Panoramic datas successfully saved','nggpano');\r\n } else {\r\n $message = 'Error with database';\r\n };\r\n }\r\n \r\n if($this->error == false && $error ) {\r\n $this->errmsg = $message;\r\n $this->error = true;\r\n \r\n } \r\n \r\n// echo $query;\r\n// echo \"<hr/>\";\r\n// echo $message;\r\n }", "protected function rootPath() {\n\t\t$savePath = implode('/', [\n\t\t\tApp::getApp()->getBasePath(),\n\t\t\ttrim($this->savePath(), '/'),\n\t\t\tstr_replace(\"\\\\\", '/', $this->name),\n\t\t]);\n\t\treturn rtrim($savePath, '/');\n\t}", "abstract function addfolder();", "public function setRootDir($rootDir);", "public function savePackage();", "private function initDataFolder() {\n $dataFolder = $this->getDataFolder();\n if (!is_dir($dataFolder)) {\n $this->getLogger()->info('Data folder not found, creating at: ' . $dataFolder);\n mkdir($dataFolder, 0755, true);\n }\n }", "public function setPath()\n\t{\n\t\t$title = preg_replace(\"/[^a-zA-Z0-9]+/\", \" \", $this->properties['title']);\n\t\t$title = preg_replace('!\\s+!', ' ', trim($title));\n\t\t\n\t\treturn $this->config['dir']['post'] . '/' . Date('Y-m-d') . '-' . str_replace(\" \", \"-\", strtolower($title)) . '.markdown';\n\t}", "public function beforeSave($options = array()) {\r\n $path = $this->getFolderPath($this->data[$this->name]['parent_id']);\r\n $endPath = $this->root . $path . $this->data[$this->name]['name'];\r\n \r\n $folder = new Folder($endPath);\r\n if (!$folder->create($endPath)) {\r\n return false;\r\n }\r\n \r\n return parent::beforeSave($options);\r\n }", "function save_to_database () : void {\n $db = $this->getDatabase();\n\n //Escapes fields\n $id = $this->id ? \"'\" . $db->escape($this->id) . \"'\" : 'NULL';\n $perso_id = $db->escape($this->perso_id);\n $name = $db->escape($this->name);\n $description = $db->escape($this->description);\n $avatar = $this->avatar ? 1 : 0;\n\n //Saves\n $sql = \"REPLACE INTO \" . TABLE_PROFILES_PHOTOS . \" (`photo_id`, `perso_id`, `photo_name`, `photo_description`, `photo_avatar`) VALUES ($id, '$perso_id', '$name', '$description', $avatar)\";\n if (!$db->query($sql)) {\n message_die(SQL_ERROR, \"Unable to save\", '', __LINE__, __FILE__, $sql);\n }\n if (!$id) {\n //Gets new record id value\n $this->id = $db->nextId();\n }\n }", "protected function _setNaviFolderSave($arr)\n\t{\n\t\tglobal $varsRequest;\n\n\t\t$vars = $this->getVars(array(\n\t\t\t'path' => $arr['pathVars'],\n\t\t));\n\n\t\t$varsJson = $this->checkValueFolder(array(\n\t\t\t'varsValue' => ($varsRequest['query']['jsonValue']['vars'])? $varsRequest['query']['jsonValue']['vars'] : array(),\n\t\t\t'varsTemplate' => $vars['portal']['varsNavi']['templateFolder']['varsDetail']['templateDetail'],\n\t\t));\n\n\t\t$this->_setNaviFolderSaveUpdate(array(\n\t\t\t'pathVars' => $arr['pathVars'],\n\t\t\t'varsJson' => $varsJson,\n\t\t\t'strTable' => $arr['strTable'],\n\t\t\t'strColumn' => $arr['strColumn'],\n\t\t\t'flagEntity' => $arr['flagEntity'],\n\t\t\t'flagAccount' => $arr['flagAccount'],\n\t\t));\n\t}", "private function createFolders()\n\t{\n\t\t$mediaConfig = $this->getServiceLocator()->get('config')['media'];\n\t\t$saveDir = rtrim($mediaConfig['save_path'], '\\\\/');\n\n\t\tif ( ! file_exists($saveDir))\n\t\t{\n\t\t\tmkdir($saveDir, 0755, true);\n\t\t}\n\t}", "public function getDefaultFolder();", "protected function getUploadRootDir()\n {\n // documents should be saved\n return __DIR__.'/../../../web/uploads/pictures/'.$this->adsID.'/';\n }", "function createAutoFolder(&$doc)\n{\n $dir = createDoc($doc->dbaccess, getFamIdFromName($doc->dbaccess, \"DIR\"));\n $err = $dir->Add();\n if ($err != \"\") return false;\n $dir->setValue(\"BA_TITLE\", sprintf(_(\"root for %s\") , $doc->title));\n $dir->setValue(\"BA_DESC\", _(\"default folder\"));\n $dir->setValue(\"FLD_ALLBUT\", \"1\");\n $dir->setValue(\"FLD_FAM\", $doc->title . \"\\n\" . _(\"folder\") . \"\\n\" . _(\"search\"));\n $dir->setValue(\"FLD_FAMIDS\", $doc->id . \"\\n\" . getFamIdFromName($doc->dbaccess, \"DIR\") . \"\\n\" . getFamIdFromName($doc->dbaccess, \"SEARCH\"));\n $dir->setValue(\"FLD_SUBFAM\", \"yes\\nyes\\nyes\");\n $dir->Modify();\n $fldid = $dir->id;\n return $fldid;\n}", "function makeOneoffPath() {\n\t\t\t$IBASE_PATH = $_SERVER[\"DOCUMENT_ROOT\"].\"/archmap/media/imageviews\";\n\t\t\t$id = $this->get(\"id\");\n\t\t\t$padded = str_pad($id,6,'0',STR_PAD_LEFT);\n\t\t\t\n\t\t\t// the folder\n\t\t\t$folder1 = substr($padded,0,3);\n\t\t\t$file_path = $IBASE_PATH.\"/\".$folder1;\n\t\t\tif(!is_dir($file_path)) {\n\t\t\t\tmkdir($file_path,0777);\n\t\t\t}\n\t\t\t\n\t\t\treturn $file_path;\n\t\t}", "function uploadFolder(&$Model) {\n return $this->settings[$Model->alias]['baseDir'] . 'uploaded_' . Inflector::tableize($Model->alias) . DS;\n }" ]
[ "0.7833015", "0.6192948", "0.60771066", "0.59164506", "0.575363", "0.57522285", "0.5706743", "0.55141044", "0.5381382", "0.5311196", "0.53094065", "0.53021324", "0.52176845", "0.52117795", "0.5208979", "0.5186709", "0.5177288", "0.51362735", "0.51125664", "0.50939393", "0.50920767", "0.5080923", "0.5071541", "0.50660115", "0.5065629", "0.50551414", "0.50492275", "0.50259465", "0.5006434", "0.499364" ]
0.62364745
1
Set is_partial for DB save
public function setIsPartial($is_partial) { //if($is_partial) $this->is_partial = $is_partial; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function isPartial(): bool\n {\n return false;\n }", "protected function _preSave() {}", "public function isPartial()\n {\n return $this->_partial;\n }", "public function setPartial($partial)\n {\n $this->_partial = $partial;\n\n return $this;\n }", "public function setPartial($partial)\n {\n $this->partial = (string) $partial;\n return $this;\n }", "public function testCanCapturePartial()\n {\n $this->assertTrue($this->model->canCapturePartial());\n }", "public function isPartial()\n\t{\n\t\treturn $this->_partial;\n\t}", "protected function _preSave()\n {\n }", "public function beforeSave() { return true; }", "protected function beforeSave(){\n\t\tif($this->template_id == '0')\n\t\t\treturn false;\n\t\t\n\t\treturn parent::beforeSave();\n\t}", "public function _preSave()\n {\n // todo: define method\n return true;\n }", "public function _preSave()\n {\n // todo: define method\n return true;\n }", "public function partial(): self;", "public function beforeSave()\n {\n return true;\n }", "public function setAllowPartialPayment($allow_partial_payment)\n {\n $this->allow_partial_payment = $allow_partial_payment;\n return $this;\n }", "public function savePost($table, $data, $isPartialData = false, $type = false){\r\n\r\n // Construct an array of primary keys and an array of autoincrements\r\n $primaryKeys = $this->cast(\"dbmysql\")->list_primary_keys(\"$table\");\r\n $autoIncrements = $this->cast(\"dbmysql\")->list_auto_increments(\"$table\");\r\n\r\n if(!$type) { // The function has to determine the nature of the action (insert or update)\r\n\r\n // Construction of an array of the primary keys associated with their value providing from $data. Check if a value is missing.\r\n $dataKeys = array();\r\n foreach ($primaryKeys as $primaryKey) {\r\n if(!isset($data[$primaryKey]) && !in_array($primaryKey, $autoIncrements)) $this->log(__METHOD__.\" Missing value for key '$primaryKey'\", LOG_ALERT);\r\n $dataKeys[$primaryKey] = $this->cast(\"dbmysql\")->escape_string($data[$primaryKey]);\r\n }\r\n\r\n // We search in the table is the first primary keys value exist (if the row is already present)\r\n if($data[$primaryKeys[0]] != \"\"){\r\n $item = $this->getItem($table, $dataKeys);\r\n if($item){\r\n $sqlAction = \"UPDATE\";\r\n } else {\r\n $sqlAction = \"INSERT\";\r\n }\r\n } else {\r\n $sqlAction = \"INSERT\";\r\n }\r\n\r\n } else { // The user choosed an action manually\r\n $sqlAction = strtoupper($type);\r\n }\r\n\r\n $sql = $sqlAction .\" $table SET \";\r\n\r\n // Determine list of fields\r\n $sqlFields = \"\";\r\n $fields = $this->cast(\"dbmysql\")->list_fields(\"$table\");\r\n foreach($fields as $field){\r\n if(!in_array($field['Field'], $primaryKeys) || ( in_array($field['Field'], $primaryKeys) && !in_array($field['Field'], $autoIncrements)) ){\r\n if(isset($data[$field['Field']])){\r\n $sqlFields .= ($sqlFields != \"\" ? \", \" : \"\");\r\n $sqlFields .= $field['Field'] .\"=\". $this->getMySqlFieldValue($data[$field['Field']], $field) .\"\";\r\n }else if(!$isPartialData){ // Full dataset : missing fields are assumed to be empty fields\r\n $sqlFields .= ($sqlFields != \"\" ? \", \" : \"\");\r\n $sqlFields .= $field['Field'] .\"=\". $this->getMySqlFieldValue(\"\", $field) .\"\";\r\n }\r\n }\r\n }\r\n $sql .= $sqlFields;\r\n\r\n // Calculate the WHERE condition if the action is an update\r\n if($sqlAction == \"UPDATE\"){\r\n $sqlWHERE = \"\";\r\n foreach ($primaryKeys as $primaryKey) {\r\n if(!isset($data[$primaryKey]) && !in_array($primaryKey, $autoIncrements)) $this->log(__METHOD__.\" Missing value for key '$primaryKey'\", LOG_ALERT);\r\n $sqlWHERE .= ($sqlWHERE != \"\" ? \" AND \" : \"\");\r\n $sqlWHERE .= \"$primaryKey='\". $this->cast(\"dbmysql\")->escape_string($data[$primaryKey]) .\"'\";\r\n }\r\n $sql .=\" WHERE \" . $sqlWHERE;\r\n }\r\n\r\n // Query is executed.\r\n $result = $this->cast(\"dbmysql\")->query($sql, []);\r\n\r\n // Getting the result (fetching the row inserted).\r\n if($result) {\r\n $dataKeys = array();\r\n foreach ($primaryKeys as $primaryKey) {\r\n if($sqlAction==\"INSERT\" && in_array($primaryKey, $autoIncrements)){\r\n $dataKeys[$primaryKey] = $this->cast(\"dbmysql\")->lastInsertId();\r\n } else {\r\n $dataKeys[$primaryKey] = $this->cast(\"dbmysql\")->escape_string($data[$primaryKey]);\r\n }\r\n }\r\n return $this->getItem($table, $dataKeys);\r\n }\r\n\r\n return false;\r\n\r\n }", "public function afterSave() { return true; }", "public function beforeSave(){\n \treturn true;\n }", "public function beforeSave()\n\t{\n\n\t}", "protected function _preSave()\n {\n // todo: determine what you will do before a save operation, document if you include\n }", "protected function _postSave()\n {}", "public function beforeSave(): void;", "public function resetPartialRwyPendFormals($v = true)\n {\n $this->collRwyPendFormalsPartial = $v;\n }", "public function beforeSave() {\n \n // Only one value can be set default for a specific tenant ID\n if( isset($this->is_default_value) && $this->is_default_value ) {\n $this->updateAll(array(\"is_default_value\"=>0), \"module ='\".$this->module.\"' AND tenant = '\".$this->tenant.\"'\" );\n }\n \n return parent::beforeSave();\n }", "protected function beforeSave()\n {\n\n }", "public function afterSave()\n {\n return true;\n }", "protected function initSave(){\n \t\n \tif ($this->isSettedField('nameCol')) {\n \t\t$this->nombre_cam = $this->nameCol;\n \t\t$this->resetField('nameCol');\n \t}\n \t\n \tif ($this->isSettedField('labelCol')) {\n \t\t$this->etiqueta_cam = $this->labelCol;\n \t\t$this->resetField('labelCol');\n \t}\n \t\n \tif (!$this->isNew()) {\n \t\t$this->resetField('id_componente');\n \t}\n\n \treturn true;\n }", "public function beforeSave(): bool\n {\n return true;\n }", "public function beforeSave()\r\n {\r\n }", "public function forceSave()\n {\n $criteria = array(\n 'identity' => $this->getIdentity(),\n 'type' => $this->getType()\n );\n $fields = array(\n 'seo_text' => $this->getSeoText(),\n 'title' => $this->getTitle(),\n 'description' => $this->getDescription(),\n );\n $this->storage->upsert(self::DOMAIN, $criteria, $fields);\n\n // reset `dirty` flag\n $this->dirty = false;\n }" ]
[ "0.6012701", "0.5995446", "0.57296544", "0.5673692", "0.5649325", "0.56273264", "0.5598449", "0.5576503", "0.55646825", "0.5522737", "0.5518546", "0.5518546", "0.5484758", "0.54766864", "0.5473047", "0.54309756", "0.5393955", "0.53574353", "0.53119147", "0.52943933", "0.5281793", "0.5266928", "0.5242122", "0.5234608", "0.52306473", "0.5216102", "0.52022856", "0.5194149", "0.5177267", "0.5173079" ]
0.67808026
0
Load configuration for pano creation and viewer (default options or gallery configuration)
public function loadConfig() { global $nggpano_options; //Get default options of the plugin if(!$nggpano_options) $nggpano_options = get_option('nggpano_options'); //TOOLS //Krpano Tool Config File $defaultToolConfigFile = $nggpano_options['toolConfigFile']; // set default config file for krapnotool //Krpano Tool Config File Folder $kmakemultiresConfigFolder = trailingslashit($nggpano_options['kmakemultiresConfigFolder']); // set default config file for krapnotool //Krpano Tool Folder $kmakemultiresFolder = trailingslashit($nggpano_options['kmakemultiresFolder']); //Krpano Tool XML Config file $kmakemultiresXMLConfig = $nggpano_options['kmakemultiresXMLConfig']; // =plugin_dir_path("nextgen-gallery-panoramics")."/krpanotools_xml_config/default.xml"; //Krpano Tempfolder $krpanoToolsTempFolder = trailingslashit($nggpano_options['krpanoToolsTempFolder']); //working dir for krpano //VIEWER //Krpano Viewer Folder $krpanoFolder = trailingslashit($nggpano_options['krpanoFolder']); // = plugin_dir_path("nextgen-gallery-panoramics")."/krpano/"; //Krpano Viewer Plugin Folder $pluginFolder = trailingslashit($nggpano_options['pluginFolder']); // = plugin_dir_path("nextgen-gallery-panoramics")."/krpano_plugins/"; //Skin File $defaultSkinFile = $nggpano_options['defaultSkinFile']; // set default skin for krpano.swf //Krpano Skin Folder $skinFolder = trailingslashit($nggpano_options['skinFolder']); // append related images // = plugin_dir_path("nextgen-gallery-panoramics")."/krpano_skins/"; //Get option from Gallery pano config $gallery_pano_options = nggpano_getGalleryOptions($this->gid); // //Set variables //VIEWER //Viewer Folder $this->krpanoFolder = $krpanoFolder; $this->krpanoFolderURL = trailingslashit(site_url()) . $krpanoFolder;//site_url() . NGGPANO_PLUGIN_DIR . $krpanoFolder; $this->krpanoFolderPath = ABSPATH . $krpanoFolder; //Plugins Folder $this->pluginFolder = $pluginFolder; $this->pluginFolderURL = trailingslashit(site_url()) . $pluginFolder; $this->pluginFolderPath = ABSPATH . $pluginFolder; //Skin Folder $this->skinFolder = $skinFolder; $this->skinFolderURL = trailingslashit(site_url()) . $skinFolder; $this->skinFolderPath = ABSPATH . $skinFolder; //Skin $this->viewerTemplate = (isset($gallery_pano_options->skin) && $gallery_pano_options->skin <> '') ? $gallery_pano_options->skin : $defaultSkinFile; //Complete Path to the kmultires config file $this->viewerTemplateURL = $this->skinFolderURL .$this->viewerTemplate; $this->viewerTemplatePath = $this->skinFolderPath .$this->viewerTemplate; //TOOLS //Path to kmakemultires $this->kmakemultiresFolder = $kmakemultiresFolder; $this->kmakemultiresFolderPath = ABSPATH . $kmakemultiresFolder; //Config Folder $this->kmakemultiresConfigFolder = $kmakemultiresConfigFolder; $this->kmakemultiresConfigFolderPath = ABSPATH . $kmakemultiresConfigFolder; //Config Files $this->toolConfigFile = $defaultToolConfigFile; $this->toolConfigFilePath = ABSPATH . $kmakemultiresConfigFolder .$this->toolConfigFile; //XML Config Files $this->kmakemultiresXMLConfig = $kmakemultiresXMLConfig; //Complete Path to the kmultires tool xml config files (default.xml) $this->kmakemultiresXMLConfigPath = ABSPATH . $kmakemultiresXMLConfig; //Temp Folder $this->krpanoToolsTempFolder = $krpanoToolsTempFolder; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function setup_config() {\n\t\t\t$config = presscore_config();\n\n\t\t\t$config->set( 'load_style', 'default' );\n\t\t\t$config->set( 'layout', $this->get_att( 'mode' ) );\n\t\t\t$config->set( 'post.preview.load.effect', $this->get_att( 'loading_effect' ), 'none' );\n\t\t\t$config->set( 'image_layout', ( 'resize' === $this->get_att( 'image_sizing' ) ? $this->get_att( 'image_sizing' ) : 'original' ) );\n\t\t\t$config->set( 'thumb_proportions', '' );\n\t\t\t$config->set( 'post.preview.width.min', $this->get_att( 'pwb_column_min_width' ) );\n\t\t\t$config->set( 'template.columns.number', $this->get_att( 'pwb_columns' ) );\n\t\t\t$config->set( 'post.preview.hover.animation', $this->get_att( 'hover_animation' ) );\n\t\t\t$config->set( 'item_padding', $this->get_att( 'gap_between_posts' ) );\n\t\t}", "abstract public function loadConfig();", "public function LoadConfig(){\n\t\t$environment = MagratheaConfig::Instance()->GetEnvironment();\n\t\t$confFile = new MagratheaConfigFile();\n\t\t$confFile->setPath( realpath(MagratheaConfig::Instance()->GetConfigFromDefault(\"site_path\").\"/../configs/\") );\n\t\t$confFile->setFile( \"magrathea_images.conf\" );\n\n\t\t$this->imagesPath = $confFile->GetConfig($environment.\"/images_path\").\"/\";\n\t\t$this->generatedPath = $confFile->GetConfig($environment.\"/generated_path\").\"/\";\n\t\t$this->webImagesFolder = $confFile->GetConfig($environment.\"/web_images_folder\").\"/\";\n\t\t$this->webImagesGenerated = $confFile->GetConfig($environment.\"/web_images_generated\").\"/\";\n\t\treturn $this;\n\t}", "public function config();", "abstract public function setupConfig();", "private function loadConfig()\n {\n $this->category->config = [];\n $this->loadMeta('admins', 'array');\n $this->loadMeta('members', 'array');\n $this->loadMeta('template');\n $this->loadMetaCategory();\n }", "public function loadConfig()\n {\n $path = $this->takeConfig()->rawItem('config');\n if ($path) {\n $this->module->loadExtraConfig($path);\n }\n }", "public function load_prince_settings() {\n\t\t\t/* setup the constants */\n\t\t\t$this->constants();\n\n\t\t\t/* include the required admin files */\n\t\t\t$this->admin_includes();\n\n\t\t\t/* include the required frontend files*/\n\t\t\t$this->includes();\n\n\t\t\t/* hook into WordPress */\n\t\t\t$this->hooks();\n\t\t}", "public function loadDefaultConfigs() {\n $this->setMode();\n $this->setHostname();\n $this->setLocale();\n $this->setCharset();\n $this->setEncoding();\n $this->setWordwrap();\n }", "public function configs();", "public function loadProjectConfig()\r\n\t{\r\n\t\t$this->debug_mode_project = $this->getProjectSetting('debug_mode_project');\r\n\t}", "private function initConfig() {\n // Take the default config from [plugin folder]/resources/config.yml\n // and save it to [data folder]/config.yml if the file doesn't exist\n $this->saveDefaultConfig();\n }", "public function initConfig() {\r\n $config = array();\r\n\r\n $config['autoAdvance'] = '1';\r\n $config['mobileAutoAdvance'] = '1';\r\n $config['barDirection'] = 'leftToRight';\r\n $config['barPosition'] = 'bottom';\r\n $config['fx'] = 'random';\r\n $config['height'] = '43%';\r\n $config['hover'] = '1';\r\n $config['loader'] = 'pie';\r\n $config['loaderColor'] = '#eeeeee';\r\n $config['loaderBgColor'] = '#222222';\r\n $config['loaderOpacity'] = '.8';\r\n $config['loaderPadding'] = '2';\r\n $config['loaderStroke'] = '7';\r\n $config['minHeight'] = '200px';\r\n $config['navigation'] = '1';\r\n $config['navigationHover'] = '1';\r\n $config['pagination'] = '1';\r\n $config['playPause'] = '1';\r\n $config['pauseOnClick'] = '1';\r\n $config['pieDiameter'] = '38';\r\n $config['piePosition'] = 'rightTop';\r\n $config['portrait'] = '1';\r\n $config['time'] = '7000';\r\n $config['transPeriod'] = '1500';\r\n $config['skin'] = 'camera_black_skin';\r\n\r\n return Configuration::updateValue($this->name, json_encode($config));\r\n }", "public function initConfig()\n {\n $mainConfig = collect(config('global'));\n $demoConfig = config(Theme::$demo);\n $mergedConfig = $mainConfig->replaceRecursive($demoConfig);\n config([Theme::$demo => $mergedConfig->all()]);\n\n self::$config = $mergedConfig->all();\n\n // Get config by url path\n $configPath = Theme::$demo.'.pages.'.str_replace('/', '.', Theme::getPagePath());\n $pageConfig = collect(config($configPath));\n\n // Merge group config with child config\n $pageGroupOptions = Theme::getPageGroupOptions(config(Theme::$demo.'.pages'), Theme::getPagePath());\n if ($pageGroupOptions) {\n $overridenConfig = $pageConfig->replaceRecursive($pageGroupOptions);\n config([$configPath => $overridenConfig->all()]);\n }\n\n $generalConfig = collect(config(Theme::$demo.'.general'));\n // Merge general config with page level config\n config([Theme::$demo.'.general' => $generalConfig->replaceRecursive(config($configPath))->all()]);\n }", "public function config() {\n\t\n\t\t// save configuration\n\t foreach ($this['request']->get('post:', 'array') as $option => $value) {\n\t if (preg_match('/^lightbox_/', $option)) {\n\t\t\t\t$this['system']->options->set($option, $value);\n\t }\n\t }\n\n\t\t$this['system']->saveOptions();\n\t}", "protected function initConfig()\n {\n if (isset($this->settings) || $this->settings->exists('config')) {\n $this->config->setDefinition($this->settings->get('config'));\n }\n }", "protected function loadConfig(): void\n {\n if (! $this->config && $this->input->hasOption('config')) {\n $this->config = new ConfigurationProvider($this->option('config'));\n }\n }", "function loadConfig(){\n global $conf;\n\n $defaults = $this->readDefaultSettings();\n $plugin = $this->getPluginName();\n\n foreach ($defaults as $key => $value) {\n if (isset($conf['plugin'][$plugin][$key])) continue;\n $conf['plugin'][$plugin][$key] = $value;\n }\n\n $this->configloaded = true;\n $this->conf =& $conf['plugin'][$plugin];\n }", "public function load_config() {\n if (!isset($this->config)) {\n $name = $this->get_name();\n $this->config = get_config(\"local_$name\");\n }\n }", "public function load_config() {\n if (!isset($this->config)) {\n $name = $this->get_name();\n $this->config = get_config(\"local_$name\");\n }\n }", "public function config() {\n\t\t\t$interface['sidebar'] = $this->load->view('modules/sidebar', NULL, TRUE);\n\t\t\t$interface['content'] = $this->load->view('pages/config', NULL, TRUE);\n\n\t\t\t$this->load->view('main', $interface);\n\t\t}", "private function configuration()\n {\n $config = [];\n $config_json = $this->getPath().'config.json';\n $config_php = $this->getPath().'config.php';\n\n // Parse config from jSon file\n if (file_exists($config_json))\n {\n $config = array_merge(\n $config, \n $this->json( $config_json, true )\n );\n }\n else if (file_exists($config_php))\n {\n include_once $config_php;\n }\n\n // Parse config from Index.php\n $config = array_merge(\n $config,\n self::configuration_index($this->getPath())\n );\n\n $this->config = (object) $config;\n }", "private function loadProjectMarkdownConfig(): void\n {\n $projectMarkdownConfig = implode(DIRECTORY_SEPARATOR, [\n dirname(KickflipHelper::namedPath(CliStateDirPaths::ConfigFile)),\n 'markdown.php',\n ]);\n if (File::exists($projectMarkdownConfig)) {\n // First load and set the project level config..\n config()->set('markdown', require $projectMarkdownConfig);\n // Then load the kickflip CLI default configs...\n $kickflipMarkdownConfig = KickflipHelper::rootPackagePath() . '/config/markdown.php';\n $this->mergeConfigFrom($kickflipMarkdownConfig, 'markdown');\n // Finally load the Spatie default configs...\n $basePackageConfig = dirname((new ReflectionClass(MarkdownServiceProvider::class))->getFileName(), 2) .\n '/config/markdown.php';\n $this->mergeConfigFrom($basePackageConfig, 'markdown');\n }\n }", "protected function instantiateConfig()\n {\n $GLOBALS['CFG'] = & load_class('Config', 'core');\n\n // Do we have any manually set config items in the index.php file?\n if (isset($assign_to_config)) {\n $GLOBALS['CFG']->_assign_to_config($assign_to_config);\n }\n }", "protected function loadConfigAsProperty()\n {\n $this->defaultDriver = config('themes.driver');\n $this->defaultPath = 'themes.connections.'.$this->defaultDriver.'.path';\n $this->defaultTheme = 'themes.connections.'.$this->defaultDriver.'.default_theme';\n }", "public function configuration();", "protected function loadConfig() {\n /* Load required defaults file */\n $defaults = $this->loadFromFile(\n $this->tag . \"_defaults.yaml\",\n true);\n\n /* Try to load user configuration. */\n $user = $this->loadFromFile(\n $this->tag . \"_config.yaml\",\n false);\n\n /* Merge defaults and user config. */\n $this->cfg = array_replace_recursive($defaults, $user);\n }", "protected function _initModuleConfig()\n {\n \t// load ini file\n \t$iniOptions = new Zend_Config_Ini(dirname(__FILE__) . '/configs/mygengo.ini'); \t\n \t// Set this bootstrap options\n \t$this->setOptions($iniOptions->toArray()); \t\n }", "private function loadConfig() {\n $configClass = $this->input->getOption('configclass');\n if (is_null($configClass)) {\n $configClass = DefaultBuilderConfig::class;\n }\n try {\n $this->config = $this->container->get($configClass, [\n 'projectFolder' => $this->getApplication()->getProjectFolder()\n ]);\n } catch (ReflectionException $ex) {\n $this->output->writeln([\n \"<warn>Unable to load the provided configuration [{$configClass}]</warn>\",\n \"<warn>Will continue with the default configuration.</warn>\"\n ]);\n $configClass = DefaultBuilderConfig::class;\n $this->config = $this->container->get($configClass, [\n 'projectFolder' => $this->getApplication()->getProjectFolder()\n ]);\n }\n $this->output->writeln('<info>Using the ' . get_class($this->config) . ' as configuration</info>');\n }", "private function loadConfiguration(): void\n {\n try {\n $options = $this->optionService->findSelectedOptions([\n self::GORGONE_API_ADDRESS,\n self::GORGONE_API_PORT,\n self::GORGONE_API_USERNAME,\n self::GORGONE_API_PASSWORD,\n self::GORGONE_API_SSL,\n self::GORGONE_API_CERTIFICATE_SELF_SIGNED,\n self::GORGONE_COMMAND_TIMEOUT\n ]);\n foreach ($options as $option) {\n $this->gorgoneParameters[$option->getName()] = $option->getValue();\n }\n $this->isOptionsLoaded = true;\n } catch (\\Exception $ex) {\n $this->isOptionsLoaded = false;\n throw $ex;\n }\n }" ]
[ "0.64759433", "0.6341736", "0.6306175", "0.6184253", "0.61262375", "0.61227924", "0.60933423", "0.6058999", "0.6019626", "0.6010666", "0.600124", "0.59470797", "0.59460294", "0.5895154", "0.58865464", "0.5838131", "0.5823389", "0.58132863", "0.57888", "0.57888", "0.5783464", "0.57820344", "0.5767089", "0.5761736", "0.5745148", "0.57442623", "0.5739906", "0.5726025", "0.57251024", "0.5712324" ]
0.70672184
0
Get krpano xml to show the pano
public function getXML($URLsearchstring = null, $URLreplacestring = null, $debug = false) { global $ngg, $nggpano_options; //Get default options of the plugin if(!$nggpano_options) $nggpano_options = get_option('nggpano_options'); if (isset($this->xml_configuration)) { $this->loadFromDB(); } $partial = isset($this->is_partial) ? 'ispartialpano="true"' : ''; $xmlConfiguration = $this->xml_configuration; //if($URLsearchstring && $URLreplacestring) { $xmlConfiguration = str_replace('url="'.$URLsearchstring, 'url="'.$URLreplacestring, $xmlConfiguration); //} //$basedir = 'basedir="'. $this->panoFolderURL . '/"'; // $basedir = 'basedir="'. site_url() . '/"'; // // $xmlreturn = '<krpano version="1.0.8.14" '. $partial . ' ' . $basedir . '>'; //GET Thumbs URL //$img_src = trailingslashit( home_url() ) . 'index.php?callback=image&amp;pid=' . $image->pid . '&amp;width=' . $width . '&amp;height=' . $height . '&amp;mode=crop'; $nextgen_thumb = $this->thumbURL; $square_thumb = $this->ImageCustomURL . '&amp;width='.$nggpano_options['widthThumbVirtualTour'].'&amp;height='.$nggpano_options['heightThumbVirtualTour'].'&amp;mode=crop'; $custom_thumb = $this->ImageCustomURL . '&amp;width='.$nggpano_options['widthThumbVirtualTour'].'&amp;height='.$nggpano_options['heightThumbVirtualTour'].''; //Add scene node // title="Achilleion - Garden" onstart="" thumburl="panos/achilleion-hof-unten.tiles/thumb.jpg" lat="39.563340" lng="19.904324" heading="0.0" $xmlreturn = '<!-- SCENE -->'; $xmlreturn .= '<scene name="scene-'.$this->pid.'" title="'.$this->title.'" defaultthumburl="'.$nextgen_thumb.'" squarethumburl="'.$square_thumb.'" customthumburl="'.$custom_thumb.'" lat="'.$this->gps_lat.'" lng="'.$this->gps_lng.'" heading="0">'; $xmlreturn .= $xmlConfiguration; //$xmlreturn .= '<progress showload="bar(midbottom, 100%, 2, 0, 55, shaded, 0x0a0a0a, 0x788794, 0x788794, 0x9f9f9f, 0, 0x9f9f9f, 0)" showreloads="true" showwait="true"/>'; $xmlreturn .= '</scene>'; // if($debug) { // $xmlreturn .= '<plugin name="options" url="'.$this->pluginFolderURL.'options.swf" />'; // } //$xmlreturn .= '</krpano>'; return $xmlreturn; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function getXML() {\n $this->layout->setParam('COLUMNWIDTH_LEFT', '100px');\n $this->layout->setParam('COLUMNWIDTH_CENTER', '100%');\n $this->getButtonsPanel();\n if (!isset($this->params['ohmode'])) {\n $this->params['ohmode'] = '';\n }\n switch ($this->params['ohmode']) {\n case 'bugreport' :\n $this->getBugReportDialog();\n break;\n case 'sysinfo' :\n $this->getSystemInformation();\n break;\n case 'news' :\n $this->getContentFrame($this->urls['news'], 'News');\n break;\n default :\n case 'manual' :\n $this->getContentFrame($this->urls['manual'], 'User Manual');\n break;\n }\n\n }", "function xmlview(){\n\n\t$listaDeNominasSinTimbrar = $this->PrenominaModel->nominasParaTimbrar();\n\trequire(\"views/prenomina/xmlnominas.php\");\n\t\n}", "public function opml() {\n if(!Auth::check()) {\n // do auth\n Auth::basic('username');\n }\n\n $user = Auth::user();\n\n $watched = $user->series()->with('pathRecords')->get();\n\n $params = array(\n 'watched' => $watched\n );\n\n return Response::make(View::make('opml', $params))->header(\n 'Content-Type', 'text/xml; charset=UTF-8')->header(\n 'Content-Disposition', 'attachment;filename=madokami-watched.opml'\n );\n }", "public function preview(){\n return $this->plist->saveXML();\n }", "public function toXML();", "function xml_get_info()\n\t{\n\t\t$this->output = $this->ipsclass->compiled_templates['skin_buddy']->xml_showme();\n\t}", "function print_xml(){\n $tag = $this->label;\n if ($this->gPrefix) {\n $tag = 'g:' . $tag;\n }\n echo ' <' . $tag . '>';\n $this->print_value();\n echo '</' . $tag . '>' . \"\\n\";\n }", "function getSkinXML()\r\n {\r\n $xml_skin = file_get_contents($this->viewerTemplatePath);\r\n $xml_skin = str_replace('%PLUGINDIR%/', $this->pluginFolderURL, $xml_skin);\r\n $xml_skin = str_replace('%SKINDIR%/', $this->skinFolderURL, $xml_skin);\r\n //%PLUGINDIR% = directory with krpano plugin\r\n //%SKINDIR% = directory with krpano skin\r\n \r\n //$xmlreturn = '<include url=\"'.$this->viewerTemplateURL.'\" />';\r\n //$xml_skin .= $this->skinFolderURL;\r\n return $xml_skin;\r\n\r\n }", "public function getSitemapXML()\n {\n return Controller::curr()->customise([\n 'Pages' => $this->getPages(),\n 'URL' => $this->url\n ])->renderWith('SitemapXML');\n }", "public function getEmptyOpml() {\n $opml = <<<EOF\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<opml version=\"1.0\">\n <head></head>\n <body>\n <outline text=\"Sample text\" />\n <outline text=\"Sample text\" url=\"Sample URL\" />\n </body>\n</opml>\nEOF;\n\n $path = 'public://empty-opml.xml';\n return \\Drupal::service('file_system')->saveData($opml, $path);\n }", "public function loadConfig()\r\n {\r\n global $nggpano_options;\r\n //Get default options of the plugin\r\n if(!$nggpano_options)\r\n $nggpano_options = get_option('nggpano_options');\r\n \r\n //TOOLS\r\n //Krpano Tool Config File\r\n $defaultToolConfigFile = $nggpano_options['toolConfigFile']; \t// set default config file for krapnotool\r\n //Krpano Tool Config File Folder\r\n $kmakemultiresConfigFolder = trailingslashit($nggpano_options['kmakemultiresConfigFolder']); \t// set default config file for krapnotool\r\n //Krpano Tool Folder\r\n $kmakemultiresFolder = trailingslashit($nggpano_options['kmakemultiresFolder']);\r\n //Krpano Tool XML Config file\r\n $kmakemultiresXMLConfig = $nggpano_options['kmakemultiresXMLConfig']; // =plugin_dir_path(\"nextgen-gallery-panoramics\").\"/krpanotools_xml_config/default.xml\";\r\n //Krpano Tempfolder\r\n $krpanoToolsTempFolder = trailingslashit($nggpano_options['krpanoToolsTempFolder']); //working dir for krpano\r\n \r\n //VIEWER\r\n //Krpano Viewer Folder\r\n $krpanoFolder = trailingslashit($nggpano_options['krpanoFolder']); //\t= plugin_dir_path(\"nextgen-gallery-panoramics\").\"/krpano/\";\r\n //Krpano Viewer Plugin Folder\r\n $pluginFolder = trailingslashit($nggpano_options['pluginFolder']); //\t= plugin_dir_path(\"nextgen-gallery-panoramics\").\"/krpano_plugins/\";\r\n \r\n //Skin File\r\n $defaultSkinFile = $nggpano_options['defaultSkinFile']; // set default skin for krpano.swf \r\n //Krpano Skin Folder\r\n $skinFolder = trailingslashit($nggpano_options['skinFolder']); // append related images // = plugin_dir_path(\"nextgen-gallery-panoramics\").\"/krpano_skins/\";\r\n\r\n \r\n //Get option from Gallery pano config\r\n $gallery_pano_options = nggpano_getGalleryOptions($this->gid);\r\n \r\n //\r\n \r\n //Set variables\r\n //VIEWER\r\n //Viewer Folder\r\n $this->krpanoFolder = $krpanoFolder;\r\n $this->krpanoFolderURL = trailingslashit(site_url()) . $krpanoFolder;//site_url() . NGGPANO_PLUGIN_DIR . $krpanoFolder; \r\n $this->krpanoFolderPath = ABSPATH . $krpanoFolder;\r\n //Plugins Folder\r\n $this->pluginFolder = $pluginFolder;\r\n $this->pluginFolderURL = trailingslashit(site_url()) . $pluginFolder; \r\n $this->pluginFolderPath = ABSPATH . $pluginFolder;\r\n //Skin Folder\r\n $this->skinFolder = $skinFolder;\r\n $this->skinFolderURL = trailingslashit(site_url()) . $skinFolder; \r\n $this->skinFolderPath = ABSPATH . $skinFolder;\r\n //Skin\r\n $this->viewerTemplate = (isset($gallery_pano_options->skin) && $gallery_pano_options->skin <> '') ? $gallery_pano_options->skin : $defaultSkinFile; //Complete Path to the kmultires config file\r\n $this->viewerTemplateURL = $this->skinFolderURL .$this->viewerTemplate; \r\n $this->viewerTemplatePath = $this->skinFolderPath .$this->viewerTemplate;\r\n\r\n //TOOLS\r\n //Path to kmakemultires\r\n $this->kmakemultiresFolder = $kmakemultiresFolder;\r\n $this->kmakemultiresFolderPath = ABSPATH . $kmakemultiresFolder;\r\n //Config Folder\r\n $this->kmakemultiresConfigFolder = $kmakemultiresConfigFolder;\r\n $this->kmakemultiresConfigFolderPath = ABSPATH . $kmakemultiresConfigFolder;\r\n //Config Files\r\n $this->toolConfigFile = $defaultToolConfigFile;\r\n $this->toolConfigFilePath = ABSPATH . $kmakemultiresConfigFolder .$this->toolConfigFile;\r\n //XML Config Files\r\n $this->kmakemultiresXMLConfig = $kmakemultiresXMLConfig; //Complete Path to the kmultires tool xml config files (default.xml)\r\n $this->kmakemultiresXMLConfigPath = ABSPATH . $kmakemultiresXMLConfig; \r\n //Temp Folder\r\n $this->krpanoToolsTempFolder = $krpanoToolsTempFolder;\r\n \r\n }", "function almacenXmlPolizas()\n\t{\n\t\t\trequire('views/almacen/navegadorXmlsPolizas.php');\n\t}", "private function montaXMLPLP ($etiquetas)\n\t{\n $this->CI->load->model(\"M_Sigep\");\n\n\t\t$xml = \"<?xml version=\\\"1.0\\\" encoding=\\\"ISO-8859-1\\\"?>\";\n\t\t$xml .= \"<correioslog>\";\n\t\t\t$xml .= \"<tipo_arquivo>Postagem</tipo_arquivo>\";\n\t\t\t$xml .= \"<versao_arquivo>2.3</versao_arquivo>\";\n\t\t\t$xml .= \"<plp>\";\n\t\t\t\t$xml .= \"<id_plp></id_plp>\";\n\t\t\t\t$xml .= \"<valor_global></valor_global>\";\n\t\t\t\t$xml .= \"<mcu_unidade_postagem></mcu_unidade_postagem>\";\n\t\t\t\t$xml .= \"<nome_unidade_postagem></nome_unidade_postagem>\";\n\t\t\t\t$xml .= \"<cartao_postagem>\".$this->cod_cartao.\"</cartao_postagem>\";\n\t\t\t$xml .= \"</plp>\";\n\t\t\t$xml .= \"<remetente>\";\n\t\t\t\t$xml .= \"<numero_contrato>\".$this->cod_contrato.\"</numero_contrato>\";\n\t\t\t\t$xml .= \"<numero_diretoria>36</numero_diretoria>\";\n\t\t\t\t$xml .= \"<codigo_administrativo>\".$this->cod_adm.\"</codigo_administrativo>\";\n\t\t\t\t$xml .= \"<nome_remetente><![CDATA[CallFarma]]></nome_remetente>\";\n\t\t\t\t$xml .= \"<logradouro_remetente><![CDATA[Av Manoel Ribas]]></logradouro_remetente>\";\n\t\t\t\t$xml .= \"<numero_remetente>123</numero_remetente>\";\n\t\t\t\t$xml .= \"<complemento_remetente><![CDATA[Segundo andar]]></complemento_remetente>\";\n\t\t\t\t$xml .= \"<bairro_remetente><![CDATA[Mêrces]]></bairro_remetente>\";\n\t\t\t\t$xml .= \"<cep_remetente><![CDATA[80810000]]></cep_remetente>\";\n\t\t\t\t$xml .= \"<cidade_remetente><![CDATA[Curitiba]]></cidade_remetente>\";\n\t\t\t\t$xml .= \"<uf_remetente>PR</uf_remetente>\";\n\t\t\t\t$xml .= \"<telefone_remetente><![CDATA[4132464533]]></telefone_remetente>\";\n\t\t\t\t$xml .= \"<fax_remetente><![CDATA[]]></fax_remetente>\";\n\t\t\t\t$xml .= \"<email_remetente><![CDATA[[email protected]]]></email_remetente>\";\n\t\t\t$xml .= \"</remetente>\";\n\t\t\t$xml .= \"<forma_pagamento></forma_pagamento>\";\n for ($i = 0; $i < count($etiquetas); $i++) {\n $xml .= \"<objeto_postal>\";\n $objetoPostal = $this->CI->M_Sigep->getObjetoPostal($etiquetas[$i]);\n\n if ( $objetoPostal != false ) {\n $etiqueta = str_replace(\" \", $objetoPostal[0]->digitocodigoobjetoect, $objetoPostal[0]->codigoobjetoect);\n\n \t\t\t\t$xml .= \"<numero_etiqueta>\".$etiqueta.\"</numero_etiqueta>\";\n \t\t\t\t$xml .= \"<codigo_objeto_cliente></codigo_objeto_cliente>\";\n \t\t\t\t$xml .= \"<codigo_servico_postagem>\".$objetoPostal[0]->idservicosect.\"</codigo_servico_postagem>\";\n \t\t\t\t$xml .= \"<cubagem>0,00</cubagem>\";\n \t\t\t\t$xml .= \"<peso>200</peso>\";\n \t\t\t\t$xml .= \"<rt1></rt1>\";\n \t\t\t\t$xml .= \"<rt2></rt2>\";\n \t\t\t\t$xml .= \"<destinatario>\";\n \t\t\t\t\t$xml .= \"<nome_destinatario><![CDATA[\".$objetoPostal[1]->nome.\"]]></nome_destinatario>\";\n \t\t\t\t\t$xml .= \"<telefone_destinatario><![CDATA[\".$objetoPostal[1]->telefone.\"]]></telefone_destinatario>\";\n \t\t\t\t\t$xml .= \"<celular_destinatario><![CDATA[\".$objetoPostal[1]->celular.\"]]></celular_destinatario>\";\n \t\t\t\t\t$xml .= \"<email_destinatario><![CDATA[\".$objetoPostal[1]->email.\"]]></email_destinatario>\";\n \t\t\t\t\t$xml .= \"<logradouro_destinatario><![CDATA[\".$objetoPostal[1]->ruaent.\"]]></logradouro_destinatario>\";\n \t\t\t\t\t$xml .= \"<complemento_destinatario><![CDATA[\".$objetoPostal[1]->complementoent.\"]]></complemento_destinatario>\";\n \t\t\t\t\t$xml .= \"<numero_end_destinatario>\".$objetoPostal[1]->numeroent.\"</numero_end_destinatario>\";\n \t\t\t\t$xml .= \"</destinatario>\";\n \t\t\t\t$xml .= \"<nacional>\";\n \t\t\t\t\t$xml .= \"<bairro_destinatario><![CDATA[\".$objetoPostal[1]->bairroent.\"]]></bairro_destinatario>\";\n \t\t\t\t\t$xml .= \"<cidade_destinatario><![CDATA[\".$objetoPostal[1]->cidadeent.\"]]></cidade_destinatario>\";\n \t\t\t\t\t$xml .= \"<uf_destinatario>\".$objetoPostal[1]->estadoent.\"</uf_destinatario>\";\n \t\t\t\t\t$xml .= \"<cep_destinatario><![CDATA[\".$objetoPostal[1]->cepent.\"]]></cep_destinatario>\";\n \t\t\t\t\t$xml .= \"<codigo_usuario_postal></codigo_usuario_postal>\";\n \t\t\t\t\t$xml .= \"<centro_custo_cliente></centro_custo_cliente>\";\n \t\t\t\t\t$xml .= \"<numero_nota_fiscal>123</numero_nota_fiscal>\";\n \t\t\t\t\t$xml .= \"<serie_nota_fiscal></serie_nota_fiscal>\";\n \t\t\t\t\t$xml .= \"<valor_nota_fiscal></valor_nota_fiscal>\";\n \t\t\t\t\t$xml .= \"<natureza_nota_fiscal></natureza_nota_fiscal>\";\n \t\t\t\t\t$xml .= \"<descricao_objeto><![CDATA[]]></descricao_objeto>\";\n \t\t\t\t\t$xml .= \"<valor_a_cobrar>0,00</valor_a_cobrar>\";\n \t\t\t\t$xml .= \"</nacional>\";\n \t\t\t\t$xml .= \"<servico_adicional>\";\n \t\t\t\t\t$xml .= \"<codigo_servico_adicional>025</codigo_servico_adicional>\";\n \t\t\t\t$xml .= \"</servico_adicional>\";\n \t\t\t\t$xml .= \"<dimensao_objeto>\";\n \t\t\t\t\t$xml .= \"<tipo_objeto>002</tipo_objeto>\";\n \t\t\t\t\t$xml .= \"<dimensao_altura>20</dimensao_altura>\";\n \t\t\t\t\t$xml .= \"<dimensao_largura>30</dimensao_largura>\";\n \t\t\t\t\t$xml .= \"<dimensao_comprimento>38</dimensao_comprimento>\";\n \t\t\t\t\t$xml .= \"<dimensao_diametro>0</dimensao_diametro>\";\n \t\t\t\t$xml .= \"</dimensao_objeto>\";\n \t\t\t\t$xml .= \"<data_postagem_sara></data_postagem_sara>\";\n \t\t\t\t$xml .= \"<status_processamento>0</status_processamento>\";\n \t\t\t\t$xml .= \"<numero_comprovante_postagem></numero_comprovante_postagem>\";\n \t\t\t\t$xml .= \"<valor_cobrado></valor_cobrado>\";\n }\n $xml .= \"</objeto_postal>\";\n }\n\t\t$xml .= \"</correioslog>\";\n\n\t\treturn $xml;\n\t}", "public function getPreferencesPane()\n {\n $group = new XMLElement('fieldset');\n $group->setAttribute('class', 'settings pickable');\n $group->setAttribute('id', 'postmark_api');\n $group->appendChild(new XMLElement('legend', __('Postmark Email Gateway')));\n\n $div = new XMLElement('div');\n $div->appendChild(new XMLElement('p', __('The following default settings will be used to send emails unless they are overwritten.')));\n $group->appendChild($div);\n\n $label = Widget::Label(__('API Key'));\n $label->appendChild(Widget::Input('settings[email_postmark][api_key]', Symphony::Configuration()->get('api_key', 'email_postmark')));\n $group->appendChild($label);\n\n $div = new XMLElement('div');\n $div->setAttribute('class', 'group');\n $label = Widget::Label(__('From Name'));\n $label->appendChild(Widget::Input('settings[email_postmark][from_name]', Symphony::Configuration()->get('from_name', 'email_postmark')));\n $div->appendChild($label);\n\n $label = Widget::Label(__('From Email Address'));\n $label->appendChild(Widget::Input('settings[email_postmark][from_address]', Symphony::Configuration()->get('from_address', 'email_postmark')));\n $div->appendChild($label);\n $group->appendChild($div);\n\n $group->appendChild(new XMLElement('p', 'Must match a server signature address created in Postmark.', array('class' => 'help')));\n\n return $group;\n }", "public function generate() {\n\t\t$piwixml = '<document xmlns=\"http://piwi.googlecode.com/xsd/piwixml\">';\n\t\t$piwixml .= \"<content position='main'>\";\n\t\t\n\t\t$piwixml .= $this->generateSections();\n\n\t\t$piwixml .= '</content>';\n\t\t$piwixml .= '</document>';\n\t\treturn $piwixml;\n\t}", "public function xml();", "public function xml()\n {\n return response()\n ->view('seo::sitemap_xml', [], 200)\n ->header('Content-Type', 'Content-Type', 'application/xml; charset=UTF-8');\n }", "function getOpensearchTemplate();", "function toXml() {\n // create a dom document with encoding utf8\n $domtree = new DOMDocument('1.0', 'UTF-8');\n $xmlRoot = $domtree->appendChild($domtree->createElement('view'));\n $this->addSelfToDocument($domtree, $xmlRoot);\n return $domtree->saveXML();\n }", "public function get_xml()\n { \n $response_data = $this->getAPIResponse(); \n $response = json_decode($response_data['data']);\n $records = $this->toArray($response);\n \n $xml = XMLParser::encode($records);\n $dom = new DOMDocument;\n $dom->preserveWhiteSpace = FALSE;\n $dom->loadXML($xml->asXML());\n $dom->formatOutput = TRUE;\n echo \"<pre>\";echo htmlentities($dom->saveXml());\n }", "public function getXML()\r\n\t{\r\n\t\treturn $this->_xmlToolBox->getXML('noHeader');\r\n\t}", "public function get_display() {\n $xml_obj = new SimpleXMLElement(\"<descriptions />\"); \n $descr_elem = $xml_obj->addChild(\"description\");\n $elem = $descr_elem->addChild(\"id\", $this->id);\n $elem = $descr_elem->addChild(\"short_lbl\", $this->short_lbl);\n $elem = $descr_elem->addChild(\"area\", $this->area);\n $elem = $descr_elem->addChild(\"description\", $this->description);\n $elem = $descr_elem->addChild(\"image\", $this->image);\n $elem = $descr_elem->addChild(\"exits_msg\", $this->get_exits_msg());\n return $xml_obj->asXML();\n }", "public function getViewElementConfig();", "public function doXmlLayer(){}", "protected function xml()\n {\n $this->putSello();\n $this->putCertificado();\n return $this->comprobante->getDocument();\n }", "abstract public function getXML();", "public function getAsXml()\r\n { \r\n $string_xml =\"\\t\\t<zona_sesion id_zona=\\\"\".$this->_id_zona.\"\\\" id_agrupador=\\\"\".$this->_id_agrupador.\"\\\">\\n\";\r\n $string_xml.=\"\\t\\t\\t<flag_numerada>\".$this->_flag_numerada.\"</flag_numerada>\\n\";\r\n $string_xml.=\"\\t\\t\\t<pvp>\".$this->_pvp.\"</pvp>\\n\";\r\n $string_xml.=\"\\t\\t\\t<descuentos>\\n\";\r\n foreach($this->_id_descuento_arr as $data_descuento ){ \r\n $string_xml.=\"\\t\\t\\t\\t<descuento id_agrupador=\\\"\".$data_descuento[\"id_agrupador\"].\"\\\">\\n\";\r\n $string_xml.=\"\\t\\t\\t\\t\\t<id_descuento>\".$data_descuento[\"id_descuento\"].\"</id_descuento>\\n\";\r\n $string_xml.=\"\\t\\t\\t\\t</descuento>\\n\";\r\n }\r\n $string_xml.=\"\\t\\t\\t</descuentos>\\n\"; \r\n $string_xml.=\"\\t\\t</zona_sesion>\\n\";\r\n return $string_xml;\r\n }", "public function getLayarResponse(Filter $filter = NULL) {\n\t\t$libxmlErrorHandlingState = libxml_use_internal_errors(TRUE);\n\n\t\t$simpleXML = $this->getSimpleXMLFromSource();\n\n\t\t$result = new LayarResponse();\n\n\t\t$layerNodes = $simpleXML->xpath(\"/layer\");\n\t\tif (count($layerNodes) > 0) {\t// when 0, this is an old style PorPOISe XML file\n\t\t\t$layerNode = $layerNodes[0];\t// always pick first <layer> element, multiples are ignored\n\t\t\tforeach($layerNode->children() as $childNode) {\n\t\t\t\t$name = $childNode->getName();\n\t\t\t\tswitch($name) {\n\t\t\t\tcase \"refreshInterval\":\n\t\t\t\tcase \"refreshDistance\":\n\t\t\t\t\t$result->$name = (int)$childNode;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"fullRefresh\":\n\t\t\t\t\t$result->$name = (bool)((string)$childNode);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"showMessage\":\n\t\t\t\tcase \"biwStyle\":\n\t\t\t\t\t$result->$name = (string)$childNode;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"action\":\n\t\t\t\t\t$result->actions[] = new Action($childNode);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"animation\":\n\t\t\t\t\tif (in_array((string)$childNode, array(\"drop\", \"spin\", \"grow\"))) {\n\t\t\t\t\t\t$result->animations = (string)$childNode;\n\t\t\t\t\t} else {\n\t\t\t\t\t\t$events = (string)$childNode[\"events\"];\n\t\t\t\t\t\tif (!empty($events)) {\n\t\t\t\t\t\t\tforeach (array(\"onCreate\", \"onUpdate\", \"onDelete\", \"onFocus\", \"onClick\") as $event) {\n\t\t\t\t\t\t\t\tif (strpos($events, $event) !== FALSE) {\n\t\t\t\t\t\t\t\t\t$result->animations[$event][] = new Animation($childNode);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\t// not relevant\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t$result->hotspots = $this->getPOIs($filter);\n\n\t\tlibxml_use_internal_errors($libxmlErrorHandlingState);\n\n\t\treturn $result;\n\t}", "public function index()\n {\n return $this->siteMap->renderXml();\n }", "public function toXML() {\n $xml = new GnipSimpleXMLElement(\"<type/>\");\n $xml[0] = $this->type;\n return trim($xml->asXML());\n }" ]
[ "0.6048373", "0.5757079", "0.5639023", "0.5563662", "0.54329264", "0.5423264", "0.541164", "0.5383256", "0.5355648", "0.53459084", "0.5337183", "0.5321387", "0.5273577", "0.52615476", "0.52115285", "0.5180512", "0.5136562", "0.51156425", "0.5115207", "0.5097383", "0.50553024", "0.5049875", "0.5047908", "0.50446165", "0.50370276", "0.5030746", "0.5024846", "0.50164044", "0.49922377", "0.49604687" ]
0.62104434
0
Get skin xml node
function getSkinXML() { $xml_skin = file_get_contents($this->viewerTemplatePath); $xml_skin = str_replace('%PLUGINDIR%/', $this->pluginFolderURL, $xml_skin); $xml_skin = str_replace('%SKINDIR%/', $this->skinFolderURL, $xml_skin); //%PLUGINDIR% = directory with krpano plugin //%SKINDIR% = directory with krpano skin //$xmlreturn = '<include url="'.$this->viewerTemplateURL.'" />'; //$xml_skin .= $this->skinFolderURL; return $xml_skin; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getSkin()\n {\n return $this->skin;\n }", "public function getSkin() : Skin{\r\n\t\treturn $this->skin;\r\n\t}", "public function getSkin()\n {\n return $this->config->get(static::PLUGIN_NAME . '.skin');\n }", "public function getSkinUrl() {\n return \"http://skinsystem.ely.by/skins/{$this->getUsername()}.png\";\n }", "function xml_get_info()\n\t{\n\t\t$this->output = $this->ipsclass->compiled_templates['skin_buddy']->xml_showme();\n\t}", "public function skinWidth() { return $this->_m_skinWidth; }", "public function skinHeight() { return $this->_m_skinHeight; }", "function kalium_get_custom_skin_file_url() {\n\t$custom_skin_filename = kalium_get_custom_skin_filename();\n\t$custom_skin_url = get_stylesheet_directory_uri() . '/assets/css/' . $custom_skin_filename;\n\n\tif ( is_child_theme() ) {\n\t\t$custom_skin_url = get_stylesheet_directory_uri() . '/' . $custom_skin_filename;\n\t}\n\n\treturn apply_filters( 'kalium_custom_skin_url', $custom_skin_url );\n}", "function kalium_get_custom_skin_filename() {\n\tif ( is_multisite() ) {\n\t\treturn apply_filters( 'kalium_multisite_custom_skin_name', 'custom-skin-' . get_current_blog_id() . '.css', get_current_blog_id() );\n\t}\n\n\treturn apply_filters( 'kalium_custom_skin_name', 'custom-skin.css' );\n}", "function renderSkinSelector () {\n\t\t$positionPid = $this->pObj->id;\n\t\t$page = t3lib_beFunc::getRecord('pages', $positionPid);\n\t\t$currentSkin = tx_templavoilaframework_lib::getCurrentSkin($positionPid);\n\t\t$customSkins = tx_templavoilaframework_lib::getCustomSkinKeys();\n\t\t$standardSkins = tx_templavoilaframework_lib::getStandardSkinKeys();\n\n\t\t$tmplHTML = array();\n\t\tif (!count($customSkins) && !count($standardSkins)) {\n\t\t\t$title = $GLOBALS['LANG']->getLL('noSkinsTitle');\n\t\t\t$message = sprintf($GLOBALS['LANG']->getLL('noSkinsMessage'), tx_templavoilaframework_lib::getCustomSkinPath());\n\t\t\t$severity = t3lib_FlashMessage::WARNING;\n\t\t\t$flashMessage = t3lib_div::makeInstance('t3lib_FlashMessage', $message, $title, $severity);\n\t\t\t$tmplHTML[] = $flashMessage->render();\n\t\t} else {\n\t\t\tif ($currentSkin) {\n\t\t\t\t$key = array_search($currentSkin, $customSkins);\n\t\t\t\tif($key !== FALSE) {\n\t\t\t\t\tunset($customSkins[$key]);\n\t\t\t\t}\n\t\t\t\t$key = array_search($currentSkin, $standardSkins);\n\t\t\t\tif ($key !== FALSE) {\n\t\t\t\t\tunset($standardSkins[$key]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t$tmplHTML[] = '<h2>' . sprintf($GLOBALS['LANG']->getLL('currentSkin'), $this->pObj->pageRecord['title'] . '</h2>');\n\n\t\t\t$currentSkinHTML = self::drawSkinPreview($currentSkin, $isCurrent = TRUE);\n\t\t\tif($currentSkin && $currentSkinHTML) {\n\t\t\t\t$tmplHTML[] = '<div class=\"currentWrapper\">';\n\t\t\t\t$tmplHTML[] = $currentSkinHTML;\n\t\t\t\t$tmplHTML[] = '</div>';\n\t\t\t} else {\n\t\t\t\t$tmplHTML[] = '<div class=\"noSkinSelected\">';\n\t\t\t\t$tmplHTML[] = $GLOBALS['LANG']->getLL('noSkinSelected');\n\t\t\t\t$tmplHTML[] = '</div>';\n\t\t\t}\n\n\t\t\tif (count($customSkins) || count($standardSkins)) {\n\t\t\t\t$tmplHTML[] = '<hr style=\"clear:both;\"/>';\n\t\t\t}\n\n\t\t\t$this->pObj->doc->inDocStylesArray['ul'] = 'ul { margin-left: 0px; padding-left: 0px; }';\n\t\t\t$this->pObj->doc->inDocStylesArray['li'] = 'li { list-style:none; padding: 8px 15px 8px 15px; clear:both; border-bottom: 2px solid '.$this->pObj->doc->bgColor4.'}';\n\t\t\t$this->pObj->doc->inDocStylesArray['input'] = 'img {margin:0px;padding:0px;}';\n\t\t\t$this->pObj->doc->inDocStylesArray['.iconWrapper'] = '.iconWrapper { display: inline-block; min-width: 130px; text-align: center; }';\n\t\t\t$this->pObj->doc->inDocStylesArray['.infoWrapper'] = '.infoWrapper { display: inline-block; margin-left: 5px; vertical-align: top; }';\n\t\t\t$this->pObj->doc->inDocStylesArray['.infoWrapper h2'] = '.infoWrapper h2 { background: none; }';\n\t\t\t$this->pObj->doc->inDocStylesArray['.buttonWrapper'] = '.buttonWrapper { margin-top: 10px; }';\n\t\t\t$this->pObj->doc->inDocStylesArray['.currentWrapper'] = '.currentWrapper { height: 70px; margin: 10px; padding: 10px; }';\n\t\t\t$this->pObj->doc->inDocStylesArray['.noSkinSelected'] = '.noSkinSelected { margin: 10px; padding: 10px; }';\n\n\t\t\t// If there are custom skins, show the section.\n\t\t\tif (count($customSkins)) {\n\t\t\t\t$tmplHTML[] = '<h3>' . $GLOBALS['LANG']->getLL('customSkins') . '</h3>';\n\t\t\t\t$tmplHTML[] = '<ul>';\n\t\t\t\tforeach ($customSkins as $skin) {\n\t\t\t\t\tif ($skin != $currentSkin) {\n\t\t\t\t\t\t$tmplHTML[] = '<li>';\n\t\t\t\t\t\t$tmplHTML[] = self::drawSkinPreview($skin);\n\t\t\t\t\t\t$tmplHTML[] = '</li>';\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t$tmplHTML[] = '</ul>';\n\t\t\t}\n\n\t\t\t// If there are standard skins, show the section.\n\t\t\tif (count($standardSkins)) {\n\t\t\t\t$tmplHTML[] = '<h3>' . $GLOBALS['LANG']->getLL('standardSkins') . '</h3>';\n\t\t\t\t$tmplHTML[] = '<ul>';\n\t\t\t\tforeach ($standardSkins as $skin) {\n\t\t\t\t\tif ($skin != $currentSkin) {\n\t\t\t\t\t\t$tmplHTML[] = '<li>';\n\t\t\t\t\t\t$tmplHTML[] = self::drawSkinPreview($skin);\n\t\t\t\t\t\t$tmplHTML[] = '</li>';\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t$tmplHTML[] = '</ul>';\n\t\t\t}\n\n\t\t\t// Add hidden form fields for skin selection and copying.\n\t\t\t$tmplHTML[] = '<input id=\"skinSelector\" type=\"hidden\" name=\"data[skin_selector]\" value=\"' . $currentSkin . '\" />';\n\t\t\tif ($this->allowSkinCopy()) {\n\t\t\t\t$tmplHTML[] = '<input id=\"copySkin\" type=\"hidden\" name=\"copySkin\" value=\"0\" />';\n\t\t\t}\n\t\t}\n\n\t\treturn implode(chr(10), $tmplHTML);\n\t}", "public function skinSize() {\n if ($this->_m_skinSize !== null)\n return $this->_m_skinSize;\n $this->_m_skinSize = ($this->skinWidth() * $this->skinHeight());\n return $this->_m_skinSize;\n }", "public function skin($name = NULL)\n\t{\n\t\tif (NULL === $name)\n\t\t\treturn $this->skin;\n\t\t\t\n\t\t$this->setup(array('skin' => $name));\n\t\t\n\t\treturn $this;\n\t}", "function get_default_name()\n\t{\n\t\treturn 'Stain Skin';\n\t}", "function bcp_profile_skin_title()\r\n {\r\n echo __('Customise','gears');\r\n\r\n return;\r\n }", "public function getInfo() {\n\n $theme_dir = $this->themeName;\n\n $output = array();\n\t\t$output = array(\"skins\" => \"\", 'layouts' => '');\n\t\t \n $directories = glob(_PS_ALL_THEMES_DIR_ . $theme_dir . '/sass/skins/*', GLOB_ONLYDIR);\n\n\t\tif($directories){\n\t\t\tforeach ($directories as $dir) {\n $output['skins'][basename($dir)]['name'] = $this->l(basename($dir));\n if(file_exists($dir.'/icon.png'))\n $output['skins'][basename($dir)]['icon'] = _PS_BASE_URL_._THEME_DIR_. 'sass/skins/'.basename($dir).'/icon.png';\n\t\t\t}\n\t\t}\n\n $xml = LeoFrameworkHelper::getThemeInfo($this->themeName);\n if (isset($xml->theme_key)) {\n $this->themeKey = trim((string) $xml->theme_key);\n }\n return $output;\n }", "public function get_skin_list()\n {\n $rows = $this->connection->query_select('themes', array('value'), array('variable' => 'name'));\n return collapse_1d_complexity('value', $rows);\n }", "function kalium_generate_custom_skin_file() {\n\t$custom_skin_filename = kalium_get_custom_skin_filename();\n\t$custom_skin_path = get_stylesheet_directory() . '/assets/css/' . $custom_skin_filename;\n\n\tif ( is_child_theme() ) {\n\t\t$custom_skin_path = get_stylesheet_directory() . '/' . $custom_skin_filename;\n\t}\n\n\tif ( is_writable( $custom_skin_path ) ) {\n\t\t$kalium_skin_custom_css = get_option( 'kalium_skin_custom_css' );\n\n\t\t$fp = @fopen( $custom_skin_path, 'w' );\n\t\t@fwrite( $fp, $kalium_skin_custom_css );\n\t\t@fclose( $fp );\n\n\t\treturn true;\n\t}\n\n\treturn false;\n}", "public function getResource()\n {\n return $this->tree->resource();\n }", "public function get_theme(){\n\t\t$theme = $this->Option->findByKey('cakecms_theme');\n\t\treturn $theme['Option']['value'];\n\t}", "public function getRootXmlElement()\n {\n return $this->getXmlConfig()->getNode();\n }", "function ShowSkinWithBuff() {\r\nglobal $uInfo, $config; \r\n\r\n\t$skin = GetVisual('skin');\r\n\tif ($skin === false and $uInfo['name'] !== false ) return; // user not exists - all users have default skin in skins dir\r\n\t\r\n\tloadTool('skin.class.php');\t\r\n\t$dir = MCRAFT . ( ( $uInfo['female'] == -1 and $uInfo['name'] ) ? 'tmp/skin_buffer/' : 'tmp/skin_buffer/default/' );\r\n\t$buffer = $dir.($uInfo['name'] ? $uInfo['name'] : 'Char').($uInfo['mini'] ? '_Mini' : '').($uInfo['female'] == 1 ? '_female' : '').'.png';\r\n\r\n\t\tif (file_exists($buffer)) { readfile($buffer); return; }\r\n\telseif ( $config['sbuffer'] ) \r\n\t\r\n\t\t$image = ($uInfo['mini'])? skinGenerator2D::saveHead($buffer, $skin) : skinGenerator2D::savePreview($buffer, $skin, GetVisual('cloak'));\r\n\telse \t\r\n\t\t$image = (!$uInfo['mini'])? skinGenerator2D::createHead($skin) : skinGenerator2D::createPreview($skin, GetVisual('cloak'));\r\n\r\n\tif ($image) { imagepng($image); imagedestroy($image); } \r\n}", "public function init()\n{\nparent::init();\nif($this->enableSkin && $this->skinPath===null)\n$this->skinPath=Yii::app()->getViewPath().DIRECTORY_SEPARATOR.'skins';\n}", "public static function get_theme():string { return self::$theme; }", "function kalium_get_custom_skin_file_path( $absolute = false ) {\n\t$custom_skin_filename = kalium_get_custom_skin_filename();\n\t$relative_theme_path = ltrim( substr( get_stylesheet_directory(), strlen( WP_CONTENT_DIR ) ), DIRECTORY_SEPARATOR );\n\n\t// Skin path\n\t$custom_skin_filepath = $relative_theme_path . '/assets/css/' . $custom_skin_filename;\n\n\t// Child theme skin path\n\tif ( is_child_theme() ) {\n\t\t$custom_skin_filepath = $relative_theme_path . '/' . $custom_skin_filename;\n\t}\n\n\t// Absolute path\n\tif ( $absolute ) {\n\t\t$custom_skin_filepath = WP_CONTENT_DIR . DIRECTORY_SEPARATOR . $custom_skin_filepath;\n\t}\n\n\treturn apply_filters( 'kalium_custom_skin_path', $custom_skin_filepath );\n}", "function shedSkin()\r\n {\r\n }", "function shedSkin()\r\n {\r\n }", "function shedSkin()\r\n {\r\n }", "public function getTheme();", "public function getTheme();", "public function getTheme();" ]
[ "0.69318527", "0.6800283", "0.6761763", "0.5971483", "0.57967484", "0.5666688", "0.56608874", "0.56463146", "0.5465784", "0.5442838", "0.5368705", "0.53200424", "0.51723987", "0.5120857", "0.5092513", "0.50488555", "0.50452864", "0.49842316", "0.4983386", "0.49752018", "0.49509618", "0.4939279", "0.49226606", "0.4894394", "0.4878606", "0.4878606", "0.4878606", "0.48491696", "0.48491696", "0.48491696" ]
0.7198877
0
Check if a row passes this condition
public function check(array $row): bool { return is_null($row[$this->column]); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function valid()\r\n {\r\n return $this->currentRow < $this->totalRows;\r\n }", "public function check(array $row): bool\n {\n return array_key_exists($this->column, $row) && preg_match(\"/\" .\n ($this->strictStart ? \"^\" : \"\") .\n preg_quote($this->value, \"/i\") .\n ($this->strictEnd ? \"$\" : \"\") .\n \"/\", (string)($row[$this->column]));\n }", "private function checkRows()\n {\n for($i=0; $i<3; $i++)\n {\n if($this->board[$i][0] !== self::BLANK &&\n $this->board[$i][0] === $this->board[$i][1] &&\n $this->board[$i][1] === $this->board[$i][2])\n return TRUE;\n }\n\n return FALSE;\n }", "public function valid()\n\t{\n\t\treturn $this->offsetExists($this->current_row);\n\t}", "public function rowsExist()\r\n {\r\n return $this->rowCount() != 0;\r\n }", "public function validateRowAccess($row) {\n\n\t\tif (elgg_get_ignore_access()) {\n\t\t\treturn true;\n\t\t}\n\n\t\tif ($row->access_id == ACCESS_PUBLIC) {\n\t\t\treturn true;\n\t\t}\n\n\t\t$user = elgg_get_logged_in_user_entity();\n\t\tif (!$user) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif ($row->access_id == ACCESS_LOGGED_IN && elgg_is_logged_in()) {\n\t\t\treturn true;\n\t\t}\n\n\t\tif ($user->isAdmin()) {\n\t\t\treturn true;\n\t\t}\n\n\t\tif ($row->owner_guid == $user->guid) {\n\t\t\treturn true;\n\t\t}\n\n\t\tif ($row->access_id == ACCESS_PRIVATE && $row->owner_guid == $user->guid) {\n\t\t\treturn true;\n\t\t}\n\n\t\tif ($row->access_id == ACCESS_FRIENDS && check_entity_relationship($row->owner_guid, 'friend', $user->guid)) {\n\t\t\treturn true;\n\t\t}\n\n\t\t$access_list = _elgg_services()->accessCollections->getAccessList($user->guid);\n\t\tif (in_array($row->access_id, $access_list)) {\n\t\t\treturn true;\n\t\t}\n\t}", "private function checkRow( $row ) {\n if( count( $row ) < 2 ){\n return false;\n }\n\n if( !filter_var($row[0], FILTER_VALIDATE_EMAIL) ){\n return false;\n }\n\n return true;\n }", "function multiple () {\n\t\treturn $this->rowCount() > 1;\n\t}", "private function validateRow($row)\n {\n return is_array($row) && count($row) >= 5 && !empty($row[0]);\n }", "public function hasRows(){\n return $this->_has(2);\n }", "protected function existsRow($row)\n {\n // exist and always return false. If the code ever needs\n // to maintain existing rows, this will need to be implemented\n\n return(false);\n }", "public function passed(){\n\n\t$this->check();\n\n\treturn (in_array(false, $this->results)) ? false : true;\n\n}", "function validate_rows() {\r\n $ret = True;\r\n for ($i = 0; $i < $this->db_count; $i++) {\r\n foreach ($this->properties as $colvar=>$col) {\r\n if (!$this->validate_field($colvar,$i)) # make sure this field is not empty\r\n $ret = False;\r\n }\r\n }\r\n return $ret;\r\n }", "public function supports_rows(): bool;", "public function valid(): bool\n {\n return key($this->rows) !== null;\n }", "public function valid(): bool\n {\n return $this->currentCol != $this->cols || $this->currentRow <= $this->rows;\n }", "public function can_do($row, $action)\n\t{\n\t\tif ( ! $row) return false;\n\t\t\n\t\tswitch ($action)\n\t\t{\n\t\t\tcase 'used':\n\t\t\t{\n\t\t\t\treturn ! $row->used;\n\t\t\t}\n\n\t\t\tcase 'bought':\n\t\t\t{\n\t\t\t\treturn ! $row->bought;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn parent::can_do($row, $action);\n\t}", "protected function shouldLineBeRated($row) {\n\t\tforeach ($this->legitimateValues as $key => $value) {\n\t\t\tif (!(is_array($value) && in_array($row[$key], $value) || $row[$key] == $value )) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "public function hasRows()\n {\n return ! empty($this->rows);\n }", "public function check()\n\t{\n\t\tif (!empty($this->virtuemart_user_id))\n\t\t{\n\t\t\t$query = $this->db->getQuery(true)\n\t\t\t\t->select('COUNT(' . $this->db->quoteName($this->_tbl_key) . ') AS total')\n\t\t\t\t->from($this->db->quoteName($this->_tbl))\n\t\t\t\t->where($this->db->quoteName($this->_tbl_key) . ' = ' . $this->db->quote($this->virtuemart_user_id));\n\t\t\t$this->db->setQuery($query);\n\n\t\t\tif ($this->db->loadResult() == 1)\n\t\t\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t$query = \"INSERT IGNORE INTO \" . $this->db->quoteName($this->_tbl) . \" (\" . $this->db->quoteName($this->_tbl_key) . \") VALUES (\" . $this->db->quote($this->virtuemart_user_id) . \")\";\n\t\t\t\t$this->db->setQuery($query);\n\t\t\t\t$this->db->execute();\n\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t}", "public function normativeRowExists_test($tester) {\n\t\t$this->setupTests();\n\t\t$normativeRowFound = FALSE;\n\t\tforeach ($this->rows as $row) {\n\t\t\tif (($row['redcap_repeat_instrument'] == \"\") && ($row['redcap_repeat_instance'] == \"\")) {\n\t\t\t\t$normativeRowFound = TRUE;\n\t\t\t}\n\t\t}\n\t\t$tester->assertTrue($normativeRowFound);\n\t}", "public function valid() {\n return isset($this->records[$this->position]);\n }", "public function can_do($row, $action)\n\t{\n\t\t$result = parent::can_do($row, $action);\n\n\t\treturn $result;\n\t}", "public function passes()\n {\n return !$this->fails();\n }", "public function hasRowType(){\n return $this->_has(1);\n }", "public function hasRowKeys(){\n return $this->_has(1);\n }", "public function hasRows()\n {\n return ! empty($this->form->rows());\n }", "function isValidRow($unitCode, $creditPoint, $yearSemester, $unitMark)\n {\n // If all fields in the row are empty.\n if(empty($unitCode) && empty($creditPoint) && empty($yearSemester) && empty($unitMark))\n {\n return true;\n }\n\n // If atleast one field in a row is empty, content invalid.\n if(!(empty($unitCode) && empty($creditPoint) && empty($yearSemester) && empty($unitMark)) && (empty($unitCode) || empty($creditPoint)|| \n empty($yearSemester) || empty($unitMark)))\n {\n echo \"<p class = 'errorMessages'>** Invalid form data! A unit row must be completed in full to proceed. </ br></p>\";\n return false;\n }\n\n return true;\n }", "public function is_correct($row, $col)\n {\n $weight = $this->weight($row, $col);\n\n if ($weight > 0.0) {\n return 1;\n } else {\n return 0;\n }\n }", "public function hasResult(){\n return $this->_has(4);\n }" ]
[ "0.6941856", "0.68178976", "0.6790733", "0.6595894", "0.64942586", "0.6490612", "0.64687455", "0.6458536", "0.6421583", "0.64115", "0.6312337", "0.6229157", "0.62263876", "0.6225023", "0.62174064", "0.61351097", "0.612721", "0.60765475", "0.5948869", "0.5905716", "0.5901659", "0.58986634", "0.5871345", "0.58520865", "0.5841717", "0.5819549", "0.5817848", "0.5814656", "0.5812586", "0.57976675" ]
0.7047577
0
select the game with $matchid, $teamnumber
public function select($con, $matchid, $teamnumber) { base::checkcon($con, __FUNCTION__); $sql = sprintf("select * from games where MatchID = %s and TeamNumber = %s", $matchid, $teamnumber); $result = mysqli_query($con,$sql); if (!$result) { die('Error: ' . mysqli_error($con)); } $row = mysqli_fetch_assoc($result); mysqli_free_result($result); if (!$row) return null; else { $game = new game($row); return $game; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function buildFindResult($match, $matchNumber = '', $gameNumber = '')\r\n\t{\r\n\t\t$output = '';\r\n\t\t$numTooltip = '';\r\n\t\tif ($match instanceof Application_Model_Game) {\r\n\t\t\t\t// Match is a game\r\n\t\t\t\t$type = 'Game';\r\n\t\t\t\t$typeClass= 'bold';\r\n\t\t\t\t$dateTime = DateTime::createFromFormat('Y-m-d H:i:s', $match->date);\r\n\t\t\t\t$newDate = $dateTime->format('m n');\r\n\t\t\t\t$day = $match->getDay('D', false);\r\n\t\t\t\t$hour\t = $match->getHour();\r\n\t\t\t\t$dateDesc = $dateTime->format('M j');\r\n\t\t\t\t$id\t\t = $match->gameID;\r\n\t\t\t\t$location = $match->getLimitedParkName(22);\r\n\t\t\t\t$gameIndex= $matchNumber;\r\n\t\t\t\t$numClass = 'dark-back';\r\n\t\t\t\t$dateHTML = \"<div class='member-find-game-date-day'>\" . $day . \"</div>&nbsp; \r\n\t\t\t\t\t\t\t\t<div class='member-find-game-date-hour'>\" . $hour . \"</div>\";\r\n\t\t\t\t\r\n\t\t\t\t$numTooltip = 'You are not in this game.';\r\n\t\t\t\t\r\n\t\t\t\tif ($match->hasValue('confirmed')) {\r\n\t\t\t\t\t$numClass = 'green-back';\r\n\t\t\t\t\tif ($match->confirmed == '1') {\r\n\t\t\t\t\t\t$confirmed = 'in';\r\n\t\t\t\t\t\t$confirmedClass = 'green';\r\n\t\t\t\t\t} elseif ($match->confirmed == '0') {\r\n\t\t\t\t\t\t$confirmed = 'out';\r\n\t\t\t\t\t\t$confirmedClass = 'red';\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\t$confirmed = 'maybe';\r\n\t\t\t\t\t\t$confirmedClass = '';\r\n\t\t\t\t\t}\r\n\t\t\t\t\t$numTooltip = 'You are <span class=\"heavy inherit ' . $confirmedClass . '\">' . $confirmed . '</span> for this game.';\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t} elseif ($match instanceof Application_Model_Team) {\r\n\t\t\t\t// Match is a team\r\n\t\t\t\t$type\t = 'Team';\r\n\t\t\t\t$dateHTML = $match->getLimitedName('city', 10);\r\n\t\t\t\t$location = $match->getLimitedName('teamName',25);\r\n\t\t\t\t$id\t\t = $match->teamID;\r\n\t\t\t\t$dateDesc = $match->city;\r\n\t\t\t\t$marker = '';\r\n\t\t\t\t$gameIndex= '';\r\n\t\t\t\t$typeClass= '';\r\n\t\t\t\t$numClass = 'green-back';\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t$output .= \"<a class='member-find-game-container member-\" . strtolower($type) . \"' href='/\" . strtolower($type) . \"s/\" . $id . \"' gameIndex='\" . $gameIndex . \"'>\";\r\n\t\t\t$output .= \"<div class='left member-find-game-number-container' tooltip='\" . $numTooltip . \"'><p class='member-find-game-number \" . $numClass . \" white arial bold'>\" . $matchNumber . \"</p></div>\";\r\n\t\t\t$output .= \"<p class='member-find-game-sport darkest bold'>\" . $match->sport . \"</p>\";\r\n\t\t\t$output .= \"<p class='member-find-game-type darkest \" . $typeClass . \"'>\" . $type . \"</p>\";\r\n\t\t\t$output .= \"<div class='member-find-game-date medium' tooltip='\" . $dateDesc . \"'>\" . $dateHTML . \"</div>\";\r\n\t\t\t$output .= \"<p class='member-find-game-players darkest bold'>\" . $match->countConfirmedPlayers() . \"<span class='darkest smaller-text'>/\" . ($match->rosterLimit > 30 ? \"&infin;\" : $match->rosterLimit) . \"</span></p>\";\r\n\t\t\t$output .= \"<img src='\" . $match->getMatchImage() . \"' class='member-find-game-match' tooltip='\" . $match->getMatchDescription() . \"'/>\";\r\n\t\t\t$output .= \"<p class='member-find-game-park medium'>\" . $location . \"</p>\";\r\n\t\t\t$output .= \"<img src='/images/global/body/single_arrow.png' class='member-find-game-arrow'/>\";\r\n\t\t\t\r\n\t\t\t$output .= \"</a>\";\r\n\t\t\t\r\n\t\t\treturn $output;\r\n\t}", "public static function getFootballMatchSql($tournament_id) {\n $tournament_id_str = 'm.tournament_id = '.$tournament_id;\n if ($tournament_id == null) $tournament_id_str = '1';\n $sql = 'SELECT t.id AS home_team_id, t2.id AS away_team_id, UCASE(t.name) AS home_team_name, UCASE(t2.name) AS away_team_name, \n tl.logo_filename AS home_logo, tl2.logo_filename AS away_logo, \n home_team_score, away_team_score,\n match_date, DATE_FORMAT(match_date, \"%W %M %d\") as match_date_fmt, \n match_time, TIME_FORMAT(match_time, \"%H:%i\") as match_time_fmt, \n match_order, bracket_order,\n g.name AS round, g2.name AS stage,\n g3.name AS group_name, g4.name AS parent_group_name,\n m.tournament_id, tou.name AS tournament_name,\n home_team_extra_time_score, away_team_extra_time_score,\n pt.id AS home_parent_team_id, pt2.id AS away_parent_team_id, \n UCASE(pt.name) AS home_parent_team_name, UCASE(pt2.name) AS away_parent_team_name,\n waiting_home_team, waiting_away_team\n FROM `match` m \n LEFT JOIN tournament tou ON tou.id = m.tournament_id \n LEFT JOIN team t ON t.id = m.home_team_id\n LEFT JOIN team t2 ON t2.id = m.away_team_id\n LEFT JOIN `group` g ON g.id = m.round_id\n LEFT JOIN `group` g2 ON g2.id = m.stage_id\n LEFT JOIN team_tournament tt ON (tt.team_id = m.home_team_id AND tt.tournament_id = m.tournament_id)\n LEFT JOIN `group` g3 ON g3.id = tt.group_id \n LEFT JOIN `group` g4 ON g4.id = tt.parent_group_id \n LEFT JOIN team_logo tl ON tl.team_id = t.id\n LEFT JOIN team_logo tl2 ON tl2.team_id = t2.id \n LEFT JOIN team pt ON pt.id = t.parent_team_id \n LEFT JOIN team pt2 ON pt2.id = t2.parent_team_id\n WHERE tou.tournament_type_id = '.Tournament::FOOTBALL.'\n AND '.$tournament_id_str.'\n ORDER BY stage_id, match_order, match_date, match_time;';\n return $sql;\n }", "public function get_players_by_match($id_match, $id_team)\n {\n global $wpdb;\n return $wpdb->get_results($wpdb->prepare(\"SELECT pt.id as player_id\n FROM $wpdb->player_data d\n LEFT JOIN $wpdb->player_team pt ON pt.id = d.id_player_team\n LEFT JOIN $wpdb->team t ON t.id = pt.id_team\n WHERE id_match = %d\n AND t.id = %d\",\n $id_match, $id_team)\n );\n }", "function get_match_idmatch($ballno) {\n return $this->db->get_where('match_idmatch', array('ballno' => $ballno))->row_array();\n }", "public function get_match_by_id($id) {\n $query = $this->_bdd->prepare(\"select * from MATCHS where Id = :id\");\n $query->bindParam(\":id\", $id);\n $query->execute();\n $data_match = array();\n if ( $query->rowCount() == 1 ) {\n $data_match[0] = $query->fetch();\n $data_match[0]['Saison'] = $this->_bdd->query(\"select Saison from SAISONS where Id = \".$data_match[0]['IdSaison'])->fetch()['Saison'];\n }\n //$this->_fiche = $this->get_fiche_match($id);\n }", "public function getNearMatchGames($id, $matchid) {\n\t\tif (! $matchgames) {\n\t\t\t$map ['id'] = array (\n\t\t\t\t\t'gt',\n\t\t\t\t\t$id \n\t\t\t);\n\t\t\t$map ['match_id'] = $matchid;\n\t\t\t$gtMatchGames = $this->getMatchGamesInfo ( $map, 5 );\n\t\t\t$map ['id'] = array (\n\t\t\t\t\t'lt',\n\t\t\t\t\t$id \n\t\t\t);\n\t\t\t$ltMatchGames = $this->getMatchGamesInfo ( $map, 5 );\n\t\t\t\n\t\t\t$matchgames = array_merge ( $gtMatchGames?$gtMatchGames:array(), $ltMatchGames?$ltMatchGames:array() );\n\t\t\tS ( 'match_game_near_' . $id, $matchgames, 5000 );\n\t\t}\n\t\treturn $matchgames;\n\t}", "public function get_one_match($id) {\n $query = $this->_bdd->prepare(\"select * from MATCHS where Id = :id\");\n $query->bindParam(\":id\", $id);\n $query->execute();\n if ( $query->rowCount() == 1 ) {\n $this->_nb = 1;\n $this->_data[0] = $query->fetch();\n $this->_data[0]['Saison'] = $this->_bdd->query(\"select Saison from SAISONS where Id = \".$this->_data[0]['IdSaison'])->fetch()['Saison'];\n }\n $this->_fiche = $this->get_fiche_match($id);\n }", "function getMatches($league_id) {\n\t\t\t$data = $this->fetch(\"SELECT t.id, t.challenger, t.league_id, t.match_date, t.created, t.completed, t.challengee_accepted, t.challenger_accepted, t.challenger_score, t.challengee_score, t.g_challenger, t.challengee, g2.guild AS g_challengee\n\t\t\t\t\t\t\t\t FROM (\n\t\t\t\t\t\t\t\t SELECT c1.id, c1.challenger, c1.created, c1.match_date, c1.league_id, c1.completed, c1.challengee_accepted, c1.challenger_accepted, c1.challenger_score, c1.challengee_score, g1.guild AS g_challenger, c1.challengee\n\t\t\t\t\t\t\t\t FROM \" . $this->prefix . \"guilds g1\n\t\t\t\t\t\t\t\t JOIN \" . $this->prefix . \"challenges c1\n\t\t\t\t\t\t\t\t ON g1.id = c1.challenger\n\t\t\t\t\t\t\t\t ) t \n\t\t\t\t\t\t\t\t JOIN guilds g2\n\t\t\t\t\t\t\t\t ON g2.id = t.challengee\n\t\t\t\t\t\t\t\t WHERE (t.league_id = '$league_id') AND (t.challengee_accepted != 2 AND t.challenger_accepted != 2)\n\t\t\t\t\t\t\t\t ORDER BY t.created DESC\t\n\t\t\t\t\t\t\t\t\");\n\t\t\treturn $data;\n\t\t}", "public function team1(){\n\t$query = $this->db->query(\"SELECT games.game_id, games.team_info, teams.team_location, teams.team_name, teams.team_logo, games.play_time, games.play_date FROM games JOIN teams on teams.team_id = games.team_info WHERE game = 241\");\n\treturn $query->result();\n}", "public static function processSelection ( $_tournamentID=null, $_teamID=null, $_teamTokenID=null, $_participantID=null, $_sportGameID=null, $_keyword=null, $_offset=0, $_limit=10 ) \n {\n\t\t$_qry = Doctrine_Query::create()\n\t\t\t\t->select(self::appendQueryFields())\n\t\t\t\t->from(\"TeamMemberParticipantRole tmMbrPrtRol\") \n\t\t\t\t->innerJoin(\"tmMbrPrtRol.TeamGameParticipation sprtGmPrtn on tmMbrPrtRol.team_game_participation_id = sprtGmPrtn.id \") \n\t\t\t\t->innerJoin(\"tmMbrPrtRol.TeamMemberParticipant tmMbrPrt on tmMbrPrtRol.team_member_participant_id = tmMbrPrt.id \") \n\t\t\t\t->innerJoin(\"tmMbrPrt.Team prtTm on tmMbrPrt.team_id = prtTm.id \") \n\t\t\t\t->innerJoin(\"sprtGmPrtn.GameCategory gmCat on sprtGmPrtn.sport_game_category_id = gmCat.id \") \n\t\t\t\t->innerJoin(\"sprtGmPrtn.SportGame sprtGm on sprtGmPrtn.sport_game_id = sprtGm.id \") \n\t\t\t\t->innerJoin(\"prtTm.Tournament trnmt on prtTm.tournament_id = trnmt.id \") \n\t\t\t\t->innerJoin(\"tmMbrPrt.Person prsn on tmMbrPrt.person_id = prsn.id \") \n\t\t\t\t->innerJoin(\"prtTm.Organization org on prtTm.org_id = org.id \") \n\t\t\t\t->offset($_offset)\n\t\t\t\t->limit($_limit) \n\t\t\t\t->orderBy(\"tmMbrPrt.id DESC\")\n\t\t\t\t->where(\"tmMbrPrt.id IS NOT NULL\");\n\t\t\t\t//if(!is_null($_orgID)) $_qry = $_qry->addWhere(\"prtTm.org_id = ?\", $_orgID);\n\t\t\t\tif(!is_null($_teamID)) $_qry = $_qry->addWhere(\"tmMbrPrt.team_id = ? AND tmMbrPrt.team_token_id = ? \", array($_teamID, $_teamTokenID));\n\t\t\t\tif(!is_null($_participantID)) $_qry = $_qry->addWhere(\"prsn.id = ?\", $_participantID); \n\t\t\t\tif(!is_null($_sportGameID)) $_qry = $_qry->addWhere(\"sprtGm.id = ?\", $_sportGameID); \n\t\t\t\tif(!is_null($_tournamentID)) $_qry = $_qry->addWhere(\"trnmt.id = ?\", $_tournamentID); \n\t\t\t\tif(!is_null($_keyword) )\n\t\t\t\t\tif(strcmp(trim($_keyword), \"\") != 0 )\n\t\t\t\t\t\t$_qry = $_qry->andWhere(\"prsn.full_name LIKE ? OR gmCat.category_name LIKE ? OR sprtGmPrtn.id LIKE ? OR sprtGmPrtn.description LIKE ?\", array( $_keyword, $_keyword, $_keyword, $_keyword));\n\t\t\t\t\n\t\t\t$_qry = $_qry->execute(array(), Doctrine_Core::HYDRATE_RECORD); \n\n\t\treturn ( count($_qry) <= 0 ? null:$_qry ); \n\t}", "public function team1(){\n\t$query = $this->db->query(\"SELECT games.game_id, games.team_info, teams.team_location, teams.team_name, teams.team_logo, games.play_time, games.play_date FROM games JOIN teams on teams.team_id = games.team_info WHERE game = 129 \");\n\treturn $query->result();\n}", "function GetGameIDByOther( $indate, $inhometeam, $inawayteam, $inagegroupid)\n {\n global $db_hostname,$db_username,$db_password, $db_database, $mysqli;\n\n $mysqli = new mysqli($db_hostname,$db_username,$db_password, $db_database);\n \n $outgame = \"\";\n \n $sqlinner = \" SELECT \n gameid \n ,fkfieldid \n ,referee \n ,homejob \n FROM game\n WHERE date = '\".$indate.\"'\n AND fkhometeamid = '\".$inhometeam.\"'\n AND fkagegroupid like '%\".$inagegroupid.\"%'\n AND fkawayteamid = '\".$inawayteam.\"'\";\n \n $r_queryinner = $mysqli->query($sqlinner);\n \n $gameid = \"Game not found.\";\n \n if ( $r_queryinner )\n {\n while ($rowinner = mysqli_fetch_assoc($r_queryinner))\n {\n\n $gameid = $rowinner['gameid'];\n\n }\n }\n\n // echo $sqlinner;\n \n echo (json_encode( $gameid ));\n \n }", "function create_match_idmatch($idMatch) {\n $query = \"CREATE TABLE match_\" . $idMatch . \" (ballno INT(4) AUTO_INCREMENT PRIMARY KEY, idtype INT(1) NOT NULL,runs INT(1) NOT NULL,idballer INT(1) NOT NULL,idbatsman INT(1) NOT NULL,idthirdplayer INT(1) NOT NULL)\";\n $query = $this->db->query($query);\n }", "public function getMatchesByTeam($team_id)\n { \n $result = $this->conn->query(\"SELECT qn_match.id as match_id, qn_match.id_team_home, qn_match.id_team_visit, qn_match.name_team_home, qn_match.name_team_visit, qn_match.fixture, qn_match.match_date, qn_result.id as result_id, qn_result.score_home, qn_result.score_visit FROM qn_match LEFT JOIN qn_result ON qn_match.id=qn_result.match_id WHERE qn_match.id_team_home=$team_id OR qn_match.id_team_visit=$team_id ORDER BY fixture ASC\") or die($this->conn->error);\n \n $rows = array();\n \n while ($row = $result->fetch_assoc()) {\n $rows[] = $row;\n }\n \n return $rows;\n }", "public function createFirstMatches() {\n $teamRepository = new TeamRepository();\n $currentMatches = [];\n $teams = $this->teamRepository->getTeams();\n //check the errors\n if (count($teams) !== 8) {\n $this->errors[] = 'Il doit y avoir 8 équipes pour lancer un tournoi.';\n require_once 'src/View/Match/show.php';\n exit;\n } else {\n $isCorrect = true;\n foreach ($teams as $team) {\n if(!$this->hasEnoughPlayer($team)) {\n $isCorrect = false;\n }\n }\n if (!$isCorrect) {\n $this->errors[] = 'Il doit y avoir au moins 2 joueurs par équipe.';\n require_once 'src/View/Match/show.php';\n exit;\n } else {\n //generate the matches\n for ($i=0; $i < 4 ; $i++) { \n $match = new Match();\n $randomKeys = array_rand($teams, 2);\n $match->setTeamOne($teams[$randomKeys[0]]->getId());\n $match->setTeamTwo($teams[$randomKeys[1]]->getId());\n array_splice($teams,$randomKeys[1], 1);\n array_splice($teams,$randomKeys[0], 1);\n $this->matchRepository->insert($match);\n $currentMatches[] = $this->matchRepository->getMatch(\"WHERE match_id =\" . $this->getCurrentMatchId(4));\n }\n }\n return $currentMatches;\n }\n }", "public function getMatchById($id)\n {\n $match = parent::find($id);\n //$match = parent::where('id_match',$id)->get();\n if($match){\n $match->board = $this->changesBoardToArray($match->board);\n return $match;\n }\n return null;\n }", "public function setMatch( $match ){ // throws RDException;\n\n $this->match = $match;\n\n /* if($match != null) {\n $this->homeTeam = $match->getHomeTeam();\n $this->awayTeam = $match->getAwayTeam();\n }*/\n // }\n \n }", "function mostplayedMatch(){\n\n\t\t$data = array();\n\t\t$data = $this->query(\"select count(*) as totalbets, b.id as bet_id,bp.name as bet_part_name, bp.odd as bet_part_odd, e.league_id, l.name as league_name, s.name as sport_name, l.sport_id,e.id as event_id,e.name as event_name,e.date as event_date FROM bet_parts as bp,bets as b, events as e, leagues as l, sports as s where e.active = 1 and l.active = 1 and s.active = 1 and b.event_id = e.id and l.id = e.league_id and s.id = l.sport_id and b.id = bp.bet_id and e.date >= DATE(NOW()) AND (e.result = '' or e.result = 'NULL') group by e.league_id order by totalbets DESC\");\n\t\treturn $data;\n\t}", "function CheckMatchID() {\r\n \r\n $matchIDSQL = $_REQUEST['id'];\r\n \r\n $Username1 = $_SESSION['Username1'];\r\n $Username2 = $_SESSION['Username2'];\r\n \r\n include(\"../database_connection.php\");\r\n \r\n $query = \"SELECT * FROM matches WHERE MatchID = $matchIDSQL\";\r\n $statement = $connect->prepare($query);\r\n $statement->execute();\t\r\n $count = $statement->rowCount();\r\n if($count > 0)\r\n {\r\n $result = $statement->fetchAll();\r\n foreach($result as $row)\r\n {\r\n if($row['Round'] == 4)\r\n {\r\n header(\"location: https://localhost/challenge/$matchIDSQL/view\");\r\n }\r\n }\r\n \r\n }\r\n else\r\n {\r\n\r\n //If the match does not exsist then we insert the matchID and continue\r\n\r\n $query = \"INSERT INTO matches (MatchID, Username1, Username2) VALUES ($matchIDSQL, '$Username1', '$Username2')\";\r\n $statement = $connect->prepare($query);\r\n $statement->execute();\t\r\n }\r\n }", "public function createScorecardView($match_id)\n\t{\n\t\t//get scheduled matches data data\n\t\t$match_data=array();\n\t\t$match_details = MatchSchedule::where('id',$match_id)->get();\n\t\tif(count($match_details)>0)\n\t\t\t$match_data = $match_details->toArray();\n\t\tif(!empty($match_data))\n\t\t{\n\t\t\t$sport_id = $match_data[0]['sports_id'];//get sport id\n\t\t\t$sportsDetails = Sport::where('id',$sport_id)->get()->toArray();//get sports details\n\t\t\tif(!empty($sportsDetails))\n\t\t\t{\n\t\t\t\t$sport_name = $sportsDetails[0]['sports_name'];\n\t\t\t\tif(strtolower($sport_name)==strtolower('Tennis'))//if match is related to tennis\n\t\t\t\t{\n\t\t\t\t\treturn $this->tennisOrTableTennisScoreCard($match_data,$match='Tennis',$is_from_view=1);\n\t\t\t\t}else if(strtolower($sport_name)==strtolower('Table Tennis'))//if match is related to table tennis\n\t\t\t\t{\n\t\t\t\t\treturn $this->tennisOrTableTennisScoreCard($match_data,$match='Table Tennis',$is_from_view=1);\n\t\t\t\t}else if(strtolower($sport_name)==strtolower('Cricket'))\n\t\t\t\t{\n\t\t\t\t\treturn $this->cricketScoreCard($match_data,$is_from_view=1);\n\t\t\t\t}\n\t\t\t\telse if(strtolower($sport_name)==strtolower('soccer'))\n\t\t\t\t{\n\t\t\t\t\treturn $this->soccerScoreCard($match_data,$is_from_view=1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public function putResults($match)\n { \n $scoreOne = rand(0,13);\n do {\n $scoreTwo = rand(0,13);\n } while ($scoreOne == $scoreTwo);\n $match->setResultOne($scoreOne)\n ->setResultTwo($scoreTwo);\n $this->matchRepository->update($match);\n }", "function selectgame($juego,$nivel){\n try{\n $query=\"SELECT multimedia.fuente, multimedia.nombre, niveles.idniveles \n FROM multimedia \n inner join detalle_multimedia_juego ON multimedia.idmultimedia=detalle_multimedia_juego.multimedia_idmultimedia \n inner join niveles ON detalle_multimedia_juego.niveles_idniveles=niveles.idniveles \n inner join juegos ON juegos.idjuegos=niveles.juegos_idjuegos\n where juegos.nombre=:juego AND nivel=:nivel AND multimedia.nombre != 'juego'\";\n $this->query($query);\n $this->bind(':juego',$juego);\n $this->bind(':nivel',$nivel);\n $this->execute();\n $row=$this->resultSet();\n return $row;\n\t}catch(PDOException $e){\n echo \"Error:\".$e->getMessage();\n }\n }", "public function startMatch($totalBet, $players) {\r\n\t\t\t// Update match data (total bet, wagers)\r\n\r\n\t\t\t$this->_updatePlayerData($players, true);\r\n\r\n\r\n\t\t\t$this->_db->beginTransaction();\r\n\t\t\t$betUpdate\t= $this->_db->prepare(\"\r\n\t\t\t\t\tUPDATE\t`character_matches`\r\n\t\t\t\t\tSET\t\t`total_bet`\t= :total_bet\r\n\t\t\t\t\tWHERE\t`character_match_id` = :character_match_id\r\n\t\t\t\t\");\r\n\t\t\tforeach ($totalBet as $position => $bet) {\r\n\t\t\t\t$betUpdate->execute(array(\r\n\t\t\t\t\t\t':total_bet'\t\t\t=> $bet,\r\n\t\t\t\t\t\t':character_match_id'\t=> $this->_characters[$position]['characterMatchId'],\r\n\t\t\t\t\t));\r\n\t\t\t}\r\n\t\t\t$this->_db->commit();\r\n\r\n\r\n\t\t}", "function get_by_game_open($game_id)\n {\n $this->db->where('game_id', $game_id);\n $this->db->where('user_id', null);\n $this->db->join('users','players.user_id=users.id', 'left');\n return $this->db->get($this->table)->result();\n }", "public function FindPlayerGame(Game $game, Player $player) {\n try {\n if( ($this->_requete = $this->_db->prepare(' SELECT `REJOIN`.`REJ_player_fk`\n FROM `REJOIN`\n JOIN `GAME` ON `REJOIN`.`REJ_game_fk` = `GAME`.`GAM_id`\n JOIN `PLAYER` ON `REJOIN`.`REJ_player_fk`=`PLAYER`.`PLA_id`\n WHERE `REJ_game_fk`=:id\n AND `REJ_player_fk`!=:idplayer\n ')) !== false ) {\n if($this->_requete->bindValue('id', $game->get_id() )\n && $this->_requete->bindValue('idplayer', $player->get_playerid() \n ) ){\n if($this->_requete->execute()) {\n if( ($data = $this->_requete->fetch(PDO::FETCH_ASSOC) ) !== false ){\n return $data['REJ_player_fk'];\n }\n } return false;\n }\n } \n }catch (PDOException $e) {\n throw new Exception($e->getMessage(),$e->getCode(),$e);\n }\n}", "private function insertDoubleHatTrickActivity($matchFound,$urlGen, $matchTeams, $matchUrl, $matchscore) {\n\t\t$player = new Player ();\n\t\t$activityMatch = new Activity ();\n\t\t$matchEvent = new MatchEvent ();\n\t\t$player_name_seo = null;\n\t\t$match_id = $matchFound [0] ['match_id'];\n\t\t$player_match_goals = $matchEvent->findGoalsByMatchCount($match_id);\n\n\t\tforeach ($player_match_goals as $goal) {\n\t\t\tswitch($goal['goals']) {\n\t\t\t\tcase ($goal['goals'] == 2):\n\t\t\t\t\t$activityType = Constants::$_DOUBLE_PLAYER_ACTIVITY; // check\n\t\t\t\t\t$player_name_seo = $urlGen->getPlayerMasterProfileUrl ( $goal [\"player_nickname\"], $goal [\"player_firstname\"], $goal [\"player_lastname\"], $goal[\"player_id\"], true, $goal [\"player_common_name\"] );\n\t\t\t\t\t$playersPathName = $this->getplayerimage($goal ['player_id']);\n\t\t\t\t\t$variablesToReplace = array ('player_name_seo' => $player_name_seo,\n\t\t\t\t\t\t\t\t\t\t\t\t'player_name' => $goal ['player_name_short'],\n\t\t\t\t\t\t\t\t\t\t\t\t'player_id' => $goal ['player_id'],\n\t\t\t\t\t\t\t\t\t\t\t\t'match_playing' => $matchTeams, //check\n\t\t\t\t\t\t\t\t\t\t\t\t'match_url' => $matchUrl, //check\n\t\t\t\t\t\t\t\t\t\t\t\t'match_score' => $matchscore); //check\n\t\t\t\t\t$activityMatch = new Activity ( );\n\t\t\t\t\t$activityMatch->insertUserActivityByActivityType ( $activityType, $variablesToReplace, null , 1 , $goal ['player_id'], null , null ,$playersPathName ,$match_id,1);\n\t\t\t\tbreak;\n\t\t\t\tcase ($goal['goals'] == 3):\n\t\t\t\t\t$activityType = Constants::$_HAT_TRICK_PLAYER_ACTIVITY;\n\t\t\t\t\t$player_name_seo = $urlGen->getPlayerMasterProfileUrl ( $goal [\"player_nickname\"], $goal [\"player_firstname\"], $goal [\"player_lastname\"], $goal[\"player_id\"], true, $goal [\"player_common_name\"] );\n\t\t\t\t\t$playersPathName = $this->getplayerimage($goal ['player_id']);\n\t\t\t\t\t$variablesToReplace = array ('player_name_seo' => $player_name_seo,\n\t\t\t\t\t\t\t\t\t\t\t\t'player_name' => $goal ['player_name_short'],\n\t\t\t\t\t\t\t\t\t\t\t\t'player_id' => $goal ['player_id'],\n\t\t\t\t\t\t\t\t\t\t\t\t'match_playing' => $matchTeams, //check\n\t\t\t\t\t\t\t\t\t\t\t\t'match_url' => $matchUrl, //check\n\t\t\t\t\t\t\t\t\t\t\t\t'match_score' => $matchscore); //check\n\t\t\t\t\t$activityMatch = new Activity ( );\n\t\t\t\t\t$activityMatch->insertUserActivityByActivityType ( $activityType, $variablesToReplace, null , 1 , $goal ['player_id'], null , null ,$playersPathName ,$match_id,1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "function teams() {\n\t\tglobal $db;\n\n\t\t$sql = \"\n\t\tSELECT\n\t\t\tuser.username as username,\n\t\t\tuser.id as user_id,\n\t\t\tstl_players.team_id as team_id,\n\t\t\tstl_positions.*\n\t\tFROM stl_players\n\t\t\tLEFT JOIN user\n\t\t\t\tON\n\t\t\t\tuser.id = stl_players.user_id\n\t\t\tINNER JOIN stl_positions\n\t\t\t\tON\n\t\t\t\tstl_players.user_id = stl_positions.ship_user_id\n\t\tWHERE\n\t\t\tstl_players.game_id = '$_GET[game_id]'\n\t\t\tAND\n\t\t\tstl_positions.game_id = '$_GET[game_id]'\n\n\n\t\t\";\n\t\t$result = $db->query($sql,__FILE__,__LINE__);\n\t\t$add1 = \"<b>\";\n\t\twhile($rs = $db->fetch($result)) {\n\t\t\t$add1 = ($rs['hit_user_id']) ? \"<b style='text-decoration: line-through'>\" : \"<b>\";\n\t\t\tif($rs['team_id'] == 0) {\n\t\t\t\t$this->data['team_gelb'] .= $add1.$rs['username'].\"</b><br>\";\n\t\t\t} else {\n\t\t\t\t$this->data['team_gruen'] .= $add1.$rs['username'].\"</b><br>\";\n\t\t\t}\n\t\t}\n\n\t}", "function get_by_game($game_id)\n {\n $this->db->where('game_id', $game_id);\n $this->db->join('users','players.user_id=users.id', 'left');\n $this->db->order_by('turn_order', 'asc');\n return $this->db->get($this->table)->result();\n }", "function getMatchesByRound($roundId) {\r\n\t\t$fields = array();\r\n\t\t$options = array();\r\n\t $fields['MATCH.ROUND'][OP_EQ_INT] = $roundId;\r\n\t $fields['MATCH.COMPETITION'][OP_EQ_INT] = $this->uid;\r\n//\t $options['debug'] = 1;\r\n\t\t$service = tx_cfcleaguefe_util_ServiceRegistry::getMatchService();\r\n \t$matches = $service->search($fields, $options);\r\n//t3lib_div::debug($roundId, 'tx_cfcleaguefe_models_competition'); // TODO: Remove me!\r\n \treturn $matches;\r\n }", "public function tennisOrTableTennisScoreCard($match_data,$match,$is_from_view=0)\n\t{\n\t\t$score_a_array=array();\n\t\t$score_b_array=array();\n\t\t$loginUserId = Auth::user()->id;\n\t\t//if($match_data[0]['match_status']=='scheduled')//match should be already scheduled\n\t\t//{\n\t\t\t$player_a_ids = $match_data[0]['player_a_ids'];\n\t\t\t$player_b_ids = $match_data[0]['player_b_ids'];\n\t\t\t\n\t\t\t$a_players = array();\n\t\t\t\n\t\t\t$team_a_playerids = explode(',',$player_a_ids);\n\t\t\t$a_team_players = User::select('id','name')->whereIn('id',$team_a_playerids)->get();\n\t\t\t\n\t\t\tif (count($a_team_players)>0)\n\t\t\t\t$a_players = $a_team_players->toArray();\n\t\t\t\n\t\t\t$b_players = array();\n\t\t\t\n\t\t\t$team_b_playerids = explode(',',$player_b_ids);\n\t\t\t$b_team_players = User::select('id','name')->whereIn('id',$team_b_playerids)->get();\n\t\t\t\n\t\t\tif (count($b_team_players)>0)\n\t\t\t\t$b_players = $b_team_players->toArray();\n\t\t\t\n\t\t\t$team_a_player_images = array();\n\t\t\t$team_b_player_images = array();\n\t\t\t\n\t\t\t//team a player images\n\t\t\tif(count($a_players)>0)\n\t\t\t{\n\t\t\t\tforeach($a_players as $a_player)\n\t\t\t\t{\n\t\t\t\t\t$team_a_player_images[$a_player['id']]=Photo::select()->where('imageable_id', $a_player['id'])->where('imageable_type',config('constants.PHOTO.USER_PHOTO'))->orderBy('id', 'desc')->first();//get user logo\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t//team b player images\n\t\t\tif(count($b_players)>0)\n\t\t\t{\n\t\t\t\tforeach($b_players as $b_player)\n\t\t\t\t{\n\t\t\t\t\t$team_b_player_images[$b_player['id']]=Photo::select()->where('imageable_id', $b_player['id'])->where('imageable_type',config('constants.PHOTO.USER_PHOTO'))->orderBy('id', 'desc')->first();//get user logo\n\t\t\t\t}\n\t\t\t}\n\t\t\tif($match_data[0]['schedule_type'] == 'player')//&& $match_data[0]['schedule_type'] == 'player'\n\t\t\t{\n\t\t\t\t$user_a_name = User::where('id',$match_data[0]['a_id'])->pluck('name');\n\t\t\t\t$user_b_name = User::where('id',$match_data[0]['b_id'])->pluck('name');\n\t\t\t\t$user_a_logo = Photo::select()->where('imageable_id', $match_data[0]['a_id'])->where('imageable_type',config('constants.PHOTO.USER_PHOTO'))->orderBy('id', 'desc')->first();//get user logo\n\t\t\t\t$user_b_logo = Photo::select()->where('imageable_id', $match_data[0]['b_id'])->where('imageable_type',config('constants.PHOTO.USER_PHOTO'))->orderBy('id', 'desc')->first();//get user logo\n\t\t\t\t$upload_folder = 'user_profile';\n\t\t\t\t$is_singles = 'yes';\n\t\t\t\tif($match=='Tennis')//tennis\n\t\t\t\t{\n\t\t\t\t\t$scores_a = TennisPlayerMatchScore::select()->where('user_id_a',$match_data[0]['a_id'])->where('match_id',$match_data[0]['id'])->get();\n\t\t\t\t\t$scores_b = TennisPlayerMatchScore::select()->where('user_id_a',$match_data[0]['b_id'])->where('match_id',$match_data[0]['id'])->get();\n\t\t\t\t}\n\t\t\t\telse //table tennis\n\t\t\t\t{\n\t\t\t\t\t$scores_a = TtPlayerMatchScore::select()->where('user_id_a',$match_data[0]['a_id'])->where('match_id',$match_data[0]['id'])->get();\n\t\t\t\t\t$scores_b = TtPlayerMatchScore::select()->where('user_id_a',$match_data[0]['b_id'])->where('match_id',$match_data[0]['id'])->get();\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tif(count($scores_a)>0)\n\t\t\t\t\t$score_a_array = $scores_a->toArray();\n\t\t\t\t\n\t\t\t\tif(count($scores_b)>0)\n\t\t\t\t\t$score_b_array = $scores_b->toArray();\n\t\t\t}else\n\t\t\t{\n\t\t\t\t$user_a_name = Team::where('id',$match_data[0]['a_id'])->pluck('name');//team details\n\t\t\t\t$user_b_name = Team::where('id',$match_data[0]['b_id'])->pluck('name');//team details\n\t\t\t\t$user_a_logo = Photo::select()->where('imageable_id', $match_data[0]['a_id'])->where('imageable_type',config('constants.PHOTO.TEAM_PHOTO'))->orderBy('id', 'desc')->first();//get user logo\n\t\t\t\t$user_b_logo = Photo::select()->where('imageable_id', $match_data[0]['b_id'])->where('imageable_type',config('constants.PHOTO.TEAM_PHOTO'))->orderBy('id', 'desc')->first();//get user logo\n\t\t\t\t$upload_folder = 'teams';\n\t\t\t\t$is_singles = 'no';\n\t\t\t\tif($match=='Tennis')//TENNIS\n\t\t\t\t{\n\t\t\t\t\t$scores_a = TennisPlayerMatchScore::select()->where('team_id',$match_data[0]['a_id'])->where('match_id',$match_data[0]['id'])->get();\n\t\t\t\t\t$scores_b = TennisPlayerMatchScore::select()->where('team_id',$match_data[0]['b_id'])->where('match_id',$match_data[0]['id'])->get();\n\t\t\t\t} \n\t\t\t\telse //table tennis\n\t\t\t\t{\n\t\t\t\t\t$scores_a = TtPlayerMatchScore::select()->where('team_id',$match_data[0]['a_id'])->where('match_id',$match_data[0]['id'])->get();\n\t\t\t\t\t$scores_b = TtPlayerMatchScore::select()->where('team_id',$match_data[0]['b_id'])->where('match_id',$match_data[0]['id'])->get();\n\t\t\t\t}\n\t\t\t\tif(count($scores_a)>0)\n\t\t\t\t\t$score_a_array = $scores_a->toArray();\n\t\t\t\t\n\t\t\t\tif(count($scores_b)>0)\n\t\t\t\t\t$score_b_array = $scores_b->toArray();\n\t\t\t}\n\t\t\t$decoded_match_details = array();\n\t\t\tif($match_data[0]['match_details']!='')\n\t\t\t{\n\t\t\t\t$decoded_match_details = json_decode($match_data[0]['match_details'],true);\n\t\t\t}\n\t\t\t\n\t\t\t//score status\n\t\t\t$score_status_array = json_decode($match_data[0]['score_added_by'],true);\n\t\t\t\n\t\t\t \n\t\t\t$rej_note_str='';\n\t\t\tif($score_status_array['rejected_note']!='')\n\t\t\t{\n\t\t\t\t$rejected_note_array = explode('@',$score_status_array['rejected_note']);\n\t\t\t\t$rejected_note_array = array_filter($rejected_note_array);\n\t\t\t\tforeach($rejected_note_array as $note)\n\t\t\t\t{\n\t\t\t\t\t$rej_note_str = $rej_note_str.$note.' ,';\n\t\t\t\t}\n\t\t\t}\n\n\n\t\t\t//ONLY FOR VIEW SCORE CARD\n\t\t\tif($is_from_view==1 || (!empty($score_status_array['added_by']) && $score_status_array['added_by']!=$loginUserId) || $match_data[0]['match_status']=='completed' || $match_data[0]['scoring_status']=='approval_pending' || $match_data[0]['scoring_status']=='approved') \n\t\t\t{\n\t\t\t\tif($match=='Tennis')\n\t\t\t\t{\n\t\t\t\t\treturn view('scorecards.tennisscorecardview',array('user_a_name'=>$user_a_name,'user_b_name'=>$user_b_name,'user_a_logo'=>$user_a_logo,'user_b_logo'=>$user_b_logo,'match_data'=>$match_data,'upload_folder'=>$upload_folder,'is_singles'=>$is_singles,'score_a_array'=>$score_a_array,'score_b_array'=>$score_b_array,'b_players'=>$b_players,'a_players'=>$a_players,'team_a_player_images'=>$team_a_player_images,'team_b_player_images'=>$team_b_player_images,'decoded_match_details'=>$decoded_match_details,'score_status_array'=>$score_status_array,'loginUserId'=>$loginUserId,'rej_note_str'=>$rej_note_str));\n\t\t\t\t}else\n\t\t\t\t{\n\t\t\t\t\t\n\t\t\t\t\treturn view('scorecards.tabletennisscorecardview',array('user_a_name'=>$user_a_name,'user_b_name'=>$user_b_name,'user_a_logo'=>$user_a_logo,'user_b_logo'=>$user_b_logo,'match_data'=>$match_data,'upload_folder'=>$upload_folder,'is_singles'=>$is_singles,'score_a_array'=>$score_a_array,'score_b_array'=>$score_b_array,'b_players'=>$b_players,'a_players'=>$a_players,'team_a_player_images'=>$team_a_player_images,'team_b_player_images'=>$team_b_player_images,'decoded_match_details'=>$decoded_match_details,'score_status_array'=>$score_status_array,'loginUserId'=>$loginUserId,'rej_note_str'=>$rej_note_str));\n\t\t\t\t}\n\t\t\t}\n\t\t\telse //to view and edit tennis/table tennis score card\n\t\t\t{\n\t\t\t\tif($match=='Tennis')\n\t\t\t\t{\n\t\t\t\t\treturn view('scorecards.tennisscorecard',array('user_a_name'=>$user_a_name,'user_b_name'=>$user_b_name,'user_a_logo'=>$user_a_logo,'user_b_logo'=>$user_b_logo,'match_data'=>$match_data,'upload_folder'=>$upload_folder,'is_singles'=>$is_singles,'score_a_array'=>$score_a_array,'score_b_array'=>$score_b_array,'b_players'=>$b_players,'a_players'=>$a_players,'team_a_player_images'=>$team_a_player_images,'team_b_player_images'=>$team_b_player_images,'decoded_match_details'=>$decoded_match_details,'score_status_array'=>$score_status_array,'loginUserId'=>$loginUserId,'rej_note_str'=>$rej_note_str));\n\t\t\t\t}else\n\t\t\t\t{\n\t\t\t\t\t\n\t\t\t\t\treturn view('scorecards.tabletennisscorecard',array('user_a_name'=>$user_a_name,'user_b_name'=>$user_b_name,'user_a_logo'=>$user_a_logo,'user_b_logo'=>$user_b_logo,'match_data'=>$match_data,'upload_folder'=>$upload_folder,'is_singles'=>$is_singles,'score_a_array'=>$score_a_array,'score_b_array'=>$score_b_array,'b_players'=>$b_players,'a_players'=>$a_players,'team_a_player_images'=>$team_a_player_images,'team_b_player_images'=>$team_b_player_images,'decoded_match_details'=>$decoded_match_details,'score_status_array'=>$score_status_array,'loginUserId'=>$loginUserId,'rej_note_str'=>$rej_note_str));\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t//}\n\t}" ]
[ "0.6481025", "0.6286114", "0.62790626", "0.6202468", "0.6109031", "0.60340375", "0.5988428", "0.59536505", "0.5921215", "0.5921196", "0.59173024", "0.58306164", "0.57832044", "0.5781122", "0.5724755", "0.57068706", "0.56936866", "0.56556237", "0.56482923", "0.5635644", "0.5600171", "0.55974984", "0.5590342", "0.5589291", "0.5589112", "0.55878", "0.55804336", "0.55547816", "0.5553412", "0.55446637" ]
0.73433894
0
Parses the specified doc comment for annotations
public function parseDocComment($docComment) { $annotations = []; // trim doc comment $docComment = $this->trimDocBlock($docComment); $escaped = false; $quoteBlock = null; $expressionStack = []; $inlineStack = []; $annotationSection = null; $annotationName = null; $annotationParams = null; $annotationExtendedSyntax = false; $jsonExpression = null; // ends the currently parsed annotation and puts it on return stack $endAnnotation = function() use (&$annotations, &$annotationName, &$annotationParams, &$annotationExtendedSyntax, &$annotationSection) { $name = preg_replace('/[\x00-\x1F\x7F]/u', '', $annotationName); $params = array_map(function($curr) { return preg_replace('/[\x00-\x1F\x7F]/u', '', $curr); }, $annotationParams); $annotations[] = new AnnotationData($name, $params); $annotationName = null; $annotationParams = []; $annotationExtendedSyntax = false; $annotationSection = null; }; // appends the value to the last annotation parameter $appendLastParameter = function($char) use (&$annotationParams) { $keys = array_keys($annotationParams); $annotationParams[end($keys)] = ($annotationParams[end($keys)] ?? '') . $char; }; foreach(preg_split('/(?<!^)(?!$)/u', $docComment) as $currChar) { // escaped char if ($escaped) { if (!in_array($currChar, ['\\', '"', '\'', '@', '(', ')', '[', ']', '{', '}'])) $currChar = '\\' . $currChar; switch($annotationSection) { case 'NAME': $annotationName .= $currChar; break; case 'PARAM': $appendLastParameter($currChar); break; } $escaped = false; continue; } // inline annotations if (!$annotationSection) { if ($currChar == '{') { $inlineStack[] = $currChar; } elseif ($currChar == '}' && !empty($inlineStack)) { array_pop($inlineStack); } } if (!empty($inlineStack)) continue; switch($currChar) { case '\\': $escaped = true; break; /** @noinspection PhpMissingBreakStatementInspection */ case '@': if (!$annotationSection) { $annotationSection = 'NAME'; $annotationName = ''; $annotationParams = []; $annotationExtendedSyntax = false; break; } else { // fall through to annotation } default: switch($annotationSection) { case 'NAME': switch($currChar) { /** @noinspection PhpMissingBreakStatementInspection */ case '('; $expressionStack[] = $currChar; $annotationExtendedSyntax = true; case ' '; case "\t"; $annotationSection = 'PARAM'; break; case '@': $endAnnotation(); $annotationSection = 'NAME'; break; case "\n"; $endAnnotation(); break; default: $annotationName .= $currChar; } break; case 'PARAM': if ($quoteBlock) { // end of quote block if ($quoteBlock == $currChar) { $quoteBlock = null; } else { // append to last parameter $appendLastParameter($currChar); } break; } if ($annotationExtendedSyntax) { // extended syntax // catch for JSON expression if ($jsonExpression && !in_array($currChar, [')', '}', ']'])) { $jsonExpression .= $currChar; continue; } switch ($currChar) { case '"'; case "'"; // start of quote block $quoteBlock = $currChar; break; case '('; case '{'; case '['; // start of JSON expression $jsonExpression .= $currChar; $expressionStack[] = $currChar; break; case ')'; case ']'; case '}'; // end of (JSON) expression if (end($expressionStack) != [')' => '(', ']' => '[', '}' => '{'][$currChar]) throw new AnnotationParseException($docComment,'Unexpected "' . $currChar . '" in annotation @' . $annotationName); else array_pop($expressionStack); // end php expression if (count($expressionStack) == 1) { $keys = array_keys($annotationParams); $annotationParams[end($keys)] = json_decode(trim($jsonExpression . $currChar, ')('), true); if (json_last_error()) throw new AnnotationParseException($docComment, 'Invalid JSON (' . json_last_error_msg() . ') in annotation @' . $annotationName); $jsonExpression = null; } // end annotation on last closing brace if ($currChar == ')' && empty($expressionStack)) $endAnnotation(); break; case ',': // for extended syntax, this starts a new parameter if ($expressionStack != ['(']) throw new AnnotationParseException($docComment, 'Unexpected "' . $currChar . '" in annotation @' . $annotationName); $annotationParams[] = ''; break; case '=': // named parameters $parameterKeys = array_keys($annotationParams); if (!is_numeric(end($parameterKeys)) || !end($annotationParams)) throw new AnnotationParseException($docComment, 'Unexpected "' . $currChar . '" in annotation @' . $annotationName); $key = array_pop($annotationParams); $annotationParams[$key] = ''; break; case ' ': case "\t"; case "\n"; // ignore these white space characters break; default: // append to last parameter $appendLastParameter($currChar); } } else { // simple syntax switch($currChar) { case "\n"; $endAnnotation(); break; case ' '; case "\t"; if (end($annotationParams)) $annotationParams[] = ''; break; default: // append to last parameter $appendLastParameter($currChar); } } } } } if ($annotationSection) { if (!empty($quoteBlock)) throw new AnnotationParseException($docComment,'String literal not ended properly in annotation' . $annotationName); if (!empty($expressionStack)) throw new AnnotationParseException($docComment,'Expression not ended properly in annotation' . $annotationName); $endAnnotation(); } return $annotations; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function parseDocComment() {\r\n\t\tif ($this->comment != \"\") {\r\n\t\t\tparent::parseDocComment();\r\n\t\t\tforeach($this->tags as $tag) {\r\n\t\t\t\tif ($tag->tagName == \"author\") {\r\n\t\t\t\t\tif (is_array($this->author)) {\r\n\t\t\t\t\t\t$this->author[] = $tag->value;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if ($this->author != \"\") {\r\n\t\t\t\t\t\t$this->author = array($this->author);\r\n\t\t\t\t\t\t$this->author[] = $tag->value;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\t$this->author = $tag->value;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\telseif ($tag->tagName == \"version\" && $this->version == \"\") {\r\n\t\t\t\t\t$this->version = $tag->value;\r\n\t\t\t\t}\r\n\t\t\t\t \r\n\t\t\t}\r\n\t\t}\r\n\t}", "public function parse(){\n\t\t\t$data = [];\n\n\t\t\tpreg_match_all('#@(.*?)\\n#s', $this->_comments, $annotations);\n\n\t\t\tforeach ($annotations[1] as $key => $annotation){\n\t\t\t\tif(preg_match('#([A-Za-z]+)\\((.*)\\)#is', $annotation)){\n\t\t\t\t\tpreg_match_all('#([A-Za-z]+)\\((.*)\\)#is', $annotation, $annotationData);\n\t\t\t\t\t$annotationTitle = $annotationData[1][0];\n\n\t\t\t\t\tif(isset(Parser::$_annotations[$annotationTitle])) {\n\t\t\t\t\t\t$annotationContents = explode(\", \", $annotationData[2][0]);\n\t\t\t\t\t\t$data[$key] = [];\n\n\t\t\t\t\t\tforeach ($annotationContents as $annotationContent) {\n\t\t\t\t\t\t\tpreg_match_all('#(.+)=\"(.*)\"#isU', trim($annotationContent), $annotationContentData);\n\n\t\t\t\t\t\t\t$data[$key]['type'] = $annotationTitle;\n\t\t\t\t\t\t\t$data[$key]['class'] = Parser::$_annotations[$annotationTitle];\n\t\t\t\t\t\t\t$data[$key]['properties'][$annotationContentData[1][0]] = $annotationContentData[2][0];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tthrow new AnnotationNotExistingException('The annotation \"' . $annotationTitle . '\" does not exist');\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn $data;\n\t\t}", "public function testInvalidAnnotation()\n {\n $doc = '/** @asdasd */';\n $this->parser->parseDoc($doc);\n }", "public function parseComment($comment) {\n $def = array(\n 'method' => '',\n 'description' => '',\n 'class' => '',\n 'memberOf' => '',\n 'access' => 'public',\n 'params' => array(),\n 'return' => '',\n 'var' => '',\n 'type' => '',\n 'extends' => '',\n 'decorator' => '',\n 'decNamespace' => '',\n 'decParams' => array(),\n 'function' => '',\n 'examples' => array()\n );\n foreach(explode(\"\\n\", $comment) as $line) {\n $line = trim($line);\n if(preg_match('#^@#',$line)) {\n $split = explode(' ',$line);\n $tagName = array_shift($split);\n $tagName = str_replace('@','',$tagName);\n if($tagName == 'method') {\n $methodName = implode(' ', $split);\n $def['method'] = $methodName;\n } else if($tagName == 'type') {\n $type = implode(' ', $split);\n $def['type'] = $type;\n } else if($tagName == 'var') {\n $varName = implode(' ', $split);\n $def['var'] = $varName;\n } else if($tagName == 'private') {\n $def['access'] = 'private';\n } else if($tagName == 'class') {\n $className = implode(' ', $split);\n $def['class'] = $className;\n } else if($tagName == 'memberOf') {\n $memberName = implode(' ', $split);\n $def['memberOf'] = $memberName;\n } else if($tagName == 'function') {\n $functionName = implode(' ', $split);\n $def['function'] = $functionName;\n }else if($tagName == 'example') {\n $exampleName = implode(' ', $split);\n $def['examples'][] = $exampleName;\n } else if($tagName == 'return') {\n $def['return'] = implode(' ',$split);\n } else if($tagName == 'decorator') {\n $def['decorator'] = implode(' ',$split);\n } else if($tagName == 'decNamespace') {\n $def['decNamespace'] = implode(' ',$split);\n } else if($tagName == 'decParam') {\n $decParamType = array_shift($split);\n $decParamName = array_shift($split);\n $decParamDescription = implode(' ',$split);\n $def['decParams'][] = array(\n 'type' => $decParamType,\n 'name' => $decParamName,\n 'description' => $decParamDescription\n );\n } else if($tagName == 'extends') {\n $def['extends'] = implode(' ',$split);\n } else if($tagName == 'param') {\n $tagParam = array_shift($split);\n $tagDescription = implode(' ',$split);\n $def['params'][$tagParam] = array(\n 'name' => $tagParam,\n 'description' => $tagDescription\n );\n }\n } else {\n $def['description'] .= $line . \"\\n\";\n }\n }\n $def['description'] = trim($def['description']);\n $this->commentsDef[] = $def;\n }", "public function parseDocBlock($docBlock)\n {\n $annotations = array();\n //echo \"Parsing doc block:<pre>$docBlock</pre>\";\n $annotationStrings = $this->getAnnotationStrings($docBlock);\n foreach ($annotationStrings as $annotationType => $annotationValue) {\n if ($this->isAnnotationString($annotationType)) {\n //echo \"Creating new $annotationType annotation<br/>\";\n $annotations[] = new Annotation($annotationType, $annotationValue);\n }\n }\n return $annotations;\n }", "private function addComments(Doc $doc = null): Doc\n {\n $an = new Annotation\\Parser($doc ? $doc->getText() : '');\n\n $params = [];\n\n foreach ($this->definition->dependencies as $dependency) {\n $params[] = new Annotation\\Line(\n sprintf('%s $%s', $this->getPropertyType($dependency), $dependency->var),\n 'param'\n );\n }\n\n if (!$this->definition->hasConstructor) {\n foreach ($this->definition->constructorParams as $param) {\n if (!empty($param->type)) {\n $type = $this->getParamType($param);\n if ($param->nullable) {\n $type = \"$type|null\";\n }\n\n $params[] = new Annotation\\Line(\n sprintf($param->isVariadic ? '%s ...$%s' : '%s $%s', $type, $param->name),\n 'param'\n );\n } else {\n $params[] = new Annotation\\Line(\n sprintf('$%s', $param->name),\n 'param'\n );\n }\n }\n }\n\n $placementID = 0;\n $previous = null;\n foreach ($an->lines as $index => $line) {\n // always next node\n $placementID = $index + 1;\n\n // inject before this parameters\n if ($line->is(['throws', 'return'])) {\n // insert before given node\n $placementID--;\n break;\n }\n\n $previous = $line;\n }\n\n if ($previous !== null && !$previous->isEmpty()) {\n $placementID++;\n }\n\n $an->lines = Utils::injectValues($an->lines, $placementID, $params);\n\n return new Doc($an->compile());\n }", "public function parseDocComment($docComment)\n {\n $this->description = '';\n $this->tags = [];\n $lines = explode(LF, $docComment);\n foreach ($lines as $line) {\n if ($line !== '' && strpos($line, '@') !== false) {\n $this->parseTag(substr($line, strpos($line, '@')));\n } elseif (empty($this->tags)) {\n $this->description .= preg_replace('#\\\\s*/?[*/]*(.*)$#', '$1', $line) . LF;\n }\n }\n $this->description = trim($this->description);\n }", "private function parse(string $comment, string $context): Annotations\n {\n AnnotationRegistry::registerUniqueLoader('class_exists');\n\n // compatibility with UUID annotation from TDBM 5.0\n $comment = \\str_replace(['@UUID v1', '@UUID v4'], ['@UUID(\"v1\")', '@UUID(\"v4\")'], $comment);\n\n // Let's add * in front of the line (otherwise, parsing is failing)\n $lines = explode(\"\\n\", $comment);\n $lines = array_map(function (string $line) {\n return '* '.$line;\n }, $lines);\n $comment = implode(\"\\n\", $lines);\n\n $annotations = $this->docParser->parse($comment, $context);\n\n return new Annotations($annotations);\n }", "public function parseAnnotations($comment)\n {\n $annotations = array(\n \"method\" => \"\",\n \"uri\" => \"\",\n \"conditions\" => array(),\n \"middleware\" => array()\n );\n\n // Handle the route @route METHOD URI\n if (preg_match(Router::ROUTE_REGEX, $comment, $matches)) {\n $annotations[\"method\"] = $matches[1];\n $annotations[\"uri\"] = $matches[2];\n }\n\n // Handle route conditions @where PARAMETER REGEX\n if (preg_match_all(Router::CONDITION_REGEX, $comment, $matches)) {\n for ($i = 0, $len = count($matches[1]); $i < $len; $i++) {\n $annotations[\"conditions\"][$matches[1][$i]] = $matches[2][$i];\n }\n }\n\n // Handle middleware @through METHOD_NAME\n if (preg_match_all(Router::THROUGH_REGEX, $comment, $matches)) {\n $annotations[\"middleware\"] = $matches[1];\n }\n\n return (object)$annotations;\n }", "private static function parseAnnotations($docblock): array\n {\n // init\n $annotations = [];\n\n // Strip away the docblock header and footer\n // to ease parsing of one line annotations\n $docblock = \\substr($docblock, 3, -2);\n\n $re = '/@(?P<name>[A-Za-z_-]+)(?:[ \\t]+(?P<value>.*?))?[ \\t]*\\r?$/m';\n if (\\preg_match_all($re, $docblock, $matches)) {\n $numMatches = \\count($matches[0]);\n\n for ($i = 0; $i < $numMatches; ++$i) {\n $annotations[$matches['name'][$i]][] = $matches['value'][$i];\n }\n }\n\n return $annotations;\n }", "private function analyseComment(Analysis $analysis, DocBlockParser $docBlockParser, string $comment, Context $context): void\n {\n $analysis->addAnnotations($docBlockParser->fromComment($comment, $context), $context);\n }", "protected function parse_annotations() {\n\t\t$class = new \\ReflectionClass( static::class );\n\t\t$properties = $class->getProperties( \\ReflectionProperty::IS_PUBLIC );\n\t\tforeach ( $properties as $property ) {\n\t\t\t$doc_block = $property->getDocComment();\n\t\t\tif ( ! stristr( $doc_block, '@property' ) ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t$this->annotations[ $property->getName() ] = array(\n\t\t\t\t'type' => $this->parse_annotations_var( $doc_block ),\n\t\t\t\t'sanitize' => $this->parse_annotation_sanitize( $doc_block ),\n\t\t\t\t'rule' => $this->parse_annotation_rule( $doc_block ),\n\t\t\t);\n\t\t}\n\t}", "protected function _parseDocComment(string $comment) : array\n {\n // Normalize all new lines to \\n\n $comment = str_replace([\"\\r\\n\", \"\\n\"], \"\\n\", $comment);\n\n // Remove the phpdoc open/close tags and split\n $exploded = array_slice(explode(\"\\n\", $comment), 1, -1);\n\n // Tag content\n $tags = [];\n\n foreach ($exploded as $i => $line)\n {\n // Remove all leading whitespace\n $line = preg_replace('/^\\s*\\* ?/m', '', $line);\n\n // Search this line for a tag\n if (preg_match('/^@(\\S+)(?:\\s*(.+))?$/', $line, $matches))\n {\n // This is a tag line\n unset($exploded[$i]);\n\n $name = $matches[1];\n $tags[$name] = $matches[2] ?? '';\n }\n else\n {\n $exploded[$i] = (string)$line;\n }\n }\n\n $exploded = trim(implode(\"\\n\", $exploded));\n\n return [$exploded, $tags];\n }", "private function parse_annotation_rule( string $docblock ) {\n\t\t$pattern = '/@(rule_.+)/';\n\t\tif ( preg_match( $pattern, $docblock, $matches ) ) {\n\t\t\treturn trim( $matches[1] );\n\t\t}\n\n\t\treturn false;\n\t}", "public function parseDocBlock($doc)\n {\n $params = array();\n $matches = array();\n\n // Get all of the @guzzle annotations from the class\n preg_match_all('/' . self::GUZZLE_ANNOTATION . '\\s+([A-Za-z0-9_\\-\\.]+)\\s*([A-Za-z0-9]+=\".+\")*/', $doc, $matches);\n\n if (isset($matches[1])) {\n foreach ($matches[1] as $index => $match) {\n // Add the matched argument to the array keys\n $params[$match] = array();\n if (isset($matches[2])) {\n // Break up the argument attributes by closing quote\n foreach (explode('\" ', $matches[2][$index]) as $part) {\n $attrs = array();\n // Find the attribute and attribute value\n preg_match('/([A-Za-z0-9]+)=\"(.+)\"*/', $part, $attrs);\n if (isset($attrs[1]) && isset($attrs[0])) {\n // Sanitize the strings\n if ($attrs[2][strlen($attrs[2]) - 1] == '\"') {\n $attrs[2] = substr($attrs[2], 0, strlen($attrs[2]) - 1);\n }\n $params[$match][$attrs[1]] = $attrs[2];\n }\n }\n }\n }\n }\n\n return $params;\n }", "public static function splitComment(\n $comment,\n array &$brief,\n array &$annotations\n ) {\n $brief = [ \"@todo documentation\" ];\n $tmp = [];\n if (0 < strlen($comment)) {\n $tmp = explode(\"\\n\", $comment);\n $brief = [];\n }\n /* insert parameters before other annotations */\n while (\n count($tmp)\n && ord('@') != ord(reset($tmp))\n ) {\n $brief[] = array_shift($tmp);\n }\n $keep = true;\n while (count($tmp)) {\n $str = array_shift($tmp);\n if (0 === strpos($str, '@doctrine')) {\n $keep ^= true;\n } elseif ($keep) {\n $annotations[] = $str;\n }\n }\n }", "function add_annotation(&$document, $annotation)\n{\n\tif (!isset($document->current_paragraph_node->open_annotation[$annotation->range[0]]))\n\t{\n\t\t$document->current_paragraph_node->open_annotation[$annotation->range[0]] = array();\n\t}\n\t\n\tif (!isset($document->current_paragraph_node->open_annotation[$annotation->range[0]][$annotation->range[1]]))\n\t{\n\t\t$document->current_paragraph_node->open_annotation[$annotation->range[0]][$annotation->range[1]] = array();\n\t}\n\t$document->current_paragraph_node->open_annotation[$annotation->range[0]][$annotation->range[1]][] = $annotation->id;\n\n\tkrsort($document->current_paragraph_node->open_annotation[$annotation->range[0]], SORT_NUMERIC);\n\t\n\tasort($document->current_paragraph_node->open_annotation[$annotation->range[0]][$annotation->range[1]]);\n\t\n\tif (!isset($document->current_paragraph_node->close_annotation[$annotation->range[1]]))\n\t{\n\t\t$document->current_paragraph_node->close_annotation[$annotation->range[1]] = array();\n\t}\n\t\n\tif (!isset($document->current_paragraph_node->close_annotation[$annotation->range[1]][$annotation->range[0]]))\n\t{\n\t\t$document->current_paragraph_node->close_annotation[$annotation->range[1]][$annotation->range[0]] = array();\n\t}\t\n\t\n\t$document->current_paragraph_node->close_annotation[$annotation->range[1]][$annotation->range[0]][] = $annotation->id;\n\t\n\tksort($document->current_paragraph_node->close_annotation[$annotation->range[1]], SORT_NUMERIC);\n\t\n\tarsort($document->current_paragraph_node->close_annotation[$annotation->range[1]][$annotation->range[0]]);\t\n}", "public function scanCommentTypes();", "function method_with_comment()\n {\n /**\n * Invalid doc comment location.\n */\n }", "private static function cleanUpMultiLineAnnotation($docComment) {\n\t\t$docComment = preg_replace ( '/' . '\\n' . '\\s*' . '\\*' . '\\s?' . '/', \"\\n\", $docComment );\n\t\t$docComment = substr ( $docComment, 0, - 1 );\n\t\t$docComment = rtrim ( $docComment, \"\\n\" );\n\t\t\n\t\treturn $docComment;\n\t}", "function parserDocBlock()\n {\n global $phpDocumentor_DefaultPackageName;\n $this->package = $GLOBALS['phpDocumentor_DefaultPackageName'];\n $this->category = $GLOBALS['phpDocumentor_DefaultCategoryName'];\n }", "public function getAnnotationList() {\n\n\t\tif ($this->docComment == null) {\n\t\t\t$this->docComment = new ReflectionDocComment($this);\n\t\t}\n\n\t\treturn $this->docComment->getAnnotationList();\n\t}", "public function getDefinition(): RectorDefinition\n {\n return new RectorDefinition(\n 'Corrects comments in annotations',\n [\n new CodeSample(\n <<<'PHP'\n/**\n * Some class\n */\nclass SomeClass\n{\n}\nPHP\n ,\n <<<'PHP'\n/**\n * Some class.\n*/\nclass SomeClass\n{\n}\nPHP\n ),\n ]\n );\n }", "protected function findAnnotations($str)\r\n {\r\n $str = trim(preg_replace('/^[\\/\\*\\# \\t]+/m', '', $str)).\"\\n\";\r\n $str = str_replace(\"\\r\\n\", \"\\n\", $str);\r\n \r\n $state = self::SCAN;\r\n $nesting = 0;\r\n $name = '';\r\n $value = '';\r\n \r\n $matches = array();\r\n \r\n for ($i=0; $i<strlen($str); $i++)\r\n {\r\n $char = substr($str,$i,1);\r\n \r\n switch ($state)\r\n {\r\n case self::SCAN:\r\n if ($char == '@')\r\n {\r\n $name = '';\r\n $value = '';\r\n $state = self::NAME;\r\n }\r\n else if ($char != \"\\n\" && $char != \" \" && $char != \"\\t\")\r\n $state = self::SKIP;\r\n break;\r\n \r\n case self::SKIP:\r\n if ($char == \"\\n\")\r\n $state = self::SCAN;\r\n break;\r\n \r\n case self::NAME:\r\n if (preg_match('/[a-zA-Z\\-\\\\\\\\]/', $char))\r\n $name .= $char;\r\n else if ($char == ' ')\r\n $state = self::COPY_LINE;\r\n else if ($char == '(')\r\n {\r\n $nesting++;\r\n $value = $char;\r\n $state = self::COPY_ARRAY;\r\n }\r\n else if ($char == \"\\n\")\r\n {\r\n $matches[] = array($name, null);\r\n $state = self::SCAN;\r\n }\r\n else\r\n $state = self::SKIP;\r\n break;\r\n \r\n case self::COPY_LINE:\r\n if ($char == \"\\n\")\r\n {\r\n $matches[] = array($name, $value);\r\n $state = self::SCAN;\r\n }\r\n else\r\n $value .= $char;\r\n break;\r\n \r\n case self::COPY_ARRAY:\r\n if ($char == '(')\r\n $nesting++;\r\n if ($char == ')')\r\n $nesting--;\r\n \r\n $value .= $char;\r\n \r\n if ($nesting == 0)\r\n {\r\n $matches[] = array($name, $value);\r\n $state = self::SCAN;\r\n }\r\n }\r\n }\r\n \r\n $annotations = array();\r\n \r\n foreach ($matches as $match)\r\n {\r\n $type = $this->manager->resolveName($match[0]);\r\n \r\n if ($type === false)\r\n continue;\r\n \r\n $value = $match[1];\r\n \r\n $quotedType = trim(var_export($type,true));\r\n \r\n if ($value === null)\r\n {\r\n # value-less annotation:\r\n $annotations[] = \"array({$quotedType})\";\r\n }\r\n else if (substr($value,0,1) == '(')\r\n {\r\n # array-style annotation:\r\n $annotations[] = \"array({$quotedType}, \".substr($value,1);\r\n }\r\n else\r\n {\r\n # PHP-DOC-style annotation:\r\n if (!array_key_exists('Annotation\\IAnnotationParser', class_implements($type, $this->autoload)))\r\n throw new AnnotationException(__CLASS__.\"::findAnnotations() : the {$type} Annotation does not support PHP-DOC style syntax (because it does not implement the Annotation\\\\IAnnotationParser interface)\");\r\n \r\n $properties = $type::parseAnnotation($value);\r\n \r\n if (!is_array($properties))\r\n throw new AnnotationException(__CLASS__.\"::findAnnotations() : the {$type} Annotation did not parse correctly\");\r\n \r\n $array = \"array({$quotedType}\";\r\n foreach ($properties as $name => $value)\r\n $array .= \", '{$name}' => \".trim(var_export($value,true));\r\n $array .= \")\";\r\n \r\n $annotations[] = $array;\r\n }\r\n }\r\n \r\n return $annotations;\r\n }", "public function isParsedWithComments();", "protected function handleComments()\n {\n $parser = new CommentParser();\n $parser->register();\n }", "public static function parseDocBlock($doc)\n {\n $result = [];\n if (preg_match_all(\n '/\\* @(\\w+)\\s+([\\\\|a-z]+)\\s+|([\\$|a-z]+)\\s+(.*)?/mi', $doc, $matches\n )) {\n $result = array_combine($matches[1], $matches[2]);\n }\n\n return $result;\n }", "public function testMoreThatOneIterationAnnotation()\n {\n $doc = <<<EOT\n/**\n * @iterations 2\n * @iterations 2\n */\nEOT;\n $this->parser->parseDoc($doc);\n }", "public function testParseMethodDoc($docComment, $expected)\n {\n $result = $this->parser->parseDoc($docComment);\n $this->assertEquals($result, $expected);\n }", "protected function scanComment()\n {\n $matches = [];\n\n if (preg_match('/^ *\\/(\\!)?([^\\n]+)?/', $this->input, $matches)) {\n $this->consumeInput(mb_strlen($matches[0]));\n $token = $this->takeToken('comment', isset($matches[2]) ? $matches[2] : '');\n $token->buffer = isset($matches[1]) && $matches[1] == '!';\n\n return $token;\n }\n }" ]
[ "0.6807992", "0.64256394", "0.63772345", "0.6322203", "0.6316299", "0.63134116", "0.6295467", "0.6291805", "0.622171", "0.6169877", "0.60524625", "0.60387427", "0.60168976", "0.59040135", "0.5855218", "0.5841699", "0.5806136", "0.5770348", "0.5763241", "0.5751393", "0.5729229", "0.57083994", "0.56613755", "0.56269157", "0.56165403", "0.56145465", "0.55800813", "0.55449736", "0.5539825", "0.55009085" ]
0.75292754
0
Sync clients with mailchimp list
public function sync() { $sql="SELECT id, email FROM client WHERE 1"; $res = R::getAll($sql); $log = ''; foreach($res as $c) { try { $this->service->mailchimpSubscribe($c['id']); $log .= sprintf('Client #%s %s synced', $c['id'], $c['email']) . PHP_EOL; } catch (Exception $exc) { error_log($exc->getMessage()); $log .= $exc->getMessage() . PHP_EOL; } } return $log; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function synDBandMailchimp()\n {\n\n echo '<br>syncing data <br>';\n\n $this->db_conn->dropTables();\n\n $mailChimpList = json_decode($this->getLists(),true);\n $newList = array();\n if(isset($mailChimpList['lists']))\n {\n foreach ($mailChimpList['lists'] as $item)\n {\n $newList[] = array('id'=>$item['id'], 'name'=>$item['name']);\n }\n }\n $this->setListCount(count($newList));\n return $this->db_conn->syncList($newList);\n }", "protected function client()\n {\n $mailchimp = new ApiClient();\n return $mailchimp->setConfig([\n 'apiKey' => config('services.mailchimp.key'),\n 'server' => 'us5'\n ]);\n\n }", "public function syncNewsletterData()\n {\n $model = $this->sibObject();\n $apiKey = $model->getDbData('api_key');\n $connection = $model->createDbConnection();\n $tblNewsletter = $model->tbWithPrefix('newsletter_subscriber');\n if (!empty($apiKey)) {\n $mailin = $model->createObjMailin($apiKey);\n $sibData = [];\n $listVal = $model->getDbData('selected_list_data');\n $sibData['listids'] = str_replace(',', '|', $listVal);\n $blockUsersLists = $mailin->getListUsersBlacklistStatus($sibData);\n $blockUsers = $blockUsersLists['data'];\n foreach ($blockUsers as $newsletterData) {\n if (!empty($newsletterData)) {\n foreach ($newsletterData as $nlData) {\n $status = $model->checkNlStatus($nlData['email']);\n if (!empty($status)) {\n $nlStatus = ($nlData['blacklisted'] == 1) ? 3 : 1;\n $email = $nlData['email'];\n $sql = $connection->query('Update ' . $tblNewsletter . ' Set subscriber_status = '.$nlStatus.' WHERE subscriber_email ='.\"'$email'\");\n }\n }\n }\n }\n }\n $this->messageManager->addSuccess(__('The CRON has been well executed.'));\n $this->_redirect('sendinblue/sib/index');\n return true;\n }", "public function newsletterMailChimp(){\n\t\n\t$pref\t= $this->configGet('newsletter');\n\t\n\t\n\t// Test\n\t/*$this->apikey \t= '8f34650efa3b349a402860743e28c5e9-us5';\n\t$this->apiUrl \t= 'us5';\n\t$this->listId\t= '4d53045cc0';*/\n\t\n\t// Prod\n\t/*$this->apikey \t= 'f70bac8652b9b3ae80bba06d69e9df5a-us1';\n\t$this->apiUrl \t= 'us1';\n\t$this->listId\t= '3e8522fbd3'; // Test : 4d53045cc0*/\n\t\n\t// Prod\n\t$this->apikey \t= $pref['mailchimpPass'];\n\t$this->apiUrl \t= $pref['mailchimpAuth'];\n\t//$this->listId\t= '3e8522fbd3'; // Test : 4d53045cc0\n}", "public function import_list($api_key, $list_id, $echo_feedback=true)\n\t{\n\t\t$Settings = $this->api->get('Settings');\n\n\t\tif ($echo_feedback) {\n\t\t\tflush();\n\t\t\t$API = new PerchAPI(1.0, 'perch_mailchimp');\n \t\t\t$Lang = $API->get('Lang');\n\t\t}\n\n\n\t\t//get subscribers\n\t\t$chunk_size = 4096; //in bytes\n\t\t$url = 'http://<dc>.api.mailchimp.com/export/1.0/list?apikey='.$api_key.'&id='.$list_id;\n\n\t\tlist(, $datacentre) = explode('-', $api_key);\n $url = str_replace('<dc>', $datacentre, $url);\n \t\t\n\t\t$handle = @fopen($url,'r');\n\t\t\n\t\tif (!$handle) {\n\t\t\tif ($echo_feedback) { \t\t\n\t \t\techo '<li class=\"icon failure\">';\n\t \techo $Lang->get('Could not access MailChimp API.');\n\t \techo '</li>';\n\t \tflush();\n\t \t}else{\n\t \t\treturn false;\n\t \t}\n\n\t\t}else{\n\t\t\t\n\n\t\t\t$this->db->execute('TRUNCATE TABLE '.PERCH_DB_PREFIX .'mailchimp_subscribers');\n\t\t \t\n\t\t \t$i = 0;\n\t\t \t$header = array();\n\t\t \t$subs = array();\n\t\t \n\t\t \twhile (!feof($handle)) {\n\t\t \t$buffer = fgets($handle, $chunk_size);\n\t\t \tif (trim($buffer)!=''){\n\t\t \t\t$obj = json_decode($buffer);\n\t\t \t\tif ($i==0){\n\t\t \t\t//store the header row\n\t\t \t\t$header = $obj;\n\t\t \t\t}else{\n\t\t \t\t$item = array();\n\t\t \t\t$count = PerchUtil::count($obj);\n\t\t \t\tif($count>0) {\n\t\t \t\t\tfor($n=0;$n<$count;$n++) {\n\t\t \t \t\t\t$item[$header[$n]] = $obj[$n];\n\t\t \t\t\t}\n\t\t \t\t}\n\t\t \t\t$subs_array = array(\n\t\t \t\t\t\t'subscriberDate'=>$item['CONFIRM_TIME'],\n\t\t \t\t\t\t'subscriberEmail'=>$obj[0]\n\t\t \t\t\t);\n\t\t \t\t\t$this->db->insert(PERCH_DB_PREFIX .'mailchimp_subscribers',$subs_array);\n\n\t\t\t\t \tif ($echo_feedback) {\n\t\t\t\t \t\techo '<li class=\"icon success\">';\n\t\t \techo $Lang->get('Importing %s', $obj[0]);\n\t\t \techo '</li>';\n\t\t \tflush();\n\t\t\t\t \t}\n\t\t\t\t $subs[] = $item;\n\t\t\t\t\t}\n\t\t \t\t$i++;\n\t\t \t}\n\t\t \t}\n\n\t\t \tfclose($handle);\n\t\t}\n\t}", "private function chargeLesClients()\n\t{\n\t\t$resultat=$this->maBD->chargement('client');\n\t\t$nb=0;\n\t\twhile ($nb<sizeof($resultat))\n\t\t\t{\n\t\t\t//instanciation du client et ajout de celui-ci dans la collection\n\t\t\t$this->tousLesClients->ajouteUnClient($resultat[$nb][0],$resultat[$nb][1],$resultat[$nb][2],$resultat[$nb][3],$resultat[$nb][4],$resultat[$nb][5],$resultat[$nb][6]);\n\t\t\t$nb++;\n\n\t\t\t}\n\t}", "public function updateMailingList()\n\t{\n\t\t$cli = self::ConnectToCG();\n\t\t$settings = array(\n\t\t\t'Subscribe'=>(string)$this->subscribe,\n\t\t\t'ConfirmationSubject'=>$this->confirmationRequestSubject,\n\t\t\t'ConfirmationText'=>$this->confirmationRequestText,\n\t\t\t'PolicySubject'=>$this->policyMessageSubject,\n\t\t\t'PolicyText'=>$this->policyMessageText,\n\t\t\t'ListFields'=>$this->serviceFields,\n\t\t\t'SizeLimit'=>$this->postingSizeLimit,\n\t\t\t'TOCTrailer'=>$this->feedModeTrailer,\n\t\t\t'WarningSubject'=>$this->warningMessageSubject,\n\t\t\t'WarningText'=>$this->wrningMessageText,\n\t\t\t'ByeSubject'=>$this->goodbyeMessageSubject,\n\t\t\t'ByeText'=>$this->goodbyeMessageText,\n\t\t\t);\n\n\t\t$domain = Yii::app()->params['domain'];\n\t\t$list = Yii::app()->request->getParam('mailingList');\n\t\t// $cli->setDebug(1);\n\t\t$cli->UpdateList(\"$list@$domain\", $settings);\n\t\t$cli->Logout();\n\t}", "function mailchimpSubmit($email, $merge_fields) {\n\n\t// vars\n\t$mc_api_root = MC_API_ROOT;\n\t$mc_api_key = MC_API_KEY;\n\t$mc_list_endpoint = MC_LIST_ENDPOINT; // for subscribing to SJC list\n\n\t// check mailchimp to see if user exists\n\t$curl_connection = curl_init($mc_api_root . $mc_list_endpoint . md5(strtolower($email)));\n\tcurl_setopt($curl_connection, CURLOPT_HTTPHEADER, \n\t\t\t\tarray('Authorization: apikey '.$mc_api_key));\n\tcurl_setopt($curl_connection, CURLOPT_RETURNTRANSFER, true);\n\t// echo \"initial user check result:\";\n\t$result = curl_exec($curl_connection);\n\tcurl_close($curl_connection);\n\t$status = json_decode($result, true)['status'];\n\t// echo $status;\n\n\n\t// if the user already exists, update the old record\n\tif($status == 'subscribed') {\n\t\t$curl_connection = curl_init($mc_api_root . $mc_list_endpoint . md5(strtolower($email)));\n\t\tcurl_setopt($curl_connection, CURLOPT_CUSTOMREQUEST, 'PUT');\n\t} else {\n\t\t$curl_connection = curl_init($mc_api_root . $mc_list_endpoint);\t\n\t}\n\t// set data to be sent\n\t$post_items = array('email_address' => $email,\n\t\t\t\t\t\t'status' => 'subscribed',\n\t\t\t\t\t\t'status_if_new' => 'subscribed',\n\t\t\t\t\t\t'update_existing' => true\n\t\t\t\t\t\t);\n\tif(!empty($merge_fields)) {\n\t\t$post_items['merge_fields'] = $merge_fields;\n\t}\n\t$payload = json_encode( $post_items );\n\t// set options\n\tcurl_setopt($curl_connection, CURLOPT_POSTFIELDS, $payload );\n\tcurl_setopt($curl_connection, CURLOPT_HTTPHEADER, \n\t\t\t\tarray('Content-Type:application/json',\n\t\t\t\t\t\t'Authorization: apikey '.$mc_api_key));\n\tcurl_setopt($curl_connection, CURLOPT_RETURNTRANSFER, true);\n\tcurl_setopt($curl_connection, CURLOPT_SSL_VERIFYPEER, false);\n\n\t// perform our request\n\t// echo \"user post/patch result\";\n\t$result = curl_exec($curl_connection);\n\t//close the connection\n\tcurl_close($curl_connection);\n\n\t// show information regarding the request\n\t// echo \"<pre>$result</pre>\";\n\t// echo json_decode($result, true)['status'];\n\t// print \"<pre>\";\n\t// print_r(curl_getinfo($curl_connection));\n\t// print \"</pre>\";\n\t// echo curl_errno($curl_connection) . '-' . \n\t// curl_error($curl_connection);\n\n}", "public function clientList ()\n {\n $clients_number = $this->Client->find('count');\n \n $current_page = 1;\n $max_per_page = 20;\n $total_pages = $this->getNumberOfPages($clients_number,$max_per_page);\n \n $clients = $this->getPaginatedList($max_per_page, $current_page);\n $this->set(array ('clients', 'total_pages', 'current_page', 'max_per_page'), array ($clients, $total_pages, $current_page, $max_per_page));\n \n }", "public function listSubscribe($opt = array()) {\n\n $double_optin\t\t= isset($opt['double_optin']) ? $opt['double_optin'] : true;\n $update_existing\t= false;\n $replace_interests\t= true;\n $send_welcome\t\t= false;\n $email_type\t\t\t= 'html';\n\n /* --- Example ---\n $opt = array(\n 'email'\t\t=> $email,\n 'merges'\t=> array(\n 'GROUPINGS' => array(\n array('name'=>'Type contact', 'groups' => 'contacts NL')\n )\n )\n );\n --- */\n\n $data = array(\n 'id' \t\t\t\t=> $opt['id_list'],\n 'email_address'\t\t=> $opt['email'],\n 'merge_vars' \t\t=> $opt['merges'],\n 'double_optin' \t\t=> $double_optin,\n 'update_existing' \t=> $update_existing,\n 'replace_interests' => $replace_interests,\n 'send_welcome' \t\t=> $send_welcome,\n 'email_type' \t\t=> $email_type\n );\n\n return $this->send($data, 'listSubscribe');\n}", "public function updateList()\r\n\t{\r\n\t\t$this->setUnsubscribers();\r\n\t\t\r\n\t\t$this->setSubscribers();\r\n\t\t\r\n\t\t$this->processUnsubscribers();\r\n\t}", "function add_subscriber($email, $key, $phone_number=\"\", $list_id) {\n $server = substr($key, stripos($key, \"-\") + 1);\n\n $fields = [\n 'email_address' => $email,\n 'status'=> 'subscribed',\n 'merge_fields' => [\n // 'FNAME' => '',\n // 'LNAME' => '',\n 'PHONE' => $phone_number\n ],\n ];\n\n $json_fields_array = json_encode($fields);\n\n $curl = curl_init();\n\n curl_setopt_array($curl, array(\n CURLOPT_URL => \"https://$server.api.mailchimp.com/3.0/lists/$list_id/members/\",\n CURLOPT_RETURNTRANSFER => true,\n CURLOPT_ENCODING => '',\n CURLOPT_MAXREDIRS => 10,\n CURLOPT_TIMEOUT => 0,\n CURLOPT_FOLLOWLOCATION => true,\n CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n CURLOPT_CUSTOMREQUEST => 'POST',\n CURLOPT_POSTFIELDS => $json_fields_array,\n CURLOPT_HTTPHEADER => array(\n \"Authorization: Bearer $key\",\n 'Content-Type: application/json'\n ),\n ));\n \n $response = curl_exec($curl);\n \n curl_close($curl);\n // echo $response;\n}", "public static function update_mailchimp_subscribers( $x ) {\n extract( shortcode_atts( array(\n 'post'=>array(),\n 'form_id'=>false\n ), $x));\n\n if(!isset($post['data'])) return false;\n $postData = wp_unslash($post['data']);\n $postData = json_decode($postData, true);\n if( isset( $postData['mailchimp_list_id'] ) ) {\n // First check if 'email' field exists, because this is required to make the request\n if( (empty($postData['email'])) || (empty($postData['email']['value'])) ) {\n SUPER_Common::output_message( array(\n 'msg' => sprintf( esc_html__( '%1$sError:%2$s Couldn\\'t subscribe the user to Mailchimp because no %1$sE-mail Address%2$s field was found in your form. Make sure to add this field and that it\\'s named %1$semail%2$s', 'super_forms' ), '<strong>', '</strong>' ),\n 'form_id' => absint($form_id)\n ));\n }\n\n // Retreive the list ID\n $list_id = sanitize_text_field( $postData['mailchimp_list_id']['value'] );\n\n // Setup CURL\n $global_settings = SUPER_Common::get_global_settings();\n $api_key = $global_settings['mailchimp_key'];\n $datacenter = explode('-', $api_key);\n $datacenter = $datacenter[1];\n $endpoint = 'https://' . $datacenter . '.api.mailchimp.com/3.0/';\n $request = 'lists/' . $list_id . '/interest-categories/';\n\n $email = sanitize_email( $postData['email']['value'] );\n $email = strtolower($email);\n $email_md5 = md5($email);\n $request = 'lists/' . $list_id . '/members/';\n $url = $endpoint.$request;\n $patch_url = $url . $email_md5;\n $get_url = $url . $email_md5;\n\n // First find out if this member already exists\n $response = wp_remote_post( \n $patch_url, \n array(\n 'headers' => array(\n 'Content-Type' => 'application/json; charset=utf-8',\n 'Authorization' => 'Bearer ' . $api_key\n ),\n 'body' => null,\n 'method' => 'GET',\n 'data_format' => 'body'\n )\n );\n if ( is_wp_error( $response ) ) {\n $error_message = $response->get_error_message();\n SUPER_Common::output_message( array(\n 'msg' => $error_message,\n 'form_id' => absint($form_id)\n ));\n } \n\n // Setup default user data\n $user_data = array();\n\n // Set user info\n $user_data['email_address'] = $email;\n if( isset( $postData['first_name'] ) ) {\n $user_data['merge_fields']['FNAME'] = $postData['first_name']['value'];\n }\n if( isset( $postData['last_name'] ) ) {\n $user_data['merge_fields']['LNAME'] = $postData['last_name']['value'];\n } \n\n // Retreive the VIP status if any\n $user_data['vip'] = 'false';\n if(!empty($postData['mailchimp_list_id']['vip'])){\n $user_data['vip'] = $postData['mailchimp_list_id']['vip'];\n }\n // Convert to Boolean\n $user_data['vip'] = $user_data['vip'] === 'true'? true: false;\n\n // @since 1.2.0 - option to save custom fields\n if( ( isset( $postData['mailchimp_custom_fields_' . $list_id] ) ) && ($postData['mailchimp_custom_fields_' . $list_id]!='') ) {\n $merge_fields = array();\n $fields = explode( \"\\n\", $postData['mailchimp_custom_fields_' . $list_id]['value'] );\n foreach( $fields as $k ) {\n $field = explode( \"|\", $k );\n // first check if a field with the name exists\n if( isset( $postData[$field[1]]['value'] ) ) {\n $merge_fields[$field[0]] = $postData[$field[1]]['value'];\n }else{\n // if no field exists, just save it as a string\n $string = SUPER_Common::email_tags( $field[1], $postData, $global_settings );\n // check if string is serialized array\n $unserialize = unserialize($string);\n if ($unserialize !== false) {\n $merge_fields[$field[0]] = $unserialize;\n }else{\n $merge_fields[$field[0]] = $string;\n }\n }\n }\n foreach( $merge_fields as $k => $v ) {\n $user_data['merge_fields'][$k] = wp_unslash($v);\n }\n }\n\n if( (!empty($postData['mailchimp_send_confirmation']['value'])) && ($postData['mailchimp_send_confirmation']['value']==1 )) {\n $user_data['status'] = 'pending'; // When user needs to confirm their E-mail address, we want to set status to pending\n }else{\n // Use the status defined on the field\n if(empty($postData['mailchimp_subscriber_status']['value'])) {\n $postData['mailchimp_subscriber_status'] = 'subscribed';\n }\n // Can be `subscribed` or `unsubscribed`\n $user_data['status'] = $postData['mailchimp_subscriber_status']['value'];\n }\n\n // Find out if we have some selected interests\n if( isset( $postData['mailchimp_interests'] ) ) {\n $interests = explode( ',', $postData['mailchimp_interests']['value'] );\n foreach($interests as $k => $v ){\n $user_data['interests'][$v] = true;\n }\n }\n\n $data_string = json_encode($user_data);\n\n $obj = json_decode( $response['body'], true );\n if( $obj['status']=='pending' || $obj['status']=='subscribed' || $obj['status']=='unsubscribed' ) {\n // The user exists, let's PATCH instead of POST\n // Only delete interests if this for is actually giving the user the option to select interests\n if( isset( $postData['mailchimp_interests'] ) ) {\n // Merge new interests with existing ones, set old ones to false if need be\n foreach( $obj['interests'] as $k => $v ) {\n if(!isset($user_data['interest'][$k])){\n $obj['interests'][$k] = false;\n if(isset($user_data['interests'][$k])) $obj['interests'][$k] = true;\n }\n }\n $user_data['interests'] = $obj['interests'];\n $data_string = json_encode($user_data); \n }\n // Now update the user with it's new interests\n $response = wp_remote_post( \n $patch_url, \n array(\n 'headers' => array(\n 'Content-Type' => 'application/json; charset=utf-8',\n 'Authorization' => 'Bearer ' . $api_key\n ),\n 'body' => $data_string,\n 'method' => 'PATCH',\n 'data_format' => 'body'\n )\n );\n // Handle response\n self::handle_api_response($response, $form_id);\n }else{\n // The user does not exist, let's create a new one\n $response = wp_remote_post( \n $url, \n array(\n 'headers' => array(\n 'Content-Type' => 'application/json; charset=utf-8',\n 'Authorization' => 'Bearer ' . $api_key\n ),\n 'body' => $data_string,\n 'method' => 'POST',\n 'data_format' => 'body'\n )\n );\n // Handle response\n self::handle_api_response($response, $form_id);\n }\n \n // Set subscription tags if any\n if(!empty($postData['mailchimp_list_id']['subscriber_tags'])){\n $tags = $postData['mailchimp_list_id']['subscriber_tags'];\n $tags = explode(',', $tags);\n foreach($tags as $k => $v){\n $tags[$k] = array(\n 'name' => trim($v),\n 'status' => 'active'\n );\n }\n $tags = array('tags' => $tags);\n $tags = json_encode($tags);\n $response = wp_remote_post( \n $patch_url . '/tags', \n array(\n 'headers' => array(\n 'Content-Type' => 'application/json; charset=utf-8',\n 'Authorization' => 'Bearer ' . $api_key\n ),\n 'body' => $tags,\n 'method' => 'POST',\n 'data_format' => 'body'\n )\n );\n // Handle response\n self::handle_api_response($response, $form_id);\n } \n\n }\n }", "public function subscribe($list_id, $email, $groups = array(), $custom_fields = array(), $user_id = 0, $double_optin = false)\n {\n // Load MailChimp\n if (!$this->load_mailchimp()) {\n return false;\n }\n\n $this->log_add(__('Subscribe process launched for user email: ', 'woochimp') . $email);\n\n $interests = array();\n $merge_fields = array();\n\n // Any groups to be set?\n if (!empty($groups)) {\n\n foreach ($groups as $group) {\n $parts = preg_split('/:/', htmlspecialchars_decode($group), 2);\n $interests[$parts[0]] = true;\n }\n }\n\n // Double opt-in option selects the status\n $user_status = $double_optin ? 'pending' : 'subscribed';\n\n // Custom fields\n foreach ($custom_fields as $key => $value) {\n if (!empty($value)) {\n $merge_fields[$key] = $value;\n }\n }\n\n $params = array(\n 'email_address' => $email,\n 'status' => $user_status,\n );\n\n // Don't include empty non-required params\n if (!empty($interests)) {\n $params['interests'] = $interests;\n }\n\n if (!empty($merge_fields)) {\n $params['merge_fields'] = $merge_fields;\n }\n\n // Add only new users or also update old\n $update = $this->opt['woochimp_already_subscribed_action'] == '2' ? true : false;\n\n // Subscribe\n try {\n\n // Note: old \"replace groups\" options are replaced by this option\n $result = ($update === true) ? $this->mailchimp->put_member($list_id, $params) : $this->mailchimp->post_member($list_id, $params);\n\n // Add to log\n $this->log_add(__('User was subscribed successfully.', 'woochimp'));\n $this->log_process_regular_data($params, $result);\n\n // Record user's subscribed list\n self::track_user_list($list_id, 'subscribed', $email, array_keys($interests), $user_id);\n self::remove_user_list($list_id, 'unsubscribed', $user_id);\n\n return true;\n }\n catch (Exception $e) {\n\n if (preg_match('/.+is already a list member+/', $e->getMessage())) {\n $this->log_add(__('Member already exists.', 'woochimp'));\n return 'member_exists';\n }\n\n $this->log_process_exception($e);\n return false;\n }\n }", "public function syncCustomers()\n {\n $invoicePlane = new InvoicePlane($apikey, $ipUrl);\n $result = $invoicePlane->syncCustomers();\n $this->log->write('Result:' . print_r($result, true));\n }", "public function updateMailchimp()\n {\n try {\n $input = Input::all();\n $settings = array();\n $settings['api_key'] = $input['api_key'];\n $settings['list_name'] = $input['list_name'];\n\n MailChimpSettings::saveSettings($settings);\n } catch (\\Exception $e) {\n return redirect()->back()->with('error', 'Woops! There was an error... Try again later');\n\n }\n return redirect()->back()->with('success', 'Updated successfully');\n }", "public function connected_lists() {\n\t\t$key = edd_get_option('eddmc_api', false);\n\n\t\tif ( ! $key ) {\n\t\t\treturn;\n\t\t}\n\n\t\t$connected_list_ids = array();\n\t\t$lists = EDD_MailChimp_List::connected();\n\t\t?>\n\n\t\t<h2><?php _e('Connected Lists', 'eddmc'); ?></h2>\n\n\t\t<?php if ( empty( $lists ) ) : ?>\n\t\t\t<p><?php _e('There are currently no MailChimp lists connected to Easy Digital Downloads.', 'eddmc'); ?></p>\n\t\t<?php else: ?>\n\n\t\t\t<script>\n\t\t\t\t(function($){\n\t\t\t\t\t$(document).ready(function(){\n\t\t\t\t\t\t$('.edd-mailchimp-disconnect-list').click(function() {\n\t\t\t\t\t\t\tif ( ! confirm(\"<?php _e('Are you sure you want to disconnect this list?', 'eddmc');?>\" ) ) {\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t})(jQuery);\n\t\t\t</script>\n\n\t\t\t<p><?php _e('These are the MailChimp lists that are currently connected to Easy Digital Downloads.', 'eddmc'); ?></p>\n\t\t\t<table class=\"is-edd-mailchimp-table is-edd-mailchimp-connected-lists-table form-table wp-list-table widefat fixed posts\">\n\t\t\t\t<thead>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<th>\n\t\t\t\t\t\t\t<?php _e('Default', 'eddmc'); ?>\n\t\t\t\t\t\t\t<span alt=\"f223\" class=\"edd-help-tip dashicons dashicons-editor-help\" title=\"<strong><?php _e('Default List', 'eddmc'); ?></strong>: <?php printf( __('Your default list is the list users will be subscribed to when they opt-in at checkout. Your %s specific associations will be applied regardless of the opt-in checkbox at checkout.', 'eddmc'), edd_get_label_singular( true ) ); ?>\"></span>\n\t\t\t\t\t\t</th>\n\t\t\t\t\t\t<th><?php _e('Connected List Name', 'eddmc'); ?></th>\n\t\t\t\t\t\t<th>\n\t\t\t\t\t\t\t<?php _e('Ecommerce Data', 'eddmc'); ?>\n\t\t\t\t\t\t\t<span alt=\"f223\" class=\"edd-help-tip dashicons dashicons-editor-help\" title=\"<strong><?php _e('Ecommerce Data', 'eddmc'); ?></strong>: <?php _e('Your Easy Digital Downloads store contains order information that can be used within MailChimp to enhance communication with your customer. Use this syncing feature to ensure all of your store information is up-to-date on your MailChimp account.', 'eddmc'); ?>\"></span>\n\t\t\t\t\t\t</th>\n\t\t\t\t\t\t<th><?php _e('Actions', 'eddmc'); ?></th>\n\t\t\t\t\t</tr>\n\t\t\t\t</thead>\n\t\t\t\t<?php foreach ($lists as $list): ?>\n\t\t\t\t\t<?php\n\t\t\t\t\t$force_list_sync_url = add_query_arg( array(\n\t\t\t\t\t\t'settings-updated' => false,\n\t\t\t\t\t\t'tab' => 'extensions',\n\t\t\t\t\t\t'section' => 'mailchimp',\n\t\t\t\t\t\t'edd-action' => 'mailchimp_force_list_sync',\n\t\t\t\t\t\t'mailchimp_list_remote_id' => $list->remote_id,\n\t\t\t\t\t) );\n\n\t\t\t\t\t$disconnect_list_url = add_query_arg( array(\n\t\t\t\t\t\t'settings-updated' => false,\n\t\t\t\t\t\t'tab' => 'extensions',\n\t\t\t\t\t\t'section' => 'mailchimp',\n\t\t\t\t\t\t'edd-action' => 'mailchimp_disconnect_list',\n\t\t\t\t\t\t'mailchimp_list_remote_id' => $list->remote_id,\n\t\t\t\t\t) );\n\t\t\t\t\t\t?>\n\t\t\t\t\t\t<?php $connected_list_ids[] = $list->remote_id; ?>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t<input type=\"radio\" name=\"edd_settings[eddmc_default_list]\" value=\"<?php esc_attr_e($list->remote_id); ?>\" <?php checked( $list->is_default, 1 ); ?> />\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t<span class=\"is-mailchimp-list-name\">\n\t\t\t\t\t\t\t\t\t<?php echo $list->name; ?>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t<span class=\"is-mailchimp-list-id\">ID: <?php echo $list->remote_id; ?></span>\n\t\t\t\t\t\t\t</td>\n\n\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t<?php echo $list->sync_status; ?>\n\t\t\t\t\t\t\t\t<span class=\"is-last-sync-date\">\n\t\t\t\t\t\t\t\t\t<strong><?php _e('Last Synced', 'eddmc'); ?>:</strong>\n\t\t\t\t\t\t\t\t\t<?php\n\t\t\t\t\t\t\t\t\tif ( $list->synced_at == '0000-00-00 00:00:00') {\n\t\t\t\t\t\t\t\t\t\t_e('Never', 'eddmc');\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\techo date( 'F jS, Y \\a\\t g:iA', strtotime( $list->synced_at ) );\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t?>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</td>\n\n\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t<a href=\"<?php echo esc_url($force_list_sync_url); ?>\"><?php _e('Force Sync Now', 'eddmc'); ?></a> |\n\t\t\t\t\t\t\t\t<a class=\"edd-mailchimp-disconnect-list\" style=\"color: red;\" href=\"<?php echo esc_url($disconnect_list_url); ?>\"><?php _e('Disconnect', 'eddmc'); ?></a>\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t<?php endforeach; ?>\n\t\t\t\t</table>\n\t\t\t<?php endif; ?>\n\n\t\t\t<?php\n\t\t\ttry {\n\t\t\t\t$result = EDD_MailChimp_List::all();\n\t\t\t} catch (Exception $e) {\n\t\t\t\t_e('Please supply a valid MailChimp API key.', 'eddmc');\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t?>\n\n\t\t\t<h2><?php _e('Available Lists', 'eddmc'); ?></h2>\n\t\t\t<p><?php _e('Select the checkbox next to the MailChimp lists that you would like to connect to Easy Digital Downloads.', 'eddmc'); ?></p>\n\n\t\t\t<div class=\"is-edd-mailchimp-table-container\">\n\t\t\t\t<table class=\"is-edd-mailchimp-table is-edd-mailchimp-lists-table form-table wp-list-table widefat fixed posts\">\n\t\t\t\t\t<thead>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<th><?php _e('MailChimp List Name', 'eddmc'); ?></th>\n\t\t\t\t\t\t\t<th></th>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t</thead>\n\t\t\t\t\t<tbody>\n\t\t\t\t\t\t<?php if ( isset( $result['lists'] ) && ! empty( $result['lists'] ) && count( $connected_list_ids ) < count( $result['lists'] ) ) : ?>\n\n\t\t\t\t\t\t\t<?php foreach ( $result['lists'] as $list ) :\n\n\t\t\t\t\t\t\t\tif ( in_array( $list['id'], $connected_list_ids ) ) {\n\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t?>\n\n\t\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"edd_settings[eddmc_connect_lists][]\" value=\"<?php esc_attr_e($list['id']); ?>\" />\n\t\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t\t<span class=\"is-mailchimp-list-name\"><?php echo $list['name']; ?></span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"is-mailchimp-list-id\">ID: <?php echo $list['id']; ?></span>\n\t\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t</tr>\n\n\t\t\t\t\t\t\t<?php endforeach; ?>\n\n\t\t\t\t\t\t<?php else : ?>\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td colspan=\"2\">\n\t\t\t\t\t\t\t\t\t<?php _e( 'No additional lists available', 'eddmc' ); ?>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t<?php endif; ?>\n\t\t\t\t\t</tbody>\n\t\t\t\t</table>\n\t\t\t</div>\n\t\t<?php\n\t}", "function mailchimpSF_change_list_if_necessary() {\n // Simple permission check before going through all this\n if (!current_user_can(MCSF_CAP_THRESHOLD)) { return; }\n\n $api = mailchimpSF_get_api();\n if (!$api) { return; }\n\n //we *could* support paging, but few users have that many lists (and shouldn't)\n $lists = $api->get('lists',100);\n $lists = $lists['lists'];\n\n if (is_array($lists) && !empty($lists) && isset($_POST['mc_list_id'])) {\n\n /* If our incoming list ID (the one chosen in the select dropdown)\n is in our array of lists, the set it to be the active list */\n foreach($lists as $key => $list) {\n if ($list['id'] == $_POST['mc_list_id']) {\n $list_id = $_POST['mc_list_id'];\n $list_name = $list['name'];\n $list_key = $key;\n }\n }\n\n $orig_list = get_option('mc_list_id');\n if ($list_id != '') {\n update_option('mc_list_id', $list_id);\n update_option('mc_list_name', $list_name);\n update_option('mc_email_type_option', $lists[$list_key]['email_type_option']);\n\n\n // See if the user changed the list\n $new_list = false;\n if ($orig_list != $list_id){\n // The user changed the list, Reset the Form Defaults\n mailchimpSF_set_form_defaults($list_name);\n\n $new_list = true;\n }\n // email_type_option\n\n // Grab the merge vars and interest groups\n $mv = mailchimpSF_get_merge_vars($list_id, $new_list);\n $igs = mailchimpSF_get_interest_categories($list_id, $new_list);\n\n $igs_text = ' ';\n if (is_array($igs)) {\n $igs_text .= sprintf(__('and %s Sets of Interest Groups', 'mailchimp_i18n'), count($igs));\n }\n\n $msg = '<p class=\"success_msg\">'.\n sprintf(\n __('<b>Success!</b> Loaded and saved the info for %d Merge Variables', 'mailchimp_i18n').$igs_text,\n count($mv)\n ).' '.\n __('from your list').' \"'.$list_name.'\"<br/><br/>'.\n __('Now you should either Turn On the MailChimp Widget or change your options below, then turn it on.', 'mailchimp_i18n').'</p>';\n mailchimpSF_global_msg($msg);\n }\n }\n}", "public function setClients()\n {\n foreach(array_keys(Core_Model_DiFactory::getClientManager()->getClients()) as $clientId) {\n $this->setClient($clientId);\n }\n }", "protected function bulkUpdateMailChimp($respectThreshold=true)\n {\n try\n {\n if ($respectThreshold && (count($this->subscribes) < self::BULK_UPDATE_THRESHOLD) && (count($this->unsubscribes) < self::BULK_UPDATE_THRESHOLD))\n {\n return;\n }\n \n echo \"Updating \" . count($this->unsubscribes) . \" unsubscribers and \" . count($this->subscribes) . \n \" subscribers to the MC list called \" . $this->currentListName;\n \n if ($this->debugMode)\n {\n echo \" (not really - debug mode is enabled)\";\n }\n \n echo \"\\n\";\n \n if (!$this->debugMode && count($this->unsubscribes) > 0)\n {\n if (!$this->mc->listBatchUnsubscribe($this->getCurrentListId(), $this->unsubscribes, false, false, false))\n {\n throw new RunTimeException(\"Batch unsubscribing to mail chimp failed. Message was: \\n\" . $this->mc->errorMessage);\n }\n }\n \n $this->unsubscribes = array();\n \n if (!$this->debugMode && count($this->subscribes) > 0)\n {\n if (!$retVal = $this->mc->listBatchSubscribe($this->getCurrentListId(), $this->subscribes, false, true, true))\n {\n throw new RunTimeException(\"Batch subscribing to mail chimp failed. Message was: \\n\" . $this->mc->errorMessage);\n }\n }\n\n $this->subscribes = array();\n\n // errors were returned. see if we can recover from them\n if (isset($retVal['error_count']) && $retVal['error_count'] > 0)\n {\n $errorHandled = false;\n\n if (is_array($retVal['errors']))\n {\n $mcRecoverableErrors = array(\n 'has unsubscribed, and cannot be resubscribed by you',\n 'has bounced, and cannot be resubscribed',\n 'Invalid Email Address:'\n );\n \n foreach ($retVal['errors'] as $error)\n {\n // if mail chimp is refusing to add a subscriber back to the after they unsubscribed\n // or bounced, unsubscribe them from send studio\n foreach ($mcRecoverableErrors as $mcErrorMessage)\n {\n if (strpos($error['message'], $mcErrorMessage) !== false)\n {\n if (isset($error['row']['EMAIL']))\n {\n echo \"recovered from an error ({$error['message']}) for email {$error['row']['EMAIL']}\\n\";\n //self::unsubscribeFromSendStudio(array($error['row']['EMAIL']));\n $errorHandled = true;\n }\n }\n }\n }\n }\n\n // if we couldn't handle the error, throw a new exception.\n if (!$errorHandled)\n {\n throw new RunTimeException(\"Mail chimp reported an error: \" . serialize($retVal['errors']));\n }\n }\n }\n catch (Exception $e)\n {\n echo $e->getMessage();\n }\n }", "public function getSubscribersToEmailNotificationLists( $account, $emailNotificationLists ) {\n // print ( \"\\n !!!!!!!!!!!!! root directory: \" . $this->container->getParameter('kernel.root_dir') . \"\\n\" );\n $i = 0;\n // the following foreach iterates through AWeberEntry objects\n foreach ($emailNotificationLists as $emailNotificationList ) {\n\n $i++;\n print (\"\\n\" . \"i: \" . $i . \"\\n\");\n // print_r($emailNotificationList);\n\n //$listURL = $emailNotificationList[\"url\"]; // Fatal error: Cannot use object of type AWeberEntry as array\n $listURL = $emailNotificationList->url;\n\n print ( \"\\n\" . \"List url: \" . $listURL . \"\\n\");\n\n\n $list = $account->loadFromUrl($listURL);\n\n $subscribers = $list->subscribers;\n\n\n\n $listId = $emailNotificationList->data[\"id\"]; // this is list-id - can use this as key for list maintained in\n $listName = $emailNotificationList->data[\"name\"];\n $totalSubscribedSubscribers = $emailNotificationList->data[\"total_subscribed_subscribers\"];\n $totalUnsubscribedSubscribers = $emailNotificationList->data[\"total_unsubscribed_subscribers\"];\n print ( \"\\n\" . \"Subscriber list id: \" . $listId);\n print ( \"\\n\" . \"Subscriber list name: \" . $listName);\n print ( \"\\n\" . \"Total Subscribed Subscribers: \" . $totalSubscribedSubscribers . \"\\n\");\n print ( \"\\n\" . \"Total Unsubscribed Subscribers: \" . $totalUnsubscribedSubscribers . \"\\n\");\n\n print (\"\\n\" . \"Following is list of subscribers for the above list id / name: \" . \"\\n\");\n\n foreach ($subscribers as $subscriberData) {\n\n // here we're extracting one subscriber in a subscriber list...\n $subscriberDataEntries = $subscriberData->data;\n // $k = 1;\n print (\" --------- subscriberDataEntries...\" . \"\\n\");\n // print_r($subscriberDataEntries);\n\n $customFields = $subscriberDataEntries[\"custom_fields\"];\n\n // we check whether this subscriber is a member of a Pennsouth Resident list by examining whether one of the subscriber's\n // custom_fields fields is \"Penn_South_Building\"\n $isResidentList = false;\n foreach ($customFields as $key => $value) {\n if ($key == \"Penn_South_Building\") {\n $isResidentList = true;\n }\n }\n\n if ($isResidentList) {\n\n $subscriberCustomFields = array();\n foreach ($customFields as $key => $value) {\n print (\"\\n\" . \"key: \" . $key . \" value: \" . $value); // returns key: Penn_South_Building value: 1 , etcetera\n // for each of custom fields...\n /* foreach ($this->customFieldNames as $customFieldName ) {\n if ($key == $customFieldName) {\n $subscriberCustomFields[$key] = $value;\n break;\n }\n }*/\n }\n\n print (\"\\n\" . \"Subscriber name: \" . $subscriberDataEntries[\"name\"] . \"\\n\");\n print (\"\\n\" . \"Subscriber email: \" . $subscriberDataEntries[\"email\"] . \"\\n\");\n print (\"\\n\" . \"Status: \" . $subscriberDataEntries[\"status\"] . \"\\n\");\n print (\"\\n\" . \"Unsubscribed date/time: \" . $subscriberDataEntries[\"unsubscribed_at\"] . \"\\n\");\n print (\"\\n\" . \"Subscription Method: \" . $subscriberDataEntries[\"subscription_method\"] . \"\\n\");\n print (\"\\n\" . \"Unsubscribe method: \" . $subscriberDataEntries[\"unsubscribe_method\"] . \"\\n\");\n $subscribedAt = $subscriberDataEntries[\"subscribed_at\"];\n if (!empty($subscribedAt)) {\n $subscribedAt = substr($subscribedAt, 0, strpos($subscribedAt, \"T\"));\n }\n print (\"\\n\" . \"Subscribed at: \" . $subscriberDataEntries[\"subscribed_at\"] . \"\\n\");\n print (\"\\n\" . \"Subscribed at parsed: \" . $subscribedAt . \"\\n\");\n\n $aweberSubscriber = new AweberSubscriber();\n\n $aweberSubscriber->setEmail($subscriberDataEntries[\"email\"]);\n $aweberSubscriber->setName($subscriberDataEntries[\"name\"]);\n $aweberSubscriber->setStatus($subscriberDataEntries[\"status\"]);\n\n\n }\n else {\n print (\"\\n\" . \"Not Resident list...\");\n }\n\n\n break; // just for now, for testing looping through the data, so it is not too verbose...\n }\n\n\n\n }\n\n\n }", "protected function syncCities(){\n $citiesApiJson = $this->_getCitiesFromServer();\n $citiesApi = json_decode($citiesApiJson);\n if (property_exists($citiesApi, 'success') && $citiesApi->success === true) {\n $this->_syncWithDb($citiesApi->data);\n $this->messageManager->addSuccess(\n __('Synchronized successfully')\n );\n $this->_redirect('novaposhta/city/index');\n } else {\n $this->messageManager->addError(\n __('Newpost is not responding or responding incorrectly')\n );\n $this->messageManager->addError($citiesApi->message);\n $this->_redirect('novaposhta/city/index');\n }\n }", "function inc_envoyer_campagne_dist($apikey,$cid){\n\t\n# API mailchimp\ninclude_spip('inc/1.3/MCAPI.class');\t\n\t\n$api = new MCAPI($apikey);\n \n$retval = $api->campaignSendNow($cid);\n\nif ($api->errorCode){\n\t$message_erreur .= \"Unable to Send Campaign!\";\n\t$message_erreur .= \"\\n\\tCode=\".$api->errorCode;\n\t$message_erreur .= \"\\n\\tMsg=\".$api->errorMessage.\"\\n\";\n} else {\n\t$message_ok .= \"Campaign Sent!\\n\";\n}\n$return = array('message_erreur'=>$message_erreur,'message_ok'=>$message_ok);\n\nreturn $return;\n}", "public function run()\n {\n factory(App\\Client::class, 50)->create()->each(function ($client) {\n $municipalityIds = App\\Municipality::inRandomOrder()->limit(5)->get()->pluck('id');\n $client->municipalities()->sync($municipalityIds);\n });\n\n $campaigns = App\\Campaign::all();\n $campaigns->each(function ($campaign) {\n $clientIds = App\\Client::inRandomOrder()->limit(5)->get()->pluck('id');\n $campaign->clients()->sync($clientIds);\n $municipalityIds = App\\Municipality::inRandomOrder()->limit(5)->get()->pluck('id');\n $campaign->municipalities()->sync($municipalityIds);\n });\n }", "function prepare_data_to_mailchimp($order) {\r\n global $MTH;\r\n global $API;\r\n \r\n $mc_array['status'] = 'subscribed';\r\n $mc_array['email_address'] = $order->billing->email;\r\n $mc_array['merge_fields']['NOME'] = $order->billing->first_name;\r\n $mc_array['merge_fields']['SOBRENOME'] = $order->billing->last_name;\r\n $mc_array['merge_fields']['COMPRA'] = $order->date_created;\r\n ($order->date_completed) ? $mc_array['merge_fields']['PAGAMENTO'] = $order->date_completed : false;\r\n $mc_array['merge_fields']['SITUACAO'] = $order->status;\r\n $mc_array['merge_fields']['ENDERECO'] = $order->billing->address_1;\r\n $mc_array['merge_fields']['BAIRRO'] = $order->billing->neighborhood;\r\n $mc_array['merge_fields']['CIDADE'] = $order->billing->city;\r\n $mc_array['merge_fields']['ESTADO'] = $order->billing->state;\r\n $mc_array['merge_fields']['CEP'] = $order->billing->postcode;\r\n $mc_array['merge_fields']['CUPOM'] = (isset($order->coupon_lines[0]->code)) ? $order->coupon_lines[0]->code : '';\r\n $mc_array['merge_fields']['TELEFONE'] = (isset($order->billing->phone)) ? $order->billing->phone : '';\r\n $mc_array['merge_fields']['CELULAR'] = $order->billing->cellphone;\r\n $mc_array['merge_fields']['CPF'] = $order->billing->cpf;\r\n $mc_array['merge_fields']['CNPJ'] = $order->billing->cnpj;\r\n $mc_array['merge_fields']['TIPOCLIENT'] = $order->billing->persontype;\r\n $mc_array['merge_fields']['ORDER_ID'] = $order->id;\r\n // $has_coupon = (isset($order->coupon_lines[0]->code));\r\n \r\n $is_client = $MTH->is_client($order);\r\n $mc_array['merge_fields']['CLIENTE'] = ($is_client) ? 'SIM' : 'NAO';\r\n \r\n $member_tags = [];\r\n foreach ($order->line_items as $item) {\r\n unset($product);\r\n $mc_nome_curso = $item->name;\r\n $mc_sku_curso = $item->sku;\r\n $product = $API->request(\"GET\", \"/wc/v3/products/\" . $item->product_id . \"?\");\r\n \r\n if (!isset($product->id)) {\r\n return $API->return_error('route_woocommerce_webhooks', 'Error retrieving product data: ', $product);\r\n }\r\n \r\n array_push($member_tags, $item->sku);\r\n \r\n foreach ($product->categories as $categories) {\r\n switch ($categories->id) {\r\n case \"196\": // Curso gratis\r\n array_push($member_tags, \"CURSO\");\r\n array_push($member_tags, \"GRATIS\");\r\n break;\r\n case \"43\": // curso de 10h\r\n array_push($member_tags, \"CURSO\");\r\n array_push($member_tags, \"10H\");\r\n break;\r\n case \"193\": // curso de 16h\r\n array_push($member_tags, \"CURSO\");\r\n array_push($member_tags, \"16H\");\r\n break;\r\n case \"74\": // trilha\r\n array_push($member_tags, \"TRILHA\");\r\n array_push($member_tags, \"40H\");\r\n break;\r\n case \"224\": // Plano ensino infantil anos iniciais\r\n array_push($member_tags, \"PLANO_EIAI\");\r\n break;\r\n case \"225\": // Plano anos finais ensino medio\r\n array_push($member_tags, \"PLANO_AFEM\");\r\n break;\r\n case \"223\": // Plano premium\r\n array_push($member_tags, \"PLANO_PREMIUM\");\r\n break;\r\n }\r\n }\r\n }\r\n \r\n $mc_array['merge_fields']['CURSO'] = $mc_nome_curso;\r\n $mc_array['merge_fields']['SKU'] = $mc_sku_curso;\r\n $mc_array['tags'] = $member_tags;\r\n \r\n foreach ($order->meta_data as $item) {\r\n switch ($item->key) {\r\n case \"Tipo de pagamento\": // Curso gratis\r\n $mc_array['merge_fields']['FORMA_PAGM'] = $item->value;\r\n $order_payment_method = $item->value;\r\n break;\r\n }\r\n }\r\n return array($mc_array, $order_payment_method);\r\n }", "public function list_client(){\n $spathSQL= $this->GLOBALS_INI[\"PATH_HOME\"] . $this->GLOBALS_INI[\"PATH_MODEL\"] . \"list_client.sql\";\n $this->resultat[\"devis_list_client\"]= $this->oBdd->getSelectDatas($spathSQL);\n }", "public function migrateCorporateClientUsers(){\n // $oldCorporateClientIdQuery = \"Select corpparent from corp_admins\";\n // try{\n // $oldCorporateClientIds = $this->connectWithMigrationDB($oldCorporateClientIdQuery)->fetchAll('assoc');\n // }catch(\\Exception $e){\n // $this->out('Table not found will not continue;');\n // return;\n // }\n // // pr($oldCorporateClientIds);\n \n // foreach ($oldCorporateClientIds as $oldCorporateClientId) {\n // $newCorporateClientId = $this->getNewMappedId($oldCorporateClientId['corpparent'],'corp_clients');\n // pr($newCorporateClientId);\n // $oldInstructorsQuery = \"Select * from instructors where trainingsiteid = \".$oldTrainingSiteId['trainingsiteid'] ;\n \n \n $corporateClientUsersQuery = \"Select * from corp_admins\";\n // pr($corporateClientUsersQuery);die;\n try{\n $corporateClientUsers = $this->connectWithMigrationDB($corporateClientUsersQuery)->fetchAll('assoc');\n }catch(\\Exception $e){\n $this->out('table not found will not continue;');\n return;\n }\n $myfile = fopen(Configure::read('App.webroot').'/duplicate_emails.json', \"a\");\n // pr($corporateClientUsers);\n if(isset($corporateClientUsers)){\n foreach ($corporateClientUsers as $key => $corporateClientUser) {\n $data =[];\n\t\t if(empty($this->getNewMappedId($corporateClientUser['corpparent'],'corp_clients'))){\n $data['corporate_client'] = 'Does Not exist';\n fwrite($myfile, json_encode($data));\n continue;\n\n }\n pr('id'.$corporateClientUser['corpparent']);\n # code...\n // pr($corporateClientUser['corpparent']);\n $data['first_name'] = $corporateClientUser['corpuserfirstname'];\n $data['last_name'] = isset($corporateClientUser['corpuserlastname'])? $corporateClientUser['corpuserlastname'] : $this->_faker->name;\n $data['email'] = $corporateClientUser['corpuseremail'];\n $data['phone'] = isset($corporateClientUser['corpuserphone'])? $corporateClientUser['corpuserphone'] : $this->_faker->phoneNumber ;\n // if(isset(var))\n $data['password'] = isset($corporateClientUser['corpuserpassword'])? $corporateClientUser['corpuserpassword'] : '12345678' ;\n if($corporateClientUser['corpuseraccountstatus'] == 'active'){\n $data['status'] = 1;\n }elseif($corporateClientUser['corpuseraccountstatus'] == 'disabled'){\n $data['status'] = 0; \n }\n $data['role_id'] = 3;\n $data['corporate_client_id'] = $this->getNewMappedId($corporateClientUser['corpparent'],'corp_clients') ;\n pr($data); \n $this->loadModel('CorporateClientUsers');\n $corporateClientUsersData = $this->CorporateClientUsers->newEntity();\n $corporateClientUsersData = $this->CorporateClientUsers->patchEntity($corporateClientUsersData, $data);\n if ($this->CorporateClientUsers->save($corporateClientUsersData)){\n $this->out($corporateClientUsersData->first_name.' saved');\n $new_id = $corporateClientUsersData->id;\n $new_name = 'corporateClientUserUsers';\n $old_id = $corporateClientUser['corpuserid'];\n $old_name = 'corp_admins_'.$this->_currentDb ;\n // pr($old_id);die;\n $this->out('Mapping corporateClientUserUsers in OldDbHashes table');\n $this->hashBot($new_id,$old_id,$new_name,$old_name);\n\t\t\t$corporateClientUsers[$key] = null;\n }else{\n if($corporateClientUsersData->getError('email')['_isUnique'] || $corporateClientUsersData->getError('email')['email']){\n $data['corporate_client'] = 'Duplicate Email';\n fwrite($myfile, json_encode($data));\n continue;\n }else{\n pr($corporateClientUsersData);\n \n }\n }\n }\n \n }\n fclose($myfile);\n\n // }\n\n\n }", "function add_user_to_mailchimp( $order_id ) {\n if (isset($_POST['newsletter_signup'])) {\n if(class_exists('GF_MailChimp_Bootstrap')){\n \n require_once ABSPATH . '/wp-content/plugins/gravityformsmailchimp/api/Mailchimp.php';\n \n $api_key = \"ed4ac31debf0bed4a0d710639aa1d3a3-us3\";\n $list_id = \"d41e211c8f\";\n \n $Mailchimp = new Mailchimp( $api_key );\n $Mailchimp_Lists = new Mailchimp_Lists( $Mailchimp );\n $subscriber = $Mailchimp_Lists->subscribe( $list_id, array( 'email' => htmlentities($_POST['billing_email']) ),array(),'html',true,true,true,false );\n }\n }\n}", "public function __construct()\r\n {\r\n if ($this->_lists == null) {\r\n $apiKey = Mage::helper('mailchimp')->getConfigValue(Ebizmarts_MailChimp_Model_Config::GENERAL_APIKEY);\r\n if ($apiKey) {\r\n try {\r\n $api = Mage::helper('mailchimp')->getApi();\r\n $this->_lists = $api->lists->getLists(null, 'lists', null, 100);\r\n if (isset($this->_lists['lists']) && count($this->_lists['lists']) == 0) {\r\n $apiKeyArray = explode('-', $apiKey);\r\n $anchorUrl = 'https://' . $apiKeyArray[1] . '.admin.mailchimp.com/lists/new-list/';\r\n $htmlAnchor = '<a target=\"_blank\" href=\"' . $anchorUrl . '\">' . $anchorUrl . '</a>';\r\n $message = 'Please create a list at '. $htmlAnchor;\r\n Mage::getSingleton('adminhtml/session')->addWarning($message);\r\n }\r\n } catch(Mailchimp_Error $e) {\r\n Mage::getSingleton('adminhtml/session')->addError($e->getFriendlyMessage());\r\n }\r\n }\r\n }\r\n }", "public function getAllClients_post(){\n $isClient = $this->post('isClient');\n $result = $this->person_model->selectAllClient($isClient);\n\n if ($result === 0) {\n $this->response(\"Client information could not be saved. Try again.\", 404);\n } else {\n $this->response($result, 200);\n }\n\n }" ]
[ "0.72567284", "0.60565585", "0.60372716", "0.5949397", "0.5875394", "0.585098", "0.5818992", "0.5815093", "0.58083713", "0.57714254", "0.5748556", "0.5713863", "0.56549907", "0.5622097", "0.5605969", "0.55149674", "0.5483257", "0.5461135", "0.54270446", "0.54257596", "0.5421283", "0.5356387", "0.53533316", "0.53415924", "0.5340352", "0.5299799", "0.5295568", "0.5292635", "0.5286426", "0.5285022" ]
0.6994778
1
Gets the id of a category based on the name and parent id
private function getID($owner_id, $parent_id, $name){ $sql = "SELECT c.id " . "FROM category c, base b ". "WHERE c.owner_id = $owner_id ". "AND c.parent_id = $parent_id ". "AND c.name = '$name' ". "ORDER BY c.id DESC ". "LIMIT 1"; $ret = $this->db->query($sql); return $ret[0]['id']; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function _getParentCategoryId()\n {\n if (!isset($_REQUEST['parent_category_id'])) {\n $this->session->data['errors'][] = $this->language->get('error_parent_category_id_not_found');\n $this->response->redirect($this->url->link('module/excel_documents_import', 'token=' . $this->session->data['token']));\n }\n\n $id = (int)$_GET['parent_category_id'];\n \n return $id;\n }", "public function get_category_id ($category_name) {\n \treturn $this->db->query(\"SELECT $this->_pk_field FROM $this->_table WHERE nama_kategori = ?\", $category_name)->row(0)->kategori_id;\n }", "function get_category_id( $cat_name ){\n\t$term = get_term_by( 'name', $cat_name, 'category' );\n\treturn $term->term_id;\n}", "public function getCategoryID() {\n\t\t\treturn \tget_cat_id($this->getCategoryName());\n\t\t}", "public static function getCategoryId($id){\n return SubCategory::find($id)->category_id;\n }", "public static function getParentCategoryByCategoryId($id){\n $parent_id = Category::where('id',$id)->pluck('parent_id')->first();\n $parent_category_details = Category::where('id',$parent_id)->first();\n return $parent_category_details;\n //return $parent_id;\n }", "public function getIdFromName($name)\n {\n $statCategory = $this->find('all')\n ->select(['id'])\n ->where(['name' => $name])\n ->first();\n\n return $statCategory ? $statCategory->id : null;\n }", "private function nameParent( $ali_id ) {\n\n\n\t\treturn ae_search_category_by_id( $ali_id );\n\t}", "public function get_id_category()\n\t{\n\t\treturn $this->id_category;\n\t}", "public function getParentId($parentid, $category)\n\t{\n\t\t$database = App::get('db');\n\t\t$refid = $parentid;\n\n\t\tif ($category == 'pubreviewcomment')\n\t\t{\n\t\t\t$pdata = $this->parent($parentid);\n\t\t\t$category = $pdata->get('item_type');\n\t\t\t$refid = $pdata->get('item_id');\n\n\t\t\t/*if ($pdata->category == 'pubreviewcomment')\n\t\t\t{\n\t\t\t\t// Yet another level?\n\t\t\t\t$pdata = $this->parent($pdata->parent);\n\t\t\t\t$category = $pdata->item_type;\n\t\t\t\t$refid = $pdata->item_id;\n\n\t\t\t\tif ($pdata->category == 'pubreviewcomment')\n\t\t\t\t{\n\t\t\t\t\t// Yet another level?\n\t\t\t\t\t$pdata = $this->parent($pdata->parent);\n\t\t\t\t\t$category = $pdata->item_type;\n\t\t\t\t\t$refid = $pdata->item_id;\n\t\t\t\t}\n\t\t\t}*/\n\t\t}\n\n\t\tif ($category == 'review')\n\t\t{\n\t\t\t$database->setQuery(\"SELECT publication_id FROM `#__publication_ratings` WHERE id=\" . $refid);\n\t\t\treturn $database->loadResult();\n\t\t}\n\t}", "function get_categoryid_by_subcateid($data)\n\t\t{\n\t\t\t$table = 'sub_category';\n\t\t\tif($data['langCode'] != 'zh')\n\t\t\t{\n\t\t \t$table = 'sub_category_ext';\n\t\t\t}\n\t\t\t$this->db->select('category_id');\n\t\t\t$this->db->where($data);\n\t\t\t$query = $this->db->get($table);\n\t\t\t$row = $query->row();\n\t\t\treturn $row->category_id;\n\t\t}", "function getCategory($id){\n if(!$id)\n return false;\n $url = $this->baseurl;\n $url .= \"/category/$id?$this->key\";\n\n $response = $this->simpleGetRequest($url);\n $data = $this->simplexml_load_string($response);\n\n $parent = $this->simpleAPI(\"category\", $this->catinterface, $data);\n $stores = $this->simpleAPI(\"store\", $this->catstoreinterface, $data);\n $this->cashback($stores);\n $parent = $parent[0];\n $parent['stores']=$stores;\n if($parent['parent_id']){\n $child = $this->getCategory($parent['parent_id']);\n $parent['child'] = $child;\n }else{$parent['child']=false;}\n\n return $parent;\n }", "public function getCategoriesParentId()\n {\n global $allCateIdParent;\n if (isset($allCateIdParent)) {\n return $allCateIdParent;\n }\n\n $keyCategoryAll = Constants::CACHE_CATEGORY_ALL_SLUG_CHILD;\n $cacheService = CacheProvider::createInstance($this->request, Constants::SERVER_CACHE_ARTICLE, $this->cacheParams);\n $allCateIdParent = $cacheService->get($keyCategoryAll);\n if ($allCateIdParent === false) {\n $em = $this->doctrine->getManager();\n $cates = $em->getRepository(Categories::class)->getAllCategories();\n foreach ($cates as $cate) {\n if ($cate['parentId'] == 0) {\n $allCateIdParent[$cate['cateId']][] = $cate['cateId'];\n } else {\n $allCateIdParent[$cate['parentId']][] = $cate['cateId'];\n }\n }\n $cacheService->set($keyCategoryAll, $allCateIdParent, self::CATEGORY_CACHE_TIME);\n }\n\n return $allCateIdParent;\n }", "public function getIdCategory(){\n\t\treturn $this->idCategory;\t\n\t}", "public function getIdCategory()\n {\n return $this->idCategory;\n }", "private function _getCategoryID($cat_name) {\n $query = \"SELECT category_id FROM \". DB_PREFIX.\"category_description\"\n . \" WHERE name='\".$cat_name.\"' AND language_id ='1'\";\n $result = $this->db->query($query);\n return $result->row['category_id'];\n }", "function zen_get_categories_parent_name($categories_id) {\r\n global $db;\r\n\r\n $lookup_query = \"select parent_id from \" . TABLE_CATEGORIES . \" where categories_id='\" . (int)$categories_id . \"'\";\r\n $lookup = $db->Execute($lookup_query);\r\n\r\n $lookup_query = \"select categories_name from \" . TABLE_CATEGORIES_DESCRIPTION . \" where categories_id='\" . (int)$lookup->fields['parent_id'] . \"'\";\r\n $lookup = $db->Execute($lookup_query);\r\n\r\n return $lookup->fields['categories_name'];\r\n }", "public function getParentIdName();", "public function idCategory($id) {\n if (key_exists($id, $this->_competitors)) { return $this->_competitors[$id]->idCategory(); }\n else { return $this->_competitors[0]->idCategory(); }\n }", "function getParentCat($cat_id)\n {\n $cat=Category::where(array('deleted'=>'0','cat_id'=>$cat_id))->first();\n if(!empty($cat))\n {\n return $cat->cat_name;\n }\n else\n {\n return ''; \n }\n }", "function get_category_id($c, $poc, $pi){\n\tif($poc == 'parent'){\n\t\t$tmp_query = \"SELECT category_id FROM categories WHERE parent_id=0 category_name=\".$c;\n\t\tif ($tmp_result->num_rows > 0){\n\t\t\t\t$row = $tmp_result->fetch_array;\n\t\t\t\t$category_id = $row['category_id'];\n\t\t\t\treturn $category_id;\n\t\t\t}\n\t\t\telse return 'undefined';\n\t}\n\n\tif($poc == 'child'){\n\t\t$tmp_query = \"SELECT category_id FROM categories WHERE parent_id=\".$pi.\" category_name=\".$c;\n\t\tif ($tmp_result->num_rows > 0){\n\t\t\t\t$row = $tmp_result->fetch_array;\n\t\t\t\t$category_id = $row['category_id'];\n\t\t\t\treturn $category_id;\n\t\t\t}\n\t\t\telse return 'undefined';\n\t}\n}", "public function getCategory_id()\n {\n return $this->category_id;\n }", "function get_id_by_name($name)\n\t{\n\t\t$this->db->select('id');\n\t\t$this->db->from('castings_categories');\n\t\t$this->db->where('name',$name);\n\t\t$query = $this->db->get()->first_row('array');\n\t\treturn $query['id'];\n \t\n\t}", "function addCategory($category_name, $parent_key='') {\r\n\t\r\n\t\tglobal $CONN, $CONFIG;\r\n\r\n\t\t$name\t = $category_name;\r\n\t\t$CONN->Execute(\"INSERT INTO {$CONFIG['DB_PREFIX']}kb_categories(name, parent_key, module_key) VALUES ('$name', '$parent_key', '$this->_module_key')\");\r\n\t\techo $CONN->ErrorMsg();\r\n\t\t$category_key = $CONN->Insert_ID();\r\n\t\t\t\r\n\t\treturn $category_key;\r\n\t\t\t\t\t\t\r\n\t}", "public function getIdcategory()\n {\n return $this->idcategory;\n }", "public function getParentId();", "public function getParentId();", "public function getParentId();", "public function getParentId();", "public function getId_category()\n {\n return $this->id_category;\n }" ]
[ "0.7170292", "0.70621693", "0.689356", "0.67201203", "0.6690806", "0.668249", "0.666355", "0.66633767", "0.66075426", "0.65977037", "0.6585099", "0.65737295", "0.6544454", "0.65395385", "0.65305007", "0.65144545", "0.651206", "0.6493313", "0.64753854", "0.64190316", "0.63955104", "0.637162", "0.63545126", "0.63164926", "0.6310062", "0.6300894", "0.6300894", "0.6300894", "0.6300894", "0.62976366" ]
0.7551894
0
/ Plugin Name: BlockShare Plugin URI: Description: Adds tweet/like buttons to blockquotes Author: Ariel M./appFigures 2014 Author URI: Version: 1.0 License: MIT
function block_share($content) { // don't apply to unpublished posts because our url may not be correct if(get_post_status() != 'publish') return $content; $url = get_permalink(); $twitter_via = get_option('bs_via'); // text is left blank intentionally $tweet_button = '<a href="https://twitter.com/intent/tweet?text=[title]&url='.$url.'&via='.$twitter_via.'"><span class="icon-twitter"></span></a>'; $facebook_button = '<a href="https://www.facebook.com/sharer/sharer.php?u='.$url.'&t=[title]"><span class="icon-facebook"></span></a>'; // look for the pattern and append buttons $content = preg_replace_callback( get_pattern(), function($matches) use($tweet_button, $facebook_button) { return $matches[1] . $matches[2] . '<span class="blockshare">' . str_replace('[title]', urlencode($matches[2]), $tweet_button) . str_replace('[title]', urlencode($matches[2]), $facebook_button) . // TODO: not hardcode this! '</span>' . $matches[3]; }, $content); return $content; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function gogreen_blog_share_buttons(){\n get_template_part('templates/blog/share-buttons');\n}", "function addSharingButtons(){\n\t//create sharing buttons for facebook and twitter\n\techo('<a class=\"btn btn-primary ml-1\" target=\"_blank\" href=\"http://www.facebook.com/share.php?u=' .get_permalink($post). '\">Facebook</a>');\n\techo('<a class=\"btn btn-success ml-1\" target=\"_blank\" href=\"https://twitter.com/intent/tweet?text=' .get_the_title(). '&url=' .get_permalink($post). '\">Twitter</a>');\n\t\n}", "function getTintSocialBlockpanel() {\n $args = [\n 'personalization_id' => get_sub_field('personalization_id'),\n 'title' => get_sub_field('title'),\n 'hashtags' => get_sub_field('hashtags')\n ];\n require_once 'MF-Social-Block.php';\n return do_social_block($args);\n}", "function add_fbshare($contentOrig) {\r\n\t\tglobal $post;\r\n\t\t //echo \"add\";\r\n\t\t//$content = '<div class=\"fbconnect_head_share\"><fb:share-button class=\"url\" type=\"box_count\" href=\"'.get_permalink($post->ID).'\" /></div>'.$content;\r\n\t\t$lang= \"en\";\r\n\t\t\r\n\t\tif (WPLANG!=\"\"){\r\n\t\t\t\t$lang = substr(WPLANG,0,2);\t\r\n\t\t}\r\n\r\n\t\t$content = '';\r\n\t\t\r\n\t\tif ( (!is_home() || get_option('fb_hide_home_head_share')==\"\") && ($post->post_type != \"page\" || get_option('fb_add_page_head_share')!=\"\")){\r\n\t\t\t$content = \"\";\r\n\t\t\tif( get_option('fb_add_post_head_like') ) {\r\n\t\t\t\tif (get_option('fb_add_post_head_send')){\r\n\t\t\t\t\t$send = 'send=\"true\"';\r\n\t\t\t\t}else{\r\n\t\t\t\t\t$send =\"\";\r\n\t\t\t\t}\r\n\t\t\t\t//$content = '<fb:like layout=\"button_count\" href=\"'.get_permalink($post->ID).'\"></fb:like><br/><br/>';\r\n\t\t\t\t$content .= '<fb:like layout=\"box_count\" font=\"arial\" href=\"'.get_permalink($post->ID).'\"></fb:like><br/><br/>';\r\n\t\t\t\t//$content = '<div class=\"fbconnect_head_share\"><fb:like layout=\"box_count\" href=\"'.get_permalink($post->ID).'\"></fb:like></div>';\r\n\t\t\t}\r\n\t\t\tif ( get_option('fb_add_post_head_google1')) {\r\n\t\t\t\t$content .= '<g:plusone href=\"'.get_permalink($post->ID).'\" size=\"tall\"></g:plusone><br/><br/>';\t\t\t\t\r\n\t\t\t}\r\n\t\t\tif (get_option('fb_add_post_head_send') ){\r\n\t\t\t\t$content .= '<fb:send href=\"'.get_permalink($post->ID).'\"></fb:send><br/><br/>';\r\n\t\t\t}\r\n\t\t\tif( get_option('tw_add_post_head_share') ) {\r\n\t\t\t\t$content .= '<a href=\"http://twitter.com/share\" '.$onclick.' class=\"twitter-share-button\" data-url=\"'.get_permalink($post->ID).'\" data-text=\"'.$post->post_title.'\" data-count=\"vertical\" data-via=\"'.get_option('tw_userid').'\" data-lang=\"'.$lang.'\"></a><br/><br/>';\r\n\t\t\t\t//$content .= '<iframe id=\"tweet_frame_'.$post->ID.'\" name=\"tweet_frame_'.$post->ID.'\" allowtransparency=\"true\" frameborder=\"0\" role=\"presentation\" scrolling=\"no\" src=\"http://platform.twitter.com/widgets/tweet_button.html?url='.urlencode(get_permalink($post->ID)).'&amp;via='.get_option('tw_userid').'&amp;text='.urlencode($post->post_title).'&amp;count=vertical\" width=\"55\" height=\"63\"></iframe><br/><br/>';\r\n\t\t\t}\r\n\t\t\tif( get_option('li_add_post_head_share') ) {\r\n\t\t\t\t$content .= '<script type=\"IN/Share\" data-url=\"'.get_permalink($post->ID).'\" data-counter=\"top\"></script> <br/><br/>';\r\n\t\t\t\t//$content .= '<iframe id=\"tweet_frame_'.$post->ID.'\" name=\"tweet_frame_'.$post->ID.'\" allowtransparency=\"true\" frameborder=\"0\" role=\"presentation\" scrolling=\"no\" src=\"http://platform.twitter.com/widgets/tweet_button.html?url='.urlencode(get_permalink($post->ID)).'&amp;via='.get_option('tw_userid').'&amp;text='.urlencode($post->post_title).'&amp;count=vertical\" width=\"55\" height=\"63\"></iframe><br/><br/>';\r\n\t\t\t}\r\n\t\t\tif( get_option('fb_add_post_head_share') ) {\r\n\t\t\t\t//$content = '<div class=\"fbconnect_head_share\"><a name=\"fb_share\" type=\"box_count\" share_url=\"'.get_permalink($post->ID).'\" href=\"http://www.facebook.com/sharer.php\">'.__('Share', 'fbconnect').'</a></div>'.$content;\r\n\t\t\t\t//$content = '<div class=\"fbconnect_head_share\"><a name=\"fb_share\" type=\"box_count\" share_url=\"'.get_permalink($post->ID).'\" href=\"http://www.facebook.com/sharer.php\">'.__('Share', 'fbconnect').'</a></div>'.$content;\r\n\t\t\t\t$content .= '<fb:share-button display=\"popup\" class=\"url\" type=\"box_count\" href=\"'.get_permalink($post->ID).'\" />';\r\n\t\t\t}\r\n\t\r\n\t\t\tif ($content!=\"\"){\r\n\t\t\t\t$content = '<div class=\"fbconnect_head_share\" style=\"'.get_option('fb_share_head_style').'\">'.$content.'</div>'.$contentOrig;\r\n\t\t\t}else{\r\n\t\t\t\t$content = $contentOrig;\r\n\t\t\t}\r\n\t\t}else{\r\n\t\t\t$content = $contentOrig;\r\n\t\t}\r\n\t\t\r\n\t\tif ( (!is_home() || get_option('fb_hide_home_share')==\"\") && ($post->post_type != \"page\" || get_option('fb_add_page_share')!=\"\")){\r\n\t\t\t$contentFooter = \"\";\r\n\t\t\tif( get_option('fb_add_post_share') ) {\r\n\t\t\t\t$contentFooter .= '<div id=\"fbsharefooter\" class=\"fbfootersharebutton\"><fb:share-button class=\"url\" type=\"button_count\" href=\"'.get_permalink($post->ID).'\" /></div>';\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif ( get_option('fb_add_post_google1')!=\"\") {\r\n\t\t\t\t$contentFooter .= '<div id=\"googlesharefooter\" class=\"fbfootersharebutton\"><g:plusone href=\"'.get_permalink($post->ID).'\" size=\"medium\"></g:plusone></div>';\t\t\t\t\r\n\t\t\t}\r\n\t\t\r\n\t\t\tif( get_option('tw_add_post_share')) {\r\n\t\t\t\t\t$contentFooter .= '<div id=\"twittersharefooter\" class=\"fbfootersharebutton\"><a href=\"http://twitter.com/share\" class=\"twitter-share-button\" data-url=\"'.get_permalink($post->ID).'\" data-text=\"'.$post->post_title.'\" data-count=\"horizontal\" data-via=\"'.get_option('tw_userid').'\" data-lang=\"'.$lang.'\"></a></div>';\r\n\t\t\t\t\t//$contentFooter .= '<div style=\"float:left\"><iframe id=\"tweet_frame_'.$post->ID.'\" name=\"tweet_frame_'.$post->ID.'\" allowtransparency=\"true\" frameborder=\"0\" role=\"presentation\" scrolling=\"no\" src=\"http://platform.twitter.com/widgets/tweet_button.html?url='.urlencode(get_permalink($post->ID)).'&amp;via='.get_option('tw_userid').'&amp;text='.urlencode($post->post_title).'&amp;count=horizontal\" width=\"100\" height=\"20\"></iframe></div>';\r\n\t\t\t}\r\n\t\t\tif( get_option('li_add_post_share')) {\r\n\t\t\t\t\t$contentFooter .= '<div id=\"linkedinsharefooter\" class=\"fbfootersharebutton\"><script type=\"IN/Share\" data-url=\"'.get_permalink($post->ID).'\" data-counter=\"right\"></script></div>';\r\n\t\t\t\t\t//$contentFooter .= '<div style=\"float:left\"><iframe id=\"tweet_frame_'.$post->ID.'\" name=\"tweet_frame_'.$post->ID.'\" allowtransparency=\"true\" frameborder=\"0\" role=\"presentation\" scrolling=\"no\" src=\"http://platform.twitter.com/widgets/tweet_button.html?url='.urlencode(get_permalink($post->ID)).'&amp;via='.get_option('tw_userid').'&amp;text='.urlencode($post->post_title).'&amp;count=horizontal\" width=\"100\" height=\"20\"></iframe></div>';\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t/*if (get_option('fb_add_post_send') ){\r\n\t\t\t\t$contentFooter .= '<div id=\"fbsendfooter\" class=\"fbfootersharebutton\"><fb:send href=\"'.get_permalink($post->ID).'\"></fb:send></div>';\r\n\t\t\t}*/\r\n\t\t\t\t//$content .= '<div style=\"float:right;margin-left:10px;\"><a rel=\"nofollow\" target=\"_blank\" href=\"http://www.google.com/reader/link?url='.urlencode(get_permalink($post->ID)).'&amp;title='.urlencode($post->post_title).'&amp;srcURL='.urlencode(get_option('siteurl')).'\" class=\"google_buzz\"><img alt=\"Google Buzz\" src=\"'.FBCONNECT_PLUGIN_URL_IMG.'/buzzp.jpg\"></a></div>';\r\n\t\t\t\t/*if( FBCONNECT_CANVAS==\"web\") {\r\n\t\t\t\t\t$content .= '<div style=\"float:right;\"><a name=\"fb_share\" type=\"button_count\" share_url=\"'.get_permalink($post->ID).'\" href=\"http://www.facebook.com/sharer.php\">'.__('Share', 'fbconnect').'</a></div>';\r\n\t\t\t\t\t//$content .= '<p class=\"fbconnect_share\"><fb:share-button class=\"url\" type=\"button_count\" href=\"'.get_permalink($post->ID).'\" /></p>';\r\n\t\t\t\t}else{\r\n\t\t\t\t\t$content .= '<div style=\"float:right;\"><fb:share-button class=\"url\" href=\"'.get_permalink($post->ID).'\" /></div>';\t\t\t\r\n\t\t\t\t}*/\r\n\t\t\tif( get_option('fb_add_post_like') ) {\r\n\t\t\t\tif (get_option('fb_add_post_send')){\r\n\t\t\t\t\t$send = 'send=\"true\"';\r\n\t\t\t\t}else{\r\n\t\t\t\t\t$send =\"\";\r\n\t\t\t\t}\r\n\t\t\t\t$hidefaces = \"\";\r\n\t\t\t\tif (get_option('fb_like_show_faces')){\r\n\t\t\t\t\t$hidefaces = 'show_faces=\"false\" layout=\"button_count\"';\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t$contentFooter .= '<div id=\"fblikefooter\" class=\"fbfootersharebutton\"><fb:like '.$send.' href=\"'.get_permalink($post->ID).'\" '.$hidefaces.'></fb:like></div>';\r\n\t\t\t}\r\n\t\t\tif( $contentFooter!=\"\") {\r\n\t\t\t\t$content .= '<div class=\"fbconnect_share\" style=\"'.get_option('fb_share_style').'\">'.$contentFooter.'</div>';\r\n\t\t\t}\r\n\t\t\t/*if( FBCONNECT_CANVAS==\"web\" && (get_option('fb_add_post_share') || get_option('fb_add_post_head_share')) ) {\r\n\t\t\t\t$content .= '<script src=\"http://static.ak.fbcdn.net/connect.php/js/FB.Share\" type=\"text/javascript\"></script>';\r\n\t\t\t}*/\r\n\t\t\t//$content .= '<div class=\"fbconnect_share\"><fb:share-button class=\"url\" type=\"button_count\" href=\"'.get_permalink($post->ID).'\" /></div>';\r\n\t\t}\t\t\t\r\n\r\n\t\treturn $content;\r\n\t}", "function ShareThis_plugin() {\n\n global $ShareThis;\n\n return \"<br><center><span class='st_facebook_large' displayText='Facebook'></span>\n<span class='st_twitter_large' displayText='Tweet'></span>\n<span class='st_googleplus_large' displayText='Google +'></span>\n<span class='st_linkedin_large' displayText='LinkedIn'></span>\n<span class='st_email_large' displayText='Email'></span>\n<span class='st_sharethis_large' displayText='ShareThis'></span></center><br>\";\n\t\n}", "function tst_social_share_no_js() {\n\t\n\t$title = (class_exists('WPSEO_Frontend')) ? WPSEO_Frontend::get_instance()->title( '' ) : '';\n\t$link = tst_current_url();\n\t$text = $title.' '.$link;\n\n\t$data = array(\n\t\t'vk' => array(\n\t\t\t'label' => 'Поделиться во Вконтакте',\n\t\t\t'url' => 'https://vk.com/share.php?url='.$link.'&title='.$title,\n\t\t\t'txt' => 'Вконтакте',\n\t\t\t'icon' => 'icon-vk',\n\t\t\t'show_mobile' => true\n\t\t),\t\t\t\n\t\t'twitter' => array(\n\t\t\t'label' => 'Поделиться ссылкой в Твиттере',\n\t\t\t'url' => 'https://twitter.com/intent/tweet?url='.$link.'&text='.$title,\n\t\t\t'txt' => 'Twitter',\n\t\t\t'icon' => 'icon-twitter',\n\t\t\t'show_mobile' => false\t\t\n\t\t),\n\t\t'ok' => array(\n\t\t\t'label' => 'Поделиться ссылкой в Одноклассниках',\n\t\t\t'url' => 'http://connect.ok.ru/dk?st.cmd=WidgetSharePreview&service=odnoklassniki&st.shareUrl='.$link,\n\t\t\t'txt' => 'Одноклассники',\n\t\t\t'icon' => 'icon-ok',\n\t\t\t'show_mobile' => false\n\t\t\t\n\t\t),\n\t\t'facebook' => array(\n\t\t\t'label' => 'Поделиться на Фейсбуке',\n\t\t\t'url' => 'https://www.facebook.com/sharer/sharer.php?u='.$link,\n\t\t\t'txt' => 'Facebook',\n\t\t\t'icon' => 'icon-facebook',\n\t\t\t'show_mobile' => true\n\t\t),\t\n\t);\n\t\n?>\n<div class=\"social-likes-wrapper\">\n<div class=\"social-likes social-likes_visible social-likes_ready\">\n\n<?php\nforeach($data as $key => $obj){\t\t\n\tif((tst_is_mobile_user_agent() && $obj['show_mobile']) || !tst_is_mobile_user_agent()){\n?>\n\t<div title=\"<?php echo esc_attr($obj['label']);?>\" class=\"social-likes__widget social-likes__widget_<?php echo $key;?>\">\n\t\t<a href=\"<?php echo $obj['url'];?>\" class=\"social-likes__button social-likes__button_<?php echo $key;?>\" target=\"_blank\" onClick=\"window.open('<?php echo $obj['url'];?>','<?php echo $obj['label'];?>','top=320,left=325,width=650,height=430,status=no,scrollbars=no,menubar=no,tollbars=no');return false;\">\n\t\t\t<svg class=\"svg-icon\"><use xlink:href=\"#<?php echo $obj['icon'];?>\" /></svg><span class=\"sh-text\"><?php echo $obj['txt'];?></span>\n\t\t</a>\n\t</div>\n<?php \n\t}\n\t\n} //foreach\n\n\t$text = $title.' '.$link;\n\t\n\t$mobile = array(\n\t\t//'twitter' => array(\n\t\t//\t'label' => 'Поделиться ссылкой в Твиттере',\n\t\t//\t'url' => 'twitter://post?message='.$text,\n\t\t//\t'txt' => 'Twitter',\n\t\t//\t'icon' => 'icon-twitter',\n\t\t//\t'show_desktop' => false\t\t\n\t\t//),\n\t\t'whatsapp' => array(\n\t\t\t'label' => 'Поделиться ссылкой в WhatsApp',\n\t\t\t'url' => 'whatsapp://send?text='.$text,\n\t\t\t'txt' => 'WhatsApp',\n\t\t\t'icon' => 'icon-whatsup',\n\t\t\t'show_desktop' => false\n\t\t),\n\t\t'telegram' => array(\n\t\t\t'label' => 'Поделиться ссылкой в Telegram',\n\t\t\t'url' => 'tg://msg?text='.$text,\n\t\t\t'txt' => 'Telegram',\n\t\t\t'icon' => 'icon-telegram',\n\t\t\t'show_desktop' => false\n\t\t),\n\t\t'viber' => array(\n\t\t\t'label' => 'Поделиться ссылкой в Viber',\n\t\t\t'url' => 'viber://forward?text='.$text,\n\t\t\t'txt' => 'Viber',\n\t\t\t'icon' => 'icon-viber',\n\t\t\t'show_desktop' => false\n\t\t),\n\t);\n\t\t\n\tforeach($mobile as $key => $obj) {\n\t\t\n\t\tif((!tst_is_mobile_user_agent() && $obj['show_desktop']) || tst_is_mobile_user_agent()) {\n?>\n\t<div title=\"<?php echo esc_attr($obj['label']);?>\" class=\"social-likes__widget social-likes__widget_<?php echo $key;?>\">\n\t<a href=\"<?php echo $obj['url'];?>\" target=\"_blank\" class=\"social-likes__button social-likes__button_<?php echo $key;?>\"><svg class=\"svg-icon\"><use xlink:href=\"#<?php echo $obj['icon'];?>\" /></svg><span class=\"sh-text\"><?php echo $obj['txt'];?></span></a>\n\t</div>\t\n<?php } } //endforeach ?>\n\n</div>\n</div>\n<?php\n}", "function tmblr_share_button(){\n?>\n<a class=\"tumblr-share-button\" href=\"https://www.tumblr.com/share\"></a>\n<script id=\"tumblr-js\" async src=\"https://assets.tumblr.com/share-button.js\"></script>\n<?php\n}", "function themeists_easy_share_widget()\n\t\t\t{\n\t\t\n\t\t\t\tload_plugin_textdomain( self::locale, false, plugin_dir_path( dirname( __FILE__ ) ) . '/lang/' );\n\n\t\t\n\t\t\t\t$widget_opts = array (\n\n\t\t\t\t\t'classname' => 'themeists_easy_share_widget', \n\t\t\t\t\t'description' => __( 'Shows links to your chosen social profiles', self::locale )\n\n\t\t\t\t);\n\n\t\t\t\t$control_options = array(\n\n\t\t\t\t\t'width' => '400'\n\n\t\t\t\t);\n\n\t\t\t\t//Register the widget\n\t\t\t\t$this->WP_Widget( self::slug, __( self::name, self::locale ), $widget_opts, $control_options );\n\t\t\n\t\t \t// Load JavaScript and stylesheets\n\t\t \t$this->register_scripts_and_styles();\n\t\t\n\t\t\t}", "function twitter_widget() {\r\n\tregister_widget( 'Twitter' );\r\n}", "function sharebuttons ( $show = array (\"facebook\",\"twitter\",\"windowslivemessenger\",\"hyves\",\"linkedin\") )\r\n\t\t{\r\n\t\t\tglobal $conf;\r\n\t\t\t\r\n\t\t\t$nums = 5;\r\n\t\t\t\r\n\t\t\tif ( preg_match ( \"#\\.#\" , $_SERVER['REQUEST_URI'] ) )\r\n\t\t\t\t{\r\n\t\t\t\t\t$thisurl = $conf['site']['url'] . 'page/' . $_GET['pag'];\r\n\t\t\t\t}\r\n\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\t$thisurl = $conf['site']['url'] . substr ( $_SERVER['REQUEST_URI'] , 1 , strlen ( $_SERVER['REQUEST_URI'] ) );\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t$width = floor ( 100 / $nums ) ;\r\n?>\r\n<!-- Share Buttons :) -->\r\n<table style=\"border: none;\" width='100%'>\r\n\t<tr>\r\n\t\t<!-- Twitter -->\r\n\t\t\t<td class='twitter' id='twitter' name='twitter' width='<?php echo $width-10; ?>%'>\r\n\t\t\t\t<a href=\"http://twitter.com/share\" class=\"twitter-share-button\" data-count=\"horizontal\" data-via=\"WDGPROJECTS\">Tweet</a>\r\n\t\t\t\t<script type=\"text/javascript\" src=\"http://platform.twitter.com/widgets.js\"></script>\r\n\t\t\t</td>\r\n\r\n\t\t<!-- Windows Live Messenger -->\r\n\t\t\t<td class='windowslivemessenger' id='windowslivemessenger' name='windowslivemessenger' width='<?php echo $width; ?>%'>\r\n\t\t\t\t<a href=\"http://profile.live.com/badge?url=<?php echo $thisurl; ?>&amp;wa=wsignin1.0\" target=\"_new\">\r\n\t\t\t\t\t<img alt=\"share\" src=\"<?php echo $conf['site']['url']; ?>template/admin/images/share.png\" width=\"75px\" height=\"25px\" border=\"0\">\r\n\t\t\t\t</a>\r\n\t\t\t</td>\r\n\r\n\t\t<!-- Hyves -->\r\n\t\t\t<td class='hyves' id='hyves' name='hyves' width='150px'>\r\n\t\t\t\t<iframe src=\"http://www.hyves.nl/respect/button?url=<?php echo $thisurl; ?>&amp;icon=1\" style=\"border: medium none; overflow:hidden; width:150px; height:21px;\" scrolling=\"no\" frameborder=\"0\" allowTransparency=\"true\" >\r\n\t\t\t\t\tPlease Upgrade Your Browser!\r\n\t\t\t\t</iframe>\r\n\t\t\t</td>\r\n\r\n\t\t<!-- Linked In -->\r\n\t\t\t<td class='linkedin' id='linkedin' name='linkedin' width='<?php echo $width; ?>%'>\r\n\t\t\t\t<script type=\"text/javascript\" src=\"http://platform.linkedin.com/in.js\"></script>\r\n\t\t\t\t<script type=\"in/share\" data-url=\"<?php echo $thisurl; ?>\" data-counter=\"top\"></script>\r\n\t\t\t</td>\r\n\t\t\t\r\n\t\t<!-- QRCode -->\r\n\t\t\t<td class='qr' id='qr' name='qr' width='<?php echo $width; ?>%'>\r\n\t\t <?php\r\n\t\t $qr = new qrcode();\r\n $qr -> link ( $thisurl ) ; \r\n $x = $qr -> geturl () ;\r\n echo \"<img src='{$x}' alt='QRCode' width='80' height='80'>\";\r\n\t\t?>\r\n\t\t\t</td>\r\n\t\t\t\r\n\t\t<!-- Facebook -->\r\n\t\t\t<td class='facebook' id='facebook' name='facebook' width='<?php echo $width; ?>%'>\r\n\t\t\t\t<script type=\"text/javascript\" src=\"http://connect.facebook.net/en_US/all.js#xfbml=1\"></script>\r\n\t\t\t\t<fb:like href=\"<?php echo $thisurl; ?>\" layout=\"box_count\" show_faces=\"true\" width=\"450\"></fb:like>\r\n\t\t\t</td>\r\n\t</tr>\r\n</table>\r\n<!-- /Share Buttons :) -->\r\n<?php\r\n\t}", "function nsc_social($post_id, $the_post_link, $the_title){\n?>\n\t<div class=\"share_box\">\n<?php\n\tfb_button($the_post_link);\n\ttw_button($the_post_link, $title);\n\ttmblr_share_button();\n\trddt_button($the_post_link, $title);\n\tartist_share($post_id);\n?>\n\t</div>\n<?php\n}", "function twitter_widget() {\r\n\tregister_widget( 'Twitter_widget' );\r\n}", "function fb_share_button($the_post_link){\n?>\n<div class=\"fb-share-button\" data-href=\"<?php echo $the_post_link;?>\" data-layout=\"button\" data-size=\"large\" data-mobile-iframe=\"true\"><a target=\"_blank\" href=\"https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fplugins%2F&amp;src=sdkpreparse\" class=\"fb-xfbml-parse-ignore\">Share</a></div>\n<?php\n}", "function ktz_socialshare() {\n global $post;\n\t$href = get_permalink();\n\techo '<div class=\"social-share clearfix\">\n\t<fb:like href=\"'.$href.'\" layout=\"box_count\" action=\"like\" show_faces=\"false\" share=\"false\" style=\"top:-5px;\"></fb:like>\n\t<g:plusone size=\"tall\" annotation=\"bubble\" callback=\"ktz_gplus\" href=\"'.$href.'\"></g:plusone>\n\t<a href=\"http://twitter.com/share\" class=\"twitter-share-button\" data-url=\"'.$href.'\" data-size=\"medium\" data-count=\"vertical\" data-lang=\"en\">Tweet</a>\n\t</div>';\n}", "function educator_share( $type = 'default' ) {\n\tif ( 1 != get_theme_mod( 'share_enable', 1 ) ) {\n\t\treturn '';\n\t}\n\n\t$links = '';\n\t$include = explode( ' ', get_theme_mod( 'share_buttons', 'facebook google+ twitter' ) );\n\n\tif ( ! empty( $include ) ) {\n\t\t$links .= '<ul class=\"educator-share-links clearfix\">';\n\t\n\t\tif ( 'default' == $type ) {\n\t\t\t$links .= '<li class=\"label\">' . __( 'Share:', 'ib-educator' ) . '</li>';\n\t\t}\n\n\t\t$theme_settings = get_option( 'educator_settings', array() );\n\t\t$fb_api_key = ! isset( $theme_settings['facebook_api_key'] ) ? '' : $theme_settings['facebook_api_key'];\n\t\t$twitter_via = ! isset( $theme_settings['twitter_via'] ) ? '' : $theme_settings['twitter_via'];\n\n\t\t$encoded_permalink = urlencode( get_permalink() );\n\n\t\tforeach ( $include as $include_button ) {\n\t\t\tswitch ( $include_button ) {\n\t\t\t\tcase 'facebook':\n\t\t\t\t\t$redirect_uri = urlencode( home_url( '/' ) );\n\t\t\t\t\t$facebook_url = 'https://www.facebook.com/dialog/share?app_id=' . $fb_api_key . '&href=' . $encoded_permalink . '&redirect_uri=' . $redirect_uri;\n\t\t\t\t\t$links .= '<li><a href=\"' . esc_url( $facebook_url ) . '\" title=\"' . __( 'Facebook', 'ib-educator' ) . '\" target=\"_blank\"><span class=\"fa fa-facebook\"></span></a></li>';\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'google+':\n\t\t\t\t\t$googleplus_url = 'https://plus.google.com/share?url=' . $encoded_permalink;\n\t\t\t\t\t$links .= '<li><a href=\"' . esc_url( $googleplus_url ) . '\" title=\"' . __( 'Google+', 'ib-educator' ) . '\" target=\"_blank\"><span class=\"fa fa-google-plus\"></span></a></li>';\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'twitter':\n\t\t\t\t\t$twitter_url = 'https://twitter.com/share?url=' . $encoded_permalink . '&text=' . urlencode( get_the_title() ) . '&via=' . $twitter_via;\n\t\t\t\t\t$links .= '<li><a href=\"' . esc_url( $twitter_url ) . '\" title=\"' . __( 'Twitter', 'ib-educator' ) . '\" target=\"_blank\"><span class=\"fa fa-twitter\"></span></a></li>';\n\t\t\t\t\tbreak;\n\n\t\t\t\tdefault:\n\t\t\t\t\t$links .= apply_filters( 'edutheme_share_link', '', $include_button, $encoded_permalink );\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\t$links .= '</ul>';\n\n\t\tif ( 'menu' == $type ) {\n\t\t\t$links = '<div class=\"share-links-menu\"><a href=\"#\" title=\"' . __( 'Share', 'ib-educator' ) . '\"><span class=\"fa fa-share-alt\"></span></a>' . $links . '</div>';\n\t\t}\n\t}\n\n\treturn $links;\n}", "function CrumbleMagazine_Twitter_Widget() {\r\n\r\n\t\t/* Widget settings. */\r\n\t\t$widget_ops = array( 'classname' => 'crumble_twitter_widget' , 'description' => __( 'Twitter Widget' , 'crumble' ) );\r\n\r\n\t\t/* Widget control settings. */\r\n\t\t$control_ops = array( 'width' => 200, 'height' => 350, 'id_base' => 'crumble_twitter_widget' );\r\n\t\t\r\n\t\t/* Create the widget. */\r\n\t\t$this->WP_Widget('crumble_twitter_widget', __( 'TNA : Twitter Widget' , 'crumble' ) , $widget_ops, $control_ops );\r\n\t\r\n}", "function fb_button($the_post_link){\n?>\n<div class=\"fb-share-button\" data-href=\"<?php echo $the_post_link;?>\" data-layout=\"button\" data-size=\"small\" data-mobile-iframe=\"true\"><a target=\"_blank\" href=\"https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fplugins%2F&amp;src=sdkpreparse\" class=\"fb-xfbml-parse-ignore\">Share</a></div>\n<?php\n}", "function tw_share_button($the_post_link, $title){\n?>\n<a href=\"https://twitter.com/share\" class=\"twitter-share-button\" data-size=\"large\" data-text=\"<?php echo $title; ?>\" data-url=\"<?php echo $the_post_link; ?>\" data-show-count=\"false\">Tweet</a><script async src=\"//platform.twitter.com/widgets.js\" charset=\"utf-8\"></script>\n<?php\n}", "function insert_share( $content ){\n\t$share = '<a href=\"https://twitter.com/share\" class=\"twitter-share-button\" data-count=\"horizontal\">Tweet</a>';\n\t$share .= '<div id=\"fb-root\"></div>';\n\t$share .= '<div class=\"fb-like\" data-send=\"false\" data-layout=\"button_count\" data-width=\"1\" data-show-faces=\"false\" data-action=\"recommend\"></div>';\n\n\tif (is_single()) {\n\t\treturn after_paragraph( $share, 2, $content );\n\t}\n\n\treturn $content;\n}", "function bk_register_tw_widget() {\n\tregister_widget('bk_Twitter');\n}", "function silverless_social_sharing_buttons($content) {\n\tglobal $post;\n\tif(is_singular() || is_home()){\n\n\t\t// Get current page URL\n\t\t$silverlessURL = urlencode(get_permalink());\n\n\t\t// Get current page title\n\t\t$silverlessTitle = htmlspecialchars(urlencode(html_entity_decode(get_the_title(), ENT_COMPAT, 'UTF-8')), ENT_COMPAT, 'UTF-8');\n\t\t// $silverlessTitle = str_replace( ' ', '%20', get_the_title());\n\n\t\t// Get Post Thumbnail for pinterest\n\t\t$silverlessThumbnail = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' );\n\n\t\t// Construct sharing URL without using any script\n\t\t$twitterURL = 'https://twitter.com/intent/tweet?text='.$silverlessTitle.'&amp;url='.$silverlessURL.'&amp;via=Crunchify';\n\t\t$facebookURL = 'https://www.facebook.com/sharer/sharer.php?u='.$silverlessURL;\n\n\t\t// Based on popular demand added Pinterest too\n\t\t$pinterestURL = 'https://pinterest.com/pin/create/button/?url='.$silverlessURL.'&amp;media='.$silverlessThumbnail[0].'&amp;description='.$silverlessTitle;\n\n\t\t// Add sharing button at the end of page/page content\n\t\t$content .= '<!-- Implement your own superfast social sharing buttons without any JavaScript loading. No plugin required. Detailed steps here: http://crunchify.me/1VIxAsz -->';\n\t\t$content .= '<div class=\"contactSocials\"><h5 class=\"heading heading__sm\">SHARE </h5>';\n\t\t$content .= ' <a href=\"'. $twitterURL .'\" target=\"_blank\"><i class=\"fab fa-twitter\"></i></a>';\n\t\t$content .= '<a href=\"'.$facebookURL.'\" target=\"_blank\"><i class=\"fab fa-facebook-square\"></i></a>';\n\t\t$content .= '</div>';\n\n\t\treturn $content;\n\t}else{\n\t\t// if not a post/page then don't include sharing button\n\t\treturn $content;\n\t}\n}", "function add_share_buttons_after_content( $content ) {\n if(is_single()){\n global $post;\n\n // Get the post's URL that will be shared\n $post_url = urlencode( esc_url( get_permalink($post->ID) ) );\n \n // Get the post's title\n $post_title = urlencode( $post->post_title );\n \n // the description will be either the post excerpt if present, or part of the post content\n // $description = wdm_custom_excerpt( $post->post_content, $post->post_excerpt );\n \n // Compose the share links for Facebook, Twitter and Google+\n $facebook_link = sprintf( 'https://www.facebook.com/sharer/sharer.php?u=%1$s', $post_url);\n $twitter_link = sprintf( 'https://twitter.com/intent/tweet?text=%2$s&url=%1$s', $post_url, $post_title);\n // $google_plus_link = sprintf( 'https://plus.google.com/share?url=%1$s', $post_url );\n $linkedIn_link = sprintf('https://www.linkedin.com/shareArticle?mini=true&url=%1$s', $post_url);\n // Wrap the buttons\n $output = '<div id=\"share-buttons\">';\n $output .= '<p class=\"share-button\">Share: </p>';\n // Add the links inside the wrapper\n $output .= '<a onclick=\"javascript:window.open(this.href,\\'\\', \\'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\\');return false;\"\n target=\"_blank\" href=\"' . $facebook_link . '\" class=\"share-button facebook\">Facebook</a>';\n $output .= '<a onclick=\"javascript:window.open(this.href,\\'\\', \\'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\\');return false;\"\n target=\"_blank\" href=\"' . $twitter_link . '\" class=\"share-button twitter\">Twitter</a>';\n // $output .= '<a onclick=\"javascript:window.open(this.href,\\'\\', \\'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\\');return false;\"\n // target=\"_blank\" href=\"' . $google_plus_link . '\" class=\"share-button google-plus\">Google+</a>';\n $output .= '<a onclick=\"javascript:window.open(this.href,\\'\\', \\'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\\');return false;\"\n target=\"_blank\" href=\"' . $linkedIn_link . '\" class=\"share-button linkedIn\">LinkedIn</a>';\n $output .= '</div>';\n }\n // Return the buttons and the original content\n return $content . $output;\n}", "function facebook_like_register_widgets() {\r\n register_sidebar_widget('Facebook Like Button', 'facebook_like_widget');\r\n // TODO change widget description\r\n\r\n // Comment this line out if you DON'T want to provide widget preferences\r\n register_widget_control('Facebook Like Button', 'facebook_like_widget_control');\r\n}", "function facebook_like_menu_setup() {\r\n add_options_page('Facebook Like Button Settings', 'Facebook Like Button', 10, __FILE__, 'facebook_like_menu');\r\n // Add meta box... you almost always want \"post\" here\r\n add_meta_box('facebook_like_meta', 'Facebook Like for Marketers', \"facebook_like_meta\", \"post\");\r\n}", "function premise_blog_social_share(){\n\t$urlpramarater = array(\n\t\tarray(\n\t\t\t'class'\t\t=> 'facebook',\n\t\t\t'phrase' \t=> 'https://www.facebook.com/sharer.php?u={url}',\n\t\t),\n\t\tarray(\n\t\t\t'class'\t\t=> 'twitter',\n\t\t\t'phrase' \t=> 'https://twitter.com/intent/tweet?url={url}&text={title}',\n\t\t),\n\t\t\n\t\tarray(\n\t\t\t'class'\t\t=> 'linkedin',\n\t\t\t'phrase' \t=> 'https://plus.google.com/share?url={url}',\n\t\t),\n\t\tarray(\n\t\t\t'class'\t\t=> 'google-plus',\n\t\t\t'phrase' \t=> 'https://plus.google.com/share?url={url}',\n\t\t),\n\t);\n\t$permalink = urlencode( wp_get_shortlink() );\n\t$title = get_the_title();\n\t?>\n\t\n\t<div class=\"social-feedback\">\n\t\t<?php \n\t\t\t$urlpramarater = (array) apply_filters('premise_social_urlpramarater', $urlpramarater);\n\t\t\tforeach( $urlpramarater as $pramarater)\n\t\t\t{\n\t\t\t\t$url = str_replace( array('{url}','{title}'), array($permalink, $title), $pramarater['phrase'] );\n\t\t\t\techo sprintf('<a class=\"common-btn\" href=\"%s\">%s</a>', $url, $pramarater['class']);\n\t\t\t}\n\t\t?>\n\t</div><!-- .social-feedback -->\n\t<?php\n}", "function minimal2017_social(){ ?> \n\n <div class=\"social__share\">\n <a href=\"http://www.facebook.com/sharer/sharer.php?u=<?php echo esc_url( get_permalink() ); ?>\" \n class=\"btn--facebook\"><?php _e('share on' , 'minimal2017' );?> facebook</a>\n <a href=\"\n http://twitter.com/share?url=<?php echo esc_url( get_permalink() ); ?>&text=<?php the_title(); ?>&via=MarkDijkstra\" class=\"btn--twitter\" target=\"_blank\"><?php _e('share on' , 'minimal2017' );?> twitter</a>\n </div>\n\n<?php }", "function twitter() {\n\t\n\t\t$id = 'twitter';\n\t\t\n\t\t$this->checkbox( $id , __( 'Use this button?', 'genesis-simple-share' ) );\n\t\t\n\t\t?><p>\n\t\t\t<label for=\"<?php echo $this->get_field_id( 'twitter_id' ); ?>\"><?php _e( 'Enter Twitter ID for @via to be added to default tweet text:', 'genesis-simple-share' ); ?></label>\n\t\t\t<input type=\"text\" name=\"<?php echo $this->get_field_name( 'twitter_id' ); ?>\" id=\"<?php echo $this->get_field_id( 'twitter_id' ); ?>\" value=\"<?php echo esc_attr( str_replace( '@', '', $this->get_field_value( 'twitter_id' ) ) ); ?>\" size=\"27\" />\n\t\t</p><?php\n\t\t\n\t\t\n\t}", "function pinboard_social_bookmarks() {\n\tif( pinboard_get_option( 'facebook' ) || pinboard_get_option( 'twitter' ) || pinboard_get_option( 'google' ) || pinboard_get_option( 'pinterest' ) ) : ?>\n\t\t<div class=\"social-bookmarks\">\n\t\t\t<p><?php _e( 'Did you like this article? Share it with your friends!', 'pinboard' ); ?></p>\n\t\t\t<?php if( pinboard_get_option( 'facebook' ) ) : ?>\n\t\t\t\t<div class=\"facebook-like\">\n\t\t\t\t\t<div id=\"fb-root\"></div>\n\t\t\t\t\t<script>\n\t\t\t\t\t\t(function(d, s, id) {\n\t\t\t\t\t\t\tvar js, fjs = d.getElementsByTagName(s)[0];\n\t\t\t\t\t\t\tif (d.getElementById(id)) return;\n\t\t\t\t\t\t\tjs = d.createElement(s); js.id = id;\n\t\t\t\t\t\t\tjs.src = \"//connect.facebook.net/en_US/all.js#xfbml=1\";\n\t\t\t\t\t\t\tfjs.parentNode.insertBefore(js, fjs);\n\t\t\t\t\t\t}(document, 'script', 'facebook-jssdk'));\n\t\t\t\t\t</script>\n\t\t\t\t\t<div class=\"fb-like\" data-href=\"<?php the_permalink(); ?>\" data-send=\"false\" data-layout=\"button_count\" data-width=\"110\" data-show-faces=\"false\" data-font=\"arial\"></div>\n\t\t\t\t</div><!-- .facebook-like -->\n\t\t\t<?php endif; ?>\n\t\t\t<?php if( pinboard_get_option( 'twitter' ) ) : ?>\n\t\t\t\t<div class=\"twitter-button\">\n\t\t\t\t\t<a href=\"<?php echo esc_url( 'https://twitter.com/share' ); ?>\" class=\"twitter-share-button\" data-url=\"<?php the_permalink(); ?>\">Tweet</a>\n\t\t\t\t\t<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=\"//platform.twitter.com/widgets.js\";fjs.parentNode.insertBefore(js,fjs);}}(document,\"script\",\"twitter-wjs\");</script>\n\t\t\t\t</div><!-- .twitter-button -->\n\t\t\t<?php endif; ?>\n\t\t\t<?php if( pinboard_get_option( 'google' ) ) : ?>\n\t\t\t\t<div class=\"google-plusone\">\n\t\t\t\t\t<div class=\"g-plusone\" data-size=\"medium\" data-href=\"<?php the_permalink(); ?>\"></div>\n\t\t\t\t\t<script type=\"text/javascript\">\n\t\t\t\t\t\t(function() {\n\t\t\t\t\t\t\tvar po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;\n\t\t\t\t\t\t\tpo.src = 'https://apis.google.com/js/plusone.js';\n\t\t\t\t\t\t\tvar s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);\n\t\t\t\t\t\t})();\n\t\t\t\t\t</script>\n\t\t\t\t</div><!-- .google-plusone -->\n\t\t\t<?php endif; ?>\n\t\t\t<?php if( pinboard_get_option( 'pinterest' ) ) :\n\t\t\t\tif( wp_attachment_is_image( get_the_ID() ) || has_post_thumbnail() )\n\t\t\t\t\t$thumb = wp_get_attachment_image_src( ( is_attachment() ? get_the_ID() : get_post_thumbnail_id() ), 'full' );\n\t\t\t\telse\n\t\t\t\t\t$thumb = pinboard_get_first_image(); ?>\n\t\t\t\t<div class=\"pinterest-button\">\n\t\t\t\t\t<a href=\"<?php echo esc_url( 'http://pinterest.com/pin/create/button/?url=' . urlencode( get_permalink() ) . ( false !== $thumb ? '&media=' . urlencode( $thumb[0] ) : '' ) . '&description=' . urlencode( apply_filters('the_excerpt', get_the_excerpt() ) ) ); ?>\" class=\"pin-it-button\" count-layout=\"horizontal\"><img border=\"0\" src=\"//assets.pinterest.com/images/PinExt.png\" title=\"Pin It\" /></a>\n\t\t\t\t\t<script>\n\t\t\t\t\t\t(function(d, s, id) {\n\t\t\t\t\t\t\tvar js, pjs = d.getElementsByTagName(s)[0];\n\t\t\t\t\t\t\tif (d.getElementById(id)) return;\n\t\t\t\t\t\t\tjs = d.createElement(s); js.id = id;\n\t\t\t\t\t\t\tjs.src = \"//assets.pinterest.com/js/pinit.js\";\n\t\t\t\t\t\t\tpjs.parentNode.insertBefore(js, pjs);\n\t\t\t\t\t\t}(document, 'script', 'pinterest-js'));\n\t\t\t\t\t</script>\n\t\t\t\t</div>\n\t\t\t<?php endif; ?>\n\t\t\t<div class=\"clear\"></div>\n\t\t</div><!-- .social-bookmarks -->\n\t<?php endif;\n}", "function the_champ_sharing_shortcode($params){\r\n\t// notify if sharing is disabled\r\n\tif(the_champ_social_sharing_enabled()){\r\n\t\tglobal $theChampSharingOptions;\r\n\t\textract(shortcode_atts(array(\r\n\t\t\t'style' => '',\r\n\t\t\t'type' => 'horizontal',\r\n\t\t\t'left' => '0',\r\n\t\t\t'right' => '0',\r\n\t\t\t'top' => '100',\r\n\t\t\t'url' => '',\r\n\t\t\t'count' => 0,\r\n\t\t\t'align' => 'left',\r\n\t\t\t'title' => '',\r\n\t\t\t'total_shares' => 'OFF'\r\n\t\t), $params));\r\n\t\tif(($type == 'horizontal' && !the_champ_horizontal_sharing_enabled()) || ($type == 'vertical' && (the_champ_is_amp_page() || !the_champ_vertical_sharing_enabled()))){\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tglobal $post;\r\n\r\n\t\tif(!is_object($post)){\r\n\t return;\r\n\t\t}\r\n\r\n\t\t$customUrl = apply_filters('heateor_ss_custom_share_url', '', $post);\r\n\t\tif($customUrl){\r\n\t\t\t$targetUrl = $customUrl;\r\n\t\t\t$postId = 0;\r\n\t\t}elseif($url){\r\n\t\t\t$targetUrl = $url;\r\n\t\t\t$postId = 0;\r\n\t\t}elseif(is_front_page()){\r\n\t\t\t$targetUrl = esc_url(home_url());\r\n\t\t\t$postId = 0;\r\n\t\t}elseif(!is_singular() && $type == 'vertical'){\r\n\t\t\t$targetUrl = html_entity_decode(esc_url(the_champ_get_http().$_SERVER[\"HTTP_HOST\"].$_SERVER[\"REQUEST_URI\"]));\r\n\t\t\t$postId = 0;\r\n\t\t}elseif(isset($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING']){\r\n\t\t\t$targetUrl = html_entity_decode(esc_url(the_champ_get_http().$_SERVER[\"HTTP_HOST\"].$_SERVER[\"REQUEST_URI\"]));\r\n\t\t\t$postId = $post-> ID;\r\n\t\t}elseif(get_permalink($post-> ID)){\r\n\t\t\t$targetUrl = get_permalink($post-> ID);\r\n\t\t\t$postId = $post-> ID;\r\n\t\t}else{\r\n\t\t\t$targetUrl = html_entity_decode(esc_url(the_champ_get_http().$_SERVER[\"HTTP_HOST\"].$_SERVER[\"REQUEST_URI\"]));\r\n\t\t\t$postId = 0;\r\n\t\t}\r\n\t\t$shareCountUrl = $targetUrl;\r\n\t\tif($url == '' && is_singular()){\r\n\t\t\t$shareCountUrl = get_permalink($post->ID);\r\n\t\t}\r\n\t\t$customPostUrl = heateor_ss_apply_target_share_url_filter($targetUrl, $type, false);\r\n\t\tif($customPostUrl != $targetUrl){\r\n\t\t\t$targetUrl = $customPostUrl;\r\n\t\t\t$shareCountUrl = $targetUrl;\r\n\t\t}\r\n\t\t// if bit.ly url shortener enabled, generate bit.ly short url\r\n\t\t$shortUrl = '';\r\n\t\tif(isset($theChampSharingOptions['use_shortlinks']) && function_exists('wp_get_shortlink')){\r\n\t\t\t$shortUrl = wp_get_shortlink();\r\n\t\t\t// if bit.ly integration enabled, generate bit.ly short url\r\n\t\t}elseif(isset($theChampSharingOptions['bitly_enable']) && isset($theChampSharingOptions['bitly_access_token']) && $theChampSharingOptions['bitly_access_token'] != ''){\r\n\t\t\t$shortUrl = the_champ_generate_sharing_bitly_url($targetUrl, $postId);\r\n\t\t}\r\n\t\t$alignmentOffset = 0;\r\n\t\tif($left){\r\n\t\t\t$alignmentOffset = $left;\r\n\t\t}elseif($right){\r\n\t\t\t$alignmentOffset = $right;\r\n\t\t}\r\n\t\t$shareCountTransientId = heateor_ss_get_share_count_transient_id($targetUrl);\r\n\t\t$cachedShareCount = heateor_ss_get_cached_share_count($shareCountTransientId);\r\n\t\t$html = '<div class=\"the_champ_sharing_container the_champ_'.$type.'_sharing' . ($type == 'vertical' && isset($theChampSharingOptions['hide_mobile_sharing']) ? ' the_champ_hide_sharing' : '') . ($type == 'vertical' && isset($theChampSharingOptions['bottom_mobile_sharing']) ? ' the_champ_bottom_sharing' : '') . '\" ' . (the_champ_is_amp_page() ? '' : 'ss-offset=\"' . $alignmentOffset . '\" ') . (the_champ_is_amp_page() ? '' : 'super-socializer-data-href=\"' . (isset($shareCountUrl) && $shareCountUrl ? $shareCountUrl : $targetUrl) . '\"') . ($cachedShareCount === false || the_champ_is_amp_page() ? \"\" : 'super-socializer-no-counts=\"1\" ');\r\n\t\t$verticalOffsets = '';\r\n\t\tif($type == 'vertical'){\r\n\t\t\t$verticalOffsets = $align . ': '.$$align.'px; top: '.$top.'px;width:' . ((isset($theChampSharingOptions['vertical_sharing_size']) ? $theChampSharingOptions['vertical_sharing_size'] : '35') + 4) . \"px;\";\r\n\t\t}\r\n\t\t// style \r\n\t\tif($style != \"\" || $verticalOffsets != ''){\r\n\t\t\t$html .= 'style=\"';\r\n\t\t\tif(strpos($style, 'background') === false){ $html .= '-webkit-box-shadow:none;box-shadow:none;'; }\r\n\t\t\t$html .= $verticalOffsets;\r\n\t\t\t$html .= $style;\r\n\t\t\t$html .= '\"';\r\n\t\t}\r\n\t\t$html .= '>';\r\n\t\tif($type == 'horizontal' && $title != ''){\r\n\t\t\t$html .= '<div style=\"font-weight:bold\" class=\"the_champ_sharing_title\">' . ucfirst($title) . '</div>';\r\n\t\t}\r\n\t\t$html .= the_champ_prepare_sharing_html($shortUrl == '' ? $targetUrl : $shortUrl, $shareCountUrl, $type, $count, $total_shares == 'ON' ? 1 : 0, $shareCountTransientId);\r\n\t\t$html .= '</div>';\r\n\t\tif(($count || $total_shares == 'ON') && $cachedShareCount === false){\r\n\t\t\t$html .= '<script>theChampLoadEvent(function(){theChampCallAjax(function(){theChampGetSharingCounts();});});</script>';\r\n\t\t}\r\n\t\treturn $html;\r\n\t}\r\n}", "function floating_social_sharing_button()\n{\n?>\n\t<script type=\"text/javascript\" src=\"http://apis.google.com/js/plusone.js\"></script>\n <div id=\"side-bar\">\n <div id=\"box\" class=\"<?php if(get_option('ptthemes_page_layout') == 'Page 2 column - Left Sidebar') { ?>box-right<?php } else { ?>box-left<?php } ?>\">\n <ul>\n\t\t<?php \n\t\tif(technews_hybrid_get_setting('fb_like_button'))\n\t\t{?>\n <li class=\"facebookbutton\">\n\t\t\t\t<div id=\"fb-root\"></div>\n\t\t\t\t<script>(function(d, s, id) {\n\t\t\t\tappId = '<?php echo technews_hybrid_get_setting('fb_appId')?>';\n\t\t\t\t var js, fjs = d.getElementsByTagName(s)[0];\n\t\t\t\t if (d.getElementById(id)) return;\n\t\t\t\t js = d.createElement(s); js.id = id;\n\t\t\t\t js.src = \"//connect.facebook.net/en_US/all.js#xfbml=1&appId=\"+appId;\n\t\t\t\t fjs.parentNode.insertBefore(js, fjs);\n\t\t\t\t}(document, 'script', 'facebook-jssdk'));</script>\n\t\t\t <div class=\"fb-like\" data-href=\"https://developers.facebook.com/docs/plugins/\" data-width=\"450\" data-layout=\"box_count\" data-action=\"like\" data-show-faces=\"true\" data-send=\"false\"></div>\n </li>\n\t\t<?php } \n\t\tif(technews_hybrid_get_setting('plusone_button'))\n\t\t{?>\n <li>\n <g:plusone size=\"tall\" href=\"<?php echo get_permalink(); ?>\"></g:plusone>\n </li>\n\t\t<?php }\n\t\tif(technews_hybrid_get_setting('twitter_share_button'))\n\t\t{ ?>\n <li>\t\t\t\n\t\t\t\t<a href=\"https://twitter.com/share\" data-text=\"<?php the_title(); ?>\" class=\"twitter-share-button\" data-url=\"<?php echo get_permalink(); ?>\" data-counturl=\"<?php echo get_permalink(); ?>\" data-lang=\"en\" data-count=\"vertical\">Tweet</a>\n\t\t\t\t<script type=\"text/javascript\">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=\"//platform.twitter.com/widgets.js\";fjs.parentNode.insertBefore(js,fjs);}}(document,\"script\",\"twitter-wjs\");</script>\n\t\t\t\t<div style=\"clear:both;\"></div>\n </li>\n\t\t<?php } \n\t\tif(technews_hybrid_get_setting('stumble_upon_button'))\n\t\t{ ?>\n <li>\n <script src=\"http://www.stumbleupon.com/hostedbadge.php?s=5\" type=\"text/javascript\"></script>\n\t\t\t\t<div class=\"subscribe-share-box count\">\n\t\t\t\t<?php $postid = $post->ID;?>\n\t\t\t\t<script type='text/javascript'>digg_url= '<?php echo get_permalink($postid); ?>';</script>\n\n\t\t\t\t</div>\n </li>\n\t\t\t<?php } ?>\n </ul>\n <div style=\"clear:both;\"></div>\n </div>\n </div>\n<?php\n}" ]
[ "0.6834548", "0.6746229", "0.67062813", "0.6643344", "0.66295546", "0.6585562", "0.65572613", "0.6551203", "0.65341574", "0.6488614", "0.6460609", "0.64369535", "0.6367208", "0.63420206", "0.6311765", "0.6307707", "0.6303052", "0.6302838", "0.6289781", "0.62339056", "0.6219656", "0.6200286", "0.6196484", "0.61762697", "0.6166111", "0.6146643", "0.6146216", "0.6145747", "0.6144716", "0.61379397" ]
0.7116733
0
protected $guard = 'suscriptores';
protected function guard() { return Auth::guard('suscriptores'); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function Guard(){\n }", "protected function guard()\n {\n return Auth::guard('web_dog');\n }", "protected function guard()\n {\n return Auth::guard('aluno');\n }", "protected function guard()\n {\n return Auth::guard('web');\n }", "protected function guard()\n {\n return Auth::guard('web');\n }", "protected function guard()\n {\n return Auth::guard('web');\n }", "protected function guard()\n {\n return Auth::guard('school');\n }", "protected function guard()\n {\n return Auth::guard('aerepad'); // without parameter it guards web(user) it is overwriting the authenticateusers func\n }", "protected function guard()\r\n {\r\n return Auth::guard();\r\n }", "protected function guard()\n {\n return Auth::guard();\n }", "protected function guard()\n {\n return Auth::guard();\n }", "protected function guard()\n {\n return Auth::guard();\n }", "protected function guard()\n {\n return Auth::guard();\n }", "protected function guard()\n {\n return Auth::guard();\n }", "protected function guard()\n {\n return Auth::guard();\n }", "protected function guard()\n {\n return Auth::guard();\n }", "protected function guard()\n {\n return Auth::guard();\n }", "protected function guard()\n {\n return Auth::guard();\n }", "protected function guard()\n {\n return Auth::guard();\n }", "protected function guard()\n {\n return Auth::guard();\n }", "protected function guard()\n {\n return Auth::guard();\n }", "protected function guard()\n {\n return Auth::guard();\n }", "protected function guard()\n {\n return Auth::guard();\n }", "protected function guard()\n {\n return Auth::guard();\n }", "protected function guard()\n {\n return Auth::guard();\n }", "protected function guard()\n {\n return Auth::guard();\n }", "protected function guard() {\n return Auth::guard();\n }", "protected function guard() {\n return Auth::guard();\n }", "public function guard()\n {\n return Auth::guard();\n\t}", "protected function guard(){\n return Auth::guard('admin');\n }" ]
[ "0.72705895", "0.70182747", "0.6928026", "0.6810154", "0.6810154", "0.6810154", "0.65934", "0.6589167", "0.6571765", "0.65356123", "0.65356123", "0.65356123", "0.65356123", "0.65356123", "0.65356123", "0.65356123", "0.65356123", "0.65356123", "0.65356123", "0.65356123", "0.65356123", "0.65356123", "0.65356123", "0.65356123", "0.65356123", "0.65356123", "0.65355325", "0.65355325", "0.65342844", "0.6515354" ]
0.79907966
0
Retorna arreglo de Categoriaapoyo en base a los parametros enviados
public function getCategoriaapoyo() { try { $datos = $_REQUEST; $filtros = array_filter($datos); $dbm = new DbmAdmisiones($this->get("db_manager")->getEntityManager()); $entidad = $dbm->BuscarCategoriaapoyo($filtros); if (!$entidad) { return new View("No se encontro ningun registro ", Response::HTTP_PARTIAL_CONTENT); } return new View($entidad, Response::HTTP_OK); } catch (Exception $e) { return new View($e->getMessage(), Response::HTTP_BAD_REQUEST); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function getCategorias();", "public function getCategorie();", "public function buscarCategoria()\n\t{\n\t\t$sql = \"SELECT * FROM categoria_precios WHERE idcategoria_precios = '$this->idcategoriaprecios'\";\n\n\t\t$resp = $this->db->consulta($sql);\n\t\treturn $resp;\n\t}", "public function getCategorie()\n\t{\n\t\t$query_categ = \"SELECT label FROM `llx_bank_categ` ORDER BY `label` ASC;\";\n\t\t$resultat = mysqli_query($this->link, $query_categ) or die (mysqli_error($this->link));\n\t\twhile ($data= mysqli_fetch_assoc($resultat)) {\n\t\t\t$this->categorie[] = $data['label'];\n\t\t}\n\t\treturn $this->categorie;\n\t}", "function listarCategoria(){\n\t\t$this->procedimiento='cd.ft_categoria_sel';\n\t\t$this->transaccion='CD_CAT_SEL';\n\t\t$this->tipo_procedimiento='SEL';//tipo de transaccion\n\t\t\t\t\n\t\t//Definicion de la lista del resultado del query\n\t\t$this->captura('id_categoria','int4');\n\t\t$this->captura('nombre','varchar');\n\t\t$this->captura('id_moneda','int4');\n\t\t$this->captura('codigo','varchar');\n\t\t$this->captura('monto','numeric');\n\t\t$this->captura('estado_reg','varchar');\n\t\t$this->captura('id_tipo_categoria','int4');\n\t\t$this->captura('id_usuario_ai','int4');\n\t\t$this->captura('usuario_ai','varchar');\n\t\t$this->captura('fecha_reg','timestamp');\n\t\t$this->captura('id_usuario_reg','int4');\n\t\t$this->captura('id_usuario_mod','int4');\n\t\t$this->captura('fecha_mod','timestamp');\n\t\t$this->captura('usr_reg','varchar');\n\t\t$this->captura('usr_mod','varchar');\n\t\t$this->captura('desc_moneda','varchar');\n\t\t\n\t\t\n\t\t\n\t\t//Ejecuta la instruccion\n\t\t$this->armarConsulta();\n\t\t$this->ejecutarConsulta();\n\t\t\n\t\t//Devuelve la respuesta\n\t\treturn $this->respuesta;\n\t}", "public static function getCategorias(){\n $conexao = new ConexaoDAO();\n \n $sqlText = \"SELECT * FROM categorias\";\n $resultado = $conexao->query($sqlText)->fetchAll();\n \n \n return $resultado;\n }", "function obtenerCategorias() {\n $pdo = conexion();\n $sql = \"SELECT id, categoria FROM categorias ORDER BY 2\";\n $result = $pdo->query($sql);\n $array = $result->fetchAll(PDO::FETCH_KEY_PAIR);\n return $array;\n }", "function ListarCategoria()\n\t{\n\t\t$sql = \"SELECT * FROM categoria\";\n\t\treturn EjecutarConsulta($sql);\n\t}", "function obtenerCategoriaProg()\n {\n $this->objFunSeguridad = $this->create('sis_seguridad/MODSubsistema');\n $objParam = new CTParametro($aPostData['p'], null, $aPostFiles);\n $objParam->addParametro('codigo', 'pre_verificar_categoria');\n $objFunc = new MODSubsistema($objParam);\n $this->res = $objFunc->obtenerVariableGlobal($this->objParam);\n\n return $this->res->getDatos();\n }", "public function getCategoria() {\n $query = $this->db->get('tb_categoria');\n //Retorna em formato de array\n return $query->result();\n }", "public function getCategorias(){\n $sql =\"SELECT id_tipo_patro, tipo_patrocinador FROM tipo_patrocinador\";\n $params = array(null);\n return Database::getRows($sql, $params); \n }", "public function ctrMostrarCategorias(){\n \n //3-Enviamos un parametro al modelo con el nombre de la tabla\n $tabla = \"categorias\";\n \n //4-Pedimos respuesta al modelo, instanciando la clase ModeloCategorias, donde ejecuta el metodo mdlMostrarCategorias y le pasamos de parametro la $tabla\n $respuesta = ModeloCategorias::mdlMostrarCategorias($tabla);\n \n //5-y se lo retornamos a la vista\n return $respuesta;\n\n }", "function analisis_categoria($parametros,$hoy){\n\t$v_datos=explode(\"^\",$parametros);\t\n\t$cant=0;\n\t$result=mysql_query(\"select * from tbl_categoriasanalisis where id_categoriamuestra='\".$v_datos[0].\"' order by nombre \");\n\twhile ($row=mysql_fetch_assoc($result))\n\t{\n\t\tif ($cant==0){\n\t\t\t$resultado=$row['id'].\"^\".utf8_encode($row['nombre']).\"|\"\t;\n\t\t}else{\n\t\t\t$resultado=$resultado.$row['id'].\"^\".utf8_encode($row['nombre']).\"|\"\t;\n\t\t}\n\t\t$cant++;\n\t}\n\t$jsondata['resultado']=$resultado;\n\techo json_encode($jsondata);\n\t}", "function categoria(){\n\t\t\tswitch($this->method){\n\t\t\t\tcase 'POST':\n\t\t\t\t\tif(isset($_POST['categoria'])){\n\t\t\t\t\t\treturn $this->model->agregarCategoria($_POST['categoria']);\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn 'Datos Mal Enviados';\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'PUT':\n\t\t\t\t\tif(count($this->args) === 1 &&\n\t\t\t\t\t isset($this->formData->categoria)){\n\t\t\t\t\t\treturn $this->model->modificarCategoria($this->args[0], $this->formData->categoria);\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn 'Datos Mal Enviados';\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'DELETE':\n\t\t\t\t\tif(count($this->args) === 1){\n\t\t\t\t\t\treturn $this->model->eliminarCategoria($this->args[0]);\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn 'Datos Mal Enviados';\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'GET':\n\t\t\t\t\treturn $this->model->leerCategorias();\n\t\t\t\t\tbreak;\n\n\t\t\t\tdefault:\n\t\t\t\t\treturn 'Metodo Desconocido';\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "function carregaCategorias($conn){\n\t\t$buscar=$conn->query(\"SELECT * from categorias order by nome asc\");\n\t\treturn $buscar->fetchAll(PDO::FETCH_ASSOC);\n\t}", "public function select_categorie(){\n $spathSQL= $this->GLOBALS_INI[\"PATH_HOME\"] . $this->GLOBALS_INI[\"PATH_MODEL\"] . \"select_categorie.sql\";\n $this->resultat[\"devis_select_categorie\"]= $this->oBdd->getSelectDatas($spathSQL);\n }", "public function getCategoria()\n {\n return $this->categoria;\n }", "public function getCategoria()\n {\n return $this->categoria;\n }", "public function getCategoria()\n {\n return $this->categoria;\n }", "function mostrar_categoria(){\n\t\tif (isset($_GET['id']) && $_GET['id']!=\"\"){\n\t\t\t$id=$_GET['id'];\n\t\t\t$sql=\"SELECT * FROM categoria WHERE id_cat='$id'\";\n\t\t\t$consulta=mysql_query($sql);\n\t\t\t$resultado = mysql_fetch_array($consulta);\n\t\t\t$this->id=$id;\n\t\t\t$this->nombre=$resultado['nombre_cat'];\n\t\t\t$this->etiqueta=$resultado['etiqueta_cat'];\n\t\t\t$this->prioridad=$resultado['prioridad_cat'];\n\t\t\t$this->padre=$resultado['padre_cat'];\n\t\t\t$this->claves=$resultado['claves_cat'];\n\t\t\t$this->descripcion=$resultado['descripcion_cat'];\n\t\t\t$this->crearArbol('categoria','id_cat','nombre_cat','padre_cat',0,'&mdash;');\n\t\t//print_r($this->listado);\n\t\t}\n\t}", "function SelectTodasCategoria()\n\t{\n\t\t$sql = \"SELECT * FROM categoria where condicion=1\";\n\t\treturn EjecutarConsulta($sql);\n\t}", "function getAllCategorie() : array {\r\n $reponse = $this->db->query(\"SELECT DISTINCT categorie FROM Categorie\");\r\n $categorie = $reponse->fetchall(PDO::FETCH_ASSOC);\r\n return $categorie;\r\n }", "function getDataForm(){\r\n\t\t\tif(isset($_REQUEST['id_CATEGORIAS'])){\r\n\t\t\t\t$id_CATEGORIAS = $_REQUEST['id_CATEGORIAS'];//Identificador de la categoria\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\t$id_CATEGORIAS = \"\";\r\n\t\t\t}\r\n\t\t\t$nombre = $_REQUEST['nombre'];//Nombre de la categoria\t\r\n\t\t\t//Creamos un objeto Categoria\r\n\t\t\t$categoria = new CATEGORIAS_Model ($id_CATEGORIAS,$nombre);\r\n\t\t\t\r\n\t\t\t//Devuelve el objeto Categoria\r\n\t\t\treturn $categoria;\r\n\t\t}", "public function getCategorias(){\n return Articulo::find()->select('categoria')->distinct()->indexBy('categoria')->column();\n }", "public function findCat(){\n $resultat =$this->pdo->query(SELECT DISTINCT(categorie)FROM produit)\n $categorie = $resultat->fetchAll();\n return $categories;\n }", "public function getCategoria()\n\t{\n\t\treturn $this->categoria;\n\t}", "public function getCategoria()\n\t{\n\t\treturn $this->categoria;\n\t}", "public function listarCategorias()\r\n\t{\r\n\t\t$categorias=array();\r\n\t\ttry{\r\n\t\t\t//realizamos la consulta de todos los items\r\n\t\t\t$consulta = $this->db->prepare(\"select * from categoria\");\r\n\t\t\t$consulta->execute();\r\n\t\t\tfor($i=0; $row = $consulta->fetch(); $i++)\r\n\t\t\t{\r\n\t\t $fila['cat_id']=$row['CAT_ID'];\r\n\t\t\t$fila['cat_nombre']=$row['CAT_NOMBRE'];\r\n\t\t\t$categorias[]=$fila;\t\r\n\t\t\t}\r\n\t\t}\t\t\t\r\n\t\tcatch(PDOException $e)\r\n\t\t{\r\n\t\t\techo $e;\r\n\t\t}\r\n\t\treturn $categorias;\t\t\r\n\t}", "public function getCategorias()\n {\n $stmt = Conexion::conectar()->prepare('SELECT *from categorias');\n $stmt->execute();\n return $stmt;\n }", "function Categorias($id)\n{\n \t$cnn = new Conexion();\n\t$con = $cnn->conexionMysql();\n\t$estado=\"Activo\";\n\t$catalogo=\"\";\n\t$sql = \"SELECT categoria.descripcion FROM categoria INNER JOIN producto on producto.idCategoria=categoria.idCategoria where producto.idProducto='$id'\";\n\tmysqli_select_db($con,\"sistemaferreteria\");\n\t\t$consulta1 = $con->query($sql);\n\t\t$fila=$consulta1->fetch_assoc();\n\t\t$catalogo= $fila[\"descripcion\"];\n\t\t$consulta1->free();\n\t$con->close();\n\treturn $catalogo;\n}" ]
[ "0.7004124", "0.69097805", "0.6825627", "0.6753491", "0.6718823", "0.6713717", "0.6701203", "0.6694959", "0.66912836", "0.66661376", "0.66574156", "0.6621008", "0.6595343", "0.6559556", "0.6516285", "0.6490371", "0.6473024", "0.6473024", "0.6473024", "0.6445435", "0.6411928", "0.6392952", "0.63784647", "0.63761157", "0.6360339", "0.6328875", "0.6328875", "0.6320039", "0.626654", "0.6262999" ]
0.7238913
0
Creates the batch for deleting files from the file_usage table.
function _auditfiles_used_not_managed_batch_delete_create_batch(array $fileids) { $batch['error_message'] = t('One or more errors were encountered processing the files.'); $batch['finished'] = '\Drupal\auditfiles\AuditFilesBatchProcess::_auditfiles_used_not_managed_batch_finish_batch'; $batch['progress_message'] = t('Completed @current of @total operations.'); $batch['title'] = t('Deleting files from the file_usage table'); $operations = $file_ids = []; foreach ($fileids as $file_id) { if ($file_id != 0) { $file_ids[] = $file_id; } } // Fill in the $operations variable. foreach ($file_ids as $file_id) { $operations[] = [ '\Drupal\auditfiles\AuditFilesBatchProcess::_auditfiles_used_not_managed_batch_delete_process_batch', [$file_id], ]; } $batch['operations'] = $operations; return $batch; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function deleteWithFiles();", "function _auditfiles_used_not_managed_batch_delete_process_file($file_id) {\n $connection = Database::getConnection();\n $num_rows = $connection->delete('file_usage')->condition('fid', $file_id)->execute();\n if (empty($num_rows)) {\n drupal_set_message(\n t(\n 'There was a problem deleting the record with file ID %fid from the file_usage table. Check the logs for more information.',\n ['%fid' => $file_id]\n ),\n 'warning'\n );\n }\n else {\n drupal_set_message(\n t( \n 'Sucessfully deleted File ID : %fid from the file_usages table.',\n ['%fid' => $file_id]\n )\n );\n }\n }", "public function files_batch_delete()\r\n {\t\r\n\t\t$this->folder_id = $this->post['folder_id'];\r\n\t\t$this->media_ids = array_filter(explode(',',urldecode($this->post['media_ids'])));\t\t\r\n\t\t$this->per_page = $this->post['per_page'];\r\n\t\t$this->page_num = $this->post['page_num'];\r\n\t\t\r\n\t\tforeach ($this->media_ids as $media_id)\r\n\t\t{\r\n\t\t\t$medium = \\Model_Medium::find($media_id);\r\n\r\n\t\t\t$file_search = $medium->dirname.'/'.$medium->filename.'*';\r\n\t\t\t$files = new GlobIterator($file_search);\t\t\t\r\n\r\n\t\t\tif ($medium->delete())\r\n\t\t\t{\r\n\t\t\t\tforeach ($files as $file => $empty_value)\r\n\t\t\t\t{\r\n\t\t\t\t\t$new_array[] = unlink($file);\r\n\t\t\t\t}\r\n\t\t\t\t$this->output_response[] = \"Media successfully deleted.\";\r\n\t\t\t}\r\n\t\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\t$this->output_response[] = \"Could not delete media.\";\r\n\t\t\t}\r\n\t\t}\t\t\r\n\t\t$this->set_folder_data();\r\n\t\t$this->set_media_data();\r\n\t\t$this->set_response();\r\n\t}", "function deleteInBatch(array $ids);", "public function batchDelete(Request $request)\n {\n $payload = $request->validate([\n 'ids' => 'required|array',\n 'ids.*' => 'string',\n 'parent_folder_id' => 'required|string'\n ]);\n\n try {\n $storage = Auth::user()->storage;\n $files = DB::table('files')\n ->select('files.*')\n ->join('folders', 'folders.id', 'files.folder_id')\n ->join('storages', 'storages.id', 'folders.storage_id')\n ->where('storages.user_id', Auth::id())\n ->where('files.folder_id', $payload['parent_folder_id'])\n ->whereIn('files.id', $payload['ids'])\n ->get();\n\n $folders = Folder::owned()\n ->where('parent_folder_id', $payload['parent_folder_id'])\n ->whereIn('id', $payload['ids'])\n ->get();\n\n // Delete files job.\n DeleteFiles::dispatchSync($storage, $files);\n\n // Delete folder job.\n foreach ($folders as $folder) {\n DeleteFolder::dispatchSync($storage, $folder);\n }\n\n return Transformer::success('Success to run batch delete.', $files->merge($folders));\n } catch (\\Throwable $th) {\n return Transformer::failed('Failed to run batch delete.');\n }\n }", "private function generateDelete() {\n $this->generateCondition();\n $this->_SQL = $this->_filename = \"DELETE FROM $this->_nametable WHERE $this->_namefilecondition = :$this->_namefilecondition\";\n }", "public function deleteFile( Request $request ){\n foreach (explode(',', $request->get('ids')) as $id) {\n FileItem::destroy((int)$id);\n }\n\n return \"Success\";\n }", "function test_disk_create_delete_files($base) {\n $iters = $base * 10;\n test_start(__FUNCTION__);\n\n do {\n $tmp_filename = tempnam('/tmp', 'phpbench');\n create_delete_temp_file($tmp_filename);\n } while (--$iters !== 0);\n\n return test_end(__FUNCTION__);\n}", "public function deleteUnusedFiles() {\n\t\t$absolutePath = PATH_site . $this->uploadFolder;\n\t\t$filesInUploadFolder = t3lib_div::getFilesInDir($absolutePath);\n\t\t$this->addToStatistics(\n\t\t\t'Files in upload folder', count($filesInUploadFolder)\n\t\t);\n\n\t\t$imageFileNamesInDatabase = tx_oelib_db::selectColumnForMultiple(\n\t\t\t'image', REALTY_TABLE_IMAGES,\n\t\t\t'1=1' . tx_oelib_db::enableFields(REALTY_TABLE_IMAGES, 1) .\n\t\t\t\t$this->additionalWhereClause\n\t\t);\n\t\t$this->addToStatistics(\n\t\t\t'Files with corresponding image record',\n\t\t\tcount($imageFileNamesInDatabase)\n\t\t);\n\n\t\t$documentFileNamesInDatabase = tx_oelib_db::selectColumnForMultiple(\n\t\t\t'filename', 'tx_realty_documents',\n\t\t\t'1=1' . tx_oelib_db::enableFields('tx_realty_documents', 1) .\n\t\t\t\t$this->additionalWhereClause\n\t\t);\n\t\t$this->addToStatistics(\n\t\t\t'Files with corresponding document record',\n\t\t\tcount($documentFileNamesInDatabase)\n\t\t);\n\n\t\t$filesToDelete = array_diff(\n\t\t\t$filesInUploadFolder,\n\t\t\t$imageFileNamesInDatabase, $documentFileNamesInDatabase\n\t\t);\n\t\t$this->addToStatistics('Files deleted', count($filesToDelete));\n\t\tforeach ($filesToDelete as $image) {\n\t\t\tunlink($absolutePath . $image);\n\t\t}\n\n\t\t$filesOnlyInDatabase = array_diff(\n\t\t\tarray_merge($imageFileNamesInDatabase, $documentFileNamesInDatabase),\n\t\t\t$filesInUploadFolder\n\t\t);\n\t\t$numberOfFilesOnlyInDatabase = count($filesOnlyInDatabase);\n\t\t$this->addToStatistics(\n\t\t\t'Image and documents records without image file',\n\t\t\t$numberOfFilesOnlyInDatabase . (($numberOfFilesOnlyInDatabase > 0)\n\t\t\t\t? ', file names: ' . LF . TAB .\n\t\t\t\t\timplode(LF . TAB, $filesOnlyInDatabase)\n\t\t\t\t: '')\n\t\t);\n\t}", "public function delete_batch()\n\t {\n\t\t \n\t\t \t$ids\t= ee()->input->post('delete');\n\t\t \n\t\t \t$delete_options\t= ee()->db->where_in('entry_id',$ids)->delete(ee()->shared->index_table);\n\t\t \t//$delete_idices\t\t= ee()->db->where_in('entry_id',$ids)->delete(ee()->shared->index_table);\n\t\t \n\t\t return TRUE;\n\t }", "public function cleanfilesAction()\n {\n // It is assumed that their metadata is stored in a removefiles table\n // in the DB\n \n $removeFiles = Ml_Model_RemoveFiles::getInstance();\n \n $removedNum = $removeFiles->gc();\n \n echo \"Cleaned \" . $removedNum . \" files from storage.\\n\";\n }", "public static function _deleteTempFiles(){\r\n foreach(self::$tmp_files as $file)\r\n @unlink($file);\r\n }", "public function buildDeleteBullshit(): void {\n $filesToDelete = [];\n\n foreach(Finder::find(\n [\n '.DS_STORE',\n '.DS_Store',\n 'thumbs.db',\n '.thumbs',\n 'tmp',\n '*.pyc'\n ]\n )->from('.') as $name => $file) {\n $filesToDelete[] = $file->getRealPath();\n }\n\n foreach($filesToDelete as $file) {\n try {\n FileSystem::delete($file);\n }\n catch(IOException $e) {\n $this->writeln('Errror ' . $file);\n }\n }\n }", "public function softBatchDelete(Request $request)\n {\n $payload = $request->validate([\n 'ids' => 'required|array',\n 'ids.*' => 'string',\n 'parent_folder_id' => 'required|string',\n ]);\n\n try {\n $folders = Folder::owned()\n ->select('id', 'size')\n ->whereIn('id', $payload['ids'])\n ->where('parent_folder_id', $payload['parent_folder_id'])\n ->get();\n \n $files = File::select('files.id', 'files.size')\n ->join('folders', 'folders.id', 'files.folder_id')\n ->join('storages', 'storages.id', 'folders.storage_id')\n ->where('storages.user_id', Auth::id())\n ->where('folder_id', $payload['parent_folder_id'])\n ->whereIn('files.id', $payload['ids'])\n ->get();\n\n // Delete folders.\n $folders->each(function (Folder $folder) {\n SoftDeleteFolder::dispatchSync($folder);\n });\n\n // Delete files.\n File::whereIn('id', $files->pluck('id'))->delete();\n \n // Decrease parents folder size.\n $size_decrease = $folders->sum('size') + $files->sum('size');\n DecreaseParentFolderSize::dispatchSync($payload['parent_folder_id'], $size_decrease);\n \n return Transformer::success('Success to run soft batch delete.');\n } catch (\\Throwable $th) {\n return Transformer::failed('Failed to run batch delete.');\n }\n }", "public function testMultipleDeletesAndRenames1() {\n $initial_dirs = ['renames', 'deleteme-dir'];\n $initial_files = [\n 'deleteme-file' => 'hello world',\n 'deleteme-dir/file' => 'hello world',\n 'changelog.1.2.4' => 'More better.',\n ];\n for($i = 1; $i <= 30; $i++) {\n $initial_files[\"renames/fileA$i\"] = $i;\n }\n\n $expected_dirs = ['renames', '/app'];\n $expected_files = [];\n for ($i = 1; $i <= 30; $i++) {\n $expected_files[\"renames/fileB$i\"] = $i;\n }\n $expected_files['changelog.1.2.5'] = 'More better.';\n\n $this->_testCpkgBatchApplication('multiple-deletes-renames.zip', $initial_dirs, $expected_dirs, $initial_files, $expected_files);\n }", "public function deleteFiles() {\n /**\n * @var $owner ActiveRecord\n */\n $owner = $this->owner;\n\n $fileName = $owner->getAttribute($this->imgAttribute);\n if (! empty($fileName)) {\n $size = $this->sizeAttribute ? $owner->getAttribute($this->sizeAttribute) : $this->cropSize;\n if ($this->sizeSteps && $size > 0) {\n $minSize = $this->cropSize >> ($this->sizeSteps - 1);\n while ($size >= $minSize) {\n $path = $this->getImgBaseDir() . DIRECTORY_SEPARATOR . $size . DIRECTORY_SEPARATOR . $fileName;\n if (file_exists($path)) unlink($path);\n\n $size >>= 1;\n }\n }\n else {\n $path = $this->getImgBaseDir() . DIRECTORY_SEPARATOR . $fileName;\n if (file_exists($path)) unlink($path);\n }\n // Delete orignal if exists\n $path = $this->getImgBaseDir() . DIRECTORY_SEPARATOR . 'original' . DIRECTORY_SEPARATOR . $fileName;\n if (file_exists($path)) unlink($path);\n\n $owner->setAttribute($this->imgAttribute, null);\n }\n }", "public function massDestroy(Request $request)\n {\n if (!Gate::allows('file_delete')) {\n return abort(401);\n }\n if ($request->input('ids')) {\n $entries = File::whereIn('id', $request->input('ids'))->get();\n\n foreach ($entries as $entry) {\n $entry->deletePreservingMedia();\n }\n }\n }", "public function testMultipleDeletesAndRenames2() {\n $initial_dirs = ['renames', 'deleteme-dir'];\n $initial_files = [\n 'deleteme-file' => 'hello world',\n 'deleteme-file2' => 'hello world',\n 'deleteme-file3' => 'x',\n 'deleteme-dir/file' => 'hello world',\n 'changelog.1.2.4' => 'More better.',\n ];\n for($i = 1; $i <= 30; $i++) {\n $initial_files[\"renames/fileA$i\"] = $i;\n }\n\n $expected_dirs = ['renames', '/app'];\n $expected_files = [];\n for ($i = 1; $i <= 30; $i++) {\n $expected_files[\"renames/fileB$i\"] = $i;\n }\n $expected_files['changelog.1.2.5'] = 'More better.';\n\n $this->_testCpkgBatchApplication('multiple-deletes-renames2.zip', $initial_dirs, $expected_dirs, $initial_files, $expected_files);\n }", "public static function deleteFiles(...$records)\n {\n if (!Files::deleteAll(['record_id' => $records])) {\n throw new \\yii\\base\\Exception('Error while deleting');\n }\n }", "private function populateFileTable() {\n\n\t\tfor ($index = 0; $index < $this->numberOfFakeRecords; $index++) {\n\t\t\t$this->lastInsertedIdentifier = uniqid();\n\t\t\t$this->lastInsertedUid = $this->testingFramework->createRecord(\n\t\t\t\t'sys_file',\n\t\t\t\tarray(\n\t\t\t\t\t'identifier' => $this->lastInsertedIdentifier,\n\t\t\t\t\t'type' => $this->fakeFileType,\n\t\t\t\t\t'title' => $this->fakeTitle,\n\t\t\t\t\t'pid' => 0,\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\t}", "function Trigger_FileDelete1(&$tNG) {\n $deleteObj = new tNG_FileDelete($tNG);\n $deleteObj->setFolder(\"../../fotos/\");\n $deleteObj->setDbFieldName(\"foto2\");\n return $deleteObj->Execute();\n}", "public function executeBatchDelete(sfWebRequest $request)\n {\n $ids = $request->getParameter('ids');\n $q = Doctrine_Query::create()->from('Comment')->whereIn('id', $ids);\n foreach ($q->execute() as $comment) \n {\n $comment->getNode()->delete();\n $comment->delete();\n }\n }", "public function unit_delete(Request $request)\n {\n $user = Auth::user();\n $unit_files = File::where('unit_id', $request->unit_id)\n ->get();\n $user_unit_files = UserFile::where('user_id', $user->id)\n ->whereIn('file_id', $unit_files->pluck('id'))\n ->update(['downloaded' => false]);\n }", "public function bulkDestroy(BulkDestroyTest $request) : Response\n {\n DB::transaction(static function () use ($request) {\n collect($request->data['ids'])\n ->chunk(1000)\n ->each(static function ($bulkChunk) {\n Test::whereIn('id', $bulkChunk)->delete();\n\n // TODO your code goes here\n });\n });\n\n return response(['message' => trans('brackets/admin-ui::admin.operation.succeeded')]);\n }", "function Trigger_FileDelete2(&$tNG) {\n $deleteObj = new tNG_FileDelete($tNG);\n $deleteObj->setFolder(\"../../fotos/\");\n $deleteObj->setDbFieldName(\"foto3\");\n return $deleteObj->Execute();\n}", "public function testBatchDeleteAction()\n {\n // Anonymous access should throw an exception\n $this->dispatchUrI('/browse/delete', null, true);\n\n $usersFile = $this->loadData('User', 'default');\n $foldersFile = $this->loadData('Folder', 'default');\n $itemsFile = $this->loadData('Item', 'default');\n $userDao = $this->User->load($usersFile[0]->getKey());\n\n // Assert that we can handle empty id values\n $this->resetAll();\n $this->params['items'] = '-';\n $this->params['folders'] = '-';\n $this->dispatchUrI('/browse/delete', $userDao);\n $this->assertNotEmpty($this->getBody());\n $resp = json_decode($this->getBody());\n $this->assertNotEmpty($resp->success);\n $this->assertNotEmpty($resp->failure);\n $this->assertEmpty($resp->success->folders);\n $this->assertEmpty($resp->success->items);\n $this->assertEmpty($resp->failure->folders);\n $this->assertEmpty($resp->failure->items);\n\n // Assert that we cannot batch delete our private or public folder\n $this->resetAll();\n $this->params['items'] = '';\n $this->params['folders'] = $userDao->getPrivatefolderId().'-'.$userDao->getPublicfolderId().'-';\n $this->dispatchUrI('/browse/delete', $userDao);\n $this->assertNotEmpty($this->getBody());\n $resp = json_decode($this->getBody());\n $this->assertNotEmpty($resp->success);\n $this->assertNotEmpty($resp->failure);\n $this->assertEmpty($resp->success->folders);\n $this->assertEmpty($resp->success->items);\n $this->assertEquals(count($resp->failure->folders), 2);\n $this->assertEmpty($resp->failure->items);\n $this->assertEquals($resp->failure->folders[0], $userDao->getPrivatefolderId());\n $this->assertEquals($resp->failure->folders[1], $userDao->getPublicfolderId());\n\n // Assert that deleting a nonexistent item and folder returns success\n $this->resetAll();\n $this->params['items'] = '999875-';\n $this->params['folders'] = '787134-';\n $this->dispatchUrI('/browse/delete', $userDao);\n $this->assertNotEmpty($this->getBody());\n $resp = json_decode($this->getBody());\n $this->assertNotEmpty($resp->success);\n $this->assertNotEmpty($resp->failure);\n $this->assertEquals(count($resp->success->folders), 1);\n $this->assertEquals(count($resp->success->items), 1);\n $this->assertEmpty($resp->failure->folders);\n $this->assertEmpty($resp->failure->items);\n $this->assertEquals($resp->success->folders[0], '787134');\n $this->assertEquals($resp->success->items[0], '999875');\n\n // Assert that we can delete an item and folder we have permissions on\n $item = $this->Item->load($itemsFile[1]->getKey());\n $itemId = $item->getKey();\n $this->Itempolicyuser->createPolicy($userDao, $item, MIDAS_POLICY_ADMIN);\n $folder = $this->Folder->createFolder('DeleteableFolder', 'Description', $userDao->getPublicFolder());\n $folderId = $folder->getKey();\n $this->Folderpolicyuser->createPolicy($userDao, $folder, MIDAS_POLICY_ADMIN);\n\n $this->assertNotEquals($item, false);\n $this->resetAll();\n $this->params['items'] = $item->getKey().'-';\n $this->params['folders'] = $folder->getKey().'-';\n $this->dispatchUrI('/browse/delete', $userDao);\n $item = $this->Item->load($item->getKey());\n $folder = $this->Folder->load($folder->getKey());\n $this->assertEquals($item, false);\n $this->assertEquals($folder, false);\n $this->assertNotEmpty($this->getBody());\n $resp = json_decode($this->getBody());\n $this->assertNotEmpty($resp->success);\n $this->assertNotEmpty($resp->failure);\n $this->assertEquals(count($resp->success->folders), 1);\n $this->assertEquals(count($resp->success->items), 1);\n $this->assertEmpty($resp->failure->folders);\n $this->assertEmpty($resp->failure->items);\n $this->assertEquals($resp->success->folders[0], $folderId);\n $this->assertEquals($resp->success->items[0], $itemId);\n }", "public function actionBulkAction()\n {\n if (Yii::$app->request->post('action') == 'deleted') {\n foreach (Yii::$app->request->post('ids', []) as $id) {\n $this->findModel($id)->delete();\n }\n }\n }", "public function bulkDeleteAction(Request $request)\n {\n $ids = $request->getArray('ids');\n if(sizeof($ids) === 0)\n $this->forward('/admin', 'Ничего не выбрано');\n\n // get table name\n $body = $request->serverRequest->getQueryParams();\n $controller = !empty($body['controller'])?trim($body['controller']):'';\n\n // add `s` for model name\n $model = ucfirst($controller.'s');\n\n if(class_exists('Common\\Model\\\\'.$model)){\n $c = 'Common\\Model\\\\'.$model;\n $obj = new $c;\n }\n elseif(class_exists('Admin\\Model\\\\'.$model)){\n $c = 'Admin\\Model\\\\'.$model;\n $obj = new $c;\n }\n else{\n $obj = strtolower($model);\n }\n\n // get DB model\n $db = Db::getModel($obj);\n\n $errors = [];\n foreach ($ids as $id) {\n $row = $db->find($id);\n\n try {\n if(empty($row))\n throw new \\Exception('Запись уже удалена', 1);\n\n // remove also files related to DB model\n $folderPath = Helper::_cfg('path_web').'/img/'.$controller.'/'.$row['id'];\n if(file_exists($folderPath)){\n foreach (glob($folderPath.'/*.*', GLOB_ERR) as $i) {\n $this->_deleteImagesByPath($i);\n }\n }\n\n // delete rows in db\n $db->delete($row['id']);\n }\n catch (\\Exception $e) {\n $errors[] = $e->getMessage();\n }\n }\n\n $this->forward($_SERVER['HTTP_REFERER'], empty($errors)?[]:$errors, empty($errors)?Helper::_msg('ok'):[]);\n }", "public function bulkDestroy(BulkDestroyExample $request): Response\n {\n DB::transaction(static function () use ($request) {\n collect($request->data['ids'])\n ->chunk(1000)\n ->each(static function ($bulkChunk) {\n Example::whereIn('id', $bulkChunk)->delete();\n\n // TODO your code goes here\n });\n });\n\n return response(['message' => trans('brackets/admin-ui::admin.operation.succeeded')]);\n }", "function process_bulk_action() {\n global $wpdb;\n $table_name = $wpdb->prefix . 'custom_db_tbl'; // do not forget about tables prefix\n\n if ('delete' === $this->current_action()) {\n $ids = isset($_REQUEST['id']) ? $_REQUEST['id'] : array();\n if (is_array($ids))\n $ids = implode(',', $ids);\n\n if (!empty($ids)) {\n $wpdb->query(\"DELETE FROM $table_name WHERE id IN($ids)\");\n }\n }\n }" ]
[ "0.6459459", "0.6448438", "0.6289705", "0.60842115", "0.60029733", "0.5932177", "0.5906317", "0.58408815", "0.58218265", "0.5768144", "0.5692109", "0.56281734", "0.5593353", "0.5586979", "0.55861634", "0.55049306", "0.54858345", "0.547016", "0.54682904", "0.5415065", "0.5389556", "0.538851", "0.5385815", "0.5378785", "0.5366961", "0.5339551", "0.53217405", "0.53071237", "0.529708", "0.5285553" ]
0.72126275
0
Gets query for [[BookingClients]].
public function getBookingClients() { return $this->hasMany(BookingClient::className(), ['client_id' => 'id']); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getClients()\n {\n if(! request('q')) return [];\n\n $clients = Client::Search(request('q'))->get()->all();\n \n return $clients;\n \n \n }", "public function get_clients()\n {\n $sql = \"SELECT * FROM clients Client \";\n return $this->query($sql);\n }", "public function getBookings()\n {\n return $this->hasMany(Booking::className(), ['id' => 'booking_id'])->viaTable('booking_client', ['client_id' => 'id']);\n }", "public function get_clients() {\n\n return $this->make_request( 'clients' );\n\n }", "public function getClientes(){\r\n $query = \"\r\n select t.id_persona, t.nombrecompleto, t.numerodocumento, t.email\r\n from (\r\n SELECT \r\n p.id_persona,\r\n p.nombrecompleto,\r\n p.numerodocumento,\r\n p.email\r\n FROM mae_persona p\r\n WHERE p.estado <> '0' and p.id_empresa = 2 ) as t\r\n where (\r\n t.nombrecompleto LIKE CONCAT('%',:cliente,'%') or\r\n t.numerodocumento LIKE CONCAT('%',:cliente,'%') \r\n ); \";\r\n \r\n $parms = array(\r\n ':cliente' => trim($this->_xSearch),\r\n );\r\n $data = $this->queryAll($query,$parms);\r\n return $data;\r\n }", "public function getAllClients($searchText = null)\n {\n if ( $searchText)\n {\n $client = DB::select( DB::raw(\"SELECT clients.*,\n concat(users.firstname,' ',users.lastname) as username \n FROM clients \n INNER JOIN users ON clients.user_id = users.id\n WHERE ( clients.firstname LIKE :firstname\n or clients.lastname like :lastname )\n \"), \n [\n 'firstname'=> '%'.$searchText.'%', \n 'lastname'=> '%'.$searchText.'%', \n\n ]\n ); \n }\n else\n {\n //$client = DB::table(\"clients\")->get(); \n // Besides data from the \"clients\" table, also return client owner name. For that, we will use DB::Raw \n $client = DB::select( DB::raw(\"SELECT clients.*,\n concat(users.firstname,' ',users.lastname) as username \n FROM clients \n INNER JOIN users ON clients.user_id = users.id\")\n );\n }\n return $client;\n }", "function getClients($params = \"\")\n {\n $query = \"select Client.id as clientId, Client.name as clientName, email, value as server \" . \n\t\"from Client, ConfigClientAssoc where Client.id=ConfigClientAssoc.clientId and ConfigClientAssoc.name=\\\"bluecountserver\\\"\";\n \n return $this->get_config_array($query);\n }", "public function get_all_clients() {\n\t\t\t$request = $this->base_uri . '/clients?output=' . static::$output;\n\t\t\treturn $this->fetch( $request );\n\t\t}", "public function searchAllCliente() {\n $sql = \"SELECT \n cli_codigo as nit,\n cli_nombre_empresa as nombreEmpresa, \n cli_identificacion as identificacion, \n cli_nombre_comercial as nombreComercial, \n cli_direccion as direccion, \n cli_depto as depto, \n cli_ciudad as ciudad, \n cli_movil as movil, \n cli_email as email, \n cli_telefono as telefono, \n cli_descuento as descuento,\n 'Cliente' as tercero\n FROM cliente\";\n// die($sql);\n $stmt = $this->getEntityManager()\n ->getConnection()\n ->prepare($sql);\n $stmt->execute();\n $client = $stmt->fetchAll();\n return $client;\n }", "public function findClients() {\n $this->load->model('frontend\\Client');\n $connexion = BddConnexion::getInstance();\n $bdd = new ClientManager($connexion->handle());\n $clients = $bdd->getList();\n\n if (is_null($clients))\n $msgClient = \"Aucun client n'a été trouvé\";\n return $clients;\n }", "public function getClientList()\n {\n $db = Database::getInstance();\n $db->query(\"SELECT * FROM Client WHERE fkidSupplier = ?\", array($this->_id));\n\n return $db->resultsToJson();\n\n }", "public function getClients( $searchText = null)\n {\n if ( $searchText)\n {\n /* $client = DB::table(\"clients\")\n ->where(\"user_id\",\"=\",$this->id)\n ->where(function($query,$searchText) {\n $query->where('firstname','LIKE', '%'. $searchText .'%')\n ->orWhere('lastname','LIKE', '%'. $searchText .'%');\n })\n ->get(); \n */ \n \n $client = DB::select( DB::raw(\"SELECT clients.*,\n concat(users.firstname,' ',users.lastname) as username \n FROM clients \n INNER JOIN users ON clients.user_id = users.id\n WHERE user_id = :id \n AND ( clients.firstname LIKE :firstname\n or clients.lastname like :lastname )\n \"), \n [\n 'id'=> $this->id, \n 'firstname'=> '%'.$searchText.'%', \n 'lastname'=> '%'.$searchText.'%', \n \n ]\n );\n \n\n\n }\n else\n {\n $client = DB::select( DB::raw(\"SELECT clients.*,\n concat(users.firstname,' ',users.lastname) as username \n FROM clients \n INNER JOIN users ON clients.user_id = users.id\n WHERE user_id = :id \n \"),\n ['id'=> $this->id, ]\n );\n }\n \n \n return $client;\n }", "public function getAllActiveClients(){\n\t\t$db \t\t\t\t= \t\tZend_Db_Table::getDefaultAdapter();\n\t\t$where \t\t\t\t= \t\t$this->_db->quoteInto(\"status=?\",\"t\");\n\t\t$select \t\t\t= \t\t$db->select()\n\t\t\t\t\t\t\t\t\t->from(array('clt' => $this->_name), \"clt.*\")\n\t\t\t\t\t\t\t\t\t->joinLeft(array('ctry' => 'bal_countrycode'),\n\t\t\t\t\t\t\t\t\t\t'ctry.id = clt.country',\n\t\t\t\t\t\t\t\t\t\tarray(\"country\"=>\"ctry.country\"))\n\t\t\t\t\t\t\t\t\t->where($where)\n\t\t\t\t\t\t\t\t\t->order(\"clt.created_date desc\");\n \n\t\t$clientInfo \t\t= \t\t$db->fetchAll($select);\n return $clientInfo;\n\t}", "function get_all_client()\r\r\n {\r\r\n \t$query = $this->db->get();\r\r\n\r\r\n \treturn $query->result();\r\r\n }", "public function getClient()\n\t{\n\t\tif (is_null($this->mySQLResID))\n\t\t{\n\t\t\t$where = 'WHERE';\n\t\n\t\t\t$w = $this->statusWHERE;\n\t\n\t\t\tif (isset($w{1})) $or = 'OR';\n\n\t\t\tif (!empty($this->groupWHERE))\n\t\t\t\t$w .= \" $or \".$this->groupWHERE;\n\t\n\t\t\tif (isset($w{1})) $or = 'OR';\n\n\t\t\tif (!empty($this->searchWHERE))\n\t\t\t\t$w .= \" $or \".$this->searchWHERE;\n\n\t\t\tif (isset($w{1})) $or = 'OR';\n\n\t\t\t//Check if \"vmRunOnHost\" is set and add the statement\n\t\t\tif (!empty($this->vmRunOnHostWHERE))\n\t\t\t\t$w .= \" $or \".$this->vmRunOnHostWHERE;\n\t\n\t\t\t//disable the WHERE clause if there are no AND or OR filters\n\t\t\tif (empty($w))\n\t\t\t\t$where = '';\n\t\n\t\t\t//Add brackets to make the AND or OR filters work together with \"vmRunOnHost\" set \n\t\t\tif (!empty($w))\n\t\t\t\t$w = \"($w)\";\n\t\n\t\t\t$this->mySQLResID = db_query('SELECT clients.* FROM clients'.$this->groupFROM.\" $where $w ORDER BY \".$this->orderBy.' '.$this->directionORDER);\n\t\t}\n\t\t\n\t\tif ($this->mySQLResID !== false)\n\t\t\treturn(mysql_fetch_assoc($this->mySQLResID));\n\t\telse\n\t\t\treturn(false);\n\t}", "public function getClients(){\n $query = $this->db->query('SELECT * FROM client');\n return $query->result_array();\n }", "public function getClients() {\n $query = \"SELECT count(*) as results, Person.email, Person.fName, Person.lName, Client.address, Client.telephone\n FROM Person\n JOIN Client\n ON Person.email = Client.email\";\n $statement = self::$db->prepare($query);\n $statement->execute();\n $row = $statement->fetchAll();\n return $row;\n }", "public function getAllClient(){\n\t\t$db \t\t\t\t= \t\tZend_Db_Table::getDefaultAdapter();\n\t\t$select \t\t\t= \t\t$db->select()\n\t\t\t\t\t\t\t\t\t->from(array('clt' => $this->_name), \"clt.*\")\n\t\t\t\t\t\t\t\t\t->joinLeft(array('ctry' => 'bal_countrycode'),\n\t\t\t\t\t\t\t\t\t\t'ctry.id = clt.country',\n\t\t\t\t\t\t\t\t\t\tarray(\"country\"=>\"ctry.country\"))\n\t\t\t\t\t\t\t\t\t->order(\"clt.created_date desc\");\n\t\t$clientInfo \t\t= \t\t$db->fetchAll($select);\n return $clientInfo;\n\t}", "public function clients(Request $request)\n {\n $clients = [];\n $searchKey = $request->searchKey;\n $company = $request->company_id;\n $branch = $request->branch_id;\n \n if($searchKey != null && $searchKey != ''){\n $clients = Client::where([\n ['company_id', $company],\n ['branch_id', $branch],\n ['mobile', $searchKey],\n\n ])->orWhere([\n ['name' , 'like' , '%' . $searchKey . '%'],\n ])->get();\n \n }\n else{\n $clients = Client::where([\n ['company_id', $company],\n ['branch_id', $branch],\n ])->limit(50)->get();\n }\n\n return response()->json($clients, 200);\n }", "public function getClientList()\n {\n $db = Database::getInstance();\n $db->query(\"SELECT * FROM Client\");\n return $db->resultsToJson();\n\n }", "public function get_all_clients() {\n\t\tglobal $wpdb;\n\t\t$_ = $array;extract(EG()->tables);\n\t\t//$_est = $wpdb->get_row('SELECT * FROM `wp_qe_estimates` WHERE `qe_id` = '.$e_id, ARRAY_A);\n\t\t//$wpdb->prepare( \"SELECT * FROM {$wpdb->prefix}\".EG()->tables[estimates].\" WHERE qe_id = %d AND order_item_type = %s\", $this->id, $type ) \n\t\t$t= $wpdb->get_results( \n\t\t\t\t$wpdb->prepare( \"SELECT * FROM \".$_c_table,''),ARRAY_A \n\t\t\t);\n\t\t// Map query vars to their keys, or get them if endpoints are not supported\n\t\tforeach ((array) $t as $_k => $_e ) {\n\t\t\t$_e=self::parse_db_entry($_e);\n\t\t\t$_[]=$_e;\n\t\t}\n\t\treturn $_;\n\t}", "function getAllClientsBookings($clientID) {\n // make connection to db\n $conn = \n mysqli_connect(SERVER, USERNAME, PASSWORD, DATABASE)\n or die(\"Could not connect to database!\");\n\n $sqlQuery = \"SELECT * FROM blackpeakltd.booking where clientID=$clientID\";\n \n // Change character set to utf8\n mysqli_set_charset($conn,\"utf8\");\n \n // execute query\n $result = \n mysqli_query($conn, $query)\n or die(\"Could not execute query!\");\n\n // close db connection\n mysqli_close($conn);\n\n // return data resultset\n return $result;\n}", "public function all_clients()\r\n {\r\n $query = $this->db->query(\"SELECT * FROM personaempresa WHERE es_cliente_pers = 1\");\r\n return $query->result_array();\r\n }", "public function get_all_bookings()\r {\r $query = \"select `order_id`, `client_id`, `service_id`, `booking_status`, `order_date`, `booking_date_time` from `ct_bookings` GROUP BY `order_id`, `client_id`, `service_id`, `booking_status`, `order_date`, `booking_date_time` ORDER BY `order_id` \";\r $result=mysqli_query($this->conn,$query);\r return $result;\r }", "public function findAll(){\n $tableGateway = $this->tableGateway;\n $paginatorAdapter = new DbTableGateway($tableGateway);\n return new ClientsCollection($paginatorAdapter);\n }", "public function filterClients ()\n {\n $this->autoRender = false;\n if ($this->request->is('ajax'))\n {\n $param = $this->request->data('param');\n $query = $this->request->data('query');\n\n $result = array ();\n switch ($param)\n {\n case '':\n $max_per_page=$this->request->data('max_per_page');\n $current_page=$this->request->data('selected_page');\n $min = $max_per_page* ($current_page - 1);\n \n $result = $this->Client->find('all', array (\n 'limit' => $max_per_page,\n 'offset' => $min\n ));\n\n break;\n\n case 'id':\n\n $result = $this->Client->find('all', array ('conditions' => array (\"Client.id\" => $query)));\n break;\n\n case 'name':\n $result = $this->Client->find('all', array ('conditions' => array (\"Client.name LIKE\" => \"%$query%\")));\n\n break;\n\n case 'client_id':\n\n $result = $this->Client->find('all', array ('conditions' => array ('Client.client_id LIKE' => \"%$query%\")));\n \n break;\n\n case 'email':\n $result = $this->Client->find('all', array ('conditions' => array (\"Client.email LIKE\" => \"%$query%\")));\n\n break;\n }\n\n if (count($result) > 0)\n {\n echo json_encode(array ('result' => 'success', 'list' => $result));\n }\n else\n {\n echo json_encode(array ('result' => 'error', 'error' => 'No se encontraron mascotas con ese criterio'));\n }\n }\n }", "public function clientList ()\n {\n $clients_number = $this->Client->find('count');\n \n $current_page = 1;\n $max_per_page = 20;\n $total_pages = $this->getNumberOfPages($clients_number,$max_per_page);\n \n $clients = $this->getPaginatedList($max_per_page, $current_page);\n $this->set(array ('clients', 'total_pages', 'current_page', 'max_per_page'), array ($clients, $total_pages, $current_page, $max_per_page));\n \n }", "public function getClients()\r\n {\r\n return $this->clients;\r\n }", "public function getBookings() {\n $this->db->query(\"SELECT b.id AS b_id, \n booking_reference AS b_ref, \n booking_date AS b_date, \n c.first_name AS f_name, \n c.last_name AS s_name, \n c.address AS address, \n c.twitter_alias as twitter\n FROM bookings AS b\n LEFT JOIN customers AS c \n ON b.customerID = c.id\n \");\n\n return $this->db->getMultipleObjects();\n }", "public function getAllClients() {\n\n if(!get_magic_quotes_gpc()) {\n $this -> sanitizeInput();\n }\n\n $qry = \"SELECT userID, userName, userEmail, userType, userCompany, userPh, userActive FROM users WHERE userID NOT IN ( 1 )\";\n $rs = $this -> db -> query($qry);\n if($rs) {\n if($rs -> num_rows > 0) {\n $c = array();\n while($row = $rs -> fetch_assoc()) {\n $c[] = $row;\n }\n return $c;\n } else {\n //echo 'No clients found';\n return false;\n }\n }else{\n //echo 'Error executing query \"getAllClients\"';\n return false;\n }\n }" ]
[ "0.70532316", "0.6747808", "0.6648608", "0.653743", "0.6397769", "0.6361359", "0.6279128", "0.6255185", "0.62368643", "0.6221905", "0.62201834", "0.61995536", "0.61846477", "0.61182505", "0.6113604", "0.6098264", "0.60779977", "0.5969917", "0.5958819", "0.5911169", "0.5903808", "0.5901818", "0.58829355", "0.58821553", "0.58565736", "0.5839919", "0.58339775", "0.58293325", "0.5809834", "0.5798169" ]
0.74741125
0
Gets query for [[ExtraServiceSellings]].
public function getExtraServiceSellings() { return $this->hasMany(ExtraServiceSelling::className(), ['client_id' => 'id']); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getSearchByExtra(): array;", "public static function getSellers() {\n return parent::query(\"SELECT * FROM seller\"\n . \" INNER JOIN user ON user.id = seller.user_id\");\n }", "public function GetServicePriceById(){\n\t\tif($this->IsLoggedIn('business_admin')){\n\t\t\tif(isset($_GET) && !empty($_GET)){\n\t\t\t\t$where = array(\n\t\t\t\t\t'service_id' => $_GET['service_id'],\n\t\t\t\t\t'service_is_active' => TRUE\n\t\t\t\t);\n\t\t\t\t\n\t\t\t\t$data = $this->BusinessAdminModel->MultiWhereSelect('mss_services',$where);\n\t\t\t\theader(\"Content-type: application/json\");\n\t\t\t\tprint(json_encode($data['res_arr'], JSON_PRETTY_PRINT));\n\t\t\t\tdie;\n\t\t\t}\n\t\t}\n\t\telse{\n\t\t\t$this->LogoutUrl(base_url().\"BusinessAdmin/\");\n\t\t}\n\t}", "public static function select_by_service_and_consumer_key($service, $consumer_key, $as_array = TRUE, $limit = 1)\n\t{\n\t\t$where_parms = array\n\t\t(\n\t\t\t'service'\t\t=> $service,\n\t\t\t'consumer_key'\t=> $consumer_key,\n\t\t);\n\t\t$query_parms = array('limit' => $limit, 'where_parms' => $where_parms);\n\t\treturn MMI_Jelly::select(self::$_table_name, $as_array, $query_parms);\n\t}", "public function getIncludedExtrasPrice()\n {\n return $this->_getTotalPriceElement(substr(__FUNCTION__, 3));\n }", "public function query(ExtraTicket $model)\n {\n return $model->newQuery()->select(array_keys($this->getColumns()));\n }", "public function extra_services()\n {\n return $this->belongsToMany(\n 'App\\Extra_service',\n 'apartment_extra_service',\n 'apartment_id',\n 'extra_services_id'\n );\n }", "protected function additionalQuery() {\n return [];\n }", "public function getPriceService($condition = []) {\n $query = DB::table('t_price_service')\n ->where('t_price_service.del_flag', Constant::DELETE_FLAG_FALSE);\n if (count($condition) > 0) {\n $query = $query->where($condition);\n }\n \n return $query->get();\n \n\n }", "public static function getSellOffers($input) {\n\n\t\t//TODO: add pagination\n\n\t\tif (empty($input['amount'])) {\n\t\t\treturn false;\n\t\t}\n\n\t\t//check which currency we need to find\n\n\t\t$variants = Payment::getBy([\n\t\t\t\t\t'id'\t\t => $input['payment_id'],\n\t\t\t\t\t'_notfound'\t => true\n\t\t\t\t])->get('currencies', 'throw');\n\n\t\tif (empty($input['filter'])) {\n\t\t\tif (empty($_SESSION['choosen_filter_currency'])) {\n\t\t\t\t$filter = current($variants);\n\t\t\t} else {\n\t\t\t\tif (in_array($_SESSION['choosen_filter_currency'], $variants)) {\n\t\t\t\t\t$filter = $_SESSION['choosen_filter_currency'];\n\t\t\t\t} else {\n\t\t\t\t\tunset($_SESSION['choosen_filter_currency']);\n\t\t\t\t\t$filter = current($variants);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tunset($_SESSION['choosen_filter_currency']);\n\t\t\tif (in_array($input['filter'], $variants)) {\n\t\t\t\t$filter = $input['filter'];\n\t\t\t\t$_SESSION['choosen_filter_currency'] = $filter;\n\t\t\t} else {\n\t\t\t\t$filter = current($variants);\n\t\t\t}\n\t\t}\n\n\t\t$minimum = S::getBy([\n\t\t\t\t\t'key'\t\t => 'minimum',\n\t\t\t\t\t'_notfound'\t => [\n\t\t\t\t\t\t'key'\t => 'minimum',\n\t\t\t\t\t\t'val'\t => 1\n\t\t\t\t\t]\n\t\t\t\t])->d('val');\n\n\t\t$comission = S::getBy([\n\t\t\t\t\t'key'\t\t => 'comission',\n\t\t\t\t\t'_notfound'\t => [\n\t\t\t\t\t\t'key'\t => 'comission',\n\t\t\t\t\t\t'val'\t => 0.5\n\t\t\t\t\t]\n\t\t\t\t])->d('val') / 100;\n\n\t\t$page = empty($input['page'])\n\t\t\t\t? 0\n\t\t\t\t: $input['page'];\n\n\t\t$screen = S::getBy([\n\t\t\t\t\t'key'\t\t => 'records_on_the_page',\n\t\t\t\t\t'_notfound'\t => [\n\t\t\t\t\t\t'key'\t => 'records_on_the_page',\n\t\t\t\t\t\t'val'\t => 3\n\t\t\t\t\t]\n\t\t\t\t])->d('val');\n\n\t\t//get hidden_offers\n\t\t$hidden = Hide::getBy([\n\t\t\t\t\t'user_id'\t => $input['user_id'],\n\t\t\t\t\t'_return'\t => ['offer_id' => 'object']\n\t\t]);\n\n\t\t$hidden_ids = empty($hidden)\n\t\t\t\t? false\n\t\t\t\t: array_keys($hidden);\n\n\t\t//get total pages\n\n\t\t$db = Yii::app()->db->createCommand(\"\n\t\t\t\tSELECT count(*) as `count`\n\t\t\t\tFROM `escrow_offer` \n\t\t\t\tLEFT JOIN `escrow_userpaymentmethod` ON `escrow_offer`.`method_id` = `escrow_userpaymentmethod`.`id`\n\t\t\t\tLEFT JOIN `escrow_payment` ON `escrow_payment`.`id` = `escrow_userpaymentmethod`.`payment_id`\t\n\t\t\t\tWHERE `escrow_payment`.`id` = :payment_id\n\t\t\t\tAND ((`escrow_offer`.`amount` - GREATEST( :amount *\" . $comission . \",\" . $minimum . \"))/`escrow_offer`.`price`) > 0\n\t\t\t\tAND `escrow_userpaymentmethod`.`description` != ''\n\t\t\t\tAND `escrow_offer`.`currency` = :currency\n\t\t\t\tAND `escrow_offer`.`user_id` != :user_id\n\t\t\t\tAND `escrow_offer`.`status` = 'waiting' \" .\n\t\t\t\t\t\t(empty($hidden_ids)\n\t\t\t\t\t\t\t\t? ''\n\t\t\t\t\t\t\t\t: \"AND `escrow_offer`.`id` not in (\" . join(\",\", $hidden_ids) . \")\")\n\t\t\t\t)->query([\n\t\t\t'amount'\t => $input['amount'],\n\t\t\t'currency'\t => $filter,\n\t\t\t'payment_id' => $input['payment_id'],\n\t\t\t'user_id'\t => $input['user_id']\n\t\t]);\n\n\t\twhile (($row = $db->read()) != false) {\n\t\t\t$pages = ceil($row['count'] / $screen);\n\t\t}\n\n\t\t//throw new Exception($pages);\n\n\t\t$db = Yii::app()->db->createCommand(\"\n\t\t\t\tSELECT `escrow_offer`.`id` as `offer_id`,\n\t\t\t\t\t ((`escrow_offer`.`amount` - GREATEST( :amount *\" . $comission . \",\" . $minimum . \"))/`escrow_offer`.`price`) as `sum`\n\t\t\t\tFROM `escrow_offer` \n\t\t\t\tLEFT JOIN `escrow_userpaymentmethod` ON `escrow_offer`.`method_id` = `escrow_userpaymentmethod`.`id`\n\t\t\t\tLEFT JOIN `escrow_payment` ON `escrow_payment`.`id` = `escrow_userpaymentmethod`.`payment_id`\n\t\t\t\tWHERE `escrow_payment`.`id` = :payment_id\n\t\t\t\tAND ((`escrow_offer`.`amount` - GREATEST( :amount *\" . $comission . \",\" . $minimum . \"))/`escrow_offer`.`price`) > 0\n\t\t\t\tAND `escrow_userpaymentmethod`.`description` != ''\n\t\t\t\tAND `escrow_offer`.`currency` = :currency\n\t\t\t\tAND `escrow_offer`.`user_id` != :user_id\n\t\t\t\tAND `escrow_offer`.`status` = 'waiting' \" .\n\t\t\t\t\t\t(empty($hidden_ids)\n\t\t\t\t\t\t\t\t? ''\n\t\t\t\t\t\t\t\t: \"AND `escrow_offer`.`id` not in (\" . join(\",\", $hidden_ids) . \")\")\n\t\t\t\t\t\t. \" \n\t\t\t\tORDER BY `sum` DESC\n\t\t\t\tLIMIT \" . ($page * $screen) . \",\" . $screen * 1 . \"\n\t\t\t \")->query([\n\t\t\t'amount'\t => $input['amount'],\n\t\t\t'currency'\t => $filter,\n\t\t\t'payment_id' => $input['payment_id'],\n\t\t\t'user_id'\t => $input['user_id']\n\t\t]);\n\n\t\t$offers = [];\n\t\twhile (($row = $db->read()) != false) {\n\t\t\t$offers[] = Offer::getBy([\n\t\t\t\t\t\t'id' => $row['offer_id']\n\t\t\t]);\n\t\t}\n\n\t\tif (empty($offers)) {\n\t\t\treturn false;\n\t\t}\n\n\t\t$template = H::getTemplate('pages/balance/offer_line', [], true);\n\n\t\t$h = [];\n\n\t\tforeach ($offers as $offer) {\n\n\t\t\t$seller = User::getBy([\n\t\t\t\t\t\t'id' => $offer->get('user_id')\n\t\t\t]);\n\n\t\t\t$methods = $offer->get('methods');\n\n\t\t\t$ch = explode(':', $offer->get('changed'));\n\t\t\t$changed = join(' ', explode(' ', $ch[0] . ':' . $ch[1]));\n\n\t\t\t$amount = min($input['amount'] * 1, $offer->d('amount'));\n\n\t\t\t$mode = $offer->get('UserPaymentMethod')->get('mode');\n\n\t\t\t$auto_manual_string = T::out([\n\t\t\t\t\t\t$mode . '(in withdraw line)' => [\n\t\t\t\t\t\t\t'en' => $mode,\n\t\t\t\t\t\t\t'ru' => $mode\n\t\t\t\t\t\t]\n\t\t\t]);\n\n\t\t\t//$price = $offer->get('amountWithComission', $amount);\n\t\t\t//die($offer->get('f'));\n\n\t\t\t$price = $offer->d('roundPrice', $amount);\n\n\n\t\t\t$h[] = self::parse($template, [\n\t\t\t\t\t\t'title'\t\t\t\t => (empty($methods)\n\t\t\t\t\t\t\t\t? T::out([\n\t\t\t\t\t\t\t\t\t'unavailable_because_no_requisites' => [\n\t\t\t\t\t\t\t\t\t\t'en' => 'No payment details has been set, don`t show.',\n\t\t\t\t\t\t\t\t\t\t'ru' => 'Для заявки не заданы платежные реквизиты, не показывается.'\n\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t\t])\n\t\t\t\t\t\t\t\t: ''),\n\t\t\t\t\t\t'date'\t\t\t\t => $offer->getDate(),\n\t\t\t\t\t\t'seller_id'\t\t\t => $seller->get('id'),\n\t\t\t\t\t\t'seller'\t\t\t => $seller->get('name'),\n\t\t\t\t\t\t'color'\t\t\t\t => (empty($methods)\n\t\t\t\t\t\t\t\t? 'gray'\n\t\t\t\t\t\t\t\t: 'gold'),\n\t\t\t\t\t\t'mode'\t\t\t\t => $auto_manual_string,\n\t\t\t\t\t\t'price'\t\t\t\t => $offer->get('roundPriceWithCurrency', $amount),\n\t\t\t\t\t\t'amount'\t\t\t => $offer->d('amountWithComission', $amount),\n\t\t\t\t\t\t'comission_string'\t => $offer->getComissionString($amount),\n\t\t\t\t\t\t'pay'\t\t\t\t => $offer->get('payHTML', $amount),\n\t\t\t\t\t\t'method'\t\t\t => $offer->get('methodHTML'),\n\t\t\t\t\t\t'buyback'\t\t\t => $offer->d('buyback')\n\t\t\t\t\t\t\t\t? ''\n\t\t\t\t\t\t\t\t: 'display:none;',\n\t\t\t\t\t\t'payment_details' => nl2br($offer->get('UserPaymentMethod')->get('description')),\t\t\n\t\t\t\t\t\t'buyback_price'\t\t => $offer->fget('roundBuyBackPrice', $amount) . ' ' . $offer->get('currency') . '/$',\n\t\t\t\t\t\t'buttons'\t\t\t => H::getTemplate(\n\t\t\t\t\t\t\t\t'pages/dialogs/button', [\n\t\t\t\t\t\t\t'title'\t\t => T::out([\n\t\t\t\t\t\t\t\t'accept_offer' => [\n\t\t\t\t\t\t\t\t\t'en' => 'Accept the offer',\n\t\t\t\t\t\t\t\t\t'ru' => 'Принять предложение'\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t'class'\t\t => 'accept_offer',\n\t\t\t\t\t\t\t'id'\t\t => $offer->get('id'),\n\t\t\t\t\t\t\t'background' => 'mediumseagreen',\n\t\t\t\t\t\t\t'icon'\t\t => 'fa-check',\n\t\t\t\t\t\t\t'color'\t\t => 'white'\n\t\t\t\t\t\t\t\t], true) . H::getTemplate(\n\t\t\t\t\t\t\t\t'pages/dialogs/button', [\n\t\t\t\t\t\t\t'title'\t\t => T::out([\n\t\t\t\t\t\t\t\t'hide_offer' => [\n\t\t\t\t\t\t\t\t\t'en' => 'Hide the offer',\n\t\t\t\t\t\t\t\t\t'ru' => 'Скрыть предложение'\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t]),\n\t\t\t\t\t\t\t'class'\t\t => 'hide_offer',\n\t\t\t\t\t\t\t'id'\t\t => $offer->get('id'),\n\t\t\t\t\t\t\t'background' => 'tomato',\n\t\t\t\t\t\t\t'icon'\t\t => 'fa-gavel',\n\t\t\t\t\t\t\t'color'\t\t => 'white'\n\t\t\t\t\t\t\t\t], true),\n\t\t\t\t\t\t'offer_id'\t\t\t => $offer->get('id')\n\t\t\t\t\t\t\t], 'addDelimeters');\n\t\t}\n\n\t\tif (count($h) > 0) {\n\t\t\t$h[] = H::getTemplate('pages/balance/inline_help_offers', [], true) . H::getTemplate('pages/balance/inline_help_scheme', [], true);\n\t\t}\n\n\t\t$ph = [];\n\t\tfor ($i = 0; $i < $pages; $i++) {\n\t\t\t$ph[] = '<span class=\"goto_page selling_offers id_' . $i . ' ' . ($i == $page\n\t\t\t\t\t\t\t? 'current'\n\t\t\t\t\t\t\t: '') . '\">' . ($i + 1) . '</span>';\n\t\t}\n\n\t\t$h[] = '<div class=\"help ac\">' . join('', $ph) . '</div>';\n\n\t\t$selling = join('', $h);\n\n\t\treturn $selling;\n\t}", "public function get_addons_ofbookings($orderid){\r $query = \"select `ba`.*,`sa`.* from `ct_bookings` as `b`,`ct_booking_addons` as `ba`,`ct_services_addon` as `sa` where `b`.`order_id` = `ba`.`order_id` and `ba`.`addons_service_id` = `sa`.`id` and `b`.`order_id` = '\".$orderid.\"' GROUP BY `sa`.`id`, `sa`.`service_id`, `sa`.`addon_service_name`, `sa`.`base_price`, `sa`.`maxqty`, `sa`.`image`, `sa`.`multipleqty`, `sa`.`status`, `sa`.`position`, `sa`.`predefine_image`, `sa`.`predefine_image_title`, `ba`.`id`, `ba`.`order_id`, `ba`.`service_id`, `ba`.`addons_service_id`, `ba`.`addons_service_qty`, `ba`.`addons_service_rate`\";\r $result=mysqli_query($this->conn,$query);\r return $result;\r }", "public function filterByExtra($extra)\n {\n $this->filter[] = $this->field('extra').' = '.$this->quote($extra);\n return $this;\n }", "private function getExtraCosts()\n {\n $mapping = array(\n self::TOTAL_CLASS_BILLSAFE => ShopgateExternalOrderExtraCost::TYPE_PAYMENT,\n self::TOTAL_CLASS_COD_FEE => ShopgateExternalOrderExtraCost::TYPE_PAYMENT,\n self::TOTAL_CLASS_KLARNA_FEE => ShopgateExternalOrderExtraCost::TYPE_PAYMENT,\n self::TOTAL_CLASS_PAYMENT => ShopgateExternalOrderExtraCost::TYPE_PAYMENT,\n self::TOTAL_CLASS_SOFORT => ShopgateExternalOrderExtraCost::TYPE_PAYMENT,\n\n self::TOTAL_CLASS_PERSONAL_SHIPPING_FEE => ShopgateExternalOrderExtraCost::TYPE_SHIPPING,\n self::TOTAL_CLASS_SHIPPING => ShopgateExternalOrderExtraCost::TYPE_SHIPPING,\n\n self::TOTAL_CLASS_DISCOUNT => ShopgateExternalOrderExtraCost::TYPE_MISC,\n self::TOTAL_CLASS_LOW_ORDER_FEE => ShopgateExternalOrderExtraCost::TYPE_MISC,\n );\n\n $result = array();\n\n foreach ($this->order['totals'] as $total) {\n if (!isset($mapping[$total['class']])) {\n continue;\n }\n $cost = new ShopgateExternalOrderExtraCost();\n $cost->setAmount($total['value']);\n $cost->setType($mapping[$total['class']]);\n $cost->setLabel(trim($total['title'], ':'));\n $result[] = $cost;\n }\n\n return $result;\n }", "public function get_sql_where($extra='', array $params=null) {\n return $this->get_sql($extra, $params, 'where');\n }", "public function getAdditionalExtrasPrice()\n {\n return $this->_getTotalPriceElement(substr(__FUNCTION__, 3));\n }", "public function getSavingsTotal()\n {\n $itemsavings = $this->OrderItems()\n ->innerJoin('SilverShop_Order',\n '\"SilverShop_OrderAttribute\".\"OrderID\" = \"SilverShop_Order\".\"ID\"')\n ->where('\"SilverShop_Order\".\"Paid\" IS NOT NULL')\n ->sum('DiscountAmount');\n $modifiersavings = $this->DiscountModifiers()\n ->innerJoin('SilverShop_Order',\n '\"SilverShop_OrderAttribute\".\"OrderID\" = \"SilverShop_Order\".\"ID\"')\n ->where('\"SilverShop_Order\".\"Paid\" IS NOT NULL')\n ->sum('DiscountAmount');\n\n return $itemsavings + $modifiersavings;\n }", "public function getPriceOfferings()\n {\n return $this->price_offerings;\n }", "function get_price_discounts(){\n\t\treturn apply_filters('em_booking_get_price_discounts', $this->get_price_adjustments('discounts'), $this);\n\t}", "public static function getData($params=[],$limit = 10){\n $query = self::select('services_extra.*','services.name as service_name')->where('services_extra.is_deleted',0);\n $query->leftJoin('services','services.id','=','services_extra.service_id');\n\n if(!empty($params['name']))\n $query->where('services_extra.name','like','%'.$params['name'].'%');\n if(!empty($params['service_id']))\n $query->where('services_extra.service_id',$params['service_id']);\n\n $query->orderBy('services_extra.position');\n\n return $query->paginate($limit)->toArray();\n }", "public function getSeoArticleQuery()\n {\n return \"\n SELECT a.*, d.ordernumber, d.suppliernumber, s.name AS supplier, a.datum AS date,\n d.releasedate, a.changetime AS changed, ct.objectdata, ctf.objectdata AS objectdataFallback, at.attr1, at.attr2,\n at.attr3, at.attr4, at.attr5, at.attr6, at.attr7, at.attr8, at.attr9,\n at.attr10,at.attr11, at.attr12, at.attr13, at.attr14, at.attr15, at.attr16,\n at.attr17, at.attr18, at.attr19, at.attr20\n FROM s_articles a\n\n INNER JOIN s_articles_categories_ro ac\n ON ac.articleID = a.id\n AND ac.categoryID = ?\n INNER JOIN s_categories c\n ON c.id = ac.categoryID\n AND c.active = 1\n\n JOIN s_articles_details d\n ON d.id = a.main_detail_id\n\n LEFT JOIN s_articles_attributes at\n ON at.articledetailsID=d.id\n\n LEFT JOIN s_core_translations ct\n ON ct.objectkey=a.id\n AND ct.objectlanguage=?\n AND ct.objecttype='article'\n\n LEFT JOIN s_core_translations ctf\n ON ctf.objectkey=a.id\n AND ctf.objectlanguage=?\n AND ctf.objecttype='article'\n\n LEFT JOIN s_articles_supplier s\n ON s.id=a.supplierID\n\n WHERE a.active=1\n AND a.changetime > ?\n GROUP BY a.id\n ORDER BY a.changetime, a.id\n \";\n }", "public function hasSellPrice(){\n return $this->_has(10);\n }", "public function service_formula() {\n return $this->has_many('ServiceFormula', 'service_id')\n ->where('status', '=' , statusType::ACTIVE)->first(); //just got active price\n }", "public function getTotalServiceSales($whereConditions){\n \n $this->DB_ReadOnly->select_sum('nquantity');\n $this->DB_ReadOnly->select('SUM(nprice * nquantity) as nprice');\n $get = $this->DB_ReadOnly->get_where(MILL_SERVICE_SALES, $whereConditions);\n //pa($this->DB_ReadOnly->last_query(),'getTotalServiceSales');\n if($get===FALSE){\n $errors = $this->DB_ReadOnly->error();\n $errors['tablename'] = 'mill_service_sales';\n send_mail_database_error($errors);\n }\n return $get;\n \n }", "public function queryAll(){\n\t\treturn parent::queryAllBase('prod_rental');\n\t}", "public function crossSelling($limit = 5, $available_only = false, $exclude = array())\n {\n $cross_selling = $this->getData('cross_selling');\n // cross selling on (using similar setting for type)\n if ($cross_selling == 1 || $cross_selling === null) {\n $type = $this->getType();\n if ($type['cross_selling']) {\n $hash = $type['cross_selling'].($type['cross_selling'] == 'alsobought' ? '/'.$this->getId() : '');\n $collection = new shopProductsCollection($hash);\n if ($type['cross_selling'] != 'alsobought') {\n $collection->orderBy('RAND()');\n }\n } else {\n return array();\n }\n } elseif (!$cross_selling) {\n return array();\n } else {\n $collection = new shopProductsCollection('related/cross_selling/'.$this->getId());\n }\n if (!empty($collection)) {\n if ($available_only) {\n $collection->addWhere('(p.count > 0 OR p.count IS NULL)');\n }\n if ($exclude) {\n $ids = array();\n foreach ($exclude as $exclude_id) {\n $exclude_id = (int)$exclude_id;\n if ($exclude_id) {\n $ids[] = $exclude_id;\n }\n }\n if ($ids) {\n $collection->addWhere('p.id NOT IN ('.(implode(',', $ids)).')');\n }\n }\n $result = $collection->getProducts('*,skus_filtered', $limit);\n if (isset($result[$this->getId()])) {\n unset($result[$this->getId()]);\n }\n return $result;\n }\n return array();\n }", "public function servicePrices()\n {\n return $this->hasMany(ServicePrice::class);\n }", "public function servicePrice()\n {\n return $this->hasMany('App\\Models\\ServicePrice', 'service_id', 'id');\n }", "public function getProductsSQL($section,$skipPrice=false){\n $sql = ' FROM sr_shop_product AS p LEFT OUTER JOIN sr_shop_product AS m ON p.`id`=m.`parent_id`';\n $conditions = array();\n foreach($section['filterOptions'] as $optionId){\n $filter = $_REQUEST['filters'][$optionId];\n if(!is_array($filter) || !count($filter)) continue;\n foreach($filter as &$f){\n $f = \"'\".Helpers::mysql_escape($f).\"'\";\n }\n $tableAlias = 'o'.(int)$optionId;\n $sql .=\"INNER JOIN sr_shop_option_value AS \".$tableAlias.\"\n ON p.`id`=\".$tableAlias.\".`main_product_id` \";\n array_push($conditions,\n $tableAlias.'.option_id='.(int)$optionId.' AND '.$tableAlias.\".`value` in (\".implode(',',$filter).\")\"\n );\n }\n $conditions = count($conditions) ? ' AND '.implode(' AND ',$conditions) : '';\n $priceFilter = '';\n if(!$skipPrice){\n $price_from = (float)$_REQUEST['price_from'];\n $price_to = (float)$_REQUEST['price_to'];\n if($price_from>0){\n $priceFilter.=' AND ((m.sale_price>0 AND m.sale_price>='.$price_from.') ||\n (m.sale_price=0 AND m.price>0 AND m.price>='.$price_from.') ||\n (m.price IS NULL AND p.sale_price>0 AND p.sale_price>='.$price_from.') ||\n (m.price IS NULL AND p.sale_price=0 AND p.price>0 AND p.price>='.$price_from.'))';\n }\n if($price_to>0){\n $priceFilter.=' AND ((m.sale_price>0 AND m.sale_price<='.$price_to.') ||\n (m.sale_price=0 AND m.price>0 AND m.price<='.$price_to.') ||\n (m.price IS NULL AND p.sale_price>0 AND p.sale_price<='.$price_to.') ||\n (m.price IS NULL AND p.sale_price=0 AND p.price>0 AND p.price<='.$price_to.'))';\n }\n }\n $sql .= 'WHERE p.`parent_id`=0 and p.`active`=1 and p.`section_id` in ('.$section['cat_ids'].')'.$conditions.$priceFilter.' ORDER BY p.`instock` desc, p.`order` asc';\n return $sql;\n }", "public function getResults(){\n $parameters = array();\n $parameters = $this->getQuery();\n\n $this->rentOrSale = $this->buyOrSell();\n\n if($this->rentOrSale === 'For Sale'){\n $response = $this->DaftAPI->search_sale($parameters);\n $results = $response->results;\n return $results;\n }\n else{\n $response = $this->DaftAPI->search_rental($parameters);\n $results = $response->results;\n return $results;\n }\n }", "public function hasExtraShippingItem() {\n $cart_products = $this->getProducts($_SESSION['store_code']);\n foreach ($cart_products as $p) {\n if ($p['extra_shipping']) { return true; }\n } \n return false;\n }" ]
[ "0.5512235", "0.5492921", "0.52831644", "0.5283013", "0.5090188", "0.49771416", "0.4922179", "0.48791742", "0.48730502", "0.48706806", "0.48535356", "0.48415813", "0.48404455", "0.48196712", "0.47774744", "0.4776745", "0.47751313", "0.47696796", "0.47624207", "0.47512272", "0.47235426", "0.47230947", "0.46983147", "0.46869355", "0.46678975", "0.4667875", "0.46596485", "0.46567386", "0.4649517", "0.4644406" ]
0.7421127
0
Return a CdnClient instance
public function cdn() { return (new CdnClient($this->httpClient))->auth($this->token); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getCdn() {\n\t\tif (is_null($this->cdn)) {\n\t\t\t$this->cdn = false;\n\t\t\t$onePicaAvailable = Mage::getConfig()->getModuleConfig('OnePica_ImageCdn')->is('active', 'true');\n\t\t\tif ($onePicaAvailable) {\n\t\t\t\t$imageCdnHelper = Mage::Helper('imagecdn'); /* @var $imageCdnHelper OnePica_ImageCdn_Helper_Data */\n\t\t\t\t$cdn = $imageCdnHelper->factory(); /* @var $cdn OnePica_ImageCdn_Model_Adapter_Abstract */\n\t\t\t\tif ($cdn->useCdn()) {\n\t\t\t\t\t$this->cdn = $cdn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn $this->cdn;\n\t}", "public function getCdnAdapter()\n {\n if ($this->_cdnAdapter === null) {\n $bucket = Mage::getStoreConfig(self::XPATH_CONFIG_BUCKET_NAME);\n $accessKeyId = Mage::getStoreConfig(self::XPATH_CONFIG_ACCESS_KEY_ID);\n $secretAccessKey = Mage::getStoreConfig(self::XPATH_CONFIG_SECRET_ACCESS_KEY);\n $this->_cdnAdapter = new Aoe_AmazonCdn_Model_Cdn_Adapter($bucket, $accessKeyId, $secretAccessKey);\n }\n\n return $this->_cdnAdapter;\n }", "public function getCdn();", "public static function getClient()\n {\n if (!static::$client) {\n static::$client = new UrlOembedHttpClient();\n }\n\n return static::$client;\n }", "public function getCdnService()\n {\n return $this->cdnService;\n }", "public function getClient()\r\n {\r\n if (null === $this->client) {\r\n $this->client = new Client();\r\n $options = [\r\n 'adapter' => Curl::class,\r\n 'curloptions' => [CURLOPT_FOLLOWLOCATION => true],\r\n ];\r\n $this->client->setOptions($options);\r\n }\r\n return $this->client;\r\n }", "private function getClient()\n {\n if (!$this->client) {\n $this->client = new Client(['base_uri' => self::BASE_URI]);\n }\n\n return $this->client;\n }", "protected function getClient() {\n\t\tif(!$this->client) {\n\t\t\t$this->client = new Client([\n\t\t\t\tRequestOptions::VERIFY => self::$VERIFY_SSL,\n\t\t\t\tRequestOptions::TIMEOUT => $this->timeout,\n\t\t\t]);\n\t\t}\n\t\treturn $this->client;\n\t}", "public static function getClient()\n\t{\n\t\treturn (extension_loaded('curl')) ? new Curl : new Native;\n\t}", "public function getCDN()\n {\n if (!$this->cdn) {\n throw new Exceptions\\CdnNotAvailableError(\n \tLang::translate('CDN-enabled container is not available')\n );\n }\n \n return $this->cdn;\n }", "public static function get() {\n\t\tif (self::$client == null)\n\t\t\tself::$client = new Client();\n\t\treturn self::$client;\n\t}", "protected function getClient()\n {\n return new Client;\n }", "public static function client()\n {\n $client = new Client(['verify' => false]);\n return $client;\n }", "private function _getClient() {\n\n static $client = FALSE;\n\n if ($client instanceof Client) {\n return $client;\n }\n\n $client = Client::factory([\n 'url' => $this->getServer()->getUrl(),\n 'client_id' => 'example_id',\n 'client_secret' => 'example_secret',\n 'munchkin_id' => 'example_munchkin_id',\n ]);\n\n return $client;\n }", "protected function httpClient()\n {\n return $this->http ?: $this->http = new Client();\n }", "private function getClient() : Client\n {\n if (! ($this->client instanceof Client)) {\n $this->client = new Client([\n 'redirect'=>10,\n 'ssl_verify_peer' => false,\n 'ssl_verify_peer_name' => false,\n 'ssl_verify_host' => false\n ]);\n } \n \n return $this->client;\n }", "private function newClient(){\n return new Client(['base_uri' => self::url]);\n }", "private static function get_client()\n {\n // Use singleton-like pattern for client to avoid authenticating\n // multiple times\n if (is_null(self::$storage_client))\n {\n self::$storage_client = new StorageClient([\n \"projectId\" => \"void-link\"\n ]);\n }\n\n return self::$storage_client;\n }", "public function getClient()\n {\n if ($this->_client === null) {\n $settings = [\n 'region' => $this->region,\n 'version' => $this->version,\n 'credentials' => [\n 'key' => $this->key,\n 'secret' => $this->secret\n ]\n ];\n if ($this->enableV4) {\n $settings['signature'] = 'v4';\n }\n\n if ($this->endpoint) {\n $settings['endpoint'] = $this->endpoint;\n }\n\n $this->_client = new S3Client($settings);\n }\n return $this->_client;\n }", "protected function getClient()\n {\n return new Client([\n 'base_uri' => $this->baseUrl(), 'handler' => $this->createHandler()\n ]);\n }", "public function cdnRules()\n {\n return (new CdnRuleClient($this->httpClient))->auth($this->token);\n }", "private function getClient()\n {\n if(!$this->client){\n $this->client = new GuzzleHttpClient();\n }\n return $this->client;\n }", "protected function http()\n {\n return new Client;\n }", "protected function http()\n {\n if(!$this->client)\n $this->client = new Client($this->getHttpSettings());\n\n return $this->client;\n }", "public function http()\n {\n return $this->client;\n }", "protected function httpClient()\n {\n return new HttpClient();\n }", "protected function client()\n {\n return new S3Client([\n 'version' => 'latest',\n 'credentials' => [\n 'key' => $this->provider->meta['key'],\n 'secret' => $this->provider->meta['secret'],\n ],\n 'region' => $this->provider->meta['region'],\n ]);\n }", "public function getClient()\n\t{\n\t\tif ($this->_client === null) {\n\t\t\t$settings=[\n\t\t\t\t'region' => 'us-east-1',\n\t\t\t\t'version' => 'latest',\n\t\t\t\t'credentials' =>[\n\t\t\t\t\t'key' => $this->key,\n\t\t\t\t\t'secret' => $this->secret,\n\t\t\t\t]\n\t\t\t];\n\n\t\t\t/*if($this->enableV4)\n\t\t\t\t$settings['signature']='v4';*/\n\t\t\t\n\t\t\t$this->_client = new S3Client($settings);\n\t\t}\n\t\treturn $this->_client;\n\t}", "protected function _getInstanceOfClient()\n\t{\n\t\treturn minimee()->makeClient();\n\t}", "protected function getHttpClient()\n {\n if (null === $this->httpClient) {\n $options = [];\n if ($this->token) {\n $options['headers']['X-Consul-Token'] = $this->token;\n }\n $this->httpClient = new Client($options);\n }\n return $this->httpClient;\n }" ]
[ "0.7176685", "0.7007542", "0.69537616", "0.6909069", "0.68971545", "0.67442966", "0.6711678", "0.66141915", "0.65796393", "0.6556818", "0.65487134", "0.6521102", "0.6509682", "0.6428804", "0.64133006", "0.6346333", "0.63403594", "0.63377684", "0.63312596", "0.6312474", "0.6302291", "0.6279959", "0.6279505", "0.62694186", "0.6255192", "0.6243839", "0.62288827", "0.62262875", "0.61913466", "0.6148018" ]
0.8123408
1
Return a CdnRuleClient instance
public function cdnRules() { return (new CdnRuleClient($this->httpClient))->auth($this->token); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function cdn()\n {\n return (new CdnClient($this->httpClient))->auth($this->token);\n }", "public function cdn()\n {\n return (new CdnClient($this->httpClient))->auth($this->token);\n }", "public function getCdn() {\n\t\tif (is_null($this->cdn)) {\n\t\t\t$this->cdn = false;\n\t\t\t$onePicaAvailable = Mage::getConfig()->getModuleConfig('OnePica_ImageCdn')->is('active', 'true');\n\t\t\tif ($onePicaAvailable) {\n\t\t\t\t$imageCdnHelper = Mage::Helper('imagecdn'); /* @var $imageCdnHelper OnePica_ImageCdn_Helper_Data */\n\t\t\t\t$cdn = $imageCdnHelper->factory(); /* @var $cdn OnePica_ImageCdn_Model_Adapter_Abstract */\n\t\t\t\tif ($cdn->useCdn()) {\n\t\t\t\t\t$this->cdn = $cdn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn $this->cdn;\n\t}", "private function getClient() : Client\n {\n if (! ($this->client instanceof Client)) {\n $this->client = new Client([\n 'redirect'=>10,\n 'ssl_verify_peer' => false,\n 'ssl_verify_peer_name' => false,\n 'ssl_verify_host' => false\n ]);\n } \n \n return $this->client;\n }", "protected function getClient() {\n\t\tif(!$this->client) {\n\t\t\t$this->client = new Client([\n\t\t\t\tRequestOptions::VERIFY => self::$VERIFY_SSL,\n\t\t\t\tRequestOptions::TIMEOUT => $this->timeout,\n\t\t\t]);\n\t\t}\n\t\treturn $this->client;\n\t}", "public function getCdnService()\n {\n return $this->cdnService;\n }", "public function getCdn();", "public function getClient()\r\n {\r\n if (null === $this->client) {\r\n $this->client = new Client();\r\n $options = [\r\n 'adapter' => Curl::class,\r\n 'curloptions' => [CURLOPT_FOLLOWLOCATION => true],\r\n ];\r\n $this->client->setOptions($options);\r\n }\r\n return $this->client;\r\n }", "public function getCfeRuleFactory()\n\t{\n\t\treturn $this->cfe_rule_factory;\n\t}", "public static function getClient()\n {\n if (!static::$client) {\n static::$client = new UrlOembedHttpClient();\n }\n\n return static::$client;\n }", "public function getCdnAdapter()\n {\n if ($this->_cdnAdapter === null) {\n $bucket = Mage::getStoreConfig(self::XPATH_CONFIG_BUCKET_NAME);\n $accessKeyId = Mage::getStoreConfig(self::XPATH_CONFIG_ACCESS_KEY_ID);\n $secretAccessKey = Mage::getStoreConfig(self::XPATH_CONFIG_SECRET_ACCESS_KEY);\n $this->_cdnAdapter = new Aoe_AmazonCdn_Model_Cdn_Adapter($bucket, $accessKeyId, $secretAccessKey);\n }\n\n return $this->_cdnAdapter;\n }", "public function wafRules()\n {\n return (new WafRuleClient($this->httpClient))->auth($this->token);\n }", "protected function http()\n {\n return new Client;\n }", "public static function getHttpClient()\n {\n if (static::$httpClient &&\n static::$httpClient->getConfig('verify') === static::$verify_ssl\n ) {\n return static::$httpClient;\n }\n\n return new Client(['http_errors' => false, 'verify' => static::$verify_ssl]);\n }", "public function make()\n {\n $config = $this->getConfig();\n\n return $this->getClient($config);\n }", "private function getClient()\n {\n if (!$this->client) {\n $this->client = new Client(['base_uri' => self::BASE_URI]);\n }\n\n return $this->client;\n }", "protected function getClient()\n {\n return new Client;\n }", "private function _getClient() {\n\n static $client = FALSE;\n\n if ($client instanceof Client) {\n return $client;\n }\n\n $client = Client::factory([\n 'url' => $this->getServer()->getUrl(),\n 'client_id' => 'example_id',\n 'client_secret' => 'example_secret',\n 'munchkin_id' => 'example_munchkin_id',\n ]);\n\n return $client;\n }", "public static function client()\n {\n $client = new Client(['verify' => false]);\n return $client;\n }", "public function getCdnPolicy()\n {\n return $this->cdn_policy;\n }", "public function getCDN()\n {\n if (!$this->cdn) {\n throw new Exceptions\\CdnNotAvailableError(\n \tLang::translate('CDN-enabled container is not available')\n );\n }\n \n return $this->cdn;\n }", "public function getClient()\n\t{\n\t\tif ($this->_client === null) {\n\t\t\tif($this->enableProfiling) {\n\t\t\t\t$profileToken = 'bogo.yii.predis.APredisConnection.create()';\n\t\t\t\tYii::beginProfile($profileToken, 'bogo.yii.predis.APredisConnection');\n\t\t\t} else {\n\t\t\t\t$profileToken = null;\n\t\t\t}\n\n\t\t\t// Create instance\n\t\t\t$this->_client = new Predis\\Client($this->connectionParameters, $this->clientOptions);\n\n\t\t\t// Define commands\n\t\t\t$profile = $this->_client->getProfile();\n\t\t\t/* @var $profile Predis\\Profile\\ServerProfile */\n\n\t\t\t// Make sure defineCommands is an array\n\t\t\tif (empty($this->defineCommands)) {\n\t\t\t\t$this->defineCommands = array();\n\t\t\t}\n\n\t\t\tif (!isset($this->defineCommands['delete'])) {\n\t\t\t\t$this->defineCommands['delete'] = 'Predis\\Command\\KeyDelete';\n\t\t\t}\n\n\t\t\tforeach ($this->defineCommands as $alias=>$command) {\n\t\t\t\t$profile->defineCommand($alias, $command);\n\t\t\t}\n\n\t\t\tif ($profileToken) {\n\t\t\t\tYii::endProfile($profileToken, 'bogo.yii.predis.APredisConnection');\n\t\t\t}\n\t\t}\n\n\t\treturn $this->_client;\n\t}", "static public function getClient()\n {\n if (null === self::$client) {\n\n if (!class_exists('Predis\\Client')) {\n return self::$client = false;\n }\n\n $args = array();\n\n if (!empty($GLOBALS['REDIS_HOST'])) {\n $args['host'] = $GLOBALS['REDIS_HOST'];\n }\n if (!empty($GLOBALS['REDIS_PORT'])) {\n $args['port'] = $GLOBALS['REDIS_PORT'];\n }\n if (!empty($GLOBALS['REDIS_DB'])) {\n $args['database'] = $GLOBALS['REDIS_DB'];\n }\n if (!empty($GLOBALS['REDIS_PASS'])) {\n $args['password'] = $GLOBALS['REDIS_PASS'];\n }\n\n if (empty($info)) {\n self::$client = new \\Predis\\Client();\n } else {\n self::$client = new \\Predis\\Client($args);\n }\n }\n\n return self::$client;\n }", "protected function http()\n {\n if(!$this->client)\n $this->client = new Client($this->getHttpSettings());\n\n return $this->client;\n }", "public function getClient()\n {\n if (!$this->_client instanceof GearmanClient) {\n $this->_client = new GearmanClient();\n $this->_client->addServer($this->host, $this->port);\n // additional servers\n if (!empty($this->servers)) {\n $this->_client->addServers(implode(',', $this->servers));\n }\n }\n\n return $this->_client;\n }", "protected function _getInstanceOfClient()\n\t{\n\t\treturn minimee()->makeClient();\n\t}", "public static function get() {\n\t\tif (self::$client == null)\n\t\t\tself::$client = new Client();\n\t\treturn self::$client;\n\t}", "protected function httpClient()\n {\n return $this->http ?: $this->http = new Client();\n }", "public static function getClient($ua = null)\n\t{\n\t\tif (is_object(self::$client) && $ua == null)\n\t\t{\n\t\t\treturn self::$client;\n\t\t}\n\n\t\treturn (self::$client = new \\Joomla\\Application\\Web\\WebClient($ua));\n\t}", "protected function getClient()\n {\n return new Client([\n 'base_uri' => $this->baseUrl(), 'handler' => $this->createHandler()\n ]);\n }" ]
[ "0.64572763", "0.64572763", "0.61821735", "0.5890797", "0.5807784", "0.5720862", "0.56396943", "0.560671", "0.56021607", "0.55925894", "0.55462575", "0.5505976", "0.54542804", "0.54508114", "0.54430985", "0.5438882", "0.5433938", "0.5422259", "0.540071", "0.5370426", "0.530425", "0.5295625", "0.5280736", "0.5278002", "0.5274454", "0.5270932", "0.5267109", "0.5225338", "0.51860315", "0.51840985" ]
0.758382
0
Return a WafClient instance
public function waf() { return (new WafClient($this->httpClient))->auth($this->token); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function getApiaryClient()\n {\n $config = new TheConfig(\n '6cdf1b24',\n 1212,\n 'password',\n 'https://private-472c9-dataapi21.apiary-mock.com/',\n 'https://private-ddc40-gatezalozeniplatby.apiary-mock.com/'\n );\n return new TheClient($config);\n }", "protected function _getInstanceOfClient()\n\t{\n\t\treturn minimee()->makeClient();\n\t}", "public static function client()\n {\n $client = new Client(['verify' => false]);\n return $client;\n }", "private function _getClient() {\n\n static $client = FALSE;\n\n if ($client instanceof Client) {\n return $client;\n }\n\n $client = Client::factory([\n 'url' => $this->getServer()->getUrl(),\n 'client_id' => 'example_id',\n 'client_secret' => 'example_secret',\n 'munchkin_id' => 'example_munchkin_id',\n ]);\n\n return $client;\n }", "private function getClient()\n {\n if (!$this->client) {\n $this->client = new Client(['base_uri' => self::BASE_URI]);\n }\n\n return $this->client;\n }", "public static function get() {\n\t\tif (self::$client == null)\n\t\t\tself::$client = new Client();\n\t\treturn self::$client;\n\t}", "protected function getClient()\n {\n return new Client;\n }", "public function getClientInstance()\n\t{\n\t\treturn Client::instance($this->db);\n\t}", "public function make()\n {\n $config = $this->getConfig();\n\n return $this->getClient($config);\n }", "public function newClient()\n {\n $name = $this->getApiName();\n \n $options = $this->getOptions($name);\n \n return new Client($options);\n }", "private function get_client() {\n\t\treturn $this->client;\n\t}", "private function get_client() {\n\t\treturn $this->client;\n\t}", "public function client(): Client\n {\n return $this->client;\n }", "public static function setUpClient()\n {\n static::$client = static::createClient($options = [], $server = []);\n\n return static::$client;\n }", "public function getClient() {\n if (!$this->_client instanceof Client) {\n $this->_client = new Client();\n $options = [\n 'maxredirects' => 0,\n 'timeout' => 30\n ];\n $this->_client->setOptions($options);\n $this->_client->setHeaders([\n 'Authorization' => 'Bearer ' . $this->token,\n 'Content-Type' => 'application/json'\n ]);\n }\n\n return $this->_client;\n }", "protected function client()\n {\n return $this->client ?? new GuzzleClient([\n 'base_uri' => $this->baseUrl('/api/rest/'),\n 'http_errors' => false,\n 'headers' => [\n 'Accept' => 'application/json',\n 'Authorization' => $this->token,\n 'Content-Type' => 'application/json',\n ],\n ]);\n }", "private function getClient() : Client\n {\n if (! ($this->client instanceof Client)) {\n $this->client = new Client([\n 'redirect'=>10,\n 'ssl_verify_peer' => false,\n 'ssl_verify_peer_name' => false,\n 'ssl_verify_host' => false\n ]);\n } \n \n return $this->client;\n }", "private function newClient(){\n return new Client(['base_uri' => self::url]);\n }", "public function getClient()\n {\n Yii::setAlias('@Solarium', dirname(__DIR__) . '/vendors/solarium/library/Solarium');\n Yii::setAlias('@Symfony/Component/EventDispatcher', dirname(__DIR__) . '/vendors/solarium/vendor/symfony/event-dispatcher/');\n\n $config = array(\n 'endpoint' => array(\n 'localhost' => array(\n 'host' => $this->host,\n 'port' => $this->port,\n 'path' => $this->path,\n )\n )\n );\n $client = new \\Solarium\\Core\\Client\\Client($config);\n\n if ($this->username != \"\") {\n $endpoint = $client->getEndpoint();\n $endpoint->setAuthentication($this->username, $this->password);\n }\n\n return $client;\n }", "protected function getClient()\n {\n return new Client([\n 'base_uri' => $this->baseUrl(), 'handler' => $this->createHandler()\n ]);\n }", "private function getClient()\n {\n if(!$this->client){\n $this->client = new GuzzleHttpClient();\n }\n return $this->client;\n }", "public static function getClient(): Client\n {\n $handlerStack = HandlerStack::create();\n $handlerStack->push(\n RetryMiddlewareFactory::createRateLimitMiddleware(\n Delay::getConstantDelayFunction()\n )\n );\n\n $handlerStack->push(\n RetryMiddlewareFactory::createInternalErrorsMiddleware(\n Delay::getExponentialDelayFunction(2)\n )\n );\n\n return new Client(['handler' => $handlerStack]);\n }", "protected function getAppClient()\n\t{\n\t\tif (!isset($this->app_client))\n\t\t{\n\t\t\t$this->app_client = ECash::getFactory()->getWebServiceFactory()->getWebService('application');\n\t\t}\n\n\t\treturn $this->app_client;\n\t}", "public function buildClient();", "public function get_client()\n {\n return $this->_api->getClient();\n }", "public function client()\n {\n return $this->client;\n }", "public function client()\n {\n return $this->client;\n }", "private function client()\n {\n\n if( !isset($this->guzzleClient) ){\n $this->guzzleClient = new GuzzleClient();\n }\n\n if( $this->getToken() != null ){\n $this->guzzleClient->setToken( $this->getToken() );\n }\n\n return $this->guzzleClient;\n\n }", "public function getClient(): Client\n {\n // See if we’ve got the stuff to do the things\n $this->isConfigured = ! empty($this->settings->apiKey) &&\n ! empty($this->settings->site);\n\n if ( ! $this->isConfigured) {\n throw new Exception('Lever plugin not configured.');\n }\n\n if ($this->_client === null) {\n $this->_client = new Client([\n 'base_uri' => self::$apiBaseUrl,\n 'headers' => [\n 'Content-Type' => 'application/json; charset=utf-8',\n 'Accept' => 'application/json'\n ],\n 'verify' => false,\n 'debug' => false\n ]);\n }\n\n return $this->_client;\n }", "public function getClient()\n {\n if (!$this->_client instanceof GearmanClient) {\n $this->_client = new GearmanClient();\n $this->_client->addServer($this->host, $this->port);\n // additional servers\n if (!empty($this->servers)) {\n $this->_client->addServers(implode(',', $this->servers));\n }\n }\n\n return $this->_client;\n }" ]
[ "0.70449674", "0.7021984", "0.6937892", "0.6864916", "0.6773508", "0.67271525", "0.6710133", "0.6702181", "0.6644602", "0.6614671", "0.65919816", "0.65919816", "0.65884715", "0.65670687", "0.6534999", "0.65051574", "0.6503467", "0.6498499", "0.64798677", "0.64774776", "0.6363892", "0.63580734", "0.6328739", "0.631817", "0.63117737", "0.6309231", "0.6309231", "0.6307839", "0.6302991", "0.6273432" ]
0.8035713
1
Return a WafRuleClient instance
public function wafRules() { return (new WafRuleClient($this->httpClient))->auth($this->token); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function wafAdvancedRules()\n {\n return (new WafAdvancedRuleClient($this->httpClient))->auth($this->token);\n }", "public function wafRulesets()\n {\n return (new WafRulesetClient($this->httpClient))->auth($this->token);\n }", "public function waf()\n {\n return (new WafClient($this->httpClient))->auth($this->token);\n }", "public function waf()\n {\n return (new WafClient($this->httpClient))->auth($this->token);\n }", "public function getCfeRuleFactory()\n\t{\n\t\treturn $this->cfe_rule_factory;\n\t}", "private function getClient() : Client\n {\n if (! ($this->client instanceof Client)) {\n $this->client = new Client([\n 'redirect'=>10,\n 'ssl_verify_peer' => false,\n 'ssl_verify_peer_name' => false,\n 'ssl_verify_host' => false\n ]);\n } \n \n return $this->client;\n }", "protected function getApiaryClient()\n {\n $config = new TheConfig(\n '6cdf1b24',\n 1212,\n 'password',\n 'https://private-472c9-dataapi21.apiary-mock.com/',\n 'https://private-ddc40-gatezalozeniplatby.apiary-mock.com/'\n );\n return new TheClient($config);\n }", "public function make()\n {\n $config = $this->getConfig();\n\n return $this->getClient($config);\n }", "protected function _getInstanceOfClient()\n\t{\n\t\treturn minimee()->makeClient();\n\t}", "public static function getClient($ua = null)\n\t{\n\t\tif (is_object(self::$client) && $ua == null)\n\t\t{\n\t\t\treturn self::$client;\n\t\t}\n\n\t\treturn (self::$client = new \\Joomla\\Application\\Web\\WebClient($ua));\n\t}", "public function getClientInstance()\n\t{\n\t\treturn Client::instance($this->db);\n\t}", "public function getRuleResourceHelper()\n {\n if (!$this->_ruleResourceHelper) {\n $this->_ruleResourceHelper = Mage::getModel('rule/resource_rule_condition_sqlBuilder');\n }\n return $this->_ruleResourceHelper;\n }", "public function getRuleObject()\n {\n if (is_null($this->ruleObject)) {\n $this->ruleObject = new RuleObject();\n $this->ruleObject->setExpression($this->expression);\n $this->ruleObject->setJson($this->json);\n }\n return $this->ruleObject;\n }", "private function _getClient() {\n\n static $client = FALSE;\n\n if ($client instanceof Client) {\n return $client;\n }\n\n $client = Client::factory([\n 'url' => $this->getServer()->getUrl(),\n 'client_id' => 'example_id',\n 'client_secret' => 'example_secret',\n 'munchkin_id' => 'example_munchkin_id',\n ]);\n\n return $client;\n }", "public static function client()\n {\n $client = new Client(['verify' => false]);\n return $client;\n }", "protected function getClient() {\n\t\tif(!$this->client) {\n\t\t\t$this->client = new Client([\n\t\t\t\tRequestOptions::VERIFY => self::$VERIFY_SSL,\n\t\t\t\tRequestOptions::TIMEOUT => $this->timeout,\n\t\t\t]);\n\t\t}\n\t\treturn $this->client;\n\t}", "public function firewall() {\n return new Firewall($this->talker);\n }", "protected function getClient()\n {\n return new Client;\n }", "public function getSecondRule(): RuleInterface\n {\n return $this->secondRule;\n }", "public function getDefinition(): RuleDefinition\n {\n }", "public function create()\n\t{\n\t\treturn new BusinessClient();\n\t}", "public function getRule()\n {\n return $this->rule;\n }", "public function getWsFactory()\n {\n\n }", "public function setRule($rule) {\n $this->rule = $rule;\n return $this;\n }", "private function getClient()\n {\n if (!$this->client) {\n $this->client = new Client(['base_uri' => self::BASE_URI]);\n }\n\n return $this->client;\n }", "public function buildRules(RulesChecker $rules)\n {\n $rules->add($rules->existsIn(['client_id'], 'Clients'));\n\n return $rules;\n }", "public function getRule() {\n return $this->rule;\n }", "public function getRule() {\n return $this->rule;\n }", "public function client(): Client\n {\n return $this->client;\n }", "public function setRule($rule)\n {\n $this->rule = $rule;\n\n return $this;\n }" ]
[ "0.7049196", "0.6880008", "0.62286156", "0.62286156", "0.5920362", "0.5887774", "0.5666935", "0.560309", "0.5596378", "0.5497587", "0.5487434", "0.5482475", "0.5415037", "0.5392481", "0.5386437", "0.53559273", "0.5333207", "0.53291327", "0.5308782", "0.53078055", "0.52963644", "0.52956927", "0.5280049", "0.5272814", "0.5260798", "0.5255017", "0.524925", "0.524925", "0.5221309", "0.52138174" ]
0.7505198
0
Return a WafAdvancedRuleClient instance
public function wafAdvancedRules() { return (new WafAdvancedRuleClient($this->httpClient))->auth($this->token); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function wafRules()\n {\n return (new WafRuleClient($this->httpClient))->auth($this->token);\n }", "public function wafRulesets()\n {\n return (new WafRulesetClient($this->httpClient))->auth($this->token);\n }", "public function waf()\n {\n return (new WafClient($this->httpClient))->auth($this->token);\n }", "public function waf()\n {\n return (new WafClient($this->httpClient))->auth($this->token);\n }", "protected function getApiaryClient()\n {\n $config = new TheConfig(\n '6cdf1b24',\n 1212,\n 'password',\n 'https://private-472c9-dataapi21.apiary-mock.com/',\n 'https://private-ddc40-gatezalozeniplatby.apiary-mock.com/'\n );\n return new TheClient($config);\n }", "public function getRuleResourceHelper()\n {\n if (!$this->_ruleResourceHelper) {\n $this->_ruleResourceHelper = Mage::getModel('rule/resource_rule_condition_sqlBuilder');\n }\n return $this->_ruleResourceHelper;\n }", "private function getClient() : Client\n {\n if (! ($this->client instanceof Client)) {\n $this->client = new Client([\n 'redirect'=>10,\n 'ssl_verify_peer' => false,\n 'ssl_verify_peer_name' => false,\n 'ssl_verify_host' => false\n ]);\n } \n \n return $this->client;\n }", "public function getDSLRules(): ElasticDSLRulesInterface;", "public function getCfeRuleFactory()\n\t{\n\t\treturn $this->cfe_rule_factory;\n\t}", "public function getSecondRule(): RuleInterface\n {\n return $this->secondRule;\n }", "public function getRuleObject()\n {\n if (is_null($this->ruleObject)) {\n $this->ruleObject = new RuleObject();\n $this->ruleObject->setExpression($this->expression);\n $this->ruleObject->setJson($this->json);\n }\n return $this->ruleObject;\n }", "protected function _getInstanceOfClient()\n\t{\n\t\treturn minimee()->makeClient();\n\t}", "public function newClient()\n {\n $name = $this->getApiName();\n \n $options = $this->getOptions($name);\n \n return new Client($options);\n }", "public function getClient()\n {\n if (!$this->_client instanceof GearmanClient) {\n $this->_client = new GearmanClient();\n $this->_client->addServer($this->host, $this->port);\n // additional servers\n if (!empty($this->servers)) {\n $this->_client->addServers(implode(',', $this->servers));\n }\n }\n\n return $this->_client;\n }", "protected function getClient() {\n\t\tif(!$this->client) {\n\t\t\t$this->client = new Client([\n\t\t\t\tRequestOptions::VERIFY => self::$VERIFY_SSL,\n\t\t\t\tRequestOptions::TIMEOUT => $this->timeout,\n\t\t\t]);\n\t\t}\n\t\treturn $this->client;\n\t}", "protected function getWebClient() {\n if ($this->webClient === null) {\n $this->webClient = new WebToPay_WebClient();\n }\n return $this->webClient;\n }", "private function _getClient() {\n\n static $client = FALSE;\n\n if ($client instanceof Client) {\n return $client;\n }\n\n $client = Client::factory([\n 'url' => $this->getServer()->getUrl(),\n 'client_id' => 'example_id',\n 'client_secret' => 'example_secret',\n 'munchkin_id' => 'example_munchkin_id',\n ]);\n\n return $client;\n }", "static function enerMakeClient($forceNew=false) {\n if (!$forceNew && CCDRNusoap::$client != NULL) {\n return CCDRNusoap::$client;\n }\n\n //echo \"\\n\\n Making new client\\n\\n\";\n\n $endpoint = 'http://opa.myenergate.com/Svc/Energate.Core2.Reporting.Core2ReportService.svc?wsdl';\n\n $usecache = true;\n if ($usecache) {\n // directory for cache\n //$cache = new nusoap_wsdlcache('wsdl-cache', 60);\n $cache = new nusoap_wsdlcache(sys_get_temp_dir(), 3660);\n $wsdl = $cache->get($endpoint);\n if (is_null($wsdl)) {\n $wsdl = new wsdl($endpoint);\n $err = $wsdl->getError();\n if ($err) {\n echo '<h2>WSDL Constructor error (Expect - 404 Not Found)</h2><pre>' . $err . '</pre>';\n echo '<h2>Debug</h2><pre>' . htmlspecialchars($wsdl->getDebug(), ENT_QUOTES) . '</pre>';\n exit();\n }\n $cache->put($wsdl);\n } else {\n $wsdl->clearDebug();\n $wsdl->debug('Retrieved from cache: ' . sys_get_temp_dir());\n }\n $client = new nusoap_client($wsdl, 'wsdl');\n } else {\n // this works!\n $client = new nusoap_client($endpoint, 'wsdl');\n }\n $client->soap_defencoding = 'utf-8';\n\n\n // Check for an error\n $err = $client->getError();\n if ($err) {\n // Display the error\n return NULL;\n //echo '<h2>Constructor error</h2><pre>' . $err . '</pre>';\n // At this point, you know the call that follows will fail\n }\n // $client->setUseCurl($useCURL);\n //var_dump($client);\n\n if (CCDRNusoap::$cacheClient) {\n CCDRNusoap::$client = $client;\n }\n\n return $client;\n }", "protected function getClient()\n {\n return new Client;\n }", "public function getClientInstance()\n\t{\n\t\treturn Client::instance($this->db);\n\t}", "protected function http()\n {\n if(!$this->client)\n $this->client = new Client($this->getHttpSettings());\n\n return $this->client;\n }", "protected function http()\n {\n return new Client;\n }", "public static function getClient($ua = null)\n\t{\n\t\tif (is_object(self::$client) && $ua == null)\n\t\t{\n\t\t\treturn self::$client;\n\t\t}\n\n\t\treturn (self::$client = new \\Joomla\\Application\\Web\\WebClient($ua));\n\t}", "public function firewall() {\n return new Firewall($this->talker);\n }", "public function getClient(): Client\n {\n // See if we’ve got the stuff to do the things\n $this->isConfigured = ! empty($this->settings->apiKey) &&\n ! empty($this->settings->site);\n\n if ( ! $this->isConfigured) {\n throw new Exception('Lever plugin not configured.');\n }\n\n if ($this->_client === null) {\n $this->_client = new Client([\n 'base_uri' => self::$apiBaseUrl,\n 'headers' => [\n 'Content-Type' => 'application/json; charset=utf-8',\n 'Accept' => 'application/json'\n ],\n 'verify' => false,\n 'debug' => false\n ]);\n }\n\n return $this->_client;\n }", "public static function getClient()\n {\n if (!static::$client) {\n static::$client = new UrlOembedHttpClient();\n }\n\n return static::$client;\n }", "public function make()\n {\n $config = $this->getConfig();\n\n return $this->getClient($config);\n }", "public function build()\n\t{\n\t \n\t\t$soapClientFactory = new SoapClientFactory();\n\t\t$soapClient = $soapClientFactory->create($this->wsdl);\n\t\t\n\t\treturn new Client($soapClient);\n\t}", "public function cdnRules()\n {\n return (new CdnRuleClient($this->httpClient))->auth($this->token);\n }", "public function getSoapClient($wdsl) {\n if(empty($this->soapClients[$wdsl])) {\n $handle = curl_init();\n curl_setopt($handle, CURLOPT_URL, $wdsl);\n curl_setopt($handle, CURLOPT_RETURNTRANSFER, TRUE);\n curl_exec($handle);\n $httpCode = curl_getinfo($handle, CURLINFO_HTTP_CODE);\n if($httpCode != 200) {\n throw new Exception('SOAP Server has gone away.');\n }\n $this->soapClients[$wdsl] = new SoapClient($wdsl);\n }\n return $this->soapClients[$wdsl];\n }" ]
[ "0.6845166", "0.63651675", "0.55887234", "0.55887234", "0.5551342", "0.53915983", "0.5327119", "0.5240414", "0.50928426", "0.50402635", "0.5017103", "0.5012912", "0.5004654", "0.4973692", "0.4966157", "0.49399835", "0.49346486", "0.48990104", "0.48936397", "0.4885877", "0.48681432", "0.4863257", "0.4844176", "0.48437807", "0.48413718", "0.48149374", "0.4813595", "0.48105946", "0.48094812", "0.48013085" ]
0.8190539
0
Return a WafRulesetClient instance
public function wafRulesets() { return (new WafRulesetClient($this->httpClient))->auth($this->token); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function wafRules()\n {\n return (new WafRuleClient($this->httpClient))->auth($this->token);\n }", "public function wafAdvancedRules()\n {\n return (new WafAdvancedRuleClient($this->httpClient))->auth($this->token);\n }", "public function getRuleset() {\n return $this->ruleset;\n }", "public function setRuleset($ruleset) {\n $this->ruleset = $ruleset;\n return $this;\n }", "public function waf()\n {\n return (new WafClient($this->httpClient))->auth($this->token);\n }", "public function waf()\n {\n return (new WafClient($this->httpClient))->auth($this->token);\n }", "public function getRuleResourceHelper()\n {\n if (!$this->_ruleResourceHelper) {\n $this->_ruleResourceHelper = Mage::getModel('rule/resource_rule_condition_sqlBuilder');\n }\n return $this->_ruleResourceHelper;\n }", "public function getCfeRuleFactory()\n\t{\n\t\treturn $this->cfe_rule_factory;\n\t}", "public function make()\n {\n $config = $this->getConfig();\n\n return $this->getClient($config);\n }", "public function getClientInstance()\n\t{\n\t\treturn Client::instance($this->db);\n\t}", "private function getClient() : Client\n {\n if (! ($this->client instanceof Client)) {\n $this->client = new Client([\n 'redirect'=>10,\n 'ssl_verify_peer' => false,\n 'ssl_verify_peer_name' => false,\n 'ssl_verify_host' => false\n ]);\n } \n \n return $this->client;\n }", "public function getRuleset(){\n return $this->_ruleset->getAll();\n }", "protected function _getInstanceOfClient()\n\t{\n\t\treturn minimee()->makeClient();\n\t}", "private function _getClient() {\n\n static $client = FALSE;\n\n if ($client instanceof Client) {\n return $client;\n }\n\n $client = Client::factory([\n 'url' => $this->getServer()->getUrl(),\n 'client_id' => 'example_id',\n 'client_secret' => 'example_secret',\n 'munchkin_id' => 'example_munchkin_id',\n ]);\n\n return $client;\n }", "protected function getApiaryClient()\n {\n $config = new TheConfig(\n '6cdf1b24',\n 1212,\n 'password',\n 'https://private-472c9-dataapi21.apiary-mock.com/',\n 'https://private-ddc40-gatezalozeniplatby.apiary-mock.com/'\n );\n return new TheClient($config);\n }", "public function getClient()\n {\n if (!$this->_client instanceof GearmanClient) {\n $this->_client = new GearmanClient();\n $this->_client->addServer($this->host, $this->port);\n // additional servers\n if (!empty($this->servers)) {\n $this->_client->addServers(implode(',', $this->servers));\n }\n }\n\n return $this->_client;\n }", "protected function getClient()\n {\n return new Client;\n }", "private function getClient()\n {\n $endpointConfig = $this->urlParts;\n if (!isset($endpointConfig['path'])) {\n $endpointConfig['path'] = '/';\n }\n\n if (!str_ends_with($endpointConfig['path'], '/')) {\n $endpointConfig['path'] .= '/';\n }\n\n // for solarium >5 -> strip \"solr/\" from path if it exists\n $stripPath = 'solr/';\n if (strlen($endpointConfig['path']) > strlen($stripPath) &&\n str_ends_with($endpointConfig['path'], $stripPath)\n ) {\n $endpointConfig['path'] = substr(\n $endpointConfig['path'],\n 0,\n strlen($endpointConfig['path']) - strlen($stripPath)\n );\n }\n // find core name\n $classnameParts = explode('\\\\', $this->className);\n $endpointConfig['core'] = array_pop($classnameParts);\n\n $endpointConfig['timeout'] = 10000;\n $endpointConfig['key'] = 'local';\n\n $this->solrClient->addEndpoint($endpointConfig);\n $this->solrClient->setDefaultEndpoint($endpointConfig['key']);\n\n return $this->solrClient;\n }", "private function getClient()\n {\n if (!$this->client) {\n $this->client = new Client(['base_uri' => self::BASE_URI]);\n }\n\n return $this->client;\n }", "protected function http()\n {\n return new Client;\n }", "protected function http()\n {\n if(!$this->client)\n $this->client = new Client($this->getHttpSettings());\n\n return $this->client;\n }", "public function cdnRules()\n {\n return (new CdnRuleClient($this->httpClient))->auth($this->token);\n }", "public function getDSLRules(): ElasticDSLRulesInterface;", "public function client(): Client\n {\n return $this->client;\n }", "public static function getClient($ua = null)\n\t{\n\t\tif (is_object(self::$client) && $ua == null)\n\t\t{\n\t\t\treturn self::$client;\n\t\t}\n\n\t\treturn (self::$client = new \\Joomla\\Application\\Web\\WebClient($ua));\n\t}", "public static function get() {\n\t\tif (self::$client == null)\n\t\t\tself::$client = new Client();\n\t\treturn self::$client;\n\t}", "protected function getClient() {\n\t\tif(!$this->client) {\n\t\t\t$this->client = new Client([\n\t\t\t\tRequestOptions::VERIFY => self::$VERIFY_SSL,\n\t\t\t\tRequestOptions::TIMEOUT => $this->timeout,\n\t\t\t]);\n\t\t}\n\t\treturn $this->client;\n\t}", "public function getDefinition(): RuleDefinition\n {\n }", "public function getClient() {\n if (!$this->_client instanceof Client) {\n $this->_client = new Client();\n $options = [\n 'maxredirects' => 0,\n 'timeout' => 30\n ];\n $this->_client->setOptions($options);\n $this->_client->setHeaders([\n 'Authorization' => 'Bearer ' . $this->token,\n 'Content-Type' => 'application/json'\n ]);\n }\n\n return $this->_client;\n }", "public function create()\n\t{\n\t\treturn new BusinessClient();\n\t}" ]
[ "0.7209727", "0.68171775", "0.62210196", "0.60256344", "0.58887225", "0.58887225", "0.566897", "0.56611663", "0.56305236", "0.55058664", "0.5479916", "0.546478", "0.5436519", "0.54358506", "0.54070306", "0.5316662", "0.52852315", "0.5268185", "0.52607656", "0.5218465", "0.52073884", "0.51951045", "0.5184913", "0.51703906", "0.5168217", "0.5147337", "0.5125195", "0.51226187", "0.5122316", "0.5122277" ]
0.77578026
0
Return a DomainVerificationClient instance
public function domainVerification() { return (new DomainVerificationClient($this->httpClient))->auth($this->token); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static function client()\n {\n $client = new Client(['verify' => false]);\n return $client;\n }", "protected function getClient() {\n\t\tif(!$this->client) {\n\t\t\t$this->client = new Client([\n\t\t\t\tRequestOptions::VERIFY => self::$VERIFY_SSL,\n\t\t\t\tRequestOptions::TIMEOUT => $this->timeout,\n\t\t\t]);\n\t\t}\n\t\treturn $this->client;\n\t}", "protected function getClient()\n {\n return new Client;\n }", "public function create()\n\t{\n\t\treturn new BusinessClient();\n\t}", "private function getClient() : Client\n {\n if (! ($this->client instanceof Client)) {\n $this->client = new Client([\n 'redirect'=>10,\n 'ssl_verify_peer' => false,\n 'ssl_verify_peer_name' => false,\n 'ssl_verify_host' => false\n ]);\n } \n \n return $this->client;\n }", "private function _getClient() {\n\n static $client = FALSE;\n\n if ($client instanceof Client) {\n return $client;\n }\n\n $client = Client::factory([\n 'url' => $this->getServer()->getUrl(),\n 'client_id' => 'example_id',\n 'client_secret' => 'example_secret',\n 'munchkin_id' => 'example_munchkin_id',\n ]);\n\n return $client;\n }", "private function createClient(){\n\t\t$client = new \\GuzzleHttp\\Client([\n\t\t\t// Base URI is used with relative requests\n\t\t\t'base_uri' => $this->idpServer,\n\t\t\t// You can set any number of default request options.\n\t\t\t'headers' => [\n \t\t'User-Agent' => 'trustmaster/1.0',\n\t\t\t\t'Accept' => 'application/json',\n\t\t\t\t'Authorization'=> 'Bearer '.$this->accessToken\n\t\t\t],\n\t\t\t'connect_timeout' => 3.14,\n\t\t\t'timeout' => 3.14,\n\t\t\t'allow_redirects'=>[\n\t\t\t\t'protocols'=>['https']\t\n\t\t\t],\n\t\t\t'http_errors' => false\n\t\t]);\n\t\t\n\t\treturn $client;\n\t}", "public function getClientInstance()\n\t{\n\t\treturn Client::instance($this->db);\n\t}", "public function firstOrCreate(string $url, DomainVerifiable $domainVerifiable): DomainVerificationModel;", "protected function _createValidator()\n {\n $mock = $this->mock('Dhii\\Validation\\ValidatorInterface')\n ->validate()\n ->new();\n\n return $mock;\n }", "public static function getHttpClient()\n {\n if (static::$httpClient &&\n static::$httpClient->getConfig('verify') === static::$verify_ssl\n ) {\n return static::$httpClient;\n }\n\n return new Client(['http_errors' => false, 'verify' => static::$verify_ssl]);\n }", "private function getClient()\n {\n if (!$this->client) {\n $this->client = new Client(['base_uri' => self::BASE_URI]);\n }\n\n return $this->client;\n }", "public static function client()\n {\n return new PayPalHttpClient(self::environment());\n }", "public static function client()\n {\n return new PayPalHttpClient(self::environment());\n }", "public static function client()\n {\n return new PayPalHttpClient(self::environment());\n }", "protected function http()\n {\n return new Client;\n }", "public static function get() {\n\t\tif (self::$client == null)\n\t\t\tself::$client = new Client();\n\t\treturn self::$client;\n\t}", "public function domainProperties()\n {\n return (new DomainPropertiesClient($this->httpClient))->auth($this->token);\n }", "private function client()\n {\n\n if( !isset($this->guzzleClient) ){\n $this->guzzleClient = new GuzzleClient();\n }\n\n if( $this->getToken() != null ){\n $this->guzzleClient->setToken( $this->getToken() );\n }\n\n return $this->guzzleClient;\n\n }", "public function getClient(): Client\n {\n // See if we’ve got the stuff to do the things\n $this->isConfigured = ! empty($this->settings->apiKey) &&\n ! empty($this->settings->site);\n\n if ( ! $this->isConfigured) {\n throw new Exception('Lever plugin not configured.');\n }\n\n if ($this->_client === null) {\n $this->_client = new Client([\n 'base_uri' => self::$apiBaseUrl,\n 'headers' => [\n 'Content-Type' => 'application/json; charset=utf-8',\n 'Accept' => 'application/json'\n ],\n 'verify' => false,\n 'debug' => false\n ]);\n }\n\n return $this->_client;\n }", "public function getValidator()\n\t{\n\t\tglobal $dbhost, $dbname, $dbuser, $dbpass;\n\t\t$validator_path = dirname(__FILE__) . '/../../../oochecksums/validatenumber_' . strtolower($this->partnercode) . '.php';\n\t\tif(!file_exists($validator_path)) // Presumably invalid partner code\n\t\t{\n\t\t\treturn NULL;\n\t\t}\n\t\trequire_once $validator_path;\n\t\t$class_name = \"Checksums_{$this->partnercode}\";\n\t\treturn new $class_name;\n\t}", "protected function getClient()\n {\n return ClientProvider::getClient();\n }", "protected function _getInstanceOfClient()\n\t{\n\t\treturn minimee()->makeClient();\n\t}", "private function getClient()\n {\n if(!$this->client){\n $this->client = new GuzzleHttpClient();\n }\n return $this->client;\n }", "public function getVerifyClient()\n {\n return $this->getKey('VerifyClient');\n }", "private function guzzleClient(): GuzzleClient\n {\n if (is_null($this->guzzle_client)) {\n $this->guzzle_client = new GuzzleClient(array(\n 'verify' => false,\n ));\n }\n\n return $this->guzzle_client;\n }", "public function getTwilioClient(): TwilioClient\n {\n return $this->twilioClient;\n }", "protected function getValidatorInstance()\n {\n $factory = $this->container->make('Illuminate\\Validation\\Factory');\n\n if(method_exists($this, 'validator'))\n {\n return $this->container->call([$this, 'validator'], compact('factory'));\n }\n\n return $factory->make($this->json()->all(),\n $this->container->call([$this, 'rules']),\n $this->messages(),\n $this->attributes());\n }", "public function validateClient(callable $callback): static\n {\n $this->callbacks['validate'] = Closure::fromCallable($callback);\n\n return $this;\n }", "public function getValidator()\n\t{\n\t\tif (!is_object($this->_validator)) {\n\t\t\t$validatorClass = $this->xpdo->loadClass('validation.xPDOValidator', XPDO_CORE_PATH, true, true);\n\t\t\tif ($derivedClass = $this->getOption(xPDO::OPT_VALIDATOR_CLASS, null, '')) {\n\t\t\t\tif ($derivedClass = $this->xpdo->loadClass($derivedClass, '', false, true)) {\n\t\t\t\t\t$validatorClass = $derivedClass;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ($clientClass = $this->getOption('mlmsystem_handler_class_client_validator', null, '')) {\n\t\t\t\tif ($clientClass = $this->xpdo->loadClass($clientClass, $this->getOption('mlmsystem_core_path', null, MODX_CORE_PATH . 'components/mlmsystem/') . 'handlers/validations/', false, true)) {\n\t\t\t\t\t$validatorClass = $clientClass;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ($validatorClass) {\n\t\t\t\t$this->_validator = new $validatorClass($this);\n\t\t\t}\n\t\t}\n\t\treturn $this->_validator;\n\t}" ]
[ "0.6605079", "0.6273397", "0.6044058", "0.5828976", "0.58190715", "0.57932764", "0.57585424", "0.5749551", "0.5669449", "0.56364834", "0.56358784", "0.56262547", "0.5599727", "0.5599727", "0.5599727", "0.55926317", "0.5472648", "0.5435622", "0.54343635", "0.5420311", "0.5416398", "0.5413139", "0.5405333", "0.54050064", "0.53948146", "0.53842366", "0.53830177", "0.5379362", "0.53768426", "0.5372021" ]
0.81598675
1
Return the AclGeoIpClient instance
public function aclGeoIps() { return (new AclGeoIpClient($this->httpClient))->auth($this->token); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function getPointClient()\n {\n $user = config('ultra-helper.point_user');\n $password = config('ultra-helper.point_password');\n return Http::withBasicAuth($user, $password);\n }", "public function getGeoIp()\n {\n return $this->dataRepository->getGeoIp();\n }", "public static function buildGeoService() {\n\t\t$geoService = new GeoService(self::$apiKey, self::$secretKey);\n\t\treturn $geoService;\n\t}", "public static function get_instance() {\r\n\t\tif ( self::$instance === null ) {\r\n\t\t\tself::$instance = new Ga_Lib_Google_Api_Client();\r\n\t\t}\r\n\r\n\t\treturn self::$instance;\r\n\t}", "private function getClient()\n {\n if (!$this->client) {\n $this->client = new Client(['base_uri' => self::BASE_URI]);\n }\n\n return $this->client;\n }", "private function enableGeolocation() {\n\t\t$this->geolocation = true;\n\t\treturn $this;\n\t}", "public static function instance() {\n // if the instance of the google maps class has been created already,\n // return the instance\n if (!is_null(self::$instance)) {\n return self::$instance;\n }\n \n // create a new instance of the google maps class and return it\n return self::$instance = new \\Weblab\\GeoLookup();\n }", "protected function httpClient()\n {\n return $this->http ?: $this->http = new Client();\n }", "private function _client() {\n // Function to get the client IP address\n $ipAddress = '';\n if (getenv('HTTP_CLIENT_IP'))\n $ipAddress = getenv('HTTP_CLIENT_IP');\n else if(getenv('HTTP_X_FORWARDED_FOR'))\n $ipAddress = getenv('HTTP_X_FORWARDED_FOR');\n else if(getenv('HTTP_X_FORWARDED'))\n $ipAddress = getenv('HTTP_X_FORWARDED');\n else if(getenv('HTTP_FORWARDED_FOR'))\n $ipAddress = getenv('HTTP_FORWARDED_FOR');\n else if(getenv('HTTP_FORWARDED'))\n $ipAddress = getenv('HTTP_FORWARDED');\n else if(getenv('REMOTE_ADDR'))\n $ipAddress = getenv('REMOTE_ADDR');\n else\n $ipAddress = 'UNKNOWN';\n\n $host['ip'] = $ipAddress;\n $host['agent'] = $_SERVER['HTTP_USER_AGENT'];\n\n return $host;\n }", "protected function _getInstanceOfClient()\n\t{\n\t\treturn minimee()->makeClient();\n\t}", "protected function getClient() {\n\t\tif(!$this->client) {\n\t\t\t$this->client = new Client([\n\t\t\t\tRequestOptions::VERIFY => self::$VERIFY_SSL,\n\t\t\t\tRequestOptions::TIMEOUT => $this->timeout,\n\t\t\t]);\n\t\t}\n\t\treturn $this->client;\n\t}", "public function getGeo($userip)\n {\n $ipGeo = new IpGeoMock();\n $data = $ipGeo->fetchGeo($userip);\n return $data;\n }", "protected function client()\n {\n return $this->client ?? new GuzzleClient([\n 'base_uri' => $this->baseUrl('/api/rest/'),\n 'http_errors' => false,\n 'headers' => [\n 'Accept' => 'application/json',\n 'Authorization' => $this->token,\n 'Content-Type' => 'application/json',\n ],\n ]);\n }", "public static function get() {\n\t\tif (self::$client == null)\n\t\t\tself::$client = new Client();\n\t\treturn self::$client;\n\t}", "protected function getClient()\n {\n return new Client;\n }", "function get_oidc_client() {\n\tglobal $conf;\n\t$config = $conf['OIDC'];\n\t\n\t// Create OIDC client\n\t$oidc = new OpenIDConnectClient(\n\t\t$config['issuer_url'] ?? '',\n\t\t$config['client_id'] ?? '',\n\t\t$config['client_secret'] ?? ''\n\t);\n\n\t// Set verification bits\n\t$oidc->setVerifyHost($config['verify_host']);\n\t$oidc->setVerifyPeer($config['verify_peer']);\n\n\t// Set HTTP proxy\n\tif (!empty($config['proxy'])) {\n\t\t$oidc->setHttpProxy($config['proxy']);\n\t}\n\n\t// Set auth params\n\tif ($array = json_decode($config['authparam'], true) !== null) {\n\t\t$oidc->addAuthParam($array);\n\t}\n\n\t// Set scopes\n\t$oidc->addScope(explode(' ', $config['scope']));\n\n\treturn $oidc;\n}", "public function getOZClient()\n\t{\n\t\tif (!isset($this->_r_oz_client)) {\n\t\t\t$filters = [];\n\t\t\tif (!is_null($v = $this->getClientApiKey())) {\n\t\t\t\t$filters['client_api_key'] = $v;\n\t\t\t}\n\t\t\tif (empty($filters)) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\t$m = new OZClientsControllerRealR();\n\t\t\t$this->_r_oz_client = $m->getItem($filters);\n\t\t}\n\n\t\treturn $this->_r_oz_client;\n\t}", "public function newClient()\n {\n $name = $this->getApiName();\n \n $options = $this->getOptions($name);\n \n return new Client($options);\n }", "private function client()\n {\n\n if( !isset($this->guzzleClient) ){\n $this->guzzleClient = new GuzzleClient();\n }\n\n if( $this->getToken() != null ){\n $this->guzzleClient->setToken( $this->getToken() );\n }\n\n return $this->guzzleClient;\n\n }", "protected function http()\n {\n if(!$this->client)\n $this->client = new Client($this->getHttpSettings());\n\n return $this->client;\n }", "private function get_client() {\n\t\treturn $this->client;\n\t}", "private function get_client() {\n\t\treturn $this->client;\n\t}", "public function getGeoCoder() {\n $this->_geoCoder = new Pas_Service_Geo_Coder();\n return $this->_geoCoder;\n }", "private function createClient(){\n\t\t$client = new \\GuzzleHttp\\Client([\n\t\t\t// Base URI is used with relative requests\n\t\t\t'base_uri' => $this->idpServer,\n\t\t\t// You can set any number of default request options.\n\t\t\t'headers' => [\n \t\t'User-Agent' => 'trustmaster/1.0',\n\t\t\t\t'Accept' => 'application/json',\n\t\t\t\t'Authorization'=> 'Bearer '.$this->accessToken\n\t\t\t],\n\t\t\t'connect_timeout' => 3.14,\n\t\t\t'timeout' => 3.14,\n\t\t\t'allow_redirects'=>[\n\t\t\t\t'protocols'=>['https']\t\n\t\t\t],\n\t\t\t'http_errors' => false\n\t\t]);\n\t\t\n\t\treturn $client;\n\t}", "public function getClient()\r\n {\r\n if (null === $this->client) {\r\n $this->client = new Client();\r\n $options = [\r\n 'adapter' => Curl::class,\r\n 'curloptions' => [CURLOPT_FOLLOWLOCATION => true],\r\n ];\r\n $this->client->setOptions($options);\r\n }\r\n return $this->client;\r\n }", "private function getHttpClientConfig()\n {\n $config = [\n 'base_uri' => 'http://ip-api.com/',\n 'headers' => [\n 'User-Agent' => 'Laravel-GeoIP',\n ],\n 'query' => [\n 'fields' => 16895,\n ],\n ];\n\n // Using the Pro service\n if ($this->getOption('key')) {\n $config['base_uri'] = $this->isSecure() ? 'https://pro.ip-api.com/' : 'http://pro.ip-api.com/';\n $config['query']['key'] = $this->getOption('key');\n }\n\n return $config;\n }", "public function getClient()\n {\n Yii::setAlias('@Solarium', dirname(__DIR__) . '/vendors/solarium/library/Solarium');\n Yii::setAlias('@Symfony/Component/EventDispatcher', dirname(__DIR__) . '/vendors/solarium/vendor/symfony/event-dispatcher/');\n\n $config = array(\n 'endpoint' => array(\n 'localhost' => array(\n 'host' => $this->host,\n 'port' => $this->port,\n 'path' => $this->path,\n )\n )\n );\n $client = new \\Solarium\\Core\\Client\\Client($config);\n\n if ($this->username != \"\") {\n $endpoint = $client->getEndpoint();\n $endpoint->setAuthentication($this->username, $this->password);\n }\n\n return $client;\n }", "private function getClient()\n {\n if(!$this->client){\n $this->client = new GuzzleHttpClient();\n }\n return $this->client;\n }", "protected function getIpApiRepository($client)\n {\n return new IpApiRepository(\n $client,\n config('geolocation.services.'.IpApiRepository::NAME)['host']\n );\n }", "private function getClient()\n {\n $endpointConfig = $this->urlParts;\n if (!isset($endpointConfig['path'])) {\n $endpointConfig['path'] = '/';\n }\n\n if (!str_ends_with($endpointConfig['path'], '/')) {\n $endpointConfig['path'] .= '/';\n }\n\n // for solarium >5 -> strip \"solr/\" from path if it exists\n $stripPath = 'solr/';\n if (strlen($endpointConfig['path']) > strlen($stripPath) &&\n str_ends_with($endpointConfig['path'], $stripPath)\n ) {\n $endpointConfig['path'] = substr(\n $endpointConfig['path'],\n 0,\n strlen($endpointConfig['path']) - strlen($stripPath)\n );\n }\n // find core name\n $classnameParts = explode('\\\\', $this->className);\n $endpointConfig['core'] = array_pop($classnameParts);\n\n $endpointConfig['timeout'] = 10000;\n $endpointConfig['key'] = 'local';\n\n $this->solrClient->addEndpoint($endpointConfig);\n $this->solrClient->setDefaultEndpoint($endpointConfig['key']);\n\n return $this->solrClient;\n }" ]
[ "0.6136821", "0.6102477", "0.6004386", "0.58889073", "0.5852895", "0.57858014", "0.57713", "0.57650423", "0.57479185", "0.5743185", "0.5733162", "0.5715877", "0.57140976", "0.5712348", "0.57114214", "0.5697209", "0.56722975", "0.5667396", "0.5640641", "0.5640281", "0.5640167", "0.5640167", "0.5637962", "0.56256306", "0.5613596", "0.5605816", "0.55942374", "0.55928355", "0.55900735", "0.5556281" ]
0.78549814
0
Return the HstsClient instance
public function hsts() { return (new HstsClient($this->httpClient))->auth($this->token); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getClient()\n\t{\n\t\t$client = new \\HipChat\\HipChat($this->config['token']);\n\n\t\treturn $client;\n\t}", "public static function get() {\n\t\tif (self::$client == null)\n\t\t\tself::$client = new Client();\n\t\treturn self::$client;\n\t}", "public function getClient() {\n if (!$this->_client instanceof Client) {\n $this->_client = new Client();\n $options = [\n 'maxredirects' => 0,\n 'timeout' => 30\n ];\n $this->_client->setOptions($options);\n $this->_client->setHeaders([\n 'Authorization' => 'Bearer ' . $this->token,\n 'Content-Type' => 'application/json'\n ]);\n }\n\n return $this->_client;\n }", "private function _getClient() {\n\n static $client = FALSE;\n\n if ($client instanceof Client) {\n return $client;\n }\n\n $client = Client::factory([\n 'url' => $this->getServer()->getUrl(),\n 'client_id' => 'example_id',\n 'client_secret' => 'example_secret',\n 'munchkin_id' => 'example_munchkin_id',\n ]);\n\n return $client;\n }", "private function getClient()\n {\n if(!$this->client){\n $this->client = new GuzzleHttpClient();\n }\n return $this->client;\n }", "private function get_client() {\n\t\treturn $this->client;\n\t}", "private function get_client() {\n\t\treturn $this->client;\n\t}", "public function client(): HttpClient\n {\n return $this->client;\n }", "private function getClient()\n {\n if (!$this->client) {\n $this->client = new Client(['base_uri' => self::BASE_URI]);\n }\n\n return $this->client;\n }", "public function getClient(): OssClient\n {\n return $this->client;\n }", "protected function client()\n {\n return $this->client ?? new GuzzleClient([\n 'base_uri' => $this->baseUrl('/api/rest/'),\n 'http_errors' => false,\n 'headers' => [\n 'Accept' => 'application/json',\n 'Authorization' => $this->token,\n 'Content-Type' => 'application/json',\n ],\n ]);\n }", "private function client()\n {\n\n if( !isset($this->guzzleClient) ){\n $this->guzzleClient = new GuzzleClient();\n }\n\n if( $this->getToken() != null ){\n $this->guzzleClient->setToken( $this->getToken() );\n }\n\n return $this->guzzleClient;\n\n }", "protected function getClient()\n {\n return new Client;\n }", "protected function http()\n {\n if(!$this->client)\n $this->client = new Client($this->getHttpSettings());\n\n return $this->client;\n }", "public function get()\n {\n return $this->client;\n }", "protected function getClient()\n {\n return ClientProvider::getClient();\n }", "public function getHttpClient()\n {\n return $this->client;\n }", "public function getHttpClient(): ClientInterface\n\t{\n\t\tif( empty($this->httpClient) ){\n\t\t\t$this->httpClient = new Shuttle;\n\t\t}\n\n\t\treturn $this->httpClient;\n\t}", "public function client()\n {\n return $this->client;\n }", "public function client()\n {\n return $this->client;\n }", "public static function getClient()\n {\n if (!static::$client) {\n static::$client = new UrlOembedHttpClient();\n }\n\n return static::$client;\n }", "private function getClient() {\n return $this->client;\n }", "private function createClient(){\n\t\t$client = new \\GuzzleHttp\\Client([\n\t\t\t// Base URI is used with relative requests\n\t\t\t'base_uri' => $this->idpServer,\n\t\t\t// You can set any number of default request options.\n\t\t\t'headers' => [\n \t\t'User-Agent' => 'trustmaster/1.0',\n\t\t\t\t'Accept' => 'application/json',\n\t\t\t\t'Authorization'=> 'Bearer '.$this->accessToken\n\t\t\t],\n\t\t\t'connect_timeout' => 3.14,\n\t\t\t'timeout' => 3.14,\n\t\t\t'allow_redirects'=>[\n\t\t\t\t'protocols'=>['https']\t\n\t\t\t],\n\t\t\t'http_errors' => false\n\t\t]);\n\t\t\n\t\treturn $client;\n\t}", "public function http()\n {\n return $this->client;\n }", "private static function get_client()\n {\n // Use singleton-like pattern for client to avoid authenticating\n // multiple times\n if (is_null(self::$storage_client))\n {\n self::$storage_client = new StorageClient([\n \"projectId\" => \"void-link\"\n ]);\n }\n\n return self::$storage_client;\n }", "public function getClient() : \\GuzzleHttp\\ClientInterface\n {\n return $this->client;\n }", "protected function httpClient()\n {\n return $this->http ?: $this->http = new Client();\n }", "public function getClientInstance()\n\t{\n\t\treturn Client::instance($this->db);\n\t}", "protected function _getInstanceOfClient()\n\t{\n\t\treturn minimee()->makeClient();\n\t}", "public function getClient(): Client\n {\n // See if we’ve got the stuff to do the things\n $this->isConfigured = ! empty($this->settings->apiKey) &&\n ! empty($this->settings->site);\n\n if ( ! $this->isConfigured) {\n throw new Exception('Lever plugin not configured.');\n }\n\n if ($this->_client === null) {\n $this->_client = new Client([\n 'base_uri' => self::$apiBaseUrl,\n 'headers' => [\n 'Content-Type' => 'application/json; charset=utf-8',\n 'Accept' => 'application/json'\n ],\n 'verify' => false,\n 'debug' => false\n ]);\n }\n\n return $this->_client;\n }" ]
[ "0.69100475", "0.6883509", "0.6858639", "0.6843506", "0.6831668", "0.6809494", "0.6809494", "0.6731731", "0.66821706", "0.6671903", "0.66467214", "0.66368955", "0.6627279", "0.66066027", "0.65755713", "0.65739787", "0.6566135", "0.65493774", "0.6542671", "0.6542671", "0.65373707", "0.6514915", "0.65127873", "0.6504773", "0.6472065", "0.6467306", "0.6455776", "0.6448022", "0.644488", "0.64249533" ]
0.8108879
0
Return the DomainPropertiesClient instance
public function domainProperties() { return (new DomainPropertiesClient($this->httpClient))->auth($this->token); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getDomain()\n\t{\n\t\tif (is_null($this->domain))\n\t\t{\n\t\t\t// Lets pull the domain from the SHLdap object\n\t\t\t$this->getId(false);\n\t\t\t$this->domain = $this->client->domain;\n\t\t}\n\n\t\treturn parent::getDomain();\n\t}", "public function getDaDataClient(): Client\n {\n return $this->daDataClient;\n }", "public function getClientInstance()\n\t{\n\t\treturn Client::instance($this->db);\n\t}", "public static function get() {\n\t\tif (self::$client == null)\n\t\t\tself::$client = new Client();\n\t\treturn self::$client;\n\t}", "private function _getClient() {\n\n static $client = FALSE;\n\n if ($client instanceof Client) {\n return $client;\n }\n\n $client = Client::factory([\n 'url' => $this->getServer()->getUrl(),\n 'client_id' => 'example_id',\n 'client_secret' => 'example_secret',\n 'munchkin_id' => 'example_munchkin_id',\n ]);\n\n return $client;\n }", "protected function getClient()\n {\n return new Client;\n }", "private function getClient()\n {\n if (!$this->client) {\n $this->client = new Client(['base_uri' => self::BASE_URI]);\n }\n\n return $this->client;\n }", "public function get()\n {\n return $this->client;\n }", "public function getDomain();", "public function domainVerification()\n {\n return (new DomainVerificationClient($this->httpClient))->auth($this->token);\n }", "public function domainVerification()\n {\n return (new DomainVerificationClient($this->httpClient))->auth($this->token);\n }", "function getDomain() {\n return $this->domain;\n }", "public function getClient()\n\t{\n\t\tif ($this->_client === null) {\n\t\t\tif($this->enableProfiling) {\n\t\t\t\t$profileToken = 'bogo.yii.predis.APredisConnection.create()';\n\t\t\t\tYii::beginProfile($profileToken, 'bogo.yii.predis.APredisConnection');\n\t\t\t} else {\n\t\t\t\t$profileToken = null;\n\t\t\t}\n\n\t\t\t// Create instance\n\t\t\t$this->_client = new Predis\\Client($this->connectionParameters, $this->clientOptions);\n\n\t\t\t// Define commands\n\t\t\t$profile = $this->_client->getProfile();\n\t\t\t/* @var $profile Predis\\Profile\\ServerProfile */\n\n\t\t\t// Make sure defineCommands is an array\n\t\t\tif (empty($this->defineCommands)) {\n\t\t\t\t$this->defineCommands = array();\n\t\t\t}\n\n\t\t\tif (!isset($this->defineCommands['delete'])) {\n\t\t\t\t$this->defineCommands['delete'] = 'Predis\\Command\\KeyDelete';\n\t\t\t}\n\n\t\t\tforeach ($this->defineCommands as $alias=>$command) {\n\t\t\t\t$profile->defineCommand($alias, $command);\n\t\t\t}\n\n\t\t\tif ($profileToken) {\n\t\t\t\tYii::endProfile($profileToken, 'bogo.yii.predis.APredisConnection');\n\t\t\t}\n\t\t}\n\n\t\treturn $this->_client;\n\t}", "private function get_client() {\n\t\treturn $this->client;\n\t}", "private function get_client() {\n\t\treturn $this->client;\n\t}", "public static function getClient()\n {\n if (!static::$client) {\n static::$client = new UrlOembedHttpClient();\n }\n\n return static::$client;\n }", "function getDomain()\n {\n return $this->domain;\n }", "private static function get_client()\n {\n // Use singleton-like pattern for client to avoid authenticating\n // multiple times\n if (is_null(self::$storage_client))\n {\n self::$storage_client = new StorageClient([\n \"projectId\" => \"void-link\"\n ]);\n }\n\n return self::$storage_client;\n }", "private function getDomain()\n {\n return $this->getConfig('domain');\n }", "protected function getClient() {\n\t\tif(!$this->client) {\n\t\t\t$this->client = new Client([\n\t\t\t\tRequestOptions::VERIFY => self::$VERIFY_SSL,\n\t\t\t\tRequestOptions::TIMEOUT => $this->timeout,\n\t\t\t]);\n\t\t}\n\t\treturn $this->client;\n\t}", "private function getInstanceAdminClient()\n {\n //@codeCoverageIgnoreStart\n if ($this->instanceAdminClient) {\n return $this->instanceAdminClient;\n }\n //@codeCoverageIgnoreEnd\n $this->instanceAdminClient = $this->constructGapic(InstanceAdminClient::class, $this->grpcConfig);\n\n return $this->instanceAdminClient;\n }", "public function client(): Client\n {\n return $this->client;\n }", "private function getDomain()\n\t{\n\t\treturn $this->domain;\n\t}", "public function getClient(): object\n {\n return $this->_client;\n }", "public function getDomain() {\n return $this->_domain;\n }", "private function getClient() : Client\n {\n if (! ($this->client instanceof Client)) {\n $this->client = new Client([\n 'redirect'=>10,\n 'ssl_verify_peer' => false,\n 'ssl_verify_peer_name' => false,\n 'ssl_verify_host' => false\n ]);\n } \n \n return $this->client;\n }", "protected function getClient()\n {\n return new Client([\n 'base_uri' => $this->baseUrl(), 'handler' => $this->createHandler()\n ]);\n }", "protected function getClient()\n {\n return ClientProvider::getClient();\n }", "public function getClientSettings ()\n {\n if (!isset($this->clientSettings))\n {\n $clientSettingsService = new ClientSettingsService();\n $this->clientSettings = $clientSettingsService->getClientSettings($this->id, $this->dealerId);\n }\n\n return $this->clientSettings;\n }", "public function getClient()\n {\n return Client::get()->filter(['Identifier' => $this->getIdentifier()])->first();\n }" ]
[ "0.6544697", "0.5958612", "0.593669", "0.58624023", "0.5860608", "0.58488774", "0.5831079", "0.5830178", "0.5695802", "0.568659", "0.568659", "0.56579936", "0.5655391", "0.5647239", "0.5647239", "0.56453973", "0.5640138", "0.56346667", "0.5620955", "0.56072485", "0.5578911", "0.5556975", "0.5556403", "0.55486566", "0.5537407", "0.5535995", "0.5507266", "0.55049616", "0.55013275", "0.5487793" ]
0.81282824
0
Return a WafLogClient instance
public function wafLogs() { return (new WafLogClient($this->httpClient))->auth($this->token); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function wafLogMatches()\n {\n return (new WafLogMatchClient($this->httpClient))->auth($this->token);\n }", "public static function get_wc_logger() {\n\t\tif ( self::is_wc_3_0() ) {\n\t\t\treturn wc_get_logger();\n\t\t} else {\n\t\t\treturn new \\WC_Logger();\n\t\t}\n\t}", "public function waf()\n {\n return (new WafClient($this->httpClient))->auth($this->token);\n }", "public function waf()\n {\n return (new WafClient($this->httpClient))->auth($this->token);\n }", "public static function getInstance()\n {\n if (!self::$instance)\n {\n self::$instance = new log;\n }\n return self::$instance;\n }", "public static function buildLogService() {\n\t\t$logService = new LogService(self::$apiKey, self::$secretKey);\n\t\treturn $logService;\n\t}", "private function createHttpClient($logFilename = \"api.log\") {\r\n if (false) {\r\n $stack = \\GuzzleHttp\\HandlerStack::create();\r\n $formattingDefault = [];\r\n $logger = (new \\Monolog\\Logger(\"mygeotab-php\"))->pushHandler(\r\n new \\Monolog\\Handler\\RotatingFileHandler($logFilename)\r\n );\r\n // Example:\r\n // [\r\n // '{method} {uri} HTTP/{version} {req_body}',\r\n // 'RESPONSE: {code} - {res_body}',\r\n // ]\r\n\r\n foreach ($messageFormats as $messageFormat) {\r\n $stack->unshift(\\GuzzleHttp\\Middleware::log($logger, new \\GuzzleHttp\\MessageFormatter($messageFormat)));\r\n }\r\n }\r\n\r\n return new Client(isset($stack) ? ['handler' => $stack] : []);\r\n }", "protected function getLogger()\n {\n return new DbPatch_Core_Log();\n }", "public static function instance(): Log\n {\n if (static::$_instance === NULL) {\n // Create a new instance\n static::$_instance = new self;\n\n // Write the logs at shutdown\n register_shutdown_function([static::$_instance, 'write']);\n }\n\n return static::$_instance;\n }", "protected static function wc_logger() {\n\t\tif(empty(self::$_logger)) {\n\t\t\tglobal $woocommerce;\n\n\t\t\tself::$_logger = new \\WC_Logger();\n\t\t}\n\n\t\treturn self::$_logger;\n\t}", "public function getLogBuilder()\n {\n if (!is_object($this->_logBuilder)) {\n $this->_logBuilder = Yii::createObject($this->_logBuilder);\n }\n return $this->_logBuilder;\n }", "public static function getInstance ( ) {\n\t\treturn Zend_Registry::get('Log');\n\t}", "protected function createLogDriver()\n\t{\n\t\treturn new LogTransport($this->app->make('Psr\\Log\\LoggerInterface'));\n\t}", "public static function getLogger()\n {\n if (null === self::$logger) {\n return new \\Zotapay\\Log\\DefaultLogger(self::getLogThreshold());\n }\n\n return self::$logger;\n }", "public function get_logger(): Logger {\n return $this->logger;\n }", "public function messageLog()\n {\n if ( isset($this->messageLog) && is_object($this->messageLog) ) {\n return $this->messageLog;\n }\n $this->messageLog = new \\Triliant\\Service\\MessageLog($this->config());\n return $this->messageLog;\n }", "protected function getLoggerInstance() {\n if (is_null($this->logger)) {\n $this->logger = Logger::getLogger('leave.undeleteCustomerAction');\n }\n\n return($this->logger);\n }", "protected function getLoggerService()\n {\n $this->services['logger'] = $instance = new \\Symfony\\Bridge\\Monolog\\Logger('app');\n\n $instance->pushProcessor(${($_ = isset($this->services['debug.log_processor']) ? $this->services['debug.log_processor'] : $this->getDebug_LogProcessorService()) && false ?: '_'});\n $instance->useMicrosecondTimestamps(true);\n $instance->pushHandler(${($_ = isset($this->services['monolog.handler.server_log']) ? $this->services['monolog.handler.server_log'] : $this->get('monolog.handler.server_log')) && false ?: '_'});\n $instance->pushHandler(${($_ = isset($this->services['monolog.handler.console']) ? $this->services['monolog.handler.console'] : $this->get('monolog.handler.console')) && false ?: '_'});\n $instance->pushHandler(${($_ = isset($this->services['monolog.handler.main']) ? $this->services['monolog.handler.main'] : $this->get('monolog.handler.main')) && false ?: '_'});\n\n return $instance;\n }", "public static function logger()\n {\n if (!isset(self::$logger)) {\n self::$logger = new DTLog();\n }\n return self::$logger;\n }", "protected function logger()\n {\n return $this->getService('logger');\n }", "protected function _getInstanceOfClient()\n\t{\n\t\treturn minimee()->makeClient();\n\t}", "protected function getMonolog_LoggerService()\n {\n $this->privates['monolog.logger'] = $instance = new \\Symfony\\Bridge\\Monolog\\Logger('app');\n\n $instance->pushProcessor(($this->privates['debug.log_processor'] ?? $this->getDebug_LogProcessorService()));\n $instance->useMicrosecondTimestamps(true);\n $instance->pushHandler(($this->privates['monolog.handler.console'] ?? $this->privates['monolog.handler.console'] = new \\Symfony\\Bridge\\Monolog\\Handler\\ConsoleHandler(NULL, true, array())));\n $instance->pushHandler(($this->privates['monolog.handler.main'] ?? $this->getMonolog_Handler_MainService()));\n\n return $instance;\n }", "public function getLogger()\n {\n $cache = &$this->messages;\n $callback = function($level, $message) use (&$cache) {\n $cache[] = \"$level $message\";\n };\n\n $logger = new Logger($callback);\n return $logger;\n }", "public function getLogger()\n {\n return $this->serviceLocator->get('PixelDomain\\Log\\Logger');\n }", "public function logger() {\n\t\tif (!$this->logger) {\n\t\t\t$this->logger = new Logger();\n\t\t}\n\t\treturn $this->logger;\n\t}", "public function log()\n {\n return $this;\n }", "public function getLogger() : Logger {\n return $this->logger;\n }", "public function getLoggerInstance();", "public function getDeviceLog()\n {\n $result = $this->client->GetDeviceLog();\n if ($this->errorHandling($result, 'Could not get device log from FRITZ!Box')) {\n return;\n }\n\n return $result;\n }", "function logger_instance($name = null)\n {\n if ($name instanceof LoggerInterface) {\n return $name;\n }\n\n return Log::getLog($name);\n }" ]
[ "0.6916469", "0.65085906", "0.63818735", "0.63818735", "0.63007176", "0.6239631", "0.6230871", "0.62131137", "0.6081657", "0.6045741", "0.6020492", "0.5959439", "0.59420085", "0.5935982", "0.5846779", "0.57961327", "0.5752156", "0.5729289", "0.5723204", "0.5714988", "0.5708031", "0.56969243", "0.5664319", "0.5648091", "0.5631993", "0.56150854", "0.5611868", "0.5601775", "0.55974364", "0.5576804" ]
0.7749382
0
Return a WafLogMatchClient instance
public function wafLogMatches() { return (new WafLogMatchClient($this->httpClient))->auth($this->token); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function wafLogs()\n {\n return (new WafLogClient($this->httpClient))->auth($this->token);\n }", "public function waf()\n {\n return (new WafClient($this->httpClient))->auth($this->token);\n }", "public function waf()\n {\n return (new WafClient($this->httpClient))->auth($this->token);\n }", "public static function get_wc_logger() {\n\t\tif ( self::is_wc_3_0() ) {\n\t\t\treturn wc_get_logger();\n\t\t} else {\n\t\t\treturn new \\WC_Logger();\n\t\t}\n\t}", "public static function getInstance()\n {\n if (!self::$instance)\n {\n self::$instance = new log;\n }\n return self::$instance;\n }", "protected function getLogger()\n {\n return new DbPatch_Core_Log();\n }", "private function createHttpClient($logFilename = \"api.log\") {\r\n if (false) {\r\n $stack = \\GuzzleHttp\\HandlerStack::create();\r\n $formattingDefault = [];\r\n $logger = (new \\Monolog\\Logger(\"mygeotab-php\"))->pushHandler(\r\n new \\Monolog\\Handler\\RotatingFileHandler($logFilename)\r\n );\r\n // Example:\r\n // [\r\n // '{method} {uri} HTTP/{version} {req_body}',\r\n // 'RESPONSE: {code} - {res_body}',\r\n // ]\r\n\r\n foreach ($messageFormats as $messageFormat) {\r\n $stack->unshift(\\GuzzleHttp\\Middleware::log($logger, new \\GuzzleHttp\\MessageFormatter($messageFormat)));\r\n }\r\n }\r\n\r\n return new Client(isset($stack) ? ['handler' => $stack] : []);\r\n }", "public static function buildLogService() {\n\t\t$logService = new LogService(self::$apiKey, self::$secretKey);\n\t\treturn $logService;\n\t}", "public static function getInstance()\n {\n $routes = Yii::app()->log->routes; // CMap obj\n foreach ($routes as $route) {\n if ($route instanceof static) {\n return $route;\n }\n }\n $route = new static();\n $route->init();\n $routes['phpDebugConsole'] = $route;\n Yii::app()->log->routes = $routes;\n return $route;\n }", "public static function getLogger()\n {\n if (null === self::$logger) {\n return new \\Zotapay\\Log\\DefaultLogger(self::getLogThreshold());\n }\n\n return self::$logger;\n }", "public static function instance(): Log\n {\n if (static::$_instance === NULL) {\n // Create a new instance\n static::$_instance = new self;\n\n // Write the logs at shutdown\n register_shutdown_function([static::$_instance, 'write']);\n }\n\n return static::$_instance;\n }", "protected function _getInstanceOfClient()\n\t{\n\t\treturn minimee()->makeClient();\n\t}", "protected function createLogDriver()\n\t{\n\t\treturn new LogTransport($this->app->make('Psr\\Log\\LoggerInterface'));\n\t}", "public static function getInstance ( ) {\n\t\treturn Zend_Registry::get('Log');\n\t}", "public function getLogBuilder()\n {\n if (!is_object($this->_logBuilder)) {\n $this->_logBuilder = Yii::createObject($this->_logBuilder);\n }\n return $this->_logBuilder;\n }", "public function get_logger(): Logger {\n return $this->logger;\n }", "public function accessLogs()\n {\n return (new AccessLogClient($this->httpClient))->auth($this->token);\n }", "protected function getMonolog_LoggerService()\n {\n $this->privates['monolog.logger'] = $instance = new \\Symfony\\Bridge\\Monolog\\Logger('app');\n\n $instance->pushProcessor(($this->privates['debug.log_processor'] ?? $this->getDebug_LogProcessorService()));\n $instance->useMicrosecondTimestamps(true);\n $instance->pushHandler(($this->privates['monolog.handler.console'] ?? $this->privates['monolog.handler.console'] = new \\Symfony\\Bridge\\Monolog\\Handler\\ConsoleHandler(NULL, true, array())));\n $instance->pushHandler(($this->privates['monolog.handler.main'] ?? $this->getMonolog_Handler_MainService()));\n\n return $instance;\n }", "public function getLogger()\n {\n $cache = &$this->messages;\n $callback = function($level, $message) use (&$cache) {\n $cache[] = \"$level $message\";\n };\n\n $logger = new Logger($callback);\n return $logger;\n }", "public function log($log): self\n {\n $this->log = $log;\n return $this;\n }", "protected function getLoggerService()\n {\n $this->services['logger'] = $instance = new \\Symfony\\Bridge\\Monolog\\Logger('app');\n\n $instance->pushProcessor(${($_ = isset($this->services['debug.log_processor']) ? $this->services['debug.log_processor'] : $this->getDebug_LogProcessorService()) && false ?: '_'});\n $instance->useMicrosecondTimestamps(true);\n $instance->pushHandler(${($_ = isset($this->services['monolog.handler.server_log']) ? $this->services['monolog.handler.server_log'] : $this->get('monolog.handler.server_log')) && false ?: '_'});\n $instance->pushHandler(${($_ = isset($this->services['monolog.handler.console']) ? $this->services['monolog.handler.console'] : $this->get('monolog.handler.console')) && false ?: '_'});\n $instance->pushHandler(${($_ = isset($this->services['monolog.handler.main']) ? $this->services['monolog.handler.main'] : $this->get('monolog.handler.main')) && false ?: '_'});\n\n return $instance;\n }", "public function wafRules()\n {\n return (new WafRuleClient($this->httpClient))->auth($this->token);\n }", "protected function getApiaryClient()\n {\n $config = new TheConfig(\n '6cdf1b24',\n 1212,\n 'password',\n 'https://private-472c9-dataapi21.apiary-mock.com/',\n 'https://private-ddc40-gatezalozeniplatby.apiary-mock.com/'\n );\n return new TheClient($config);\n }", "protected function getLoggerInstance() {\n if (is_null($this->logger)) {\n $this->logger = Logger::getLogger('leave.undeleteCustomerAction');\n }\n\n return($this->logger);\n }", "protected static function wc_logger() {\n\t\tif(empty(self::$_logger)) {\n\t\t\tglobal $woocommerce;\n\n\t\t\tself::$_logger = new \\WC_Logger();\n\t\t}\n\n\t\treturn self::$_logger;\n\t}", "public function getLogger(): LoggerInterface\n {\n return $this->logger;\n }", "public static function getInstance() {\n if (!isset(self::$instance)) {\n self::$instance = new Logger();\n }\n return self::$instance;\n }", "public function &getInstance() {\r\n\t\tstatic $_singleton_;\r\n\t\tif (!isset($_singleton_)) {\r\n\t\t\t$_singleton_ = new TranslatorClientFactory();\r\n\t\t}\r\n\t\treturn $_singleton_;\r\n\t}", "public function getLoggerInstance();", "function logger_instance($name = null)\n {\n if ($name instanceof LoggerInterface) {\n return $name;\n }\n\n return Log::getLog($name);\n }" ]
[ "0.6991467", "0.6024146", "0.6024146", "0.5737152", "0.57193244", "0.5608255", "0.5479491", "0.5465412", "0.5464529", "0.5423163", "0.5370465", "0.52999306", "0.5275223", "0.5273603", "0.5251589", "0.5243125", "0.5203379", "0.5168228", "0.51325405", "0.5121432", "0.51033676", "0.5097089", "0.50908875", "0.5085638", "0.5074571", "0.504475", "0.5038985", "0.5038066", "0.5034863", "0.5033862" ]
0.8256371
0
Return a AccessLogClient instance
public function accessLogs() { return (new AccessLogClient($this->httpClient))->auth($this->token); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function _getClient() {\n $client = new \\Google_Client();\n $client->setAuthConfig($this->credentialPath);\n $client->setScopes(\\Google_Service_Analytics::ANALYTICS_READONLY);\n return $client;\n }", "protected function createAuthLog()\n {\n $request = $this->requestStack->getCurrentRequest();\n\n /** @var XM\\SecurityBundle\\Entity\\AuthLog $authLog */\n $authLog = new $this->authLogClass();\n $authLog->setDatetime(new \\DateTimeImmutable());\n $authLog->setUserAgent($request->headers->get('User-Agent'));\n $authLog->setIpAddress($request->getClientIp());\n\n return $authLog;\n }", "public function wafLogs()\n {\n return (new WafLogClient($this->httpClient))->auth($this->token);\n }", "public function createClient()\n {\n $client = new \\Google_Client();\n\n // set assertion credentials\n $client->setAssertionCredentials(\n new \\Google_Auth_AssertionCredentials(\n $this->settings->get('Analytics', 'email'),\n array('https://www.googleapis.com/auth/analytics.readonly'),\n base64_decode($this->settings->get('Analytics', 'certificate'))\n )\n );\n\n // other settings\n $client->setClientId($this->settings->get('Analytics', 'client_id'));\n $client->setAccessType('offline_access');\n\n return $client;\n }", "private function createHttpClient($logFilename = \"api.log\") {\r\n if (false) {\r\n $stack = \\GuzzleHttp\\HandlerStack::create();\r\n $formattingDefault = [];\r\n $logger = (new \\Monolog\\Logger(\"mygeotab-php\"))->pushHandler(\r\n new \\Monolog\\Handler\\RotatingFileHandler($logFilename)\r\n );\r\n // Example:\r\n // [\r\n // '{method} {uri} HTTP/{version} {req_body}',\r\n // 'RESPONSE: {code} - {res_body}',\r\n // ]\r\n\r\n foreach ($messageFormats as $messageFormat) {\r\n $stack->unshift(\\GuzzleHttp\\Middleware::log($logger, new \\GuzzleHttp\\MessageFormatter($messageFormat)));\r\n }\r\n }\r\n\r\n return new Client(isset($stack) ? ['handler' => $stack] : []);\r\n }", "private function getClient()\n {\n if (!($this->client instanceof Google_Client)) {\n $this->client = new \\Google_Client($this->credentials);\n $this->client->setAccessToken($this->credentials);\n }\n if ($this->client->isAccessTokenExpired()) {\n // Hack to prevent the old access token from being cached\n $this->client->getCache()->clear();\n\n // @cleanup exponential backoff\n $refreshToken = $this->credentials['refresh_token'];\n if (!(is_string($refreshToken))) {\n throw new Exception('no refresh token found');\n }\n $this->client->fetchAccessTokenWithRefreshToken($refreshToken);\n }\n return $this->client;\n }", "protected function getClient()\n {\n return new Client;\n }", "public static function get() {\n\t\tif (self::$client == null)\n\t\t\tself::$client = new Client();\n\t\treturn self::$client;\n\t}", "public static function instance($namespace=false)\n\t{\n\t\t$log_instance = op5objstore::instance()->obj_instance(__CLASS__);\n\n\t\tif($namespace === false)\n\t\t\treturn $log_instance;\n\n\t\t/* Return a wrapper to augment the log with a namespace field */\n\t\treturn new op5LogAccess($log_instance, $namespace);\n\t}", "protected function buildClient()\n {\n /* Set up the google calendar objects */\n $client = new Google_Client();\n\n if ($this->logger) {\n $client->setLogger($this->logger);\n }\n\n $client->setAuthConfig($this->calDelegate->getAuthConfig());\n $client->setRedirectUri($this->calDelegate->getRedirectUri());\n $client->setAccessType('offline');\n $client->addScope(Google_Service_Calendar::CALENDAR);\n\n// if (isset($impersonated)) {\n// $client->setSubject($impersonated);\n// }\n\n return $client;\n }", "public function getClient() {\n if (!$this->_client instanceof Client) {\n $this->_client = new Client();\n $options = [\n 'maxredirects' => 0,\n 'timeout' => 30\n ];\n $this->_client->setOptions($options);\n $this->_client->setHeaders([\n 'Authorization' => 'Bearer ' . $this->token,\n 'Content-Type' => 'application/json'\n ]);\n }\n\n return $this->_client;\n }", "public function getClientInstance()\n\t{\n\t\treturn Client::instance($this->db);\n\t}", "private function getClient()\n {\n if (!$this->client) {\n $this->client = new Client(['base_uri' => self::BASE_URI]);\n }\n\n return $this->client;\n }", "public static function getInstance()\n {\n if (!self::$instance)\n {\n self::$instance = new log;\n }\n return self::$instance;\n }", "public function personalAccessClient()\n {\n return $this->personal_access_client;\n }", "public function wafLogMatches()\n {\n return (new WafLogMatchClient($this->httpClient))->auth($this->token);\n }", "private function newClient(){\n return new Client(['base_uri' => self::url]);\n }", "private function get_client() {\n\t\treturn $this->client;\n\t}", "private function get_client() {\n\t\treturn $this->client;\n\t}", "public function client()\n {\n return $this->client;\n }", "public function client()\n {\n return $this->client;\n }", "protected function _getInstanceOfClient()\n\t{\n\t\treturn minimee()->makeClient();\n\t}", "public function newClient()\n {\n $name = $this->getApiName();\n \n $options = $this->getOptions($name);\n \n return new Client($options);\n }", "public function client() {\n return $this->_client;\n }", "public function getClient()\n {\n if ($this->_client === null) {\n $this->_client = new Curl();\n $this->_client->setOption(CURLOPT_USERPWD,sprintf(\"%s:%s\", $this->applicationId, $this->password),true);;//$this->applicationId.':'.$this->password\n $this->setRequestDataFormat();\n }\n return $this->_client;\n }", "protected function getClient()\n {\n return new Client([\n 'base_uri' => $this->baseUrl(), 'handler' => $this->createHandler()\n ]);\n }", "public static function getInstance()\n {\n return Doctrine_Core::getTable('ProductAccessLog');\n }", "public function client(): Client\n {\n return $this->client;\n }", "private function createClient(){\n\t\t$client = new \\GuzzleHttp\\Client([\n\t\t\t// Base URI is used with relative requests\n\t\t\t'base_uri' => $this->idpServer,\n\t\t\t// You can set any number of default request options.\n\t\t\t'headers' => [\n \t\t'User-Agent' => 'trustmaster/1.0',\n\t\t\t\t'Accept' => 'application/json',\n\t\t\t\t'Authorization'=> 'Bearer '.$this->accessToken\n\t\t\t],\n\t\t\t'connect_timeout' => 3.14,\n\t\t\t'timeout' => 3.14,\n\t\t\t'allow_redirects'=>[\n\t\t\t\t'protocols'=>['https']\t\n\t\t\t],\n\t\t\t'http_errors' => false\n\t\t]);\n\t\t\n\t\treturn $client;\n\t}", "public static function get_instance() {\r\n\t\tif ( self::$instance === null ) {\r\n\t\t\tself::$instance = new Ga_Lib_Google_Api_Client();\r\n\t\t}\r\n\r\n\t\treturn self::$instance;\r\n\t}" ]
[ "0.62834597", "0.62459767", "0.60172147", "0.5962265", "0.5953702", "0.5861881", "0.58463275", "0.5821914", "0.5771586", "0.5737489", "0.5725776", "0.57214826", "0.5688004", "0.5687007", "0.5654532", "0.5592835", "0.5590697", "0.55778986", "0.55778986", "0.5539265", "0.5539265", "0.5499813", "0.5486857", "0.547914", "0.54722136", "0.5471201", "0.5463781", "0.54633266", "0.5448893", "0.5448104" ]
0.75341475
0
lookup next n tokens
public function lookupMany($n = 1) { if ($n > $this->bufSize) { $this->bufSize = $n; } $this->fillBuffer(); $tokens = []; $size = min($n, count($this->tokens)); for ($i=0; $i<$size; $i++) { $tokens[] = $this->tokens[$i]; } return $tokens; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function nextToken(array $config = []);", "abstract function nextToken();", "public function getNextToken()\n {\n $token = null;\n $value = null;\n $nextOffset = $this->length;\n foreach ($this->tokens as $name => $regexp) {\n if(preg_match('/' . $regexp . '/m', $this->data, $matches, PREG_OFFSET_CAPTURE, $this->offset)) {\n if ($nextOffset > $matches[0][1]) {\n $token = $name;\n $value = $matches[0][0];\n $nextOffset = $matches[0][1];\n }\n }\n }\n return array($token, $value, $nextOffset);\n }", "public function nextToken()\n {\n if ($this->_input === null) {\n return null;\n }\n else {\n $this->_filterInput($this->_input);\n }\n\n while($this->_tokenize == 0 && \n preg_match('/\\b([^\\s])+/',\n $this->_input,\n $match,\n PREG_OFFSET_CAPTURE,\n $this->_position) \n ) {\n $str = $match[0][0];\n $pos = $match[0][1]; \n $endpos = $pos + strlen($str);\n $this->_position = $endpos;\n \n\n $this->_specialString = array();\n $this->_positionsi = 0;\n while(preg_match('/[a-zA-Z0-9]+/', $str, $matchesi, PREG_OFFSET_CAPTURE, $this->_positionsi))\n {\n $posix = 0;\n $this->_specialString[] = $matchesi[0][0];\n $posix = $matchesi[0][1];\n $endposix = $posix + strlen($matchesi[0][0]);\n $this->_positionsi = $endposix;\n }\n \n if(count($this->_specialString) > 1){\n \n $this->_setNoSpaceToken(implode($this->_specialString));\n $this->_setSpaceToken(implode(' ', $this->_specialString));\n $this->_setIndividualToken($this->_specialString);\n }\n /*Index Rule 1 and Index Rule 2*/\n $token = $this->normalize(new Analysis\\Token($str, $pos, $endpos));\n\n// echo \"The string indexed and stored for Rule 1 or Rule 2 is :\".$str;\n// echo \"\\n\";\n return $token;\n }\n\n \n if($this->_tokenize == 1){\n\n $this->_tokenize = 2;\n $strNospace = $this->_getNoSpaceToken();\n $token = $this->normalize(new Analysis\\Token($strNospace, 0, strlen($strNospace)));\n// echo 'The string indexed and stored for Rule 5 is:'.$strNospace;\n// echo \"\\n\";\n return $token;\n }\n\n if($this->_tokenize == 2){\n\n $strSpace = $this->_getSpaceToken();\n $this->_tokenize = 3;\n $token = $this->normalize(new Analysis\\Token($strSpace, 0, strlen($strSpace)));\n// echo 'The string indexed and stored for Rule 6 is:'.$strSpace;\n// echo \"\\n\";\n return $token;\n }\n\n if($this->_tokenize == 3){\n\n $individualString = $this->_getIndividualToken();\n while($this->i < count($individualString)){\n $stri = $individualString[$this->i++];\n $token = $this->normalize(new Analysis\\Token($stri, 0, strlen($stri)));\n// echo 'The string indexed and stored for Rule 4 is:'.$stri;\n// echo \"\\n\"; \n return $token;\n }\n \n $this->_tokenize = 0;\n }\n \n $this->_count = substr_count($this->_input,' ');\n\n if($this->_count && !($this->_FullTokenFlag)){\n \n $posf = 0;\n $this->_FullTokenFlag = 1;\n $endposf = $posf + strlen($this->_input);\n $token = $this->normalize(new Analysis\\Token($this->_input, $posf, $endposf));\n// echo 'The string indexed and stored for Rule 1 is:'.$this->_input;\n// echo \"\\n\";\n return $token;\n }\n\n if($this->_count && !($this->_NoSpaceTokenFlag)){\n\n $posn = 0;\n $this->_NoSpaceTokenFlag = 1;\n $strn = str_replace(' ', '', $this->_input);\n $endposn = $posn + strlen($strn);\n $token = $this->normalize(new Analysis\\Token($strn, $posn, $endposn));\n// echo 'The string indexed and stored for Rule 3 is:'.$strn;\n// echo \"\\n\";\n return $token;\n } \n \n// echo 'Calling next token...';\n// echo \"\\n\";\n return null;\n }", "public function nextToken(): Token;", "abstract public function adaptNextToken($token);", "private function next()\n {\n $this->tok = $this->lex->getToken();\n return $this->tok;\n }", "public function getTokens();", "public function getTokens();", "function calc_get_token($source, $i, $ss = ' ')\r\n{\r\n\t$s = $source . $ss;\r\n\t$start = 0;\r\n\r\n\tfor ($index = 0; $index < $i; $index++)\r\n\t{\r\n\t\t$end = strpos($s, $ss, $start);\r\n\t\tif ($end == 0)\r\n\t\t{\r\n\t\t\t//\techo \"get token:\tunexcepted ending\\n\";\r\n\t\t\treturn $s;\r\n\t\t}\r\n\t\t$result = substr($s, $start, $end - $start);\r\n\t\t//\techo \"get token:\t$index, $start, $end, $result\\n\";\r\n\r\n\t\t$start = $end + 1;\r\n\t}\t//\tend of for\r\n\r\n\treturn $result;\r\n}", "public function getNextToken(): ?TokenInterface;", "protected function lookahead($count) {\n\t\tif (!$count) return $this->current[0];\n\t\t$token = reset(array_slice($this->tokens, $count-1, 1));\n\t\treturn $token[0];\n\t}", "public function getNextResults($count);", "abstract public function token();", "abstract public function token();", "private function nextParsedToken()\n {\n if ($this->current_pos + 1 >= count($this->ptokens)) {\n return false;\n }\n\n $this->current_pos++;\n $this->setupContext();\n return $this->ptokens[$this->current_pos];\n }", "function next()\t\t\t{\treturn explode('=', $this->data[0]['next'])[1];\t}", "public function getNextToken()\n {\n return $this->_fields['NextToken']['FieldValue'];\n }", "public function nextToken(){\n\t\t\t\tif ($this->_input === null) {\n\t\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t\t$len = mb_strlen($this->_input);\n\t\t\t\twhile ($this->_position < $len) {\n\t\t\t\t\t\t$termStartPosition = $this->_position;\n\t\t\t\t\t\t$length=1;\n\t\t\t\t\t\t$current_char = mb_substr($this->_input,$this->_position,1);\n\t\t\t\t\t\t$next_char = mb_substr($this->_input,$this->_position+1,1);\n\t\t\t\t\t\tif(ord($current_char)>127){\n\t\t\t\t\t\t\t\t$i=0;\n\t\t\t\t\t\t\t\twhile ($this->_position < $len && ord( $next_char)>127) {\n\t\t\t\t\t\t\t\t\t\t$this->_position++;\n\t\t\t\t\t\t\t\t\t\t$next_char = mb_substr($this->_input,$this->_position+1,1);\n\t\t\t\t\t\t\t\t\t\t$length=2;\n\t\t\t\t\t\t\t\t\t\tif($i++==1){\n\t\t\t\t\t\t\t\t\t\t\t\t$this->_position--;\n\t\t\t\t\t\t\t\t\t\t\t\t$this->_position--;\n\t\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\twhile ($this->_position < $len && ctype_alnum( $next_char)) {\n\t\t\t\t\t\t\t\t\t\t$this->_position++;\n\t\t\t\t\t\t\t\t\t\t$length++;\n\t\t\t\t\t\t\t\t\t\t$next_char = mb_substr($this->_input,$this->_position+1,1);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$this->_position++;\n\n\t\t\t\t\t\t$str = strtolower(trim(mb_substr($this->_input,$termStartPosition,$length)));\n\t\t\t\t\t\t$token = new Zend_Search_Lucene_Analysis_Token(\n\t\t\t\t\t\t\t\t$str,\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tstrlen($str)\n\t\t\t\t\t\t);\n\t\t\t\t\t\t$token = $this->normalize($token);\n\t\t\t\t\t\tif ($token !== null) {\n\t\t\t\t\t\t\t\treturn $token;\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn null;\n\t\t}", "public function getNext();", "public function getNext();", "public function getMltMaxNumTokens() {}", "function NextOf($item);", "public function nextToken()\n {\n while ($this->tokens) {\n yield array_shift($this->tokens);\n }\n }", "public function getNextResult();", "public function getNextEntry($entry);", "protected function count_token(){ \n return count(self::$tokens); \n }", "public function after( $index ) {\n\t\treturn array_slice( $this->tokens, $index + 1 );\n\t}", "private static function getNextToken(): Token\n\t{\n\t\t$token = self::$stream->consumeToken();\n\t\tif ($token === NULL) {\n\t\t\tthrow new ParserException('Unexpected end of string, expected value');\n\t\t}\n\t\treturn $token;\n\t}", "public function next_token()\n {\n $matches = null;\n\n /*\n * aye the magic\n * we're using a single RegExp to tokenize the block comment delimiters\n * we're also using a trick here because the only difference between a\n * block opener and a block closer is the leading `/` before `wp:` (and\n * a closer has no attributes). we can trap them both and process the\n * match back in PHP to see which one it was.\n */\n $has_match = preg_match(\n '/<!--\\s+(?P<closer>\\/)?wp:(?P<namespace>[a-z][a-z0-9_-]*\\/)?(?P<name>[a-z][a-z0-9_-]*)\\s+(?P<attrs>{(?:(?:[^}]+|}+(?=})|(?!}\\s+\\/?-->).)*+)?}\\s+)?(?P<void>\\/)?-->/s',\n $this->document,\n $matches,\n PREG_OFFSET_CAPTURE,\n $this->offset\n );\n\n // if we get here we probably have catastrophic backtracking or out-of-memory in the PCRE.\n if (false === $has_match) {\n return ['no-more-tokens', null, null, null, null];\n }\n\n // we have no more tokens.\n if (0 === $has_match) {\n return ['no-more-tokens', null, null, null, null];\n }\n\n list($match, $started_at) = $matches[0];\n\n $length = strlen($match);\n $is_closer = isset($matches['closer']) && -1 !== $matches['closer'][1];\n $is_void = isset($matches['void']) && -1 !== $matches['void'][1];\n $namespace = $matches['namespace'];\n $namespace = (isset($namespace) && -1 !== $namespace[1]) ? $namespace[0] : 'core/';\n $name = $namespace.$matches['name'][0];\n $has_attrs = isset($matches['attrs']) && -1 !== $matches['attrs'][1];\n\n /*\n * Fun fact! It's not trivial in PHP to create \"an empty associative array\" since all arrays\n * are associative arrays. If we use `array()` we get a JSON `[]`\n */\n $attrs = $has_attrs\n ? json_decode($matches['attrs'][0], /* as-associative */ true)\n : $this->empty_attrs;\n\n /*\n * This state isn't allowed\n * This is an error\n */\n if ($is_closer && ($is_void || $has_attrs)) {\n // we can ignore them since they don't hurt anything.\n }\n\n if ($is_void) {\n return ['void-block', $name, $attrs, $started_at, $length];\n }\n\n if ($is_closer) {\n return ['block-closer', $name, null, $started_at, $length];\n }\n\n return ['block-opener', $name, $attrs, $started_at, $length];\n }" ]
[ "0.6489519", "0.6254841", "0.6121746", "0.5854092", "0.57692116", "0.5688917", "0.55032164", "0.5427649", "0.5427649", "0.53271437", "0.5284244", "0.52600425", "0.52563846", "0.52059394", "0.52059394", "0.51690996", "0.5117563", "0.51157886", "0.50819814", "0.50425345", "0.50425345", "0.50180066", "0.5014218", "0.49952894", "0.49528483", "0.4922345", "0.49177468", "0.4914227", "0.49123442", "0.49082655" ]
0.6877789
0
gerar um token unico
public function gerarToken() : string ;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function gerarToken() {\n $timeNow = new DateTime();\n $data = $timeNow->format('Ymd');\n $hora = $timeNow->format('His');\n $token = md5($dataEnvio . $hora);\n return $token;\n }", "abstract public function token();", "abstract public function token();", "function tokenizar ($entrada){\n\t\n\t// signos de puntuacion que se van a extraer\n\t$punctoations = array( \n\t ',', '.', ';', ':', '¿', '?', '¡', '!', '\"', '(', ')', '\\'',\n '[', ']', '+', '=', '*', '&', '^', '%', '$', '#',\n '@', '~', '`', '{', '}', '\\\\', '|', '>', '<','—','…', );\n\t\n\t// se reemplazan los signos de puntucion por nada (se quitan)\n\t$entrada= str_replace($punctoations, \"\", $entrada);\n // se tokeniza separando por espacios\n $texto=explode(\" \",$entrada );\n // se trimea por las dudas\n\t$texto =array_map('trim',$texto );\n\t\t// se retorna la array de tokens\n\treturn $texto;\n}", "static function encodeToken( $token ) {\n\t\treturn substr( sha1( __CLASS__ . '-' . $token ), 0, 26 );\n\t}", "private function retornoToken(){\n $this->setToken();\n }", "function tokenise($oracion) \n {\n \n \n setlocale(LC_ALL, 'es_ES');\n $oracion = strtolower($oracion);\n \n // antes de tokenizar se reemplaza santa fe por santa_fe\n $oracion = str_replace(\"santa fe\", \"santa_fe\", $oracion);\n\n // antes de tokenizar se reemplaza gobierno nacional por gobierno_nacional\n $oracion = str_replace(\"gobierno nacional\", \"gobierno_nacional\", $oracion);\n\n // antes de tokenizar se reemplaza gobierno provincial por gobierno_provincial\n $oracion = str_replace(\"gobierno provincial\", \"gobierno_provincial\", $oracion);\n\n\n preg_match_all('/[\\w]+/iu', $oracion, $matches);\n\n // se extraen los tokens que son stopwords \n $palabras=removeStopwords($matches[0]);\n return $palabras;\n \n }", "public function token() {\n }", "public static function token()\n {\n $Caracteres = '0123456789';\n $QuantidadeCaracteres = strlen($Caracteres);\n $QuantidadeCaracteres--;\n\n $token = NULL;\n for ($x = 1; $x <= 20; $x++)\n {\n $Posicao = rand(0, $QuantidadeCaracteres);\n $token .= substr($Caracteres, $Posicao, 1);\n }\n\n return $token;\n }", "function token($length){\n $token = \"\";\n $codeAlphabet = \"ABCDEFGHIJKLMNOPQRSTUVWXYZ\";\n $codeAlphabet.= \"abcdefghijklmnopqrstuvwxyz\";\n $codeAlphabet.= \"0123456789\";\n $max = strlen($codeAlphabet); // edited\n \n for ($i=0; $i < $length; $i++) {\n $token .= $codeAlphabet[random_int(0, $max-1)];\n }\n return $token ;\n }", "abstract public function getTokenLabel();", "function makeToken($u, $sklep_id, $odgovor) {\n\treturn sha1(\"taborniki\".$u.\"smo\".$sklep_id.\"res\".$odgovor.\"zakon\");\n}", "public function getTokenTag();", "public function generarToken($form) {\r\n\t\t$token = md5(uniqid(microtime(), true));\r\n\r\n\r\n\t\t// generar fecha de generación del token\r\n\t\t$token_time = time();\r\n\r\n\t\t// escribir la información del token en sesión para poder\r\n\t\t// comprobar su validez cuando se reciba un token desde un formulario\r\n\t\t$_SESSION['csrf'][$form.'_token'] = array('token'=>$token, 'time'=>$token_time);; \r\n\r\n\t\treturn $token;\r\n\t}", "function t($token)\r\n\t{\r\n\t\treturn $this->escape($this->app->translate($token));\r\n\t}", "public function getToken()\n {\n while(true)\n {\n $c = $this->read();\n if($c == '')\n {\n return new CommandToken(CommandToken::TOK_EOF, $this->line, null);\n }\n if($c == \"\\n\")\n {\n $this->line++;\n }\n else if($c == \"\\r\")\n {\n // NADA\n }\n else if(ctype_space($c))\n {\n // NADA\n }\n else if(ctype_alnum($c))\n {\n // Guardar el primer caracter\n $s = $c;\n\n // Leer todos los caracteres válidos de un lexema de identificador (alfanumérico y '_')\n while(true)\n {\n $c = $this->read();\n if(!(!$this->feof() && (ctype_alnum($c) || $c == '_' || $c == '-')))\n {\n break;\n }\n $s .= $c;\n }\n\n // Si no se ha llegado al final, poner en cache el último caracter\n if(!$this->feof())\n {\n $this->save($c);\n }\n\n return new CommandToken(CommandToken::TOK_LEXEME, $this->line, $s);\n }\n else if($c == '#')\n {\n // Saltear comentario\n $this->skipLine();\n }\n else\n {\n return new CommandToken($c, $this->line, null);\n }\n }\n return null;\n }", "public function getTokenValue();", "public function setToken($dados)\n {\n $token = \"\";\n for ($i=0 ; $i < 8; $i++){ \n $token .= rand(1, 99999);\n }\n $token = MD5($token);\n $token .= MD5($dados[0]['Nome']);\n $token .= MD5($dados[0]['ID_User']);\n $token .= MD5(date('h-i-s'));\n \n \n $Session = new SessionController();\n $Session->setValue('User_Token',$token);\n \n \n $id = $dados[0]['ID_User'];\n $this->update('Usuarios','token' ,\"'$token'\" ,\"ID_User = $id\");\n //print_r($token);\n }", "public function getToken(): string;", "public function generaToken()\n {\n $cadena = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890\";\n //Obtenemos la longitud de la cadena de caracteres\n $longitudCadena=strlen($cadena);\n //Se define la variable que va a contener la contraseña\n $pass = \"\";\n //Se define la longitud de la contraseña, en mi caso 10, pero puedes poner la longitud que quieras\n $longitudPass=20;\n //Creamos la contraseña\n for($i=1 ; $i<=$longitudPass ; $i++){\n //Definimos numero aleatorio entre 0 y la longitud de la cadena de caracteres-1\n $pos=rand(0,$longitudCadena-1);\n //Vamos formando la contraseña en cada iteraccion del bucle, añadiendo a la cadena $pass la letra correspondiente a la posicion $pos en la cadena de caracteres definida.\n $pass .= substr($cadena,$pos,1);\n }\n return $pass;\n }", "public static function token()\n {\n return static::create(32);\n }", "protected function token(): string\n {\n return $this->kirby()->contentToken($this, $this->id() . $this->template());\n }", "abstract function nextToken();", "public function tokenLiteral(): string\n {\n }", "public function generateToken();", "public function generateToken();", "public function generateToken();", "public function generador_token()\n {\n // fetch template parameters\n $codigo = urlencode(ee()->TMPL->fetch_param('codigo'));\n $contrasena = urlencode(ee()->TMPL->fetch_param('contrasena'));\n $plataforma = ee()->TMPL->fetch_param('plataforma');\n\n // Curl service\n $result = $this->services->curl_url_not_reuse('Autenticar2/?Codigo='.$codigo.'&Contrasena='.$contrasena.'&Plataforma='.$plataforma);\n if($result!==FALSE){\n $json = json_decode($result, true);\n // Cookies for Error\n $_SESSION[\"CodError\"] = $json['CodError'];\n $_SESSION[\"MsgError\"] = $json['MsgError']; \n $cookie_name = \"MsgError\";\n $cookie_value = $json[\"MsgError\"];\n $this->services->set_cookie($cookie_name, $cookie_value, time()+1800, \"/\");\n\n if (strval($json['CodError'])=='null' || strval($json['CodError'])=='00001' || strval($json['CodError'])=='11111') \n {\n $site_url = ee()->config->item('site_url');\n $site_url .= 'login/error_login';\n $this->EE->functions->redirect($site_url);\n } \n else\n {\n ee()->db->select('id');\n ee()->db->where('codigo',$codigo);\n $query_modelo_result = ee()->db->get('exp_user_upc_data');\n //$terminos = \"si\";\n \n if($query_modelo_result->result() == NULL)\n {\n $user_upc_insert = array(\n \"codigo\" => $json['Codigo'],\n \"tipouser\" => $json['TipoUser'], \n \"nombres\" => $json['Nombres'], \n \"apellidos\" => $json['Apellidos'],\n \"estado\" => $json['Estado'], \n \"dscmodal\" => $json['Datos']['DscModal'],\n \"codmodal\" => $json['Datos']['CodModal'],\n \"codsede\" => $json['Datos']['CodSede'],\n \"dscsede\" => $json['Datos']['DscSede'],\n \"ciclo\" => $json['Datos']['Ciclo'], \n \"token\" => $json['Token']\n );\n ee()->db->insert('exp_user_upc_data', $user_upc_insert);\n } \n else \n {\n $user_upc_update = array(\n \"token\" => $json['Token']\n );\n ee()->db->where('codigo', $codigo);\n ee()->db->update('exp_user_upc_data', $user_upc_update);\n }\n\n // Saving data to $_SESSION and Cookies\n $user_data = array( 'Codigo' => $json['Codigo'],\n 'TipoUser' => $json['TipoUser'],\n 'Nombres' => $json['Nombres'],\n 'Apellidos' => $json['Apellidos'],\n 'Estado' => $json['Estado'],\n 'CodLinea' => $json['Datos']['CodLinea'],\n 'CodModal' => $json['Datos']['CodModal'],\n 'DscModal' => $json['Datos']['DscModal'],\n 'CodSede' => $json['Datos']['CodSede'],\n 'DscSede' => $json['Datos']['DscSede'],\n 'Ciclo' => $json['Datos']['Ciclo'],\n 'Token' => $json['Token']);\n foreach ($user_data as $key => $val)\n {\n $this->set_session_cookie($key, $val);\n }\n\n $cookie_name = 'Codigo';\n $cookie_value = $json['Codigo'];\n // setcookie($cookie_name, $cookie_value, time() + (3600), '/', '.upc.edu.pe',false); \n $cookie_name = 'TipoUser';\n $cookie_value = $json['TipoUser'];\n // setcookie($cookie_name, $cookie_value, time() + (3600), '/', '.upc.edu.pe',false); \n $cookie_name = 'Token';\n $cookie_value = $json['Token'];\n // setcookie($cookie_name, $cookie_value, time() + (3600), '/', '.upc.edu.pe',false); \n }\n return;\n }else{\n $site_url = ee()->config->item('site_url');\n $this->EE->functions->redirect($site_url.\"general/error-404\");\n }\n \n }", "private function getTokenValue() {\n return '1';\n }", "public function print_token(){ return '<span class=\"robot_token\">'.$this->robot_token.'</span>'; }" ]
[ "0.634643", "0.6341028", "0.6341028", "0.62622774", "0.5793793", "0.57828265", "0.5732054", "0.5712689", "0.55717343", "0.54276234", "0.5413444", "0.54113287", "0.5398278", "0.53865737", "0.53053516", "0.5291524", "0.5250987", "0.5246848", "0.5230401", "0.52143055", "0.5210788", "0.5201137", "0.5201002", "0.51956373", "0.5194747", "0.5194747", "0.5194747", "0.5146372", "0.51096797", "0.5107398" ]
0.8055073
0
Force the slug to be lowercase and remove spaces. If no slug is specified, use the name field by default.
protected function cleanSlug() { if( $this->slug == '' ) { $this->slug = $this->name; } $this->slug = strtolower($this->slug); $this->slug = str_replace(' ', '_', $this->slug); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function slug() { return ppb_parameterize($this->name); }", "function apply_slug_correction( $slug ){\n\t$slug = str_replace( \" \", \"-\", $slug );\n\t$slug = preg_replace( \"/[^a-zA-Z0-9_-]+/\", \"\", $slug );\n\t$slug = strtolower( $slug );\n\n\treturn $slug;\n}", "public function slug();", "public function slug();", "public function toSlug()\n {\n $this->slug = str_replace(' ', '-', strtolower($this->name));\n }", "public function getSlugAttribute()\n {\n $slug = $this->attributes['name'];\n\n if ($this->attributes['entity_type']) {\n $slug .= '-'.$this->attributes['entity_type'];\n }\n\n if ($this->attributes['entity_id']) {\n $slug .= '-'.$this->attributes['entity_id'];\n }\n\n return strtolower($slug);\n }", "public function getSlugAttribute()\n {\n return str_slug($this->first_name.' '.$this->last_name, '-');\n }", "public function slug($slug);", "protected function sanitizeUsername()\n {\n $username = $this->has('username')\n ? $this->get('username')\n : $this->get('first_name').' '.$this->get('last_name');\n\n return Str::slug($username, config('arcanesoft.auth.slug-separator', '.'));\n }", "function slug($text){\n\t\t\n\t\t$text = strtolower($text);\n\t\t$text = trim($text);\n\t\t$text = preg_replace('/\\s+/', '', $text);\n\t\t\n\t\treturn $text;\n\t\t\n\t}", "public function toLower(){\n if($this->keepCapitals === false){\n $this->slug = mb_strtolower($this->slug);\n }\n\n return $this;\n }", "public function convertStringToSlugAction()\n {\n // -------------------------------\n // strip special chars\n // strip html, js, etc\n // convert accented chars\n // replace camel case to dashes ('-')\n // replace delimiters to dashes ('-')\n // lowercase all words\n // trim to 256\n // validate slug\n }", "public function beforeValidate()\n {\n if (!$this->exists && !$this->slug)\n $this->slug = Str::slug($this->name);\n }", "public function slug()\n {\n return Str::slug($this->name());\n }", "protected function autoFillSlug()\n {\n $slug = $this->request->get('slug', '');\n $name = $this->request->get('name', '');\n $slug = $slug == '' ? str_slug($name, '-') : str_slug($slug, '-');\n $this->merge([\n 'slug' => $slug\n ]);\n }", "function get_slug( $name = null ) {\n\n\t\t// If no name set use the post type name.\n\t\tif ( ! isset( $name ) ) {\n\n\t\t\t$name = $this->post_type_name;\n\t\t}\n\n\t\t// Name to lower case.\n\t\t$name = strtolower( $name );\n\n\t\t// Replace spaces with hyphen.\n\t\t$name = str_replace( \" \", \"-\", $name );\n\n\t\t// Replace underscore with hyphen.\n\t\t$name = str_replace( \"_\", \"-\", $name );\n\n\t\treturn $name;\n\t}", "public function setSlugAttribute()\n {\n $this->attributes['slug'] =Str::slug($this->name, '-').'.aspx';\n }", "public function getSlugAttribute():String\n {\n return Str::slug($this->name);\n }", "function _slug($value){\n\t$value = preg_replace('![^'.preg_quote('_').'\\pL\\pN\\s]+!u', '', mb_strtolower($value));\n\n\t//remove underscore and whitespace with a dash\n\t$value = preg_replace('!['.preg_quote('-').'\\s]+!u', '-', $value);\n\n\t//remove whitespace\n\treturn trim($value, '-');\n}", "function slug($text) {\n $text = str_replace (' ', '_', $text);\n $text = preg_replace('/[^a-z0-9_]/i', '', $text);\n $text = strtolower($text);\n return $text;\n}", "function slug() {\n\t\treturn $this->_post->post_name;\n\t}", "function bbp_sanitize_slug($slug = '')\n{\n}", "function slug($var) {\n $var = preg_replace('/[^a-zA-Z0-9]/s', ' ', $var);\n $var = preg_replace('/\\s+/', '-', $var);\n return strtolower($var);\n}", "public function setSlugAttribute($value)\n {\n $this->attributes['slug'] = trim(strtolower($value));\n }", "public function getSlug() { return (string)$this->slug; }", "public function setSlugAttribute()\n {\n $this->attributes['slug'] = Str::slug($this->title);\n }", "public function initializeSlug(){\n if(empty($this->slug)){\n $slugify = new Slugify();\n $this->slug = $slugify->slugify($this->name);\n }\n }", "public function set_slug($slug)\n {\n $this->set_field('post_name', $slug);\n }", "public function getSlugAttribute(): string\n {\n return str_slug($this->title);\n }", "public function slug(): string\n {\n return $this->get('slug');\n }" ]
[ "0.75104815", "0.73724806", "0.73036456", "0.73036456", "0.72445244", "0.71263677", "0.70268655", "0.6995427", "0.6972973", "0.6967065", "0.6965999", "0.694116", "0.69408685", "0.69093865", "0.69008625", "0.6893291", "0.6869522", "0.685363", "0.68079", "0.6802246", "0.67919594", "0.67687196", "0.67654365", "0.6736732", "0.672633", "0.67254484", "0.6719435", "0.66916287", "0.6678764", "0.6664384" ]
0.82232386
0
/ Function to send the contenttype header
function send_content_type_header() { @header('Content-Type: ' . $this->content_type . ($this->charset == '' ? '' : '; charset=' . $this->charset)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static function ContentType( $type )\n\t{\n\t\theader( \"Content-Type: $type\", true );\n\t}", "protected function setContentTypeHeader()\n {\n $charset = (substr($this->contentType, 0, 4) === \"text\") ? \"; charset=$this->charset\" : null;\n $this->setHeader(\"Content-Type: \" . $this->contentType . $charset);\n }", "protected function setHeader()\n {\n Controller::curr()->getResponse()\n ->addHeader(\"Content-Type\", $this->supportedMimeTypes()[0]);\n }", "public function setContentTypeHeader(string $type): void\n {\n header(\"Content-Type: {$type}; charset=UTF-8\");\n }", "public function contentType($contentType)\n\t{\n\t\t$this->response()->header('Content-Type', $contentType);\n\t}", "public static function set_res_content_type(string $type)\n{ \n\n self::$res_content_type = $type;\n\n // Debug\n debug::add(1, tr(\"Set response content-type to {1}\", $type));\n\n}", "public static function sendContent(string $type) {\n\n\t\t\tif (self::isTextContentType($type)) {\n\n\t\t\t\treturn header('Content-type: ' . self::$content_types_text[$type] . '; charset=UTF-8');\n\t\t\t}\n\n\t\t\tif (self::isMediaContentType($type)) {\n\n\t\t\t\treturn header('Content-type: ' . self::$content_types_media[$type]);\n\t\t\t}\n\t\t}", "public static function contentType(){\n if(defined('SYS_CONTENT_TYPE') && !is_empty(SYS_CONTENT_TYPE))\n if(headers_sent())\n throw new Exception(self::ERR_HEADERS_SENT);\n header('Content-type: '.SYS_CONTENT_TYPE.((defined('SYS_CHARSET') && !is_empty(SYS_CHARSET)) ? '; charset='.SYS_CHARSET : ''));\n }", "private function writeContentType(){\n $pretty = false;\n\t\t/** Determine and set the output MIME-type **/\n\t\t/* This really isn't that necessary for this, but who cares */\n\t\t$type = 'application/json'; //Default to the JSON mime-type\n\t\tif(isset($_GET['_data_format'])){ //If the data format was specified in the request (***.json/.txt)\n\t\t\t$format = strtolower($_GET['_data_format']);\n\t\t\tif($format == 'txt'){\n\t\t\t\t$type = 'text/plain';\n $pretty = true;\n\t\t\t}\n\t\t\tif($format == 'json'){\n\t\t\t\t$type = 'application/json';\n\t\t\t}\n\t\t}\n\t\theader('Content-Type: ' . $type);\n return $pretty;\n\t\t/** Done with MIME-type stuff **/\n\t}", "public function setContentType($value) {\n $this->_headers['Content-Type'] = $this->_fixContentType($value);\n }", "function Accept($type) {\n\t\t\n\t\t$this->headers[] = \"Accept-Type: $type\";\n\t}", "function Content($type) {\n\t\t\n\t\t$this->headers[] = \"Content-Type: $type\";\n\n\t\t// Set the type on the object, for reference later\n\t\t$this->content_type = $type;\n\t}", "public function setContentTypeAsJsonInHeader()\n {\n return $this->setHeader('Content-Type', 'application/json');\n }", "function request_content_type()\n{\n\t$data = Request::getContentType();\n\n\treturn $data;\n}", "private function sendHeader()\n\t{\n\t\theader(\"Content-type: text/xml\");\n\t}", "public static function get_content_type():string { return self::$content_type; }", "public static function setContentType($content_type=\"\") {\n try {\n // setting header Content-type\n header(\"Content-type: {$content_type}\");\n } catch (\\Exception $e) {\n return false;\n }\n return true;\n }", "public function getFormatFromHeader() {\n Request::header('Content-Type');\n return false;\n }", "public function contentType($type)\n {\n $this->message->setContentType($type);\n }", "public function content_type() {\n\t\treturn \"application/json\";\n\t}", "public function contentType();", "public function setContentType(string $value)\n\t{\n\t\t$this->headers['cty'] = $value;\n\t}", "function heading($type=\"custom\", $custom=\"text/html\") {\n\t\tif(!headers_sent()) {\t\t\n\t\t\tswitch ($type) {\n\t\t\t\tcase \"jpg\":\n\t\t\t\t\t$value = \"image/jpg\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"gif\":\n\t\t\t\t\t$value = \"image/gif\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"png\":\n\t\t\t\t\t$value = \"image/png\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"ico\":\n\t\t\t\t\t$value = \"image/ico\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"pdf\":\n\t\t\t\t\t$value = \"application/pdf\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"excel\":\n\t\t\t\t\t$value = \"application/vnd.ms-excel; charset=utf-8\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"json\":\n\t\t\t\t\t$value = \"application/json; charset=utf-8\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"html\":\n\t\t\t\t\t$value = \"text/html; charset=utf-8\";\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"custom\":\n\t\t\t\t\t$value = $custom;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\t$value = \"text/html; charset=utf-8\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\treturn header(\"Content-Type: \".$value);\n\t\t\t} else {\n\t\t\t\treturn FALSE;\n\t\t\t}\n\t\t}", "public function getContentTypeHeader() {\r\n\r\n if (empty($this->img)) {\r\n return '';\r\n }\r\n\r\n if (empty($this->processedFilename)) {\r\n return 'Content-type: image/png';\r\n }\r\n\r\n $parts = explode('.', $this->processedFilename);\r\n $extension = @substr($parts[1], 0, 3);\r\n\r\n if ($extension == 'jpg') {\r\n return 'Content-type: image/jpeg';\r\n } else if ($extension == 'png') {\r\n return 'Content-type: image/png'; \r\n } else if ($extension == 'gif') {\r\n return 'Content-type: image/gif';\r\n }\r\n\r\n return '';\r\n }", "public static function defineResponseContentType(){\r\n $httpAccept = !empty($_SERVER['HTTP_ACCEPT']) ? $_SERVER['HTTP_ACCEPT'] : '*/*';\r\n $httpAcceptArr = preg_split('/,\\s?/', $httpAccept);\r\n $httpAcceptFst = array_shift($httpAcceptArr);\r\n\r\n switch($httpAcceptFst){\r\n case 'text/plain':\r\n $res = self::ct_TEXT_PLAIN;\r\n break;\r\n case 'application/json':\r\n $res = self::ct_APPLICATION_JSON;\r\n break;\r\n case 'text/javascript':\r\n case 'application/javascript':\r\n $res = self::ct_APPLICATION_JAVASCRIPT;\r\n break;\r\n case 'application/xml':\r\n case 'text/xml':\r\n $res = self::ct_APPLICATION_XML;\r\n break;\r\n default:\r\n $res = self::ct_TEXT_HTML;\r\n break;\r\n }\r\n\r\n return $res;\r\n }", "function set_content_type( $content_type ) {\n\t\t\t// Only convert if the message is text/plain and the template is ok\n\t\t\tif ( $content_type == 'text/plain' && $this->check_template() === true ) {\n\t\t\t\t$this->send_as_html = true;\n\t\t\t\treturn $content_type = 'text/html';\n\t\t\t} else {\n\t\t\t\t$this->send_as_html = false;\n\t\t\t}\n\t\t\treturn $content_type;\n\t\t}", "function image_header()\n\t{\n\t\theader('Content-type: '.$this->img['mime']);\n\t}", "function GetHeader() {\n$a = explode(\";\",$_SERVER['HTTP_ACCEPT']);\n$b = explode(\",\",$a[0]);\n\nif(in_array(\"application/rdf+xml\",$b)) {\n\theader(\"Content-type: application/rdf+xml\");\n\treturn 0;\n} else if(in_array(\"text/rdf+xml\",$b)) { \n\theader(\"Content-type: text/rdf+xml\");\n\treturn 1;\n} else { \n\theader(\"Content-type: text/xml\");\n\treturn 2;\n}\n\n}", "public function sendHeader()\n\t{\n\t\tif(!Recipe_Header::isSend())\n\t\t{\n\t\t\tif(extension_loaded(\"zlib\") && strtolower(ini_get(\"zlib.output_compression\")) == \"off\" && !$this->compressed && GZIP_ACITVATED)\n\t\t\t{\n\t\t\t\tob_start(\"ob_gzhandler\");\n\t\t\t\t$this->compressed = true;\n\t\t\t}\n\t\t\tRecipe_Header::add(\"Content-Type\", $this->contentType.\"; charset=\".CHARACTER_SET);\n\t\t\tRecipe_Header::send();\n\t\t}\n\t\treturn $this;\n\t}", "public function getContentType(): string;" ]
[ "0.759542", "0.74129665", "0.73185307", "0.7239835", "0.7227476", "0.7207257", "0.72035766", "0.7193601", "0.7105614", "0.7097829", "0.7035846", "0.6944808", "0.69021314", "0.6868933", "0.68579894", "0.6821064", "0.6816925", "0.67865974", "0.6731833", "0.672247", "0.67081577", "0.66211736", "0.6604159", "0.6579013", "0.65415394", "0.6536723", "0.65360224", "0.65153223", "0.64945495", "0.6471075" ]
0.85537773
0
/ Fetch to fetch the XML tag
function fetch_xml_tag() { return '<?xml version="1.0" encoding="' . $this->charset . '"?>' . "\n"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function get_tag($tag,$xml) { preg_match_all('/<'.$tag.'>(.*)<\\/'.$tag.'>$/imU',$xml,$match); return $match[1]; }", "abstract public function getXML();", "function get_xml() {\n\t\treturn $this->xml;\n\t}", "abstract protected function get_tag();", "function xml_get_tag_inicio() {\n\t\t$xml = '<'.$this->xml_ns.'ci'.$this->xml_ns_url;\n\t\t$xml .= $this->xml_get_att_comunes();\n\t\t$xml .= '>';\n\t\t$xml .= $this->xml_get_elem_comunes();\n\t\treturn $xml;\n\t}", "public function get(): string\n\t{\n\t\treturn $this->xml ?: '';\n\t}", "public function readTag() {}", "public function getTag();", "function XMLgetTagContent1( $xml, $tagName, & $endIx=0 ) {\r\n $strlen = strlen( $tagName );\r\n $sx1 = 0;\r\n while( FALSE !== substr( $xml, $sx1, 1 )) {\r\n if(( FALSE !== substr( $xml, ( $sx1 + $strlen + 1 ), 1 )) &&\r\n ( strtolower( \"<$tagName>\" ) == strtolower( substr( $xml, $sx1, ( $strlen + 2 )))))\r\n break;\r\n if(( FALSE !== substr( $xml, ( $sx1 + $strlen + 3 ), 1 )) &&\r\n ( strtolower( \"<$tagName />\" ) == strtolower( substr( $xml, $sx1, ( $strlen + 4 ))))) { // empty tag\r\n $endIx = $strlen + 5;\r\n return '';\r\n }\r\n if(( FALSE !== substr( $xml, ( $sx1 + $strlen + 2 ), 1 )) &&\r\n ( strtolower( \"<$tagName/>\" ) == strtolower( substr( $xml, $sx1, ( $strlen + 3 ))))) { // empty tag\r\n $endIx = $strlen + 4;\r\n return '';\r\n }\r\n $sx1 += 1;\r\n }\r\n if( FALSE === substr( $xml, $sx1, 1 )) {\r\n $endIx = ( empty( $sx )) ? 0 : $sx - 1;\r\n return '';\r\n }\r\n if( FALSE === ( $pos = stripos( $xml, \"</$tagName>\" ))) { // missing end tag??\r\n $endIx = strlen( $xml ) + 1;\r\n return '';\r\n }\r\n $endIx = $pos + $strlen + 3;\r\n return substr( $xml, ( $sx1 + $strlen + 2 ), ( $pos - $sx1 - 2 - $strlen ));\r\n}", "function getXML(){\n\t\t\treturn $this->_sXML;\n\t\t}", "abstract protected function getTag(): string;", "protected function __get_inner_xml()\n\t{\n\t\t$raw_xml = $this->raw_xml;\n\t\t$raw_xml = substr($raw_xml, strpos($raw_xml, '<' . $this->name) + 1);\n\t\t$raw_xml = substr($raw_xml, strpos($raw_xml, '>') + 1);\n\t\t$raw_xml = substr($raw_xml, 0, strrpos($raw_xml, '</' . $this->name . '>'));\n\n\t\treturn trim($raw_xml);\n\t}", "public function getXML() : string\n {\n return $this->getProperty()->xml;\n }", "function XMLgetTagContent2( $xml, & $tagName, & $endIx ) {\r\n $endIx = strlen( $xml ) + 1; // just in case.. .\r\n $sx1 = 0;\r\n while( FALSE !== substr( $xml, $sx1, 1 )) {\r\n if( '<' == substr( $xml, $sx1, 1 )) {\r\n if(( FALSE !== substr( $xml, ( $sx1 + 3 ), 1 )) && ( '<!--' == substr( $xml, $sx1, 4 ))) // skip comment\r\n $sx1 += 1;\r\n else\r\n break; // tagname start here\r\n }\r\n else\r\n $sx1 += 1;\r\n }\r\n $sx2 = $sx1;\r\n while( FALSE !== substr( $xml, $sx2 )) {\r\n if(( FALSE !== substr( $xml, ( $sx2 + 1 ), 1 )) && ( '/>' == substr( $xml, $sx2, 2 ))) { // empty tag\r\n $tagName = trim( substr( $xml, ( $sx1 + 1 ), ( $sx2 - $sx1 - 1 )));\r\n $endIx = $sx2 + 2;\r\n return '';\r\n }\r\n if( '>' == substr( $xml, $sx2, 1 )) // tagname ends here\r\n break;\r\n $sx2 += 1;\r\n }\r\n $tagName = substr( $xml, ( $sx1 + 1 ), ( $sx2 - $sx1 - 1 ));\r\n $endIx = $sx2 + 1;\r\n if( FALSE === substr( $xml, $sx2, 1 )) {\r\n return '';\r\n }\r\n $strlen = strlen( $tagName );\r\n if(( 'duration' == $tagName ) &&\r\n ( FALSE !== ( $pos1 = stripos( $xml, \"<duration>\", $sx1+1 ))) &&\r\n ( FALSE !== ( $pos2 = stripos( $xml, \"</duration>\", $pos1+1 ))) &&\r\n ( FALSE !== ( $pos3 = stripos( $xml, \"</duration>\", $pos2+1 ))) &&\r\n ( $pos1 < $pos2 ) && ( $pos2 < $pos3 ))\r\n $pos = $pos3;\r\n elseif( FALSE === ( $pos = stripos( $xml, \"</$tagName>\", $sx2 )))\r\n return '';\r\n $endIx = $pos + $strlen + 3;\r\n return substr( $xml, ( $sx1 + $strlen + 2 ), ( $pos - $strlen - 2 ));\r\n}", "public function tag() { return $this->_m_tag; }", "abstract public function fetchXML($parameters);", "function _readXML() { \n\t //App::import('Xml'); \n\t\t$data = explode(\"\\r\\n\", $this->mediaXml);\n\t\t//CakeLog::write('mediainfo',$data[0]);\n\t\t\n\t //$parsed_xml =& new XML($data[0]); \n\t $parsed_xml = Xml::toArray(new SimpleXMLElement($data[0])); \n\t\t//$this->log($parsed_xml, 'ParsedXML');\n\t return $parsed_xml; \n\t }", "function xml_get_info()\n\t{\n\t\t$this->output = $this->ipsclass->compiled_templates['skin_buddy']->xml_showme();\n\t}", "function get_by_tag_att(string $attr, string $value, string $xml, string $tag = ''): string {\n if (empty($tag)) {\n $tag = '\\\\w+';\n } else {\n $tag = preg_quote($tag);\n }\n $attr = preg_quote($attr);\n $value = preg_quote($value);\n $tag_regex = \"/<(\" . $tag . \")[^>]*$attr\\\\s*=\\\\s*\" . \"(['\" . '\"' . \"])$value\\\\\\\\2[^>]*>(.*?)<\\\\/\\\\\\\\1>/\";\n preg_match_all($tag_regex, $xml, $matches, PREG_PATTERN_ORDER);\n $tag = (string) h_get($matches, 3, '');\n return $tag;\n}", "public function getTagName();", "function getTagDoc($doc) {\n\t \t\n\t\techo $doc[\"data\"];\n\t\t\n }", "private function getTag() {\n return $this->tag;\n }", "public function tag(){\n return $this->tag;\n }", "function tag(){return $this->Tag;}", "final public function get_tag() {\n\t\treturn $this->tag;\n\t}", "function get ($pKey) {\r\n $filename = \"xml/$pKey.xml\";\r\n\r\n //Si no está ahi busco en los xml del framework\r\n if (! file_exists($filename))\r\n $filename = '../../common/'. $filename;\r\n\r\n $xml = simplexml_load_file($filename);\r\n return $xml;\r\n }", "function xml_get_tag_fin() {\n\t\treturn '</'.$this->xml_ns.'ci>';\n\t}", "public function getTag()\n {\n return $this->get(self::TAG);\n }", "public function GetXMLValue(){\n\t\treturn $this->renderWith('PlasticStudio\\Sitemap\\Pages\\Layout\\XMLSitemap')->Value;\n\t}", "function wct_get_tag() {\n\treturn apply_filters( 'wct_get_tag', wct()->tag );\n}" ]
[ "0.69916725", "0.69742846", "0.670421", "0.6650946", "0.63368964", "0.6328628", "0.63175404", "0.6256211", "0.6216757", "0.61354655", "0.6030497", "0.60082", "0.5991062", "0.59680235", "0.5948392", "0.5936021", "0.58900005", "0.5851877", "0.58126795", "0.5799238", "0.5789478", "0.57728785", "0.5740289", "0.57269996", "0.5721576", "0.5713553", "0.57026845", "0.56949484", "0.56707", "0.56683004" ]
0.7335889
0
/ Function to add an XML tag to a group
function add_group($tag, $attr = array()) { $this->open_tags[] = $tag; $this->doc .= $this->tabs . $this->build_tag($tag, $attr) . "\n"; $this->tabs .= "\t"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function add_tag($tag_name) {\n\t\tif (false !== $this->closed_xml) {\n\t\t\tthrow new Exception($GLOBALS[\"lib_cake_errors\"][CLOSED_XML], CLOSED_XML);\n\t\t}\n\n\t\t$this->insert(\"<\" . $tag_name . \">\");\n\t\t$this->depth += 2;\n\t}", "public function add($namespace, $tag, $content);", "public function add_element($xw,$tag,$value){\n \n xmlwriter_start_element($xw, $tag);\n xmlwriter_text($xw, $value);\n xmlwriter_end_element($xw);\n }", "function zensus_xmlopen_tag($tag_name, $tag_key = \"\")\n{\n if ($tag_key != \"\")\n $xml_tag_string .= \" key=\\\"\" . zensus_xmlescape ($tag_key ) .\"\\\"\" ;\n $xml_tag_string = \"<\" . $tag_name . $xml_tag_string . \">\";\n return $xml_tag_string;\n}", "function xml_adopt2($root, $new, $namespace = null) {\n // NOTE: addChild does NOT escape \"&\" ampersands in (string)$new !!!\n // replace them or use htmlspecialchars(). see addchild docs comments.\n $node = $root->addChild($new->getName(), (string) $new, $namespace);\n // add any attributes for the new node\n foreach($new->attributes() as $attr => $value) {\n $node->addAttribute($attr, $value);\n }\n // get all namespaces, include a blank one\n $namespaces = array_merge(array(null), $new->getNameSpaces(true));\n // add any child nodes, including optional namespace\n foreach($namespaces as $space) {\n foreach ($new->children($space) as $child) {\n xml_adopt($node, $child, $space);\n }\n }\n}", "public function appendXML($data);", "public function addXML( $name, $value )\r\n {\r\n /** old way <var name=\"T1.TA\" value=\"12\" />\r\n $var = $this->_dom->createElement( $name );\r\n $var->setAttribute( \"name\", $name );\r\n $var->setAttribute( \"value\", $value );\r\n **/\r\n $var = $this->_dom->createElement( $name, $this->escapeXML( $value ) );\r\n $this->_root->appendChild( $var );\r\n }", "public function addTag($tag);", "public function add_xml($id = \"\"){\n\n\t\t$before = true;\n\t\t$position = 1;\n\t\t\n\t\t$this->dom->loadXML($this->xml->asXML());\n\t\t$xpath = new DOMXpath($this->dom);\n\t\t$has_node = false;\n\t\t\n\t\t// Get position to insert element into\n\t\tif(isset($this->sectionParameters['pubDate']))\n\t\t\t$date = $this->sectionParameters['pubDate']['value'];\n\t\telse\n\t\t\t$date = date('r');\n\t\t$position = $this->find_node_by_date(strtotime($date));\n\t\t\n\t\t// get total count of elements\n\t\t$count = $xpath->query(\"//item\")->length;\n\t\tif($count < $position || $count == 0)\n\t\t{\n\t\t\t// we will be inserting the element last (after)\n\t\t\t$before = false;\n\t\t\t\n\t\t\t// the position to find is the last element in the list\n\t\t\t$position = $count;\n\t\t}\n\n\t\tif(empty($id))\n\t\t\t$id = $this->getNewId();\n\t\t\n\t\tif($before)\n\t\t{\n\t\t\t$nodes = $xpath->query(\"//item[\".$position.\"]\");\n\t\t\tforeach($nodes as $node){\n\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\t$contents = $this->createNode($id);\n\t\t\t\t}catch(Exception $e){\n\t\t\t\t\tthrow $e;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// append new 'item' to dom\n\t\t\t\t$node->parentNode->insertBefore($contents, $node);\n\t\t\t\t$has_node = true;\n\t\t\t}\n\t\t}\n\t\n\t\t// =========================================\n\t\t//\tIF THERE ARE NO ITEMS TO START WITH\n\t\t// =========================================\n\t\tif(!$has_node)\n\t\t{\n\t\t\t$nodes = $xpath->query(\"//channel\");\n\t\t\tforeach($nodes as $node){\n\n\t\t\t\t$contents = $this->createNode($id);\n\t\t\t\t\n\t\t\t\t// append new 'item' to dom\n\t\t\t\t$node->appendChild($contents);\n\t\t\t}\n\t\t}\n\t\t\n\t\t// transfer back to simpleXML\n\t\tif(!$this->xml = simplexml_import_dom($this->dom))\n\t\t\tthrow new Exception(\"Error loading XML.\");\n\n\t\tif($this->debugging)\n\t\t\t$this->printDebug($this->xml, 'Added Section');\n\n\t\treturn true;\n\t}", "function SimpleXMLElement_append($key, $value) {\n // check class\n if ((get_class($key) == 'SimpleXMLElement')\n && (get_class($value) == 'SimpleXMLElement')) {\n // check if the value is string value / data\n if (trim((string) $value) == '') {\n // add element and attributes\n $element = $key->addChild($value->getName());\n foreach ($value->attributes() as $attKey => $attValue) {\n $element->addAttribute($attKey, $attValue);\n }\n // add children\n foreach ($value->children() as $child) {\n SimpleXMLElement_append($element, $child);\n }\n } else {\n // set the value of this item\n $element = $key->addChild($value->getName(), trim((string) $value));\n }\n } else {\n // throw an error\n throw new Exception('Wrong type: expected SimpleXMLElement');\n }\n}", "function mergeXML(&$base, $add) { \n\t\tif ($add->count() != 0)\n\t\t\t$new = $base->addChild($add->getName());\n\t\telse \n\t\t\t$new = $base->addChild($add->getName(), $add);\n\t\tforeach ($add->attributes() as $a => $b)\n\t\t\t$new->addAttribute($a, $b);\n\t\tif ($add->count() != 0) { \n\t\t\tforeach ($add->children() as $child) \n\t\t\t mergeXML($new, $child);\n\t\t} \n\t}", "function zensus_xmltag($tag_name, $tag_content, $tag_attributes = null)\n{\n if (is_array($tag_attributes)){\n foreach($tag_attributes as $key => $value){\n $xml_tag_string .= \" $key=\\\"\" .zensus_xmlescape($value).\"\\\" \";\n }\n }\n $xml_tag_string = \"<\" . $tag_name . $xml_tag_string . \">\"\n . zensus_xmlescape ( $tag_content )\n . \"</\" . $tag_name . \">\\n\";\n return $xml_tag_string;\n}", "function zensus_xmlclose_tag($tag_name)\n{\n $xml_tag_string = \"</\" . $tag_name . \">\\n\";\n return $xml_tag_string;\n}", "protected abstract function doWriteStartElement($elementName);", "function _insert_xml_element($schema, $tag, $value, $xml_element){\n // Apply process function\n if(isset($schema['#process'])){\n $f = $schema['#process'];\n if(!function_exists($f)){throw new Exception(\"Process function $f for tag $tag does not exist\");}\n $args = array(\n $value\n );\n if(!empty($schema['#process arguments'])){\n $args = array_merge($args, $schema['#process arguments']);\n }\n $value = call_user_func_array($f, $args);\n }\n // Check for standard drupal field value format. Anything that is a direct value, or\n // an array definined 'value' will need a 'process' function defined.\n if(is_array($value) && isset($value['value'])){\n $value = $value['value'];\n }\n // Create the xml element\n $child_element = $xml_element->appendChild($this->_dom->createElement($tag));\n // Add attributes\n if(!empty($schema['#attributes'])){\n foreach($schema['#attributes'] as $attr_name => $attr_value){\n if(is_callable($attr_value)){\n $attr_value = $attr_value($this->_get_context());\n }\n $child_element->setAttribute($attr_name, $attr_value);\n }\n }\n // Add value\n foreach($this->modifiers as $modifier){\n $value = $modifier->insert_value($tag, $schema, $value);\n }\n if($value !== NULL){\n $fragment = $this->_dom->createDocumentFragment();\n $final_value = $value;\n // Escape the value if needed\n if(empty($schema['#raw'])){\n $final_value = htmlspecialchars($final_value);\n }else{\n $final_value = '<div>' . $final_value . '</div>';\n }\n // Ensure entities are numerical\n $final_value = _publication_xml_translate_entities($final_value);\n $fragment->appendXML($final_value);\n $child_element->appendChild($fragment);\n }\n return $child_element;\n }", "function addKeyword($keywordItem) {\n global $xml;\n global $xml_keyword;\n $xml_keywordItem = $xml ->createElement(\"KeyItem\",$keywordItem);\n $xml_keyword->appendChild($xml_keywordItem);\n}", "protected abstract function doWriteEndElement();", "function mungXML($xml)\n{\n $obj = SimpleXML_Load_String($xml);\n if ($obj === FALSE) return $xml;\n\n // GET NAMESPACES, IF ANY\n $nss = $obj->getNamespaces(TRUE);\n if (empty($nss)) return $xml;\n\n // CHANGE ns: INTO ns_\n $nsm = array_keys($nss);\n foreach ($nsm as $key)\n {\n // A REGULAR EXPRESSION TO MUNG THE XML\n $rgx\n = '#' // REGEX DELIMITER\n . '(' // GROUP PATTERN 1\n . '\\<' // LOCATE A LEFT WICKET\n . '/?' // MAYBE FOLLOWED BY A SLASH\n . preg_quote($key) // THE NAMESPACE\n . ')' // END GROUP PATTERN\n . '(' // GROUP PATTERN 2\n . ':{1}' // A COLON (EXACTLY ONE)\n . ')' // END GROUP PATTERN\n . '#' // REGEX DELIMITER\n ;\n // INSERT THE UNDERSCORE INTO THE TAG NAME\n $rep\n = '$1' // BACKREFERENCE TO GROUP 1\n . '_' // LITERAL UNDERSCORE IN PLACE OF GROUP 2\n ;\n // PERFORM THE REPLACEMENT\n $xml = preg_replace($rgx, $rep, $xml);\n }\n\n return $xml;\n\n}", "protected function insert($value) {\n\t\tif (false !== $this->closed_xml) {\n\t\t\tthrow new Exception($GLOBALS[\"lib_cake_errors\"][CLOSED_XML], CLOSED_XML);\n\t\t}\n\n\t\tfor ($i = 0; $i < $this->depth; $i++) {\n\t\t\t$this->xml .= \" \";\n\t\t}\n\t\t$this->xml .= $value . \"\\n\";\n\t}", "function loadXMLappendElementdAndSave()\n {\n $strXML =\n'<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<eZREST function=\"This is the functionName\"/>\n<eZREST function=\"This is the functionName2\"/>\n';\n\n $domDocument = $this->createDocument();\n $domDocument->loadXML( $strXML );\n $rootElement =& $domDocument->createElement( 'eZREST2' );\n $rootElement->setAttribute( 'function', 'This is the functionName added 2' );\n $domDocument->appendChild( $rootElement );\n return $domDocument->saveXML();\n }", "function tag_open($parser, $tag, $attrs)\n {\n $this->rss['current_tag'] = $tag = strtolower($tag);\n switch ($tag)\n {\n case 'channel':\n case 'image':\n case 'textinput':\n $this->type = $tag;\n break;\n case 'item':\n $this->type = $tag;\n $this->rss['index']++;\n break;\n default:\n break;\n }\n if (sizeof($attrs))\n foreach ($attrs as $k => $v)\n if (strpos($k, 'xmlns') !== false)\n $this->data['namespaces'][$k] = $v;\n }", "public function addTags( \\DOMElement $el )\n {\n if($this->subscribe) {\n $el->appendChild( $this->subscribe->element() );\n }\n if($this->rating) {\n $el->appendChild( $this->rating->element() );\n }\n if($this->location) {\n $el->appendChild( $this->createElement('rawvoice:location', $this->location));\n }\n if($this->frequency) {\n $el->appendChild( $this->createElement('rawvoice:frequency', $this->frequency));\n }\n if($this->poster) {\n $el->appendChild( $this->createElement('rawvoice:poster', $this->poster));\n }\n if($this->isHd) {\n $el->appendChild( $this->createElement('rawvoice:isHd', 'yes'));\n }\n if($this->donate) {\n $donate = $el->appendChild( $this->createElement('rawvoice:donate', $this->donateValue));\n $donate->setAttribute('href', $this->donate);\n }\n }", "public function addGroup($group): self;", "public function appendXML( ExtendedSimpleXMLElement $append)\n {\n if ($append) {\n if (strlen(trim((string)$append)) == 0) {\n $xml = $this->addChild($append->getName());\n } else {\n $xml = $this->addChild($append->getName(), (string)$append);\n }\n\n foreach ($append->children() as $child) {\n $xml->appendXML($child);\n }\n\n foreach ($append->attributes() as $n => $v) {\n $xml->addAttribute($n, $v);\n }\n }\n }", "abstract public function getAdSubElementTagName(): string;", "function add_tag($tag, $content = '', $attr = array(), $cdata = false, $htmlspecialchars = false)\n\t{\n\t\t$this->doc .= $this->tabs . $this->build_tag($tag, $attr, ($content === ''));\n \n\t\tif ($content !== '')\n\t\t{\n\t\t\tif ($htmlspecialchars)\n\t\t\t{\n\t\t\t\t$this->doc .= htmlspecialchars_uni($content);\n\t\t\t}\n\t\t\telse if ($cdata OR preg_match('/[\\<\\>\\&\\'\\\"\\[\\]]/', $content))\n\t\t\t{\n\t\t\t\t$this->doc .= '<![CDATA[' . $this->escape_cdata($content) . ']]>';\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t$this->doc .= $content;\n\t\t\t}\n \n\t\t\t$this->doc .= \"</$tag>\\n\";\n\t\t}\n\t}", "private function appendXmlNode($domDocument, $parentNode, $name, $value)\n {\n $childNode = $domDocument->createElement($name);\n $childNodeValue = $domDocument->createTextNode($value);\n $childNode->appendChild($childNodeValue);\n $parentNode->appendChild($childNode);\n }", "public function add_group( array $args, $position = 0 );", "protected function _createElement()\r\n {\r\n $key = $this->_key;\r\n $this->_key = $this->_name;\r\n parent::_createElement();\r\n $this->_key = $key;\r\n }", "private function addGroupToGroup($groupToAdd, $group) {\r\n\t\treturn $this->setAttribute($this->groupDN($group), 'member', $this->groupDN($groupToAdd));\r\n\t}" ]
[ "0.61899734", "0.60610527", "0.60325366", "0.5867378", "0.58289284", "0.57863784", "0.57514477", "0.56349", "0.5627433", "0.5617512", "0.55876476", "0.55777323", "0.555665", "0.54888594", "0.54728085", "0.54416674", "0.54331404", "0.53883106", "0.5379775", "0.53633285", "0.5351402", "0.53443766", "0.5323589", "0.5292463", "0.5282086", "0.5268247", "0.5244271", "0.5244171", "0.52228045", "0.5168439" ]
0.68937707
0
/ Function to close the xml group
function close_group() { $tag = array_pop($this->open_tags); $this->tabs = mb_substr($this->tabs, 0, -1); $this->doc .= $this->tabs . "</$tag>\n"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function close() {\n\t\tif (false !== $this->closed_xml) {\n\t\t\tthrow new Exception($GLOBALS[\"lib_cake_errors\"][CLOSED_XML], CLOSED_XML);\n\t\t}\n\n\t\t$this->depth -= 2;\n\t\t$this->insert(\"</body>\");\n\n\t\t$this->closed_xml = true;\n\t}", "public function closeGroup()\n {\n $this->groupSeq = -1;\n }", "public function closeGroup();", "public function close() : string\n {\n if ($this->isVoidElement()) {\n return '';\n }\n\n return '</' . $this->name . '>';\n }", "private function createCloseTag()\n {\n return '</' . $this->tag . '>';\n }", "function zensus_xmlclose_tag($tag_name)\n{\n $xml_tag_string = \"</\" . $tag_name . \">\\n\";\n return $xml_tag_string;\n}", "public static function closeSingleTag(){\n\t\treturn ' />';\n\t}", "function end_element($parser,$name){}", "function _tag_close( &$parser, $tag ) {\n\t\t$this->currentElement = '';\n\t\t\n\t\tswitch( strtoupper( $tag ) ) {\n\t\t\tcase 'INDEX':\n\t\t\t\txml_set_object( $parser, $this->parent );\n\t\t\t\tbreak;\n\t\t}\n\t}", "public function closeTag()\n {\n return '</button>';\n }", "private function setCloseTag(){\n if(substr($this->doctype, 0, 5) == 'xhtml' || substr($this->doctype, 0, 5) == 'html5'){\n $this->closetag = \" />\";\n }else{\n $this->closetag = \">\";\n }\n }", "function closeTag($tag)\n{\n return \"</\" . $tag . \">\";\n}", "public function __destruct()\n {\n $this->writer->endElement();\n $this->writer->endDocument();\n }", "public function closeSection()\n {\n $this->depth--;\n }", "public function closeTag($tagName);", "public function end()\n {\n return $this->endGroup();\n }", "public function groupEnd()\n {\n $this->append(')');\n\n return $this;\n }", "private function closeXml($save = FALSE) {\n$this->logger->append('closeXml start')->store();\n \n $this->_XML->appendChild($this->_ROOT);\n \n $info = [];\n $info['generate_time'] = round($this->getProcessTime(), 2) . 's';\n \n array_walk($info, function(&$item, $key) {\n $item = $key . ': ' . $item;\n });\n $this->_XML->insertBefore($this->_XML->createComment(\n implode(', ', $info)\n ), $this->_ROOT);\n \n if ($save) {\n $this->_XML->save($this->filePath);\n chmod($this->filePath, 0777);\n return $this->_XML;\n } else {\n header('Content-type: text/xml; charset=UTF-8');\n echo $this->_XML->saveXML();\n exit();\n }\n }", "function endElement() {\n if($ssize=count($this->stack)) {\n\t\t $e=$this->stack[$ssize-1];\n\t\t if($e['o']) {\n\t\t\t\t$this->buffer.=\"/>\".($this->indent?\"\\n\":'');\n\t\t } else {\n\t\t\t\tif(!$e['t']) {\n\t\t\t\t if($this->indent) {\n\t\t\t\t\t\tif(substr($this->buffer,-1)!=\"\\n\")\n\t\t\t\t\t\t $this->buffer.=\"\\n\";\n\t\t\t\t\t\tfor($i=1;$i<$ssize;$i++)\n\t\t\t\t\t\t $this->buffer.=$this->indent;\n\t\t\t\t }\n\t\t\t\t}\n\t\t\t\t$this->buffer.='</'.(($e['p']!==NULL)?($e['p'].':'):'').$e['n'].\">\".($this->indent?\"\\n\":'');\n\t\t \t}\n\t\t unset($this->stack[$ssize-1]);\n\t\t}\n }", "public static function close(){\n\t\treturn '</form>';\n\t}", "function xml_get_tag_fin() {\n\t\treturn '</'.$this->xml_ns.'ci>';\n\t}", "function xmlendElement($parser, $name) {\n \tglobal $curEle,$prop,$TrazaStatus;\n\n\n\t\tif ($TrazaStatus>1)\n\t\t\tdebug(\"Propiedad \\\"$curEle[0]\\\" Tipo \\\"$curEle[1]\\\" Descripcion \\\"$curEle[2]\\\"\",\"blue\");\n\t\t$prop[\"p\"][$curEle[0]]=\"\";\n\t\t$prop[\"pd\"][$curEle[0]]=$curEle[2];\n\t\t$prop[\"pt\"][$curEle[0]]=$curEle[1];\n\n\n\n\n\t}", "public function closeTag() {\n return '</form>';\n }", "public function finishGroup(HTML_QuickForm2_Node $group)\r\n {\r\n $this->renderElement($group);\r\n }", "function xmlendElement($parser, $name) {\r\n global $curEle, $prop, $TrazaStatus;\r\n\r\n\r\n if ($TrazaStatus > 1)\r\n debug(\"Propiedad \\\"$curEle[0]\\\" Tipo \\\"$curEle[1]\\\" Descripcion \\\"$curEle[2]\\\"\", \"blue\");\r\n $prop[\"p\"][$curEle[0]] = \"\";\r\n $prop[\"pd\"][$curEle[0]] = $curEle[2];\r\n $prop[\"pt\"][$curEle[0]] = $curEle[1];\r\n }", "static function end_with_xml($content=''){\n\t\tself::respond_with_xml($content);\n\t\texit;\n\t}", "public function endElement()\n {\n $this->buffer->endElement();\n }", "function endElement($parser,$name)\n{\n global $element_pile;\n global $exercise_info;\n\tglobal $current_question_ident;\n global $record_item_body;\n global $current_question_item_body;\n global $non_HTML_tag_to_avoid;\n global $cardinality;\n\n\t$current_element = end($element_pile);\n\n //treat the record of the full content of itembody tag :\n\n if ($record_item_body && (!in_array($current_element,$non_HTML_tag_to_avoid)))\n {\n $current_question_item_body .= \"</\".$name.\">\";\n }\n\n switch ($name)\n {\n case 'ITEMBODY':\n {\n $record_item_body = false;\n if ($exercise_info['question'][$current_question_ident]['type']=='FIB')\n {\n $exercise_info['question'][$current_question_ident]['response_text'] = $current_question_item_body;\n }\n else\n {\n $exercise_info['question'][$current_question_ident]['statement'] = $current_question_item_body;\n }\n }\n break;\n }\n array_pop($element_pile);\n\n}", "public static function close() {\n return '</form>';\n }", "public static function renderOptionGroupClose(){\n\t\tself::out(\n\t\t\tself::closeTag('optgroup')\n\t\t);\n\t}" ]
[ "0.76452", "0.7203392", "0.69397575", "0.67251176", "0.6601023", "0.659169", "0.6503974", "0.64692235", "0.6374443", "0.6350619", "0.63353646", "0.630817", "0.6220112", "0.6178256", "0.61105824", "0.6086273", "0.60725915", "0.60453427", "0.6039259", "0.60315585", "0.6026032", "0.6019287", "0.5977511", "0.59734744", "0.59721804", "0.5967353", "0.5967129", "0.5919765", "0.5889611", "0.5887451" ]
0.8010543
0
/ Function to escape XML CDATA
function escape_cdata($xml) { $xml = preg_replace('#[\\x00-\\x08\\x0B\\x0C\\x0E-\\x1F]#', '', $xml); return str_replace(array('<![CDATA[', ']]>'), array('«![CDATA[', ']]»'), $xml); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function unescape_cdata($xml)\n\t{\n\t\tstatic $find, $replace;\n\t\tif (!is_array($find))\n\t\t{\n\t\t\t$find = array('«![CDATA[', ']]»', \"\\r\\n\", \"\\n\");\n\t\t\t$replace = array('<![CDATA[', ']]>', \"\\n\", \"\\r\\n\");\n\t\t}\n\t\treturn str_replace($find, $replace, $xml);\n\t}", "private static function _escapeCdata($sXml)\n\t{\n\t\t$sXml = preg_replace('#[\\\\x00-\\\\x08\\\\x0B\\\\x0C\\\\x0E-\\\\x1F]#', '', $sXml);\n\n\t\treturn str_replace(array('<![CDATA[', ']]>'), array('�![CDATA[', ']]�'), $sXml);\t\n\t}", "function wxr_cdata( $str ) {\n\t\t\tif ( seems_utf8( $str ) == false )\n\t\t\t\t$str = utf8_encode( $str );\n\n\t\t\t// $str = ent2ncr(esc_html($str));\n\t\t\t$str = '<![CDATA[' . str_replace( ']]>', ']]]]><![CDATA[>', $str ) . ']]>';\n\n\t\t\treturn $str;\n\t\t}", "function _to_cdata($data)\n\t{\n\t\t$inCdata = $inComment = false;\n\t\t$output = '';\n\n\t\t$parts = preg_split('~(<!\\[CDATA\\[|\\]\\]>|<!--|-->)~', $data, -1, PREG_SPLIT_DELIM_CAPTURE);\n\t\tforeach ($parts as $part)\n\t\t{\n\t\t\t// Handle XML comments.\n\t\t\tif (!$inCdata && $part === '<!--')\n\t\t\t\t$inComment = true;\n\t\t\tif ($inComment && $part === '-->')\n\t\t\t\t$inComment = false;\n\t\t\telseif ($inComment)\n\t\t\t\tcontinue;\n\n\t\t\t// Handle Cdata blocks.\n\t\t\telseif (!$inComment && $part === '<![CDATA[')\n\t\t\t\t$inCdata = true;\n\t\t\telseif ($inCdata && $part === ']]>')\n\t\t\t\t$inCdata = false;\n\t\t\telseif ($inCdata)\n\t\t\t\t$output .= htmlentities($part, ENT_QUOTES);\n\n\t\t\t// Everything else is kept as is.\n\t\t\telse\n\t\t\t\t$output .= $part;\n\t\t}\n\n\t\treturn $output;\n\t}", "function xml_escape($s, $input_charset = \"UTF-8\") {\n return htmlspecialchars($s, ENT_QUOTES, $input_charset);\n}", "public function setCDATA() {\n $this->startCDATA = \"<![CDATA[\";\n $this->endCDATA = \"]]>\";\n }", "function cdataHandler($xp, $data)\n {\n if (trim($data) != '') {\n $this->cdata .= $data;\n }\n }", "public static function cdata($text)\r\n\t{\r\n\t\treturn '<![CDATA[' . $text . ']]>';\r\n\t}", "public static function escapeCdata($input)\n\t{\n\t\t$res = str_replace(']]>', ']]]]><![CDATA[>', $input);\n\n\t\treturn $res;\n\t}", "public function writeCData($content) { \n\t\t// This approach is fairly well documented: http://en.wikipedia.org/wiki/CDATA#Nesting \n\t\t// Basically because we can't nest the CDATA tags (because a CDATA block can't contain \n\t\t// the literal \"]]>\") we find occurances of \"]]>\" split it in to \"]]\" and \">\" then \n\t\t// close and reopen a new CDATA block in between. \n\t\t$content = str_replace(']]>', ']]]]><![CDATA[>', $content);\n\t\t$content = $this->translateEncoding($content);\n\t\treturn parent::writeCData($content);\n\t}", "function xmlspecialchars($text, $charset='UTF-8') {\n return str_replace('&#039;', '&apos;', htmlspecialchars($text, ENT_QUOTES, $charset));\n}", "public static function create_cdata($document, $parent, $value)\n\t{\n\t\tif ($document instanceof SimpleXMLElement)\n\t\t{\n\t\t\t$parent = dom_import_simplexml($parent);\n\t\t\t$document = $parent->ownerDocument;\n\t\t}\n\t\t\t\n\t\t$element = $document->createCDATASection($value);\n\t\t$parent->appendChild($element);\n\t\t\n\t\treturn $element;\n\t}", "public function CData($data){ return ($data == \"\") ? \"\":\"<![CDATA[$data]]>\"; }", "private function cdata($cdata)\n {\n $this->pointer['cdata'] = trim($cdata);\n }", "function handle_cdata(&$parser, $data)\n\t{\n\t\t$this->cdata .= $data;\n\t}", "function xmlEscape($str)\n\t{\n\t\treturn htmlspecialchars($str,ENT_COMPAT, \"UTF-8\");\n\t}", "public static function cdata(\\SimpleXMLElement $node, $value)\n {\n $base = dom_import_simplexml($node);\n $docOwner = $base->ownerDocument;\n $base->appendChild($docOwner->createCDATASection($value));\n return $node;\n }", "public static function escapeXml( $string )\r\n\t{\r\n\t\t$string = trim($string);\r\n\t\t\r\n\t\t$string = str_replace('&', '&amp;', $string);\r\n\t\t$string = str_replace('<', '&lt;', $string);\r\n\t\t$string = str_replace('>', '&gt;', $string);\r\n\t\t$string = str_replace('\\'', '&#39;', $string);\r\n\t\t$string = str_replace('\"', '&quot;', $string);\r\n\t\t\r\n\t\t$string = str_replace(\"&amp;#\", \"&#\", $string);\r\n\t\t$string = str_replace(\"&amp;amp;\", \"&amp;\", $string);\r\n\t\t\r\n\t\t// trying to catch unterminated entity references\r\n\t\t\r\n\t\t$string = preg_replace('/(&#[a-hA-H0-9]{2,5})\\s/', \"$1; \", $string);\r\n\t\t\r\n\t\treturn $string;\r\n\t}", "public function text($cdata);", "public function escape_xml( $string ){\n\t\treturn str_replace(array('&', '<', '>', '\\'', '\"'), array('&amp;', '&lt;', '&gt;', '&apos;', '&quot;'), $string);\n\t}", "public static function escapeXML($string)\n\t{\n\t\treturn esc_xml((string)$string);\n\t}", "function xmlenc($str, $charset = \"ISO-8859-1\")\n{\n //return htmlentities ( $str, ENT_QUOTES, \"ISO-8859-1\" );\n $str = str_replace(\"&\", \"&amp;\", $str);\n $str = str_replace(\"<\", \"&lt;\", $str);\n $str = str_replace(\">\", \"&gt;\", $str);\n return $str;\n}", "public function _xmlEscape($string) {\n $encoding = 'UTF-8';\n if ($this->_view instanceof Zend_View_Interface && method_exists($this->_view, 'getEncoding')) {\n $encoding = $this->_view->getEncoding();\n }\n if (version_compare(PHP_VERSION, '5.2.3', '>=')) {\n return htmlspecialchars($string, ENT_QUOTES, $encoding, false);\n } else {\n $string = preg_replace('/&(?!(?:#\\d++|[a-z]++);)/ui', '&amp;', $string);\n $string = str_replace(array('<', '>', '\\'', '\"'), array('&lt;', '&gt;', '&#39;', '&quot;'), $string);\n return $string;\n }\n }", "public static function escapeXML( $value )\r\n {\r\n return str_replace( '&', '&amp;', $value );\r\n }", "public static function escapeXml($s): string\n\t{\n\t\tif ($s instanceof HtmlStringable) {\n\t\t\treturn $s->__toString();\n\t\t}\n\n\t\t// XML 1.0: \\x09 \\x0A \\x0D and C1 allowed directly, C0 forbidden\n\t\t// XML 1.1: \\x00 forbidden directly and as a character reference,\n\t\t// \\x09 \\x0A \\x0D \\x85 allowed directly, C0, C1 and \\x7F allowed as character references\n\t\t$s = preg_replace('#[\\x00-\\x08\\x0B\\x0C\\x0E-\\x1F]#', \"\\u{FFFD}\", (string) $s);\n\t\treturn htmlspecialchars($s, ENT_QUOTES | ENT_XML1 | ENT_SUBSTITUTE, 'UTF-8');\n\t}", "public function addCData($cdata_text)\n {\n $node = dom_import_simplexml($this);\n $no = $node->ownerDocument;\n $node->appendChild($no->createCDATASection($cdata_text));\n }", "function cdata($parser, $cdata)\n {\n if (strlen(trim($cdata)) && $cdata != \"\\n\")\n switch ($this->type)\n {\n case 'channel':\n case 'image':\n case 'textinput':\n (!isset($this->data[$this->type][$this->rss['current_tag']]) ||\n !strlen($this->data[$this->type][$this->rss['current_tag']])) ?\n $this->data[$this->type][$this->rss['current_tag']] = $cdata :\n $this->data[$this->type][$this->rss['current_tag']].= $cdata;\n break;\n case 'item':\n (!isset($this->data['items'][$this->rss['index']-1][$this->rss['current_tag']]) ||\n !strlen($this->data['items'][$this->rss['index']-1][$this->rss['current_tag']])) ?\n $this->data['items'][$this->rss['index']-1][$this->rss['current_tag']] = $cdata :\n $this->data['items'][$this->rss['index']-1][$this->rss['current_tag']].= $cdata;\n break;\n }\n }", "public function cdata($text)\n {\n // TODO: Implement cdata() method.\n }", "protected function _from_cdata($data)\n\t{\n\t\t// Get the HTML translation table and reverse it.\n\t\t$trans_tbl = array_flip(get_html_translation_table(HTML_ENTITIES, ENT_QUOTES));\n\n\t\t// Translate all the entities out.\n\t\t$data = strtr(preg_replace('~&#(\\d{1,4});~e', \"chr('\\$1')\", $data), $trans_tbl);\n\n\t\treturn $this->trim ? trim($data) : $data;\n\t}", "public static function escapeXmlTag($s): string\n\t{\n\t\t$s = self::escapeXml((string) $s);\n\t\treturn preg_replace_callback(\n\t\t\t'#[=/\\s]#',\n\t\t\tfn($m) => '&#' . ord($m[0]) . ';',\n\t\t\t$s,\n\t\t);\n\t}" ]
[ "0.74337745", "0.716367", "0.6847818", "0.6721344", "0.67057836", "0.6638452", "0.65466356", "0.6495185", "0.6452054", "0.6440674", "0.6414283", "0.6267376", "0.6264073", "0.6230218", "0.61939234", "0.61194587", "0.6094008", "0.60813135", "0.60740304", "0.6064246", "0.5985579", "0.59841263", "0.59768015", "0.59758556", "0.59631586", "0.5941663", "0.58603144", "0.58456004", "0.57702035", "0.5749262" ]
0.8030957
0
/ Function to print the XML
function print_xml() { $this->send_content_type_header(); echo $this->fetch_xml_tag() . $this->output(); exit; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function print_xml(){\n $tag = $this->label;\n if ($this->gPrefix) {\n $tag = 'g:' . $tag;\n }\n echo ' <' . $tag . '>';\n $this->print_value();\n echo '</' . $tag . '>' . \"\\n\";\n }", "function prettyPrint() {\r\n\t\t$this->xmlDoc->preserveWhiteSpace = false;\r\n\t\t$this->xmlDoc->formatOutput = true;\r\n\t\treturn $this->xmlDoc->saveXML();\r\n\t}", "function print_xml($val, $header, $bkcolor='') {\n\t\t// Setup\n\t\t$xml = formatXmlString($val);\n\t\tif ($header != \"\") {\n\t\t\techo '<h3 class=\"short_headline\"><span>'. $header . '</span></h3>';\n\t\t}\n\t\tif ($bkcolor != \"\") {\n\t\t\techo '<pre style=\"background-color: ' . $bkcolor . ';\">';\n\t\t}\n\t\telse {\n\t\t\techo '<pre>';\n\t\t}\n\t\techo '<td><textarea rows=\"' . (countLInes($xml) + 2) .'\" name=\"XML_soap_textarea\" style=\"width:100%;\">';\n\t\t$xml = cleanup_auth_values($xml);\n\t\techo $xml;\n\t\techo '</textarea></td>';\n\t\techo '</pre>';\n\t}", "function print_value(){\n if (is_array($this->value)){\n foreach($this->value as $value){\n $value->print_xml();\n }\u0010\n } else {\n echo $this->value;\n }\n }", "function display_XML()\n {\n return trim(XWL::process_code($this->value));\n }", "public function xmlToScreen()\n\t{\n\t\t$fp = fopen($this->outputName, 'rb');\n\t\t// send the right headers\n\t\theader(\"Content-Type: text/xml\");\n\t\theader(\"Content-Length: \" . filesize($this->outputName));\n\t\t// dump the file and stop the script\n\t\tfpassthru($fp);\n\t\texit;\n\t}", "public function output(){\n header('Content-type: text/xml');\n echo $this->getDocument();\n }", "public function output(){ \n header('Content-type: text/xml'); \n echo $this->getDocument();\n }", "public function xml();", "function display_XML()\n {\n return date('r', strtotime($this->value));\n }", "function print_xmldoc($val, $rowcount = 14, $padcnt = 4, $bkcolor = '#eee') {\n\t\techo '<pre style=\"background-color: ' . $bkcolor . '\">';\n\t\techo '<td><textarea rows=\"' . $rowcount . '\" name=\"XML_textarea\" style=\"width:100%;\">';\n\t\techo formatXmlString($val, $padcnt);\n\t\techo '</textarea></td>';\n\t\techo '</pre>';\n\t}", "function printRDF() {\n return $this->dom_doc->saveXML();\n }", "function print_html() {\n\t\tif($this->name == \"text\") {\n\t\t\techo $this->contents;\n\t\t\treturn;\n\t\t}\n\t\tif($this->name == \"root\") {\n\t\t\tfor($i = 0; $i < sizeof($this->children); $i++) {\n\t\t\t\t$this->children[$i]->print_html();\n\t\t\t}\t\t\t\t\n\t\t\treturn;\n\t\t}\n\t\tif($this->type == \"single\") {\n\t\t\techo htmlentities(\"<\" . $this->name . \" />\");\n\t\t\treturn;\n\t\t}\n\t\techo htmlentities(\"<\" . $this->name . \">\");\n\t\tfor($i = 0; $i < sizeof($this->children); $i++) {\n\t\t\t$this->children[$i]->print_html();\n\t\t}\t\t\n\t\techo htmlentities(\"</\" . $this->name .\">\");\n\t}", "function write() {\n var_dump(\"writing stuff to XML\");\n }", "public function formatXML() {\n $orig = $this->text;\n\n // check for <p> tags, and if none, then add them to each line\n if (strpos($orig, \"<p>\") === false && strpos($orig, \"<objectXML\") === false) {\n $new = \"\";\n foreach (preg_split(\"/((\\r?\\n)|(\\r\\n?))/\", $orig) as $par) {\n if (!empty(trim($par))) {\n $new .= \"<p>\".htmlentities(trim($par), ENT_COMPAT|ENT_XML1).\"</p>\\n\"; \n }\n } \n $orig = $new;\n } else if (strpos($orig, \"<objectXML\") !== false) {\n $orig = str_replace(\"xmlns=\\\"\\\"\", \"xmlns=\\\"http://socialarchive.iath.virginia.edu/control/term#snacAdHocRandD\\\"\", $orig);\n }\n\n $this->text = $orig;\n }", "function dump($xmlHeader = false)\n {\n if ($xmlHeader) {\n header('Content-type: text/xml');\n }\n echo $this->get();\n }", "public function toXML();", "function xml_get_info()\n\t{\n\t\t$this->output = $this->ipsclass->compiled_templates['skin_buddy']->xml_showme();\n\t}", "public static function printXML($array)\n {\n $data = PrivatHelper::array2data($array);\n $xml = PrivatHelper::data2xml('Search', 'Payer', $data);\n echo PrivatHelper::_print_xml($xml);\n }", "function display_XML()\n {\n return trim($this->value);\n }", "function display_XML()\n {\n return trim($this->value);\n }", "function printResults($cdg) \r\n{\r\n \theader('Content-type:text/xml;charset=\"utf-8\"');\r\n \t$xmlDoc = new MiniXMLDoc();\r\n \t$xmlRoot =& $xmlDoc->getRoot();\r\n \t$resultadosGenerales =& $xmlRoot->createChild('resultadosGenerales');\r\n\t$resultadosGenerales->attribute('resultado', 1); \r\n\t\r\n\t$codigo =& $resultadosGenerales->createChild('codigo');\r\n\t$codigo->text('<![CDATA['.$cdg->getCodigo().']]>');\r\n\t\t \r\n\tprint html_entity_decode($xmlDoc->toString(MINIXML_NOWHITESPACES));\r\n}", "public function renderXML() {\n header('Content-type: text/plain;');\n \n $this->end(XML::array2XML($this->data, 'data'));\n }", "function __toString() {\n \n $tagOpen = \"<\";\n $tagClose = \">\";\n $tagBreak = \"\";\n \n // Set xml-decleration and doc-type if this is the root-element\n $retVal = \"\";\n if (is_null($this->parentNode)) {\n $retVal .= $this->xmlDecl;\n $retVal .= $this->docTypeDecl;\n }\n \n // If this element has attributes, gather them\n $sAttr = \"\";\n if (isset($this->attributes)) {\n foreach ($this->attributes as $key => $val)\n $sAttr .= \" $key=\\\"$val\\\"\";\n }\n \n if (isset($this->nodeName)) {\n if ($this->hasChildNodes()) {\n $retVal .= $tagOpen.$this->nodeName.$sAttr.$tagClose.$tagBreak;\n } elseif (isset($this->firstChild->nodeValue)) {\n $retVal .= $tagOpen.$this->nodeName.$sAttr.$tagClose.$this->firstChild->nodeValue.$tagOpen.\"/\".$this->nodeName.$tagClose.$tagBreak;\n } else {\n $retVal .= $tagOpen.$this->nodeName.$sAttr.\" /\".$tagClose.$tagBreak;\n }\n }\n \n if ($this->hasChildNodes()) {\n foreach ($this->childNodes as $child) {\n \n switch ($child->nodeType) {\n case XML_TYPE_NODE: // node\n default:\n \n $retVal .= $child->__toString();\n break;\n case XML_TYPE_TEXT: // text\n $retVal .= $child->nodeValue;\n break;\n case XML_TYPE_CDATA: // CData\n $retVal .= \"<![CDATA[\".$child->nodeValue.\"]]>\";\n break;\n }\n }\n }\n \n if ($this->hasChildNodes() && isset($this->nodeName)) {\n $retVal .= $tagOpen.\"/\".$this->nodeName.$tagClose.$tagBreak;\n }\n \n return $retVal;\n \n }", "public function returnXML($xml)\r\n\t{\r\n\t\theader('Content-Type: application/xml');\r\n\t\tprint($xml);\r\n\t\t\r\n\t\t$this->closeDatabase();\r\n\t\texit();\r\n\t}", "public static function PrettyPrint($xml) {\n try {\n $dom = self::GetDomFromXml($xml);\n $dom->formatOutput = true;\n return self::GetXmlFromDom($dom);\n } catch (DOMException $e) {\n restore_error_handler();\n return str_replace(array(\"\\r\\n\", \"\\n\", \"\\r\"), '', $xml);\n }\n }", "function output(){\n\t\t//print $_SESSION['OX_INFO_STRING2']; exit();\n\t\tnew OxDomText($this->domLcInfo[1], $_SESSION['OX_INFO_STRING1']);\n\t\tnew OxDomText($this->domLcInfo[2], $_SESSION['OX_INFO_STRING2']);\n\t\treturn parent::output();\n\t}", "public function toPrint(){\n foreach ($this->adjList as $vert => $adjverts){\n echo \"{$vert}: \";\n \n foreach ($adjverts as $adjvert){\n echo \" {$adjvert} |\";\n }\n \n echo '<br/>';\n }\n }", "public static function dump()\n\t{\n\t\techo self::HTML_START . PHP_EOL;\n\t\t$args = func_get_args();\n\t\tforeach($args as $arg) {\n\t\t\tif(self::$useXDebug) {\n\t\t\t\tvar_dump($arg);\t\n\t\t\t} else {\n\t\t\t\tob_start();\n\t\t\t\tvar_dump($arg);\n\t\t\t\t$rawDump = ob_get_clean();\n\t\t\t\t$lines = explode(PHP_EOL, $rawDump);\n\t\t\t\techo '<pre>';\n\t\t\t\tforeach($lines as $line) {\n\t\t\t\t\techo htmlspecialchars($line) . '<br>' . PHP_EOL;\n\t\t\t\t}\n\t\t\t\techo '</pre>';\n\t\t\t}\n\t\t}\n\t\techo self::HTML_END . PHP_EOL;\n\t}", "function printElement()\n {\n // Loop and call.\n if (is_array($this->_elements)) {\n foreach ($this->_elements as $child) {\n $child->printElement();\n }\n }\n }" ]
[ "0.7771454", "0.7209666", "0.69550323", "0.686666", "0.67945474", "0.6721888", "0.6683195", "0.66470516", "0.6644141", "0.6619653", "0.66149384", "0.6606503", "0.66002697", "0.6588395", "0.6525599", "0.65207195", "0.6476861", "0.64659953", "0.64552146", "0.643501", "0.643501", "0.6415287", "0.64128894", "0.6394327", "0.636197", "0.63314915", "0.6314358", "0.6293664", "0.6287906", "0.6287383" ]
0.85025847
0
/ Function to unescape cdata
function unescape_cdata($xml) { static $find, $replace; if (!is_array($find)) { $find = array('«![CDATA[', ']]»', "\r\n", "\n"); $replace = array('<![CDATA[', ']]>', "\n", "\r\n"); } return str_replace($find, $replace, $xml); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function _from_cdata($data)\n\t{\n\t\t// Get the HTML translation table and reverse it.\n\t\t$trans_tbl = array_flip(get_html_translation_table(HTML_ENTITIES, ENT_QUOTES));\n\n\t\t// Translate all the entities out.\n\t\t$data = strtr(preg_replace('~&#(\\d{1,4});~e', \"chr('\\$1')\", $data), $trans_tbl);\n\n\t\treturn $this->trim ? trim($data) : $data;\n\t}", "function escape_cdata($xml)\n\t{\n\t\t$xml = preg_replace('#[\\\\x00-\\\\x08\\\\x0B\\\\x0C\\\\x0E-\\\\x1F]#', '', $xml);\n\t\treturn str_replace(array('<![CDATA[', ']]>'), array('«![CDATA[', ']]»'), $xml);\n\t}", "function _to_cdata($data)\n\t{\n\t\t$inCdata = $inComment = false;\n\t\t$output = '';\n\n\t\t$parts = preg_split('~(<!\\[CDATA\\[|\\]\\]>|<!--|-->)~', $data, -1, PREG_SPLIT_DELIM_CAPTURE);\n\t\tforeach ($parts as $part)\n\t\t{\n\t\t\t// Handle XML comments.\n\t\t\tif (!$inCdata && $part === '<!--')\n\t\t\t\t$inComment = true;\n\t\t\tif ($inComment && $part === '-->')\n\t\t\t\t$inComment = false;\n\t\t\telseif ($inComment)\n\t\t\t\tcontinue;\n\n\t\t\t// Handle Cdata blocks.\n\t\t\telseif (!$inComment && $part === '<![CDATA[')\n\t\t\t\t$inCdata = true;\n\t\t\telseif ($inCdata && $part === ']]>')\n\t\t\t\t$inCdata = false;\n\t\t\telseif ($inCdata)\n\t\t\t\t$output .= htmlentities($part, ENT_QUOTES);\n\n\t\t\t// Everything else is kept as is.\n\t\t\telse\n\t\t\t\t$output .= $part;\n\t\t}\n\n\t\treturn $output;\n\t}", "private function cdata($cdata)\n {\n $this->pointer['cdata'] = trim($cdata);\n }", "private static function _escapeCdata($sXml)\n\t{\n\t\t$sXml = preg_replace('#[\\\\x00-\\\\x08\\\\x0B\\\\x0C\\\\x0E-\\\\x1F]#', '', $sXml);\n\n\t\treturn str_replace(array('<![CDATA[', ']]>'), array('�![CDATA[', ']]�'), $sXml);\t\n\t}", "function xmlUnescape($str){\n return html_entity_decode($str,ENT_COMPAT, \"UTF-8\");\n }", "function xml_unescape($s) {\n return htmlspecialchars_decode($s, ENT_QUOTES);\n}", "public function text($cdata);", "function xmlUnescape($str)\n\t{\n\t\treturn html_entity_decode($str,ENT_COMPAT, \"UTF-8\");\n\t}", "function unescapeBinary($value);", "function cdata($parser, $cdata)\n {\n if (strlen(trim($cdata)) && $cdata != \"\\n\")\n switch ($this->type)\n {\n case 'channel':\n case 'image':\n case 'textinput':\n (!isset($this->data[$this->type][$this->rss['current_tag']]) ||\n !strlen($this->data[$this->type][$this->rss['current_tag']])) ?\n $this->data[$this->type][$this->rss['current_tag']] = $cdata :\n $this->data[$this->type][$this->rss['current_tag']].= $cdata;\n break;\n case 'item':\n (!isset($this->data['items'][$this->rss['index']-1][$this->rss['current_tag']]) ||\n !strlen($this->data['items'][$this->rss['index']-1][$this->rss['current_tag']])) ?\n $this->data['items'][$this->rss['index']-1][$this->rss['current_tag']] = $cdata :\n $this->data['items'][$this->rss['index']-1][$this->rss['current_tag']].= $cdata;\n break;\n }\n }", "function wxr_cdata( $str ) {\n\t\t\tif ( seems_utf8( $str ) == false )\n\t\t\t\t$str = utf8_encode( $str );\n\n\t\t\t// $str = ent2ncr(esc_html($str));\n\t\t\t$str = '<![CDATA[' . str_replace( ']]>', ']]]]><![CDATA[>', $str ) . ']]>';\n\n\t\t\treturn $str;\n\t\t}", "public static function escapeCdata($input)\n\t{\n\t\t$res = str_replace(']]>', ']]]]><![CDATA[>', $input);\n\n\t\treturn $res;\n\t}", "function xmldec($str, $charset = \"ISO-8859-1\")\n{\n if (!is_string($str))\n return \"\";\n //return html_entity_decode($str, ENT_QUOTES, $charset);\n $str = str_replace(\"&gt;\", \">\", $str);\n $str = str_replace(\"&lt;\", \"<\", $str);\n $str = str_replace(\"&amp;\", \"&\", $str);\n return $str;\n}", "function cdataHandler($xp, $data)\n {\n if (trim($data) != '') {\n $this->cdata .= $data;\n }\n }", "function unescape( $string, $htmlescape = true ){\n\t$string = stripslashes( $string );\n\t$string = preg_replace(\"#'{2,}#\", \"'\", $string);\n//\t$string = htmlspecialchars($string,ENT_QUOTES,\"UTF-8\",false);\n\treturn $string;\n}", "function cdata($parser, $cdata) {\n $previous = $this->stack[count($this->stack)-1];\n // If previous tag is illegal, no point in running test\n if (!in_array($previous, array_keys($this->tags))) {\n return;\n }\n if (trim($cdata) != '') {\n if (!in_array('#PCDATA', explode(' ', $this->tags[$previous]))) {\n $this->errors[] = \"Tag <code>$previous</code> may not contain raw character data\";\n }\n }\n }", "function unescape($v){\n\t$v = str_replace('&quot;', '\\\"', $v);\n\t$v = str_replace('&#039;', '\\\\\\'', $v);\n\t$out = html_entity_decode($v, ENT_QUOTES, 'UTF-8');\n\t\n\treturn $out;\n}", "public static function cdata($text)\r\n\t{\r\n\t\treturn '<![CDATA[' . $text . ']]>';\r\n\t}", "protected function _getCleanData($data)\n {\n $data = str_replace('&', '&amp;', $data);\n $data = str_replace('<', '&lt;' , $data);\n $data = str_replace('>', '&gt;' , $data);\n\n return $data;\n }", "function stripcslashes ($str) {}", "function handle_cdata(&$parser, $data)\n\t{\n\t\t$this->cdata .= $data;\n\t}", "public function cdata($text)\n {\n // TODO: Implement cdata() method.\n }", "function unEscapeSpecialCharacters($data)\r\n{\r\n\t$data = is_array($data) ? array_map('unEscapeSpecialCharacters', $data) :stripslashes($data);\r\n return $data;\r\n}", "function ldap_unescape_dn_string($text)\n{\n\t$text_out=\"\";\n\tfor($i=0;$i<mb_strlen($text,\"UTF-8\");$i++)\n\t{\n\t\tif(mb_substr($text,$i,1,\"UTF-8\") == \"\\\\\")\n\t\t{\n\t\t\tif(in_array(mb_substr($text,$i+1,1,\"UTF-8\"),str_split(\" \\\"#+,;<=>\\\\\")))\n\t\t\t{\n\t\t\t\t$text_out.=mb_substr($text,$i+1,1,\"UTF-8\");\n\t\t\t\t$i++;\n\t\t\t}\n\t\t\telse if(ctype_xdigit(mb_substr($text,$i+1,2,\"UTF-8\")))\n\t\t\t{\n\t\t\t\t$text_out.=chr(hexdec(mb_substr($text,$i+1,2,\"UTF-8\")));\n\t\t\t\t$i+=2;\n\t\t\t}\n\t\t\telse\n\t\t\t\t$text_out.=mb_substr($text,$i,1,\"UTF-8\");\n\t\t}\n\t\telse\n\t\t\t$text_out.=mb_substr($text,$i,1,\"UTF-8\");\n\t}\n\treturn $text_out;\n}", "static function cleanStringFromSpecialChar($data) {\n //wcmTrace(\"Clean data : \".$data);\n \t$replaceTab = array(\"‚\"=>\",\", \"Æ’\"=>\"\", \"„\"=>\"\", \"…\"=>\"...\", \"†\"=>\"\", \"‡\"=>\"\", \"ˆ\"=>\"\", \"‰\"=>\"\", \"Å \"=>\"\", \"‹\"=>\"&#8249;\", \"Å’\"=>\"OE\", \"‘\"=>\"'\", \"’\"=>\"'\", \"“\"=>\"\\\"\", \"â€�\"=>\"\\\"\", \"•\"=>\".\", \"–\"=>\"-\", \"—\"=>\"-\", \"Ëœ\"=>\"\", \"â„¢\"=>\"\", \"Å¡\"=>\"s\", \"›\"=>\"&#8250;\", \"Å“\"=>\"oe\", \"Ÿ\"=>\"Y\", \"€\"=>\"&#8364;\");\n \n $data = str_replace(array_keys($replaceTab), array_values($replaceTab), $data);\n //wcmTrace(\"new data : \".$data);\n \n return $data;\n }", "function zensus_xmlescape($string, $utf8encode = true)\n{\n $string = preg_replace('/[\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f]/', '', $string);\n if ($utf8encode) {\n return htmlspecialchars($string, ENT_QUOTES, 'UTF-8');\n } else {\n return htmlspecialchars(html_entity_decode($string, ENT_QUOTES, 'UTF-8'), ENT_QUOTES, 'UTF-8', false);\n }\n}", "function cleanup_data($data){\n $data = trim($data);\n $data = stripslashes($data);\n $data = htmlspecialchars($data);\n \n return $data;\n }", "function google_base_xml_sanitizer($str, $cdata = false) {\n $str = str_replace(array(\"\\t\" , \"\\n\", \"\\r\"), ' ', $str);\n $str = html_entity_decode($str); \n $str = strip_tags($str);\n $str = htmlentities($str);\n $str = utf8_encode(str_replace(array(\"&reg;\", \"&copy;\", \"&trade;\", \"&nbsp;\"), array('(r)', '(c)', '(tm)', ' '), $str));\n $str = eregi_replace(\"[^[:alnum:][:space:].,!()'-_/+=?ÀÂÄßÈÉÊËÎÏÔÖÙÛÜàâäèéêëîïôöùûüÿÇç«»]\", \"\", $str);\n $out = \"\";\n $length = strlen($str);\n for ($i = 0; $i < $length; $i++) {\n $current = ord($str{$i});\n if ((($current == 0x9) || ($current == 0xA) || ($current == 0xD) || (($current >= 0x20) && ($current <= 0xD7FF)) || (($current >= 0xE000) && ($current <= 0xFFFD)) || (($current >= 0x10000) && ($current <= 0x10FFFF))) && ($current > 10) ) {\n $out .= chr($current);\n } else {\n $out .= \" \";\n }\n }\n $str = trim($out);\n $str = str_replace(array(\"&lt;\", \"&gt;\"), array(\"<\", \">\"), $str);\n if ($cdata) {\n $str = '<![CDATA[' . $str . ']]>';\n } \n return $str;\n }", "public function cdata( $opcodes )\r\n {\r\n return $this->text($opcodes);\r\n }" ]
[ "0.7371501", "0.6800531", "0.67944866", "0.6704396", "0.6662524", "0.64407", "0.64073026", "0.63239753", "0.6322861", "0.6309203", "0.62992597", "0.62169045", "0.60897565", "0.6010497", "0.5984607", "0.5934065", "0.5923583", "0.59013283", "0.58864605", "0.5884173", "0.5883171", "0.5828011", "0.58228594", "0.5768282", "0.5722985", "0.5687957", "0.5654995", "0.5630107", "0.56235784", "0.5570873" ]
0.7993355
0
/ Function to process a valid ILance XML Configuration data
function process_configuration_xml($a = array(), $e) { $site_name = $ilance_version = $ilance_build = $date = $main_configuration = ''; $elementcount = count($a); for ($i = 0; $i < $elementcount; $i++) { if ($a[$i]['tag'] == 'CONFIGURATION') { if ($a[$i]['type'] == 'open') { $ilance_version = $a[$i]['attributes']['ILVERSION']; $ilance_build = $a[$i]['attributes']['ILBUILD']; } } else if ($a[$i]['tag'] == 'SITENAME') { if ($a[$i]['type'] == 'complete') { $site_name = $a[$i]['value']; } } else if ($a[$i]['tag'] == 'DATE') { if ($a[$i]['type'] == 'complete') { $date = $a[$i]['value']; } } else if ($a[$i]['tag'] == 'MAIN_CONFIGURATION') { if ($a[$i]['type'] == 'open') { $main_configuration = array(); } } else if ($a[$i]['tag'] == 'CONFIGURATION_GROUP') { if ($a[$i]['type'] == 'open') { $current_groupname = $a[$i]['attributes']['GROUPNAME']; } } else if ($a[$i]['tag'] == 'OPTION') { if ($a[$i]['type'] == 'complete') { $main_configuration[$current_groupname][$a[$i]['attributes']['NAME']] = trim($a[$i]['value']); } } } $result = array( 'ilance_version' => $ilance_version, 'ilance_build' => $ilance_build, 'site_name' => $site_name, 'date' => $date, 'main_configuration' => $main_configuration ); return $result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function parseData()\n {\n $this->ensure(file_exists($this->_config), \"Config file isn't exist.\");\n $options = parse_ini_file($this->_config);\n if (isset($options[\"host\"])\n && isset($options[\"dbname\"])\n && isset($options[\"charset\"])) {\n \\Core\\Registry\\ApplicationRegistry::setConfig($options);\n }\n $this->ensure($options, \"The config file is empty!\");\n\n }", "function process_config_xml($a = array(), $e)\n {\n $ilversion = $current_setting_group = '';\n $settingarray = array();\n $elementcount = count($a);\n for ($i = 0; $i < $elementcount; $i++)\n {\n if ($a[$i]['tag'] == 'CONFIG')\n {\n if (empty($ilversion) AND $a[$i]['type'] == 'open')\n {\n $ilversion = $a[$i]['attributes']['ILVERSION'];\n }\n }\n else if ($a[$i]['tag'] == 'CONFIGGROUP')\n {\n if ($a[$i]['type'] == 'open' OR $a[$i]['type'] == 'complete')\n {\n $current_setting_group = $a[$i]['attributes']['GROUPNAME'];\n $settinggrouparray[] = array(\n $current_setting_group, \n $a[$i]['attributes']['PARENTGROUPNAME'], \n $a[$i]['attributes']['GROUPNAME'],\n $a[$i]['attributes']['DESCRIPTION'],\n $a[$i]['attributes']['HELP'],\n $a[$i]['attributes']['CLASS'],\n $a[$i]['attributes']['SORT']\n );\n }\n }\n else if ($a[$i]['tag'] == 'SETTING')\n {\n if ($a[$i]['type'] == 'complete')\n {\n $settingarray[] = array(\n $current_setting_group, \n trim($a[$i]['attributes']['NAME']),\n trim($a[$i]['attributes']['DESCRIPTION']),\n trim($a[$i]['attributes']['VALUE']),\n trim($a[$i]['attributes']['CONFIGGROUP']),\n trim($a[$i]['attributes']['INPUTTYPE']),\n trim($a[$i]['attributes']['INPUTCODE']),\n trim($a[$i]['attributes']['INPUTNAME']),\n trim($a[$i]['attributes']['HELP']),\n trim($a[$i]['attributes']['SORT']),\n trim($a[$i]['attributes']['VISIBLE'])\n );\n }\n }\n }\n $result = array(\n 'ilversion' => $ilversion, \n 'settingarray' => $settingarray, \n 'settinggrouparray' => $settinggrouparray,\n );\n return $result;\n }", "public function processConfiguration();", "public function processConfig()\n\t{\n\t\t$this->processConfigFile();\n\t\t$this->checkRequiredConfiguration();\n\t\t$this->processHolidayConfiguration();\n\t}", "function sanitizeConfiguratorXml(){\n\t\t\n\t}", "private function validate_config() : void {\n\t\t$validation = Schema::import( $this->config_schema );\n\t\t$validation->in( $this->config );\n\t}", "public function validateConfiguration();", "public function validateConfig();", "private function check_xml() {\r\n\r\nglobal $LANG;\r\n\r\n if( !file_exists( $this->directory . 'install.xml' ) ) {\r\n throw new Exception( $LANG['plugins_err_installmiss'] );\r\n } else if( ! ( $xml = @simplexml_load_file( $this->directory . 'install.xml' ) ) ) {\r\n throw new Exception( $LANG['plugins_err_cntreadxml'] );\r\n } else if( !isset( $xml->main_file ) || !file_exists( $this->directory . $xml->main_file ) ) {\r\n throw new Exception( $LANG['plugins_err_mainmiss'] );\r\n } else if( !isset( $xml->min_version ) || ( isset( $xml->scope ) && !in_array( $xml->scope, array_keys( $this->scopes() ) ) ) ) {\r\n throw new Exception( $LANG['plugins_err_paraiss'] );\r\n } else if( $xml->scope == 'language' && !file_exists( $this->directory . $xml->main_file ) ) {\r\n throw new Exception( $LANG['plugins_err_mainlanmiss'] );\r\n } else if( $xml->scope == 'feed_server' && !file_exists( $this->directory . $xml->main_file ) ) {\r\n throw new Exception( $LANG['plugins_err_mainfeedsmiss'] );\r\n } else if( $xml->scope == 'pay_gateway' && !file_exists( $this->directory . $xml->main_file ) ) {\r\n throw new Exception( $LANG['plugins_err_mainpgatmiss'] );\r\n } else if( (double) $xml->min_version > VERSION || ( isset( $xml->max_version ) && VERSION > $xml->max_version ) ) {\r\n throw new Exception( $LANG['plugins_err_inconpat'] );\r\n } else {\r\n return $xml;\r\n }\r\n\r\n}", "protected function validateConfig(): void\n {\n }", "function sanitizeXml($type){\n\t\tswitch($type){\n\t\t\tcase 1:\n\t\t\t\t$this->sanitizeProductXml();\n\t\t\t\tbreak;\n\t\t\tcase 2:\n\t\t\t\t$this->sanitizeConfiguratorXml();\n\t\t\t\tbreak;\n\t\t}\n\t}", "function validateXml($pkg, $xml, &$config, $fileXml)\r\n {\r\n if ($fileXml['attribs']['role'] != 'chiaramdb2schema') {\r\n return array(PEAR_TASK_ERROR_INVALID, 'chiara_managedb task can only be ' .\r\n 'used with files whose role is chiaramdb2schema. File is role \"' .\r\n $fileXml['attribs']['role'] . '\"');\r\n }\r\n if (isset($xml['attribs'])) {\r\n if (!isset($xml['attribs']['unique'])) {\r\n return array(PEAR_TASK_ERROR_MISSING_ATTRIB, 'unique');\r\n }\r\n if (!in_array($xml['attribs']['unique'], array('0', '1'))) {\r\n return array(PEAR_TASK_ERROR_WRONG_ATTRIB_VALUE, 'unique',\r\n $xml['attribs']['unique'], array('0', '1'));\r\n }\r\n }\r\n if (isset($xml['defaultdatabase'])) {\r\n if (!is_string($xml['defaultdatabase'])) {\r\n return array(PEAR_TASK_ERROR_INVALID, 'default database must be ' .\r\n 'a simple string');\r\n }\r\n }\r\n return true;\r\n }", "function sanitizeProductXml() {\n\t\t$xmlParse = new XmlParser($this -> xmlFile);\n\t\t$data = $xmlParse -> returnArray();\n\t\t$data = $this -> getLevelData($data);\n\t\t$this -> data = array();\n\t\tforeach ($data AS $key => $product) {\n\t\t\tif (isset($product['attributes'])) {\n\t\t\t\t$prod = $product['attributes'];\n\t\t\t\tif (isset($product['children']) && count($product['children']) > 0) {\n\t\t\t\t\tfor ($i = 0, $il = count($product['children']); $i < $il; $i++) {\n\t\t\t\t\t\t$tmp = $product['children'][$i];\n\t\t\t\t\t\tif(!isset($prod[$tmp['name']])){\n\t\t\t\t\t\t\t$prod[$tmp['name']] = array();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif($tmp['Value'] != ''){\n\t\t\t\t\t\t\t$prod[$tmp['name']][] = $tmp['Value'];\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif($tmp['Value'] == '' && isset($tmp['children'])){\n\t\t\t\t\t\t\tforeach($tmp['children'] AS $cKey=>$cData){\n\t\t\t\t\t\t\t\t$prod[$tmp['name']][] = $cData['attributes']['Value'];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (!isset($this -> data[$product['attributes']['Catid']])) {\n\t\t\t\t\t$this -> data[$product['attributes']['Catid']] = array();\n\t\t\t\t}\n\t\t\t\t$this -> data[$product['attributes']['Catid']][$product['attributes']['Product_ID']] = $prod;\n\t\t\t}\n\t\t}\n\t}", "function _validate_xml($xml, $xsd_url, $version = '1.0', $encoding = 'UTF-8'){\n // Try to break the XML down in lines such that we don't disturb content by adding unwanted\n // carriage returns (that would affect enumerations for instance).\n $xml_per_line = preg_replace('/(<\\/.*?>)/', \"$1\\n\", $xml);\n $parsed_dom = new DOMDocument($version, $encoding);\n $parsed_dom->loadXML($xml_per_line);\n libxml_use_internal_errors(true);\n if(!$parsed_dom->schemaValidate($xsd_url)){\n $lines = explode(\"\\n\", $xml_per_line);\n $errors = libxml_get_errors();\n $error_messages = array();\n foreach($errors as $error){\n $type = 'error';\n if($error->level == LIBXML_ERR_WARNING){\n $type = 'warning';\n }\n // Get some context.\n $context = array();\n $num = 5;\n if($error->line > 2){\n $count = ($error->line > $num) ? $num : ($error->line - 1);\n $context = array_slice($lines, $error->line - $count - 1, $count);\n foreach($context as $key => $value){\n $context[$key] = htmlspecialchars($value);\n }\n }\n $context[] = '<strong>' . htmlspecialchars($lines[$error->line - 1]) . '</strong>';\n $error_messages[] = t(\"XML validation error: @code - @message !context\", array(\n '@code' => $error->code,\n '@message' => $error->message,\n '!context' => '<br/>' . implode('<br/>', $context)\n ));\n }\n libxml_clear_errors();\n libxml_use_internal_errors(false);\n throw new Exception('<ul><li>' . implode('</li><li>', $error_messages) . '</li></ul>');\n }\n libxml_clear_errors();\n libxml_use_internal_errors(false);\n }", "public function getParamsFromXmlCw($xml) {\n\n\t\t//$xml = $this->cleanXml($xml); // don't need cleanXml now that XMLSERVICE provides proper encoding on XML, even for errors \n\t\t\n\t\t// Replace ampersands with corresponding entity codes. Not needed anymore with data wrapped in CDATA by XMLSERVICE\n\t\t\n\t\t//$xml = preg_replace('/&[^; ]{0,6}.?/e', \"((substr('\\\\0',-1) == ';') ? '\\\\0' : '&amp;'.substr('\\\\0',1))\", $xml);\n\t\t$xmlobj = simplexml_load_string ( $xml );\n\n\t\tif (! $xmlobj instanceof SimpleXMLElement) {\n\t\t\t$badXmlLog = '/tmp/bad.xml';\n\t\t\t$this->error = \"Unable to parse output XML, which has been logged in $badXmlLog. Possible problems: CCSID, encoding, binary data in an alpha field (use binary/BYTE type instead); if < or > are the problem, consider using CDATA tags.\";\n\t\t\terror_log ( $xml, 3, $badXmlLog );\t\t\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\tif( isset($xmlobj->error))\t\n\t\t{\n\t\t\t// capture XML error and joblog.\n\t\t\t// In PgmCall method we will try to get a better error than the XML error. \n\t\t\t$this->error =(string)$xmlobj->error->xmlerrmsg . \n\t\t\t ' (' . (string)$xmlobj->error->xmlhint . ')';\n\t\t\t$this->joblog = (string)$xmlobj->joblog;\t\t\t\t\n\t\t\treturn false; \n\t\t}\n\t\t\n\t\t$values = array();\n\n\t\t// get all parameters\n\t\t$params = $xmlobj->xpath ( '/script/pgm/parm' );\n\n\t\tforeach ( $params as $simpleXmlElement ) {\n\n\t\t\t// pass parms into a recursive function to get ds/data elements\n\t\t\t\n\t\t\t// process and get value(s) from that parm.\n $paramValue = $this->getSingleParamFromXmlCw($simpleXmlElement);\n\n // add key/value to values array\n $varName = key($paramValue); \n $values[$varName] = $paramValue[$varName];\n \t\t\t\n\t\t} //(foreach $params)\t\t\n\n\t\t/*or data structure (or data structure array) or single value may be returned.*/\n\t\t$retval_values = array();\t\t\n\t\t$ds_retvals = $xmlobj->xpath ( '/script/pgm/return/ds' );\n\t\tif( $ds_retvals){\n\t\t\tforeach ($ds_retvals as $simpleXMLElement )\n\t\t\t{\t\t\t\n\t\t\t\t$el = $simpleXMLElement->xpath('data');\t\t\n\t\t\t\t$el_values = $this->readElement($el);\t\t \t\t\n\t\t\t\t$retval_values[] = $el_values;\t\t\n\t\t\t\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\t\t\n\t\t\t$retvals = $xmlobj->xpath ( '/script/pgm/return/data' );\n\t\t\tforeach ($retvals as $simpleXMLElement ){\n\t\t\t\t$Attr = $simpleXMLElement->attributes();\t\t\t \n\t\t\t\t$retval_values [(string)$Attr->var] = ( string ) $simpleXMLElement;\n\t\t\t}\t\t\t\n\t\t}\n\t\t\n\t\t$callresults['io_param'] = $values; \n\t\t$callresults['retvals'] = $retval_values;\n\t\t\n \t\n\t return $callresults;\t\n\t}", "function readconfig() {\n if (func_num_args()>0) {\n $arg_list = func_get_args();\n $filename = $arg_list[0];\n $xmltag = $arg_list[1];\n }\n $data = implode(\"\",file($filename));\n $parser = xml_parser_create();\n xml_parser_set_option($parser,XML_OPTION_CASE_FOLDING,0);\n xml_parser_set_option($parser,XML_OPTION_SKIP_WHITE,1);\n xml_parse_into_struct($parser,$data,$values,$tags);\n xml_parser_free($parser);\n\n // loop through the structures\n foreach ($tags as $key=>$val) {\n if ($key == \"$xmltag\") {\n $noderanges = $val;\n // each contiguous pair of array entries are the\n // lower and upper range for each node definition\n for ($i=0; $i < count($noderanges); $i+=2) {\n $offset = $noderanges[$i] + 1;\n $len = $noderanges[$i + 1] - $offset;\n $tdb[] = module::parsexml(array_slice($values, $offset, $len));\n }\n } else {\n continue;\n }\n }\n return $tdb;\n }", "public function validateXml($xml) {\n\t\t$finder = new Finder();\n\t\t$domDoc = new \\DOMDocument();\n\t\t$xml = \"<mynetconfbase:data xmlns:mynetconfbase='urn:ietf:params:xml:ns:netconf:base:1.0'>\".$xml.\"</mynetconfbase:data>\";\n\t\t$domDoc->loadXML($xml);\n\n\t\t$iterator = $finder\n\t\t\t\t->files()\n\t\t\t\t->name(\"/.*data\\.(rng|xsd)$/\")\n\t\t\t\t->in($this->dataModel->getPathToModels());\n\n\t\ttry {\n\t\t\tforeach ($iterator as $file) {\n\t\t\t\t$path = $file->getRealPath();\n\t\t\t\tif (strpos($path, \"rng\")) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (!@$domDoc->relaxNGValidate($path)) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (\\ContextErrorException $e) {\n\t\t\t\t\t\t$this->logger->addWarning($e->getMessage());\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t} else if (strpos($path, \"xsd\")) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (!@$domDoc->schemaValidate($path)) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (\\ContextErrorException $e) {\n\t\t\t\t\t\t$this->logger->addWarning($e->getMessage());\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (\\ErrorException $e) {\n\t\t\t$this->logger->addWarning(\"XML is not valid.\", array('error' => $e->getMessage(), 'xml' => $xml, 'RNGfile' => $path));\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\n\t}", "function _setOptionsByXmlConfig( $configFileOrString , $isString=false )\n {\n//print '_setOptionsByXmlConfig ... '.nl2br(htmlentities($configFileOrString)).\" , $isString<br>\";\n // include this so i can get the xml file prepared in the tree shape\n // and i can use the tree methods to retreive the options i need to set :-)\n if( !@include_once('Tree/Tree.php') )\n {\n return $this->_error( \"xml-config could not be parsed, because the class 'Tree/Tree.php' could not be included<br>\".\n '1. pleace be sure to have the latest PEAR::Tree package installed '.\n '(<a href=\"http://pear.php.net/package-info.php?pacid=104\">you get it from here</a>)' ,\n PEAR_ERROR_DIE );\n }\n\n if( $isString )\n {\n $config = Tree::setupMemory( 'XML' );\n $config->setupByRawData( $configFileOrString );\n }\n else\n {\n $config = Tree::setupMemory( 'XML' , $configFileOrString );\n $config->setup();\n }\n\n //\n // add the filters set in the xml config files\n //\n// TODO check for prefilter defines in xml config\n if( $id = $config->getIdByPath('html_template_xipe/prefilter') ) // are any preFilter given?\n {\n $this->_applyFiltersFromXMLConfig( $config , $id , true );\n }\n\n //\n // apply xml given options to this class, do this after applying the filters\n //\n if( $id = $config->getIdByPath('html_template_xipe/options') ) // are any options given?\n {\n $delimiter = $config->getElementByPath('delimiter',$id);\n if( $delimiter )// set new delimiters?\n {\n $begin = $delimiter['attributes']['begin'];\n $end = $delimiter['attributes']['end'];\n if( $begin && $end ) // only if both delimiters are given !!!\n {\n $setOptions['delimiter'] = array(trim($begin),trim($end));\n }\n }\n if( $autoBraces = $config->getIdByPath('autobraces',$id) )// set autoBraces?\n {\n $setOptions['autoBraces'] = false;\n if( strtolower(trim($config->data[$autoBraces]['attributes']['value'])) == 'true' )\n $setOptions['autoBraces'] = true;\n }\n if( $localeId = $config->getIdByPath('locale',$id) )// set locale?\n {\n $locale = trim($config->data[$localeId]['attributes']['value']);\n if( $locale )\n $setOptions['locale'] = $locale;\n }\n\n //\n // find the cache tag\n // <cache>\n // <time value=\"10\" unit=\"minutes\"/>\n // <depends value=\"$_GET $_POST\"/>\n // </cache>\n //\n if( $cacheId = $config->getIdByPath('cache',$id)) // cache-tag given?\n {\n if( @$config->data[$cacheId]['attributes']['dontcache']=='true' )\n {\n $setOptions['cache']['time'] = false;\n $this->_log('XMLConfig: dont cache this file!');\n }\n else\n if( $timeId = $config->getIdByPath('time',$cacheId) ) // and the mandatory time-tag?\n {\n $time = $config->data[$timeId]['attributes']['value'];\n\n if( $unit = $config->data[$timeId]['attributes']['unit'] )\n {\n switch(strtolower($unit))\n {\n case 'week':\n case 'weeks': $time = $time*7;\n case 'day':\n case 'days': $time = $time*24;\n case 'hour':\n case 'hours': $time = $time*60;\n case 'minute':\n case 'minutes': $time = $time*60;\n case 'second': break;\n }\n }\n //print \"XML: cache this page for $time seconds<br><br>\";\n // if a valid time was found parse also the other tags, valid is also 0, that's why this strange check\n // accept only integers\n if( $time == (int)$time )\n {\n $cacheOption['time'] = (int)$time;\n\n if( ($id = $config->getIdByPath('depends',$cacheId )) &&\n ($depends = $config->data[$id]['attributes']['value'] ))\n {\n $cacheOption['depends'] = $depends;\n }\n\n $setOptions['cache'] = $cacheOption;\n }\n else\n {\n $this->_log(\"ERROR in your xml config, caching-time: $time, is not valid, in: \".\n $isString?'tpl-file-embedded config':$configFileOrString);\n }\n }\n }\n\n // apply the options to this class\n $this->setOptions($setOptions);\n\n $this->_applyOptionsToFilterClasses($setOptions);\n }\n }", "public function parse($data)\n\t\t{\n\t\t\tif($this->state != CT_iDEAL_Result::iD_Waiting)\n\t\t\t\tthrow new Exception(\"Error: currently not accepting input\");\n\n\t\t\tif(!xml_parse($this->xml_parser, $data)) {\n\t\t\t\t$this->state = CT_iDEAL_Result::iD_Error;\n\t\t\t\tthrow new Exception(\"Error: \" . xml_error_string($this->xml_parser));\n\t\t\t}\n\t\t}", "function checkXML($data) {\r\n $rtrn = 0;\r\n $theParser = xml_parser_create();\r\n if(!xml_parse_into_struct($theParser,$data,$vals)) {\r\n $errorcode = xml_get_error_code($theParser);\r\n if($errorcode != XML_ERROR_NONE && $errorcode != 27)\r\n $rtrn = $errorcode;\r\n }//end if ! parse\r\n xml_parser_free($theParser);\r\n return $rtrn;\r\n }", "function parseXMLData($destinationFields,$xmlFields,$xmlDoc) {\n\t global $Proj;\n\t $returnArray = array();\n foreach ($destinationFields as $index => $destinationField) {\n $nodeArray = array();\n /*if (!in_array($destinationField,array_keys($fieldsOnForm))) continue;\n if (!isset($xmlFields[$index]) || $xmlFields[$index] == \"\") continue;*/\n $xmlParamaters = explode(\",\",$xmlFields[$index]);\n $destFieldEnum = $Proj->metadata[$destinationField]['element_validation_type'];\n $filters = array();\n if (isset($xmlParamaters[1]) && isset($xmlParamaters[2]) && $xmlParamaters[1] != \"\") {\n $filters[$xmlParamaters[1]] = $xmlParamaters[2];\n }\n\n switch ($xmlParamaters[0]) {\n case \"Status\":\n case \"Owner\":\n $filterArray = array($xmlParamaters[0] => \"\");\n $searcher = $xmlDoc->getElementsByTagName(\"MedlineCitation\");\n $item0 = $searcher->item(0);\n if ($item0->hasAttributes()) {\n foreach ($item0->attributes as $attr) {\n if ($attr->nodeName == $xmlParamaters[0]) {\n $returnArray[$destinationField] = $attr->nodeValue;\n }\n }\n }\n break;\n case \"AuthorFull\":\n case \"AuthorShort\":\n $searcher = $xmlDoc->getElementsByTagName(\"Author\");\n $this->showNode($searcher,$nodeArray,$filters);\n\n if ($xmlParamaters[0] == \"AuthorFull\") {\n $returnArray[$destinationField] = $nodeArray['LastName']['value'].\", \".$nodeArray['ForeName']['value'];\n }\n else {\n $returnArray[$destinationField] = $nodeArray['LastName']['value'].\" \".$nodeArray['Initials']['value'];\n }\n break;\n case \"Grant\":\n $searcher = $xmlDoc->getElementsByTagName(\"Grant\");\n $this->showNode($searcher,$nodeArray,$filters);\n $returnArray[$destinationField] = $nodeArray['GrantID']['value'].\"/\".$nodeArray['Agency']['value'].\"/\".$nodeArray['Country']['value'];\n break;\n case \"PubDate\":\n $searcher = $xmlDoc->getElementsByTagName(\"PubDate\");\n $this->showNode($searcher,$nodeArray,$filters);\n $returnArray[$destinationField] = $nodeArray['Month']['value'].\" \".$nodeArray['Year']['value'];\n case \"DateCompleted\":\n case \"DateRevised\":\n case \"ArticleDate\":\n case \"PubMedPubDate\":\n $searcher = $xmlDoc->getElementsByTagName($xmlParamaters[0]);\n $this->showNode($searcher,$nodeArray,$filters);\n $returnArray[$destinationField] = $this->parseDateArrayForREDCapField($destFieldEnum, $nodeArray,$xmlParamaters[0]);\n break;\n default:\n $searcher = $xmlDoc->getElementsByTagName($xmlParamaters[0])->item(0);\n $this->showNode($searcher,$nodeArray,$filters);\n $returnArray[$destinationField] = $nodeArray[$xmlParamaters[0]]['value'].(isset($nodeArray[$xmlParamaters[0]]['tags']) && !empty($nodeArray[$xmlParamaters[0]]['tags']) ? \" (\".$nodeArray[$xmlParamaters[0]]['tags'][$xmlParamaters[1]].\")\" : \"\");\n break;\n }\n }\n return $returnArray;\n }", "function getAsin($xml){\r\n$pxml = simplexml_load_string($xml);\r\nif ($pxml === False)\r\n\t{\r\n\t\treturn False; // no xml\r\n\t}\r\nelse\r\n\t{\r\n\t\tif (isset($pxml->datafield))\t\r\n\t\t\tforeach ($pxml->datafield as $datafield) {\r\n\t\t\t\tswitch((string) $datafield['tag']) { // Verwende Attribute als Element-Indizes\r\n\t\t\t\tcase '24':\r\n\t\t\t\t\treturn $pxml->datafield->subfield;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t}\r\n\treturn false;\r\n}", "private function validateStructure(): void\n {\n if ($this->defaults === false) {\n $msg = \"Preferenes entity must have the default preference values set.\";\n throw new BadPrefsEntityConfigurationException($msg);\n }\n }", "protected function checkConfig()\n {\n if (!is_array($this->aData)) {\n throw new BadConfigException(\"Config error. Config data is not an array.\");\n } else {\n if (trim($this->aData['debugEnabled']) == \"\") {\n throw new BadConfigException(\"Config error. Missing required item 'debugEnabled'\");\n }\n if (intval($this->aData['debugEnabled'])) {\n if (empty(trim($this->aData['apiUrlRegisterDeb']))) {\n throw new BadConfigException(\"Config error. Missing required item 'apiUrlRegisterDeb'\");\n }\n } else {\n if (empty(trim($this->aData['apiUrlRegisterProd']))) {\n throw new BadConfigException(\"Config error. Missing required item 'apiUrlRegisterProd'\");\n }\n }\n /*\n if (empty(trim($this->aData['api_url_get_status']))) {\n $this->deb(\"Config isValidConfig fail api_url_get_status\", $this->aData);\n $res = 0;\n }\n */\n if (empty(trim($this->aData['login']))) {\n throw new BadConfigException(\"Config error. Missing required item 'login'\");\n }\n if (empty(trim($this->aData['password']))) {\n throw new BadConfigException(\"Config error. Missing required item 'password'\");\n }\n if (empty(trim($this->aData['productType']))) {\n throw new BadConfigException(\"Config error. Missing required item 'productType'\");\n }\n if (empty(trim($this->aData['productID']))) {\n throw new BadConfigException(\"Config error. Missing required item 'productID'\");\n }\n if (empty(trim($this->aData['includeShipping']))) {\n throw new BadConfigException(\"Config error. Missing required item 'includeShipping'\");\n }\n if (intval($this->aData['includeShipping'])) {\n if (empty(trim($this->aData['shippingProductName']))) {\n throw new BadConfigException(\"Config error. Missing required item 'shippingProductName'\");\n }\n }\n if (empty(trim($this->aData['measure']))) {\n throw new BadConfigException(\"Config error. Missing required item 'measure'\");\n }\n }\n }", "private function loadConfigXML()\n {\n\t// Read XML\n\t$oXML = new SimpleXMLElement(file_get_contents(XML_CONFIGURACIONES));\n\t$arr_config = $this->parseXML($oXML);\n\tThefCache::set(self::$cache_key, $arr_config, 60);\n\treturn $arr_config;\n }", "private function parseConfig()\n {\n // setup the DI layer\n $diClass = $this->config->get(Config::KEY_DI);\n if ($diClass && class_exists($diClass)) {\n $di = new $diClass();\n if ($di instanceof DiInterface) {\n Di::setDefault($di);\n }\n }\n Di::getDefault()->set(self::KEY_CONFIG, $this->config);\n $this->setupHandlers(\n $this->config->get(Config::KEY_HANDLERS, [])\n );\n }", "private function isValidXML() {\n\t\t// The LIBXML_NOCDATA option ensures all CDATA tags (commonly used in podcast feeds) are processed into the XML Object\n\t\t//\tThis makes 'SimpleXMLElement' (the object to work with) a required parameter.\n\t\t// This process also automatically removes all binary data <!BDATA[ ... ]> content when converting the document into a SimpleXML object \n\t\t$isXML = @simplexml_load_string($this->podcastFileContents, 'SimpleXMLElement', LIBXML_NOCDATA);\n\t\t\n\t\t#ToDo: Ensure this XML can be trusted. We are assuming this XML is safe.\n\t \n\t return $isXML;\n }", "public function validate($config){\n\t\t\n\t}", "function processXML($filename) {\n // read the xml document\n $data = implode(\"\",file($filename));\n $parser = xml_parser_create();\n xml_parser_set_option($parser,XML_OPTION_CASE_FOLDING,0);\n xml_parser_set_option($parser,XML_OPTION_SKIP_WHITE,1);\n xml_parse_into_struct($parser,$data,$values,$tags);\n xml_parser_free($parser);\n\t$talks = array();\n\t// loop through the structures\n foreach ($tags as $key=>$val) {\n if ($key == \"talk\") {\n $ranges = $val;\n\t\t\t$nranges = count($ranges);\n // each contiguous pair of array entries are the\n // lower and upper range for each talk elements\n for ($i=0; $i < $nranges; $i+=2) {\n $offset = $ranges[$i] + 1;\n $len = $ranges[$i + 1] - $offset;\n $talks[] =& parseTalk(array_slice($values, $offset, $len));\n }\n } else {\n continue;\n }\n }\n return array($tags, $values, $talks);\n}", "private function _parseConfig()\n {\n if( is_dir( self::INI_DIR ) && $files = scandir( self::INI_DIR ) )\n {\n foreach( $files as $fileName )\n {\n $file = self::INI_DIR . '/' . $fileName;\n\n if( is_file( $file ) )\n {\n if( $sections = parse_ini_file( $file, TRUE ) )\n {\n foreach( $sections as $section => $config )\n {\n $config = (object) $config;\n\n if( 'spawnd' === $section )\n {\n $this->_config = $config;\n }\n else\n {\n $this->_setProcess( $section, $config );\n }\n }\n }\n else\n {\n throw new Exception( $file . ' file is invalid' );\n }\n }\n }\n }\n else\n {\n throw new Exception( self::INI_DIR . ' directory does not exist' );\n }\n }" ]
[ "0.61636466", "0.6060231", "0.58951765", "0.5790261", "0.57397026", "0.5737233", "0.57292074", "0.56908906", "0.5558405", "0.5464773", "0.5426498", "0.5406893", "0.53874254", "0.5353921", "0.53012294", "0.5297268", "0.52940035", "0.5196109", "0.51702297", "0.516989", "0.51276964", "0.51275516", "0.5115009", "0.5100864", "0.5056828", "0.5056478", "0.50472873", "0.5038944", "0.50305647", "0.50266206" ]
0.64176506
0
/ Function to process a valid ILance XML Email Template data to convert all xml tags into usable arrays
function process_email_xml($a = array(), $e) { $ilversion = $langcode = $charset = $author = $emailname = $emailsubject = $emailbody = $emailtype = $emailvarname = $emailproduct = $emailcansend = $emaildepartmentid = $emailbuyer = $emailseller = $emailadmin = $emailishtml = ''; $emailarray = array(); $arraycount = count($a); for ($i = 0; $i < $arraycount; $i++) { if ($a[$i]['tag'] == 'LANGUAGE') { if (empty($ilversion) AND $a[$i]['type'] == 'open') { $ilversion = $a[$i]['attributes']['ILVERSION']; } } else if ($a[$i]['tag'] == 'AUTHOR') { if (empty($author) AND $a[$i]['type'] == 'complete') { $author = trim($a[$i]['value']); } } else if ($a[$i]['tag'] == 'LANGUAGECODE') { if (empty($langcode) AND $a[$i]['type'] == 'complete') { $langcode = $a[$i]['value']; } } else if ($a[$i]['tag'] == 'CHARSET') { if (empty($charset) AND $a[$i]['type'] == 'complete') { $charset = trim($a[$i]['value']); } } else if ($a[$i]['tag'] == 'NAME') { $emailname = $a[$i]['value']; } else if ($a[$i]['tag'] == 'SUBJECT') { $emailsubject = $a[$i]['value']; } else if ($a[$i]['tag'] == 'MESSAGE') { $emailbody = $a[$i]['value']; } else if ($a[$i]['tag'] == 'TYPE') { $emailtype = $a[$i]['value']; } else if ($a[$i]['tag'] == 'VARNAME') { $emailvarname = $a[$i]['value']; } else if ($a[$i]['tag'] == 'PRODUCT') { $emailproduct = $a[$i]['value']; } else if ($a[$i]['tag'] == 'CANSEND') { $emailcansend = $a[$i]['value']; } else if ($a[$i]['tag'] == 'DEPARTMENTID') { $emaildepartmentid = $a[$i]['value']; } else if ($a[$i]['tag'] == 'BUYER') { $emailbuyer = $a[$i]['value']; } else if ($a[$i]['tag'] == 'SELLER') { $emailseller = $a[$i]['value']; } else if ($a[$i]['tag'] == 'ADMIN') { $emailadmin = $a[$i]['value']; } else if ($a[$i]['tag'] == 'ISHTML') { $emailishtml = $a[$i]['value']; } if (!empty($emailvarname) AND !empty($emailname) AND !empty($emailsubject) AND !empty($emailbody) AND !empty($emailtype) AND !empty($emailproduct) AND !empty($emailcansend) AND !empty($emaildepartmentid)) { $emailarray[] = array( $emailname, $emailsubject, $emailbody, $emailtype, $emailvarname, (isset($emailproduct) ? $emailproduct : 'ilance'), intval($emailcansend), intval($emaildepartmentid), $emailbuyer, $emailseller, $emailadmin, intval($emailishtml) ); // reset for next email $emailname = $emailsubject = $emailbody = $emailtype = $emailvarname = $emailproduct = $emailcansend = $emaildepartmentid = $emailbuyer = $emailseller = $emailadmin = $emailishtml = ''; } } $result = array( 'ilversion' => $ilversion, 'langcode' => $langcode, 'author' => $author, 'charset' => $charset, 'emailarray' => $emailarray ); return $result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function _xml2array($xml)\n{\n if (!is_array($xml)){ // init on first run\n $raw_xml = $xml;\n $p = xml_parser_create();\n xml_parser_set_option($p, XML_OPTION_CASE_FOLDING, 0);\n xml_parser_set_option($p, XML_OPTION_SKIP_WHITE, 1);\n xml_parse_into_struct($p, $raw_xml, $xml, $idx);\n xml_parser_free($p);\n }\n\n for ($i=0; $i<count($xml,1); $i++) {\n // set the current level\n if (!array_key_exists($i,$xml)) $xml[$i] = array('level' => 0);\n $level = $xml[$i]['level'];\n\n if ($level<1) break;\n\n // mark this level's tag in the array\n $keys[$level] = '['.$i.']';\n\n // if we've come down a level, sort output and destroy the upper level\n if (count($keys)>$level) unset($keys[count($keys)]);\n\n // ignore close tags, they're useless\n if ($xml[$i]['type']==\"open\" || $xml[$i]['type']==\"complete\") {\n\t // build the evalstring\n\t $e = '$output'.implode('[\\'children\\']',$keys);\n\n\t // set the tag name\n\t eval($e.'[\\'name\\'] = $xml[$i][\\'tag\\'];');\n\n\t // set the attributes\n\t if (array_key_exists('attributes',$xml[$i]) && $xml[$i]['attributes']){\n\t eval($e.'[\\'attributes\\'] = $xml[$i][\\'attributes\\'];');\n\t }\n\n\t // set the value\n\t if (array_key_exists('value',$xml[$i]) && $xml[$i]['value']){\n\t eval($e.'[\\'value\\'] = trim($xml[$i][\\'value\\']);');\n\t }\n }\n }\n\n return $output[0];\n}", "function processXML($filename) {\n // read the xml document\n $data = implode(\"\",file($filename));\n $parser = xml_parser_create();\n xml_parser_set_option($parser,XML_OPTION_CASE_FOLDING,0);\n xml_parser_set_option($parser,XML_OPTION_SKIP_WHITE,1);\n xml_parse_into_struct($parser,$data,$values,$tags);\n xml_parser_free($parser);\n\t$talks = array();\n\t// loop through the structures\n foreach ($tags as $key=>$val) {\n if ($key == \"talk\") {\n $ranges = $val;\n\t\t\t$nranges = count($ranges);\n // each contiguous pair of array entries are the\n // lower and upper range for each talk elements\n for ($i=0; $i < $nranges; $i+=2) {\n $offset = $ranges[$i] + 1;\n $len = $ranges[$i + 1] - $offset;\n $talks[] =& parseTalk(array_slice($values, $offset, $len));\n }\n } else {\n continue;\n }\n }\n return array($tags, $values, $talks);\n}", "function xmlToArray($xml) {\n $parser = xml_parser_create(); \n xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);\n xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1);\n xml_parser_set_option($parser, XML_OPTION_TARGET_ENCODING, 'UTF-8');\n xml_parse_into_struct($parser, $xml, $values);\n xml_parser_free($parser);\n\n $result = array();\n $stack = array();\n foreach($values as $val) {\n if($val['type'] == \"open\") {\n array_push($stack, $val['tag']);\n } elseif($val['type'] == \"close\") {\n array_pop($stack);\n } elseif($val['type'] == \"complete\") {\n array_push($stack, $val['tag']);\n setArrayValue($result, $stack, $val['value']);\n array_pop($stack);\n }\n }\n return $result;\n}", "function XMLtoArray($XML)\r\r\n\t{\r\r\n\t\t$xml_parser = xml_parser_create();\r\r\n\t\txml_parse_into_struct($xml_parser, $XML, $vals);\r\r\n\t\txml_parser_free($xml_parser);\r\r\n\t\t// wyznaczamy tablice z powtarzajacymi sie tagami na tym samym poziomie\r\r\n\t\t$_tmp='';\r\r\n\t\tforeach ($vals as $xml_elem) {\r\r\n\t\t\t$x_tag=$xml_elem['tag'];\r\r\n\t\t\t$x_level=$xml_elem['level'];\r\r\n\t\t\t$x_type=$xml_elem['type'];\r\r\n\t\t\tif ($x_level!=1 && $x_type == 'close') {\r\r\n\t\t\t\tif (isset($multi_key[$x_tag][$x_level]))\r\r\n\t\t\t\t\t$multi_key[$x_tag][$x_level]=1;\r\r\n\t\t\t\telse\r\r\n\t\t\t\t\t$multi_key[$x_tag][$x_level]=0;\r\r\n\t\t\t}\r\r\n\t\t\tif ($x_level!=1 && $x_type == 'complete') {\r\r\n\t\t\t\tif ($_tmp==$x_tag)\r\r\n\t\t\t\t\t$multi_key[$x_tag][$x_level]=1;\r\r\n\t\t\t\t$_tmp=$x_tag;\r\r\n\t\t\t}\r\r\n\t\t}\r\r\n\t\t// jedziemy po tablicy\r\r\n\t\tforeach ($vals as $xml_elem) {\r\r\n\t\t\t$x_tag=$xml_elem['tag'];\r\r\n\t\t\t$x_level=$xml_elem['level'];\r\r\n\t\t\t$x_type=$xml_elem['type'];\r\r\n\t\t\tif ($x_type == 'open')\r\r\n\t\t\t\t$level[$x_level] = $x_tag;\r\r\n\t\t\t$start_level = 1;\r\r\n\t\t\t$php_stmt = '$xml_array';\r\r\n\t\t\tif ($x_type=='close' && $x_level!=1)\r\r\n\t\t\t\t$multi_key[$x_tag][$x_level]++;\r\r\n\t\t\twhile ($start_level < $x_level) {\r\r\n\t\t\t\t$php_stmt .= '[$level['.$start_level.']]';\r\r\n\t\t\t\tif (isset($multi_key[$level[$start_level]][$start_level]) && $multi_key[$level[$start_level]][$start_level])\r\r\n\t\t\t\t\t$php_stmt .= '['.($multi_key[$level[$start_level]][$start_level]-1).']';\r\r\n\t\t\t\t$start_level++;\r\r\n\t\t\t}\r\r\n\t\t\t$add='';\r\r\n\t\t\tif (isset($multi_key[$x_tag][$x_level]) && $multi_key[$x_tag][$x_level] && ($x_type=='open' || $x_type=='complete')) {\r\r\n\t\t\t\tif (!isset($multi_key2[$x_tag][$x_level]))\r\r\n\t\t\t\t\t$multi_key2[$x_tag][$x_level]=0;\r\r\n\t\t\t\telse\r\r\n\t\t\t\t\t$multi_key2[$x_tag][$x_level]++;\r\r\n\t\t\t\t$add='['.$multi_key2[$x_tag][$x_level].']';\r\r\n\t\t\t}\r\r\n\t\t\tif (isset($xml_elem['value']) && trim($xml_elem['value'])!='' && !array_key_exists('attributes', $xml_elem)) {\r\r\n\t\t\t\tif ($x_type == 'open')\r\r\n\t\t\t\t\t$php_stmt_main=$php_stmt.'[$x_type]'.$add.'[\\'content\\'] = $xml_elem[\\'value\\'];';\r\r\n\t\t\t\telse\r\r\n\t\t\t\t\t$php_stmt_main=$php_stmt.'[$x_tag]'.$add.' = $xml_elem[\\'value\\'];';\r\r\n\t\t\t\teval($php_stmt_main);\r\r\n\t\t\t}\r\r\n\t\t\tif (array_key_exists('attributes', $xml_elem)) {\r\r\n\t\t\t\tif (isset($xml_elem['value'])) {\r\r\n\t\t\t\t\t$php_stmt_main=$php_stmt.'[$x_tag]'.$add.'[\\'content\\'] = $xml_elem[\\'value\\'];';\r\r\n\t\t\t\t\teval($php_stmt_main);\r\r\n\t\t\t\t}\r\r\n\t\t\t\tforeach ($xml_elem['attributes'] as $key=>$value) {\r\r\n\t\t\t\t\t$php_stmt_att=$php_stmt.'[$x_tag]'.$add.'[$key] = $value;';\r\r\n\t\t\t\t\teval($php_stmt_att);\r\r\n\t\t\t\t}\r\r\n\t\t\t}\r\r\n\t\t}\r\r\n\t\treturn $xml_array;\r\r\n\t}", "function xml2array($contents, $get_attributes=1, $priority = 'tag') {\n if(!$contents) return array();\n\n if(!function_exists('xml_parser_create')) {\n //print \"'xml_parser_create()' function not found!\"; \n return array();\n }\n\n //Get the XML parser of PHP - PHP must have this module for the parser to work \n $parser = xml_parser_create('');\n xml_parser_set_option($parser, XML_OPTION_TARGET_ENCODING, \"UTF-8\"); # http://minutillo.com/steve/weblog/2004/6/17/php-xml-and-character-encodings-a-tale-of-sadness-rage-and-data-loss \n xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);\n xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1);\n xml_parse_into_struct($parser, trim($contents), $xml_values);\n xml_parser_free($parser);\n\n if(!$xml_values) return;//Hmm... \n\n //Initializations \n $xml_array = array();\n $parents = array();\n $opened_tags = array();\n $arr = array();\n\n $current = &$xml_array; //Refference \n\n //Go through the tags. \n $repeated_tag_index = array();//Multiple tags with same name will be turned into an array \n foreach($xml_values as $data) {\n unset($attributes,$value);//Remove existing values, or there will be trouble \n\n //This command will extract these variables into the foreach scope \n // tag(string), type(string), level(int), attributes(array). \n extract($data);//We could use the array by itself, but this cooler. \n\n $result = array();\n $attributes_data = array();\n\n if(isset($value)) {\n if($priority == 'tag') $result = $value;\n else $result['value'] = $value; //Put the value in a assoc array if we are in the 'Attribute' mode \n }\n\n //Set the attributes too. \n if(isset($attributes) and $get_attributes) {\n foreach($attributes as $attr => $val) {\n if($priority == 'tag') $attributes_data[$attr] = $val;\n else $result['attr'][$attr] = $val; //Set all the attributes in a array called 'attr' \n }\n }\n\n //See tag status and do the needed. \n if($type == \"open\") {//The starting of the tag '<tag>' \n $parent[$level-1] = &$current;\n if(!is_array($current) or (!in_array($tag, array_keys($current)))) { //Insert New tag \n $current[$tag] = $result;\n if($attributes_data) $current[$tag. '_attr'] = $attributes_data;\n $repeated_tag_index[$tag.'_'.$level] = 1;\n\n $current = &$current[$tag];\n\n } else { //There was another element with the same tag name \n\n if(isset($current[$tag][0])) {//If there is a 0th element it is already an array \n $current[$tag][$repeated_tag_index[$tag.'_'.$level]] = $result;\n $repeated_tag_index[$tag.'_'.$level]++;\n } else {//This section will make the value an array if multiple tags with the same name appear together \n $current[$tag] = array($current[$tag],$result);//This will combine the existing item and the new item together to make an array \n $repeated_tag_index[$tag.'_'.$level] = 2;\n\n if(isset($current[$tag.'_attr'])) { //The attribute of the last(0th) tag must be moved as well \n $current[$tag]['0_attr'] = $current[$tag.'_attr'];\n unset($current[$tag.'_attr']);\n }\n\n }\n $last_item_index = $repeated_tag_index[$tag.'_'.$level]-1;\n $current = &$current[$tag][$last_item_index];\n }\n\n } elseif($type == \"complete\") { //Tags that ends in 1 line '<tag />' \n //See if the key is already taken. \n if(!isset($current[$tag])) { //New Key \n $current[$tag] = $result;\n $repeated_tag_index[$tag.'_'.$level] = 1;\n if($priority == 'tag' and $attributes_data) $current[$tag. '_attr'] = $attributes_data;\n\n } else { //If taken, put all things inside a list(array) \n if(isset($current[$tag][0]) and is_array($current[$tag])) {//If it is already an array... \n\n // ...push the new element into that array. \n $current[$tag][$repeated_tag_index[$tag.'_'.$level]] = $result;\n\n if($priority == 'tag' and $get_attributes and $attributes_data) {\n $current[$tag][$repeated_tag_index[$tag.'_'.$level] . '_attr'] = $attributes_data;\n }\n $repeated_tag_index[$tag.'_'.$level]++;\n\n } else { //If it is not an array... \n $current[$tag] = array($current[$tag],$result); //...Make it an array using using the existing value and the new value \n $repeated_tag_index[$tag.'_'.$level] = 1;\n if($priority == 'tag' and $get_attributes) {\n if(isset($current[$tag.'_attr'])) { //The attribute of the last(0th) tag must be moved as well \n\n $current[$tag]['0_attr'] = $current[$tag.'_attr'];\n unset($current[$tag.'_attr']);\n }\n\n if($attributes_data) {\n $current[$tag][$repeated_tag_index[$tag.'_'.$level] . '_attr'] = $attributes_data;\n }\n }\n $repeated_tag_index[$tag.'_'.$level]++; //0 and 1 index is already taken \n }\n }\n\n } elseif($type == 'close') { //End of tag '</tag>' \n $current = &$parent[$level-1];\n }\n }\n\n return($xml_array);\n}", "function read_XMP_array_from_text($xmltext)\n\t{\n\t\tif (trim($xmltext) == '')\n\t\t{\n\t\t\treturn false;\n\t\t}\n\n\t\t// Create an instance of a xml parser to parse the XML text\n\t\t$xml_parser = xml_parser_create('UTF-8');\n\n\t\t// Change: Fixed problem that caused the whitespace (especially newlines) to be destroyed when converting xml text to an xml array, as of revision 1.10\n\n\t\t// We would like to remove unneccessary white space, but this will also\n\t\t// remove things like newlines (&#xA;) in the XML values, so white space\n\t\t// will have to be removed later\n\t\tif (xml_parser_set_option($xml_parser, XML_OPTION_SKIP_WHITE, 0) == false)\n\t\t{\n\t\t\t// Error setting case folding - destroy the parser and return\n\t\t\txml_parser_free($xml_parser);\n\t\t\treturn false;\n\t\t}\n\n\t\t// to use XML code correctly we have to turn case folding\n\t\t// (uppercasing) off. XML is case sensitive and upper\n\t\t// casing is in reality XML standards violation\n\t\tif (xml_parser_set_option($xml_parser, XML_OPTION_CASE_FOLDING, 0) == false)\n\t\t{\n\t\t\t// Error setting case folding - destroy the parser and return\n\t\t\txml_parser_free($xml_parser);\n\t\t\treturn false;\n\t\t}\n\n\t\t// Parse the XML text into a array structure\n\t\tif (xml_parse_into_struct($xml_parser, $xmltext, $values, $tags) == 0)\n\t\t{\n\t\t\t// Error Parsing XML - destroy the parser and return\n\t\t\txml_parser_free($xml_parser);\n\t\t\treturn false;\n\t\t}\n\n\t\t// Destroy the xml parser\n\t\txml_parser_free($xml_parser);\n\n\t\t// Clear the output array\n\t\t$xmp_array = array();\n\n\t\t// The XMP data has now been parsed into an array ...\n\n\t\t// Cycle through each of the array elements\n\t\t$current_property = ''; // current property being processed\n\t\t$container_index = -1; // -1 = no container open, otherwise index of container content\n\t\tforeach ($values as $xml_elem)\n\t\t{\n\t\t\t// Syntax and Class names\n\t\t\tswitch ($xml_elem['tag'])\n\t\t\t{\n\t\t\t\tcase 'x:xmpmeta':\n\t\t\t\t\t// only defined attribute is x:xmptk written by Adobe XMP Toolkit; value is the version of the toolkit\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'rdf:RDF':\n\t\t\t\t\t// required element immediately within x:xmpmeta; no data here\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'rdf:Description':\n\t\t\t\t\tswitch ($xml_elem['type'])\n\t\t\t\t\t{\n\t\t\t\t\t\tcase 'open':\n\t\t\t\t\t\tcase 'complete':\n\t\t\t\t\t\t\tif (array_key_exists('attributes', $xml_elem))\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t// rdf:Description may contain wanted attributes\n\t\t\t\t\t\t\t\tforeach (array_keys($xml_elem['attributes']) as $key)\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t// Check whether we want this details from this attribute\n//\t\t\t\t\t\t\t\t\tif (in_array($key, $GLOBALS['XMP_tag_captions']))\n\t\t\t\t\t\t\t\t\tif (true)\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t// Attribute wanted\n\t\t\t\t\t\t\t\t\t\t$xmp_array[$key] = $xml_elem['attributes'][$key];\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 'cdata':\n\t\t\t\t\t\tcase 'close':\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'rdf:ID':\n\t\t\t\tcase 'rdf:nodeID':\n\t\t\t\t\t// Attributes are ignored\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'rdf:li':\n\t\t\t\t\t// Property member\n\t\t\t\t\tif ($xml_elem['type'] == 'complete')\n\t\t\t\t\t{\n\t\t\t\t\t\tif (array_key_exists('attributes', $xml_elem))\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t// If Lang Alt (language alternatives) then ensure we take the default language\n\t\t\t\t\t\t\tif (isset($xml_elem['attributes']['xml:lang']) && ($xml_elem['attributes']['xml:lang'] != 'x-default'))\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif ($current_property != '')\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t$xmp_array[$current_property][$container_index] = (isset($xml_elem['value']) ? $xml_elem['value'] : '');\n\t\t\t\t\t\t\t$container_index += 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t//else unidentified attribute!!\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'rdf:Seq':\n\t\t\t\tcase 'rdf:Bag':\n\t\t\t\tcase 'rdf:Alt':\n\t\t\t\t\t// Container found\n\t\t\t\t\tswitch ($xml_elem['type'])\n\t\t\t\t\t{\n\t\t\t\t\t\tcase 'open':\n \t\t\t\t\t\t\t$container_index = 0;\n \t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 'close':\n\t\t\t\t\t\t\t$container_index = -1;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 'cdata':\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t\tdefault:\n\t\t\t\t\t// Check whether we want the details from this attribute\n//\t\t\t\t\tif (in_array($xml_elem['tag'], $GLOBALS['XMP_tag_captions']))\n\t\t\t\t\tif (true)\n\t\t\t\t\t{\n\t\t\t\t\t\tswitch ($xml_elem['type'])\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tcase 'open':\n\t\t\t\t\t\t\t\t// open current element\n\t\t\t\t\t\t\t\t$current_property = $xml_elem['tag'];\n\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\tcase 'close':\n\t\t\t\t\t\t\t\t// close current element\n\t\t\t\t\t\t\t\t$current_property = '';\n\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\tcase 'complete':\n\t\t\t\t\t\t\t\t// store attribute value\n\t\t\t\t\t\t\t\t$xmp_array[$xml_elem['tag']] = (isset($xml_elem['attributes']) ? $xml_elem['attributes'] : (isset($xml_elem['value']) ? $xml_elem['value'] : ''));\n\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\tcase 'cdata':\n\t\t\t\t\t\t\t\t// ignore\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\t\treturn $xmp_array;\n\t}", "function unpackXML($xml_blob) {\n $data = array();\n $result = preg_match_all('|<datum>(.*)</datum>|U', $xml_blob, $data);\n \n $data_elements = array();\n foreach($data[1] as $datum) {\n $key = array();\n $result = preg_match('|<key>(.*)</key>|U', $datum, $key);\n \n $value = array();\n $result = preg_match('|<value>(.*)</value>|U', $datum, $value);\n\n $data_elements[$key[1]] = $value[1] ;\n }\n \n return $data_elements;\n}", "function xml2array($contents, $get_attributes=1, $priority = 'tag') {\n\t if(!$contents) return array();\n \n\t if(!function_exists('xml_parser_create')) {\n\t //print \"'xml_parser_create()' function not found!\";\n\t return array();\n\t }\n \n\t //Get the XML parser of PHP - PHP must have this module for the parser to work\n\t $parser = xml_parser_create('');\n\t xml_parser_set_option($parser, XML_OPTION_TARGET_ENCODING, \"UTF-8\"); # http://minutillo.com/steve/weblog/2004/6/17/php-xml-and-character-encodings-a-tale-of-sadness-rage-and-data-loss\n\t xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);\n\t xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1);\n\t xml_parse_into_struct($parser, trim($contents), $xml_values);\n\t xml_parser_free($parser);\n \n\t if(!$xml_values) return;//Hmm...\n \n\t //Initializations\n\t $xml_array = array();\n\t $parents = array();\n\t $opened_tags = array();\n\t $arr = array();\n \n\t $current = &$xml_array; //Refference\n \n\t //Go through the tags.\n\t $repeated_tag_index = array();//Multiple tags with same name will be turned into an array\n\t foreach($xml_values as $data) {\n\t unset($attributes,$value);//Remove existing values, or there will be trouble\n \n\t //This command will extract these variables into the foreach scope\n\t // tag(string), type(string), level(int), attributes(array).\n\t extract($data);//We could use the array by itself, but this cooler.\n \n\t $result = array();\n\t $attributes_data = array();\n \n\t if(isset($value)) {\n\t\t if($priority == 'tag') $result = $value;\n\t\t else $result['value'] = $value; //Put the value in a assoc array if we are in the 'Attribute' mode\n\t }\n \n\t //Set the attributes too.\n\t if(isset($attributes) and $get_attributes) {\n\t\t foreach($attributes as $attr => $val) {\n\t\t if($priority == 'tag') $attributes_data[$attr] = $val;\n\t\t else $result['attr'][$attr] = $val; //Set all the attributes in a array called 'attr'\n\t\t }\n\t }\n \n\t //See tag status and do the needed.\n\t if($type == \"open\") {//The starting of the tag '<tag>'\n\t\t $parent[$level-1] = &$current;\n\t\t if(!is_array($current) or (!in_array($tag, array_keys($current)))) { //Insert New tag\n\t\t $current[$tag] = $result;\n\t\t if($attributes_data) $current[$tag. '_attr'] = $attributes_data;\n\t\t $repeated_tag_index[$tag.'_'.$level] = 1;\n \n\t\t $current = &$current[$tag];\n \n\t\t } else { //There was another element with the same tag name\n \n\t\t if(isset($current[$tag][0])) {//If there is a 0th element it is already an array\n\t\t\t $current[$tag][$repeated_tag_index[$tag.'_'.$level]] = $result;\n\t\t\t $repeated_tag_index[$tag.'_'.$level]++;\n\t\t } else {//This section will make the value an array if multiple tags with the same name appear together\n\t\t\t $current[$tag] = array($current[$tag],$result);//This will combine the existing item and the new item together to make an array\n\t\t\t $repeated_tag_index[$tag.'_'.$level] = 2;\n \n\t\t\t if(isset($current[$tag.'_attr'])) { //The attribute of the last(0th) tag must be moved as well\n\t\t\t $current[$tag]['0_attr'] = $current[$tag.'_attr'];\n\t\t\t unset($current[$tag.'_attr']);\n\t\t\t }\n \n\t\t }\n\t\t $last_item_index = $repeated_tag_index[$tag.'_'.$level]-1;\n\t\t $current = &$current[$tag][$last_item_index];\n\t\t }\n \n\t } elseif($type == \"complete\") { //Tags that ends in 1 line '<tag />'\n\t\t //See if the key is already taken.\n\t\t if(!isset($current[$tag])) { //New Key\n\t\t $current[$tag] = $result;\n\t\t $repeated_tag_index[$tag.'_'.$level] = 1;\n\t\t if($priority == 'tag' and $attributes_data) $current[$tag. '_attr'] = $attributes_data;\n \n\t\t } else { //If taken, put all things inside a list(array)\n\t\t if(isset($current[$tag][0]) and is_array($current[$tag])) {//If it is already an array...\n \n\t\t\t // ...push the new element into that array.\n\t\t\t $current[$tag][$repeated_tag_index[$tag.'_'.$level]] = $result;\n \n\t\t\t if($priority == 'tag' and $get_attributes and $attributes_data) {\n\t\t\t $current[$tag][$repeated_tag_index[$tag.'_'.$level] . '_attr'] = $attributes_data;\n\t\t\t }\n\t\t\t $repeated_tag_index[$tag.'_'.$level]++;\n \n\t\t } else { //If it is not an array...\n\t\t\t $current[$tag] = array($current[$tag],$result); //...Make it an array using using the existing value and the new value\n\t\t\t $repeated_tag_index[$tag.'_'.$level] = 1;\n\t\t\t if($priority == 'tag' and $get_attributes) {\n\t\t\t if(isset($current[$tag.'_attr'])) { //The attribute of the last(0th) tag must be moved as well\n \n\t\t\t\t $current[$tag]['0_attr'] = $current[$tag.'_attr'];\n\t\t\t\t unset($current[$tag.'_attr']);\n\t\t\t }\n \n\t\t\t if($attributes_data) {\n\t\t\t\t $current[$tag][$repeated_tag_index[$tag.'_'.$level] . '_attr'] = $attributes_data;\n\t\t\t }\n\t\t\t }\n\t\t\t $repeated_tag_index[$tag.'_'.$level]++; //0 and 1 index is already taken\n\t\t }\n\t\t }\n \n\t } elseif($type == 'close') { //End of tag '</tag>'\n\t\t $current = &$parent[$level-1];\n\t }\n\t }\n \n\t return($xml_array);\n }", "function xml2array($contents, $get_attributes=1)\n\t\t{\n\t\t\t\tif(!$contents) return array();\n\t\t\t\t\n\t\t\t\tif(!function_exists('xml_parser_create')) \n\t\t\t\t{\n\t\t\t\t//print \"'xml_parser_create()' function not found!\";\n\t\t\t\treturn array();\n\t\t\t\t}\n\t\t\t\t//Get the XML parser of PHP - PHP must have this module for the parser to work\n\t\t\t\t$parser = xml_parser_create();\n\t\t\t\txml_parser_set_option( $parser, XML_OPTION_CASE_FOLDING, 0 );\n\t\t\t\txml_parser_set_option( $parser, XML_OPTION_SKIP_WHITE, 1 );\n\t\t\t\txml_parse_into_struct( $parser, $contents, $xml_values );\n\t\t\t\txml_parser_free( $parser );\n\t\t\t\t\n\t\t\t\tif(!$xml_values) return;//Hmm...\n\t\t\t\t\n\t\t\t\t// Initializations\n\t\t\t\t$xml_array = array();\n\t\t\t\t$parents = array();\n\t\t\t\t$opened_tags = array();\n\t\t\t\t$arr = array();\n\t\t\t\t\n\t\t\t\t$current = &$xml_array;\n\t\t\t\t\n\t\t\t\t//Go through the tags.\n\t\t\t\tforeach($xml_values as $data) {\n\t\t\t\tunset($attributes,$value);//Remove existing values, or there will be trouble\n\t\t\t\t\n\t\t\t\t//This command will extract these variables into the foreach scope\n\t\t\t\t// tag(string), type(string), level(int), attributes(array).\n\t\t\t\textract($data);//We could use the array by itself, but this cooler.\n\t\t\t\t\n\t\t\t\t$result = '';\n\t\t\t\tif($get_attributes) {//The second argument of the function decides this.\n\t\t\t\t$result = array();\n\t\t\t\tif(isset($value)) $result['value'] = $value;\n\t\t\t\t\n\t\t\t\t// Set the attributes too.\n\t\t\t\tif(isset($attributes)) {\n\t\t\t\tforeach($attributes as $attr => $val) {\n\t\t\t\tif($get_attributes == 1) $result['attr'][$attr] = $val; // Set all the attributes in a array called 'attr'\n\t\t\t\t/** : TODO: should we change the key name to '_attr'? Someone may use the tagname 'attr'. Same goes for 'value' too */\n\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t} elseif(isset($value)) {\n\t\t\t\t$result = $value;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// See tag status and do the needed.\n\t\t\t\tif($type == \"open\") { // The starting of the tag \"\n\t\t\t\t$parent[$level-1] = &$current;\n\t\t\t\t\n\t\t\t\tif(!is_array($current) or (!in_array($tag, array_keys($current)))) { // Insert New tag\n\t\t\t\t$current[$tag] = $result;\n\t\t\t\t$current = &$current[$tag];\n\t\t\t\t\n\t\t\t\t} else { // There was another element with the same tag name\n\t\t\t\tif(isset($current[$tag][0])) {\n\t\t\t\tarray_push($current[$tag], $result);\n\t\t\t\t} else {\n\t\t\t\t$current[$tag] = array($current[$tag],$result);\n\t\t\t\t}\n\t\t\t\t$last = count($current[$tag]) - 1;\n\t\t\t\t$current = &$current[$tag][$last];\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t} elseif($type == \"complete\") { // Tags that ends in 1 line \"\n\t\t\t\t// See if the key is already taken.\n\t\t\t\tif(!isset($current[$tag])) { // New Key\n\t\t\t\t$current[$tag] = $result;\n\t\t\t\t\n\t\t\t\t} else { // If taken, put all things inside a list(array)\n\t\t\t\tif((is_array($current[$tag]) and $get_attributes == 0)//If it is already an array\\85\n\t\t\t\tor (isset($current[$tag][0]) and is_array($current[$tag][0]) and $get_attributes == 1)) {\n\t\t\t\tarray_push($current[$tag],$result); // \\85push the new element into that array.\n\t\t\t\t} else { //If it is not an array\\85\n\t\t\t\t$current[$tag] = array($current[$tag],$result); //\\85Make it an array using using the existing value and the new value\n\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t} elseif($type == 'close') { //End of tag \"\n\t\t\t\t$current = &$parent[$level-1];\n\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t//print_r( $xml_array);\n\t\t\t\treturn($xml_array);\n\t\t\n\t\t\t\n\t\t}", "function shaken_xml2array(&$string) {\n\t$parser = xml_parser_create();\n\txml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);\n\txml_parse_into_struct($parser, $string, $vals, $index);\n\txml_parser_free($parser);\n\t$mnary=array();\n\t$ary=&$mnary;\n\tforeach ($vals as $r) {\n\t\t$t=$r['tag'];\n\t\tif ($r['type']=='open') {\n\t\t\tif (isset($ary[$t])) {\n\t\t\t\tif (isset($ary[$t][0])) $ary[$t][]=array(); else $ary[$t]=array($ary[$t], array());\n\t\t\t\t$cv=&$ary[$t][count($ary[$t])-1];\n\t\t\t} else $cv=&$ary[$t];\n\t\t\tif (isset($r['attributes'])) {foreach ($r['attributes'] as $k=>$v) $cv['_a'][$k]=$v;}\n\t\t\t$cv['_c']=array();\n\t\t\t$cv['_c']['_p']=&$ary;\n\t\t\t$ary=&$cv['_c'];\n\t\t} elseif ($r['type']=='complete') {\n\t\t\tif (isset($ary[$t])) { // same as open\n\t\t\t\tif (isset($ary[$t][0])) $ary[$t][]=array(); else $ary[$t]=array($ary[$t], array());\n\t\t\t\t$cv=&$ary[$t][count($ary[$t])-1];\n\t\t\t} else $cv=&$ary[$t];\n\t\t\tif (isset($r['attributes'])) {foreach ($r['attributes'] as $k=>$v) $cv['_a'][$k]=$v;}\n\t\t\t$cv['_v']=(isset($r['value']) ? $r['value'] : '');\n\n\t\t} elseif ($r['type']=='close') {\n\t\t\t$ary=&$ary['_p'];\n\t\t}\n\t} \n\t_shaken_del_p($mnary);\n\treturn $mnary;\n}", "function create_data($template=null) {\n\t\t\n\t if (($template) && (is_readable($this->savepath .'/'. $template.'.xht'))) {\n\t $xmltemplate = @file_get_contents($this->savepath .'/'. $template.'.xht');\n\t\t\t$xmltemplate_products = @file_get_contents($this->savepath .'/'. $template.'.xhm');\n\t\t\t//echo '>SEE:',$xmltemplate_products;\n\t\t}\n else\n return false;\t\t\t\n\t\t\n\t $data = $this->get_xml_items();\n\t\t//print_r($data);\n\t\t//echo count($data); >1 ?\n\t\t$tokens = array();\n\t\t$items = array();\n\t\tforeach ($data as $n=>$rec) {\n\t\t\t\n\t\t\tforeach ($this->select_fields as $i=>$f) {\n\t\t\t\t$tokens[] = $rec[$f];\n }\t\n\t\t\t$tokens[] = $rec['itemurl'];\n\t\t\t$tokens[] = $rec['itemimg'];\n\t\t\t$tokens[] = $rec['itemcat']; /** <<<<<<<<<<<<<<<<<<<<<<<<<<< also add **/\n\t\t\t//if ($n==0) print_r($tokens);\n\t\t\t$items[] = $this->combine_tokens($xmltemplate_products, $tokens, true);\n unset($tokens);\t\t\t\t\t\t\n\t\t}\t\n\t\t\n\t\t$tt = array();\n\t\t$tt[] = $this->cdate = date('Y-m-d h:m'); //$this->cdate;\n\t\t$tt[] = implode(\"\", $items);\n\t\t$ret = $this->combine_tokens($xmltemplate, $tt, true);\n\t\tunset($tt);\n\t\treturn ($ret);\n\t}", "private function xmltoarray($contents, $get_attributes=1, $priority = 'attribute') {\n if(!$contents) return array();\n\n if(!function_exists('xml_parser_create')) {\n //print \"'xml_parser_create()' function not found!\";\n return array();\n }\n\n //Get the XML parser of PHP - PHP must have this module for the parser to work\n $parser = xml_parser_create('');\n xml_parser_set_option($parser, XML_OPTION_TARGET_ENCODING, \"UTF-8\"); # http://minutillo.com/steve/weblog/2004/6/17/php-xml-and-character-encodings-a-tale-of-sadness-rage-and-data-loss\n xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);\n xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1);\n xml_parse_into_struct($parser, trim($contents), $xml_values);\n xml_parser_free($parser);\n\n if(!$xml_values) return;//Hmm...\n\n //Initializations\n $bigxml_array = array();\n $parents = array();\n $opened_tags = array();\n $arr = array();\n\n $current = &$bigxml_array; //Refference\n\n //Go through the tags.\n $repeated_tag_index = array();//Multiple tags with same name will be turned into an array\n foreach($xml_values as $data) {\n unset($attributes,$value);//Remove existing values, or there will be trouble\n\n //This command will extract these variables into the foreach scope\n // tag(string), type(string), level(int), attributes(array).\n extract($data);//We could use the array by itself, but this cooler.\n\n $result = array();\n $attributes_data = array();\n\n if(isset($value)) {\n if($priority == 'tag') $result = $value;\n else $result['value'] = $value; //Put the value in a assoc array if we are in the 'Attribute' mode\n }\n\n //Set the attributes too.\n if(isset($attributes) and $get_attributes) {\n foreach($attributes as $attr => $val) {\n if($priority == 'tag') $attributes_data[$attr] = $val;\n else $result['attr'][$attr] = $val; //Set all the attributes in a array called 'attr'\n }\n }\n\n //See tag status and do the needed.\n if($type == \"open\") {//The starting of the tag '<tag>'\n $parent[$level-1] = &$current;\n if(!is_array($current) or (!in_array($tag, array_keys($current)))) { //Insert New tag\n $current[$tag] = $result;\n if($attributes_data) $current[$tag. '_attr'] = $attributes_data;\n $repeated_tag_index[$tag.'_'.$level] = 1;\n\n $current = &$current[$tag];\n\n } else { //There was another element with the same tag name\n\n if(isset($current[$tag][0])) {//If there is a 0th element it is already an array\n $current[$tag][$repeated_tag_index[$tag.'_'.$level]] = $result;\n $repeated_tag_index[$tag.'_'.$level]++;\n } else {//This section will make the value an array if multiple tags with the same name appear together\n $current[$tag] = array($current[$tag],$result);//This will combine the existing item and the new item together to make an array\n $repeated_tag_index[$tag.'_'.$level] = 2;\n\n if(isset($current[$tag.'_attr'])) { //The attribute of the last(0th) tag must be moved as well\n $current[$tag]['0_attr'] = $current[$tag.'_attr'];\n unset($current[$tag.'_attr']);\n }\n\n }\n $last_item_index = $repeated_tag_index[$tag.'_'.$level]-1;\n $current = &$current[$tag][$last_item_index];\n }\n\n } elseif($type == \"complete\") { //Tags that ends in 1 line '<tag />'\n //See if the key is already taken.\n if(!isset($current[$tag])) { //New Key\n $current[$tag] = $result;\n $repeated_tag_index[$tag.'_'.$level] = 1;\n if($priority == 'tag' and $attributes_data) $current[$tag. '_attr'] = $attributes_data;\n\n } else { //If taken, put all things inside a list(array)\n if(isset($current[$tag][0]) and is_array($current[$tag])) {//If it is already an array...\n\n // ...push the new element into that array.\n $current[$tag][$repeated_tag_index[$tag.'_'.$level]] = $result;\n\n if($priority == 'tag' and $get_attributes and $attributes_data) {\n $current[$tag][$repeated_tag_index[$tag.'_'.$level] . '_attr'] = $attributes_data;\n }\n $repeated_tag_index[$tag.'_'.$level]++;\n\n } else { //If it is not an array...\n $current[$tag] = array($current[$tag],$result); //...Make it an array using using the existing value and the new value\n $repeated_tag_index[$tag.'_'.$level] = 1;\n if($priority == 'tag' and $get_attributes) {\n if(isset($current[$tag.'_attr'])) { //The attribute of the last(0th) tag must be moved as well\n\n $current[$tag]['0_attr'] = $current[$tag.'_attr'];\n unset($current[$tag.'_attr']);\n }\n\n if($attributes_data) {\n $current[$tag][$repeated_tag_index[$tag.'_'.$level] . '_attr'] = $attributes_data;\n }\n }\n $repeated_tag_index[$tag.'_'.$level]++; //0 and 1 index is already taken\n }\n }\n\n } elseif($type == 'close') { //End of tag '</tag>'\n $current = &$parent[$level-1];\n }\n }\n\n return($bigxml_array);\n}", "private function buildTemplate(SimpleXMLElement $template): array\n {\n if ((array) $template === []) {\n return $this->defaultTemplate();\n }\n\n $attributes = [];\n foreach ($template->attributes() as $attribute) {\n $attributes[$attribute->getName()] = (string) $attribute;\n }\n\n return $attributes;\n }", "public function transform($strXmlData);", "function xml2array($url, $get_attributes = 1, $priority = 'tag', $is_url = true)\n{\n $contents = \"\";\n if (!function_exists('xml_parser_create'))\n {\n return false;\n }\n $parser = xml_parser_create('');\n\n if ($is_url)\n {\n if (!($fp = @ fopen($url, 'rb')))\n {\n $ch = curl_init();\n curl_setopt($ch, CURLOPT_URL, $url);\n curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/3.0.0.2');\n curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);\n $contents = curl_exec($ch);\n curl_close($ch);\n\n if (!$contents)\n return false;\n }\n while (!feof($fp))\n {\n $contents .= fread($fp, 8192);\n }\n fclose($fp);\n }\n else\n {\n $contents = $url;\n }\n\n xml_parser_set_option($parser, XML_OPTION_TARGET_ENCODING, \"UTF-8\");\n xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);\n xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1);\n xml_parse_into_struct($parser, trim($contents), $xml_values);\n xml_parser_free($parser);\n if (!$xml_values)\n return; //Hmm...\n $xml_array = array();\n $parents = array();\n $opened_tags = array();\n $arr = array();\n $current = & $xml_array;\n $repeated_tag_index = array();\n foreach ($xml_values as $data)\n {\n\n unset($attributes, $value);\n extract($data);\n $result = array();\n $attributes_data = array();\n if (isset($value))\n {\n if ($priority == 'tag')\n $result = $value;\n else\n $result['value'] = $value;\n }\n if (isset($attributes) and $get_attributes)\n {\n foreach ($attributes as $attr => $val)\n {\n if ($priority == 'tag')\n $attributes_data[$attr] = $val;\n else\n $result['attr'][$attr] = $val; //Set all the attributes in a array called 'attr'\n }\n }\n if ($type == \"open\")\n {\n $parent[$level - 1] = & $current;\n if (!is_array($current) or (!in_array($tag, array_keys($current))))\n {\n $current[$tag] = $result;\n if ($attributes_data)\n $current[$tag . '_attr'] = $attributes_data;\n $repeated_tag_index[$tag . '_' . $level] = 1;\n $current = & $current[$tag];\n }\n else\n {\n if (isset($current[$tag][0]))\n {\n $current[$tag][$repeated_tag_index[$tag . '_' . $level]] = $result;\n $repeated_tag_index[$tag . '_' . $level]++;\n }\n else\n {\n $current[$tag] = array(\n $current[$tag],\n $result\n );\n $repeated_tag_index[$tag . '_' . $level] = 2;\n if (isset($current[$tag . '_attr']))\n {\n $current[$tag]['0_attr'] = $current[$tag . '_attr'];\n unset($current[$tag . '_attr']);\n }\n }\n $last_item_index = $repeated_tag_index[$tag . '_' . $level] - 1;\n $current = & $current[$tag][$last_item_index];\n }\n }\n elseif ($type == \"complete\")\n {\n if (!isset($current[$tag]))\n {\n $current[$tag] = $result;\n $repeated_tag_index[$tag . '_' . $level] = 1;\n if ($priority == 'tag' and $attributes_data)\n $current[$tag . '_attr'] = $attributes_data;\n }\n else\n {\n if (isset($current[$tag][0]) and is_array($current[$tag]))\n {\n $current[$tag][$repeated_tag_index[$tag . '_' . $level]] = $result;\n if ($priority == 'tag' and $get_attributes and $attributes_data)\n {\n $current[$tag][$repeated_tag_index[$tag . '_' . $level] . '_attr'] = $attributes_data;\n }\n $repeated_tag_index[$tag . '_' . $level]++;\n }\n else\n {\n $current[$tag] = array(\n $current[$tag],\n $result\n );\n $repeated_tag_index[$tag . '_' . $level] = 1;\n if ($priority == 'tag' and $get_attributes)\n {\n if (isset($current[$tag . '_attr']))\n {\n $current[$tag]['0_attr'] = $current[$tag . '_attr'];\n unset($current[$tag . '_attr']);\n }\n if ($attributes_data)\n {\n $current[$tag][$repeated_tag_index[$tag . '_' . $level] . '_attr'] = $attributes_data;\n }\n }\n $repeated_tag_index[$tag . '_' . $level]++; //0 and 1 index is already taken\n }\n }\n }\n elseif ($type == 'close')\n {\n $current = & $parent[$level - 1];\n }\n }\n\n return ($xml_array);\n}", "protected function _parse($data)\n\t{\n\t\t// Start with an 'empty' array with no data.\n\t\t$current = array(\n\t\t);\n\n\t\t// Loop until we're out of data.\n\t\twhile ($data != '')\n\t\t{\n\t\t\t// Find and remove the next tag.\n\t\t\tpreg_match('/\\A<([\\w\\-:]+)((?:\\s+.+?)?)([\\s]?\\/)?' . '>/', $data, $match);\n\t\t\tif (isset($match[0]))\n\t\t\t\t$data = preg_replace('/' . preg_quote($match[0], '/') . '/s', '', $data, 1);\n\n\t\t\t// Didn't find a tag? Keep looping....\n\t\t\tif (!isset($match[1]) || $match[1] == '')\n\t\t\t{\n\t\t\t\t// If there's no <, the rest is data.\n\t\t\t\tif (strpos($data, '<') === false)\n\t\t\t\t{\n\t\t\t\t\t$text_value = $this->_from_cdata($data);\n\t\t\t\t\t$data = '';\n\n\t\t\t\t\tif ($text_value != '')\n\t\t\t\t\t\t$current[] = array(\n\t\t\t\t\t\t\t'name' => '!',\n\t\t\t\t\t\t\t'value' => $text_value\n\t\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\t// If the < isn't immediately next to the current position... more data.\n\t\t\t\telseif (strpos($data, '<') > 0)\n\t\t\t\t{\n\t\t\t\t\t$text_value = $this->_from_cdata(substr($data, 0, strpos($data, '<')));\n\t\t\t\t\t$data = substr($data, strpos($data, '<'));\n\n\t\t\t\t\tif ($text_value != '')\n\t\t\t\t\t\t$current[] = array(\n\t\t\t\t\t\t\t'name' => '!',\n\t\t\t\t\t\t\t'value' => $text_value\n\t\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\t// If we're looking at a </something> with no start, kill it.\n\t\t\t\telseif (strpos($data, '<') !== false && strpos($data, '<') == 0)\n\t\t\t\t{\n\t\t\t\t\tif (strpos($data, '<', 1) !== false)\n\t\t\t\t\t{\n\t\t\t\t\t\t$text_value = $this->_from_cdata(substr($data, 0, strpos($data, '<', 1)));\n\t\t\t\t\t\t$data = substr($data, strpos($data, '<', 1));\n\n\t\t\t\t\t\tif ($text_value != '')\n\t\t\t\t\t\t\t$current[] = array(\n\t\t\t\t\t\t\t\t'name' => '!',\n\t\t\t\t\t\t\t\t'value' => $text_value\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\t$text_value = $this->_from_cdata($data);\n\t\t\t\t\t\t$data = '';\n\n\t\t\t\t\t\tif ($text_value != '')\n\t\t\t\t\t\t\t$current[] = array(\n\t\t\t\t\t\t\t\t'name' => '!',\n\t\t\t\t\t\t\t\t'value' => $text_value\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Wait for an actual occurance of an element.\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// Create a new element in the array.\n\t\t\t$el = &$current[];\n\t\t\t$el['name'] = $match[1];\n\n\t\t\t// If this ISN'T empty, remove the close tag and parse the inner data.\n\t\t\tif ((!isset($match[3]) || trim($match[3]) != '/') && (!isset($match[2]) || trim($match[2]) != '/'))\n\t\t\t{\n\t\t\t\t// Because PHP 5.2.0+ seems to croak using regex, we'll have to do this the less fun way.\n\t\t\t\t$last_tag_end = strpos($data, '</' . $match[1]. '>');\n\t\t\t\tif ($last_tag_end === false)\n\t\t\t\t\tcontinue;\n\n\t\t\t\t$offset = 0;\n\t\t\t\twhile (1 == 1)\n\t\t\t\t{\n\t\t\t\t\t// Where is the next start tag?\n\t\t\t\t\t$next_tag_start = strpos($data, '<' . $match[1], $offset);\n\t\t\t\t\t// If the next start tag is after the last end tag then we've found the right close.\n\t\t\t\t\tif ($next_tag_start === false || $next_tag_start > $last_tag_end)\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t// If not then find the next ending tag.\n\t\t\t\t\t$next_tag_end = strpos($data, '</' . $match[1]. '>', $offset);\n\n\t\t\t\t\t// Didn't find one? Then just use the last and sod it.\n\t\t\t\t\tif ($next_tag_end === false)\n\t\t\t\t\t\tbreak;\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\t$last_tag_end = $next_tag_end;\n\t\t\t\t\t\t$offset = $next_tag_start + 1;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// Parse the insides.\n\t\t\t\t$inner_match = substr($data, 0, $last_tag_end);\n\t\t\t\t// Data now starts from where this section ends.\n\t\t\t\t$data = substr($data, $last_tag_end + strlen('</' . $match[1]. '>'));\n\n\t\t\t\tif (!empty($inner_match))\n\t\t\t\t{\n\t\t\t\t\t// Parse the inner data.\n\t\t\t\t\tif (strpos($inner_match, '<') !== false)\n\t\t\t\t\t\t$el += $this->_parse($inner_match);\n\t\t\t\t\telseif (trim($inner_match) != '')\n\t\t\t\t\t{\n\t\t\t\t\t\t$text_value = $this->_from_cdata($inner_match);\n\t\t\t\t\t\tif ($text_value != '')\n\t\t\t\t\t\t\t$el[] = array(\n\t\t\t\t\t\t\t\t'name' => '!',\n\t\t\t\t\t\t\t\t'value' => $text_value\n\t\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// If we're dealing with attributes as well, parse them out.\n\t\t\tif (isset($match[2]) && $match[2] != '')\n\t\t\t{\n\t\t\t\t// Find all the attribute pairs in the string.\n\t\t\t\tpreg_match_all('/([\\w:]+)=\"(.+?)\"/', $match[2], $attr, PREG_SET_ORDER);\n\n\t\t\t\t// Set them as @attribute-name.\n\t\t\t\tforeach ($attr as $match_attr)\n\t\t\t\t\t$el['@' . $match_attr[1]] = $match_attr[2];\n\t\t\t}\n\t\t}\n\n\t\t// Return the parsed array.\n\t\treturn $current;\n\t}", "function parse_response_xml($xmldata) {\n\t\t$p = xml_parser_create();\n\t\txml_parser_set_option($p, XML_OPTION_CASE_FOLDING, 0);\n\t\txml_parser_set_option($p, XML_OPTION_SKIP_WHITE, 0);\n\t\txml_parse_into_struct($p, $xmldata, $parsed);\n\t\txml_parser_free($p);\n\n\n\t\t$result = array();\n\t\t$current = &$result;\n\t\t$lasttag = &$result;\n\t\tforeach ($parsed as $e) {\n\t\t\tswitch ($e['type']) {\n\t\t\t\tcase 'open':\n\t\t\t\t\t$lasttag = &$current;\n\t\t\t\t\t$current = &$current[$e['tag']][];\n\t\t\t\t\t$current['_parent'] = &$lasttag;\n\n\t\t\t\t\t$current = array_merge($current, $this->process_values($e));\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'complete':\n\t\t\t\t\t$current[$e['tag']][] = $this->process_values($e);;\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'close':\n\t\t\t\t\t$parent = &$current['_parent'];\n\t\t\t\t\tunset($current['_parent']);\n\t\t\t\t\t$current = &$parent;\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'cdata':\n\t\t\t\t\tif (trim($e['value']) != '') {\n\t\t\t\t\t\t$current['cdata'] = $e['value'];\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\treturn $result;\n\t}", "function xml2array(\r\n\t\t$contents, \r\n\t\t$root = '/',\r\n\t\t$charset = 'utf-8',\r\n\t\t$get_attributes = 0, \r\n\t\t$priority = 'tag') {\r\n\t\r\n\t\tif(!$contents)\r\n\t\t\treturn array();\r\n\t\r\n\t if(!function_exists('xml_parser_create'))\r\n\t return array();\r\n\t\r\n\t // Get the PHP XML parser\r\n\t $parser = xml_parser_create($charset);\r\n\t\r\n\t // Attempt to find the last tag in the $root path and use this as the \r\n\t // start/end tag for the process of extracting the xml\r\n\t\t// Example input: '/soap:Envelope/soap:Body'\r\n\t\r\n\t // Toggles whether the extraction of xml into the array actually occurs\r\n\t $extract_on = TRUE;\r\n\t $start_and_end_element_name = '';\r\n\t\t$root_elements = explode('/', $root);\r\n\t\tif ($root_elements != FALSE && \r\n\t\t\t!empty($root_elements)) {\r\n\t\t\t$start_and_end_element_name = trim(end($root_elements));\r\n\t\t\tif (!empty($start_and_end_element_name))\r\n\t\t\t\t$extract_on = FALSE;\r\n\t\t}\r\n\t\r\n\t xml_parser_set_option($parser, XML_OPTION_TARGET_ENCODING, \"UTF-8\"); # http://minutillo.com/steve/weblog/2004/6/17/php-xml-and-character-encodings-a-tale-of-sadness-rage-and-data-loss\r\n\t xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);\r\n\t xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1);\r\n\t xml_parse_into_struct($parser, trim($contents), $xml_values);\r\n\t xml_parser_free($parser);\r\n\t\r\n\t if(!$xml_values) \r\n\t \treturn;\r\n\t\r\n\t $xml_array = array();\r\n\t $parents = array();\r\n\t $opened_tags = array();\r\n\t $arr = array();\r\n\t\r\n\t $current = &$xml_array; // Reference\r\n\t\r\n\t // Go through the tags.\r\n\t $repeated_tag_index = array(); // Multiple tags with same name will be turned into an array\r\n\t foreach($xml_values as $data) {\r\n\t unset($attributes,$value); // Remove existing values, or there will be trouble\r\n\t\r\n\t // This command will extract these variables into the foreach scope\r\n\t // tag(string), type(string), level(int), attributes(array).\r\n\t extract($data);\r\n\t\r\n\t if (!empty($start_and_end_element_name) && \r\n\t \t$tag == $start_and_end_element_name) {\r\n\t \t// Start at the next element (if looking at the opening tag), \r\n\t \t// or don't process any more elements (if looking at the closing tag)...\r\n\t \t$extract_on = !$extract_on;\r\n\t \tcontinue;\r\n\t }\r\n\t\r\n\t if (!$extract_on)\r\n\t \tcontinue;\r\n\t \r\n\t $result = array();\r\n\t $attributes_data = array();\r\n\t \r\n\t if(isset($value)) {\r\n\t if($priority == 'tag') $result = $value;\r\n\t else $result['value'] = $value; //Put the value in a assoc array if we are in the 'Attribute' mode\r\n\t }\r\n\t\r\n\t // Set the attributes too.\r\n\t if(isset($attributes) and $get_attributes) {\r\n\t foreach($attributes as $attr => $val) {\r\n\t if($priority == 'tag') $attributes_data[$attr] = $val;\r\n\t else $result['attr'][$attr] = $val; // Set all the attributes in a array called 'attr'\r\n\t }\r\n\t }\r\n\t\r\n\t // See tag status and do the needed.\r\n\t if($type == \"open\") {// The starting of the tag '<tag>'\r\n\t $parent[$level-1] = &$current;\r\n\t if(!is_array($current) or (!in_array($tag, array_keys($current)))) { //Insert New tag\r\n\t $current[$tag] = $result;\r\n\t if($attributes_data) $current[$tag. '_attr'] = $attributes_data;\r\n\t $repeated_tag_index[$tag.'_'.$level] = 1;\r\n\t $current = &$current[$tag];\r\n\t } else { // There was another element with the same tag name\r\n\t if(isset($current[$tag][0])) { // If there is a 0th element it is already an array\r\n\t $current[$tag][$repeated_tag_index[$tag.'_'.$level]] = $result;\r\n\t $repeated_tag_index[$tag.'_'.$level]++;\r\n\t } else { // This section will make the value an array if multiple tags with the same name appear together\r\n\t $current[$tag] = array($current[$tag],$result); // This will combine the existing item and the new item together to make an array\r\n\t $repeated_tag_index[$tag.'_'.$level] = 2;\r\n\t \r\n\t if(isset($current[$tag.'_attr'])) { // The attribute of the last(0th) tag must be moved as well\r\n\t $current[$tag]['0_attr'] = $current[$tag.'_attr'];\r\n\t unset($current[$tag.'_attr']);\r\n\t }\r\n\t }\r\n\t $last_item_index = $repeated_tag_index[$tag.'_'.$level]-1;\r\n\t $current = &$current[$tag][$last_item_index];\r\n\t }\r\n\t } elseif($type == \"complete\") { // Tags that ends in 1 line '<tag />'\r\n\t // See if the key is already taken.\r\n\t if(!isset($current[$tag])) { //New Key\r\n\t \t// Don't insert an empty array - we don't want it!\r\n\t if (!(is_array($result) && empty($result)))\r\n\t \t$current[$tag] = $result;\r\n\t $repeated_tag_index[$tag.'_'.$level] = 1;\r\n\t if($priority == 'tag' and $attributes_data) $current[$tag. '_attr'] = $attributes_data;\r\n\t\r\n\t } else { // If taken, put all things inside a list(array)\r\n\t if(isset($current[$tag][0]) and is_array($current[$tag])) { // If it is already an array...\r\n\t\r\n\t // ...push the new element into that array.\r\n\t $current[$tag][$repeated_tag_index[$tag.'_'.$level]] = $result;\r\n\t \r\n\t if($priority == 'tag' and $get_attributes and $attributes_data) {\r\n\t $current[$tag][$repeated_tag_index[$tag.'_'.$level] . '_attr'] = $attributes_data;\r\n\t }\r\n\t $repeated_tag_index[$tag.'_'.$level]++;\r\n\t\r\n\t } else { // If it is not an array...\r\n\t $current[$tag] = array($current[$tag],$result); // ...Make it an array using using the existing value and the new value\r\n\t $repeated_tag_index[$tag.'_'.$level] = 1;\r\n\t if($priority == 'tag' and $get_attributes) {\r\n\t if(isset($current[$tag.'_attr'])) { // The attribute of the last(0th) tag must be moved as well\r\n\t \r\n\t $current[$tag]['0_attr'] = $current[$tag.'_attr'];\r\n\t unset($current[$tag.'_attr']);\r\n\t }\r\n\t \r\n\t if($attributes_data) {\r\n\t $current[$tag][$repeated_tag_index[$tag.'_'.$level] . '_attr'] = $attributes_data;\r\n\t }\r\n\t }\r\n\t $repeated_tag_index[$tag.'_'.$level]++; // 0 and 1 index is already taken\r\n\t }\r\n\t }\r\n\t } elseif($type == 'close') { // End of tag '</tag>'\r\n\t $current = &$parent[$level-1];\r\n\t }\r\n\t }\r\n\t return($xml_array);\r\n\t}", "function convertToArray(SimpleXMLElement $inXML, $inTag) {\n\t\t$return = array();\n\t\t\n\t\t$res = $inXML->xpath($inTag);\n\t\t\n\t\tforeach ( $res as $oXml ) {\n\t\t\t$return[] = (string) $oXml;\n\t\t}\n\t\t\n\t\treturn $return;\n\t}", "public function buildFromTemplate() {\n\t\t//html\n\t\ttry {\n\t\t\t$template = new Template('tenant_portal', 'mail/'.$this->template);\n\t\t\tif ($this->params && !empty($this->params)) {\n\t\t\t\tforeach ($this->params as $key => $value) {\n\t\t\t\t\t$template->assign($key, $value);\n\t\t\t\t}\n\t\t\t}\n\t\t\t$html = $template->fetchPage();\n\t\t} catch (\\Exception $e) {\n\t\t\t$html = null;\n\t\t}\n\t\t// plain text\n\t\ttry {\n\t\t\t$template = new Template('tenant_portal', 'mail/'.$this->template.'.plain');\n\t\t\tif ($this->params && !empty($this->params)) {\n\t\t\t\tforeach ($this->params as $key => $value) {\n\t\t\t\t\t$template->assign($key, $value);\n\t\t\t\t}\n\t\t\t}\n\t\t\t$text = $template->fetchPage();\n\t\t} catch (\\Exception $e) {\n\t\t\t$text = null;\n\t\t}\n\t\treturn Array($html,$text);\n\t}", "public function parse()\n\t{\n\n\t\t$this->parsedTags = array();\n\n\t\t// if request contains the template ID (may be set in previous suction)...\n\t\tif (empty($this->renderMode))\n\t\t\t$this->renderMode = 'full';\n\n\n\t\tif ($this->renderMode == 'raw') {\n\n\t\t\t// replace all POSITIONs to DIVs\n\t\t\t$this->parsedTags[\"templateTags\"] = array(\n\t\t\t\t'regexp' => '#<position type=\"([^\"]+)\" name=\"([^\"]+)\" .* \\/>#iU',\n\t\t\t\t'matches' => array(\n\t\t\t\t\t'type' => '',\n\t\t\t\t\t'name' => '',\n\t\t\t\t\t'attribs' => array('renderMode' => 'schematic',\n\t\t\t\t\t\t'showNames' => !empty($this->showNames)\n\t\t\t\t))\n\t\t\t);\n\n\n\t\t\t// replace all IMAGEs to DIVs only tag. no need to replace the params\n\t\t\t$this->parsedTags[\"images\"] = array(\n\t\t\t\t'regexp' => '#<(img)([^>]+)\\/>#iU',\n\t\t\t\t'matches' => array(\n\t\t\t\t\t'type' => '',\n\t\t\t\t\t'name' => '',\n\t\t\t\t\t'attribs' => array())\n\t\t\t);\n\n\t\t\t// Do not parse any placeholder...\n\t\t}\n\n\n\t\tif ($this->renderMode == 'schematic') {\n\n\t\t\t// replace all POSITIONs to DIVs with schematic mode\n\t\t\t$this->parsedTags[\"templateTags\"] = array(\n\t\t\t\t'regexp' => '#<position type=\"([^\"]+)\" name=\"([^\"]+)\" .* \\/>#iU',\n\t\t\t\t'matches' => array(\n\t\t\t\t\t'type' => '',\n\t\t\t\t\t'name' => '',\n\t\t\t\t\t'attribs' => array(\n\t\t\t\t\t\t'renderMode' => 'schematic',\n\t\t\t\t\t\t'showNames' => !empty($this->showNames)\n\t\t\t\t))\n\t\t\t);\n\n\t\t\t// Parse the placeholders...\n\t\t\t$this->parsedTags[\"placeholders\"] = array(\n\t\t\t\t'regexp' => '#\\[([\\w\\s\\.]+)\\]#iU',\n\t\t\t\t'matches' => array(\n\t\t\t\t\t'name' => '',\n\t\t\t\t\t'type' => 'placeholder',\n\t\t\t\t\t'attribs' => array()\n\t\t\t\t)\n\t\t\t);\n\n\t\t\t// Don't parse any IMG\n\t\t}\n\n\n\t\t// The default behavior. Full parsing...\n\t\tif ($this->renderMode == 'full') {\n\n\t\t\t// replace all POSITIONs to DIVs with default mode\n\t\t\t$this->parsedTags[\"templateTags\"] = array(\n\t\t\t\t'regexp' => '#<position type=\"([^\"]+)\" name=\"([^\"]+)\" .* \\/>#iU',\n\t\t\t\t'matches' => array(\n\t\t\t\t\t'type' => '',\n\t\t\t\t\t'name' => '',\n\t\t\t\t\t'attribs' => array()\n\t\t\t\t)\n\t\t\t);\n\n\t\t\t// Parse the placeholders...\n\t\t\t$this->parsedTags[\"placeholders\"] = array(\n\t\t\t\t'regexp' => '#\\[([\\w\\s\\.]+)\\]#iU',\n\t\t\t\t'matches' => array(\n\t\t\t\t\t'name' => '',\n\t\t\t\t\t'type' => 'placeholder',\n\t\t\t\t\t'attribs' => array()\n\t\t\t\t)\n\t\t\t);\n\n\t\t\t// Don't parse any IMG\n\t\t}\n\n\n\t\t$this->_parseTemplate();\n\t\treturn $this->_template->getProperties();\n\t}", "function xmldb_xml2array($data, $elem, $fields = false)\n{\n //eliminazione dei commenti\n $data = xmldb_removexmlcomments($data);\n //visualizza solo determinati campi\n if (is_array($fields))\n {\n $fields = implode(\"|\", $fields);\n }\n $out = \"\";\n $ret = null;\n if (preg_match(\"/<$elem>.*<$elem>[^<]+<\\/$elem>/s\", $data))//se il nome del nodo contiene un elemento con lo stesso nome\n {\n preg_match_all(\"#<$elem>(.*?<$elem>.*?</$elem>.*?)</$elem>#s\", $data, $out); //CONTIENE ALL'INTERNO UN NODO CON LO STESSO NOME\n }\n else\n {\n preg_match_all(\"#<$elem>.*?</$elem>#s\", $data, $out); //OK\n }\n if (is_array($out[0]))\n foreach ($out[0] as $innerxml)\n {\n //----------metodo 0 ------------------------\n for ($oi = 0; $oi < 1; $oi++)\n {\n $tmp2 = $t1 = null;\n preg_match_all('/<(' . $fields . '[^\\/]*?)>([^<]*)<\\/\\1>/s', $innerxml, $t1);\n foreach ($t1[1] as $k => $tt)\n {\n if ($t1[2][$k] != null)\n $tmp2[$tt] = xmldec($t1[2][$k]);\n else\n $tmp2[$tt] = \"\";\n }\n }\n if ($tmp2 != null)\n {\n $ret[] = ($tmp2);\n }\n }\n return $ret;\n}", "protected function prepareXmlPayload(){\r\n\t\t\t//\tCombine the schema and the data array\r\n\t\t\t$xml_schema = $this->_xml_schema;\r\n\t\t\t$xml_data = $this->_xml_data;\r\n\t\t\tif(!empty($xml_schema) && is_array($xml_data) && !empty($xml_data)){\r\n\t\t\t\t//\tGrab all of the %%placeholders%% from the schema\r\n\t\t\t\tpreg_match_all('/(?:<(\\w+)>)(%%(\\w+)%%)(?:<\\/\\1>)/', $xml_schema, $matches);\r\n\t\t\t\t$placeholders = $matches[2];\r\n\t\t\t\t$data_keys = $matches[3]; \r\n\t\t\t\tforeach(array_keys($placeholders) as $i){\r\n\t\t\t\t\t$value = '';\r\n\t\t\t\t\tif(isset($xml_data[$data_keys[$i]])){\r\n\t\t\t\t\t\t$value = $xml_data[$data_keys[$i]];\r\n\t\t\t\t\t}\r\n\t\t\t\t\t$xml_schema = str_replace($placeholders[$i], $value, $xml_schema);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn $xml_schema;\r\n\t\t}", "public function parse()\r\n\t{\r\n\t\t//parse the data into an array\r\n\t\t$parser = xml_parser_create();\r\n\t\t$success = xml_parse_into_struct( $parser, $this->xml, $this->values );\r\n\t\tif ( $success === 0 )\r\n\t\t{\r\n\t\t\tif ( __PARSER_DEBUG__ )\r\n\t\t\t{\r\n\t\t\t\techo xml_error_string( xml_get_error_code( $parser ) );\r\n\t\t\t\texit();\r\n\t\t\t}\r\n\t\t}\r\n\t\txml_parser_free( $parser );\r\n\t\t\r\n\t\t//start going through the array\r\n\t\tforeach ( $this->values as $tag )\r\n\t\t{\r\n\t\t\t//the XML data should be well-form and in lexical order\r\n\t\t\t//so just go through and format the tag\r\n\t\t\t\r\n\t\t\tswitch ( $tag['tag'] )\r\n\t\t\t{\r\n\t\t\t\tcase \"SHEET\":\r\n\t\t\t\t\t//root node\r\n\t\t\t\t\tif ( $tag['type'] == \"open\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t//do anything that needs doing before getting started\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif ( $tag['type'] == \"close\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t//the end of the sheet, so print everything out\r\n\t\t\t\t\t\t//for $scriptForm and $scriptElements, get rid of the trailing comma\r\n\t\t\t\t\t\t////remove the last whitespace, remove the last comma, insert the last newline\r\n\t\t\t\t\t\t$this->scriptForm = rtrim( rtrim( $this->scriptForm ), ',' ) . \"\\n\";\r\n\t\t\t\t\t\t$this->scriptElements = rtrim( rtrim( $this->scriptElements ), ',' ) . \"\\n\";\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"HEAD\":\r\n\t\t\t\t\tif ( $tag['type'] == \"open\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t$this->openTag = \"HEAD\";\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif ( $tag['type'] == \"close\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t$this->openTag = \"\";\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"GAME\":\r\n\t\t\t\t\t//<game> can only be inside <head>\r\n\t\t\t\t\tif ( $this->openTag == \"HEAD\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif ( $tag['type'] == \"complete\" )\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t$this->game = $tag['value'];\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"SYSTEM\":\r\n\t\t\t\t\t//<system> can only be inside <head>\r\n\t\t\t\t\tif ( $this->openTag == \"HEAD\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif ( $tag['type'] == \"complete\" )\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t$this->system = $tag['value'];\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"NAME\":\r\n\t\t\t\t\t//<name> can only be inside <head>\r\n\t\t\t\t\tif ( $this->openTag == \"HEAD\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif ( $tag['type'] == \"complete\" )\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t$this->name = $tag['value'];\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"COPYRIGHT\":\r\n\t\t\t\t\t//<copyright> can only be inside <head>\r\n\t\t\t\t\tif ( $this->openTag == \"HEAD\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif ( $tag['type'] == \"complete\" )\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t$this->copyright = $tag['value'];\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"AUTHOR\":\r\n\t\t\t\t\t//<author> can only be inside <head>\r\n\t\t\t\t\tif ( $this->openTag == \"HEAD\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif ( $tag['type'] == \"complete\" )\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t$this->author = $tag['value'];\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"DESCRIPTION\":\r\n\t\t\t\t\t//<description> can only be inside <head>; used to provide a description to search engines\r\n\t\t\t\t\tif ( $this->openTag == \"HEAD\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif ( $tag['type'] == \"complete\" )\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t$this->description = $tag['value'];\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"STYLE\":\r\n\t\t\t\t\t//<style> can only be inside <head>; used to define the style for this page\r\n\t\t\t\t\tif ( $this->openTag == \"HEAD\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif ( $tag['type'] == \"complete\" )\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t$this->style = $tag['value'];\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"SCRIPT\":\r\n\t\t\t\t\t//<script> can only be inside <head>; used to define the any custom scripts for this page\r\n\t\t\t\t\tif ( $this->openTag == \"HEAD\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif ( $tag['type'] == \"complete\" )\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t$this->script = $tag['value'];\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"REPEAT\":\r\n\t\t\t\t\tif ( $tag['type'] == \"open\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t$this->RepeatOpen( $tag );\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t$this->RepeatClose();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"SET\":\r\n\t\t\t\t\t//<set> signifies the beginning of a fieldset\r\n\t\t\t\t\tif ( $tag['type'] == \"open\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t$this->openTag = \"SET\";\r\n\t\t\t\t\t\t$this->SetOpen( $tag );\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif ( $tag['type'] == \"close\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t$this->SetClose( $tag );\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"COLUMN\":\r\n\t\t\t\t\t//<column> can only be inside of a <set>\r\n\t\t\t\t\tif ( $this->openTag == \"SET\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif ( $tag['type'] == \"open\" )\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t$this->openTag = \"COLUMN\";\r\n\t\t\t\t\t\t\t$this->parentTag = \"SET\";\r\n\t\t\t\t\t\t\t$this->ColumnOpen( $tag );\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telseif ( $tag['type'] == \"complete\" )\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t//an empty column\r\n\t\t\t\t\t\t\t$this->ColumnOpen( $tag );\r\n\t\t\t\t\t\t\t$this->appendHTML( \"&nbsp;\\n\" );\r\n\t\t\t\t\t\t\t$this->ColumnClose( $tag );\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif ( $this->parentTag == \"SET\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif ( $tag['type'] == \"close\" )\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t$this->openTag = \"SET\";\r\n\t\t\t\t\t\t\t$this->ColumnClose( $tag );\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"ROW\":\r\n\t\t\t\t\t//<row> can only be inside of a <column>\r\n\t\t\t\t\tif ( $this->openTag == \"COLUMN\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif ( $tag['type'] == \"open\" )\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t//start a row\r\n\t\t\t\t\t\t\t$this->inRow = true;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telseif ( $tag['type'] == \"close\" )\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t//close the row\r\n\t\t\t\t\t\t\t$this->inRow = false;\r\n\t\t\t\t\t\t\t$this->appendHTML( \"<br />\\n\" );\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t//no defined behavior for a complete row tag ( <row /> )\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"TABLE\":\r\n\t\t\t\t\t//<table> can only be inside of a <column>; used for tabular data\r\n\t\t\t\t\tif ( $this->openTag == \"COLUMN\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif ( $tag['type'] == \"open\" )\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t$this->TableOpen( $tag );\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telseif ( $tag['type'] == \"close\" )\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t$this->TableClose( $tag );\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"TR\":\r\n\t\t\t\t\tif ( $this->inTable === TRUE )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif ( $tag['type'] == \"open\" )\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t$this->appendHTML( \"<tr>\\n\" );\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telseif ( $tag['type'] == \"close\" )\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t$this->appendHTML( \"</tr>\\n\" );\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"TD\":\r\n\t\t\t\t\tif ( $this->inTable === TRUE )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif ( $tag['type'] == \"open\" )\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t$this->TDOpen( $tag );\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telseif ( $tag['type'] == \"close\" )\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t$this->appendHTML( str_repeat( \" \", $tag['level'] ) . \"</td>\\n\" );\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telseif ( $tag['type'] == \"complete\" )\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t$this->appendHTML( str_repeat( \" \", $tag['level'] ) . \"<td>&nbsp;</td>\" );\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"TEXT\":\r\n\t\t\t\t\t//<text> can only be inside of a <column>; used for a text input\r\n\t\t\t\t\tif ( $this->openTag == \"COLUMN\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t$this->Textfield( $tag );\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"SELECT\":\r\n\t\t\t\t\t//<select> can only be inside of a <column>; used for a drop-down box\r\n\t\t\t\t\tif ( $this->openTag == \"COLUMN\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif ( $tag['type'] == \"open\" )\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t$this->currentTag = \"SELECT\";\r\n\t\t\t\t\t\t\t$this->SelectOpen( $tag );\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif ( $tag['type'] == \"close\" )\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t$this->currentTag = \"\";\r\n\t\t\t\t\t\t\t$this->SelectClose( $tag );\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"OPTION\":\r\n\t\t\t\t\t//<option> can only be inside of a <select>; used for options in a drop-down box\r\n\t\t\t\t\tif ( $this->currentTag == \"SELECT\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t$this->Option( $tag );\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"DOT\":\r\n\t\t\t\t\t//<dot> can only be inside of a <column>; used for a Nerdcules.Dots element\r\n\t\t\t\t\tif ( $this->openTag == \"COLUMN\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t$this->Dot( $tag );\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"SPINNER\":\r\n\t\t\t\t\t//<dot> can only be inside of a <column>; used for a Nerdcules.Spinner element\r\n\t\t\t\t\tif ( $this->openTag == \"COLUMN\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t$this->Spinner( $tag );\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"CHECK\":\r\n\t\t\t\t\t//<check> can only be inside of a <column>; used for checkboxes\r\n\t\t\t\t\tif ( $this->openTag == \"COLUMN\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t$this->Check( $tag );\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"TEXTAREA\":\r\n\t\t\t\t\t//<textarea> can only be inside of a <column>; used for textareas\r\n\t\t\t\t\tif ( $this->openTag == \"COLUMN\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t$this->Textarea( $tag );\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"BLANK\":\r\n\t\t\t\t\t//inserts a blank line ( <br /> )\r\n\t\t\t\t\t$this->appendHTML( str_repeat( \" \", $tag['level'] ) . \"<br />\\n\" );\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"EM\":\r\n\t\t\t\t\t//<head> can only be inside of a <column>; used for a heading ( <strong> )\r\n\t\t\t\t\tif ( $this->openTag == \"COLUMN\" )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t$this->appendHTML( str_repeat( \" \", $tag['level'] ) . \"<strong>{$tag['value']}</strong>\" );\r\n\t\t\t\t\t\t$this->appendBreak( $tag );\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"BREAK\":\r\n\t\t\t\t\t//inserts a page break for printing\r\n\t\t\t\t\t$this->appendHTML( str_repeat( \" \", $tag['level'] ) . \"<br class=\\\"break\\\" />\\n\" );\r\n\t\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "function xml2ary($vals) \n\t{\n $mnary\t\t\t\t\t\t\t\t=\tarray();\n $ary\t\t\t\t\t\t\t\t\t=&\t$mnary;\n foreach ($vals as $r) \n\t {\n\t\t\t$t\t\t\t\t\t\t\t\t=\t$r['tag'];\n\t\t\tif($r['type']=='open') \n\t\t\t{\n\t\t\t\tif (isset($ary[$t]) && !empty($ary[$t])) \n\t\t\t\t{\n\t\t\t\t\tif (isset($ary[$t][0]))\n\t\t\t\t\t{\n\t\t\t\t\t\t$ary[$t][]\t\t\t=\tarray(); \n\t\t\t\t\t}\n\t\t\t\t\telse \n\t\t\t\t\t{\n\t\t\t\t\t\t$ary[$t]\t\t\t=\tarray($ary[$t], array());\n\t\t\t\t\t} \n\t\t\t\t\t$cv\t\t\t\t\t\t=&\t$ary[$t][count($ary[$t])-1];\n\t\t\t\t}\n\t\t\t\telse \n\t\t\t\t{\n\t\t\t\t\t$cv\t\t\t\t\t\t=&\t$ary[$t];\n\t\t\t\t}\n\t\t\t\t$cv\t\t\t\t\t\t\t=\tarray();\n\t\t\t\tif (isset($r['attributes'])) \n\t\t\t\t{ \n\t\t\t\t\tforeach ($r['attributes'] as $k=>$v) \n\t\t\t\t\t{\n\t\t\t\t\t\t$cv[$k]\t\t\t\t=\t$v;\n\t\t\t\t\t}\n\t\t\t\t}\n \n\t\t\t\t$cv['_p']\t\t\t\t\t=&\t$ary;\n\t\t\t\t$ary\t\t\t\t\t\t=&\t$cv;\n \n\t\t\t} \n\t\t\telseif($r['type']=='complete') \n\t\t\t{\n\t\t\t\tif (isset($ary[$t]) && !empty($ary[$t])) \n\t\t\t\t{\n\t\t\t\t\tif (isset($ary[$t][0])) \n\t\t\t\t\t{\n\t\t\t\t\t\t$ary[$t][]\t\t\t=\tarray();\n\t\t\t\t\t}\n\t\t\t\t\telse \n\t\t\t\t\t{\n\t\t\t\t\t\t$ary[$t]\t\t\t=\tarray($ary[$t], array());\n\t\t\t\t\t} \n\t\t\t\t\t$cv\t\t\t\t\t\t=&\t$ary[$t][count($ary[$t])-1];\n\t\t\t\t}\n\t\t\t\telse \n\t\t\t\t{\n\t\t\t\t\t$cv\t\t\t\t\t\t=&\t$ary[$t];\n\t\t\t\t} \n\t\t\t\tif(isset($r['attributes'])) \n\t\t\t\t{\n\t\t\t\t\tforeach ($r['attributes'] as $k=>$v) \n\t\t\t\t\t{\n\t\t\t\t\t\t$cv[$k]\t\t\t\t=\t$v;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t$cv['VALUE'] \t\t\t\t= \t(isset($r['value']) ? $r['value'] : '');\n \n\t\t\t\t// XML PARSE BUG: http://bugs.php.net/bug.php?id=45996\n\t\t\t\t$cv['VALUE'] \t\t\t\t= \tstr_replace('[msp-amp]', '&amp;', $cv['VALUE']);\n\t\t\t\t//\n \n\t\t\t} \n\t\t\telseif($r['type']=='close') \n\t\t\t{\n\t\t\t\t$ary\t\t\t\t\t\t=&\t$ary['_p'];\n\t\t\t}\n\t\t} \n\t\t$this->_del_p($mnary);\n\t\treturn $mnary;\n\t}", "function xml2array($contents, $get_attributes=1, $priority = 'tag') {\n\t\tif(!$contents) return array();\n\n\t\tif(!function_exists('xml_parser_create')) {\n\t\t\t//print \"'xml_parser_create()' function not found!\";\n\t\t\treturn array();\n\t\t}\n\n\t\t//Get the XML parser of PHP - PHP must have this module for the parser to work\n\t\t$parser = xml_parser_create('');\n\t\txml_parser_set_option($parser, XML_OPTION_TARGET_ENCODING, \"UTF-8\"); # http://minutillo.com/steve/weblog/2004/6/17/php-xml-and-character-encodings-a-tale-of-sadness-rage-and-data-loss\n\t\txml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);\n\t\txml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1);\n\t\txml_parse_into_struct($parser, trim($contents), $xml_values);\n\t\txml_parser_free($parser);\n\n\t\tif(!$xml_values) return;//Hmm...\n\n\t\t//Initializations\n\t\t$xml_array = array();\n\t\t$parents = array();\n\t\t$opened_tags = array();\n\t\t$arr = array();\n\n\t\t$current = &$xml_array; //Refference\n\n\t\t//Go through the tags.\n\t\t$repeated_tag_index = array();//Multiple tags with same name will be turned into an array\n\t\tforeach($xml_values as $data) {\n\t\t\tunset($attributes,$value);//Remove existing values, or there will be trouble\n\n\t\t\t//This command will extract these variables into the foreach scope\n\t\t\t// tag(string), type(string), level(int), attributes(array).\n\t\t\textract($data);//We could use the array by itself, but this cooler.\n\n\t\t\t$result = array();\n\t\t\t$attributes_data = array();\n\n\t\t\tif(isset($value)) {\n\t\t\t\tif($priority == 'tag') $result = $value;\n\t\t\t\telse $result['value'] = $value; //Put the value in a assoc array if we are in the 'Attribute' mode\n\t\t\t}\n\n\t\t\t//Set the attributes too.\n\t\t\tif(isset($attributes) and $get_attributes) {\n\t\t\t\tforeach($attributes as $attr => $val) {\n\t\t\t\t\tif($priority == 'tag') $attributes_data[$attr] = $val;\n\t\t\t\t\telse $result['attr'][$attr] = $val; //Set all the attributes in a array called 'attr'\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//See tag status and do the needed.\n\t\t\tif($type == \"open\") {//The starting of the tag '<tag>'\n\t\t\t\t$parent[$level-1] = &$current;\n\t\t\t\tif(!is_array($current) or (!in_array($tag, array_keys($current)))) { //Insert New tag\n\t\t\t\t\t$current[$tag] = $result;\n\t\t\t\t\tif($attributes_data) $current[$tag. '_attr'] = $attributes_data;\n\t\t\t\t\t$repeated_tag_index[$tag.'_'.$level] = 1;\n\n\t\t\t\t\t$current = &$current[$tag];\n\n\t\t\t\t} else { //There was another element with the same tag name\n\n\t\t\t\t\tif(isset($current[$tag][0])) {//If there is a 0th element it is already an array\n\t\t\t\t\t\t$current[$tag][$repeated_tag_index[$tag.'_'.$level]] = $result;\n\t\t\t\t\t\t$repeated_tag_index[$tag.'_'.$level]++;\n\t\t\t\t\t} else {//This section will make the value an array if multiple tags with the same name appear together\n\t\t\t\t\t\t$current[$tag] = array($current[$tag],$result);//This will combine the existing item and the new item together to make an array\n\t\t\t\t\t\t$repeated_tag_index[$tag.'_'.$level] = 2;\n\n\t\t\t\t\t\tif(isset($current[$tag.'_attr'])) { //The attribute of the last(0th) tag must be moved as well\n\t\t\t\t\t\t\t$current[$tag]['0_attr'] = $current[$tag.'_attr'];\n\t\t\t\t\t\t\tunset($current[$tag.'_attr']);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t\t$last_item_index = $repeated_tag_index[$tag.'_'.$level]-1;\n\t\t\t\t\t$current = &$current[$tag][$last_item_index];\n\t\t\t\t}\n\n\t\t\t} elseif($type == \"complete\") { //Tags that ends in 1 line '<tag />'\n\t\t\t\t//See if the key is already taken.\n\t\t\t\tif(!isset($current[$tag])) { //New Key\n\t\t\t\t\t$current[$tag] = $result;\n\t\t\t\t\t$repeated_tag_index[$tag.'_'.$level] = 1;\n\t\t\t\t\tif($priority == 'tag' and $attributes_data) $current[$tag. '_attr'] = $attributes_data;\n\n\t\t\t\t} else { //If taken, put all things inside a list(array)\n\t\t\t\t\tif(isset($current[$tag][0]) and is_array($current[$tag])) {//If it is already an array...\n\n\t\t\t\t\t\t// ...push the new element into that array.\n\t\t\t\t\t\t$current[$tag][$repeated_tag_index[$tag.'_'.$level]] = $result;\n\n\t\t\t\t\t\tif($priority == 'tag' and $get_attributes and $attributes_data) {\n\t\t\t\t\t\t\t$current[$tag][$repeated_tag_index[$tag.'_'.$level] . '_attr'] = $attributes_data;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$repeated_tag_index[$tag.'_'.$level]++;\n\n\t\t\t\t\t} else { //If it is not an array...\n\t\t\t\t\t\t$current[$tag] = array($current[$tag],$result); //...Make it an array using using the existing value and the new value\n\t\t\t\t\t\t$repeated_tag_index[$tag.'_'.$level] = 1;\n\t\t\t\t\t\tif($priority == 'tag' and $get_attributes) {\n\t\t\t\t\t\t\tif(isset($current[$tag.'_attr'])) { //The attribute of the last(0th) tag must be moved as well\n\n\t\t\t\t\t\t\t\t$current[$tag]['0_attr'] = $current[$tag.'_attr'];\n\t\t\t\t\t\t\t\tunset($current[$tag.'_attr']);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif($attributes_data) {\n\t\t\t\t\t\t\t\t$current[$tag][$repeated_tag_index[$tag.'_'.$level] . '_attr'] = $attributes_data;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$repeated_tag_index[$tag.'_'.$level]++; //0 and 1 index is already taken\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t} elseif($type == 'close') { //End of tag '</tag>'\n\t\t\t\t$current = &$parent[$level-1];\n\t\t\t}\n\t\t}\n\n\t\treturn($xml_array);\n\t}", "protected function _xml($string)\n {\n \treturn $string ? (array) simplexml_load_string($string, 'SimpleXMLElement', LIBXML_NOCDATA) : array();\n }", "public static function parse(string $tmpl): array {}", "function getEmailXML()\n {\n //! Message Loggin\n email_message_log('Start of Function : '. __FUNCTION__);\n\n $data = array();\n\n global $email_xml_file_path;\n\n $filename = \"email\";\n\n $path = @$email_xml_file_path . \"xml/\";\n\n //! Xml File Path\n $xFile = $path . $filename . \".xml\";\n\n /*!\n * Check If the XML File exists\n */\n if(file_exists($xFile)) //! if yes -> Continue\n {\n //! Message Loggin\n email_message_log(\"XML File Found. :: $xFile ::\");\n\n //! Create Xml Object\n $doc = simplexml_load_file($xFile);\n\n $cnt = count($doc->info);\n\n for($iii=0; $iii < $cnt ; $iii++)\n {\n $data[] = $doc->info[$iii];\n }\n\n //! Message Loggin\n email_message_log('End of Function : '. __FUNCTION__);\n\n return $data;\n }\n else //! else -> Return File Not Found\n {\n //! Message Loggin\n email_message_log(\"XML File Not Found. :: $xFile ::\");\n\n //! Message Loggin\n email_message_log('End of Function : '. __FUNCTION__);\n\n return INVALID_XML_FILE;\n }\n }", "function process_lang_xml($a = array(), $e)\n {\n $illang_version = $title = $author = $lang_code = $charset = $locale = $languageiso = $textdirection = $current_phrase_group = $replacements = $canselect = '';\n $phrasearray = $phrase_group_data = array();\n $elementcount = count($a);\n for ($i = 0; $i < $elementcount; $i++)\n {\n if ($a[$i]['tag'] == 'LANGUAGE')\n {\n if (empty($illang_version) AND $a[$i]['type'] == 'open')\n {\n $illang_version = $a[$i]['attributes']['ILVERSION'];\n }\n }\n else if ($a[$i]['tag'] == 'TITLE')\n {\n if (empty($title) AND $a[$i]['type'] == 'complete')\n {\n $title = trim($a[$i]['value']);\n }\n }\n else if ($a[$i]['tag'] == 'AUTHOR')\n {\n if (empty($author) AND $a[$i]['type'] == 'complete')\n {\n $author = trim($a[$i]['value']);\n }\n }\n else if ($a[$i]['tag'] == 'LANGUAGECODE')\n {\n if (empty($lang_code) AND $a[$i]['type'] == 'complete')\n {\n $lang_code = $a[$i]['value'];\n }\n }\n else if ($a[$i]['tag'] == 'CHARSET')\n {\n if (empty($charset) AND $a[$i]['type'] == 'complete')\n {\n $charset = trim($a[$i]['value']);\n }\n }\n else if ($a[$i]['tag'] == 'LOCALE')\n {\n if (empty($locale) AND $a[$i]['type'] == 'complete')\n {\n $locale = trim($a[$i]['value']);\n }\n }\n else if ($a[$i]['tag'] == 'LANGUAGEISO')\n {\n if (empty($languageiso) AND $a[$i]['type'] == 'complete')\n {\n $languageiso = trim($a[$i]['value']);\n }\n }\n else if ($a[$i]['tag'] == 'TEXTDIRECTION')\n {\n if (empty($textdirection) AND $a[$i]['type'] == 'complete')\n {\n $textdirection = trim($a[$i]['value']);\n }\n }\n else if ($a[$i]['tag'] == 'REPLACEMENTS')\n {\n if (empty($replacements) AND $a[$i]['type'] == 'complete' AND isset($a[$i]['value']))\n {\n $replacements = trim($a[$i]['value']);\n }\n }\n else if ($a[$i]['tag'] == 'CANSELECT')\n {\n if (empty($canselect) AND $a[$i]['type'] == 'complete')\n {\n $canselect = trim($a[$i]['value']);\n }\n }\n else if ($a[$i]['tag'] == 'PHRASEGROUP')\n {\n if ($a[$i]['type'] == 'open' OR $a[$i]['type'] == 'complete')\n {\n $current_phrase_group = $a[$i]['attributes']['NAME'];\n $phrase_group_data[] = array(\n $current_phrase_group, \n $a[$i]['attributes']['NAME'], \n $a[$i]['attributes']['DESCRIPTION'],\n $a[$i]['attributes']['PRODUCT']\n );\n }\n }\n else if ($a[$i]['tag'] == 'PHRASE')\n {\n if ($a[$i]['type'] == 'complete')\n {\n $phrasearray[] = array(\n $current_phrase_group, \n trim($a[$i]['attributes']['VARNAME']), \n trim($a[$i]['value'])\n );\n }\n }\n }\n $result = array(\n 'illang_version' => $illang_version, \n 'title' => $title,\n 'author' => $author,\n 'lang_code' => $lang_code, \n 'charset' => $charset, \n 'phrasearray' => $phrasearray, \n 'phrase_group_data' => $phrase_group_data,\n 'locale' => $locale,\n 'languageiso' => $languageiso,\n 'textdirection' => $textdirection,\n 'replacements' => $replacements,\n 'canselect' => $canselect\n );\n return $result;\n }" ]
[ "0.61382806", "0.6052074", "0.6011888", "0.5894983", "0.57897115", "0.5736541", "0.5698336", "0.56646264", "0.5633774", "0.5600222", "0.5530028", "0.55299836", "0.55239964", "0.5519423", "0.54763925", "0.5471409", "0.54506177", "0.5426936", "0.54112554", "0.53599", "0.5354147", "0.53461707", "0.53394854", "0.5335595", "0.53273225", "0.5318744", "0.5318539", "0.53006107", "0.52995944", "0.52917546" ]
0.63469243
0
/ Function to process a valid ILance XML CSS Styles xml data
function process_style_xml($a = array(), $e) { $templatearray = array(); $stylename = $ilversion = $visible = $sort = ''; $counter = count($a); for ($i = 0; $i < $counter; $i++) { if ($a[$i]['tag'] == 'STYLE') { if (empty($stylename) AND $a[$i]['type'] == 'open') { $stylename = $a[$i]['attributes']['NAME']; } if (empty($ilversion) AND $a[$i]['type'] == 'open') { $ilversion = $a[$i]['attributes']['ILVERSION']; } } else if ($a[$i]['tag'] == 'VISIBLE') { if (empty($visible) AND $a[$i]['type'] == 'complete') { $visible = $a[$i]['value']; } } else if ($a[$i]['tag'] == 'SORT') { if (empty($sort) AND $a[$i]['type'] == 'complete') { $sort = $a[$i]['value']; } } else if ($a[$i]['tag'] == 'TEMPLATE') { if ($a[$i]['type'] == 'complete') { $templatearray[] = array( $a[$i]['attributes']['NAME'], $a[$i]['attributes']['DESCRIPTION'], $a[$i]['attributes']['TYPE'], $a[$i]['attributes']['PRODUCT'] = (isset($a[$i]['attributes']['PRODUCT']) ? $a[$i]['attributes']['PRODUCT'] : 'ilance'), $a[$i]['attributes']['SORT'] = (isset($a[$i]['attributes']['SORT']) ? $a[$i]['attributes']['SORT'] : '100000'), $a[$i]['value'] = (isset($a[$i]['value']) ? $a[$i]['value'] : ''), ); } } } $result = array( 'name' => $stylename, 'ilversion' => $ilversion, 'visible' => $visible, 'sort' => $sort, 'templatearray' => $templatearray ); return $result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function _prepareStyles()\n {\n if (!empty($this->attributes['style'])) {\n $styles = explode(';', $this->attributes['style']);\n unset($this->attributes['style']);\n\n $arr = array();\n\n foreach ($styles as $style) {\n $split = explode(\":\", $style);\n\n if (isset($split[0]) && isset($split[1])) {\n $prop = trim($split[0]);\n $val = trim($split[1]);\n\n $arr[$prop] = $val;\n }\n }\n\n $this->styles = $arr;\n }\n }", "function parseStyleAttribute ()\n\t{\n\t\t$this->_styleAttribute = true;\n\t\t$this->state = self::RULE_BLOCK_STATE;\n\t\t$this->_tokenize();\n\t\treturn $this->_buildStyleAttribute();\n\t}", "function buildStyles() {\n // Set the styles array to empty.\n $this->styles = array();\n\n // See if the style attribute exists.\n if (isset($this->attributes['style'])) {\n\n // Explode the styles into individuals\n $style_attr = explode(\";\", $this->attributes['style']);\n\n // Build an array of the styles.\n foreach ($style_attr as $value) {\n $style_info = explode(\":\", $value);\n\n if (!empty($style_info[0])) {\n // trim and lower the style name tags.\n $style_info[0] = (isset($style_info[0])) ? strtolower(trim($style_info[0])) : \"\";\n $style_info[1] = (isset($style_info[1])) ? trim($style_info[1]) : \"\";\n\n $this->styles[$style_info[0]] = $style_info[1];\n }\n }\n }\n }", "private function _parseCss( $data ){\n\t\t\n\t\t//Need a much better way to do this. To hard-coded.\n\t\t$css\t= '';\n\t\t\n\t\t$css\t.= '.headline{color:'.$data['headline'].'}'.PHP_EOL;\n\t\t$css\t.= '.subheadline{color:'.$data['subheading'].'}'.PHP_EOL;\n\t\t$css\t.= '.textarea{color:'.$data['paragraph'].'}'.PHP_EOL;\n\t\t$css\t.= '.reversed td, .reversed th{color:'.$data['paragraph'].'}'.PHP_EOL;\n\t\t$css\t.= '.callout{background-color:'.$data['callout'].'}'.PHP_EOL;\n\t\t$css\t.= '.reversed{color:'.$data['reversed'].'}'.PHP_EOL;\n\t\t$css\t.= '.reversed .subheadline{color:'.$data['reversed'].'}'.PHP_EOL;\n\t\t$css\t.= '.reversed .headline{color:'.$data['reversed'].'}'.PHP_EOL;\n\t\t$css\t.= '.reversed .textarea{color:'.$data['reversed'].'}'.PHP_EOL;\n\t\t$css\t.= '.textarea table, .table table, .contacts table{'.$data['package_styles_table'].'}'.PHP_EOL;\n\t\t$css\t.= '.textarea thead th, .table thead th, .contacts thead th{'.$data['package_styles_thead_th'].'}'.PHP_EOL;\n\t\t$css\t.= '.textarea td, .textarea th, .table td, .table th, .contacts td, .contacts th{'.$data['package_styles_th_td'].'}'.PHP_EOL;\n\t\t$css\t.= '.textarea tr:nth-child(odd) td, .table tr:nth-child(odd) td, .contacts tr:nth-child(odd) td{'.$data['package_styles_alt_0_td'].'}'.PHP_EOL;\n\t\t$css\t.= '.textarea tr:nth-child(even) td, .table tr:nth-child(even) td, .contacts tr:nth-child(even) td{'.$data['package_styles_alt_1_td'].'}'.PHP_EOL;\n\t\t$css\t.= '.textarea td.package-label, .table td.package-label, .contacts td.package-label{'.$data['package_styles_td_package_label'].'}'.PHP_EOL;\n\t\t$css\t.= '.textarea td.plan-item, .table td.plan-item, .contacts td.plan-item{'.$data['package_styles_td_plan_item'].'}'.PHP_EOL;\n\t\t$css\t.= '.textarea tr.table-header-row td, .table tr.table-header-row td, .contacts tr.table-header-row td{'.$data['package_styles_header_row_td'].'}'.PHP_EOL;\n\t\t$css\t.= '.textarea tfoot th, .table tfoot th, .contacts tfoot th{'.$data['package_styles_tfoot_th'].'}'.PHP_EOL;\n\t\t$css\t.= '.textarea .empty-cell, .table .empty-cell, .contacts .empty-cell{'.$data['package_styles_empty_cell'].'}'.PHP_EOL;\n\t\t\n\t\treturn $css;\n\t\t\n\t}", "abstract public function get_element_styles( array $result );", "abstract public function getCss();", "function getStyles () {\r\n }", "function xss_clean($data)\n {\n // Fix &entity\\n;\n $data = str_replace(array('&amp;','&lt;','&gt;'), array('&amp;amp;','&amp;lt;','&amp;gt;'), $data);\n $data = preg_replace('/(&#*\\w+)[\\x00-\\x20]+;/u', '$1;', $data);\n $data = preg_replace('/(&#x*[0-9A-F]+);*/iu', '$1;', $data);\n $data = html_entity_decode($data, ENT_COMPAT, 'UTF-8');\n\n // Remove any attribute starting with \"on\" or xmlns\n $data = preg_replace('#(<[^>]+?[\\x00-\\x20\"\\'])(?:on|xmlns)[^>]*+>#iu', '$1>', $data);\n\n // Remove javascript: and vbscript: protocols\n $data = preg_replace('#([a-z]*)[\\x00-\\x20]*=[\\x00-\\x20]*([`\\'\"]*)[\\x00-\\x20]*j[\\x00-\\x20]*a[\\x00-\\x20]*v[\\x00-\\x20]*a[\\x00-\\x20]*s[\\x00-\\x20]*c[\\x00-\\x20]*r[\\x00-\\x20]*i[\\x00-\\x20]*p[\\x00-\\x20]*t[\\x00-\\x20]*:#iu', '$1=$2nojavascript...', $data);\n $data = preg_replace('#([a-z]*)[\\x00-\\x20]*=([\\'\"]*)[\\x00-\\x20]*v[\\x00-\\x20]*b[\\x00-\\x20]*s[\\x00-\\x20]*c[\\x00-\\x20]*r[\\x00-\\x20]*i[\\x00-\\x20]*p[\\x00-\\x20]*t[\\x00-\\x20]*:#iu', '$1=$2novbscript...', $data);\n $data = preg_replace('#([a-z]*)[\\x00-\\x20]*=([\\'\"]*)[\\x00-\\x20]*-moz-binding[\\x00-\\x20]*:#u', '$1=$2nomozbinding...', $data);\n\n // Only works in IE: <span style=\"width: expression(alert('Ping!'));\"></span>\n $data = preg_replace('#(<[^>]+?)style[\\x00-\\x20]*=[\\x00-\\x20]*[`\\'\"]*.*?expression[\\x00-\\x20]*\\([^>]*+>#i', '$1>', $data);\n $data = preg_replace('#(<[^>]+?)style[\\x00-\\x20]*=[\\x00-\\x20]*[`\\'\"]*.*?behaviour[\\x00-\\x20]*\\([^>]*+>#i', '$1>', $data);\n $data = preg_replace('#(<[^>]+?)style[\\x00-\\x20]*=[\\x00-\\x20]*[`\\'\"]*.*?s[\\x00-\\x20]*c[\\x00-\\x20]*r[\\x00-\\x20]*i[\\x00-\\x20]*p[\\x00-\\x20]*t[\\x00-\\x20]*:*[^>]*+>#iu', '$1>', $data);\n\n // Remove namespaced elements (we do not need them)\n $data = preg_replace('#</*\\w+:\\w[^>]*+>#i', '', $data);\n\n do\n {\n // Remove really unwanted tags\n $old_data = $data;\n $data = preg_replace('#</*(?:applet|b(?:ase|gsound|link)|embed|frame(?:set)?|i(?:frame|layer)|l(?:ayer|ink)|meta|object|s(?:cript|tyle)|title|xml)[^>]*+>#i', '', $data);\n }\n while ($old_data !== $data);\n\n // we are done...\n return $data;\n }", "private function getStylesForIE() {\n $zibo = Zibo::getInstance();\n $optimizer = new CssOptimizer();\n\n $styles = array();\n $styles[self::STYLE_CONDITION_IE] = $this->getStyleForIE($zibo, $optimizer, self::STYLE_IE);\n $styles[self::STYLE_CONDITION_IE6] = $this->getStyleForIE($zibo, $optimizer, self::STYLE_IE6);\n $styles[self::STYLE_CONDITION_IE7] = $this->getStyleForIE($zibo, $optimizer, self::STYLE_IE7);\n\n return $styles;\n }", "function excStyles(){\n $styles = new converterMethod; \n echo nt_styles($styles->nt_Url_Style('netfree', false), false);\n echo nt_styles($styles->nt_Url_Style('movie-row', false), false);\n echo nt_styles($styles->nt_Url_Style('featuredmovie', false), false);\n echo nt_styles($styles->nt_Url_Style('header', false), false);\n echo nt_styles($styles->nt_Url_Style('footer', false), false);\n}", "public function isValidCss ()\n {\n if (sfConfig::get('app_response_validator_css_validation', TRUE))\n {\n $this->tester->info('CSS stylesheet validation is not yet implemented');\n }\n else\n {\n $this->tester->info('CSS validation had been disabled.');\n }\n\n return $this->getObjectToReturn();\n }", "public function GetStylesheet() {\n\t\t$lines = array(\n\t\t\t'<style type=\"text/css\">',\n\t\t\t'\tspan.xojo_code_text { font-family: \"source-code-pro\", \"menlo\", \"courier\", monospace; color: ' . $this->color_text . '; }',\n\t\t\t'\tspan.xojo_code_keyword { color: ' . $this->color_keyword . '; }',\n\t\t\t'\tspan.xojo_code_integer { color: ' . $this->color_integer . '; }',\n\t\t\t'\tspan.xojo_code_real { color: ' . $this->color_real . '; }',\n\t\t\t'\tspan.xojo_code_string { color: ' . $this->color_string . '; }',\n\t\t\t'\tspan.xojo_code_comment { color: ' . $this->color_comment . '; }',\n\t\t\t'\tspan.xojo_code_rgb_red { color: ' . $this->color_red . '; }',\n\t\t\t'\tspan.xojo_code_rgb_green { color: ' . $this->color_green . '; }',\n\t\t\t'\tspan.xojo_code_rgb_blue { color: ' . $this->color_blue . '; }',\n\t\t\t'\t@media (prefers-color-scheme: dark) {',\n\t\t\t'\t\tspan.xojo_code_keyword { color: ' . $this->color_keyword_dark . '; }',\n\t\t\t'\t\tspan.xojo_code_integer { color: ' . $this->color_integer_dark . '; }',\n\t\t\t'\t\tspan.xojo_code_real { color: ' . $this->color_real_dark . '; }',\n\t\t\t'\t\tspan.xojo_code_string { color: ' . $this->color_string_dark . '; }',\n\t\t\t'\t\tspan.xojo_code_comment { color: ' . $this->color_comment_dark . '; }',\n\t\t\t'\t\tspan.xojo_code_rgb_red { color: ' . $this->color_red_dark . '; }',\n\t\t\t'\t\tspan.xojo_code_rgb_green { color: ' . $this->color_green_dark . '; }',\n\t\t\t'\t\tspan.xojo_code_rgb_blue { color: ' . $this->color_blue_dark . '; }',\n\t\t\t'\t}',\n\t\t\t'</style>'\n\t\t);\n\t\t\n\t\treturn implode(\"\\n\", $lines);\n\t}", "private function collect_inline_styles(\\DOMElement $element)\n {\n $attr_node = $element->getAttributeNode('style');\n if (!$attr_node instanceof \\DOMAttr) {\n return;\n }\n $value = \\trim($attr_node->nodeValue);\n if (empty($value)) {\n $element->removeAttribute('style');\n return;\n }\n // Skip processing stylesheets that contain mustache template variables if the element is inside of a mustache template.\n if (\\preg_match('/{{[^}]+?}}/', $value) && 0 !== $this->dom->xpath->query('//template[ @type=\"amp-mustache\" ]//.|//script[ @template=\"amp-mustache\" and @type=\"text/plain\" ]//.', $element)->length) {\n return;\n }\n $class = 'amp-wp-' . \\substr(\\md5($value), 0, 7);\n $specificity = ':not(' . \\str_repeat('#_', self::INLINE_SPECIFICITY_MULTIPLIER) . ')';\n $rule = \\sprintf('.%s%s{%s}', $class, $specificity, $value);\n $this->set_current_node($element);\n // And sources when needing to be located.\n // @todo If ValidationExemption::is_px_verified_for_node( $element ) then keep !important.\n // @todo If ValidationExemption::is_amp_unvalidated_for_node( $element ) then keep invalid markup.\n $parsed = $this->get_parsed_stylesheet($rule, ['allowed_at_rules' => [], 'property_allowlist' => $this->style_custom_cdata_spec['css_spec']['declaration'], 'spec_name' => self::STYLE_AMP_CUSTOM_SPEC_NAME]);\n $element->removeAttribute('style');\n $element->setAttribute(self::ORIGINAL_STYLE_ATTRIBUTE_NAME, $value);\n if ($parsed['tokens']) {\n $this->pending_stylesheets[] = ['group' => self::STYLE_AMP_CUSTOM_GROUP_INDEX, 'original_size' => \\strlen($rule), 'final_size' => null, 'element' => $element, 'origin' => 'style_attribute', 'sources' => $this->current_sources, 'priority' => $this->get_stylesheet_priority($attr_node), 'tokens' => $parsed['tokens'], 'hash' => $parsed['hash'], 'parse_time' => $parsed['parse_time'], 'shake_time' => null, 'cached' => $parsed['cached'], 'important_count' => $parsed['important_count'], 'kept_error_count' => $parsed['kept_error_count'], 'preload_font_urls' => $parsed['preload_font_urls']];\n if ($element->hasAttribute('class')) {\n $element->setAttribute('class', $element->getAttribute('class') . ' ' . $class);\n } else {\n $element->setAttribute('class', $class);\n }\n }\n $this->set_current_node(null);\n }", "function readInlineCSS($html) {\n\t\t$size = strlen ( $html ) - 1;\n\t\tif (substr ( $html, $size, 1 ) != ';')\n\t\t\t$html .= ';';\n\t\t\t// Make CSS[Name-of-the-class] = array(key => value)\n\t\t$regexp = '|\\\\s*?(\\\\S+?):(.+?);|i';\n\t\tpreg_match_all ( $regexp, $html, $styleinfo );\n\t\t$properties = $styleinfo [1];\n\t\t$values = $styleinfo [2];\n\t\t// Array-properties and Array-values must have the SAME SIZE!\n\t\t$classproperties = array ();\n\t\tfor($i = 0; $i < count ( $properties ); $i ++) {\n\t\t\t// Ignores -webkit-gradient so doesn't override -moz-\n\t\t\tif ((strtoupper ( $properties [$i] ) == 'BACKGROUND-IMAGE' || strtoupper ( $properties [$i] ) == 'BACKGROUND') && preg_match ( '/-webkit-gradient/i', $values [$i] )) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t$classproperties [strtoupper ( $properties [$i] )] = trim ( $values [$i] );\n\t\t}\n\t\treturn $this->fixCSS ( $classproperties );\n\t}", "public function getCss();", "private function _parseModuleGlobalInformation($data) {\n $styles = array();\n if (count($data)) {\n foreach ($data as $style) {\n $styles []= $style;\n }\n }\n return $styles;\n }", "function get_css($data, $isRaw = FALSE){\n return _get_dynamic($data, $isRaw, 'css');\n}", "protected function scanHtmlLikeStyle()\n {\n if (preg_match('/^</', $this->input)) {\n return $this->scanInput('/^(<[\\w\\/].*)/', 'text');\n }\n return null;\n }", "public function emogrify() {\r\n\t\t$body = $this->html;\r\n\r\n\t\t// remove any unprocessable HTML tags (tags that DOMDocument cannot parse; this includes wbr and many new HTML5 tags)\r\n\t\tif (count($this->unprocessableHTMLTags)) {\r\n\t\t\t$unprocessableHTMLTags = implode('|',$this->unprocessableHTMLTags);\r\n\t\t\t$body = preg_replace(\"/<\\/?($unprocessableHTMLTags)[^>]*>/i\",'',$body);\r\n\t\t}\r\n\r\n\t\t$encoding = mb_detect_encoding($body);\r\n\t\t$body = mb_convert_encoding($body, 'HTML-ENTITIES', $encoding);\r\n\r\n\t\t$xmldoc = new DOMDocument;\r\n\t\t$xmldoc->encoding = $encoding;\r\n\t\t$xmldoc->strictErrorChecking = false;\r\n\t\t$xmldoc->formatOutput = true;\r\n\t\t$xmldoc->loadHTML($body);\r\n\t\t$xmldoc->normalizeDocument();\r\n\r\n\t\t$xpath = new DOMXPath($xmldoc);\r\n\r\n\t\t// before be begin processing the CSS file, parse the document and normalize all existing CSS attributes (changes 'DISPLAY: none' to 'display: none');\r\n\t\t// we wouldn't have to do this if DOMXPath supported XPath 2.0.\r\n\t\t// also store a reference of nodes with existing inline styles so we don't overwrite them\r\n\t\t$vistedNodes = $vistedNodeRef = array();\r\n\t\t$nodes = @$xpath->query('//*[@style]');\r\n\t\tforeach ($nodes as $node) {\r\n\t\t\t$normalizedOrigStyle = preg_replace('/[A-z\\-]+(?=\\:)/Se',\"strtolower('\\\\0')\", $node->getAttribute('style'));\r\n\r\n\t\t\t// in order to not overwrite existing style attributes in the HTML, we have to save the original HTML styles\r\n\t\t\t$nodeKey = md5($node->getNodePath());\r\n\t\t\tif (!isset($vistedNodeRef[$nodeKey])) {\r\n\t\t\t\t$vistedNodeRef[$nodeKey] = $this->cssStyleDefinitionToArray($normalizedOrigStyle);\r\n\t\t\t\t$vistedNodes[$nodeKey] = $node;\r\n\t\t\t}\r\n\r\n\t\t\t$node->setAttribute('style', $normalizedOrigStyle);\r\n\t\t}\r\n\r\n\t\t// grab any existing style blocks from the html and append them to the existing CSS\r\n\t\t// (these blocks should be appended so as to have precedence over conflicting styles in the existing CSS)\r\n\t\t$css = $this->css;\r\n\t\t$nodes = @$xpath->query('//style');\r\n\t\tforeach ($nodes as $node) {\r\n\t\t\t// append the css\r\n\t\t\t$css .= \"\\n\\n{$node->nodeValue}\";\r\n\t\t\t// remove the <style> node\r\n\t\t\t$node->parentNode->removeChild($node);\r\n\t\t}\r\n\r\n\t\t// filter the CSS\r\n\t\t$search = array(\r\n\t\t\t'/\\/\\*.*\\*\\//sU', // get rid of css comment code\r\n\t\t\t'/^\\s*@import\\s[^;]+;/misU', // strip out any import directives\r\n\t\t\t'/^\\s*@media\\s[^{]+{\\s*}/misU', // strip any empty media enclosures\r\n\t\t\t'/^\\s*@media\\s+((aural|braille|embossed|handheld|print|projection|speech|tty|tv)\\s*,*\\s*)+{.*}\\s*}/misU', // strip out all media types that are not 'screen' or 'all' (these don't apply to email)\r\n\t\t\t'/^\\s*@media\\s[^{]+{(.*})\\s*}/misU', // get rid of remaining media type enclosures\r\n\t\t);\r\n\r\n\t\t$replace = array(\r\n\t\t\t'',\r\n\t\t\t'',\r\n\t\t\t'',\r\n\t\t\t'',\r\n\t\t\t'\\\\1',\r\n\t\t);\r\n\r\n\t\t$css = preg_replace($search, $replace, $css);\r\n\r\n\t\t$csskey = md5($css);\r\n\t\tif (!isset($this->caches[CACHE_CSS][$csskey])) {\r\n\r\n\t\t\t// process the CSS file for selectors and definitions\r\n\t\t\tpreg_match_all('/(^|[^{}])\\s*([^{]+){([^}]*)}/mis', $css, $matches, PREG_SET_ORDER);\r\n\r\n\t\t\t$all_selectors = array();\r\n\t\t\tforeach ($matches as $key => $selectorString) {\r\n\t\t\t\t// if there is a blank definition, skip\r\n\t\t\t\tif (!strlen(trim($selectorString[3]))) continue;\r\n\r\n\t\t\t\t// else split by commas and duplicate attributes so we can sort by selector precedence\r\n\t\t\t\t$selectors = explode(',',$selectorString[2]);\r\n\t\t\t\tforeach ($selectors as $selector) {\r\n\r\n\t\t\t\t\t// don't process pseudo-elements and behavioral (dynamic) pseudo-classes; ONLY allow structural pseudo-classes\r\n\t\t\t\t\tif (strpos($selector, ':') !== false && !preg_match('/:\\S+\\-(child|type)\\(/i', $selector)) continue;\r\n\r\n\t\t\t\t\t$all_selectors[] = array('selector' => trim($selector),\r\n\t\t\t\t\t\t\t\t\t\t\t 'attributes' => trim($selectorString[3]),\r\n\t\t\t\t\t\t\t\t\t\t\t 'line' => $key, // keep track of where it appears in the file, since order is important\r\n\t\t\t\t\t);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t// now sort the selectors by precedence\r\n\t\t\tusort($all_selectors, array($this,'sortBySelectorPrecedence'));\r\n\r\n\t\t\t$this->caches[CACHE_CSS][$csskey] = $all_selectors;\r\n\t\t}\r\n\r\n\t\tforeach ($this->caches[CACHE_CSS][$csskey] as $value) {\r\n\r\n\t\t\t// query the body for the xpath selector\r\n\t\t\t$nodes = $xpath->query($this->translateCSStoXpath(trim($value['selector'])));\r\n\r\n\t\t\tforeach($nodes as $node) {\r\n\t\t\t\t// if it has a style attribute, get it, process it, and append (overwrite) new stuff\r\n\t\t\t\tif ($node->hasAttribute('style')) {\r\n\t\t\t\t\t// break it up into an associative array\r\n\t\t\t\t\t$oldStyleArr = $this->cssStyleDefinitionToArray($node->getAttribute('style'));\r\n\t\t\t\t\t$newStyleArr = $this->cssStyleDefinitionToArray($value['attributes']);\r\n\r\n\t\t\t\t\t// new styles overwrite the old styles (not technically accurate, but close enough)\r\n\t\t\t\t\t$combinedArr = array_merge($oldStyleArr,$newStyleArr);\r\n\t\t\t\t\t$style = '';\r\n\t\t\t\t\tforeach ($combinedArr as $k => $v) $style .= (strtolower($k) . ':' . $v . ';');\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// otherwise create a new style\r\n\t\t\t\t\t$style = trim($value['attributes']);\r\n\t\t\t\t}\r\n\t\t\t\t$node->setAttribute('style', $style);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// now iterate through the nodes that contained inline styles in the original HTML\r\n\t\tforeach ($vistedNodeRef as $nodeKey => $origStyleArr) {\r\n\t\t\t$node = $vistedNodes[$nodeKey];\r\n\t\t\t$currStyleArr = $this->cssStyleDefinitionToArray($node->getAttribute('style'));\r\n\r\n\t\t\t$combinedArr = array_merge($currStyleArr, $origStyleArr);\r\n\t\t\t$style = '';\r\n\t\t\tforeach ($combinedArr as $k => $v) $style .= (strtolower($k) . ':' . $v . ';');\r\n\r\n\t\t\t$node->setAttribute('style', $style);\r\n\t\t}\r\n\r\n\t\t// This removes styles from your email that contain display:none.\r\n\t\t// We need to look for display:none, but we need to do a case-insensitive search. Since DOMDocument only supports XPath 1.0,\r\n\t\t// lower-case() isn't available to us. We've thus far only set attributes to lowercase, not attribute values. Consequently, we need\r\n\t\t// to translate() the letters that would be in 'NONE' (\"NOE\") to lowercase.\r\n\t\t$nodes = $xpath->query('//*[contains(translate(translate(@style,\" \",\"\"),\"NOE\",\"noe\"),\"display:none\")]');\r\n\t\t// The checks on parentNode and is_callable below ensure that if we've deleted the parent node,\r\n\t\t// we don't try to call removeChild on a nonexistent child node\r\n\t\tif ($nodes->length > 0)\r\n\t\t\tforeach ($nodes as $node)\r\n\t\t\t\tif ($node->parentNode && is_callable(array($node->parentNode,'removeChild')))\r\n\t\t\t\t\t\t$node->parentNode->removeChild($node);\r\n\r\n\t\tif ($this->preserveEncoding) {\r\n\t\t\treturn mb_convert_encoding($xmldoc->saveHTML(), $encoding, 'HTML-ENTITIES');\r\n\t\t} else {\r\n\t\t\treturn $xmldoc->saveHTML();\r\n\t\t}\r\n\t}", "function xss_clean($data)\n\t{\n\t\t$data = str_replace(array(\"\\r\", \"\\n\"), \"\", $data);\n\t\t\n\t\t// Fix &entity\\n;\n\t\t$data = str_replace(array('&amp;','&lt;','&gt;'), array('&amp;amp;','&amp;lt;','&amp;gt;'), $data);\n\t\t$data = preg_replace('/(&#*\\w+)[\\x00-\\x20]+;/u', '$1;', $data);\n\t\t$data = preg_replace('/(&#x*[0-9A-F]+);*/iu', '$1;', $data);\n\t\t$data = html_entity_decode($data, ENT_COMPAT, 'UTF-8');\n\t\n\t\t// Remove any attribute starting with \"on\" or xmlns\n\t\t$data = preg_replace('#(<[^>]+?[\\x00-\\x20\"\\'])(?:on|xmlns)[^>]*+>#iu', '$1>', $data);\n\t\n\t\t// Remove javascript: and vbscript: protocols\n\t\t$data = preg_replace('#([a-z]*)[\\x00-\\x20]*=[\\x00-\\x20]*([`\\'\"]*)[\\x00-\\x20]*j[\\x00-\\x20]*a[\\x00-\\x20]*v[\\x00-\\x20]*a[\\x00-\\x20]*s[\\x00-\\x20]*c[\\x00-\\x20]*r[\\x00-\\x20]*i[\\x00-\\x20]*p[\\x00-\\x20]*t[\\x00-\\x20]*:#iu', '$1=$2nojavascript...', $data);\n\t\t$data = preg_replace('#([a-z]*)[\\x00-\\x20]*=([\\'\"]*)[\\x00-\\x20]*v[\\x00-\\x20]*b[\\x00-\\x20]*s[\\x00-\\x20]*c[\\x00-\\x20]*r[\\x00-\\x20]*i[\\x00-\\x20]*p[\\x00-\\x20]*t[\\x00-\\x20]*:#iu', '$1=$2novbscript...', $data);\n\t\t$data = preg_replace('#([a-z]*)[\\x00-\\x20]*=([\\'\"]*)[\\x00-\\x20]*-moz-binding[\\x00-\\x20]*:#u', '$1=$2nomozbinding...', $data);\n\t\n\t\t// Only works in IE: <span style=\"width: expression(alert('Ping!'));\"></span>\n\t\t$data = preg_replace('#(<[^>]+?)style[\\x00-\\x20]*=[\\x00-\\x20]*[`\\'\"]*.*?expression[\\x00-\\x20]*\\([^>]*+>#i', '$1>', $data);\n\t\t$data = preg_replace('#(<[^>]+?)style[\\x00-\\x20]*=[\\x00-\\x20]*[`\\'\"]*.*?behaviour[\\x00-\\x20]*\\([^>]*+>#i', '$1>', $data);\n\t\t$data = preg_replace('#(<[^>]+?)style[\\x00-\\x20]*=[\\x00-\\x20]*[`\\'\"]*.*?s[\\x00-\\x20]*c[\\x00-\\x20]*r[\\x00-\\x20]*i[\\x00-\\x20]*p[\\x00-\\x20]*t[\\x00-\\x20]*:*[^>]*+>#iu', '$1>', $data);\n\t\n\t\t// Remove namespaced elements (we do not need them)\n\t\t$data = preg_replace('#</*\\w+:\\w[^>]*+>#i', '', $data);\n\t\t\n\t\t\n\t\n\t\tdo\n\t\t{\n\t\t\t// Remove really unwanted tags\n\t\t\t$old_data = $data;\n\t\t\t$data = preg_replace('#</*(?:applet|b(?:ase|gsound|link)|embed|frame(?:set)?|i(?:frame|layer)|l(?:ayer|ink)|meta|object|s(?:cript|tyle)|title|xml)[^>]*+>#i', '', $data);\n\t\t}\n\t\twhile ($old_data !== $data);\n\t\n\t\t// we are done...\n\t\treturn $data;\n\t}", "function csstoolsexp_pythonified_to_array($pythonified_css)\n{\n $arr1 = array();\n $l1 = $l2 = '';\n foreach (explode(\"\\n\", $pythonified_css) as $line) {\n if (strpos($line, \"\\t\\t\") === 0) {\n $arr1[$l1][$l2][] = trim($line);\n } elseif (strpos($line, \"\\t\") === 0) {\n $l2 = trim($line);\n $l2 = csstoolsexp_at_line_fix($l2);\n if (strpos($l2, \"@\") === 0) $l2 .= '-' . uniqid();\n } else {\n $l1 = trim($line);\n }\n }\n $arr2 = array();\n foreach (array_keys($arr1) as $l1) {\n $l1s = array_map('trim', explode(',', $l1));\n foreach (array_keys($arr1[$l1]) as $l2) {\n $l2s = array_map('trim', explode(',', $l2));\n $decl = $arr1[$l1][$l2];\n foreach ($l1s as $_l1) {\n foreach ($l2s as $_l2) {\n if (empty($arr2[$_l1][$_l2])) {\n $arr2[$_l1][$_l2] = array();\n }\n $arr2[$_l1][$_l2] = array_merge($arr2[$_l1][$_l2], $decl); \n }\n }\n }\n }\n $css_array = array();\n foreach ($arr2 as $media => &$ruleset) {\n foreach ($ruleset as $selector => $declarations) {\n $css_array[$media][$selector] = array();\n foreach($declarations as $declaration) {\n csstoolsexp_parse_declaration(\n $declaration,\n $css_array[$media][$selector]\n );\n }\n }\n }\n return $css_array;\n}", "function csstoolsexp_parse_string($css, $base_url = false, $max_img_width = 700)\n{\n // remove comments http://stackoverflow.com/a/3984887/1459873\n $css = preg_replace( '!/\\*[^*]*\\*+([^/][^*]*\\*+)*/!' , '' , $css);\n // normalize white space\n $css = preg_replace('/\\s+/', ' ', $css);\n // process urls\n $css = csstoolsexp_inline($css, $base_url, $max_img_width);\n // now for the parsing...\n $css_array = csstoolsexp_css_to_array($css);\n return $css_array;\n}", "private function xss_clean($str)\n\t{\n\t\t$str = str_replace(array('&amp;','&lt;','&gt;'), array('&amp;amp;','&amp;lt;','&amp;gt;'), $str);\n $str = preg_replace('/(&#*\\w+)[\\x00-\\x20]+;/u', '$1;', $str);\n $str = preg_replace('/(&#x*[0-9A-F]+);*/iu', '$1;', $str);\n $str = html_entity_decode($str, ENT_COMPAT, 'UTF-8');\n\n // Remove any attribute starting with \"on\" or xmlns\n $str = preg_replace('#(<[^>]+?[\\x00-\\x20\"\\'])(?:on|xmlns)[^>]*+>#iu', '$1>', $str);\n\n // Remove javascript: and vbscript: protocols\n $str = preg_replace('#([a-z]*)[\\x00-\\x20]*=[\\x00-\\x20]*([`\\'\"]*)[\\x00-\\x20]*j[\\x00-\\x20]*a[\\x00-\\x20]*v[\\x00-\\x20]*a[\\x00-\\x20]*s[\\x00-\\x20]*c[\\x00-\\x20]*r[\\x00-\\x20]*i[\\x00-\\x20]*p[\\x00-\\x20]*t[\\x00-\\x20]*:#iu', '$1=$2nojavascript...', $str);\n $str = preg_replace('#([a-z]*)[\\x00-\\x20]*=([\\'\"]*)[\\x00-\\x20]*v[\\x00-\\x20]*b[\\x00-\\x20]*s[\\x00-\\x20]*c[\\x00-\\x20]*r[\\x00-\\x20]*i[\\x00-\\x20]*p[\\x00-\\x20]*t[\\x00-\\x20]*:#iu', '$1=$2novbscript...', $str);\n $str = preg_replace('#([a-z]*)[\\x00-\\x20]*=([\\'\"]*)[\\x00-\\x20]*-moz-binding[\\x00-\\x20]*:#u', '$1=$2nomozbinding...', $str);\n\n // Only works in IE: <span style=\"width: expression(alert('Ping!'));\"></span>\n $str = preg_replace('#(<[^>]+?)style[\\x00-\\x20]*=[\\x00-\\x20]*[`\\'\"]*.*?expression[\\x00-\\x20]*\\([^>]*+>#i', '$1>', $str);\n $str = preg_replace('#(<[^>]+?)style[\\x00-\\x20]*=[\\x00-\\x20]*[`\\'\"]*.*?behaviour[\\x00-\\x20]*\\([^>]*+>#i', '$1>', $str);\n $str = preg_replace('#(<[^>]+?)style[\\x00-\\x20]*=[\\x00-\\x20]*[`\\'\"]*.*?s[\\x00-\\x20]*c[\\x00-\\x20]*r[\\x00-\\x20]*i[\\x00-\\x20]*p[\\x00-\\x20]*t[\\x00-\\x20]*:*[^>]*+>#iu', '$1>', $str);\n\n // Remove namespaced elements (we do not need them)\n $str = preg_replace('#</*\\w+:\\w[^>]*+>#i', '', $str);\n\n do{\n\t\t\t// Remove really unwanted tags\n\t\t\t$old_str = $str;\n\t\t\t$str = preg_replace('#</*(?:applet|b(?:ase|gsound|link)|embed|frame(?:set)?|i(?:frame|layer)|l(?:ayer|ink)|meta|object|s(?:cript|tyle)|title|xml)[^>]*+>#i', '', $str);\n } while ($old_str !== $str);\n\n return $str;\n\t}", "private function css_codes() {\n\t\t\t?>\n\t\t\t<style>\n\n\t\t\t</style>\n\t\t\t<?php\n\t\t}", "function fetchCSS($file){\n\n\t$html = file($file);\n\n\t$css = '';\n\t$collect = false;\n\n\tforeach($html as $line => $str){\n\n\t\tif(preg_match('/<style.+(.*)[^\\<]/', $str, $match)){\n\t\t\t //echo \"Beginning of the css\";\n\t\t\t $collect = true;\n\t\t}elseif(preg_match('/\\<\\/style\\>/', $str)){\n\t\t\t//return $css;\n\t\t\t$collect = false;\n\t\t}else{\n\t\t\tif($collect) $css .= trim($str);\n\t\t}\n\t}\n\t\n\t$stylelines = explode(\"}\", $css);\n\n\t$styles = array();\n\n\tforeach($stylelines as $lines => $line){\n\t\t$selector = substr($line, 0, strpos($line, \"{\"));\n\t\t$stylelines = substr($line, strpos($line, \"{\") + 1, strlen($line));\n\t\t\n\t\t$rulelines = explode(\";\", $stylelines);\n\n\t\tforeach($rulelines as $ruleline => $set){\n\t\t\tlist($stylename, $stylevalue) = explode(\":\", $set);\n\t\t\n\t\t\t$styles[$selector][trim($stylename)] = trim($stylevalue);\n\t\t}\n\t\t//echo $selector . \" = \" . $rules . \"\\n\";\n\t}\n\n\treturn $styles;\n}", "function _FixStyles()\r\n {\r\n $matches = array();\r\n preg_match('%<style[^>]*>(.*)</style>%is', $this->body['h'], $matches);\r\n\r\n if (isset($matches[1])) {\r\n $new_styles = str_replace(\"\\n.\", \"\\n .\", $matches[1]);\r\n $this->body['h'] = str_replace($matches[1], $new_styles, $this->body['h']);\r\n }\r\n }", "private function xss_attributes($attr)\n {\n $attrarr = array();\n $mode = 0;\n $attrname = '';\n \n while (strlen($attr) != 0)\n {\n // Was the last operation successful?\n $working = 0;\n \n switch ($mode)\n {\n case 0:\n // Attribute name, href for instance\n if (preg_match('/^([-a-zA-Z]+)/', $attr, $match))\n {\n $attrname = strtolower($match[1]);\n $skip = ($attrname == 'style' || substr($attrname, 0, 2) == 'on');\n $working = $mode = 1;\n $attr = preg_replace('/^[-a-zA-Z]+/', '', $attr);\n }\n break;\n \n case 1:\n // Equals sign or valueless (\"selected\")\n if (preg_match('/^\\s*=\\s*/', $attr))\n {\n $working = 1;\n $mode = 2;\n $attr = preg_replace('/^\\s*=\\s*/', '', $attr);\n break;\n }\n \n if (preg_match('/^\\s+/', $attr))\n {\n $working = 1;\n $mode = 0;\n if (!$skip)\n {\n $attrarr[] = $attrname;\n }\n $attr = preg_replace('/^\\s+/', '', $attr);\n }\n break;\n \n case 2:\n // Attribute value, a URL after href= for instance\n if (preg_match('/^\"([^\"]*)\"(\\s+|$)/', $attr, $match))\n {\n $thisval = $this->xss_bad_protocol($match[1]);\n \n if (!$skip)\n {\n $attrarr[] = \"$attrname=\\\"$thisval\\\"\";\n }\n $working = 1;\n $mode = 0;\n $attr = preg_replace('/^\"[^\"]*\"(\\s+|$)/', '', $attr);\n break;\n }\n \n if (preg_match(\"/^'([^']*)'(\\s+|$)/\", $attr, $match))\n {\n $thisval = $this->xss_bad_protocol($match[1]);\n \n if (!$skip)\n {\n $attrarr[] = \"$attrname='$thisval'\";\n }\n $working = 1;\n $mode = 0;\n $attr = preg_replace(\"/^'[^']*'(\\s+|$)/\", '', $attr);\n break;\n }\n \n if (preg_match(\"%^([^\\s\\\"']+)(\\s+|$)%\", $attr, $match))\n {\n $thisval = $this->xss_bad_protocol($match[1]);\n \n if (!$skip)\n {\n $attrarr[] = \"$attrname=\\\"$thisval\\\"\";\n }\n $working = 1;\n $mode = 0;\n $attr = preg_replace(\"%^[^\\s\\\"']+(\\s+|$)%\", '', $attr);\n }\n break;\n }\n \n if ($working == 0)\n {\n // not well formed, remove and try again\n $attr = preg_replace('/\n ^\n (\n \"[^\"]*(\"|$) # - a string that starts with a double quote, up until the next double quote or the end of the string\n | # or\n \\'[^\\']*(\\'|$)| # - a string that starts with a quote, up until the next quote or the end of the string\n | # or\n \\S # - a non-whitespace character\n )* # any number of the above three\n \\s* # any number of whitespaces\n /x', '', $attr);\n $mode = 0;\n }\n }\n \n // The attribute list ends with a valueless attribute like \"selected\".\n if ($mode == 1 && !$skip)\n {\n $attrarr[] = $attrname;\n }\n return $attrarr;\n }", "public function getStyle() {\r\n\t\t$query = \"SELECT `style` FROM {$this->prefix}data WHERE `sheetid`='{$this->sheetid}' AND `rowid`='{$this->row}' AND `columnid`='{$this->col}'\";\r\n\t\t$result = $this->wrapper->query($query);\r\n\t\tif (!$result) return false;\r\n\t\t$cell = $this->wrapper->next($result);\r\n\t\treturn $this->parseStyle($cell['style']);\r\n\t}", "protected function parseStyles(string $input) {\n $tmp = explode(':', $input, 2);\n if (count($tmp) != 2) {\n // #strictModeException - Might be incorrect, needs to be checked\n return;\n }\n\n $tmp[1] = trim($tmp[1]);\n switch ($tmp[0]) {\n case 'Format':\n if (count($this->stylesFormat) > 0) {\n throw new Exception(sprintf('%s is not valid file (duplicate styles format definition).', $this->filename));\n }\n $this->stylesFormat = array_map(function ($value) {\n return trim($value);\n }, explode(',', $tmp[1]));\n break;\n\n case 'Style':\n if (count($this->stylesFormat) == 0) {\n throw new Exception(sprintf('%s is not valid file (missing format styles before style).', $this->filename));\n }\n\n $tmp = explode(',', $tmp[1], count($this->stylesFormat));\n foreach ($this->stylesFormat as $index => $name) {\n $this->setStyle($name, $tmp[$index]);\n }\n break;\n\n default:\n // #strictModeException - Unknown styles command\n break;\n }\n }", "public function getStyle();" ]
[ "0.6580344", "0.63813806", "0.63009524", "0.59650105", "0.5892536", "0.57366866", "0.5613385", "0.5607884", "0.55002177", "0.5496897", "0.5476498", "0.54365885", "0.5433527", "0.5418282", "0.5400546", "0.5367755", "0.5335202", "0.533217", "0.533035", "0.5329028", "0.5320802", "0.5319772", "0.5316314", "0.52856857", "0.5276671", "0.5275493", "0.52691203", "0.5262084", "0.5227646", "0.5195729" ]
0.6456842
1
/ Function to process a valid ILance XML Addon Installer Package to convert all xml tags into usable arrays
function process_addon_xml($a = array(), $e) { $filestructure = $installcode = $uninstallcode = $upgradecode = $developer = $product = $modulearray = $modulegroup = $setting = $configgroup = $phrasegroup = $taskgroup = $taskarray = $emailgroup = $cssgroup = array(); $emailname = $emailsubject = $emailbody = $emailtype = $emailvarname = $emailbuyer = $emailseller = $emailadmin = $csselement = $elementdescription = $csstype = $cssstatus = $cssauthor = $styleids = $csscontent = $csssort = $version = $minbuild = $maxbuild = ''; $current_module_group = 0; $count = count($a); for ($i = 0; $i < $count; $i++) { if ($a[$i]['tag'] == 'VERSION') { $version = $a[$i]['value']; } else if ($a[$i]['tag'] == 'VERSIONCHECKURL') { $versioncheckurl = $a[$i]['value']; } else if ($a[$i]['tag'] == 'URL') { $url = $a[$i]['value']; } else if ($a[$i]['tag'] == 'MINVERSION') { $minversion = $a[$i]['value']; } else if ($a[$i]['tag'] == 'MAXVERSION') { $maxversion = !empty($a[$i]['value']) ? $a[$i]['value'] : ''; } else if ($a[$i]['tag'] == 'MINBUILD') { $minbuild = !empty($a[$i]['value']) ? $a[$i]['value'] : ''; } else if ($a[$i]['tag'] == 'MAXBUILD') { $maxbuild = !empty($a[$i]['value']) ? $a[$i]['value'] : ''; } else if ($a[$i]['tag'] == 'DEVELOPER') { $developer = $a[$i]['value']; } // #### SETTINGS ####################################### else if ($a[$i]['tag'] == 'CONFIGGROUP') { if ($a[$i]['type'] == 'open' OR $a[$i]['type'] == 'complete') { $current_config_group = $a[$i]['attributes']['GROUPNAME']; $current_config_table = $a[$i]['attributes']['TABLE']; $configgroup[] = array( $a[$i]['attributes']['GROUPNAME'], $a[$i]['attributes']['PARENTGROUPNAME'], $a[$i]['attributes']['DESCRIPTION'], $a[$i]['attributes']['TABLE'] ); } } else if ($a[$i]['tag'] == 'SETTING') { if ($a[$i]['type'] == 'open' OR $a[$i]['type'] == 'complete') { $setting[] = array( $current_config_group = isset($current_config_group) ? $current_config_group : '', $current_config_table = isset($current_config_table) ? $current_config_table : '', $a[$i]['attributes']['NAME'], $a[$i]['attributes']['DESCRIPTION'], $a[$i]['attributes']['VALUE'], $a[$i]['attributes']['INPUTTYPE'], $a[$i]['attributes']['SORT'], htmlspecialchars(trim($a[$i]['value']), ENT_COMPAT, $e) ); } } // #### PRODUCT DATA ################################### else if ($a[$i]['tag'] == 'MODULEGROUP') { if ($a[$i]['type'] == 'open' OR $a[$i]['type'] == 'complete') { $current_module_group = $a[$i]['attributes']['NAME']; $modulegroup[] = array( $a[$i]['attributes']['NAME'], $a[$i]['attributes']['MODULENAME'], $a[$i]['attributes']['FOLDER'], $current_config_table = isset($current_config_table) ? $current_config_table : '', ); } } else if ($a[$i]['tag'] == 'MODULE') { if ($a[$i]['type'] == 'complete') { $modulearray[] = array( $current_module_group, trim($a[$i]['attributes']['TAB']), trim($a[$i]['attributes']['SUBCMD']), trim($a[$i]['attributes']['PARENTID']), trim($a[$i]['attributes']['SORT']), trim($a[$i]['attributes']['KEY']), trim($a[$i]['value']) ); } } // #### PHRASES ######################################## else if ($a[$i]['tag'] == 'PHRASEGROUP') { if ($a[$i]['type'] == 'open' || $a[$i]['type'] == 'complete') { $productname = !empty($a[$i]['attributes']['PRODUCT']) ? $a[$i]['attributes']['PRODUCT'] : mb_strtolower($a[$i]['attributes']['NAME']); $current_phrase_group = !empty($a[$i]['attributes']['NAME']) ? $a[$i]['attributes']['NAME'] : ''; $phrasegroup[] = array( $a[$i]['attributes']['NAME'], $a[$i]['attributes']['DESCRIPTION'], $productname ); } } else if ($a[$i]['tag'] == 'PHRASE') { if ($a[$i]['type'] == 'complete') { $phrasearray[] = array( $current_phrase_group, trim($a[$i]['attributes']['VARNAME']), htmlspecialchars(trim($a[$i]['value']), ENT_COMPAT, $e) ); } } // #### FILE STRUCTURE ################################# else if ($a[$i]['tag'] == 'FILE') { if ($a[$i]['type'] == 'complete') { $filestructure[] = array( ((!empty($a[$i]['attributes']['MD5']) AND mb_strlen($a[$i]['attributes']['MD5']) == 32) ? $a[$i]['attributes']['MD5'] : ''), (!empty($a[$i]['value']) ? htmlspecialchars(trim($a[$i]['value']), ENT_COMPAT, $e) : '') ); } } // #### SCHEDULED TASKS ################################ else if ($a[$i]['tag'] == 'TASK') { if ($a[$i]['type'] == 'open' || $a[$i]['type'] == 'complete') { $current_task_group = !empty($a[$i]['attributes']['VARNAME']) ? $a[$i]['attributes']['VARNAME'] : ''; $taskgroup[] = array( $a[$i]['attributes']['VARNAME'], $a[$i]['attributes']['FILENAME'], $a[$i]['attributes']['ACTIVE'], $a[$i]['attributes']['LOGLEVEL'], $a[$i]['attributes']['PRODUCT'] ); } } else if ($a[$i]['tag'] == 'SCHEDULE') { if ($a[$i]['type'] == 'complete') { $taskarray[] = array( $current_task_group, trim($a[$i]['attributes']['WEEKDAY']), trim($a[$i]['attributes']['DAY']), trim($a[$i]['attributes']['HOUR']), trim($a[$i]['attributes']['MINUTE']) ); } } // #### EMAIL TEMPLATES ################################ else if ($a[$i]['tag'] == 'NAME') { $emailname = $a[$i]['value']; } else if ($a[$i]['tag'] == 'SUBJECT') { $emailsubject = $a[$i]['value']; } else if ($a[$i]['tag'] == 'MESSAGE') { $emailbody = $a[$i]['value']; } else if ($a[$i]['tag'] == 'TYPE') { $emailtype = $a[$i]['value']; } else if ($a[$i]['tag'] == 'VARNAME') { $emailvarname = $a[$i]['value']; } else if ($a[$i]['tag'] == 'BUYER') { $emailbuyer = $a[$i]['value']; } else if ($a[$i]['tag'] == 'SELLER') { $emailseller = $a[$i]['value']; } else if ($a[$i]['tag'] == 'ADMIN') { $emailadmin = $a[$i]['value']; } if (!empty($emailvarname) AND !empty($emailname) AND !empty($emailsubject) AND !empty($emailtype) AND !empty($emailbody)) { $emailgroup[] = array( $emailvarname, $emailname, $emailsubject, $emailtype, $emailbody, $emailbuyer, $emailseller, $emailadmin ); // reset for next email $emailname = $emailsubject = $emailbody = $emailtype = $emailvarname = $emailbuyer = $emailseller = $emailadmin = ''; } // #### CSS TEMPLATES ################################## else if ($a[$i]['tag'] == 'CSSELEMENT') { $csselement = $a[$i]['value']; } else if ($a[$i]['tag'] == 'ELEMENTDESCRIPTION') { $elementdescription = isset($a[$i]['value']) ? $a[$i]['value'] : ''; } else if ($a[$i]['tag'] == 'CSSTYPE') { $csstype = $a[$i]['value']; } else if ($a[$i]['tag'] == 'CSSSTATUS') { $cssstatus = $a[$i]['value']; } else if ($a[$i]['tag'] == 'CSSAUTHOR') { $cssauthor = $a[$i]['value']; } else if ($a[$i]['tag'] == 'STYLEIDS') { $styleids = $a[$i]['value']; } else if ($a[$i]['tag'] == 'CSSCONTENT') { $csscontent = $a[$i]['value']; } else if ($a[$i]['tag'] == 'CSSSORT') { $csssort = $a[$i]['value']; } if (!empty($csselement) AND !empty($csstype) AND !empty($cssstatus) AND !empty($styleids) AND !empty($csscontent)) { $cssgroup[] = array( $csselement, $elementdescription, $csstype, $cssstatus, $cssauthor, $styleids, $csscontent, $csssort ); // reset for next css template $csselement = $elementdescription = $csstype = $cssstatus = $cssauthor = $styleids = $csscontent = $csssort = ''; } // #### INSTALLATION CODE ############################## else if ($a[$i]['tag'] == 'INSTALLCODE') { if ($a[$i]['type'] == 'complete') { $installcode = !empty($a[$i]['value']) ? trim($a[$i]['value']) : ''; } } // #### UNINSTALLATION CODE ############################ else if ($a[$i]['tag'] == 'UNINSTALLCODE') { if ($a[$i]['type'] == 'complete') { $uninstallcode = !empty($a[$i]['value']) ? trim($a[$i]['value']) : ''; } } // #### UPGRADE CODE ################################### else if ($a[$i]['tag'] == 'UPGRADECODE') { if ($a[$i]['type'] == 'complete') { $upgradecode = !empty($a[$i]['value']) ? trim($a[$i]['value']) : ''; } } } $product[] = array($version, $versioncheckurl, $url, $minversion, $maxversion, $minbuild, $maxbuild); $result = array( 'product' => $product, 'configgroup' => isset($configgroup) ? $configgroup : '', 'setting' => isset($setting) ? $setting : '', 'modulearray' => $modulearray, 'modulegroup' => $modulegroup, 'phrasearray' => isset($phrasearray) ? $phrasearray : '', 'phrasegroup' => isset($phrasegroup) ? $phrasegroup : '', 'taskarray' => isset($taskarray) ? $taskarray : '', 'taskgroup' => isset($taskgroup) ? $taskgroup : '', 'emailgroup' => isset($emailgroup) ? $emailgroup : '', 'installcode' => isset($installcode) ? $installcode : '', 'uninstallcode' => isset($uninstallcode) ? $uninstallcode : '', 'upgradecode' => isset($upgradecode) ? $upgradecode : '', 'developer' => isset($developer) ? $developer : '', 'filestructure' => isset($filestructure) ? $filestructure : '', 'cssgroup' => isset($cssgroup) ? $cssgroup : '' ); return $result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function _xml2array($xml)\n{\n if (!is_array($xml)){ // init on first run\n $raw_xml = $xml;\n $p = xml_parser_create();\n xml_parser_set_option($p, XML_OPTION_CASE_FOLDING, 0);\n xml_parser_set_option($p, XML_OPTION_SKIP_WHITE, 1);\n xml_parse_into_struct($p, $raw_xml, $xml, $idx);\n xml_parser_free($p);\n }\n\n for ($i=0; $i<count($xml,1); $i++) {\n // set the current level\n if (!array_key_exists($i,$xml)) $xml[$i] = array('level' => 0);\n $level = $xml[$i]['level'];\n\n if ($level<1) break;\n\n // mark this level's tag in the array\n $keys[$level] = '['.$i.']';\n\n // if we've come down a level, sort output and destroy the upper level\n if (count($keys)>$level) unset($keys[count($keys)]);\n\n // ignore close tags, they're useless\n if ($xml[$i]['type']==\"open\" || $xml[$i]['type']==\"complete\") {\n\t // build the evalstring\n\t $e = '$output'.implode('[\\'children\\']',$keys);\n\n\t // set the tag name\n\t eval($e.'[\\'name\\'] = $xml[$i][\\'tag\\'];');\n\n\t // set the attributes\n\t if (array_key_exists('attributes',$xml[$i]) && $xml[$i]['attributes']){\n\t eval($e.'[\\'attributes\\'] = $xml[$i][\\'attributes\\'];');\n\t }\n\n\t // set the value\n\t if (array_key_exists('value',$xml[$i]) && $xml[$i]['value']){\n\t eval($e.'[\\'value\\'] = trim($xml[$i][\\'value\\']);');\n\t }\n }\n }\n\n return $output[0];\n}", "function xmlToArray($xml) {\n $parser = xml_parser_create(); \n xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);\n xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1);\n xml_parser_set_option($parser, XML_OPTION_TARGET_ENCODING, 'UTF-8');\n xml_parse_into_struct($parser, $xml, $values);\n xml_parser_free($parser);\n\n $result = array();\n $stack = array();\n foreach($values as $val) {\n if($val['type'] == \"open\") {\n array_push($stack, $val['tag']);\n } elseif($val['type'] == \"close\") {\n array_pop($stack);\n } elseif($val['type'] == \"complete\") {\n array_push($stack, $val['tag']);\n setArrayValue($result, $stack, $val['value']);\n array_pop($stack);\n }\n }\n return $result;\n}", "function shaken_xml2array(&$string) {\n\t$parser = xml_parser_create();\n\txml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);\n\txml_parse_into_struct($parser, $string, $vals, $index);\n\txml_parser_free($parser);\n\t$mnary=array();\n\t$ary=&$mnary;\n\tforeach ($vals as $r) {\n\t\t$t=$r['tag'];\n\t\tif ($r['type']=='open') {\n\t\t\tif (isset($ary[$t])) {\n\t\t\t\tif (isset($ary[$t][0])) $ary[$t][]=array(); else $ary[$t]=array($ary[$t], array());\n\t\t\t\t$cv=&$ary[$t][count($ary[$t])-1];\n\t\t\t} else $cv=&$ary[$t];\n\t\t\tif (isset($r['attributes'])) {foreach ($r['attributes'] as $k=>$v) $cv['_a'][$k]=$v;}\n\t\t\t$cv['_c']=array();\n\t\t\t$cv['_c']['_p']=&$ary;\n\t\t\t$ary=&$cv['_c'];\n\t\t} elseif ($r['type']=='complete') {\n\t\t\tif (isset($ary[$t])) { // same as open\n\t\t\t\tif (isset($ary[$t][0])) $ary[$t][]=array(); else $ary[$t]=array($ary[$t], array());\n\t\t\t\t$cv=&$ary[$t][count($ary[$t])-1];\n\t\t\t} else $cv=&$ary[$t];\n\t\t\tif (isset($r['attributes'])) {foreach ($r['attributes'] as $k=>$v) $cv['_a'][$k]=$v;}\n\t\t\t$cv['_v']=(isset($r['value']) ? $r['value'] : '');\n\n\t\t} elseif ($r['type']=='close') {\n\t\t\t$ary=&$ary['_p'];\n\t\t}\n\t} \n\t_shaken_del_p($mnary);\n\treturn $mnary;\n}", "function XMLtoArray($XML)\r\r\n\t{\r\r\n\t\t$xml_parser = xml_parser_create();\r\r\n\t\txml_parse_into_struct($xml_parser, $XML, $vals);\r\r\n\t\txml_parser_free($xml_parser);\r\r\n\t\t// wyznaczamy tablice z powtarzajacymi sie tagami na tym samym poziomie\r\r\n\t\t$_tmp='';\r\r\n\t\tforeach ($vals as $xml_elem) {\r\r\n\t\t\t$x_tag=$xml_elem['tag'];\r\r\n\t\t\t$x_level=$xml_elem['level'];\r\r\n\t\t\t$x_type=$xml_elem['type'];\r\r\n\t\t\tif ($x_level!=1 && $x_type == 'close') {\r\r\n\t\t\t\tif (isset($multi_key[$x_tag][$x_level]))\r\r\n\t\t\t\t\t$multi_key[$x_tag][$x_level]=1;\r\r\n\t\t\t\telse\r\r\n\t\t\t\t\t$multi_key[$x_tag][$x_level]=0;\r\r\n\t\t\t}\r\r\n\t\t\tif ($x_level!=1 && $x_type == 'complete') {\r\r\n\t\t\t\tif ($_tmp==$x_tag)\r\r\n\t\t\t\t\t$multi_key[$x_tag][$x_level]=1;\r\r\n\t\t\t\t$_tmp=$x_tag;\r\r\n\t\t\t}\r\r\n\t\t}\r\r\n\t\t// jedziemy po tablicy\r\r\n\t\tforeach ($vals as $xml_elem) {\r\r\n\t\t\t$x_tag=$xml_elem['tag'];\r\r\n\t\t\t$x_level=$xml_elem['level'];\r\r\n\t\t\t$x_type=$xml_elem['type'];\r\r\n\t\t\tif ($x_type == 'open')\r\r\n\t\t\t\t$level[$x_level] = $x_tag;\r\r\n\t\t\t$start_level = 1;\r\r\n\t\t\t$php_stmt = '$xml_array';\r\r\n\t\t\tif ($x_type=='close' && $x_level!=1)\r\r\n\t\t\t\t$multi_key[$x_tag][$x_level]++;\r\r\n\t\t\twhile ($start_level < $x_level) {\r\r\n\t\t\t\t$php_stmt .= '[$level['.$start_level.']]';\r\r\n\t\t\t\tif (isset($multi_key[$level[$start_level]][$start_level]) && $multi_key[$level[$start_level]][$start_level])\r\r\n\t\t\t\t\t$php_stmt .= '['.($multi_key[$level[$start_level]][$start_level]-1).']';\r\r\n\t\t\t\t$start_level++;\r\r\n\t\t\t}\r\r\n\t\t\t$add='';\r\r\n\t\t\tif (isset($multi_key[$x_tag][$x_level]) && $multi_key[$x_tag][$x_level] && ($x_type=='open' || $x_type=='complete')) {\r\r\n\t\t\t\tif (!isset($multi_key2[$x_tag][$x_level]))\r\r\n\t\t\t\t\t$multi_key2[$x_tag][$x_level]=0;\r\r\n\t\t\t\telse\r\r\n\t\t\t\t\t$multi_key2[$x_tag][$x_level]++;\r\r\n\t\t\t\t$add='['.$multi_key2[$x_tag][$x_level].']';\r\r\n\t\t\t}\r\r\n\t\t\tif (isset($xml_elem['value']) && trim($xml_elem['value'])!='' && !array_key_exists('attributes', $xml_elem)) {\r\r\n\t\t\t\tif ($x_type == 'open')\r\r\n\t\t\t\t\t$php_stmt_main=$php_stmt.'[$x_type]'.$add.'[\\'content\\'] = $xml_elem[\\'value\\'];';\r\r\n\t\t\t\telse\r\r\n\t\t\t\t\t$php_stmt_main=$php_stmt.'[$x_tag]'.$add.' = $xml_elem[\\'value\\'];';\r\r\n\t\t\t\teval($php_stmt_main);\r\r\n\t\t\t}\r\r\n\t\t\tif (array_key_exists('attributes', $xml_elem)) {\r\r\n\t\t\t\tif (isset($xml_elem['value'])) {\r\r\n\t\t\t\t\t$php_stmt_main=$php_stmt.'[$x_tag]'.$add.'[\\'content\\'] = $xml_elem[\\'value\\'];';\r\r\n\t\t\t\t\teval($php_stmt_main);\r\r\n\t\t\t\t}\r\r\n\t\t\t\tforeach ($xml_elem['attributes'] as $key=>$value) {\r\r\n\t\t\t\t\t$php_stmt_att=$php_stmt.'[$x_tag]'.$add.'[$key] = $value;';\r\r\n\t\t\t\t\teval($php_stmt_att);\r\r\n\t\t\t\t}\r\r\n\t\t\t}\r\r\n\t\t}\r\r\n\t\treturn $xml_array;\r\r\n\t}", "function xml2array($contents, $get_attributes=1, $priority = 'tag') {\n if(!$contents) return array();\n\n if(!function_exists('xml_parser_create')) {\n //print \"'xml_parser_create()' function not found!\"; \n return array();\n }\n\n //Get the XML parser of PHP - PHP must have this module for the parser to work \n $parser = xml_parser_create('');\n xml_parser_set_option($parser, XML_OPTION_TARGET_ENCODING, \"UTF-8\"); # http://minutillo.com/steve/weblog/2004/6/17/php-xml-and-character-encodings-a-tale-of-sadness-rage-and-data-loss \n xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);\n xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1);\n xml_parse_into_struct($parser, trim($contents), $xml_values);\n xml_parser_free($parser);\n\n if(!$xml_values) return;//Hmm... \n\n //Initializations \n $xml_array = array();\n $parents = array();\n $opened_tags = array();\n $arr = array();\n\n $current = &$xml_array; //Refference \n\n //Go through the tags. \n $repeated_tag_index = array();//Multiple tags with same name will be turned into an array \n foreach($xml_values as $data) {\n unset($attributes,$value);//Remove existing values, or there will be trouble \n\n //This command will extract these variables into the foreach scope \n // tag(string), type(string), level(int), attributes(array). \n extract($data);//We could use the array by itself, but this cooler. \n\n $result = array();\n $attributes_data = array();\n\n if(isset($value)) {\n if($priority == 'tag') $result = $value;\n else $result['value'] = $value; //Put the value in a assoc array if we are in the 'Attribute' mode \n }\n\n //Set the attributes too. \n if(isset($attributes) and $get_attributes) {\n foreach($attributes as $attr => $val) {\n if($priority == 'tag') $attributes_data[$attr] = $val;\n else $result['attr'][$attr] = $val; //Set all the attributes in a array called 'attr' \n }\n }\n\n //See tag status and do the needed. \n if($type == \"open\") {//The starting of the tag '<tag>' \n $parent[$level-1] = &$current;\n if(!is_array($current) or (!in_array($tag, array_keys($current)))) { //Insert New tag \n $current[$tag] = $result;\n if($attributes_data) $current[$tag. '_attr'] = $attributes_data;\n $repeated_tag_index[$tag.'_'.$level] = 1;\n\n $current = &$current[$tag];\n\n } else { //There was another element with the same tag name \n\n if(isset($current[$tag][0])) {//If there is a 0th element it is already an array \n $current[$tag][$repeated_tag_index[$tag.'_'.$level]] = $result;\n $repeated_tag_index[$tag.'_'.$level]++;\n } else {//This section will make the value an array if multiple tags with the same name appear together \n $current[$tag] = array($current[$tag],$result);//This will combine the existing item and the new item together to make an array \n $repeated_tag_index[$tag.'_'.$level] = 2;\n\n if(isset($current[$tag.'_attr'])) { //The attribute of the last(0th) tag must be moved as well \n $current[$tag]['0_attr'] = $current[$tag.'_attr'];\n unset($current[$tag.'_attr']);\n }\n\n }\n $last_item_index = $repeated_tag_index[$tag.'_'.$level]-1;\n $current = &$current[$tag][$last_item_index];\n }\n\n } elseif($type == \"complete\") { //Tags that ends in 1 line '<tag />' \n //See if the key is already taken. \n if(!isset($current[$tag])) { //New Key \n $current[$tag] = $result;\n $repeated_tag_index[$tag.'_'.$level] = 1;\n if($priority == 'tag' and $attributes_data) $current[$tag. '_attr'] = $attributes_data;\n\n } else { //If taken, put all things inside a list(array) \n if(isset($current[$tag][0]) and is_array($current[$tag])) {//If it is already an array... \n\n // ...push the new element into that array. \n $current[$tag][$repeated_tag_index[$tag.'_'.$level]] = $result;\n\n if($priority == 'tag' and $get_attributes and $attributes_data) {\n $current[$tag][$repeated_tag_index[$tag.'_'.$level] . '_attr'] = $attributes_data;\n }\n $repeated_tag_index[$tag.'_'.$level]++;\n\n } else { //If it is not an array... \n $current[$tag] = array($current[$tag],$result); //...Make it an array using using the existing value and the new value \n $repeated_tag_index[$tag.'_'.$level] = 1;\n if($priority == 'tag' and $get_attributes) {\n if(isset($current[$tag.'_attr'])) { //The attribute of the last(0th) tag must be moved as well \n\n $current[$tag]['0_attr'] = $current[$tag.'_attr'];\n unset($current[$tag.'_attr']);\n }\n\n if($attributes_data) {\n $current[$tag][$repeated_tag_index[$tag.'_'.$level] . '_attr'] = $attributes_data;\n }\n }\n $repeated_tag_index[$tag.'_'.$level]++; //0 and 1 index is already taken \n }\n }\n\n } elseif($type == 'close') { //End of tag '</tag>' \n $current = &$parent[$level-1];\n }\n }\n\n return($xml_array);\n}", "function xml2array($url, $get_attributes = 1, $priority = 'tag', $is_url = true)\n{\n $contents = \"\";\n if (!function_exists('xml_parser_create'))\n {\n return false;\n }\n $parser = xml_parser_create('');\n\n if ($is_url)\n {\n if (!($fp = @ fopen($url, 'rb')))\n {\n $ch = curl_init();\n curl_setopt($ch, CURLOPT_URL, $url);\n curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/3.0.0.2');\n curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);\n $contents = curl_exec($ch);\n curl_close($ch);\n\n if (!$contents)\n return false;\n }\n while (!feof($fp))\n {\n $contents .= fread($fp, 8192);\n }\n fclose($fp);\n }\n else\n {\n $contents = $url;\n }\n\n xml_parser_set_option($parser, XML_OPTION_TARGET_ENCODING, \"UTF-8\");\n xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);\n xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1);\n xml_parse_into_struct($parser, trim($contents), $xml_values);\n xml_parser_free($parser);\n if (!$xml_values)\n return; //Hmm...\n $xml_array = array();\n $parents = array();\n $opened_tags = array();\n $arr = array();\n $current = & $xml_array;\n $repeated_tag_index = array();\n foreach ($xml_values as $data)\n {\n\n unset($attributes, $value);\n extract($data);\n $result = array();\n $attributes_data = array();\n if (isset($value))\n {\n if ($priority == 'tag')\n $result = $value;\n else\n $result['value'] = $value;\n }\n if (isset($attributes) and $get_attributes)\n {\n foreach ($attributes as $attr => $val)\n {\n if ($priority == 'tag')\n $attributes_data[$attr] = $val;\n else\n $result['attr'][$attr] = $val; //Set all the attributes in a array called 'attr'\n }\n }\n if ($type == \"open\")\n {\n $parent[$level - 1] = & $current;\n if (!is_array($current) or (!in_array($tag, array_keys($current))))\n {\n $current[$tag] = $result;\n if ($attributes_data)\n $current[$tag . '_attr'] = $attributes_data;\n $repeated_tag_index[$tag . '_' . $level] = 1;\n $current = & $current[$tag];\n }\n else\n {\n if (isset($current[$tag][0]))\n {\n $current[$tag][$repeated_tag_index[$tag . '_' . $level]] = $result;\n $repeated_tag_index[$tag . '_' . $level]++;\n }\n else\n {\n $current[$tag] = array(\n $current[$tag],\n $result\n );\n $repeated_tag_index[$tag . '_' . $level] = 2;\n if (isset($current[$tag . '_attr']))\n {\n $current[$tag]['0_attr'] = $current[$tag . '_attr'];\n unset($current[$tag . '_attr']);\n }\n }\n $last_item_index = $repeated_tag_index[$tag . '_' . $level] - 1;\n $current = & $current[$tag][$last_item_index];\n }\n }\n elseif ($type == \"complete\")\n {\n if (!isset($current[$tag]))\n {\n $current[$tag] = $result;\n $repeated_tag_index[$tag . '_' . $level] = 1;\n if ($priority == 'tag' and $attributes_data)\n $current[$tag . '_attr'] = $attributes_data;\n }\n else\n {\n if (isset($current[$tag][0]) and is_array($current[$tag]))\n {\n $current[$tag][$repeated_tag_index[$tag . '_' . $level]] = $result;\n if ($priority == 'tag' and $get_attributes and $attributes_data)\n {\n $current[$tag][$repeated_tag_index[$tag . '_' . $level] . '_attr'] = $attributes_data;\n }\n $repeated_tag_index[$tag . '_' . $level]++;\n }\n else\n {\n $current[$tag] = array(\n $current[$tag],\n $result\n );\n $repeated_tag_index[$tag . '_' . $level] = 1;\n if ($priority == 'tag' and $get_attributes)\n {\n if (isset($current[$tag . '_attr']))\n {\n $current[$tag]['0_attr'] = $current[$tag . '_attr'];\n unset($current[$tag . '_attr']);\n }\n if ($attributes_data)\n {\n $current[$tag][$repeated_tag_index[$tag . '_' . $level] . '_attr'] = $attributes_data;\n }\n }\n $repeated_tag_index[$tag . '_' . $level]++; //0 and 1 index is already taken\n }\n }\n }\n elseif ($type == 'close')\n {\n $current = & $parent[$level - 1];\n }\n }\n\n return ($xml_array);\n}", "function sanitizeProductXml() {\n\t\t$xmlParse = new XmlParser($this -> xmlFile);\n\t\t$data = $xmlParse -> returnArray();\n\t\t$data = $this -> getLevelData($data);\n\t\t$this -> data = array();\n\t\tforeach ($data AS $key => $product) {\n\t\t\tif (isset($product['attributes'])) {\n\t\t\t\t$prod = $product['attributes'];\n\t\t\t\tif (isset($product['children']) && count($product['children']) > 0) {\n\t\t\t\t\tfor ($i = 0, $il = count($product['children']); $i < $il; $i++) {\n\t\t\t\t\t\t$tmp = $product['children'][$i];\n\t\t\t\t\t\tif(!isset($prod[$tmp['name']])){\n\t\t\t\t\t\t\t$prod[$tmp['name']] = array();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif($tmp['Value'] != ''){\n\t\t\t\t\t\t\t$prod[$tmp['name']][] = $tmp['Value'];\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif($tmp['Value'] == '' && isset($tmp['children'])){\n\t\t\t\t\t\t\tforeach($tmp['children'] AS $cKey=>$cData){\n\t\t\t\t\t\t\t\t$prod[$tmp['name']][] = $cData['attributes']['Value'];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (!isset($this -> data[$product['attributes']['Catid']])) {\n\t\t\t\t\t$this -> data[$product['attributes']['Catid']] = array();\n\t\t\t\t}\n\t\t\t\t$this -> data[$product['attributes']['Catid']][$product['attributes']['Product_ID']] = $prod;\n\t\t\t}\n\t\t}\n\t}", "function xml2array($contents, $get_attributes=1)\n\t\t{\n\t\t\t\tif(!$contents) return array();\n\t\t\t\t\n\t\t\t\tif(!function_exists('xml_parser_create')) \n\t\t\t\t{\n\t\t\t\t//print \"'xml_parser_create()' function not found!\";\n\t\t\t\treturn array();\n\t\t\t\t}\n\t\t\t\t//Get the XML parser of PHP - PHP must have this module for the parser to work\n\t\t\t\t$parser = xml_parser_create();\n\t\t\t\txml_parser_set_option( $parser, XML_OPTION_CASE_FOLDING, 0 );\n\t\t\t\txml_parser_set_option( $parser, XML_OPTION_SKIP_WHITE, 1 );\n\t\t\t\txml_parse_into_struct( $parser, $contents, $xml_values );\n\t\t\t\txml_parser_free( $parser );\n\t\t\t\t\n\t\t\t\tif(!$xml_values) return;//Hmm...\n\t\t\t\t\n\t\t\t\t// Initializations\n\t\t\t\t$xml_array = array();\n\t\t\t\t$parents = array();\n\t\t\t\t$opened_tags = array();\n\t\t\t\t$arr = array();\n\t\t\t\t\n\t\t\t\t$current = &$xml_array;\n\t\t\t\t\n\t\t\t\t//Go through the tags.\n\t\t\t\tforeach($xml_values as $data) {\n\t\t\t\tunset($attributes,$value);//Remove existing values, or there will be trouble\n\t\t\t\t\n\t\t\t\t//This command will extract these variables into the foreach scope\n\t\t\t\t// tag(string), type(string), level(int), attributes(array).\n\t\t\t\textract($data);//We could use the array by itself, but this cooler.\n\t\t\t\t\n\t\t\t\t$result = '';\n\t\t\t\tif($get_attributes) {//The second argument of the function decides this.\n\t\t\t\t$result = array();\n\t\t\t\tif(isset($value)) $result['value'] = $value;\n\t\t\t\t\n\t\t\t\t// Set the attributes too.\n\t\t\t\tif(isset($attributes)) {\n\t\t\t\tforeach($attributes as $attr => $val) {\n\t\t\t\tif($get_attributes == 1) $result['attr'][$attr] = $val; // Set all the attributes in a array called 'attr'\n\t\t\t\t/** : TODO: should we change the key name to '_attr'? Someone may use the tagname 'attr'. Same goes for 'value' too */\n\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t} elseif(isset($value)) {\n\t\t\t\t$result = $value;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// See tag status and do the needed.\n\t\t\t\tif($type == \"open\") { // The starting of the tag \"\n\t\t\t\t$parent[$level-1] = &$current;\n\t\t\t\t\n\t\t\t\tif(!is_array($current) or (!in_array($tag, array_keys($current)))) { // Insert New tag\n\t\t\t\t$current[$tag] = $result;\n\t\t\t\t$current = &$current[$tag];\n\t\t\t\t\n\t\t\t\t} else { // There was another element with the same tag name\n\t\t\t\tif(isset($current[$tag][0])) {\n\t\t\t\tarray_push($current[$tag], $result);\n\t\t\t\t} else {\n\t\t\t\t$current[$tag] = array($current[$tag],$result);\n\t\t\t\t}\n\t\t\t\t$last = count($current[$tag]) - 1;\n\t\t\t\t$current = &$current[$tag][$last];\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t} elseif($type == \"complete\") { // Tags that ends in 1 line \"\n\t\t\t\t// See if the key is already taken.\n\t\t\t\tif(!isset($current[$tag])) { // New Key\n\t\t\t\t$current[$tag] = $result;\n\t\t\t\t\n\t\t\t\t} else { // If taken, put all things inside a list(array)\n\t\t\t\tif((is_array($current[$tag]) and $get_attributes == 0)//If it is already an array\\85\n\t\t\t\tor (isset($current[$tag][0]) and is_array($current[$tag][0]) and $get_attributes == 1)) {\n\t\t\t\tarray_push($current[$tag],$result); // \\85push the new element into that array.\n\t\t\t\t} else { //If it is not an array\\85\n\t\t\t\t$current[$tag] = array($current[$tag],$result); //\\85Make it an array using using the existing value and the new value\n\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t} elseif($type == 'close') { //End of tag \"\n\t\t\t\t$current = &$parent[$level-1];\n\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t//print_r( $xml_array);\n\t\t\t\treturn($xml_array);\n\t\t\n\t\t\t\n\t\t}", "function xml2array(\r\n\t\t$contents, \r\n\t\t$root = '/',\r\n\t\t$charset = 'utf-8',\r\n\t\t$get_attributes = 0, \r\n\t\t$priority = 'tag') {\r\n\t\r\n\t\tif(!$contents)\r\n\t\t\treturn array();\r\n\t\r\n\t if(!function_exists('xml_parser_create'))\r\n\t return array();\r\n\t\r\n\t // Get the PHP XML parser\r\n\t $parser = xml_parser_create($charset);\r\n\t\r\n\t // Attempt to find the last tag in the $root path and use this as the \r\n\t // start/end tag for the process of extracting the xml\r\n\t\t// Example input: '/soap:Envelope/soap:Body'\r\n\t\r\n\t // Toggles whether the extraction of xml into the array actually occurs\r\n\t $extract_on = TRUE;\r\n\t $start_and_end_element_name = '';\r\n\t\t$root_elements = explode('/', $root);\r\n\t\tif ($root_elements != FALSE && \r\n\t\t\t!empty($root_elements)) {\r\n\t\t\t$start_and_end_element_name = trim(end($root_elements));\r\n\t\t\tif (!empty($start_and_end_element_name))\r\n\t\t\t\t$extract_on = FALSE;\r\n\t\t}\r\n\t\r\n\t xml_parser_set_option($parser, XML_OPTION_TARGET_ENCODING, \"UTF-8\"); # http://minutillo.com/steve/weblog/2004/6/17/php-xml-and-character-encodings-a-tale-of-sadness-rage-and-data-loss\r\n\t xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);\r\n\t xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1);\r\n\t xml_parse_into_struct($parser, trim($contents), $xml_values);\r\n\t xml_parser_free($parser);\r\n\t\r\n\t if(!$xml_values) \r\n\t \treturn;\r\n\t\r\n\t $xml_array = array();\r\n\t $parents = array();\r\n\t $opened_tags = array();\r\n\t $arr = array();\r\n\t\r\n\t $current = &$xml_array; // Reference\r\n\t\r\n\t // Go through the tags.\r\n\t $repeated_tag_index = array(); // Multiple tags with same name will be turned into an array\r\n\t foreach($xml_values as $data) {\r\n\t unset($attributes,$value); // Remove existing values, or there will be trouble\r\n\t\r\n\t // This command will extract these variables into the foreach scope\r\n\t // tag(string), type(string), level(int), attributes(array).\r\n\t extract($data);\r\n\t\r\n\t if (!empty($start_and_end_element_name) && \r\n\t \t$tag == $start_and_end_element_name) {\r\n\t \t// Start at the next element (if looking at the opening tag), \r\n\t \t// or don't process any more elements (if looking at the closing tag)...\r\n\t \t$extract_on = !$extract_on;\r\n\t \tcontinue;\r\n\t }\r\n\t\r\n\t if (!$extract_on)\r\n\t \tcontinue;\r\n\t \r\n\t $result = array();\r\n\t $attributes_data = array();\r\n\t \r\n\t if(isset($value)) {\r\n\t if($priority == 'tag') $result = $value;\r\n\t else $result['value'] = $value; //Put the value in a assoc array if we are in the 'Attribute' mode\r\n\t }\r\n\t\r\n\t // Set the attributes too.\r\n\t if(isset($attributes) and $get_attributes) {\r\n\t foreach($attributes as $attr => $val) {\r\n\t if($priority == 'tag') $attributes_data[$attr] = $val;\r\n\t else $result['attr'][$attr] = $val; // Set all the attributes in a array called 'attr'\r\n\t }\r\n\t }\r\n\t\r\n\t // See tag status and do the needed.\r\n\t if($type == \"open\") {// The starting of the tag '<tag>'\r\n\t $parent[$level-1] = &$current;\r\n\t if(!is_array($current) or (!in_array($tag, array_keys($current)))) { //Insert New tag\r\n\t $current[$tag] = $result;\r\n\t if($attributes_data) $current[$tag. '_attr'] = $attributes_data;\r\n\t $repeated_tag_index[$tag.'_'.$level] = 1;\r\n\t $current = &$current[$tag];\r\n\t } else { // There was another element with the same tag name\r\n\t if(isset($current[$tag][0])) { // If there is a 0th element it is already an array\r\n\t $current[$tag][$repeated_tag_index[$tag.'_'.$level]] = $result;\r\n\t $repeated_tag_index[$tag.'_'.$level]++;\r\n\t } else { // This section will make the value an array if multiple tags with the same name appear together\r\n\t $current[$tag] = array($current[$tag],$result); // This will combine the existing item and the new item together to make an array\r\n\t $repeated_tag_index[$tag.'_'.$level] = 2;\r\n\t \r\n\t if(isset($current[$tag.'_attr'])) { // The attribute of the last(0th) tag must be moved as well\r\n\t $current[$tag]['0_attr'] = $current[$tag.'_attr'];\r\n\t unset($current[$tag.'_attr']);\r\n\t }\r\n\t }\r\n\t $last_item_index = $repeated_tag_index[$tag.'_'.$level]-1;\r\n\t $current = &$current[$tag][$last_item_index];\r\n\t }\r\n\t } elseif($type == \"complete\") { // Tags that ends in 1 line '<tag />'\r\n\t // See if the key is already taken.\r\n\t if(!isset($current[$tag])) { //New Key\r\n\t \t// Don't insert an empty array - we don't want it!\r\n\t if (!(is_array($result) && empty($result)))\r\n\t \t$current[$tag] = $result;\r\n\t $repeated_tag_index[$tag.'_'.$level] = 1;\r\n\t if($priority == 'tag' and $attributes_data) $current[$tag. '_attr'] = $attributes_data;\r\n\t\r\n\t } else { // If taken, put all things inside a list(array)\r\n\t if(isset($current[$tag][0]) and is_array($current[$tag])) { // If it is already an array...\r\n\t\r\n\t // ...push the new element into that array.\r\n\t $current[$tag][$repeated_tag_index[$tag.'_'.$level]] = $result;\r\n\t \r\n\t if($priority == 'tag' and $get_attributes and $attributes_data) {\r\n\t $current[$tag][$repeated_tag_index[$tag.'_'.$level] . '_attr'] = $attributes_data;\r\n\t }\r\n\t $repeated_tag_index[$tag.'_'.$level]++;\r\n\t\r\n\t } else { // If it is not an array...\r\n\t $current[$tag] = array($current[$tag],$result); // ...Make it an array using using the existing value and the new value\r\n\t $repeated_tag_index[$tag.'_'.$level] = 1;\r\n\t if($priority == 'tag' and $get_attributes) {\r\n\t if(isset($current[$tag.'_attr'])) { // The attribute of the last(0th) tag must be moved as well\r\n\t \r\n\t $current[$tag]['0_attr'] = $current[$tag.'_attr'];\r\n\t unset($current[$tag.'_attr']);\r\n\t }\r\n\t \r\n\t if($attributes_data) {\r\n\t $current[$tag][$repeated_tag_index[$tag.'_'.$level] . '_attr'] = $attributes_data;\r\n\t }\r\n\t }\r\n\t $repeated_tag_index[$tag.'_'.$level]++; // 0 and 1 index is already taken\r\n\t }\r\n\t }\r\n\t } elseif($type == 'close') { // End of tag '</tag>'\r\n\t $current = &$parent[$level-1];\r\n\t }\r\n\t }\r\n\t return($xml_array);\r\n\t}", "private function check_xml() {\r\n\r\nglobal $LANG;\r\n\r\n if( !file_exists( $this->directory . 'install.xml' ) ) {\r\n throw new Exception( $LANG['plugins_err_installmiss'] );\r\n } else if( ! ( $xml = @simplexml_load_file( $this->directory . 'install.xml' ) ) ) {\r\n throw new Exception( $LANG['plugins_err_cntreadxml'] );\r\n } else if( !isset( $xml->main_file ) || !file_exists( $this->directory . $xml->main_file ) ) {\r\n throw new Exception( $LANG['plugins_err_mainmiss'] );\r\n } else if( !isset( $xml->min_version ) || ( isset( $xml->scope ) && !in_array( $xml->scope, array_keys( $this->scopes() ) ) ) ) {\r\n throw new Exception( $LANG['plugins_err_paraiss'] );\r\n } else if( $xml->scope == 'language' && !file_exists( $this->directory . $xml->main_file ) ) {\r\n throw new Exception( $LANG['plugins_err_mainlanmiss'] );\r\n } else if( $xml->scope == 'feed_server' && !file_exists( $this->directory . $xml->main_file ) ) {\r\n throw new Exception( $LANG['plugins_err_mainfeedsmiss'] );\r\n } else if( $xml->scope == 'pay_gateway' && !file_exists( $this->directory . $xml->main_file ) ) {\r\n throw new Exception( $LANG['plugins_err_mainpgatmiss'] );\r\n } else if( (double) $xml->min_version > VERSION || ( isset( $xml->max_version ) && VERSION > $xml->max_version ) ) {\r\n throw new Exception( $LANG['plugins_err_inconpat'] );\r\n } else {\r\n return $xml;\r\n }\r\n\r\n}", "function xmldb_xml2array($data, $elem, $fields = false)\n{\n //eliminazione dei commenti\n $data = xmldb_removexmlcomments($data);\n //visualizza solo determinati campi\n if (is_array($fields))\n {\n $fields = implode(\"|\", $fields);\n }\n $out = \"\";\n $ret = null;\n if (preg_match(\"/<$elem>.*<$elem>[^<]+<\\/$elem>/s\", $data))//se il nome del nodo contiene un elemento con lo stesso nome\n {\n preg_match_all(\"#<$elem>(.*?<$elem>.*?</$elem>.*?)</$elem>#s\", $data, $out); //CONTIENE ALL'INTERNO UN NODO CON LO STESSO NOME\n }\n else\n {\n preg_match_all(\"#<$elem>.*?</$elem>#s\", $data, $out); //OK\n }\n if (is_array($out[0]))\n foreach ($out[0] as $innerxml)\n {\n //----------metodo 0 ------------------------\n for ($oi = 0; $oi < 1; $oi++)\n {\n $tmp2 = $t1 = null;\n preg_match_all('/<(' . $fields . '[^\\/]*?)>([^<]*)<\\/\\1>/s', $innerxml, $t1);\n foreach ($t1[1] as $k => $tt)\n {\n if ($t1[2][$k] != null)\n $tmp2[$tt] = xmldec($t1[2][$k]);\n else\n $tmp2[$tt] = \"\";\n }\n }\n if ($tmp2 != null)\n {\n $ret[] = ($tmp2);\n }\n }\n return $ret;\n}", "function convertToArray(SimpleXMLElement $inXML, $inTag) {\n\t\t$return = array();\n\t\t\n\t\t$res = $inXML->xpath($inTag);\n\t\t\n\t\tforeach ( $res as $oXml ) {\n\t\t\t$return[] = (string) $oXml;\n\t\t}\n\t\t\n\t\treturn $return;\n\t}", "function xml2array($contents, $get_attributes=1, $priority = 'tag') {\n\t if(!$contents) return array();\n \n\t if(!function_exists('xml_parser_create')) {\n\t //print \"'xml_parser_create()' function not found!\";\n\t return array();\n\t }\n \n\t //Get the XML parser of PHP - PHP must have this module for the parser to work\n\t $parser = xml_parser_create('');\n\t xml_parser_set_option($parser, XML_OPTION_TARGET_ENCODING, \"UTF-8\"); # http://minutillo.com/steve/weblog/2004/6/17/php-xml-and-character-encodings-a-tale-of-sadness-rage-and-data-loss\n\t xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);\n\t xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1);\n\t xml_parse_into_struct($parser, trim($contents), $xml_values);\n\t xml_parser_free($parser);\n \n\t if(!$xml_values) return;//Hmm...\n \n\t //Initializations\n\t $xml_array = array();\n\t $parents = array();\n\t $opened_tags = array();\n\t $arr = array();\n \n\t $current = &$xml_array; //Refference\n \n\t //Go through the tags.\n\t $repeated_tag_index = array();//Multiple tags with same name will be turned into an array\n\t foreach($xml_values as $data) {\n\t unset($attributes,$value);//Remove existing values, or there will be trouble\n \n\t //This command will extract these variables into the foreach scope\n\t // tag(string), type(string), level(int), attributes(array).\n\t extract($data);//We could use the array by itself, but this cooler.\n \n\t $result = array();\n\t $attributes_data = array();\n \n\t if(isset($value)) {\n\t\t if($priority == 'tag') $result = $value;\n\t\t else $result['value'] = $value; //Put the value in a assoc array if we are in the 'Attribute' mode\n\t }\n \n\t //Set the attributes too.\n\t if(isset($attributes) and $get_attributes) {\n\t\t foreach($attributes as $attr => $val) {\n\t\t if($priority == 'tag') $attributes_data[$attr] = $val;\n\t\t else $result['attr'][$attr] = $val; //Set all the attributes in a array called 'attr'\n\t\t }\n\t }\n \n\t //See tag status and do the needed.\n\t if($type == \"open\") {//The starting of the tag '<tag>'\n\t\t $parent[$level-1] = &$current;\n\t\t if(!is_array($current) or (!in_array($tag, array_keys($current)))) { //Insert New tag\n\t\t $current[$tag] = $result;\n\t\t if($attributes_data) $current[$tag. '_attr'] = $attributes_data;\n\t\t $repeated_tag_index[$tag.'_'.$level] = 1;\n \n\t\t $current = &$current[$tag];\n \n\t\t } else { //There was another element with the same tag name\n \n\t\t if(isset($current[$tag][0])) {//If there is a 0th element it is already an array\n\t\t\t $current[$tag][$repeated_tag_index[$tag.'_'.$level]] = $result;\n\t\t\t $repeated_tag_index[$tag.'_'.$level]++;\n\t\t } else {//This section will make the value an array if multiple tags with the same name appear together\n\t\t\t $current[$tag] = array($current[$tag],$result);//This will combine the existing item and the new item together to make an array\n\t\t\t $repeated_tag_index[$tag.'_'.$level] = 2;\n \n\t\t\t if(isset($current[$tag.'_attr'])) { //The attribute of the last(0th) tag must be moved as well\n\t\t\t $current[$tag]['0_attr'] = $current[$tag.'_attr'];\n\t\t\t unset($current[$tag.'_attr']);\n\t\t\t }\n \n\t\t }\n\t\t $last_item_index = $repeated_tag_index[$tag.'_'.$level]-1;\n\t\t $current = &$current[$tag][$last_item_index];\n\t\t }\n \n\t } elseif($type == \"complete\") { //Tags that ends in 1 line '<tag />'\n\t\t //See if the key is already taken.\n\t\t if(!isset($current[$tag])) { //New Key\n\t\t $current[$tag] = $result;\n\t\t $repeated_tag_index[$tag.'_'.$level] = 1;\n\t\t if($priority == 'tag' and $attributes_data) $current[$tag. '_attr'] = $attributes_data;\n \n\t\t } else { //If taken, put all things inside a list(array)\n\t\t if(isset($current[$tag][0]) and is_array($current[$tag])) {//If it is already an array...\n \n\t\t\t // ...push the new element into that array.\n\t\t\t $current[$tag][$repeated_tag_index[$tag.'_'.$level]] = $result;\n \n\t\t\t if($priority == 'tag' and $get_attributes and $attributes_data) {\n\t\t\t $current[$tag][$repeated_tag_index[$tag.'_'.$level] . '_attr'] = $attributes_data;\n\t\t\t }\n\t\t\t $repeated_tag_index[$tag.'_'.$level]++;\n \n\t\t } else { //If it is not an array...\n\t\t\t $current[$tag] = array($current[$tag],$result); //...Make it an array using using the existing value and the new value\n\t\t\t $repeated_tag_index[$tag.'_'.$level] = 1;\n\t\t\t if($priority == 'tag' and $get_attributes) {\n\t\t\t if(isset($current[$tag.'_attr'])) { //The attribute of the last(0th) tag must be moved as well\n \n\t\t\t\t $current[$tag]['0_attr'] = $current[$tag.'_attr'];\n\t\t\t\t unset($current[$tag.'_attr']);\n\t\t\t }\n \n\t\t\t if($attributes_data) {\n\t\t\t\t $current[$tag][$repeated_tag_index[$tag.'_'.$level] . '_attr'] = $attributes_data;\n\t\t\t }\n\t\t\t }\n\t\t\t $repeated_tag_index[$tag.'_'.$level]++; //0 and 1 index is already taken\n\t\t }\n\t\t }\n \n\t } elseif($type == 'close') { //End of tag '</tag>'\n\t\t $current = &$parent[$level-1];\n\t }\n\t }\n \n\t return($xml_array);\n }", "function xml2ary($vals) \n\t{\n $mnary\t\t\t\t\t\t\t\t=\tarray();\n $ary\t\t\t\t\t\t\t\t\t=&\t$mnary;\n foreach ($vals as $r) \n\t {\n\t\t\t$t\t\t\t\t\t\t\t\t=\t$r['tag'];\n\t\t\tif($r['type']=='open') \n\t\t\t{\n\t\t\t\tif (isset($ary[$t]) && !empty($ary[$t])) \n\t\t\t\t{\n\t\t\t\t\tif (isset($ary[$t][0]))\n\t\t\t\t\t{\n\t\t\t\t\t\t$ary[$t][]\t\t\t=\tarray(); \n\t\t\t\t\t}\n\t\t\t\t\telse \n\t\t\t\t\t{\n\t\t\t\t\t\t$ary[$t]\t\t\t=\tarray($ary[$t], array());\n\t\t\t\t\t} \n\t\t\t\t\t$cv\t\t\t\t\t\t=&\t$ary[$t][count($ary[$t])-1];\n\t\t\t\t}\n\t\t\t\telse \n\t\t\t\t{\n\t\t\t\t\t$cv\t\t\t\t\t\t=&\t$ary[$t];\n\t\t\t\t}\n\t\t\t\t$cv\t\t\t\t\t\t\t=\tarray();\n\t\t\t\tif (isset($r['attributes'])) \n\t\t\t\t{ \n\t\t\t\t\tforeach ($r['attributes'] as $k=>$v) \n\t\t\t\t\t{\n\t\t\t\t\t\t$cv[$k]\t\t\t\t=\t$v;\n\t\t\t\t\t}\n\t\t\t\t}\n \n\t\t\t\t$cv['_p']\t\t\t\t\t=&\t$ary;\n\t\t\t\t$ary\t\t\t\t\t\t=&\t$cv;\n \n\t\t\t} \n\t\t\telseif($r['type']=='complete') \n\t\t\t{\n\t\t\t\tif (isset($ary[$t]) && !empty($ary[$t])) \n\t\t\t\t{\n\t\t\t\t\tif (isset($ary[$t][0])) \n\t\t\t\t\t{\n\t\t\t\t\t\t$ary[$t][]\t\t\t=\tarray();\n\t\t\t\t\t}\n\t\t\t\t\telse \n\t\t\t\t\t{\n\t\t\t\t\t\t$ary[$t]\t\t\t=\tarray($ary[$t], array());\n\t\t\t\t\t} \n\t\t\t\t\t$cv\t\t\t\t\t\t=&\t$ary[$t][count($ary[$t])-1];\n\t\t\t\t}\n\t\t\t\telse \n\t\t\t\t{\n\t\t\t\t\t$cv\t\t\t\t\t\t=&\t$ary[$t];\n\t\t\t\t} \n\t\t\t\tif(isset($r['attributes'])) \n\t\t\t\t{\n\t\t\t\t\tforeach ($r['attributes'] as $k=>$v) \n\t\t\t\t\t{\n\t\t\t\t\t\t$cv[$k]\t\t\t\t=\t$v;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t$cv['VALUE'] \t\t\t\t= \t(isset($r['value']) ? $r['value'] : '');\n \n\t\t\t\t// XML PARSE BUG: http://bugs.php.net/bug.php?id=45996\n\t\t\t\t$cv['VALUE'] \t\t\t\t= \tstr_replace('[msp-amp]', '&amp;', $cv['VALUE']);\n\t\t\t\t//\n \n\t\t\t} \n\t\t\telseif($r['type']=='close') \n\t\t\t{\n\t\t\t\t$ary\t\t\t\t\t\t=&\t$ary['_p'];\n\t\t\t}\n\t\t} \n\t\t$this->_del_p($mnary);\n\t\treturn $mnary;\n\t}", "function unpackXML($xml_blob) {\n $data = array();\n $result = preg_match_all('|<datum>(.*)</datum>|U', $xml_blob, $data);\n \n $data_elements = array();\n foreach($data[1] as $datum) {\n $key = array();\n $result = preg_match('|<key>(.*)</key>|U', $datum, $key);\n \n $value = array();\n $result = preg_match('|<value>(.*)</value>|U', $datum, $value);\n\n $data_elements[$key[1]] = $value[1] ;\n }\n \n return $data_elements;\n}", "function process_email_xml($a = array(), $e)\n {\n $ilversion = $langcode = $charset = $author = $emailname = $emailsubject = $emailbody = $emailtype = $emailvarname = $emailproduct = $emailcansend = $emaildepartmentid = $emailbuyer = $emailseller = $emailadmin = $emailishtml = ''; \n $emailarray = array();\n $arraycount = count($a);\n for ($i = 0; $i < $arraycount; $i++)\n {\n if ($a[$i]['tag'] == 'LANGUAGE')\n {\n if (empty($ilversion) AND $a[$i]['type'] == 'open')\n {\n $ilversion = $a[$i]['attributes']['ILVERSION'];\n }\n }\n else if ($a[$i]['tag'] == 'AUTHOR')\n {\n if (empty($author) AND $a[$i]['type'] == 'complete')\n {\n $author = trim($a[$i]['value']);\n }\n }\n else if ($a[$i]['tag'] == 'LANGUAGECODE')\n {\n if (empty($langcode) AND $a[$i]['type'] == 'complete')\n {\n $langcode = $a[$i]['value'];\n }\n }\n else if ($a[$i]['tag'] == 'CHARSET')\n {\n if (empty($charset) AND $a[$i]['type'] == 'complete')\n {\n $charset = trim($a[$i]['value']);\n }\n }\n else if ($a[$i]['tag'] == 'NAME')\n {\n $emailname = $a[$i]['value'];\n }\n else if ($a[$i]['tag'] == 'SUBJECT')\n {\n $emailsubject = $a[$i]['value']; \n }\n else if ($a[$i]['tag'] == 'MESSAGE')\n {\n $emailbody = $a[$i]['value']; \n }\n else if ($a[$i]['tag'] == 'TYPE')\n {\n $emailtype = $a[$i]['value'];\n }\n else if ($a[$i]['tag'] == 'VARNAME')\n {\n $emailvarname = $a[$i]['value']; \n }\n else if ($a[$i]['tag'] == 'PRODUCT')\n {\n $emailproduct = $a[$i]['value']; \n }\n else if ($a[$i]['tag'] == 'CANSEND')\n {\n $emailcansend = $a[$i]['value']; \n }\n else if ($a[$i]['tag'] == 'DEPARTMENTID')\n {\n $emaildepartmentid = $a[$i]['value']; \n }\n\t\t\telse if ($a[$i]['tag'] == 'BUYER')\n {\n $emailbuyer = $a[$i]['value']; \n }\n\t\t\telse if ($a[$i]['tag'] == 'SELLER')\n {\n $emailseller = $a[$i]['value']; \n }\n\t\t\telse if ($a[$i]['tag'] == 'ADMIN')\n {\n $emailadmin = $a[$i]['value']; \n }\n else if ($a[$i]['tag'] == 'ISHTML')\n {\n $emailishtml = $a[$i]['value']; \n }\n if (!empty($emailvarname) AND !empty($emailname) AND !empty($emailsubject) AND !empty($emailbody) AND !empty($emailtype) AND !empty($emailproduct) AND !empty($emailcansend) AND !empty($emaildepartmentid))\n {\n $emailarray[] = array(\n $emailname, \n $emailsubject, \n $emailbody, \n $emailtype,\n $emailvarname,\n (isset($emailproduct) ? $emailproduct : 'ilance'),\n intval($emailcansend),\n intval($emaildepartmentid),\n\t\t\t\t\t$emailbuyer,\n\t\t\t\t\t$emailseller,\n\t\t\t\t\t$emailadmin,\n intval($emailishtml)\n );\n // reset for next email\n $emailname = $emailsubject = $emailbody = $emailtype = $emailvarname = $emailproduct = $emailcansend = $emaildepartmentid = $emailbuyer = $emailseller = $emailadmin = $emailishtml = '';\n }\n }\n $result = array(\n 'ilversion' => $ilversion, \n 'langcode' => $langcode,\n 'author' => $author,\n 'charset' => $charset,\n 'emailarray' => $emailarray\n );\n return $result;\n }", "function scanPackageXMLDependencies()\n {\n $deps = array();\n\n $xml_file = dirname($this->path) . DIRECTORY_SEPARATOR . 'package.xml';\n if (file_exists($xml_file)) {\n $xml = new \\Pyrus\\PackageFile($xml_file);\n foreach ($xml->dependencies['required']->package as $dep) {\n $dep_description = $dep->channel . '/' . $dep->name;\n $deps[] = $dep_description;\n }\n }\n return $deps;\n }", "private function xml2array($fname){\n\t $sxi = new SimpleXmlIterator($fname, null, true);\n\t return $this->sxiToArray($sxi);\n\t}", "function xml2array($xml) {\n\t\t\t$arXML=array();\n\t\t\t$arXML['name']=trim($xml->getName());\n\t\t\t$arXML['value']=trim((string)$xml);\n\t\t\t$t=array();\n\t\t\tforeach($xml->attributes() as $name => $value) $t[$name]=trim($value);\n\t\t\t$arXML['attr']=$t;\n\t\t\t$t=array();\n\t\t\tforeach($xml->children() as $name => $xmlchild) $t[$name]=xml2array($xmlchild);\n\t\t\t$arXML['children']=$t;\n\t\t\treturn($arXML);\n\t\t}", "function xml2ary($vals) {\r\n\r\n\t\t$mnary=array();\r\n\t\t$ary=&$mnary;\r\n\t\tforeach ($vals as $r) {\r\n\t\t\t$t=$r['tag'];\r\n\t\t\tif ($r['type']=='open') {\r\n\t\t\t\tif (isset($ary[$t]) && !empty($ary[$t])) {\r\n\t\t\t\t\tif (isset($ary[$t][0])){\r\n\t\t\t\t\t\t$ary[$t][]=array();\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\t$ary[$t]=array($ary[$t], array());\r\n\t\t\t\t\t}\r\n\t\t\t\t\t$cv=&$ary[$t][count($ary[$t])-1];\r\n\t\t\t\t} else {\r\n\t\t\t\t\t$cv=&$ary[$t];\r\n\t\t\t\t}\r\n\t\t\t\t$cv=array();\r\n\t\t\t\tif (isset($r['attributes'])) {\r\n\t\t\t\t\tforeach ($r['attributes'] as $k=>$v) {\r\n\t\t\t\t\t$cv[$k]=$v;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t$cv['_p']=&$ary;\r\n\t\t\t\t$ary=&$cv;\r\n\r\n\t\t\t\t} else if ($r['type']=='complete') {\r\n\t\t\t\t\tif (isset($ary[$t]) && !empty($ary[$t])) { // same as open\r\n\t\t\t\t\t\tif (isset($ary[$t][0])) {\r\n\t\t\t\t\t\t\t$ary[$t][]=array();\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t$ary[$t]=array($ary[$t], array());\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t$cv=&$ary[$t][count($ary[$t])-1];\r\n\t\t\t\t} else {\r\n\t\t\t\t\t$cv=&$ary[$t];\r\n\t\t\t\t}\r\n\t\t\t\tif (isset($r['attributes'])) {\r\n\t\t\t\t\tforeach ($r['attributes'] as $k=>$v) {\r\n\t\t\t\t\t\t$cv[$k]=$v;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t$cv['VALUE'] = (isset($r['value']) ? $r['value'] : '');\r\n\r\n\t\t\t\t} elseif ($r['type']=='close') {\r\n\t\t\t\t\t$ary=&$ary['_p'];\r\n\t\t\t\t}\r\n\t\t}\r\n\r\n\t\t$this->_del_p($mnary);\r\n\t\treturn $mnary;\r\n\t}", "function process_lang_xml($a = array(), $e)\n {\n $illang_version = $title = $author = $lang_code = $charset = $locale = $languageiso = $textdirection = $current_phrase_group = $replacements = $canselect = '';\n $phrasearray = $phrase_group_data = array();\n $elementcount = count($a);\n for ($i = 0; $i < $elementcount; $i++)\n {\n if ($a[$i]['tag'] == 'LANGUAGE')\n {\n if (empty($illang_version) AND $a[$i]['type'] == 'open')\n {\n $illang_version = $a[$i]['attributes']['ILVERSION'];\n }\n }\n else if ($a[$i]['tag'] == 'TITLE')\n {\n if (empty($title) AND $a[$i]['type'] == 'complete')\n {\n $title = trim($a[$i]['value']);\n }\n }\n else if ($a[$i]['tag'] == 'AUTHOR')\n {\n if (empty($author) AND $a[$i]['type'] == 'complete')\n {\n $author = trim($a[$i]['value']);\n }\n }\n else if ($a[$i]['tag'] == 'LANGUAGECODE')\n {\n if (empty($lang_code) AND $a[$i]['type'] == 'complete')\n {\n $lang_code = $a[$i]['value'];\n }\n }\n else if ($a[$i]['tag'] == 'CHARSET')\n {\n if (empty($charset) AND $a[$i]['type'] == 'complete')\n {\n $charset = trim($a[$i]['value']);\n }\n }\n else if ($a[$i]['tag'] == 'LOCALE')\n {\n if (empty($locale) AND $a[$i]['type'] == 'complete')\n {\n $locale = trim($a[$i]['value']);\n }\n }\n else if ($a[$i]['tag'] == 'LANGUAGEISO')\n {\n if (empty($languageiso) AND $a[$i]['type'] == 'complete')\n {\n $languageiso = trim($a[$i]['value']);\n }\n }\n else if ($a[$i]['tag'] == 'TEXTDIRECTION')\n {\n if (empty($textdirection) AND $a[$i]['type'] == 'complete')\n {\n $textdirection = trim($a[$i]['value']);\n }\n }\n else if ($a[$i]['tag'] == 'REPLACEMENTS')\n {\n if (empty($replacements) AND $a[$i]['type'] == 'complete' AND isset($a[$i]['value']))\n {\n $replacements = trim($a[$i]['value']);\n }\n }\n else if ($a[$i]['tag'] == 'CANSELECT')\n {\n if (empty($canselect) AND $a[$i]['type'] == 'complete')\n {\n $canselect = trim($a[$i]['value']);\n }\n }\n else if ($a[$i]['tag'] == 'PHRASEGROUP')\n {\n if ($a[$i]['type'] == 'open' OR $a[$i]['type'] == 'complete')\n {\n $current_phrase_group = $a[$i]['attributes']['NAME'];\n $phrase_group_data[] = array(\n $current_phrase_group, \n $a[$i]['attributes']['NAME'], \n $a[$i]['attributes']['DESCRIPTION'],\n $a[$i]['attributes']['PRODUCT']\n );\n }\n }\n else if ($a[$i]['tag'] == 'PHRASE')\n {\n if ($a[$i]['type'] == 'complete')\n {\n $phrasearray[] = array(\n $current_phrase_group, \n trim($a[$i]['attributes']['VARNAME']), \n trim($a[$i]['value'])\n );\n }\n }\n }\n $result = array(\n 'illang_version' => $illang_version, \n 'title' => $title,\n 'author' => $author,\n 'lang_code' => $lang_code, \n 'charset' => $charset, \n 'phrasearray' => $phrasearray, \n 'phrase_group_data' => $phrase_group_data,\n 'locale' => $locale,\n 'languageiso' => $languageiso,\n 'textdirection' => $textdirection,\n 'replacements' => $replacements,\n 'canselect' => $canselect\n );\n return $result;\n }", "function read_XMP_array_from_text($xmltext)\n\t{\n\t\tif (trim($xmltext) == '')\n\t\t{\n\t\t\treturn false;\n\t\t}\n\n\t\t// Create an instance of a xml parser to parse the XML text\n\t\t$xml_parser = xml_parser_create('UTF-8');\n\n\t\t// Change: Fixed problem that caused the whitespace (especially newlines) to be destroyed when converting xml text to an xml array, as of revision 1.10\n\n\t\t// We would like to remove unneccessary white space, but this will also\n\t\t// remove things like newlines (&#xA;) in the XML values, so white space\n\t\t// will have to be removed later\n\t\tif (xml_parser_set_option($xml_parser, XML_OPTION_SKIP_WHITE, 0) == false)\n\t\t{\n\t\t\t// Error setting case folding - destroy the parser and return\n\t\t\txml_parser_free($xml_parser);\n\t\t\treturn false;\n\t\t}\n\n\t\t// to use XML code correctly we have to turn case folding\n\t\t// (uppercasing) off. XML is case sensitive and upper\n\t\t// casing is in reality XML standards violation\n\t\tif (xml_parser_set_option($xml_parser, XML_OPTION_CASE_FOLDING, 0) == false)\n\t\t{\n\t\t\t// Error setting case folding - destroy the parser and return\n\t\t\txml_parser_free($xml_parser);\n\t\t\treturn false;\n\t\t}\n\n\t\t// Parse the XML text into a array structure\n\t\tif (xml_parse_into_struct($xml_parser, $xmltext, $values, $tags) == 0)\n\t\t{\n\t\t\t// Error Parsing XML - destroy the parser and return\n\t\t\txml_parser_free($xml_parser);\n\t\t\treturn false;\n\t\t}\n\n\t\t// Destroy the xml parser\n\t\txml_parser_free($xml_parser);\n\n\t\t// Clear the output array\n\t\t$xmp_array = array();\n\n\t\t// The XMP data has now been parsed into an array ...\n\n\t\t// Cycle through each of the array elements\n\t\t$current_property = ''; // current property being processed\n\t\t$container_index = -1; // -1 = no container open, otherwise index of container content\n\t\tforeach ($values as $xml_elem)\n\t\t{\n\t\t\t// Syntax and Class names\n\t\t\tswitch ($xml_elem['tag'])\n\t\t\t{\n\t\t\t\tcase 'x:xmpmeta':\n\t\t\t\t\t// only defined attribute is x:xmptk written by Adobe XMP Toolkit; value is the version of the toolkit\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'rdf:RDF':\n\t\t\t\t\t// required element immediately within x:xmpmeta; no data here\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'rdf:Description':\n\t\t\t\t\tswitch ($xml_elem['type'])\n\t\t\t\t\t{\n\t\t\t\t\t\tcase 'open':\n\t\t\t\t\t\tcase 'complete':\n\t\t\t\t\t\t\tif (array_key_exists('attributes', $xml_elem))\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t// rdf:Description may contain wanted attributes\n\t\t\t\t\t\t\t\tforeach (array_keys($xml_elem['attributes']) as $key)\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t// Check whether we want this details from this attribute\n//\t\t\t\t\t\t\t\t\tif (in_array($key, $GLOBALS['XMP_tag_captions']))\n\t\t\t\t\t\t\t\t\tif (true)\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t// Attribute wanted\n\t\t\t\t\t\t\t\t\t\t$xmp_array[$key] = $xml_elem['attributes'][$key];\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 'cdata':\n\t\t\t\t\t\tcase 'close':\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'rdf:ID':\n\t\t\t\tcase 'rdf:nodeID':\n\t\t\t\t\t// Attributes are ignored\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'rdf:li':\n\t\t\t\t\t// Property member\n\t\t\t\t\tif ($xml_elem['type'] == 'complete')\n\t\t\t\t\t{\n\t\t\t\t\t\tif (array_key_exists('attributes', $xml_elem))\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t// If Lang Alt (language alternatives) then ensure we take the default language\n\t\t\t\t\t\t\tif (isset($xml_elem['attributes']['xml:lang']) && ($xml_elem['attributes']['xml:lang'] != 'x-default'))\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif ($current_property != '')\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t$xmp_array[$current_property][$container_index] = (isset($xml_elem['value']) ? $xml_elem['value'] : '');\n\t\t\t\t\t\t\t$container_index += 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t//else unidentified attribute!!\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'rdf:Seq':\n\t\t\t\tcase 'rdf:Bag':\n\t\t\t\tcase 'rdf:Alt':\n\t\t\t\t\t// Container found\n\t\t\t\t\tswitch ($xml_elem['type'])\n\t\t\t\t\t{\n\t\t\t\t\t\tcase 'open':\n \t\t\t\t\t\t\t$container_index = 0;\n \t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 'close':\n\t\t\t\t\t\t\t$container_index = -1;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 'cdata':\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t\tdefault:\n\t\t\t\t\t// Check whether we want the details from this attribute\n//\t\t\t\t\tif (in_array($xml_elem['tag'], $GLOBALS['XMP_tag_captions']))\n\t\t\t\t\tif (true)\n\t\t\t\t\t{\n\t\t\t\t\t\tswitch ($xml_elem['type'])\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tcase 'open':\n\t\t\t\t\t\t\t\t// open current element\n\t\t\t\t\t\t\t\t$current_property = $xml_elem['tag'];\n\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\tcase 'close':\n\t\t\t\t\t\t\t\t// close current element\n\t\t\t\t\t\t\t\t$current_property = '';\n\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\tcase 'complete':\n\t\t\t\t\t\t\t\t// store attribute value\n\t\t\t\t\t\t\t\t$xmp_array[$xml_elem['tag']] = (isset($xml_elem['attributes']) ? $xml_elem['attributes'] : (isset($xml_elem['value']) ? $xml_elem['value'] : ''));\n\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\tcase 'cdata':\n\t\t\t\t\t\t\t\t// ignore\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\t\treturn $xmp_array;\n\t}", "private function xmltoarray($contents, $get_attributes=1, $priority = 'attribute') {\n if(!$contents) return array();\n\n if(!function_exists('xml_parser_create')) {\n //print \"'xml_parser_create()' function not found!\";\n return array();\n }\n\n //Get the XML parser of PHP - PHP must have this module for the parser to work\n $parser = xml_parser_create('');\n xml_parser_set_option($parser, XML_OPTION_TARGET_ENCODING, \"UTF-8\"); # http://minutillo.com/steve/weblog/2004/6/17/php-xml-and-character-encodings-a-tale-of-sadness-rage-and-data-loss\n xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);\n xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1);\n xml_parse_into_struct($parser, trim($contents), $xml_values);\n xml_parser_free($parser);\n\n if(!$xml_values) return;//Hmm...\n\n //Initializations\n $bigxml_array = array();\n $parents = array();\n $opened_tags = array();\n $arr = array();\n\n $current = &$bigxml_array; //Refference\n\n //Go through the tags.\n $repeated_tag_index = array();//Multiple tags with same name will be turned into an array\n foreach($xml_values as $data) {\n unset($attributes,$value);//Remove existing values, or there will be trouble\n\n //This command will extract these variables into the foreach scope\n // tag(string), type(string), level(int), attributes(array).\n extract($data);//We could use the array by itself, but this cooler.\n\n $result = array();\n $attributes_data = array();\n\n if(isset($value)) {\n if($priority == 'tag') $result = $value;\n else $result['value'] = $value; //Put the value in a assoc array if we are in the 'Attribute' mode\n }\n\n //Set the attributes too.\n if(isset($attributes) and $get_attributes) {\n foreach($attributes as $attr => $val) {\n if($priority == 'tag') $attributes_data[$attr] = $val;\n else $result['attr'][$attr] = $val; //Set all the attributes in a array called 'attr'\n }\n }\n\n //See tag status and do the needed.\n if($type == \"open\") {//The starting of the tag '<tag>'\n $parent[$level-1] = &$current;\n if(!is_array($current) or (!in_array($tag, array_keys($current)))) { //Insert New tag\n $current[$tag] = $result;\n if($attributes_data) $current[$tag. '_attr'] = $attributes_data;\n $repeated_tag_index[$tag.'_'.$level] = 1;\n\n $current = &$current[$tag];\n\n } else { //There was another element with the same tag name\n\n if(isset($current[$tag][0])) {//If there is a 0th element it is already an array\n $current[$tag][$repeated_tag_index[$tag.'_'.$level]] = $result;\n $repeated_tag_index[$tag.'_'.$level]++;\n } else {//This section will make the value an array if multiple tags with the same name appear together\n $current[$tag] = array($current[$tag],$result);//This will combine the existing item and the new item together to make an array\n $repeated_tag_index[$tag.'_'.$level] = 2;\n\n if(isset($current[$tag.'_attr'])) { //The attribute of the last(0th) tag must be moved as well\n $current[$tag]['0_attr'] = $current[$tag.'_attr'];\n unset($current[$tag.'_attr']);\n }\n\n }\n $last_item_index = $repeated_tag_index[$tag.'_'.$level]-1;\n $current = &$current[$tag][$last_item_index];\n }\n\n } elseif($type == \"complete\") { //Tags that ends in 1 line '<tag />'\n //See if the key is already taken.\n if(!isset($current[$tag])) { //New Key\n $current[$tag] = $result;\n $repeated_tag_index[$tag.'_'.$level] = 1;\n if($priority == 'tag' and $attributes_data) $current[$tag. '_attr'] = $attributes_data;\n\n } else { //If taken, put all things inside a list(array)\n if(isset($current[$tag][0]) and is_array($current[$tag])) {//If it is already an array...\n\n // ...push the new element into that array.\n $current[$tag][$repeated_tag_index[$tag.'_'.$level]] = $result;\n\n if($priority == 'tag' and $get_attributes and $attributes_data) {\n $current[$tag][$repeated_tag_index[$tag.'_'.$level] . '_attr'] = $attributes_data;\n }\n $repeated_tag_index[$tag.'_'.$level]++;\n\n } else { //If it is not an array...\n $current[$tag] = array($current[$tag],$result); //...Make it an array using using the existing value and the new value\n $repeated_tag_index[$tag.'_'.$level] = 1;\n if($priority == 'tag' and $get_attributes) {\n if(isset($current[$tag.'_attr'])) { //The attribute of the last(0th) tag must be moved as well\n\n $current[$tag]['0_attr'] = $current[$tag.'_attr'];\n unset($current[$tag.'_attr']);\n }\n\n if($attributes_data) {\n $current[$tag][$repeated_tag_index[$tag.'_'.$level] . '_attr'] = $attributes_data;\n }\n }\n $repeated_tag_index[$tag.'_'.$level]++; //0 and 1 index is already taken\n }\n }\n\n } elseif($type == 'close') { //End of tag '</tag>'\n $current = &$parent[$level-1];\n }\n }\n\n return($bigxml_array);\n}", "private function xml2array($xml) { \n if(empty($this->error)){\n $json = json_encode( simplexml_load_string($xml));\n return json_decode($json, TRUE); \n }else{\n return false;\n }\n }", "function getXSDelements(){\n \n\t\t $xml = new DOMDocument();\n\t\t $xml->loadXML($this->xsdString);\n\t\t $xpath = new DOMXPath($xml);\n\t\t foreach($this->nameSpaces as $prefix => $uri){\n\t\t\t\t$xpath->registerNamespace($prefix, $uri); //get those namespaces registered!\n\t\t }\n \n\t\t $elements = array();\n\t\t $query = \"//xs:element\";\n\t\t $result = $xpath->query($query, $xml);\n\t\t foreach($result as $elementNode){\n\t\t\t\t$actElement = array();\n\t\t\t\t$query = \"@name\";\n\t\t\t\t$elementName = false;\n\t\t\t\t$resultB = $xpath->query($query, $elementNode);\n\t\t\t\tforeach($resultB as $node){\n\t\t\t\t\t //$actElement[\"elementName\"] = $node->nodeValue;\n\t\t\t\t\t $elementName = $node->nodeValue;\n\t\t\t\t} \n\t\t\t\t\n\t\t\t\t$elementLabel = false;\n\t\t\t\t$query = \"@cowconf:label\";\n\t\t\t\t$resultC = $xpath->query($query, $elementNode);\n\t\t\t\tforeach($resultC as $node){\n\t\t\t\t\t //$actElement[\"label\"] = $node->nodeValue;\n\t\t\t\t\t $elementLabel = $node->nodeValue;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t$elementFacet = false;\n\t\t\t\t$query = \"@cowconf:makeFacet\";\n\t\t\t\t$resultF = $xpath->query($query, $elementNode);\n\t\t\t\tforeach($resultF as $node){\n\t\t\t\t\t $elementFacet = $node->nodeValue;\n\t\t\t\t\t if($elementFacet == \"1\"){\n\t\t\t\t\t\t $elementFacet = true;\n\t\t\t\t\t }\n\t\t\t\t\t else{\n\t\t\t\t\t\t $elementFacet = false;\n\t\t\t\t\t }\n\t\t\t\t}\n\t\t\n\t\t\n\t\t\t\t//$elements[] = $actElement;\n\t\t\t\tif($elementName != false && $elementLabel != false){\n\t\t\t\t\t $elements[$elementName][\"displayLabel\"] = $elementLabel;\n\t\t\t\t\t $elements[$elementName][\"xpath\"] = false;\n\t\t\t\t\t $elements[$elementName][\"makeFacet\"] = $elementFacet;\n\t\t\t\t}\n\t\t } \n\t\t $this->elements = $elements;\n\t}", "function &get_xml_data_array() {\n\t\t$xml_parser = xml_parser_create();\n\t\t$aValues = Array();\n\t\t$indexes = Array();\n\t\t\n\t\tif (empty($this->user_id)) {\n\t\t\techo __(\"Please configure this widget with a user ID.<br />\\n\");\n\t\t\treturn array();\n\t\t}\n\t\t$sUrl = $this->doc_base . $this->xml_path . $this->user_id;\n\t\tif (!function_exists('curl_init')) {\n\t\t\techo __(\"Please install the curl php extension.<br />\\n\");\n\t\t\treturn array();\n\t\t}\n\t\t$ch = curl_init();\n\t\tcurl_setopt($ch, CURLOPT_URL,$sUrl);\n\t\tcurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\t\t$data = curl_exec($ch);\n\t\tif (curl_errno($ch)) {\n\t\t\techo(curl_error($ch));\n\t\t\treturn array();\n\t\t} else {\n\t\t\tcurl_close($ch);\n\t\t}\n\t\n\t\tif (!xml_parse_into_struct($xml_parser, $data, $aValues, $indexes)) {\n\t\n\t\t\techo(sprintf(__('XML error: %1$s at line %2$s (url:%3$s)'),\n\t\t\txml_error_string(xml_get_error_code($xml_parser)),\n\t\t\txml_get_current_line_number($xml_parser),\n\t\t\t$sUrl\n\t\t\t));\n\t\t\treturn array();\n\t\t}\n\t\txml_parser_free($xml_parser);\n\t\treturn $aValues;\n\t}", "public function xml2array($xml) {\r\n\t if (get_class($xml) == 'SimpleXMLElement') {\r\n\t\t $attributes = $xml->attributes();\r\n\t\t foreach($attributes as $k=>$v) {\r\n\t\t\t if ($v) $a[$k] = (string) $v;\r\n\t\t }\r\n\t\t $x = $xml;\r\n\t\t $xml = get_object_vars($xml);\r\n\t }\r\n\t if (is_array($xml)) {\r\n\t\t if (count($xml) == 0) return (string) $x;\r\n\t\t foreach($xml as $key=>$value) {\r\n\t\t\t $r[$key] = $this->xml2array($value);\r\n\t\t }\r\n\t\t if (isset($a)) $r['@'] = $a;\r\n\t\t return $r;\r\n\t }\r\n\t return (string) $xml;\r\n\t}", "function xml_to_array($xml)\n {\n return json_decode(json_encode($xml), true);\n }", "protected function _xml($string)\n {\n \treturn $string ? (array) simplexml_load_string($string, 'SimpleXMLElement', LIBXML_NOCDATA) : array();\n }", "function xml2array($xml){\n\t$json = json_encode($xml);\n\n\t//remove {} from creatign empty array as a value\n\t$json = str_replace(\"{}\", '\"\"', $json);\n\n\t//convert json to an array\n\t$array = json_decode($json, true);\n\n\treturn $array;\n\n}" ]
[ "0.6404973", "0.6009085", "0.5997109", "0.59683985", "0.57217455", "0.5666754", "0.56608933", "0.560031", "0.55517817", "0.5551334", "0.5546796", "0.5533812", "0.55203044", "0.55123353", "0.5488923", "0.54567736", "0.5455697", "0.54368204", "0.5425332", "0.5393282", "0.53781235", "0.53758633", "0.53597087", "0.5300888", "0.5283427", "0.52519435", "0.52137476", "0.5212946", "0.5203804", "0.5197307" ]
0.6042385
1
Display the Compass view.
public function __invoke() { return view('compass::layout', [ 'compassScriptVariables' => Compass::scriptVariables(), 'assetsAreCurrent' => Compass::assetsAreCurrent(), ]); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function display()\n\t{\n\t\t// Load the component helper.\n\t\trequire_once JPATH_COMPONENT . '/helpers/artofgm.php';\n\n\t\t// Display the view.\n\t\tparent::display();\n\t}", "public function viewAction(){\n\t\t$this->loadLayout();\n\t\t\n\t\t$this->renderLayout();\n }", "public function displayTask()\n\t{\n\t\t// Incoming\n\t\t$listdir = Request::getInt('listdir', 0);\n\n\t\tif (!$listdir)\n\t\t{\n\t\t\tNotify::error(Lang::txt('COURSES_NO_ID'), 'courses');\n\t\t}\n\n\t\t$course = Course::getInstance($listdir);\n\n\t\t// Output HTML\n\t\t$this->view\n\t\t\t->set('config', $config)\n\t\t\t->set('course', $course)\n\t\t\t->set('listdir', $listdir)\n\t\t\t->setLayout('media')\n\t\t\t->display();\n\t}", "public function display()\n\t{\n\t\t$this->addToolbar();\n\t\tparent::display();\n\t}", "public function show() {\r\n echo $this->init()->getView();\r\n }", "public function render() {\n\t\trequire COOL_PLUGIN_PATH . 'views/view-admin.php';\n\t}", "public function display()\n {\n echo $this->render();\n }", "public function display()\n {\n echo $this->render();\n }", "public function index() {\n $this->display();\n }", "public function display()\n {\n if ($this->_err) {\n \\PMVC\\plug('cli')->stderr($this->render());\n $this->setStdErr(false);\n } else {\n echo $this->render();\n }\n }", "public function show()\n {\n $this->page->setTitle('DiamondForrest');\n $this->page->setCssUrls(Revision::getUrl('/css/global.css'));\n $this->page->printPage();\n }", "public function view() {\n\n // Set the Team's styles\n set_css_urls(array('stylesheet', base_url('assets/base/user/components/collection/team/styles/css/styles.css?ver=' . MIDRUB_BASE_USER_COMPONENTS_TEAM_VERSION), 'text/css', 'all'));\n \n // Set the Team's Js\n set_js_urls(array(base_url('assets/base/user/components/collection/team/js/main.js?ver=' . MIDRUB_BASE_USER_COMPONENTS_TEAM_VERSION)));\n\n // Set views params\n set_user_view(\n $this->CI->load->ext_view(\n MIDRUB_BASE_USER_COMPONENTS_TEAM . 'views',\n 'main',\n array(),\n true\n )\n );\n \n }", "public function renderView(): void\n {\n $this->show('content');\n }", "function display($cachable = false, $urlparams = false) {\r\n\t\t$document = JFactory::getDocument ();\r\n\t\t\r\n\t\t$viewType = $document->getType ();\r\n\t\t$coreName = $this->getNames ();\r\n\t\t$viewLayout = JRequest::getCmd ( 'layout', 'default' );\r\n\t\t\r\n\t\t$view = & $this->getView ( $coreName, $viewType, '', array ('base_path' => $this->basePath ) );\r\n\t\t\r\n\t\t// Get/Create the model\r\n\t\tif ($model = & $this->getModel ( $coreName )) {\r\n\t\t\t// Push the model into the view (as default)\r\n\t\t\t$view->setModel ( $model, true );\r\n\t\t}\r\n\t\t\r\n\t\t// Set the layout\r\n\t\t$view->setLayout ( $viewLayout );\r\n\t\t$view->display ();\r\n\t}", "protected function render()\n {\n $settings = $this->get_settings_for_display();\n require dirname(__FILE__) . '/' . $settings['layout'] . '.php';\n }", "public function view()\n\t\t{\n\t\t // default variables\n $finder = new Finder();\n $finder->start();\n\n // config\n $config = app(SketchpadConfig::class);\n\n // base name\n $basePath = Paths::fix(base_path('/'));\n $baseSegments = explode('/', rtrim($basePath, '/'));\n $baseName = array_pop($baseSegments) . '/';\n\n // view path\n $viewPaths = Config::get('view.paths');\n $viewPath = substr(Paths::fix($viewPaths[0]), strlen($basePath));\n\n\t\t\t// variables\n\t\t\t$app = app();\n\t\t\t$data =\n\t\t\t[\n\t\t\t\t'route' => $config->route,\n\t\t\t\t'assets' => $config->route . 'assets/',\n\t\t\t\t'settings' =>\n\t\t\t\t[\n\t\t\t\t\t'route' => $config->route,\n\t\t\t\t\t'basepath' => $basePath,\n\t\t\t\t\t'basename' => $baseName,\n 'viewpath' => $viewPath,\n 'storagepath' => Paths::relative($config->settings->src),\n 'controllerpath' => trim(Paths::relative($finder->path), '/'),\n\t\t\t\t\t'namespace' => method_exists($app, 'getNamespace')\n ? trim($app->getNamespace(), '\\\\')\n : 'App\\\\',\n 'namespaces' => (new JSON('composer.json'))->get('autoload.psr-4')\n\t\t\t\t]\n\t\t\t];\n\n\t\t\t// return view\n\t\t\treturn view('sketchpad::setup', $data);\n\t\t}", "public function index(){\n $this->display();\n }", "public function display() : void {\n self::$gui->displayTemplate('login', $this->_model->getData() + ['errors' => $this->_errors]);\n }", "public function guideAction(){\n $this->display(\"common.html\",\"include\");\n }", "public function run()\n {\n $id = UserHelper::getUserInfo();\n $profile_completeness = Users::computeProfileCompleteness($id->user_id);\n\n View::addNamespace('profile_completeness', 'widgets/dashboard/profileCompleteness/');\n return view(\"profile_completeness::index\", [\n 'config' => $this->config,\n 'profile_completeness' => $profile_completeness,\n ]);\n }", "public function output_view( )\n {\n $this->view->render();\n }", "public function show()\n {\n echo $this->render();\n }", "Public Function ChamaView() {\n $params = array();\n echo ($this->gen_redirect_and_form(BaseController::ReturnView(BaseController::getPath(), get_class($this)), $params));\n }", "Public Function ChamaView() {\n $params = array();\n echo ($this->gen_redirect_and_form(BaseController::ReturnView(BaseController::getPath(), get_class($this)), $params));\n }", "public function output_view( )\n {\n $this->view->render(); \n }", "function display()\n\t{\n\t\tparent::display();\n\t}", "public function action_view()\n\t{\n\t\t$errors = array();\n\t\t$messages = array();\n\t\t$this->displayPage($errors, $messages);\n\t}", "public function run()\r\n\t{\r\n $this->render('CyberCellarBottleDisplayKO');\r\n\t}", "function display()\n {\n view::$output = $this->output;\n }", "public function actionView() {\r\n \r\n return $this->render('view', [\r\n ]);\r\n }" ]
[ "0.667509", "0.6360326", "0.627241", "0.62696093", "0.62693363", "0.6232251", "0.6226823", "0.6226823", "0.6104999", "0.6078648", "0.60561496", "0.60273284", "0.6013935", "0.6010681", "0.59904593", "0.5975498", "0.59721595", "0.59526116", "0.5945767", "0.5942472", "0.5936709", "0.59204006", "0.58952725", "0.58952725", "0.5881085", "0.58678555", "0.5866254", "0.5865187", "0.58623797", "0.5855159" ]
0.69443214
0
Display the templates page and handle changes
function sb_templates () { global $sermon_domain; //Security check if (function_exists('current_user_can')&&!current_user_can('manage_options')) wp_die(__("You do not have the correct permissions to edit the SermonBrowser templates", $sermon_domain)); //Save templates or reset to default if (isset($_POST['save']) || isset($_POST['resetdefault'])) { require(SB_INCLUDES_DIR.'/dictionary.php'); $multi = $_POST['multi']; $single = $_POST['single']; $style = $_POST['style']; if(isset($_POST['resetdefault'])){ require(SB_INCLUDES_DIR.'/sb-install.php'); $multi = sb_default_multi_template(); $single = sb_default_single_template(); $style = sb_default_css(); } sb_update_option('search_template', $multi); sb_update_option('single_template', $single); sb_update_option('css_style', $style); sb_update_option('search_output', strtr($multi, sb_search_results_dictionary())); sb_update_option('single_output', strtr($single, sb_sermon_page_dictionary())); sb_update_option('style_date_modified', strtotime('now')); echo '<div id="message" class="updated fade"><p><b>'; _e('Templates saved successfully.', $sermon_domain); echo '</b></p></div>'; } sb_do_alerts(); // HTML for templates page ?> <form method="post"> <div class="wrap"> <a href="http://www.sermonbrowser.com/"><img src="<?php echo SB_PLUGIN_URL; ?>/sb-includes/logo-small.png" width="191" height ="35" style="margin: 1em 2em; float: right; background: #f9f9f9;" /></a> <h2><?php _e('Templates', $sermon_domain) ?></h2> <br/> <table border="0" class="widefat"> <tr> <td align="right"><?php _e('Search results page', $sermon_domain) ?>: </td> <td> <?php sb_build_textarea('multi', sb_get_option('search_template')) ?> </td> </tr> <tr> <td align="right"><?php _e('Sermon page', $sermon_domain) ?>: </td> <td> <?php sb_build_textarea('single', sb_get_option('single_template')) ?> </td> </tr> <tr> <td align="right"><?php _e('Style', $sermon_domain) ?>: </td> <td> <?php sb_build_textarea('style', sb_get_option('css_style')) ?> </td> </tr> </table> <p class="submit"><input type="submit" name="resetdefault" value="<?php _e('Reset to defaults', $sermon_domain) ?>" />&nbsp;<input type="submit" name="save" value="<?php _e('Save', $sermon_domain) ?> &raquo;" /></p> </div> </form> <script> jQuery("form").submit(function() { var yes = confirm("Are you sure ?"); if(!yes) return false; }); </script> <?php }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function index()\n {\n if (!has_permission('landingpages-templates', '', 'view')) {\n access_denied('landingpages-templates');\n }\n if ($this->input->is_ajax_request()) {\n $this->app->get_table_data(module_views_path('zillapage', 'templates/table'));\n }\n $data['title'] = _l('admin_templates');\n\n $this->load->view('templates/index', $data);\n }", "public function templates() {\n\t\trequire_once FUSION_BUILDER_PLUGIN_DIR . 'inc/admin-screens/templates.php';\n\t}", "function showPage() \n\t{\n\t\t$this->display($this->templatefile);\n\t}", "public function template(){\n\n\t\tinclude_once \"views/template.php\";\n\n\t}", "public function template(){\n\n\t\tinclude \"views/template.php\";\n\t}", "function _template ($page,$contents, $admin_folder='admin/user management/'){\n\t\t\t$this->load->helper('form');\n\t\t\t$this->load->view(\"admin_header\",$contents);\n\t\t\t$this->load->view($admin_folder.$page, $contents);\n\t\t\t$this->load->view(\"admin_footer\");\n\t\t}", "public function index()\n\t{\n\t\t$templates = ScorecardTemplate::with('owner', 'packages')->get();\n \n $this->setupAdminLayout('All Scorecard Templates')->content = View::make('admin.templates.index', compact('templates'));\n\t}", "public function view()\n {\n /* put stuff in main content section of the template*/\n \n\n }", "public function display_template(){\n $this->smarty->assign(\"site_name\", SITE_NAME);\n $this->smarty->assign(\"site_tag_line\", SITE_TAG_LINE);\n if(defined('BANNER')){ $this->smarty->assign(\"banner\", BANNER); }\n $this->smarty->assign(\"root_dir\", ROOT_DIR);\n $this->smarty->assign(\"www_server\", WWW_SERVER);\n $this->smarty->assign(\"domain\", DOMAIN);\n $this->smarty->assign(\"area_names\", AREA_NAMES);\n $this->smarty->assign(\"leaflets_email\",LEAFLETS_EMAIL);\n $this->smarty->assign(\"secure_server\", SECURE_SERVER);\n $this->smarty->assign(\"form_action\", htmlspecialchars($_SERVER['PHP_SELF']) . '?' . $_SERVER[\"QUERY_STRING\"]);\n $this->smarty->assign(\"onloadscript\", $this->onloadscript);\n if(sizeof($this->warn_controls) == 0){\n $this->smarty->assign(\"set_focus_control\", $this->set_focus_control);\n }else{\n $this->smarty->assign(\"set_focus_control\", $this->warn_controls[0]);\n }\n $this->smarty->assign(\"elections\", $this->get_elections());\n $this->smarty->assign(\"warnings\", $this->warnings);\n $this->smarty->assign(\"messages\", $this->messages);\n $this->smarty->assign(\"data\", $this->data);\n $this->smarty->assign(\"show_warnings\", sizeof($this->warnings) >0);\n $this->smarty->assign(\"show_messages\", sizeof($this->messages) >0);\n $this->smarty->assign(\"warn_controls\", $this->warn_controls);\n $this->smarty->assign(\"page_title\", htmlspecialchars($this->page_title));\n $this->smarty->assign(\"menu_item\", $this->menu_item);\n $this->smarty->assign(\"tracker_location\", $this->tracker_location);\n $this->smarty->assign(\"show_tracker\",$this->show_tracker);\n $this->smarty->assign(\"viewstate\", $this->serialize_viewstate());\n $this->smarty->assign(\"rss_link\", $this->rss_link);\n $this->smarty->assign(\"current_url\", $this->get_url());\n $this->smarty->assign(\"current_page\", htmlspecialchars($_SERVER['PHP_SELF']));\n $this->smarty->assign(\"has_map\", $this->has_map);\n $this->smarty->assign(\"has_upload\", $this->has_upload);\n $this->smarty->assign(\"google_maps_key\", GOOGLE_MAPS_KEY);\n $this->smarty->assign(\"map_provider\", MAP_PROVIDER);\n $this->smarty->assign(\"google_analytics_tracker\",GOOGLE_ANALYTICS_TRACKER);\n\n // Get the name of the current election, probably a more\n // efficient way to do this somehow\n $search = factory::create(\"search\");\n $result = $search->search(\"election\",\n array(array(\"election_id\", \"=\", get_election_id()))\n );\n $this->smarty->assign(\"current_election\", $result[0]->name);\n\n foreach($this->warn_controls as $warn_control) {\n $this->assign('warn_' . $warn_control, true);\n }\n\n //register the image url function\n $this->smarty->register_function('image_url', 'get_image_url');\n\n $this->smarty->display($this->smarty_template);\n }", "public function display()\n\t\t{\n\n\t\t\tadd_action( 'chef_sections_before_'.$this->type.'_template', $this->object );\n\n\t\t\tinclude( $this->located );\n\n\t\t\tadd_action( 'chef_sections_after_'.$this->type.'_template', $this->object );\t\t\n\t\t}", "public function action_index()\n\t{\n\t\treturn Response::forge(View::forge('admin/template'));\n\t}", "public function pagina(){\t\n\t\t//llama al archivo template.php\n\t\tinclude \"views/template.php\";\n\t\n\t}", "function display() {\n\t\tglobal $bp_docs;\n\n\t\t$bp_docs->bp_integration->query->load_template();\n\t}", "public function RenderSettingsPage()\n {\n if(isset($_GET['settings-updated']) && $_GET['settings-updated'])\n {\n \n // do stuff on save\n \n }\n \n include self::$AdminPath . 'tpl/settings.php';\n }", "public function show() {\n require_once $this->getCurrentTemplatePath() . 'index.tpl.php';\n }", "public function pagina(){\n\t\t\t//include se utiliza para invocar el archivo que contiene el código html\n\t\t\tinclude \"views/template.php\";\n\t\t}", "public function set_template_view() {\n\n\t\t// bail it if in singular template and template part\n\t\tif ( is_singular( array( 'tf_template', 'tf_template_part' ) ) ) \n\t\t\treturn;\n\n\t\tglobal $TF_Layout, $TF;\n\n\t\t$found_template = false;\n\t\t$meta_value = 'archive';\n\t\tif ( is_archive() ) {\n\t\t\t$meta_value = 'archive';\n\t\t} else if ( is_page() || is_404() || ( ! is_home() && is_front_page() ) ) {\n\t\t\t$meta_value = 'page';\n\t\t} else if ( is_single() ) {\n\t\t\t$meta_value = 'single';\n\t\t}\n\n\t\t$templates = get_transient( 'tf_cached_template_assignment_' . $meta_value );\n\n\t\tif ( false === $templates ) {\n\t\t\t$args = array(\n\t\t\t\t'post_type' => 'tf_template',\n\t\t\t\t'posts_per_page' => -1,\n\t\t\t\t'order' => 'DESC',\n\t\t\t\t'orderby' => 'menu_order date',\n\t\t\t\t'meta_query' => array(\n\t\t\t\t\t'relation' => 'AND',\n\t\t\t\t\tarray(\n\t\t\t\t\t\t'key' => 'tf_template_type',\n\t\t\t\t\t\t'value' => $meta_value,\n\t\t\t\t\t),\n\t\t\t\t\tarray(\n\t\t\t\t\t\t'key' => 'associated_theme',\n\t\t\t\t\t\t'value' => $TF->active_theme->slug,\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t);\n\t\t\t$query = new WP_Query( $args );\n\t\t\t$templates = $query->get_posts();\n\n\t\t\t// Cached meta data info as well\n\t\t\tif ( $templates ) {\n\t\t\t\t$metadatas = array(\n\t\t\t\t\t'tf_template_assign', 'tf_template_header_option', 'tf_template_sidebar_option',\n\t\t\t\t\t'tf_template_footer_option', 'tf_template_type'\n\t\t\t\t);\n\t\t\t\tforeach( $templates as $key => $template ) {\n\t\t\t\t\tforeach ( $metadatas as $meta ) {\n\t\t\t\t\t\t$templates[ $key ]->{$meta} = get_post_meta( $template->ID, $meta, true );\t\n\t\t\t\t\t}\n\t\t\t\t\t$templates[ $key ]->tf_template_region_header = get_post_meta( $template->ID, 'tf_template_region_header', true );\n\t\t\t\t\t$templates[ $key ]->tf_template_region_sidebar = get_post_meta( $template->ID, 'tf_template_region_sidebar', true );\n\t\t\t\t\t$templates[ $key ]->tf_template_region_footer = get_post_meta( $template->ID, 'tf_template_region_footer', true );\n\t\t\t\t}\n\t\t\t}\n\t\t\tset_transient( 'tf_cached_template_assignment_' . $meta_value, $templates, 0 ); // no expired\n\t\t}\n\n\t\tif ( $templates ) {\n\t\t\t// Cached the taxonomy lists\n\t\t\t$taxonomies = get_taxonomies( array( 'public' => true ) );\n\t\t\t$exclude_tax = array( 'post_format', 'product_shipping_class' );\n\n\t\t\t// Exclude unnecessary taxonomies\n\t\t\tforeach( $exclude_tax as $tax ) {\n\t\t\t\tif ( isset( $taxonomies[ $tax ] ) ) \n\t\t\t\t\tunset( $taxonomies[ $tax ] );\t\n\t\t\t}\n\t\t\t$this->taxonomies = $taxonomies;\n\n\t\t\t// First check has template assignment as top priority\n\t\t\tforeach( $templates as $key => $template ) {\n\t\t\t\t$views = $template->tf_template_assign;\n\t\t\t\tif ( $views && isset( $views[ $meta_value ] ) ) {\n\t\t\t\t\tif ( $this->is_current_view( $meta_value, $views ) ) {\n\t\t\t\t\t\t$TF_Layout->setup_layout( $template );\n\t\t\t\t\t\t$this->render_template = true;\n\t\t\t\t\t\t$found_template = true;\n\t\t\t\t\t\tunset( $templates[ $key ] );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tunset( $templates[ $key ] );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( ! $found_template && count( $templates ) > 0 ) {\n\t\t\t\t$templates = array_values( $templates );\n\t\t\t\t$TF_Layout->setup_layout( $templates[0] );\n\t\t\t\t$this->render_template = true;\n\t\t\t}\n\t\t}\n\t}", "function template_view()\n{\n\tglobal $context, $txt, $settings, $ultimateportalSettings, $user_info;\n\n\t$content = \"\n\t <script type=\\\"text/javascript\\\">\n\t\t\tfunction makesurelink() {\n\t\t\t\tif (confirm('\".$txt['ultport_delete_confirmation'].\"')) {\n\t\t\t\t\treturn true;\n\t\t\t\t} else {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t </script>\";\n\n\tif (!empty($context['view_ipage']))\n\t{\n\t\tforeach ($context['ipage'] as $ipage)\n\t\t{\n\t\t\t$content .= '\n\t\t\t\t\t<div class=\"post-date\">\n\t\t\t\t\t\t<p class=\"day\">\n\t\t\t\t\t\t\t'. $ipage['day_created'] .'/'. $ipage['month_created'] .'/'. $ipage['year_created'] .'\n\t\t\t\t\t\t</p>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"post-info\">\n\t\t\t\t\t\t<p class=\"author alignleft\">\n\t\t\t\t\t\t\t'. $txt['up_ipage_member'] .' '. $ipage['profile'] .'\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p class=\"moderate alignright\">\n\n\t\t\t\t\t\t\t'. (($user_info['is_admin'] || $user_info['up-modules-permissions']['ipage_moderate']) ? $ipage['edit'] .' | '. $ipage['delete'] : '') .'\n\t\t\t\t\t\t</p>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"ip-content\">\n\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t<h2 class=\"titleipage\">\n\t\t\t\t\t\t\t\t'. $ipage['title'] .''. (!empty($ipage['sticky']) ? '&nbsp;&nbsp;<img alt=\"\" style=\"vertical-align:middle\" border=\"0\" src=\"'.$settings['default_images_url'].'/ultimate-portal/internal-page/sticky.gif\" />' : '') .'\n\t\t\t\t\t\t\t</h2>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"ip-body\">\n\t\t\t\t\t\t\t'. $ipage['parse_content'] .'\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t'.($ipage['is_updated'] ? '\n\t\t\t\t\t\t\t<div class=\"ip-updateinfo\">\n\t\t\t\t\t\t\t\t<strong>'. $txt['up_ipage_date_updated'] .'</strong> '. $ipage['date_updated'] .'\n\t\t\t\t\t\t\t\t<strong>'. $txt['up_ipage_member_updated'] .'</strong> '. $ipage['profile_updated'] .'\n\t\t\t\t\t\t\t</div>' : '').'\n\t\t\t\t\t\t\t<div class=\"ip-share\">\n\t\t\t\t\t\t\t\t<strong>'. $txt['ultport_social_bookmarks_share'] .':</strong>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t'. (!empty($ultimateportalSettings['ipage_social_bookmarks']) ? $context['social_bookmarks'] : '') .'\n\n\t\t\t\t\t</div>\n\t\t\t\t\t';\n\t\t}\n\t}\n\n\t$copyright = '<div style=\"font-size: 0.8em;\"><a href=\"http://www.smfsimple.com\">Ultimate Portal - '. $txt['up_module_ipage_title'] .'</a>';\n\tup_print_page($context['column_left'], $context['column_right'], $content, $copyright, 'internal-page', $context['title']);\n}", "public function render() {\r\n // check if the file exist\r\n if(file_exists(VIEW . $this->view_file . '.phtml')) {\r\n include VIEW . $this->view_file . '.phtml';\r\n } else {\r\n echo '<b>Seems this page has been deleted or doesn\\'t exist!!</b><br>';\r\n }\r\n \r\n //var_dump($this->view_data);\r\n }", "protected function content_template() {}", "public function processaTemplateParziale() {\n $this->display('registrazione_'.$this->_layout.'.tpl');\n }", "protected function _content_template() {\n\t}", "protected function _content_template() {\n\t}", "public static function run_mainpage() {\n if(!empty(\\session::get('template'))) {\n if(self::$smarty->templateExists('file:[' . \\session::get('template') . ']index.tpl')) {\n self::$smarty->clearAllAssign();\n if(!array_key_exists('content',self::$template_index)) {\n self::$template_index['content'] = '';\n }\n\n foreach (self::$template_index as $key => $var) {\n self::$smarty->assign($key, $var);\n }\n\n //Check URLS\n $url_exp = explode('/', str_replace(self::$ini_config['kernel']->getKey('BasePathRouter'), '', $_SERVER[\"REQUEST_URI\"]));\n $ext_dir = '';\n if(count($url_exp) >= 2) {\n foreach ($url_exp as $i => $url) {\n if (empty($url)) {\n unset($url_exp[$i]);\n }\n }\n for ($i = 1; $i <= (count($url_exp) - 1); $i++) {\n $ext_dir .= '../';\n }\n }\n\n $global = array('tpl' => \\session::get('template'), //{$__global.tpl}\n 'sys' => ROOT_PATH, //{$__global.sys}\n 'url' => self::getBaseURL(), //{$__global.url}\n 'dir' => $ext_dir.'templates/' . \\session::get('template'), //{$__global.dir}\n 'js' => $ext_dir.'templates/' . \\session::get('template') . '/assets/js', //{$__global.js}\n 'img' => $ext_dir.'templates/' . \\session::get('template') . '/assets/img', //{$__global.img}\n 'css' => $ext_dir.'templates/' . \\session::get('template') . '/assets/css', //{$__global.css}\n 'plugins' => $ext_dir.'templates/' . \\session::get('template') . '/assets/plugins', //{$__global.plugins}\n 'debug' => (self::$logger_level == Logger::DEBUG)); //{$__global.debug}\n self::$smarty->assign('__global', $global);\n self::$smarty->display('file:[' . \\session::get('template') . ']index.tpl');\n self::$cookie->save(); //Save Cookie\n } else {\n self::$log['kernel']->addAlert('run_mainpage: This Template is not exists! ->', array(\\session::get('template')));\n }\n } else {\n self::$log['kernel']->addAlert('run_mainpage: No Template is enabled for display! ->', array(\\session::get('template')));\n }\n }", "public static function render_template() {\n if ( ! current_user_can( 'manage_options' ) ) {\n wp_die( __( 'You do not have sufficient permissions to access this page.', 'wp-coach' ) );\n }\n\n // require_once WP_COACH_PATH . 'lib/admin/controllers/base.php';\n\n // May want to add actions instead of doing this big switch eg:\n //add_action('load-wp-coach-edit-galleries_page_vimeography-upload', array( $this, 'vimeography_upload_on_upload_pageload') );\n\n switch( current_filter() ) {\n\n case 'toplevel_page_wp-coach':\n\n require_once WP_COACH_PATH . 'lib/admin/controllers/courses.php';\n $controller = new WP_Coach_Courses;\n $template = $this->mustache->loadTemplate('courses/index');\n\n break;\n default:\n wp_die( sprintf( __('The admin template for \"%s\" cannot be found.', 'wp-coach'), current_filter() ) );\n break;\n }\n\n self::process_actions();\n echo $template->render($controller);\n }", "public function steeve(){\n $template = $this->twig->loadTemplate('/Page/steeve.html.twig');// nom de page a changer\n echo $template->render(array());\n }", "public function render() {\n if (!$this->authorization->isAllowed('editor')) {\n return;\n }\n \n $template = $this->getTemplate();\n $template->setFile(dirname(__FILE__) . \"/default.latte\");\n $template->authorization = $this->authorization;\n\n //handleUntranslatedStringOnPage\n $untranslatedOnPage = $this->stringStorage->getUntranslatedStringOnPage();\n $template->CuntranslatedOnPage = count($untranslatedOnPage);\n if (isset($this->pages['untranslatedStringOnPage']) AND $this->pages['untranslatedStringOnPage']) {\n $template->strings = $this->dbStorage->applyCategoryFilter($untranslatedOnPage, $this->category_id);\n }\n\n //handleUntranslated\n $untranslated = $this->dbStorage->getUntranslated();\n $template->Cuntranslated = count($untranslated);\n if (isset($this->pages['untranslated']) AND $this->pages['untranslated']) {\n $template->strings = $this->dbStorage->applyCategoryFilter($untranslated, $this->category_id);\n }\n //handleUnclassified()\n $unclassified = $this->dbStorage->getUnclassified();\n $template->Cunclassified = count($unclassified);\n\n //handleTranslated()\n if (isset($this->pages['translated']) AND $this->pages['translated']) {\n $template->strings = $this->dbStorage->applyCategoryFilter($this->dbStorage->getTranslatedStrings(), $this->category_id);\n }\n\n //handleDiagnostic\n if (isset($this->pages['diagnostics']) AND $this->pages['diagnostics']) {\n $data = $this->diagnostics->getDiagnostics();\n if ($data) {\n $template->strings = $data->strings;\n $template->diagnosticDate = $data->date;\n $template->today = new \\DateTime;\n } else {\n $template->strings = NULL;\n }\n }\n\n $categoryForm = $this['categoryForm'];\n $categoryForm->setDefaults(array('category_id' => $this->category_id));\n\n $template->page = array_search(TRUE, $this->pages);\n $template->auth = $this->authorization;\n\n $template->render();\n }", "public function index() {\n\n $this->addView($this->action,null);\n\n $this->loadTemplate(parent::getTemplateData(),$this->action);\n\n }", "private function _saveTplIndexPage()\n {\n $html = $this->pageContent;\n\n $html = str_replace('{{ root }}', $this->nameVariableRoot, $html);\n\n $html = str_replace('{% tpl %}', '', $html);\n\n preg_match('/{% else %}(.*?){% end %}/s', $html, $matches);\n\n $html = str_replace($matches, '', $html);\n\n file_put_contents(dirname(__DIR__) . \"/../../../../app/game.tpl\", $html);\n }", "abstract protected function renderTemplate();" ]
[ "0.69604117", "0.6830279", "0.68090487", "0.67850304", "0.6635185", "0.653406", "0.6522008", "0.651297", "0.6498093", "0.64935285", "0.6479855", "0.6466654", "0.64658165", "0.64656264", "0.6444953", "0.64428955", "0.64405006", "0.643434", "0.6429667", "0.64119893", "0.63675493", "0.6352712", "0.6352712", "0.6315754", "0.63127714", "0.63102967", "0.6303332", "0.6303091", "0.629702", "0.6293799" ]
0.69670564
0
Delete any unused tags
function sb_delete_unused_tags() { global $wpdb; $unused_tags = $wpdb->get_results("SELECT {$wpdb->prefix}sb_tags.id AS id, {$wpdb->prefix}sb_sermons_tags.id AS sid FROM {$wpdb->prefix}sb_tags LEFT JOIN {$wpdb->prefix}sb_sermons_tags ON {$wpdb->prefix}sb_tags.id = {$wpdb->prefix}sb_sermons_tags.tag_id WHERE {$wpdb->prefix}sb_sermons_tags.tag_id IS NULL"); if (is_array($unused_tags)) foreach ($unused_tags AS $unused_tag) $wpdb->query("DELETE FROM {$wpdb->prefix}sb_tags WHERE id='{$unused_tag->id}'"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function clearTags();", "function removeAllTags()\n {\n $this->_reaktorfile->removeAllTags();\n $this->updateTagMetadata();\n }", "public function cms_delete_all_tags()\n\t{\n\t\t$this->update_tags('');\n\t}", "public function clearTags(): void\n {\n // Since we don't type hint `tags` as a Doctrine collection, the `clear` method is not recognized,\n // however, we do know it's a doctrine collection.\n // If Doctrine would allow us to define our own custom collections, this wouldn't be a problem.\n // As that is not the case, unfortunately we have here a hidden dependency.\n is_array($this->tags)\n ? $this->tags = []\n : $this->tags->clear();\n }", "public function removeAllTags() {\n $id = $this->getId();\n if ($id === null) {\n return;\n }\n\n $sql = sprintf(\"delete from restaurant_tags where restaurantId=%d\", $this->getId());\n $this->getAdapter()->query($sql);\n }", "public function unTagAll()\n {\n return $this->tags()->sync([]);\n }", "public function deleteOrphans()\n\t{\n\t\t$this->query(\"\n\t\tdelete from tags\n\t\twhere\n\t\t\tnot exists (select * from articles_tags where articles_tags.tag_id = tags.id)\n\t\t\tand\tnot exists (select * from adventures_tags where adventures_tags.tag_id = tags.id)\"\n\t\t);\n\t}", "public function clean_tags(){\n $status = $this->Connect->set(\"DELETE FROM relation_tag WHERE post = $this->id\");\n return $status;\n }", "public function removeAllTags()\n {\n // Remove all HTML comments using a regular expression\n $this->page = preg_replace('/<!--(.|\\s)*?-->/', '', $this->page);\n }", "public function cleanup(){\n\t\tif( $this->limit != self::UNLIMITED_TAG && !empty($this->tags)){\n\t\t\tforeach($this->tags as $tag => $time){\n\t\t\t\tif($time < strtotime('-'.$this->limit.' minutes')){\n\t\t\t\t\tunset($this->tags[$tag]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public function clearGarbageFilters()\n {\n foreach (array('the_title', 'the_content', 'the_excerpt') as $tag)\n {\n foreach (array(\n 'wptexturize',\n 'convert_smilies',\n 'convert_chars',\n 'wpautop',\n 'shortcode_unautop',\n ) as $filter)\n {\n remove_filter($tag, $filter);\n }\n }\n }", "public static function shouldDeleteUnused(): bool\n {\n return config('tagging.delete_unused_tags', false);\n }", "public function testDeleteAllInboxesByTag()\n {\n // TODO: implement\n $this->markTestIncomplete('Not implemented');\n }", "public function clearTag(string $name);", "public function destroyTags($id)\n {\n //\n $posts = Post::findOrFail($id);\n $posts->untag(); // remove all tags\n }", "function cleanOrphan()\r\n {\r\n include_once XOOPS_ROOT_PATH . \"/modules/tag/functions.recon.php\";\r\n //mod_loadFunctions(\"recon\");\r\n return tag_cleanOrphan();\r\n }", "function drop_tag($img_id) {\n\t\t$this->db->query(sprintf(\"DELETE FROM tag_link WHERE tag_id='%d'\",$tag_id));\n\t\t$this->db->query(sprintf(\"DELETE FROM tag WHERE tag_id='%d'\",$tag_id));\n\t\t$this->db->query(sprintf(\"DELETE FROM tag_cat WHERE tag_id='%d'\",$tag_id));\n\t}", "public function invalidateTags(array $tags);", "public function clearInvLotTags()\n {\n $this->collInvLotTags = null; // important to set this to NULL since that means it is uninitialized\n }", "function deleteTags($text, $tag)\n{\n\twhile(strpos($text, '<'.$tag) !== false && strpos($text, '</'.$tag.'>') !== false)\n\t{\n\t\tpreg_match_all('/(.*)<'.$tag.'.*?>(.*)<\\/'.$tag.'>(.*)/', $text, $matches);\n\t\t$text = $matches[1][0].$matches[3][0];\n\t}\n\treturn $text;\n}", "function purge_deleted()\n {\n $lastid = 0;\n while (1)\n {\n $ids = $this->sphinx->select('SELECT id FROM '.$this->index.' WHERE id > '.$lastid.' LIMIT 100000');\n if (!$ids)\n {\n break;\n }\n foreach ($ids as &$id)\n {\n $id = $id[0];\n }\n $lastid = $ids[count($ids)-1];\n $res = $this->db->select('page', 'page_id', array('page_id' => $ids), __METHOD__);\n $deleted = array_flip($ids);\n foreach ($res as $row)\n {\n unset($deleted[$row->page_id]);\n }\n if ($deleted)\n {\n $this->sphinx->query('DELETE FROM '.$this->index.' WHERE id IN ('.implode(',', array_keys($deleted)).')');\n }\n }\n }", "public function cleanup(): void\n {\n $expired = $this->instances()->all()->filterBy('hasExpired', '==', true);\n\n foreach ($expired as $instance) {\n $instance->delete();\n }\n\n $this->runHook($this->config()->templateRoot(), 'cleanup', $this);\n }", "public function cleanUp() {\r\n\t\t$missingFiles = array();\r\n\t\tforeach($this->generator->files as $n => $file) {\r\n\t\t\tif (!file_exists($file)) {\r\n\t\t\t\t$missingFiles[] = $file;\r\n\t\t\t\tunset($this->generator->files[$n]);\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (count($missingFiles)) {\r\n\t\t\t$this->generator->set->save();\r\n\t\t\techo \"Removed \".count($missingFiles).\" from documentation set: $this->setName.\\n\";\r\n\t\t\tforeach($missingFiles as $file) {\r\n\t\t\t\techo \"\\t$file\\n\";\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public function deleteTags(array $tags);", "static function nev_delete_tags(){\n $nonce = $_POST['nonce'];\n if( !wp_verify_nonce($nonce, 'nev_nonce') ){\n header(\"HTTP/1.0 403 Security Check.\");\n exit;\n }\n \n if (!is_user_logged_in()){\n header(\"HTTP/1.0 403 Security Check.\");\n exit;\n\t\t\t}\n\t\t\t\n $tags = $_POST['tags'];\n \n if( empty( $_POST[ 'tags' ] ) ){\n echo json_encode( array( 'success' => true, 'tags' => 'none' ) );\n exit;\n }\n else{\n \tglobal $wpdb;\n \t$tableName = $wpdb->prefix . 'nev_tags';\n \t$tags = explode(\",\", $tags);\n \t$tagsDeleted = array(); $tagsDontExist = array();\n \tfor ($x = 0; $x < sizeof($tags); $x++){\n \t\t$tags[$x] = trim($tags[$x]);\n \t\t$result = $wpdb->get_row($wpdb->prepare(\"SELECT tag FROM $tableName WHERE tag ='\". $tags[$x] . \"'\"));\n \t\tif (isset($result)){\n \t\t\t$wpdb->delete($tableName, array('tag' => $tags[$x]));\n \t\t\tarray_push($tagsDeleted, $tags[$x]);\n \t\t\t$wpdb->query(\"UPDATE wp_nev_videos SET tags = REPLACE(tags, ' \" . $tags[$x] . \" ,', '');\");\n \t\t}\n \t\telse{\n \t\t\tarray_push($tagsDontExist, $tags[$x]);\n \t\t}\n \t}\n \techo json_encode( array( 'tags' => $tagsDeleted, 'notags' => $tagsDontExist) );\n }\n exit();\n }", "public function deleteLessonTagMap()\n {\n $this->deleteAll(array('lesson_id', '=', $this->getId()));\n }", "public static function cleanupUnusedTemplate()\n {\n }", "protected function clearHtmlTags($html) {\n if (!empty($this->clearHtmlTagsList)) {\n foreach ($this->clearHtmlTagsList as $tag) {\n $tag = trim($tag);\n\n if (empty($tag)) {\n continue;\n }\n\n // Removing tag style attribute.\n preg_match_all('#<' . $tag . '(.*?)>#is', $html, $matches);\n foreach ($matches[0] as $match) {\n $filtered_tag = preg_replace('#\\sstyle=\"(.*?)\"#is', \"\", $match);\n $html = str_replace($match, $filtered_tag, $html);\n }\n\n }\n }\n\n return $html;\n }", "public static function clearUpdateTagsCache()\n {\n self::$_updateTagsCache = null;\n }", "function bbp_remove_all_filters($tag, $priority = \\false)\n{\n}" ]
[ "0.8079125", "0.805087", "0.7499184", "0.7016495", "0.6917113", "0.68577015", "0.67566305", "0.6752894", "0.67510444", "0.66621184", "0.6602336", "0.6525464", "0.64227694", "0.6420085", "0.6359525", "0.62577516", "0.62542874", "0.62405384", "0.6236055", "0.61988544", "0.6178016", "0.6171738", "0.61706996", "0.615522", "0.6150883", "0.6145038", "0.61351126", "0.60971725", "0.60850984", "0.60815823" ]
0.8069167
1
Displays the most popular sermons widget options and handles changes
function sb_widget_popular_control() { global $sermon_domain; $options = sb_get_option('popular_widget_options'); if ( !is_array($options) ) $options = array('title' => '', 'limit' => 5, 'display_sermons' => true, 'display_series' => true, 'display_preachers' => true); if (isset($_POST['widget-popular-sermons-submit'])) { $title = strip_tags(stripslashes($_POST['widget-popular-title'])); $limit = (int) ($_POST['widget-popular-limit']); $display_sermons = (isset($_POST['widget-popular-display-sermons'])); $display_series = (isset($_POST['widget-popular-display-series'])); $display_preachers = (isset($_POST['widget-popular-display-preachers'])); $options = array('title' => $title, 'limit' => $limit, 'display_sermons' => $display_sermons, 'display_series' => $display_series, 'display_preachers' => $display_preachers); sb_update_option('popular_widget_options', $options); } $title = attribute_escape($options['title']); $limit = attribute_escape($options['limit']); $display_sermons = (boolean) attribute_escape($options['display_sermons']); $display_series = (boolean) attribute_escape($options['display_series']); $display_preachers = (boolean) attribute_escape($options['display_preachers']); ?> <p><?php _e('Title:'); ?> <input class="widefat" id="widget-popular-title" name="widget-popular-title" type="text" value="<?php echo $title; ?>" /></p> <p> <?php _e('Number of sermons: ', $sermon_domain) ?><select id="widget-popular-limit" name="widget-popular-limit"><?php for($i=1; $i<=15; $i++) { $sel = ($i==$limit) ? ' selected="yes"' : ''; echo "<option value=\"{$i}\"{$sel}>{$i}</option>"; } ?></select> <div style="clear:both"> <input type="checkbox" id="widget-popular-display-sermons" name="widget-popular-display-sermons" <?php echo $display_sermons ? 'checked=checked' : '' ?> value="1"> <?php _e('Display popular sermons', $sermon_domain) ?><br /> <input type="checkbox" id="widget-popular-display-series" name="widget-popular-display-series" <?php echo $display_series ? 'checked=checked' : '' ?> value="1"> <?php _e('Display popular series', $sermon_domain) ?><br /> <input type="checkbox" id="widget-popular-display-preachers" name="widget-popular-display-preachers" <?php echo $display_preachers ? 'checked=checked' : '' ?> value="1"> <?php _e('Display popular preachers', $sermon_domain) ?><br /> </div> <input type="hidden" id="widget-popular-sermons-submit" name="widget-popular-sermons-submit" value="1" /> </p> <?php }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function sb_widget_sermon_control( $widget_args = 1 ) {\n\tglobal $wpdb, $sermon_domain;\n\tglobal $wp_registered_widgets;\n\tstatic $updated = false;\n\n\t$dpreachers = $wpdb->get_results(\"SELECT * FROM {$wpdb->prefix}sb_preachers ORDER BY id;\");\n\t$dseries = $wpdb->get_results(\"SELECT * FROM {$wpdb->prefix}sb_series ORDER BY id;\");\n\t$dservices = $wpdb->get_results(\"SELECT * FROM {$wpdb->prefix}sb_services ORDER BY id;\");\n\n\tif ( is_numeric($widget_args) )\n\t\t$widget_args = array( 'number' => $widget_args );\n\t$widget_args = wp_parse_args( $widget_args, array( 'number' => -1 ) );\n\textract( $widget_args, EXTR_SKIP );\n\n\t$options = sb_get_option('sermons_widget_options');\n\tif ( !is_array($options) )\n\t\t$options = array();\n\n\tif ( !$updated && !empty($_POST['sidebar']) ) {\n\t\t$sidebar = (string) $_POST['sidebar'];\n\t\t$sidebars_widgets = wp_get_sidebars_widgets();\n\t\tif ( isset($sidebars_widgets[$sidebar]) )\n\t\t\t$this_sidebar =& $sidebars_widgets[$sidebar];\n\t\telse\n\t\t\t$this_sidebar = array();\n\t\tforeach ( $this_sidebar as $_widget_id ) {\n\t\t\tif ( 'sb_widget_sermon' == $wp_registered_widgets[$_widget_id]['callback'] && isset($wp_registered_widgets[$_widget_id]['params'][0]['number']) ) {\n\t\t\t\t$widget_number = $wp_registered_widgets[$_widget_id]['params'][0]['number'];\n\t\t\t\tif ( !in_array( \"sermon-$widget_number\", $_POST['widget-id'] ) )\n\t\t\t\t\tunset($options[$widget_number]);\n\t\t\t}\n\t\t}\n\t\tforeach ( (array) $_POST['widget-sermon'] as $widget_number => $widget_sermon_instance ) {\n\t\t\tif ( !isset($widget_sermon_instance['limit']) && isset($options[$widget_number]) )\n\t\t\t\tcontinue;\n\t\t\t$limit = wp_specialchars( $widget_sermon_instance['limit'] );\n\t\t\t$preacherz = (int) $widget_sermon_instance['preacherz'];\n\t\t\t$preacher = (int) $widget_sermon_instance['preacher'];\n\t\t\t$service = (int) $widget_sermon_instance['service'];\n\t\t\t$series = (int) $widget_sermon_instance['series'];\n\t\t\t$book = (int) $widget_sermon_instance['book'];\n\t\t\t$title = strip_tags(stripslashes($widget_sermon_instance['title']));\n\t\t\t$date = (int) $widget_sermon_instance['date'];\n\t\t\t$player = (int) $widget_sermon_instance['player'];\n\t\t\t$options[$widget_number] = array( 'limit' => $limit, 'preacherz' => $preacherz, 'book' => $book, 'preacher' => $preacher, 'service' => $service, 'series' => $series, 'title' => $title, 'date' => $date, 'player' => $player);\n\t\t}\n\t\tsb_update_option('sermons_widget_options', $options);\n\t\t$updated = true;\n\t}\n\n\t// Display widget form\n\tif ( -1 == $number ) {\n\t\t$limit = '';\n\t\t$preacherz = 0;\n\t\t$book = 0;\n\t\t$number = '%i%';\n\t\t$preacher = '';\n\t\t$service = '';\n\t\t$series = '';\n\t\t$title ='';\n\t\t$date = '';\n\t\t$player = '';\n\t} else {\n\t\t$limit = attribute_escape($options[$number]['limit']);\n\t\t$preacher = attribute_escape($options[$number]['preacher']);\n\t\t$service = attribute_escape($options[$number]['service']);\n\t\t$series = attribute_escape($options[$number]['series']);\n\t\t$preacherz = (int) $options[$number]['preacherz'];\n\t\t$book = (int) $options[$number]['book'];\n\t\t$title = attribute_escape($options[$number]['title']);\n\t\t$date = (int) $options[$number]['date'];\n\t\t$player = attribute_escape($options[$number]['player']);\n\t}\n\n?>\n\t\t<p><?php _e('Title:'); ?> <input class=\"widefat\" id=\"widget-sermon-title\" name=\"widget-sermon[<?php echo $number; ?>][title]\" type=\"text\" value=\"<?php echo $title; ?>\" /></p>\n\t\t<p>\n\t\t\t<?php _e('Number of sermons: ', $sermon_domain) ?><input class=\"widefat\" id=\"widget-sermon-limit-<?php echo $number; ?>\" name=\"widget-sermon[<?php echo $number; ?>][limit]\" type=\"text\" value=\"<?php echo $limit; ?>\" />\n\t\t\t<hr />\n\t\t\t<input type=\"checkbox\" id=\"widget-sermon-preacherz-<?php echo $number ?>\" name=\"widget-sermon[<?php echo $number ?>][preacherz]\" <?php echo $preacherz ? 'checked=checked' : '' ?> value=\"1\"> <?php _e('Display preacher', $sermon_domain) ?><br />\n\t\t\t<input type=\"checkbox\" id=\"widget-sermon-book-<?php echo $number ?>\" name=\"widget-sermon[<?php echo $number ?>][book]\" <?php echo $book ? 'checked=checked' : '' ?> value=\"1\"> <?php _e('Display bible passage', $sermon_domain) ?><br />\n\t\t\t<input type=\"checkbox\" id=\"widget-sermon-date-<?php echo $number ?>\" name=\"widget-sermon[<?php echo $number ?>][date]\" <?php echo $date ? 'checked=checked' : '' ?> value=\"1\"> <?php _e('Display date', $sermon_domain) ?><br />\n\t\t\t<input type=\"checkbox\" id=\"widget-sermon-player-<?php echo $number ?>\" name=\"widget-sermon[<?php echo $number ?>][player]\" <?php echo $player ? 'checked=checked' : '' ?> value=\"1\"> <?php _e('Display mini-player', $sermon_domain) ?>\n\t\t\t<hr />\n\t\t\t<table>\n\t\t\t\t<tr>\n\t\t\t\t\t<td><?php _e('Preacher: ', $sermon_domain) ?></td>\n\t\t\t\t\t<td>\n\t\t\t\t\t\t<select name=\"widget-sermon[<?php echo $number; ?>][preacher]\" id=\"widget-sermon-preacher-<?php echo $number; ?>\">\n\t\t\t\t\t\t\t<option value=\"0\" <?php echo $preacher ? '' : 'selected=\"selected\"' ?>><?php _e('[All]', $sermon_domain) ?></option>\n\t\t\t\t\t\t\t<?php foreach ($dpreachers as $cpreacher): ?>\n\t\t\t\t\t\t\t\t<option value=\"<?php echo $cpreacher->id ?>\" <?php echo $preacher == $cpreacher->id ? 'selected=\"selected\"' : '' ?>><?php echo $cpreacher->name ?></option>\n\t\t\t\t\t\t\t<?php endforeach ?>\n\t\t\t\t\t\t</select>\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td><?php _e('Service: ', $sermon_domain) ?></td>\n\t\t\t\t\t<td>\n\t\t\t\t\t\t<select name=\"widget-sermon[<?php echo $number; ?>][service]\" id=\"widget-sermon-service-<?php echo $number; ?>\">\n\t\t\t\t\t\t\t<option value=\"0\" <?php echo $service ? '' : 'selected=\"selected\"' ?>><?php _e('[All]', $sermon_domain) ?></option>\n\t\t\t\t\t\t\t<?php foreach ($dservices as $cservice): ?>\n\t\t\t\t\t\t\t\t<option value=\"<?php echo $cservice->id ?>\" <?php echo $service == $cservice->id ? 'selected=\"selected\"' : '' ?>><?php echo $cservice->name ?></option>\n\t\t\t\t\t\t\t<?php endforeach ?>\n\t\t\t\t\t\t</select>\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td><?php _e('Series: ', $sermon_domain) ?></td>\n\t\t\t\t\t<td>\n\t\t\t\t\t\t<select name=\"widget-sermon[<?php echo $number; ?>][series]\" id=\"widget-sermon-series-<?php echo $number; ?>\">\n\t\t\t\t\t\t\t<option value=\"0\" <?php echo $series ? '' : 'selected=\"selected\"' ?>><?php _e('[All]', $sermon_domain) ?></option>\n\t\t\t\t\t\t\t<?php foreach ($dseries as $cseries): ?>\n\t\t\t\t\t\t\t\t<option value=\"<?php echo $cseries->id ?>\" <?php echo $series == $cseries->id ? 'selected=\"selected\"' : '' ?>><?php echo $cseries->name ?></option>\n\t\t\t\t\t\t\t<?php endforeach ?>\n\t\t\t\t\t\t</select>\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t</table>\n\t\t\t<input type=\"hidden\" id=\"widget-sermon-submit-<?php echo $number; ?>\" name=\"widget-sermon[<?php echo $number; ?>][submit]\" value=\"1\" />\n\t\t</p>\n<?php\n}", "function widget_display() { }", "public function widget_settings()\n\t{\n\t\t$wgt = $this->_EE->input->get('wgt');\n\t\t\n\t\tif(array_key_exists($wgt, $this->_widgets))\n\t\t{\n\t\t\t$widget = $this->_widgets[$wgt];\n\n\t\t\t$obj = $this->_get_widget_object($widget['mod'],$widget['wgt']);\n\t\t\techo $obj->settings_form(json_decode($widget['stng']));\n\t\t\texit();\n\t\t}\n\t\telse\n\t\t{\n\t\t\techo '<p>Widget could not be found.</p>';\n\t\t}\n\t}", "function list_widgets() {\n\t global $wp_registered_widgets, $wp_registered_widget_controls;\n\n\t $sort = $wp_registered_widgets;\n\t usort( $sort, create_function( '$a, $b', 'return strnatcasecmp( $a[\"name\"], $b[\"name\"] );' ) );\n\t $done = array();\n\n\t $selectBox = \"<option value='' >\".__('Select').\"</option>\";\n\t $addControls = '';\n\n\t foreach ($sort as $widget) {\n\t if (in_array($widget['callback'], $done, true)) // We already showed this multi-widget\n\t continue;\n\n if ($this->onlyEletro && ( !isset($widget['eletroWidget'] ) ) ) // Check for only eletro widgets option\n continue;\n\n\t $sidebar = is_active_widget($widget['callback'], $widget['id'], false, false);\n\t $done[] = $widget['callback'];\n\n\t if (!isset($widget['params'][0]))\n\t $widget['params'][0] = array();\n\n\t $args = array('widget_name' => $widget['name'], '_display' => 'template');\n\n\t if (is_object($widget['callback'][0])) {\n\t $id_base = $wp_registered_widget_controls[$widget['id']]['id_base'];\n\t $args['_multi_num'] = $this->next_widget_id_number($id_base);\n $args['_add'] = 'multi';\n\t $args['_id_base'] = $id_base;\n\t\t if (!is_object($widget['callback'][0])) print_r($widget);\n\t\t $args['widget_id'] = get_class($widget['callback'][0]);\n\t $args['_multi_num'] = $this->next_widget_id_number($args['widget_id']);\n\t } else {\n\t $args['_add'] = 'single';\n\t if ($sidebar)\n\t $args['_hide'] = '1';\n\t $args['_id_base'] = $widget['id'];\n\t $args['widget_id'] = $widget['id'];\n\t }\n\n\t $selectBox .= \"<option value='{$args['_id_base']}' >{$widget['name']}</option>\";\n\n $addControls .= $this->get_widget_on_list($args);\n\t }\n echo '<div class=\"eletro_widgets_add_select\">';\n\t echo __('Add new Widget: ', 'eletroWidgets');\n\t echo \"<select id='eletro_widgets_add' name='eletro_widgets_add'>$selectBox</select>\";\n\t echo '</div>';\n\t echo $addControls;\n\t}", "public function options_page() {\n\t\tif ( ! current_user_can( 'manage_network_options' ) )\n\t\t\twp_die( __( 'You do not have permission to access this page.' ) );\n\t\t\n\t\t$options = get_site_option( 'osu_welcome_dashboard_widget_options' );\n\t\t$widget_content = wpautop( wp_kses_stripslashes( $options['widget_content'] ) );\n\t\t\n\t\tinclude( OSU_WELCOME_DASHBOARD_WIDGET_DIR . '/inc/view/options-page.view.inc' );\n\t}", "public function ajax_widget_settings()\n\t{\n\t\t$wgt = $this->EE->input->get('wgt');\n\n\t\tif(array_key_exists($wgt, $this->_widgets))\n\t\t{\n\t\t\t$widget = $this->_widgets[$wgt];\n\n\t\t\t$obj = $this->_get_widget_object($widget['mod'],$widget['wgt']);\n\t\t\techo $obj->settings_form(json_decode($widget['stng']));\n\t\t\texit();\n\t\t}\n\t\telse\n\t\t{\n\t\t\techo '<p>Widget could not be found.</p>';\n\t\t}\n\t}", "public function index()\n {\n $widgets = $this->loadModel('widget')->getWidgetList();\n\n /* Init widget when vist index first. */\n if(empty($widgets) and empty($this->config->widgetInited))\n {\n if($this->widget->initWidget()) die(js::reload());\n }\n\n foreach($widgets as $key => $widget)\n {\n $widget->params = json_decode($widget->params);\n if(empty($widget->params)) $widget->params = new stdclass();\n\n $widget->moreLink = zget($this->config->widget->moreLinkList, $widget->type, '');\n }\n\n $this->view->ignoreUpgrade = isset($this->config->global->ignoreUpgrade) and $this->config->global->ignoreUpgrade;\n $this->view->checkLocation = $this->loadModel('user')->checkAllowedLocation();\n $this->view->widgets = $widgets;\n $this->display();\n }", "public function form( $instance ) {\r\n\t\t\tGLOBAL $WP_Statistics;\r\n\r\n\t\t\t$widget_options = $WP_Statistics->get_option('widget');\r\n\r\n?>\r\n<p>\r\n\t<?php _e('Name', 'wp_statistics'); ?>:<br />\r\n\t<input id=\"name_widget\" name=\"name_widget\" type=\"text\" value=\"<?php echo $widget_options['name_widget']; ?>\" />\r\n</p>\r\n\r\n<?php _e('Items', 'wp_statistics'); ?>:</br />\r\n<ul>\r\n\t<li><input type=\"checkbox\" id=\"useronline_widget\" name=\"useronline_widget\" <?php checked('on', $widget_options['useronline_widget']); ?>/>\r\n\t<label for=\"useronline_widget\"><?php _e('User Online', 'wp_statistics'); ?></label></li>\r\n\r\n\t<li><input type=\"checkbox\" id=\"tvisit_widget\" name=\"tvisit_widget\" <?php checked('on', $widget_options['tvisit_widget']); ?>/>\r\n\t<label for=\"tvisit_widget\"><?php _e('Today Visit', 'wp_statistics'); ?></label></li>\r\n\t\r\n\t<li><input type=\"checkbox\" id=\"tvisitor_widget\" name=\"tvisitor_widget\" <?php checked('on', $widget_options['tvisitor_widget']); ?>/>\r\n\t<label for=\"tvisitor_widget\"><?php _e('Today Visitor', 'wp_statistics'); ?></label></li>\r\n\r\n\t<li><input type=\"checkbox\" id=\"yvisit_widget\" name=\"yvisit_widget\" <?php checked('on', $widget_options['yvisit_widget']); ?>/>\r\n\t<label for=\"yvisit_widget\"><?php _e('Yesterday visit', 'wp_statistics'); ?></label></li>\r\n\t\r\n\t<li><input type=\"checkbox\" id=\"yvisitor_widget\" name=\"yvisitor_widget\" <?php checked('on', $widget_options['yvisitor_widget']); ?>/>\r\n\t<label for=\"yvisitor_widget\"><?php _e('Yesterday Visitor', 'wp_statistics'); ?></label></li>\r\n\r\n\t<li><input type=\"checkbox\" id=\"wvisit_widget\" name=\"wvisit_widget\" <?php checked('on', $widget_options['wvisit_widget']); ?>/>\r\n\t<label for=\"wvisit_widget\"><?php _e('Week Visit', 'wp_statistics'); ?></label></li>\r\n\r\n\t<li><input type=\"checkbox\" id=\"mvisit_widget\" name=\"mvisit_widget\" <?php checked('on', $widget_options['mvisit_widget']); ?>/>\r\n\t<label for=\"mvisit_widget\"><?php _e('Month Visit', 'wp_statistics'); ?></label></li>\r\n\r\n\t<li><input type=\"checkbox\" id=\"ysvisit_widget\" name=\"ysvisit_widget\" <?php checked('on', $widget_options['ysvisit_widget']); ?>/>\r\n\t<label for=\"ysvisit_widget\"><?php _e('Years Visit', 'wp_statistics'); ?></label></li>\r\n\r\n\t<li><input type=\"checkbox\" id=\"ttvisit_widget\" name=\"ttvisit_widget\" <?php checked('on', $widget_options['ttvisit_widget']); ?>/>\r\n\t<label for=\"ttvisit_widget\"><?php _e('Total Visit', 'wp_statistics'); ?></label></li>\r\n\t\r\n\t<li><input type=\"checkbox\" id=\"ttvisitor_widget\" name=\"ttvisitor_widget\" <?php checked('on', $widget_options['ttvisitor_widget']); ?>/>\r\n\t<label for=\"ttvisitor_widget\"><?php _e('Total Visitor', 'wp_statistics'); ?></label></li>\r\n\r\n\t<li><input type=\"checkbox\" id=\"tpviews_widget\" name=\"tpviews_widget\" <?php checked('on', $widget_options['tpviews_widget']); ?>/>\r\n\t<label for=\"tpviews_widget\"><?php _e('Total Page Views', 'wp_statistics'); ?></label></li>\r\n\r\n\t<li><input type=\"checkbox\" id=\"ser_widget\" class=\"ser_widget\" name=\"ser_widget\" <?php checked('on', $widget_options['ser_widget']); ?>/>\r\n\t<label for=\"ser_widget\"><?php _e('Search Engine Referred', 'wp_statistics'); ?></label></li>\r\n\r\n\t<p id=\"ser_option\" style=\"<?php if(!$widget_options['ser_widget']) { echo \"display: none;\"; } ?>\">\r\n\t\t<?php _e('Select type of search engine', 'wp_statistics'); ?>:<br />\r\n<?php\r\n\t\t$search_engines = wp_statistics_searchengine_list();\r\n\t\t\r\n\t\tforeach( $search_engines as $se ) {\r\n\t\t\techo '\t\t<input type=\"radio\" id=\"select_' .$se['tag'] . '\" name=\"select_se\" value=\"' . $se['tag'] . '\" ';\r\n\t\t\tchecked($se['tag'], $widget_options['select_se']);\r\n\t\t\techo \"/>\\n\";\r\n\t\t\techo '\t\t<label for=\"' . $se['name'] . '\">' . $se['translated'] . \"</label>\\n\";\r\n\t\t\techo \"\\n\";\r\n\t\t}\r\n?>\r\n\t\t<input type=\"radio\" id=\"select_all\" name=\"select_se\" value=\"all\" <?php checked('all', $widget_options['select_se']); ?>/>\r\n\t\t<label for=\"select_all\"><?php _e('All', 'wp_statistics'); ?></label>\r\n\t</p>\r\n\r\n\t<li><input type=\"checkbox\" id=\"tp_widget\" name=\"tp_widget\" <?php checked('on', $widget_options['tp_widget']); ?>/>\r\n\t<label for=\"tp_widget\"><?php _e('Total Posts', 'wp_statistics'); ?></label></li>\r\n\r\n\t<li><input type=\"checkbox\" id=\"tpg_widget\" name=\"tpg_widget\" <?php checked('on', $widget_options['tpg_widget']); ?>/>\r\n\t<label for=\"tpg_widget\"><?php _e('Total Pages', 'wp_statistics'); ?></label></li>\r\n\r\n\t<li><input type=\"checkbox\" id=\"tc_widget\" name=\"tc_widget\" <?php checked('on', $widget_options['tc_widget']); ?>/>\r\n\t<label for=\"tc_widget\"><?php _e('Total Comments', 'wp_statistics'); ?></label></li>\r\n\r\n\t<li><input type=\"checkbox\" id=\"ts_widget\" name=\"ts_widget\" <?php checked('on', $widget_options['ts_widget']); ?>/>\r\n\t<label for=\"ts_widget\"><?php _e('Total Spams', 'wp_statistics'); ?></label></li>\r\n\r\n\t<li><input type=\"checkbox\" id=\"tu_widget\" name=\"tu_widget\" <?php checked('on', $widget_options['tu_widget']); ?>/>\r\n\t<label for=\"tu_widget\"><?php _e('Total Users', 'wp_statistics'); ?></label></li>\r\n\r\n\t<li><input type=\"checkbox\" id=\"ap_widget\" name=\"ap_widget\" <?php checked('on', $widget_options['ap_widget']); ?>/>\r\n\t<label for=\"ap_widget\"><?php _e('Average Posts', 'wp_statistics'); ?></label></li>\r\n\r\n\t<li><input type=\"checkbox\" id=\"ac_widget\" name=\"ac_widget\" <?php checked('on', $widget_options['ac_widget']); ?>/>\r\n\t<label for=\"ac_widget\"><?php _e('Average Comments', 'wp_statistics'); ?></label></li>\r\n\r\n\t<li><input type=\"checkbox\" id=\"au_widget\" name=\"au_widget\" <?php checked('on', $widget_options['au_widget']); ?>/>\r\n\t<label for=\"au_widget\"><?php _e('Average Users', 'wp_statistics'); ?></label></li>\r\n\r\n\t<li><input type=\"checkbox\" id=\"lpd_widget\" class=\"lpd_widget\" name=\"lpd_widget\" <?php checked('on', $widget_options['lpd_widget']); ?>/>\r\n\t<label for=\"lpd_widget\"><?php _e('Last Post Date', 'wp_statistics'); ?></label></li>\r\n</ul>\r\n\r\n<input type=\"hidden\" id=\"wp_statistics_control_widget_submit\" name=\"wp_statistics_control_widget_submit\" value=\"1\" />\r\n<?php \r\n\t\t}", "function socialvibe_widget_control(){\r\n\r\n\tif($_POST['socialvibe_widget_submit']){\r\n\t\tupdate_option('socialvibe_widget_title', $_POST['socialvibe_widget_title']);\r\n\t\tupdate_option('socialvibe_widget_display', $_POST['socialvibe_widget_display']);\r\n\t}\r\n\r\n\techo '<table class=\"form-table\"><tr><td>\r\n\t<label for=\"socialvibe_widget_title\">Widget Title: </label>\r\n\t</td><td>\r\n\t<input type=\"text\" name=\"socialvibe_widget_title\" value=\"'.get_option('socialvibe_widget_title').'\" />\r\n\t</td></tr>\r\n\t<tr><td>\r\n\t<label for=\"socialvibe_widget_flashid\">Flash ID: </label>\r\n\t</td><td>\r\n\t<input type=\"text\" name=\"socialvibe_flash_id\" value=\"'.get_option('socialvibe_flash_id').'\" />\r\n\t</td></tr>\r\n\t<tr><td>\r\n\t<label for=\"socialvibe_widget_userid\">User ID: </label>\r\n\t</td><td>\r\n\t<input type=\"text\" name=\"socialvibe_user_id\" value=\"'.get_option('socialvibe_user_id').'\" />\r\n\t</td></tr>\r\n\t</table>\r\n\t<input type=\"hidden\" name=\"socialvibe_widget_submit\" value=\"1\" />';\r\n}", "public function view_settings() {\n\t\t?>\n\t\t<div class=\"wrap\">\n\t\t\t<div class=\"icon32\" id=\"icon-options-general\"></div>\n\t\t\t<h2><?php _e( 'Instapaper Liked Article Posts', 'instapaper-liked-article-posts' ); ?></h2>\n\t\t\t<h3><?php _e( 'Overview', 'instapaper-liked-article-posts' ); ?>:</h3>\n <p style=\"margin-left:12px;max-width:640px;\"><?php _e( 'The settings below will help determine where to check for your Instapaper Liked items, how often to look for them, and how they should be stored once new items are found.', 'instapaper-liked-article-posts' ); ?></p>\n\t\t\t<p style=\"margin-left: 12px; max-width: 640px;\"><?php _e( 'The most important part of this process will be to determine the RSS feed for your Instapaper Liked items.', 'instapaper-liked-article-posts' ); ?></p>\n\t\t\t<ol style=\"margin-left:36px;\">\n\t\t\t\t<li><?php _e( 'Visit your <a href=\"http://www.instapaper.com/liked\">Instapaper Liked items</a> page. <em>(http://www.instapaper.com/liked)</em>', 'instapaper-liked-article-posts' ); ?></li>\n\t\t\t\t<li><?php _e( 'Scroll to the bottom of that page.', 'instapaper-liked-article-posts' ); ?></li>\n\t\t\t\t<li><?php _e( 'Look for the link labeled \"This folder\\'s RSS\" next to the orange RSS icon.', 'instapaper-liked-article-posts' ); ?> <img src=\"<?php echo plugins_url( '/images/rss.png', __FILE__ ); ?>\"></li>\n\t\t\t\t<li><?php _e( 'Copy this link and paste it into the \"Instapaper RSS Feed\" setting below these instructions.', 'instapaper-liked-article-posts' ); ?></li>\n\t\t\t</ol>\n\t\t\t<form method=\"post\" action=\"options.php\">\n\t\t<?php\n\t\tsettings_fields( 'ilap_options' );\n\t\tdo_settings_sections( 'ilap' );\n\t\t?>\n\t\t\t\t<p class=\"submit\"><input type=\"submit\" class=\"button-primary\" value=\"<?php _e( 'Save Changes', 'instapaper-liked-article-posts' ); ?>\" /></p>\n\t\t\t</form>\n\t\t</div>\n\t\t<?php\n\t}", "public function form($instance){\r\n echo '<p>No options for this widgets !</p><p> You can control the fields of this widgets from <a href=\"./admin.php?page=dalia_sunset\">This is the page </a></p>';\r\n }", "function sb_options() {\n\tglobal $wpdb, $sermon_domain;\n\t//Security check\n\tif (!current_user_can('manage_options'))\n\t\t\twp_die(__(\"You do not have the correct permissions to edit the SermonBrowser options\", $sermon_domain));\n\t//Reset options to default\n\tif (isset($_POST['resetdefault'])) {\n\t\t$dir = sb_get_default('sermon_path');\n\t\tif (sb_display_url()==\"#\") {\n\t\t\tsb_update_option('podcast_url', site_url().sb_query_char(false).'podcast');\n\t\t} else {\n\t\t\tsb_update_option('podcast_url', sb_display_url().sb_query_char(false).'podcast');\n\t\t}\n\t\tsb_update_option('upload_dir', $dir);\n\t\tsb_update_option('upload_url', sb_get_default('attachment_url'));\n\t\tsb_update_option('display_method', 'dynamic');\n\t\tsb_update_option('sermons_per_page', '10');\n\t\tsb_update_option('filter_type', 'oneclick');\n\t\tsb_update_option('filter_hide', 'hide');\n\t\tsb_update_option('hide_no_attachments', false);\n\t\tsb_update_option('mp3_shortcode', '[audio:%SERMONURL%]');\n\t\t if (!is_dir(SB_ABSPATH.$dir))\n\t\t\tif (sb_mkdir(SB_ABSPATH.$dir))\n\t\t\t\t@chmod(SB_ABSPATH.$dir, 0777);\n\t\tif(!is_dir(SB_ABSPATH.$dir.'images') && sb_mkdir(SB_ABSPATH.$dir.'images'))\n\t\t\t@chmod(SB_ABSPATH.$dir.'images', 0777);\n\t\t$books = sb_get_default('bible_books');\n\t\t$eng_books = sb_get_default('eng_bible_books');\n\t\t// Reset bible books database\n\t\t$wpdb->query(\"TRUNCATE TABLE {$wpdb->prefix}sb_books\");\n\t\tfor ($i=0; $i < count($books); $i++) {\n\t\t\t$wpdb->query(\"INSERT INTO {$wpdb->prefix}sb_books VALUES (null, '$books[$i]')\");\n\t\t\t$wpdb->query(\"UPDATE {$wpdb->prefix}sb_books_sermons SET book_name='{$books[$i]}' WHERE book_name='{$eng_books[$i]}'\");\n\t\t}\n\t\t// Rewrite booknames for non-English locales\n\t\tif ($books != $eng_books) {\n\t\t\t$sermon_books = $wpdb->get_results(\"SELECT id, start, end FROM {$wpdb->prefix}sb_sermons\");\n\t\t\t foreach ($sermon_books as $sermon_book) {\n\t\t\t\t$start_verse = unserialize($sermon_book->start);\n\t\t\t\t$end_verse = unserialize($sermon_book->end);\n\t\t\t\t$start_index = array_search($start_verse[0]['book'], $eng_books, TRUE);\n\t\t\t\t$end_index = array_search($end_verse[0]['book'], $eng_books, TRUE);\n\t\t\t\tif ($start_index !== FALSE)\n\t\t\t\t\t$start_verse[0]['book'] = $books[$start_index];\n\t\t\t\tif ($end_index !== FALSE)\n\t\t\t\t\t$end_verse[0]['book'] = $books[$end_index];\n\t\t\t\t$sermon_book->start = serialize ($start_verse);\n\t\t\t\t$sermon_book->end = serialize ($end_verse);\n\t\t\t\t$wpdb->query(\"UPDATE {$wpdb->prefix}sb_sermons SET start='{$sermon_book->start}', end='{$sermon_book->end}' WHERE id={$sermon_book->id}\");\n\t\t\t}\n\t\t}\n\n\t\t $checkSermonUpload = sb_checkSermonUploadable();\n\t\t switch ($checkSermonUpload) {\n\t\t\tcase \"unwriteable\":\n\t\t\t\techo '<div id=\"message\" class=\"updated fade\"><p><b>';\n\t\t\t\tif (IS_MU AND !is_site_admin()) {\n\t\t\t\t\t_e('Upload is disabled. Please contact your administrator.', $sermon_domain);\n\t\t\t\t} else {\n\t\t\t\t\t_e('Error: The upload folder is not writeable. You need to CHMOD the folder to 666 or 777.', $sermon_domain);\n\t\t\t\t}\n\t\t\t\techo '</b></div>';\n\t\t\t\tbreak;\n\t\t\tcase \"notexist\":\n\t\t\t\techo '<div id=\"message\" class=\"updated fade\"><p><b>';\n\t\t\t\tif (IS_MU AND !is_site_admin()) {\n\t\t\t\t\t_e('Upload is disabled. Please contact your administrator.', $sermon_domain);\n\t\t\t\t} else {\n\t\t\t\t\t_e('Error: The upload folder you have specified does not exist.', $sermon_domain);\n\t\t\t\t}\n\t\t\t\techo '</b></div>';\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\techo '<div id=\"message\" class=\"updated fade\"><p><b>';\n\t\t\t\t_e('Default loaded successfully.', $sermon_domain);\n\t\t\t\techo '</b></div>';\n\t\t\t\tbreak;\n\t\t\t}\n\t}\n\t// Save options\n\telseif (isset($_POST['save'])) {\n\t\t$dir = rtrim(str_replace(\"\\\\\", \"/\", $_POST['dir']), \"/\").\"/\";\n\t\tsb_update_option('podcast_url', stripslashes($_POST['podcast']));\n\t\tif (intval($_POST['perpage']) > 0)\n\t\t\tsb_update_option('sermons_per_page', intval($_POST['perpage']));\n\t\tif (intval($_POST['perpage']) == -100)\n\t\t\tupdate_option('show_donate_reminder', 'off');\n\t\tsb_update_option('upload_dir', $dir);\n\t\tsb_update_option('filter_type', $_POST['filtertype']);\n\t\tsb_update_option('filter_hide', isset($_POST['filterhide']));\n\t\tsb_update_option('upload_url', trailingslashit(site_url()).$dir);\n\t\tsb_update_option ('import_prompt', isset($_POST['import_prompt']));\n\t\tsb_update_option ('import_title', isset($_POST['import_title']));\n\t\tsb_update_option ('import_artist', isset($_POST['import_artist']));\n\t\tsb_update_option ('import_album', isset($_POST['import_album']));\n\t\tsb_update_option ('import_comments', isset($_POST['import_comments']));\n\t\tsb_update_option ('import_filename', stripslashes($_POST['import_filename']));\n\t\tsb_update_option ('hide_no_attachments', isset($_POST['hide_no_attachments']));\n\t\tsb_update_option('mp3_shortcode', stripslashes($_POST['mp3_shortcode']));\n\t\tif (!is_dir(SB_ABSPATH.$dir))\n\t\t\tif (sb_mkdir(SB_ABSPATH.$dir))\n\t\t\t\t@chmod(SB_ABSPATH.$dir, 0777);\n\t\tif(!is_dir(SB_ABSPATH.$dir.'images') && sb_mkdir(SB_ABSPATH.$sermonUploadDir.'images'))\n\t\t\t@chmod(SB_ABSPATH.$dir.'images', 0777);\n\t\t $checkSermonUpload = sb_checkSermonUploadable();\n\t\t switch ($checkSermonUpload) {\n\t\t case \"unwriteable\":\n\t\t\techo '<div id=\"message\" class=\"updated fade\"><p><b>';\n\t\t\t_e('Error: The upload folder is not writeable. You need to CHMOD the folder to 666 or 777.', $sermon_domain);\n\t\t\techo '</b></div>';\n\t\t\tbreak;\n\t\tcase \"notexist\":\n\t\t\techo '<div id=\"message\" class=\"updated fade\"><p><b>';\n\t\t\t_e('Error: The upload folder you have specified does not exist.', $sermon_domain);\n\t\t\techo '</b></div>';\n\t\t\tbreak;\n\t\tdefault:\n\t\t\techo '<div id=\"message\" class=\"updated fade\"><p><b>';\n\t\t\t_e('Options saved successfully.', $sermon_domain);\n\t\t\techo '</b></div>';\n\t\t\tbreak;\n\t }\n\t}\n\n\t//Display error messsages when problems in php.ini\n\tfunction sb_display_error ($message) {\n\t\tglobal $sermon_domain;\n\t\treturn\t'<tr><td align=\"right\" style=\"color:#AA0000; font-weight:bold\">'.__('Error', $sermon_domain).':</td>'.\n\t\t\t\t'<td style=\"color: #AA0000\">'.$message.'</td></tr>';\n\t}\n\t//Display warning messsages when problems in php.ini\n\tfunction sb_display_warning ($message) {\n\t\tglobal $sermon_domain;\n\t\treturn\t'<tr><td align=\"right\" style=\"color:#FFDC00; font-weight:bold\">'.__('Warning', $sermon_domain).':</td>'.\n\t\t\t\t'<td style=\"color: #FF8C00\">'.$message.'</td></tr>';\n\t}\n\tsb_do_alerts();\n\t// HTML for options page\n?>\n\t<div class=\"wrap\">\n\t\t<a href=\"http://www.sermonbrowser.com/\"><img src=\"<?php echo SB_PLUGIN_URL; ?>/sb-includes/logo-small.png\" width=\"191\" height =\"35\" style=\"margin: 1em 2em; float: right; background: #f9f9f9;\" /></a>\n\t\t<form method=\"post\">\n\t\t<h2><?php _e('Basic Options', $sermon_domain) ?></h2>\n\t\t<br style=\"clear:both\"/>\n\t\t<table border=\"0\" class=\"widefat\">\n\t\t\t<?php\n\t\t\t\tif (!IS_MU OR is_site_admin()) {\n\t\t\t?>\n\t\t\t<tr>\n\t\t\t\t<td align=\"right\" style=\"vertical-align:middle\"><?php _e('Upload folder', $sermon_domain) ?>: </td>\n\t\t\t\t<td><input type=\"text\" name=\"dir\" value=\"<?php echo htmlspecialchars(sb_get_option('upload_dir')) ?>\" style=\"width:100%\" /></td>\n\t\t\t</tr>\n\t\t\t<?php\n\t\t\t\t} else {\n\t\t\t?>\n\t\t\t\t<input type=\"hidden\" name=\"dir\" value=\"<?php echo htmlspecialchars(sb_get_option('upload_dir')) ?>\">\n\t\t\t<?php\n\t\t\t\t}\n\t\t\t?>\n\t\t\t<tr>\n\t\t\t\t<td align=\"right\" style=\"vertical-align:middle\"><?php _e('Public podcast feed', $sermon_domain) ?>: </td>\n\t\t\t\t<td><input type=\"text\" name=\"podcast\" value=\"<?php echo htmlspecialchars(sb_get_option('podcast_url')) ?>\" style=\"width:100%\" /></td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td align=\"right\"><?php _e('Private podcast feed', $sermon_domain) ?>: </td>\n\t\t\t\t<td><?php if (sb_display_url()=='') { echo htmlspecialchars(site_url()); } else { echo htmlspecialchars(sb_display_url()); } echo sb_query_char(); ?>podcast</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td align=\"right\" style=\"vertical-align:middle\"><?php _e('MP3 shortcode', $sermon_domain) ?>: </td>\n\t\t\t\t<td><input type=\"text\" name=\"mp3_shortcode\" value=\"<?php echo htmlspecialchars(sb_get_option('mp3_shortcode')) ?>\" style=\"width:100%\" /></td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td align=\"right\" style=\"vertical-align:middle\"><?php _e('Sermons per page', $sermon_domain) ?>: </td>\n\t\t\t\t<td><input type=\"text\" name=\"perpage\" value=\"<?php echo sb_get_option('sermons_per_page') ?>\" /></td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td align=\"right\" style=\"vertical-align:top\" rowspan=\"2\"><?php _e('Filter type', $sermon_domain) ?>: </td>\n\t\t\t\t<td>\n\t\t\t\t<?php\n\t\t\t\t\t$ft = sb_get_option('filter_type');\n\t\t\t\t\t$filter_options = array ('dropdown' => __('Drop-down', $sermon_domain), 'oneclick' => __('One-click', $sermon_domain), 'none' => __('None', $sermon_domain));\n\t\t\t\t\tforeach ($filter_options as $value => $filter_option) {\n\t\t\t\t\t\techo \"<input type=\\\"radio\\\" name=\\\"filtertype\\\" value=\\\"{$value}\\\" \";\n\t\t\t\t\t\tif ($ft == $value)\n\t\t\t\t\t\t\techo 'checked=\"checked\" ';\n\t\t\t\t\t\techo \"/> {$filter_option}<br/>\\n\";\n\t\t\t\t\t}\n\t\t\t\t?>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td>\n\t\t\t\t\t<input type=\"checkbox\" name=\"filterhide\" <?php if (sb_get_option('filter_hide') == 'hide') echo 'checked=\"checked\" '; ?> value=\"hide\" \\> <?php _e('Minimise filter', $sermon_domain); ?>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td align=\"right\"><?php _e('Hide sermons without attachments?', $sermon_domain) ?></td>\n\t\t\t\t<td><input type=\"checkbox\" name=\"hide_no_attachments\" <?php if (sb_get_option('hide_no_attachments')) echo 'checked=\"checked\" '?> value=\"1\" \\></td>\n\t\t\t</tr>\n\t\t\t<?php\n\t\t\t\t$allow_uploads = ini_get('file_uploads');\n\t\t\t\t$max_filesize = sb_return_kbytes(ini_get('upload_max_filesize'));\n\t\t\t\t$max_post = sb_return_kbytes(ini_get('post_max_size'));\n\t\t\t\t$max_execution = ini_get('max_execution_time');\n\t\t\t\t$max_input = ini_get('max_input_time');\n\t\t\t\t$max_memory = sb_return_kbytes(ini_get('memory_limit'));\n\t\t\t\t$checkSermonUpload = sb_checkSermonUploadable();\n\t\t\t\tif (IS_MU) {\n\t\t\t\t\tif ($checkSermonUpload==\"unwriteable\")\n\t\t\t\t\t\techo sb_display_error (__('The upload folder is not writeable. You need to specify a folder that you have permissions to write to.', $sermon_domain));\n\t\t\t\t\telseif ($checkSermonUpload==\"notexist\")\n\t\t\t\t\t\tsb_display_error (__('The upload folder you have specified does not exist.', $sermon_domain));\n\t\t\t\t\tif ($allow_uploads == '0') echo sb_display_error(__('Your administrator does not allow file uploads. You will need to upload via FTP.', $sermon_domain));\n\t\t\t\t\t$max_filesize = ($max_filesize < $max_post) ? $max_filesize : $max_post;\n\t\t\t\t\tif ($max_filesize < 15360) echo sb_display_warning(__('The maximum file size you can upload is only ', $sermon_domain).$max_filesize.__('k. You may need to upload via FTP.', $sermon_domain));\n\t\t\t\t\t$max_execution = (($max_execution < $max_input) || $max_input == -1) ? $max_execution : $max_input;\n\t\t\t\t\tif ($max_execution < 600) echo sb_display_warning(__('The maximum time allowed for any script to run is only ', $sermon_domain).$max_execution.__(' seconds. If your files take longer than this to upload, you will need to upload via FTP.', $sermon_domain));\n\t\t\t\t} else {\n\t\t\t\t\tif ($checkSermonUpload==\"unwriteable\")\n\t\t\t\t\t\techo sb_display_error (__('The upload folder is not writeable. You need to specify a folder that you have permissions to write to, or CHMOD this folder to 666 or 777.', $sermon_domain));\n\t\t\t\t\telseif ($checkSermonUpload==\"notexist\")\n\t\t\t\t\t\tsb_display_error (__('The upload folder you have specified does not exist.', $sermon_domain));\n\t\t\t\t\tif ($allow_uploads == '0') echo sb_display_error(__('Your php.ini file does not allow uploads. Please change file_uploads in php.ini.', $sermon_domain));\n\t\t\t\t\tif ($max_filesize < 15360) echo sb_display_warning(__('The maximum file size you can upload is only ', $sermon_domain).$max_filesize.__('k. Please change upload_max_filesize to at least 15M in php.ini.', $sermon_domain));\n\t\t\t\t\tif ($max_post < 15360) echo sb_display_warning(__('The maximum file size you send through the browser is only ', $sermon_domain).$max_post.__('k. Please change post_max_size to at least 15M in php.ini.', $sermon_domain));\n\t\t\t\t\tif ($max_execution < 600) echo sb_display_warning(__('The maximum time allowed for any script to run is only ', $sermon_domain).$max_execution.__(' seconds. Please change max_execution_time to at least 600 in php.ini.', $sermon_domain));\n\t\t\t\t\tif ($max_input < 600 && $max_input != -1) echo sb_display_warning(__('The maximum time allowed for an upload script to run is only ', $sermon_domain).$max_input.__(' seconds. Please change max_input_time to at least 600 in php.ini.', $sermon_domain));\n\t\t\t\t\tif ($max_memory < 16384) echo sb_display_warning(__('The maximum amount of memory allowed is only ', $sermon_domain).$max_memory.__('k. Please change memory_limit to at least 16M in php.ini.', $sermon_domain));\n\t\t\t\t}\n\t\t\t?>\n\t\t</table>\n\t\t<h2><?php _e('Import Options', $sermon_domain) ?></h2>\n\t\t<p><?php printf(__('SermonBrowser can speed up the process of importing existing MP3s by reading the information stored in each MP3 file and pre-filling the SermonBrowser fields. Use this section to specify what information you want imported into SermonBrowser. Once you have selected the options, go to %s to import your files.', $sermon_domain), '<a href=\"'.admin_url('admin.php?page=sermon-browser/files.php').'\">'.__('Files', $sermon_domain).'</a>') ?>\n\t\t<table border=\"0\" class=\"widefat\">\n\t\t\t<tr>\n\t\t\t\t<td align=\"right\"><?php _e('Add files prompt to top of Add Sermon page?', $sermon_domain) ?></td>\n\t\t\t\t<td><input type=\"checkbox\" name=\"import_prompt\" <?php if (sb_get_option('import_prompt')) echo 'checked=\"checked\" '?> value=\"1\" \\></td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td align=\"right\"><?php _e('Use title tag for sermon title?', $sermon_domain) ?></td>\n\t\t\t\t<td><input type=\"checkbox\" name=\"import_title\" <?php if (sb_get_option('import_title')) echo 'checked=\"checked\" '?> value=\"1\" \\></td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td align=\"right\"><?php _e('Use artist tag for preacher?', $sermon_domain) ?></td>\n\t\t\t\t<td><input type=\"checkbox\" name=\"import_artist\" <?php if (sb_get_option('import_artist')) echo 'checked=\"checked\" '?> value=\"1\" \\></td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td align=\"right\"><?php _e('Use album tag for series?', $sermon_domain) ?></td>\n\t\t\t\t<td><input type=\"checkbox\" name=\"import_album\" <?php if (sb_get_option('import_album')) echo 'checked=\"checked\" '?> value=\"1\" \\></td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td align=\"right\"><?php _e('Use comments tag for sermon description?', $sermon_domain) ?></td>\n\t\t\t\t<td><input type=\"checkbox\" name=\"import_comments\" <?php if (sb_get_option('import_comments')) echo 'checked=\"checked\" '?> value=\"1\" \\></td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td align=\"right\" style=\"vertical-align: middle\"><?php _e('Attempt to extract date from filename', $sermon_domain) ?></td>\n\t\t\t\t<td style=\"vertical-align: middle\"><select name=\"import_filename\">\n\t\t\t\t<?php\n\t\t\t\t\t$filename_options = array ('none' => __('Disabled', $sermon_domain),\n\t\t\t\t\t\t\t\t\t\t\t 'uk' => __('UK-formatted date (dd-mm-yyyy)', $sermon_domain),\n\t\t\t\t\t\t\t\t\t\t\t 'us' => __('US-formatted date (mm-dd-yyyy)', $sermon_domain),\n\t\t\t\t\t\t\t\t\t\t\t 'int' => __('International formatted date (yyyy-mm-dd)', $sermon_domain)\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t$saved_option = sb_get_option ('import_filename');\n\t\t\t\t\tforeach ($filename_options as $option => $text) {\n\t\t\t\t\t\t$sel = $saved_option == $option ? ' selected = \"selected\"' : '';\n\t\t\t\t\t\techo \"<option value=\\\"{$option}\\\"{$sel}>{$text}</option>\\n\";\n\t\t\t\t\t}\n\t\t\t\t\techo \"</select>\\n<br/>\";\n\t\t\t\t\t_e ('(Use if you name your files something like 2008-11-06-eveningsermon.mp3)', $sermon_domain);\n\t\t\t\t\t?>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</table>\n\t\t<p class=\"submit\"><input type=\"submit\" name=\"resetdefault\" value=\"<?php _e('Reset to defaults', $sermon_domain) ?>\" />&nbsp;<input type=\"submit\" name=\"save\" value=\"<?php _e('Save', $sermon_domain) ?> &raquo;\" /></p>\n\t</div>\n\t</form>\n<?php\n}", "function widget_fmr_control() {\n\t\t$options = $newoptions = get_option('widget_fmr');\n\t\tif ( $_POST['fmr-submit'] ) {\n\t\t\t$newoptions['shownumberitems'] = $_POST['fmr-show-numberitems'];\n\t\t\t$newoptions['showdate'] = isset($_POST['fmr-show-date']);\n\t\t\t$newoptions['showviews'] = isset($_POST['fmr-show-views']);\n\t\t}\n\t\tif ( $options != $newoptions ) {\n\t\t\t$options = $newoptions;\n\t\t\tupdate_option('widget_fmr', $options);\n\t\t}\n\t\t$fmrshowdate = $options['showdate'] ? 'checked=\"checked\"' : '';\n\t\t$fmrshowviews = $options['showviews'] ? 'checked=\"checked\"' : '';\n\t?>\n\t\t\t\t<div style=\"text-align:right\">\n\t\t\t\t<label for=\"fmr-show-numberitems\" style=\"line-height:35px;display:block;\">Number of blog posts to show: \n\t\t\t\t\t\t<select id=\"fmr-show-numberitems\" name=\"fmr-show-numberitems\">\n\t\t\t\t\t\t\t\t <option value=\"5\" <?php selected('5',$options['shownumberitems']); ?>>5</option>\n\t\t\t\t\t\t\t\t <option value=\"10\" <?php selected('10',$options['shownumberitems']); ?>>10</option>\n\t\t\t\t\t\t\t\t <option value=\"15\" <?php selected('15',$options['shownumberitems']); ?>>15</option>\n\t\t\t\t\t\t\t\t <option value=\"20\" <?php selected('20',$options['shownumberitems']); ?>>20</option>\n\t\t\t\t\t\t</select>\n\t\t\t\t</label>\n\t\t\t\t<label for=\"fmr-show-date\">Show FMR show date ? <input class=\"checkbox\" type=\"checkbox\" <?php echo $fmrshowdate; ?> id=\"fmr-show-date\" name=\"fmr-show-date\" /></label><br/>\n\t\t\t\t<label for=\"fmr-show-views\">Show FMR show views ? <input class=\"checkbox\" type=\"checkbox\" <?php echo $fmrshowviews; ?> id=\"fmr-show-views\" name=\"fmr-show-views\" /></label><br/>\n\t\t\t\t<input type=\"hidden\" name=\"fmr-submit\" id=\"fmr-submit\" value=\"1\" />\n\t\t\t\t</div>\n\t<?php\n\t}", "public function displayOptions()\r\n\t{\r\n\t\t$data = $_POST;\r\n\t\t$listing = geoListing::getListing($data['listing']);\r\n\t\t$urlToListing = geoFilter::getBaseHref() . DataAccess::getInstance()->get_site_setting('classifieds_file_name').'?a=2&b='.$listing->id;\r\n\t\t\t\t\r\n\t\t$tpl = new geoTemplate('addon','sharing');\r\n\t\t$tpl->assign('listing_url', urlencode($urlToListing));\r\n\t\t$tpl->assign('title', $listing->title); //already urlencoded in the database, and needs to stay that way\r\n\t\t$tpl->assign('description', urlencode(strip_tags(geoString::fromDB($listing->description))));\r\n\t\t$tpl->assign('msgs', geoAddon::getText('geo_addons','sharing'));\r\n\t\t$html = $tpl->fetch('methods/reddit_options.tpl');\r\n\t\treturn $html;\r\n\t}", "function comboek_control() {\r\n $options = get_option(\"widget_comboek\");\r\n if (!is_array( $options )) {\r\n //no options found for widget_comboek, use these defaults in the widgetform\r\n $options = array(\r\n 'titel' => 'Computerboek.nl boeken',\r\n 'affiliate'=>0,\r\n 'sort'=>'',\r\n 'num'=>10,\r\n 'taal'=>'nl',\r\n 'desc'=>0,\r\n 'rubriek'=>'',\r\n 'trefwoord'=>'',\r\n 'q'=>'',\r\n 'timer'=>5000\r\n );\r\n }\r\n //Set the variables if form is submitted\r\n if ($_POST['comboekTitel-Submit']) {\r\n $options['titel'] = htmlspecialchars($_POST['comboekTitel']);\r\n $options['affiliate'] = (integer)$_POST['comboekAffiliate'];\r\n $options['sort'] = $_POST['comboekSort'];\r\n $options['num'] = (integer)$_POST['comboekNum'];\r\n $options['taal'] = $_POST['comboekTaal'];\r\n $options['desc'] = $_POST['comboekDesc'];\r\n $options['rubriek'] = $_POST['comboekRubriek'];\r\n $options['trefwoord'] = $_POST['comboekTrefwoord'];\r\n $options['q'] = $_POST['comboekZoek'];\r\n $options['timer'] = $_POST['comboekTimer'];\r\n update_option(\"widget_comboek\", $options);\r\n }\r\n //write the formfields\r\n ?>\r\n <input type=\"hidden\" id=\"comboekTitel-Submit\" name=\"comboekTitel-Submit\" value=\"1\" />\r\n <table>\r\n <tr><td><label for=\"comboekTitel\">Titel</label></td><td><input type=\"text\" id=\"comboekTitel\" name=\"comboekTitel\" value=\"<?=$options['titel']?>\" /></td></tr>\r\n <tr><td><label for=\"comboekAffiliate\">Affiliate</label></td><td><input type=\"text\" id=\"comboekAffiliate\" name=\"comboekAffiliate\" value=\"<?=$options['affiliate']?>\" /></td></tr>\r\n <!--\r\n <tr><td><label for=\"comboekSort\">Sort</label></td><td><input type=\"text\" id=\"comboekSort\" name=\"comboekSort\" value=\"<?=$options['sort']?>\" /></td></tr>\r\n -->\r\n <tr><td><label for=\"comboekNum\">Aantal</label></td><td><input type=\"text\" id=\"comboekNum\" name=\"comboekNum\" value=\"<?=$options['num']?>\" /></td></tr>\r\n <tr>\r\n <td><label for=\"comboekTaal\">Taal</label></td>\r\n <td>\r\n <select id=\"comboekTaal\" name=\"comboekTaal\">\r\n <option value=\"nl\"<?php if($options['taal'] == \"nl\") echo \" selected=\\\"selected\\\"\"; ?>>Nederlands</option>\r\n <option value=\"en\"<?php if($options['taal'] == \"en\") echo \" selected=\\\"selected\\\"\"; ?>>Engels</option>\r\n </select>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td><label for=\"comboekDesc\">Volgorde</label></td>\r\n <td>\r\n <select id=\"comboekDesc\" name=\"comboekDesc\">\r\n <option value=\"0\"<?php if($options['desc'] == \"0\") echo \" selected=\\\"selected\\\"\"; ?>>Oplopend</option>\r\n <option value=\"1\"<?php if($options['desc'] == \"1\") echo \" selected=\\\"selected\\\"\"; ?>>Aflopend</option>\r\n </select>\r\n </td>\r\n </tr>\r\n <!--\r\n <tr>\r\n <td><label for=\"comboekRubriek\">Rubriek</label></td>\r\n <td>\r\n <select id=\"comboekRubriek\" name=\"comboekRubriek\">\r\n <option value=\"\"<?php if($options['rubriek'] == \"\") echo \" selected=\\\"selected\\\"\"; ?>>- alle rubrieken -</option>\r\n </select>\r\n </td>\r\n </tr>\r\n -->\r\n <tr><td><label for=\"comboekTrefwoord\">Trefwoord</label></td><td><input type=\"text\" id=\"comboekTrefwoord\" name=\"comboekTrefwoord\" value=\"<?=$options['trefwoord']?>\" /></td></tr>\r\n <tr><td><label for=\"comboekZoek\">Zoek</label></td><td><input type=\"text\" id=\"comboekZoek\" name=\"comboekZoek\" value=\"<?=$options['q']?>\" /></td></tr>\r\n <tr><td><label for=\"comboekTimer\">Refresh(ms)</label></td><td><input type=\"text\" id=\"comboekTimer\" name=\"comboekTimer\" value=\"<?=$options['timer']?>\" /></td></tr> \r\n </table>\r\n <?php \r\n }", "function product_display_widget_control($args=array(), $params=array()) {\r\r\r\n\tif (isset($_POST['submitted'])) {\r\r\r\n\t\tupdate_option('product_display_widget_title', $_POST['widgettitle']);\r\r\r\n\t\tupdate_option('aproduct_display_widget_twitterurl', $_POST['twitterurl']);\r\r\r\n\t\tupdate_option('product_display_widget_description', $_POST['description']);\r\r\r\n\t}\r\r\r\n\r\r\r\n\t//load options\r\r\r\n\t$widgettitle = get_option('product_display_widget_title');\r\r\r\n\t$twitterurl = get_option('product_display_widget_twitterurl');\r\r\r\n\t$description = get_option('product_display_widget_description');\r\r\r\n\t?>\r\r\r\n\r\r\r\n\tWidget Title:<br />\r\r\r\n\t<input type=\"text\" class=\"widefat\" name=\"widgettitle\" value=\"<?php echo stripslashes($widgettitle); ?>\" />\r\r\r\n\t<br /><br />\r\r\r\n\r\r\r\n\tDescription about you:<br />\r\r\r\n\t<textarea class=\"widefat\" rows=\"5\" name=\"description\"><?php echo stripslashes($description); ?></textarea>\r\r\r\n\t<br /><br />\r\r\r\n\r\r\r\n\tTwitter Profile URL:<br />\r\r\r\n\t<input type=\"text\" class=\"widefat\" name=\"twitterurl\" value=\"<?php echo stripslashes($twitterurl); ?>\" />\r\r\r\n\t<br /><br />\r\r\r\n\r\r\r\n\t<input type=\"hidden\" name=\"submitted\" value=\"1\" />\r\r\r\n\t<?php\r\r\r\n}", "function comwidget($options) {\r\n if( $options['num'] == \"\" ) $options['num'] = 10;\r\n $code = \"\r\n <script src=\\\"http://static.managementboek.nl/widget/affwidget.js\\\" type=\\\"text/javascript\\\"></script>\r\n <script type=\\\"text/javascript\\\">\r\n // mogelijke vars\r\n // sort = auteur|7d|14d|30d|60d|90d|lm|titel\r\n // desc = 0|1\r\n // taal = nl|en\r\n // rubriek = 'a|b'\r\n // trefwoord = 'a,b'\r\n // num = X\r\n // q = 'zoekoptie'\r\n // timer = tijd tussen automatisch\r\n var options = {\r\n site:'com',\r\n affiliate:{$options['affiliate']},\r\n sort:'{$options['sort']}',\r\n num:{$options['num']},\r\n taal:'{$options['taal']}',\r\n desc:{$options['desc']},\r\n rubriek:'{$options['rubriek']}',\r\n trefwoord: '{$options['trefwoord']}',\r\n q:'{$options['q']}',\r\n timer:{$options['timer']}\r\n };\r\n initMgtBoekWidget(options);\r\n </script>\r\n \";\r\n echo $code;\r\n }", "function widget_fmr_init() {\n\t\n\t// Check for the required API functions\n\tif ( !function_exists('register_sidebar_widget') || !function_exists('register_widget_control') )\n\t\treturn;\n\n\t// This saves options and prints the widget's config form.\n\tfunction widget_fmr_control() {\n\t\t$options = $newoptions = get_option('widget_fmr');\n\t\tif ( $_POST['fmr-submit'] ) {\n\t\t\t$newoptions['shownumberitems'] = $_POST['fmr-show-numberitems'];\n\t\t\t$newoptions['showdate'] = isset($_POST['fmr-show-date']);\n\t\t\t$newoptions['showviews'] = isset($_POST['fmr-show-views']);\n\t\t}\n\t\tif ( $options != $newoptions ) {\n\t\t\t$options = $newoptions;\n\t\t\tupdate_option('widget_fmr', $options);\n\t\t}\n\t\t$fmrshowdate = $options['showdate'] ? 'checked=\"checked\"' : '';\n\t\t$fmrshowviews = $options['showviews'] ? 'checked=\"checked\"' : '';\n\t?>\n\t\t\t\t<div style=\"text-align:right\">\n\t\t\t\t<label for=\"fmr-show-numberitems\" style=\"line-height:35px;display:block;\">Number of blog posts to show: \n\t\t\t\t\t\t<select id=\"fmr-show-numberitems\" name=\"fmr-show-numberitems\">\n\t\t\t\t\t\t\t\t <option value=\"5\" <?php selected('5',$options['shownumberitems']); ?>>5</option>\n\t\t\t\t\t\t\t\t <option value=\"10\" <?php selected('10',$options['shownumberitems']); ?>>10</option>\n\t\t\t\t\t\t\t\t <option value=\"15\" <?php selected('15',$options['shownumberitems']); ?>>15</option>\n\t\t\t\t\t\t\t\t <option value=\"20\" <?php selected('20',$options['shownumberitems']); ?>>20</option>\n\t\t\t\t\t\t</select>\n\t\t\t\t</label>\n\t\t\t\t<label for=\"fmr-show-date\">Show FMR show date ? <input class=\"checkbox\" type=\"checkbox\" <?php echo $fmrshowdate; ?> id=\"fmr-show-date\" name=\"fmr-show-date\" /></label><br/>\n\t\t\t\t<label for=\"fmr-show-views\">Show FMR show views ? <input class=\"checkbox\" type=\"checkbox\" <?php echo $fmrshowviews; ?> id=\"fmr-show-views\" name=\"fmr-show-views\" /></label><br/>\n\t\t\t\t<input type=\"hidden\" name=\"fmr-submit\" id=\"fmr-submit\" value=\"1\" />\n\t\t\t\t</div>\n\t<?php\n\t}\n\n\t// This prints the widget\n\tfunction widget_fmr($args) {\n\t\textract($args);\n\t\t$options = (array) get_option('widget_fmr');\n $linktarget = ' target=\"_blank\"'; \n $title = \"Friday Morning Report\";\n\n?>\n <?php echo $before_widget; ?>\n <?php echo $before_title . $title . $after_title; ?>\n <div id=\"fmr-box\" style=\"margin:0;padding:0;border:none;\">\n<?php\n require_once('simplepie.inc');\n $feed = new SimplePie();\n $feed->set_feed_url(FMR_FEED_URL);\n $feed->enable_cache(false);\n $feed->init();\n $feed->handle_content_type();\n \n?>\n \n <strong>Video Archives</strong>\n <ul>\n<?php\n \n foreach ($feed->get_items(1, $options['shownumberitems']) as $item) {\n \n $title = $item->get_title();\n $link = $item->get_permalink();\n $pubDate = $item->get_date('jS F o');\n $views = $item->get_item_tags('', 'views');\n\n?>\n <li>\n <table border=\"0\">\n <tr>\n <td style=\"vertical-align:middle\"><img src=\"<?php echo $feed->get_favicon(); ?>\"></td>\n <td>\n <a href=\"<?php echo $link; ?>\" title=\"<?php echo $title; ?>\"<?php echo $linktarget; ?>><?php echo $title; ?></a>\n<?php\n\n if ($options['showdate']) { \n\n?>\n <br /><small><?php echo $pubDate; ?></small>\n<?php\n\n }\n\n if ($options['showviews']) {\n\n?>\n <br /><small><?php echo $views[0]['data']; ?></small> views.\n </td>\n </tr>\n </table>\n </li> \n<?php\n\n }\n }\n?>\n\n <li><a href=\"http://fridaymorningreport.tv/videos.php\"<?php echo $linktarget; ?>>More...</a></li>\n </ul></p>\n </div>\n\t\t<?php echo $after_widget; ?>\n<?php\n\n\t}\n\n \n \n\t// Tell Dynamic Sidebar about our new widget and its control\n\tregister_sidebar_widget('Friday Morning Report', 'widget_fmr');\n\tregister_widget_control('Friday Morning Report', 'widget_fmr_control', 300, 220);\n}", "public function display_options();", "static function PrintControl () {\n\n // Collect our widget's options.\n $options = get_option('manoknyga_widget');\n\n // This is for handing the control form submission.\n if ( $_POST['manoknyga-submit'] ) {\n // Clean up control form submission options\n $newoptions['title'] = strip_tags(stripslashes($_POST['manoknyga-title']));\n\n // If original widget options do not match control form\n // submission options, update them.\n if ( $options != $newoptions ) {\n $options = $newoptions;\n update_option('manoknyga_widget', $options);\n }\n }\n\n // Format options as valid HTML. Hey, why not.\n $title = htmlspecialchars($options['title'], ENT_QUOTES);\n\n // The HTML below is the control form for editing options.\n echo <<<EOL\n <div>\n <label for=\"manoknyga-title\" style=\"line-height:35px;display:block;\">Pavadinimas: <input type=\"text\" id=\"manoknyga-title\" name=\"manoknyga-title\" value=\"$title\" /></label>\n <input type=\"hidden\" name=\"manoknyga-submit\" id=\"manoknyga-submit\" value=\"1\" />\n </div>\nEOL;\n }", "public function form($instance){\n echo '<p><strong>No options for this widget</strong></br>you can control the fields of this widget from <a href=\"http://localhost/new_wordpress/wp-admin/admin.php?page=sparky_theme\">This Page</a></p>';\n }", "function KRS_STG_stt2_admin_print_stats()\r\n\t{\r\n?>\r\n\t<div class=\"postbox-container\" style=\"width: 48%;\">\r\n\t\t<div class=\"metabox-holder\">\r\n\t\t\t<div class=\"meta-box-sortables ui-sortable\">\r\n\t\t\t\t<div id=\"popular-search-terms\" class=\"postbox\">\r\n\t\t\t\t\t<div class=\"handlediv\" title=\"Click to toggle\">\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<h3 class=\"hndle\">\r\n\t\t\t\t\t\t<span><?php echo $_GET['count']; ?> Popular Search Terms:</span>\r\n\t\t\t\t\t</h3>\r\n\t\t\t\t\t<div class=\"inside\">\r\n\t\t\t\t\t\t<div class=\"frame list\">\r\n\t\t\t\t\t\t\t<?php echo KRS_STG_stt2_admin_print_searchterms('popular'); ?>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n\t<div class=\"postbox-container\" style=\"width: 48%;\">\r\n\t\t<div class=\"metabox-holder\">\r\n\t\t\t<div class=\"meta-box-sortables ui-sortable\">\r\n\t\t\t\t<div id=\"recent-search-terms\" class=\"postbox\">\r\n\t\t\t\t\t<div class=\"handlediv\" title=\"Click to toggle\">\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<h3 class=\"hndle\">\r\n\t\t\t\t\t\t<span><?php echo $_GET['count']; ?> Recent Search Terms:</span>\r\n\t\t\t\t\t</h3>\r\n\t\t\t\t\t<div class=\"inside\">\r\n\t\t\t\t\t\t<div class=\"frame list\">\r\n\t\t\t\t\t\t\t<?php echo KRS_STG_stt2_admin_print_searchterms('recent'); ?>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div> <?php\r\n\t\t}", "function mcp_widget_ListAllPagesFromCat_control() {\n\n\t\t// Collect our widget's options.\n\n\t\t$options = get_option('mcp_widget_ListAllPagesFromCat');\n\n\t\t$newoptions = get_option('mcp_widget_ListAllPagesFromCat');\n\n\t\t// This is for handing the control form submission.\n\n\t\tif ( $_POST['mcp_ListAllPagesFromCat-submit'] ) {\n\n\t\t\t// Clean up control form submission options\n\t\t\t$newoptions['title'] = strip_tags(stripslashes($_POST['mcp_ListAllPagesFromCat-title']));\n\t\t\t$newoptions['excludecat'] = strip_tags(stripslashes($_POST['mcp_ListAllPagesFromCat-excludecat']));\n\t\t}\n\n\t\t// If original widget options do not match control form\n\n\t\t// submission options, update them.\n\n\t\tif ( $options != $newoptions ) {\n\n\t\t\t$options = $newoptions;\n\n\t\t\tupdate_option('mcp_widget_ListAllPagesFromCat', $options);\n\n\t\t}\n\n\t\t// Format options as valid HTML. Hey, why not.\n\n\t\t$title = htmlspecialchars($options['title'], ENT_QUOTES);\n\t\t$excludecat = $options['excludecat'];\n// The HTML below is the control form for editing options.\n\n?>\n\t\t<div>\n <label for=\"ListAllPagesFromCat-title\" style=\"line-height:35px;display:block;\">Title: <input type=\"text\" id=\"mcp_ListAllPagesFromCat-title\" name=\"mcp_ListAllPagesFromCat-title\" value=\"<?php echo $title; ?>\" style=\"width:100%\" /></label>\n <br />\n \t\t<label for=\"ListAllPagesFromCat-excludecat\" style=\"line-height:35px;display:block;\">Exclude Category IDs <small>(e.g., 4,8)</small>: <input type=\"text\" id=\"mcp_ListAllPagesFromCat-excludecat\" name=\"mcp_ListAllPagesFromCat-excludecat\" value=\"<?php echo $excludecat; ?>\" style=\"width:100%\" /></label><br />\n <input type=\"hidden\" name=\"mcp_ListAllPagesFromCat-submit\" id=\"mcp_ListAllPagesFromCat-submit\" value=\"1\" />\n\t\t</div>\n\n\t<?php\n\t}", "public static function print_options_section() {\n echo \"<p>Settings related to the SalmonPress plugin.</p>\";\n }", "public function form($instance)\n {\n echo '<p><strong>No Options for this widgets</strong><br>You can control the fields of this widgets from <a href=\"./admin.php?page=vrcoder_sunset\">This Page</a>.</p>';\n }", "function initOptions() {\n $this->optionMeta['filter_active'] =\n $this->create_OptionMeta(\n 'filter_active',\n __('Filter','csa-plugintel'),\n __('Turn PlugIntel filtering of the plugin list on/off.', 'csa-plugintel'),\n 'slider'\n );\n\n $this->optionMeta['min_rating'] =\n $this->create_OptionMeta(\n 'min_rating',\n __('Minimum Rating','csa-plugintel'),\n __('Do not show plugins with ratings below this value. 60 = 3 stars, 100 = 5 stars.', 'csa-plugintel')\n );\n\n $this->optionMeta['max_rating'] =\n $this->create_OptionMeta(\n 'max_rating',\n __('Maximum Rating','csa-plugintel'),\n __('Do not show plugins with ratings above this value. 60 = 3 stars, 100 = 5 stars.','csa-plugintel')\n );\n\n $this->optionMeta['min_num_ratings'] =\n $this->create_OptionMeta(\n 'min_num_ratings',\n __('Min Number of Ratings','csa-plugintel'),\n __('Do not show plugins with fewer than this number of ratings. Default: 2.','csa-plugintel')\n );\n\n $this->optionMeta['min_tested_version'] =\n $this->create_OptionMeta(\n 'min_tested_version',\n __('Minimum Tested Version','csa-plugintel'),\n __('Do not show plugins that were not tested on this version of WordPress or higher. Default: 3.3.','csa-plugintel')\n );\n }", "public function update_widget_settings()\n\t{\n\t\t$data \t\t= $_POST;\n\t\t$settings \t= array();\n\t\t$widget \t= $this->_widgets[$data['wgt']];\n\t\t\t\t\n\t\tforeach($data as $field => $value)\n\t\t{\n\t\t\t$settings[$field] = $value;\n\t\t}\n\t\n\t\t$settings_json = json_encode($settings);\n\t\t$this->_settings['widgets'][$widget['col']][$widget['id']]['stng'] = $settings_json;\n\t\t$this->_update_member(FALSE);\n\t\n\t\t$obj = $this->_get_widget_object($widget['mod'], $widget['wgt']);\n\t\t$this->_add_widget_package_path($widget['mod']);\n\t\t$content = $obj->index(json_decode($settings_json));\n\t\t$result = array(\n\t\t\t'title'\t\t=> $obj->title,\n\t\t\t'content' \t=> $content\n\t\t\t);\n\t\techo json_encode($result);\n\t\texit();\n\t}", "function render_MainSettings() {\n print '<p>'.\n __('Use these settings to filter out the plugins that are returned on the Add New plugin page.','csa-plugintel').\n '</p>';\n }", "function widget_toplinks_control() {\n\t$options = get_option('widget_toplinks');\n\t\n\t// This is for handing the control form submission.\n\tif ( $_POST['toplinks-submit'] ) {\n\t\t// Clean up control form submission options\n\t\t$newoptions['toshow'] = strip_tags(stripslashes($_POST['toplinks-toshow']));\n\t}\n\t\n\t// If original widget options do not match control form\n\t// submission options, update them.\n\tif ( $options != $newoptions ) {\n\t\t$options = $newoptions;\n\t\tupdate_option('widget_toplinks', $options);\n\t}\n\t\n\t// Format options as valid HTML. Hey, why not.\n\t$toshow = htmlspecialchars($options['toshow'], ENT_QUOTES);\n\t// The HTML below is the control form for editing options.\n\t?>\n\t<div>\n\t\t<label for=\"toplinks-toshow\" style=\"line-height:35px;display:block;\">TopLinks to show: <input type=\"text\" id=\"toplinks-toshow\" name=\"toplinks-toshow\" value=\"<?php echo empty($toshow) ? 5 : $toshow; ?>\" /></label>\n\t\t<input type=\"hidden\" name=\"toplinks-submit\" id=\"toplinks-submit\" value=\"1\" />\n\t</div>\n\t<?php\n\t// end of widget_toplinks_control()\n}", "function comboek_init() {\r\n register_sidebar_widget(__('Computerboek boeken'), 'widget_comboek'); \r\n register_widget_control( 'Computerboek boeken', 'comboek_control', 200, 200 );\r\n }" ]
[ "0.67761654", "0.6619352", "0.6481786", "0.62545", "0.62316054", "0.61907554", "0.6180821", "0.605035", "0.60276824", "0.60043585", "0.5990479", "0.5966969", "0.5962917", "0.59392893", "0.59341866", "0.5923435", "0.58900964", "0.5873543", "0.58686006", "0.5814169", "0.579576", "0.5781469", "0.5755728", "0.5751212", "0.57429016", "0.5741126", "0.5732519", "0.57293653", "0.57192874", "0.57082593" ]
0.7558986
0
Returns true if any ID3 import options have been selected
function sb_import_options_set () { if (!sb_get_option('import_title') && !sb_get_option('import_artist') && !sb_get_option('import_album') && !sb_get_option('import_comments') && (!sb_get_option('import_filename') || sb_get_option('import_filename') == 'none')) return false; else return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static function supportsOptionsSelected(): bool;", "public function canImport() {\n\t\treturn $this->source->canImport();\n\t}", "public function allowedImportTargets()\n\t{\n\t\treturn $this->source->allowedImportTargets();\n\t}", "public function it_can_import_entries()\n\t{\n\t\t//do all 3 steps if possible\n\t}", "protected function hasImportableObjects(): bool\n {\n return $this->objects && $this->objects->isNotEmpty();\n }", "public function hasSelectedItems()\n {\n return $this->hasSelectedItems;\n }", "public function sheetsSelected()\n {\n return count($this->selectedSheets) > 0;\n }", "public function hasCloudStorageOptions(){\n return $this->_has(3);\n }", "public function getValidateImportChoices() {\n\t\t\n\t\t/* Get the template settings to see if we need a preview */\n\t\t$template = JRequest::getVar('template');\n\t\t\n\t\t/* Set debug on or off */\n\t\tJRequest::setVar('debug', $template->collect_debug_info);\n\t\t\n\t\t/* Overwrite existing data */\n\t\t$this->overwrite_existing_data = $template->overwrite_existing_data;\n\t\t\n\t\t/* Default value */\n\t\tif ($template->skip_default_value) JRequest::setVar('skip_default_value', true);\n\t\telse JRequest::setVar('skip_default_value', false);\n\t\t\n\t\t/* Skip first line */\n\t\tif ($template->skip_first_line) JRequest::setVar('currentline', JRequest::getVar('currentline')+1);\n\t}", "protected function isImportable()\n {\n return $this->is_importable;\n }", "public function hasOptions();", "public function checkForAnyOptionChecked() {\n\t\t$showingOptions = @json_decode( stripcslashes( $this->getShowGroupOptions() ) );\n\t\tif ( empty( $showingOptions ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t$optionsChecked = strpos( $this->getShowGroupOptions(), \"true\" );\n\t\tif ( $optionsChecked ) {\n\t\t\treturn true;\n\t\t}\n\t\tforeach ( $showingOptions->tabs as $tab ) {\n\t\t\tif ( ! empty( $tab->options ) ) {\n\t\t\t\tforeach ( $tab->options as $opt ) {\n\t\t\t\t\tif ( ! is_object( $opt ) ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ( empty( $showingOptions->tabs[7] ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tforeach ( $showingOptions->tabs[7]->options as $item ) {\n\t\t\tif ( is_object( $item ) ) {\n\t\t\t\tif ( $item->isChecked || $item->type == 'direct_url' ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}", "public function hasDatastoreOptions(){\n return $this->_has(2);\n }", "public function hasOpt(){\n return $this->_has(3);\n }", "public function multiUpdateSelected()\n {\n return $this->MultiUpdate == 1;\n }", "protected function groupsMustBeSelected()\n {\n return in_array('GROUPS', $this->select) || in_array('GROUP_ID', $this->select) || in_array('GROUPS_ID', $this->select);\n }", "public function valid()\n\t{\n\t\treturn $this->options->valid();\n\t}", "public function import(): bool;", "public function import(): bool;", "public function isLoadPluginSelect(): bool {\n\t\treturn $this->_loadPluginSelect;\n\t}", "public final function isMultiple() {\n\t\treturn (isset($this->_options['multiple']) && $this->_options['multiple'] === 'multiple') ? true : false;\n\t}", "public static function isImported(Item $item)\n {\n $imported_items = array(\n 'imported box of chocolates',\n 'imported bottle of perfume',\n 'box of imported chocolates'\n );\n \n if (in_array(strtolower($item->getName()), $imported_items)) {\n return true;\n } else {\n return false;\n }\n }", "public function isSelectable()\n\t{\n\t\treturn $this->oImapFolder->IsSelectable() && $this->exists();\n\t}", "public function isMultiSelect()\n {\n return $this->HtmlTag == \"SELECT\" && $this->SelectMultiple || $this->HtmlTag == \"CHECKBOX\";\n }", "public function isSetLine3()\n {\n return !is_null($this->_fields['Line3']['FieldValue']);\n }", "public function importCanStart()\n {\n if (is_null($this->_file)) {\n $this->getFlagFile();\n }\n if (!$this->addFlagToFile()) {\n $timestamp = $this->readFlagFile();\n if ($timestamp !== false && (time() - (integer)$timestamp) > (60 * 25)) {\n $this->addFlagToFile();\n return true;\n }\n return false;\n }\n return true;\n }", "public function hasMandatoryOptions(){\n foreach($this->getProjectOptions() as $option){\n if($option->getMandatory()==true) return true;\n }\n \n return false;\n }", "public function isImportResourceAvailable(){\n return $this->bIsInitialized;\n }", "private function exporterIsChosen() {\n\t\treturn strlen(Request::param('type')) > 0;\n\t}", "public function isSelectable() {\n\t\treturn $this->isAssociated() || $this->hasOptionsCallable() || !empty($this->_options) || $this->isTags() || $this->isType(self::FIELD_TYPE_SELECT);\n\t}" ]
[ "0.64906126", "0.6252234", "0.60450953", "0.5915037", "0.5877899", "0.585293", "0.57901716", "0.5782412", "0.57277066", "0.57199097", "0.56868255", "0.5669331", "0.5608098", "0.5586803", "0.5546694", "0.5537881", "0.55336976", "0.55069536", "0.55069536", "0.54931736", "0.5471704", "0.54034305", "0.53879493", "0.5385449", "0.5375356", "0.53696924", "0.5339268", "0.53386843", "0.53295845", "0.5321667" ]
0.6663503
0
Displays notice if ID3 import options have not been set
function sb_print_import_options_message($long = FALSE) { global $sermon_domain; if (!sb_import_options_set()) { if ($long) { _e ('SermonBrowser can automatically pre-fill this form by reading ID3 tags from MP3 files.', $sermon_domain); echo ' '; } printf (__ ('You will need to set the %s before you can import MP3s and pre-fill the Add Sermons form.', $sermon_domain), '<a href="'.admin_url('admin.php?page=sermon-browser/options.php').'">'.__('import options', $sermon_domain).'</a>'); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function gwwus_admin_import_notice() {\n}", "public static function print_import_notice() {\n\t\t\n\t\t// Check transient, if available display notice\n\t\tif ( get_transient( 'cfs_import_result' ) ) {\n\t\t\techo '<div class=\"updated\"><p>' . get_transient( 'cfs_import_result' ) . '</p></div>';\n\t\t\t\n\t\t\t// Delete transient, only display this notice once.\n\t\t\tdelete_transient( 'cfs_import_result' );\n\t\t}\n\t}", "function sb_import_options_set () {\n\tif (!sb_get_option('import_title') && !sb_get_option('import_artist') && !sb_get_option('import_album') && !sb_get_option('import_comments') && (!sb_get_option('import_filename') || sb_get_option('import_filename') == 'none'))\n\t\treturn false;\n\telse\n\t\treturn true;\n}", "public function it_can_import_entries()\n\t{\n\t\t//do all 3 steps if possible\n\t}", "function my_admin_notice()\n{\n\t$theme_option_url = admin_url( 'admin.php?page=mytheme-options#import_content' );\n\t$msg = sprintf( \"You may import content under <a href='%s'>Appearences -> Theme Options -> Import Content</a>\", $theme_option_url ) ;\n echo'<div class=\"updated notice notice-info is-dismissible\"><p>'. $msg . '</p></div>'; \n}", "function import_options()\n {\n }", "function options() {\n\t\t\t?>\n\t\t\t<h2><?php _e('Import Options', 'echo-importer'); ?></h2>\n\t\t\t<p><?php printf( _n( 'It looks like there&#8217;s %s comment in the file.' , 'It looks like there are %s comments in the file.', $this->found_comment_count, 'echo-importer' ), $this->found_comment_count ); ?></p>\n\t\t\t<p><?php _e('Click Next to import all of them.', 'echo-importer'); ?></p>\n\t\n\t\t\t<form action=\"?import=echo&amp;step=2&amp;id=<?php echo $this->id; ?>\" method=\"post\">\n\t\t\t<?php wp_nonce_field('import-echo'); ?>\n\t\t\t<p class=\"submit\">\n\t\t\t<input type=\"submit\" class=\"button\" value=\"<?php echo esc_attr__('Next', 'echo-importer'); ?>\" /><br />\n\t\t\t</p>\n\t\t\t</form>\n\t\t\t<?php\n\t\t}", "function check_upload() {\n\t\t\t$is_echo_file = $this->get_entries( array( &$this, 'count_entries' ));\n\t\n\t\t\tif ( $is_echo_file ) {\n\t\t\t\t$this->options();\n\t\t\t}\n\t\t\telse {\n\t\t\t\techo '<h2>'.__('Invalid file', 'echo-importer').'</h2>';\n\t\t\t\techo '<p>'.__('Please upload a valid Echo export file.', 'echo-importer').'</p>';\n\t\t\t}\n\t\t}", "function init__hooks__modules__admin_import__vb3()\n{\n\tglobal $TOPIC_FORUM_CACHE;\n\t$TOPIC_FORUM_CACHE=array();\n\n\tglobal $STRICT_FILE;\n\t$STRICT_FILE=false; // Disable this for a quicker import that is quite liable to go wrong if you don't have the files in the right place\n\n\tglobal $OLD_BASE_URL;\n\t$OLD_BASE_URL=NULL;\n}", "public function toolbox_notice() {\n\t\tglobal $pagenow;\n\n\t\tif ( 'plugins.php' == $pagenow && ! defined( 'LUCID_TOOLBOX_VERSION' ) )\n\t\t\tprintf( '<div class=\"error\"><p>%s</p></div>', __( 'Lucid Toolbox is needed for Lucid Email Encoder to function properly.', 'leejl' ) );\n\t}", "public function echo_import_data() {\n if( $this->import_export_errors ) {\n echo '<h2>Data import failed</h2>';\n } else {\n echo '<h2>Data import complete</h2>';\n }\n foreach( $this->messages as $message ) {\n echo $message . \"<br>\";\n }\n die();\n }", "function get_file_import_options(){\n\t\treturn array(\n\t\t\t'100' => 'Insert Data As New Records',\n\t\t\t'200' => 'Update Existing Records',\n\t\t);\n\t}", "private function preImportCheck()\n\t{\n\t\t$importDir \t= $this->f2cConfig->get('import_dir');\n\t\t$archiveDir\t= $this->f2cConfig->get('import_archive_dir');\n\t\t$errorDir\t= $this->f2cConfig->get('import_error_dir');\n\t\t$postAction = $this->f2cConfig->get('import_post_action', 1);\n\t\t\n\t\tif(empty($importDir))\n\t\t{\n\t\t\tthrow new Exception(JText::_('COM_FORM2CONTENT_ERROR_IMPORT_DIR_EMPTY'));\n\t\t}\n\t\t\n\t\tif(!JFolder::exists($importDir))\n\t\t{\n\t\t\tthrow new Exception(JText::_('COM_FORM2CONTENT_ERROR_IMPORT_DIR_DOES_NOT_EXIST'));\n\t\t}\n\t\t\n\t\tif(empty($errorDir))\n\t\t{\n\t\t\tthrow new Exception(JText::_('COM_FORM2CONTENT_ERROR_ERROR_DIR_EMPTY'));\n\t\t}\n\t\t\n\t\tif(!JFolder::exists($errorDir))\n\t\t{\n\t\t\tthrow new Exception(JText::_('COM_FORM2CONTENT_ERROR_ERROR_DIR_DOES_NOT_EXIST'));\n\t\t}\n\t\t\n\t\tif($postAction == F2C_IMPORT_POSTACTION_ARCHIVE)\n\t\t{\n\t\t\tif(empty($archiveDir))\n\t\t\t{\n\t\t\t\tthrow new Exception(JText::_('COM_FORM2CONTENT_ERROR_IMPORT_ARCHIVE_DIR_EMPTY'));\n\t\t\t}\n\t\t\t\n\t\t\tif(!JFolder::exists($archiveDir))\n\t\t\t{\n\t\t\t\tthrow new Exception(JText::_('COM_FORM2CONTENT_ERROR_ARCHIVE_DIR_DOES_NOT_EXIST'));\n\t\t\t}\n\t\t}\n\t}", "public function setImport()\n {\n // section 10-10--91-60-7f09995f:12e75e0bc39:-8000:000000000000093C begin\n // section 10-10--91-60-7f09995f:12e75e0bc39:-8000:000000000000093C end\n }", "public function getValidateImportChoices() {\n\t\t\n\t\t/* Get the template settings to see if we need a preview */\n\t\t$template = JRequest::getVar('template');\n\t\t\n\t\t/* Set debug on or off */\n\t\tJRequest::setVar('debug', $template->collect_debug_info);\n\t\t\n\t\t/* Overwrite existing data */\n\t\t$this->overwrite_existing_data = $template->overwrite_existing_data;\n\t\t\n\t\t/* Default value */\n\t\tif ($template->skip_default_value) JRequest::setVar('skip_default_value', true);\n\t\telse JRequest::setVar('skip_default_value', false);\n\t\t\n\t\t/* Skip first line */\n\t\tif ($template->skip_first_line) JRequest::setVar('currentline', JRequest::getVar('currentline')+1);\n\t}", "private function use_existing_importer_data() {\n\t\tif ( $data = get_transient( 'ocdi_importer_data' ) ) {\n\t\t\t$this->frontend_error_messages = empty( $data['frontend_error_messages'] ) ? array() : $data['frontend_error_messages'];\n\t\t\t$this->log_file_path = empty( $data['log_file_path'] ) ? '' : $data['log_file_path'];\n\t\t\t$this->selected_index = empty( $data['selected_index'] ) ? 0 : $data['selected_index'];\n\t\t\t$this->selected_import_files = empty( $data['selected_import_files'] ) ? array() : $data['selected_import_files'];\n\t\t\t$this->import_files = empty( $data['import_files'] ) ? array() : $data['import_files'];\n\t\t\t$this->before_import_executed = empty( $data['before_import_executed'] ) ? false : $data['before_import_executed'];\n\t\t\t$this->importer->set_importer_data( $data );\n\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "function media_library_membership_notice() {\n\t\t\tglobal $wpsmush_bulkui;\n\n\t\t\t//No need to print it for free version\n\t\t\tif ( ! $this->validate_install() ) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t//Show it on Media Library page only\n\t\t\t$screen = get_current_screen();\n\t\t\t$screen_id = ! empty( $screen ) ? $screen->id : '';\n\t\t\t//Do not show notice anywhere else\n\t\t\tif ( empty( $screen ) || 'upload' != $screen_id ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\techo $wpsmush_bulkui->get_user_validation_message( false );\n\t\t}", "function callback_panel_import_result( $result, $data, $args ) {\n\n\t\t// check panel\n\t\tif ( $args['panel-id'] != $this->option_panel_id ) {\n\t\t\treturn $result;\n\t\t}\n\n\t\t// change messages\n\t\tif ( $result['status'] == 'succeed' ) {\n\t\t\t$result['msg'] = __( 'Font manager options imported successfully.', 'publisher' );\n\t\t} else {\n\t\t\tif ( $result['msg'] == __( 'Imported data is not for this panel.', 'publisher' ) ) {\n\t\t\t\t$result['msg'] = __( 'Imported translation is not for fonts manager.', 'publisher' );\n\t\t\t} else {\n\t\t\t\t$result['msg'] = __( 'An error occurred while importing font manager options.', 'publisher' );\n\t\t\t}\n\t\t}\n\n\t\treturn $result;\n\t}", "function greet() {\n\t\tif( isset( $_POST['scrib_iii-delete'] ) && isset( $_POST['scrib_iii-sourceprefix'] )){\n\t\t\t$save_prefs = get_option('scriblio-importer-iii') or array();\n\n\t\t\tunset( $save_prefs[ str_pad( substr( preg_replace( '/[^a-z0-9]/', '', strtolower( $_POST['scrib_iii-sourceprefix'] )), 0, 2), 2, 'a', STR_PAD_LEFT ) ] );\n\n\t\t\tupdate_option('scriblio-importer-iii', $save_prefs);\n\t\t\n\t\t}else if( isset( $_POST['scrib_iii-sourceinnopac'] )){\n\t\t\t$save_prefs = get_option('scriblio-importer-iii') or array();\n\n\t\t\t$prefs['sourceinnopac'] = ereg_replace( '[^a-z|A-Z|0-9|-|\\.]', '', $_POST['scrib_iii-sourceinnopac'] );\n\t\t\t$prefs['sourceprefix'] = str_pad( substr( preg_replace( '/[^a-z0-9]/', '', strtolower( $_POST['scrib_iii-sourceprefix'] )), 0, 2), 2, 'a', STR_PAD_LEFT );\n\t\t\t$prefs['convert_encoding'] = isset( $_POST['scrib_iii-convert_encoding'] );\n\t\t\t$prefs['bibrange_low'] = absint( $_POST['scrib_iii-bibrange_low'] );\n\t\t\t$prefs['bibrange_high'] = absint( $_POST['scrib_iii-bibrange_high'] );\n\t\t\t$prefs['require_import'] = $_POST['scrib_iii-require_import'];\n\t\t\t$prefs['reject_import'] = $_POST['scrib_iii-reject_import'];\n\t\t\t$prefs['capitalize_titles'] = isset( $_POST['scrib_iii-capitalize_titles'] );\n\t\t\t$prefs['require_availability'] = $_POST['scrib_iii-require_availability'];\n\t\t\t$prefs['reject_availability'] = $_POST['scrib_iii-reject_availability'];\n\n\t\t\t$save_prefs[ $prefs['sourceprefix'] ] = $prefs;\n\n\t\t\tupdate_option('scriblio-importer-iii', $save_prefs);\n\n\t\t\twp_redirect( 'admin.php?import='. $this->importer_code .'&message=1' );\n\t\t}\n\n\t\techo '<p>'.__('Use this importer to harvest records from an Innovative Interfaces Incorporated ILS. Select a connection below or add a new one.').'</p>';\n\n\t\t$save_prefs = get_option('scriblio-importer-iii');\n\t\tif( count( $save_prefs )){\n\t\t\techo '<table class=\"widefat\">';\n\t\t\t$style = '';\n\t\t\tforeach ($save_prefs as $id => $data) {\n\t\t\t\t$style = ('class=\"alternate\"' == $style || 'class=\"alternate active\"' == $style) ? '' : 'alternate';\n\t\t\n\t\t\t\t$title = \"<a href='admin.php?import=$this->importer_code&amp;step=1&amp;sourceprefix={$data['sourceprefix']}' title='edit connection settings for {$data['sourceinnopac']}'>{$data['sourceprefix']} : {$data['sourceinnopac']}</a>\";\n\t\t\n\t\t\t\t$edit = \"<a href='admin.php?import=$this->importer_code&amp;step=1&amp;sourceprefix={$data['sourceprefix']}' title='edit connection settings for {$data['sourceinnopac']}'>edit</a>\";\n\t\t\n\t\t\t\t$delete = \"<a href='admin.php?import=$this->importer_code&amp;step=2&amp;sourceprefix={$data['sourceprefix']}' title='delete the connection to {$data['sourceinnopac']}'>delete</a>\";\n\t\t\n\t\t\t\t$import = \"<a href='admin.php?import=$this->importer_code&amp;step=3&amp;sourceprefix={$data['sourceprefix']}' title='import records from Innopac {$data['sourceinnopac']}'>import</a>\";\n\t\t\n\t\t\t\tif ($style != '')\n\t\t\t\t\t$style = 'class=\"'.$style.'\"';\n\t\t\t\techo \"\n\t\t\t\t\t<tr $style>\n\t\t\t\t\t\t<td class='import-system row-title'>$title</td>\n\t\t\t\t\t\t<td class='desc'>$edit | $import | $delete</td>\n\t\t\t\t\t</tr>\";\n\t\t\t}\n\t\t\techo '</table>';\n\t\t}else{\n\t\t\techo '<p>'. __( 'No connections configured.' ) . \" <a href='admin.php?import=$this->importer_code&amp;step=1' title='add a new connection'>\". __( 'Create a new one?' ) .'</a></p>';\n\t\t}\n\n\t\techo \"<p><a href='admin.php?import=$this->importer_code&amp;step=1' title='add a new connection'>\". __( 'Create a new connection' ) .'</a></p>';\n\t\n\t}", "function wpcf_admin_import_export_file_upload_error($file, $error_msg)\n{\n echo '<div class=\"message error\"><p>' . $error_msg . '</p></div>';\n}", "function _taxonomy_csv_info_chosen_options($options) {\n if (!isset($options['source_choice'])) {\n $options['source_choice'] = 'file';\n }\n // Local file, distant file or text.\n switch ($options['source_choice']) {\n case 'file':\n $message = t('File \"%file\" uploaded.', array(\n '%file' => $options['file']->filename));\n break;\n case 'text':\n $message = t('Import terms from text.');\n break;\n case 'url':\n $message = t('File \"<a href=\"!url\">%file</a>\" uploaded from an url.', array(\n '!url' => $options['url'],\n '%file' => basename($options['url'])));\n break;\n default:\n $message = t('Import from Api.');\n }\n\n // Content.\n $list = _taxonomy_csv_values('import_format');\n $message .= '<br />' . t('Source content: \"!import_format\".', array(\n '!import_format' => $list[$options['import_format']],\n )) . '<br />';\n\n // Existing items.\n $list = _taxonomy_csv_values('import_option');\n $message .= t('Existing terms choice: \"!import_items\".', array(\n '!import_items' => $list[$options['existing_items']],\n )) . '<br />';\n\n // Custom locale.\n if ($options['locale_custom']) {\n $message .= t('Custom locale \"!locale\" has been used.', array(\n '!locale' => $options['locale_custom'],\n ));\n }\n\n return $message;\n}", "private function should_try_to_display_notice() {\n\t\t// Jetpack Scan is currently not supported on multisite.\n\t\tif ( is_multisite() ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Check if VaultPress is active, the assumtion there is that VaultPress is working.\n\t\t// It has its own notice in the admin bar.\n\t\tif ( class_exists( 'VaultPress' ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Only show the notice to admins.\n\t\tif ( ! current_user_can( 'manage_options' ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t}", "public function errorShow()\n\t{\n\t\t$t = $this->template;\n\t\tif (! empty($this->errorExist))\n\t\t\t$t->addJsToHead($t->mod->errorField($this->errorExist));\n\t}", "public static function displayImport($args) {\n\t\tself::checkUserAuth();\n\t\t$user = new User($_SESSION['authorizeduser']['google']);\n\t\t$args = new stdClass();\n\t\t$args->username = $user->getUsername();\n\t\t$args->title = \"Import Books | \" . $args->username;\n\t\t$args->app_url = APP_URL;\n\t\t$args->books = Book::getCurrentBooks($args->username);\n\t\t$args->user = $user;\n\t\t$args->page = \"import\";\n\t\tself::displayTemplate('import.php', $args);\n\t}", "protected function showNoEntityTypesMessage() {\n drupal_set_message(t('Entities available for export have not been defined. <a href=\"/admin/cohesion/sync/export_settings\">Click here to go to the export settings.</a>'), 'warning');\n }", "function getImportDetails() {\n\t\t/* Get the logger */\n\t\t$csvilog = JRequest::getVar('csvilog');\n\t\t/* Get the template settings to see if we need a preview */\n\t\t$template = JRequest::getVar('template');\n\t\t\n\t\t$csvilog->AddMessage('debug', '<hr />');\n\t\t$csvilog->AddMessage('debug', JText::_('CSVI_VERSION_TEXT').JText::_('CSVI_VERSION'));\n\t\tif (function_exists('phpversion')) $csvilog->AddMessage('debug', 'PHP Version: '.phpversion());\n\t\t/* Show which template is used */\n\t\t$csvilog->AddMessage('debug', 'Using template: '.$template->template_name);\n\t\t\n\t\t/* Check delimiter char */\n\t\t$csvilog->AddMessage('debug', 'Using delimiter: '.$template->field_delimiter);\n\t\t\n\t\t/* Check enclosure char */\n\t\t$csvilog->AddMessage('debug', 'Using enclosure: '.$template->text_enclosure);\n\t\t\n\t\t/* Skip first line */\n\t\tif ($template->skip_first_line) $csvilog->AddMessage('debug', 'Skipping the first line');\n\t\telse $csvilog->AddMessage('debug', 'Not skipping the first line');\n\t\t\n\t\t/* Skip default value */\n\t\tif ($template->skip_default_value) $csvilog->AddMessage('debug', 'Skip default value');\n\t\telse $csvilog->AddMessage('debug', 'Not skipping default value');\n\t\t\n\t\t/* Overwrite existing data */\n\t\tif ($template->overwrite_existing_data) $csvilog->AddMessage('debug', 'Overwriting data');\n\t\telse $csvilog->AddMessage('debug', 'Do not overwrite data');\n\t\t\n\t\t/* Use column headers as configuration */\n\t\tif ($template->use_column_headers) $csvilog->AddMessage('debug', 'Use column headers for configuration');\n\t\telse $csvilog->AddMessage('debug', 'Do not use column headers for configuration');\n\t\t\n\t\t/* Show preview */\n\t\tif ($template->show_preview && (!JRequest::getVar('was_preview', false))) {\n\t\t\t$csvilog->AddMessage('debug', 'Using preview');\n\t\t}\n\t\telse {\n\t\t\tif (JRequest::getVar('was_preview', false)) {\n\t\t\t\t$csvilog->AddMessage('debug', 'Preview used');\n\t\t\t}\n\t\t\telse $csvilog->AddMessage('debug', 'Not using preview');\n\t\t}\n\t\t\n\t\t/* Show the file path */\n\t\t$csvilog->AddMessage('debug', JText::_('DEBUG_FILE_PATH').' '.$template->file_location_product_images);\n\t}", "protected function show_import_dialog()\n {\n $l_template = $this->m_userrequest->get_template();\n $l_rules = [];\n $l_is_connected = false;\n\n // Check connection to JDisc:\n try\n {\n $this->m_dao->get_configuration();\n }\n catch (Exception $l_exception)\n {\n $l_link = isys_helper_link::create_url(\n [\n C__GET__MODULE_ID => C__MODULE__SYSTEM,\n 'what' => 'jdisc_configuration',\n C__GET__MODULE_SUB_ID => C__MODULE__IMPORT,\n C__GET__TREE_NODE => C__MODULE__IMPORT . '9'\n ]\n );\n\n $l_template->assign('error', sprintf(_L('LC__MODULE__JDISC__BROKEN_JDISC_CONFIGURATION'), $l_exception->getMessage(), $l_link));\n\n return;\n } // try\n\n try\n {\n $l_servers_res = $this->get_jdisc_servers();\n\n $l_server_arr = [];\n $l_profile_data = [];\n $l_group_data = [];\n $l_default_server = null;\n $l_is_jedi_version = true;\n $l_discovery_arr = [];\n\n while ($l_row = $l_servers_res->get_row())\n {\n $l_server_arr[$l_row['isys_jdisc_db__id']] = $l_row['isys_jdisc_db__host'] . ':' . $l_row['isys_jdisc_db__database'];\n $l_discovery_arr[$l_row['isys_jdisc_db__id']] = $l_row['isys_jdisc_db__host'] . ':' . $l_row['isys_jdisc_db__database'];\n if ($l_row['isys_jdisc_db__default_server'] > 0)\n {\n $l_default_server = $l_row['isys_jdisc_db__id'];\n } // if\n } // while\n\n if ($l_default_server === null)\n {\n $l_default_server = key($l_server_arr);\n } // if\n\n $l_is_connected = $this->m_dao->is_connected($l_default_server);\n\n if ($l_is_connected)\n {\n $this->switch_database($l_default_server);\n $l_is_jedi_version = $this->m_dao->is_jedi_version();\n\n $l_groups = $this->get_jdisc_groups();\n\n foreach ($l_groups as $l_group)\n {\n $l_group_data[$l_group['id']] = $l_group['name'] . ' (' . _L('LC__UNIVERSAL__ID') . ': ' . $l_group['id'] . ')';\n } // foreach\n\n asort($l_group_data);\n }\n else\n {\n $l_template->assign('error', _L('LC__MODULE__JDISC__ERROR_COULD_NOT_CONNECT_TO_JDISC_SERVER'));\n } // if\n\n // Check for profiles and groups:\n $l_profiles = $this->get_jdisc_profiles($l_default_server, true);\n\n foreach ($l_profiles as $l_profile)\n {\n $l_profile_data[$l_profile['id']] = $l_profile['title'];\n } // foreach\n\n $l_rules = [];\n $l_filter_types = [];\n $l_filter_files = [];\n\n if (($l_filter_dir = self::get_tpl_dir_filter()))\n {\n $l_filters = scandir($l_filter_dir);\n foreach ($l_filters AS $l_filter_file)\n {\n if ($l_filter_file == '.' || $l_filter_file == '..') continue;\n\n if (file_exists($l_filter_dir . $l_filter_file) && is_file($l_filter_dir . $l_filter_file))\n {\n $l_filter_files[] = $l_filter_dir . $l_filter_file;\n $l_filter_type = rtrim($l_filter_file, '.tpl');\n $l_filter_types[$l_filter_type] = 'LC__MODULE__JDISC__IMPORT__FILTER_TYPE__' . strtoupper($l_filter_type);\n } // if\n } // foreach\n } // if\n\n if (count($l_filter_types) > 0)\n {\n $l_rules['C__MODULE__JDISC__IMPORT__FILTER']['p_arData'] = serialize($l_filter_types);\n $l_template->assign('filter_files', $l_filter_files);\n }\n\n $l_rules['C__MODULE__JDISC__IMPORT__IP_CONFLICTS']['p_arData'] = serialize(get_smarty_arr_YES_NO());\n $l_rules['C__MODULE__JDISC__IMPORT__IP_CONFLICTS']['p_strSelectedID'] = 0;\n $l_rules['C__MODULE__JDISC__IMPORT__JDISC_SERVERS']['p_arData'] = serialize($l_server_arr);\n $l_rules['C__MODULE__JDISC__IMPORT__JDISC_SERVERS']['p_strSelectedID'] = $l_default_server;\n $l_rules['C__MODULE__JDISC__IMPORT__PROFILE']['p_arData'] = serialize($l_profile_data);\n if (!$l_is_jedi_version)\n {\n $l_rules['C__MODULE__JDISC__IMPORT__GROUP']['p_arData'] = serialize($l_group_data);\n } // if\n $l_rules['C__MODULE__JDISC__IMPORT__MODE']['p_arData'] = serialize(\n [\n '1' => 'LC__MODULE__JDISC__IMPORT__MODE_APPEND',\n '2' => 'LC__MODULE__JDISC__IMPORT__MODE_UPDATE',\n '2_4' => 'LC__MODULE__JDISC__IMPORT__MODE_OVERWRITE',\n '2_' => 'LC__MODULE__JDISC__IMPORT__MODE_UPDATE_NEW_DISCOVERED'\n ]\n );\n $l_rules['C__MODULE__JDISC__IMPORT__MODE']['p_strSelectedID'] = 2;\n $l_rules['C__MODULE__JDISC__DISCOVERY__JDISC_SERVERS']['p_arData'] = serialize($l_discovery_arr);\n\n $l_template->assign('jedi_version', $l_is_jedi_version)\n ->assign('ip_unique_check', (isys_tenantsettings::get('cmdb.unique.ip-address')) ? '0' : '1');\n if (!isys_tenantsettings::get('cmdb.unique.ip-address'))\n {\n $l_template->assign('ip_overwrite_warning', _L('LC__MODULE__JDISC__IMPORT__OVERWRITE_IP_ADDRESSES__DESCRIPTION_ACTIVATED'));\n }\n else\n {\n $l_template->assign('ip_overwrite_info', _L('LC__MODULE__JDISC__IMPORT__OVERWRITE_IP_ADDRESSES__DESCRIPTION_DEACTIVATED'));\n } // if\n\n if (count($l_profiles) === 0)\n {\n $l_template->assign('error', _L('LC__MODULE__JDISC__MISSING_PROFILES'));\n\n return;\n } // if\n }\n catch (Exception $e)\n {\n $l_template->assign('error', nl2br($e->getMessage()));\n }\n\n $l_template->assign('discovery_tpl', $this->get_tpl_dir() . 'discovery.tpl')\n ->assign('is_connected', $l_is_connected)\n ->smarty_tom_add_rule(\"tom.content.bottom.buttons.*.p_bInvisible=1\")\n ->smarty_tom_add_rules('tom.content.bottom.content', $l_rules);\n }", "function mfn_before_import($import_id) {\n\terror_log('In mfn_before_import'.PHP_EOL, 3, './debug.log' );\n}", "function HandleImport()\n {\n $this->ImportForm();\n }", "public function doImport() {\n\n // collect file and import type information\n $this->_filename = JRequest::getString( 'filename');\n\n try {\n // read file content in an array\n $lines = file( $this->_filename, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);\n\n // start analysing\n if (empty( $lines)) {\n throw new Sh404sefExceptionDefault( 'COM_SH404SEF_ERROR_IMPORT');\n }\n\n // extract header line\n $header = array_shift( $lines);\n if (empty( $header)) {\n throw new Sh404sefExceptionDefault( 'COM_SH404SEF_ERROR_IMPORT');\n }\n\n // turn header into an array\n $header = $this->_lineToArray( $header);\n\n // count items\n $this->_total = count( $lines);\n\n // iterate through file content and create each record\n foreach( $lines as $line) {\n $this->_createRecord( $header, $line);\n }\n\n // get back memory\n unset( $lines);\n\n // delete temporary uploaded file\n JFile::delete( $this->_filename);\n\n // which button should be displayed ?\n $this->_visibleButtonsList = array ( 'terminate');\n\n // next steps definition\n $this->_steps = array( 'next' => 3, 'previous' => 0, 'cancel' => -1, 'terminate' => -2);\n\n // setup display of wizard last page\n $this->_result['hiddenText'] = '';\n $this->_result['mainText'] = JText::sprintf('COM_SH404SEF_IMPORT_DONE', $this->_total, $this->_context);\n $this->_result['mainText'] .= $this->_getTerminateOptions();\n \n } catch (Exception $e) {\n\n $this->_handleException( $e);\n\n }\n\n return $this->_result;\n\n }" ]
[ "0.6484787", "0.6394382", "0.63050276", "0.58850586", "0.58730143", "0.5804997", "0.5720393", "0.5689261", "0.5644135", "0.5526434", "0.5482257", "0.5468527", "0.5445507", "0.54185843", "0.53665304", "0.5342483", "0.5313591", "0.5301836", "0.5300717", "0.5290706", "0.52738094", "0.5258185", "0.5252455", "0.5220684", "0.52058697", "0.5190316", "0.51539165", "0.514022", "0.5134123", "0.5133976" ]
0.65101403
0
Returns the help document as a string
private function get_help_doc(){ // $nick will replace references in help.php $nick = $this->my_data->nick; // start sending output to buffer ob_start(); include('help.php'); // get text from buffer and close $help_doc = ob_get_clean(); return $help_doc; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function help()\r\n\t{\r\n\t\t$help = \"\";\r\n\t\treturn $help;\r\n\t}", "public function getHelp();", "public function getHelp();", "public function help() {\n $help = [];\n foreach ($this->commands as $c => $v) {\n $help[] = sprintf (\"%20s: %-s\", $c, $v['help']);\n }\n\n $output = \"\";\n switch ($this->output) {\n case 'text':\n $output = implode(\"\\n\", $help);\n break;\n\n case 'json':\n $output = json_encode($help, true);\n break;\n\n case 'html':\n // TODO:\n break;\n }\n return $output;\n }", "public function help()\n\t{\n\t\tif(!isset($this->help))\n\t\t\treturn '';\n\n\t\t$html = sprintf('<a href=\"%s\" target=\"%s\" class=\"helper\" title=\"%s\">%s</a>', $this->help_url,\n\t\t\t$this->help_target, htmlentities($this->help), $this->help_display);\n\n\t\treturn $html;\n\t}", "public function getHelp() : string\n {\n return self::$logo . parent::getHelp();\n }", "public function getHelp()\n {\n echo <<<EOS\nn/a\nEOS;\n }", "public function getHelp()\n {\n return $this->help;\n }", "public function help()\n {\n // You could include a file and return it here.\n return \"<h4>Overview</h4>\";\n }", "public function help_text()\n {\n return '';\n }", "public function help_text()\n {\n return sprintf(\"\\n\\t\" . '<span class=\"phorm_help\">%s</span>', htmlentities($this->help_text));\n }", "public function getHelpText()\n {\n return $this->helpText;\n }", "public function getHelpText()\n {\n return $this->helpText;\n }", "public function getHelp()\n\t{\n\t\treturn $this->run(array('help'));\n\t}", "public function getHelpText() {\n\t\treturn $this->helpText;\n\t}", "function get_help_text() {\r\n\t\treturn $this->help_text;\r\n\t}", "public function help()\n\t{\n\t\t// You could include a file and return it here.\n\t\treturn \"No documentation has been added for this module.<br />Contact the module developer for assistance.\";\n\t}", "function GetHelp()\r\n\t{\r\n\t\treturn $this->Lang(\"help\");\r\n\t}", "protected function getHelpText()\n {\n $helpText = $this->helpText;\n\n $this->helpText = false;\n\n return $helpText;\n }", "protected function getHelpOutput()\n {\n /* @var $result string */\n $result = \"\\n\";\n $result .= \"Copyright 2014 by Jasper van Herpt <[email protected]>\\n\";\n $result .= \"\\n\";\n $result .= \"Database actions:\";\n $result .= \"\\n\";\n $result .= \"Usage:\\t\\tacl database [clean-install|update] [--email=] [--help|-h] [--verbose|-v]\\n\";\n $result .= \"Examples:\\tacl database clean-install [email protected] --verbose\\n\";\n $result .= \"\\t\\tacl database update --verbose\\n\";\n $result .= \"\\t\\tacl database --help\\n\";\n $result .= \"\\n\";\n $result .= \"clean-install: Installs the database schema to the configurated database connection\\n\";\n $result .= \"\\t--e-mail\\t(required):\\tAny e-mail address\\n\";\n $result .= \"\\t--verbose|-v\\t(optional):\\tOutput progress\\n\";\n $result .= \"\\n\";\n $result .= \"update: Update the class data to the existing database schema.\\n\";\n $result .= \"\\t--verbose|-v\\t(optional):\\tOutput progress\\n\";\n $result .= \"\\n\";\n $result .= \"\\n\";\n $result .= \"Creating a new user\";\n $result .= \"\\n\";\n $result .= \"Usage:\\t\\tacl new-user --username=|-u --email=|-e --password=|-p [--help|-h] [--verbose|-v]\\n\";\n $result .= \"Example:\\tacl new-user [email protected] --password=something --verbose\\n\";\n $result .= \"This action will create a new admin user\";\n $result .= \"\\t--e-mail\\t(required):\\tAny e-mail address\\n\";\n $result .= \"\\t--password\\t(required):\\tA valid password, minimum 8 characters\\n\";\n return $result;\n }", "public function getHelpHtml()\n {\n return $this->helpHtml;\n }", "public function help()\n\t{\n\t\t// You could include a file and return it here.\n\t\treturn \"Some Help Stuff\";\n\t}", "public function actionGetHelp();", "public function help()\n\t{\n\t\treturn <<<HELP\n\nThe print task\n\nHELP;\n\t}", "public function help() {\n $f=appData::getParam('wsdl');\n $file=appData::getParam('wsdlpath').$f;\n $xml=file_get_contents($file);\n $x=htmlentities($xml,ENT_QUOTES,'UTF-8');\n $rc=[ \"[h3]The wdsl file ({$f}) defines the web service\n according to SOAP model \",\n \"<a href='{$file}' target=_blank>\n To see the file in a browser tab</a>\",\n ];\n return ['xml'=>$x,\n 'html'=>[\n 'html'=>htmlSimple::html($rc),\n 'styles'=>'',\n 'script'=>''\n ]\n ];\n }", "public function help()\n {\n // You could include a file and return it here.\n return '<p>Manage settings from streams. go to <a href=\"'.site_url('admin/streams').'\">Streams</a> to manage settings.</p>';\n }", "function GetHelpAction()\n {\n return \"Help\";\n }", "public function getHelp() {\n return parent::getHelp() . ' [command-name]';\n }", "public function help()\n\t{\n\n\t\t$str_cmd = $this->_get_cmd() . ' --help';\n\n\t\treturn $this->_exec($str_cmd);\n\n\t}", "public function getSource()\n {\n return 'help';\n }" ]
[ "0.7661133", "0.7640146", "0.7640146", "0.7628566", "0.7490687", "0.7452342", "0.7302494", "0.729817", "0.72831297", "0.7279029", "0.72662956", "0.7256524", "0.7256524", "0.725642", "0.7242618", "0.7123953", "0.711938", "0.7115216", "0.7100664", "0.7084974", "0.7037627", "0.7007334", "0.69913936", "0.6932411", "0.6910171", "0.6862302", "0.67861485", "0.6775532", "0.6766114", "0.6735038" ]
0.79672605
0
Updates the teamspeak server based on user
public function update($user) { // Establish teamspeak array $groups = collect(); $groupsNo = collect([37]); $add = collect(); $remove = collect(); if ($user->member->rank->id >= 2) { $groups->push(9); $groups->push($user->member->rank->teamspeak_id); //Admin Check - Rod and Striker and Oges if (($user->id == 1) || ($user->id == 2) || ($user->id == 3)) $groups->push(6); //Check if User is on LOA if($user->member->loa) { $groups->push(52); } //Check if user is in Reserve if($user->member->reserve) { $groups->push(53); } } else { $groups->push(38); } //Lets begin $uuids = $user->member->teamspeak; try { foreach ($uuids as $uid) { $user = $this->ts->clientDbFind($uid->uuid, true); $currentGroupsRequest = collect($this->ts->serverGroupsByClientID($user['data'][0]['cldbid'])); $currentGroups = collect(); foreach ($currentGroupsRequest['data'] as $severgroup) { $currentGroups->push($severgroup['sgid']); } // Remove items that are in the ignore list $currentGroups = $currentGroups->reject(function($value, $key) use ($groupsNo) { if($groupsNo->contains($value)) return true; }); //Find groups that need to be added $add = $groups->diff($currentGroups); $remove = $currentGroups->diff($groups); // Remove Groups foreach ($remove as $group) { $this->ts->serverGroupDeleteClient($group, $user['data'][0]['cldbid']); } // Add Groups foreach ($add as $group) { $this->ts->serverGroupAddClient($group, $user['data'][0]['cldbid']); } } return collect(['success' => true, 'message' => 'Teamspeak update successful.']); } catch (\ErrorException $e) { return collect(['success' => false,'error' => true, 'message' => 'Unable to add Teamspeak UUID, please verify unique id']); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function update(User $user, Server $server)\n {\n //\n }", "public function update(User $user, Server $server)\n {\n //\n }", "public function updateInfo( RPC_User $user );", "public function updateServer ( Auth_OAuth_Store_Server $server );", "public function updating()\n {\n $user = new User();\n $user->notify(new slackPosted());\n }", "function updateUser() {\n\t}", "public function update_user() {\r\n \r\n }", "public function updateUser()\n\t{\n\t\t//no implementation\n\t}", "function update_user(){\n }", "function updateUserSession() \n\t{\n\t\tglobal $db;\n\t\tglobal $userid;\n\t\tglobal $popout;\n\t\tglobal $popout_time;\n\t\t\n\t\tif ($popout AND $popout_time != \"99\") \n\t\t{\n\t\t\t$db->execute(\"\n\t\t\t\tUPDATE arrowchat_status \n\t\t\t\tSET session_time = '\" . time() . \"', popout = '\" . time() . \"' \n\t\t\t\tWHERE userid = '\" . $db->escape_string($userid) . \"'\n\t\t\t\");\n\t\t} \n\t\telse \n\t\t{\n\t\t\t$db->execute(\"\n\t\t\t\tUPDATE arrowchat_status \n\t\t\t\tSET session_time = '\" . time() . \"' \n\t\t\t\tWHERE userid = '\" . $db->escape_string($userid) . \"'\n\t\t\t\");\n\t\t}\n\t}", "function vesta_UsageUpdate($params) {\n\n // Prepare variables\n $postvars = array(\n 'user' => $params[\"serverusername\"],\n 'password' => $params[\"serverpassword\"],\n 'hash' => $params[\"serveraccesshash\"],\n 'cmd' => 'v-list-users',\n 'arg1' => 'json'\n );\n $postdata = http_build_query($postvars);\n\n // Get user stats\n $curl = curl_init();\n curl_setopt($curl, CURLOPT_URL, 'https://' . $params[\"serverhostname\"] . ':8083/api/');\n curl_setopt($curl, CURLOPT_RETURNTRANSFER,true);\n curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);\n curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);\n curl_setopt($curl, CURLOPT_POST, true);\n curl_setopt($curl, CURLOPT_POSTFIELDS, $postdata);\n $answer = curl_exec($curl);\n\n // Decode json data\n $results = json_decode($answer, true);\n\n // Loop through results and update DB\n foreach ($results AS $user=>$values) {\n update_query(\"tblhosting\",array(\n \"diskusage\"=>$values['U_DISK'],\n \"disklimit\"=>$values['DISK_QUOTA'],\n \"bwusage\"=>$values['U_BANDWIDTH'],\n \"bwlimit\"=>$values['BANDWIDTH'],\n \"lastupdate\"=>\"now()\",\n ),array(\"server\"=>$params['serverid'], \"username\"=>$user));\n }\n\n}", "public function update(HkmUserInterface $user, $value);", "function updateUser($user, $tableName) {\r\n\t\tif (!$this->table_exist($tableName)) {\r\n\t\t\t$this->replyJSON['sessionNotFound'] = true;\r\n\t\t\t$this->replyJSON['status'] = 'sessionNotFound';\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\t$userCheck = \"SELECT COUNT(*) as count FROM `\" . $tableName . \"` WHERE \r\n\t\t\t\t\t userid='{$user['userid']}'\";\r\n\t\t\t\t\t // OR ip='{$user['ip']}'\";\r\n\t\t\r\n\t\t$userCheck = mysqli_query ( $this->con, $userCheck );\r\n\t\t$userCheckResult = mysqli_fetch_assoc($userCheck);\r\n\t\t$userCheckResult = $userCheckResult ['count'];\r\n\t\t\r\n\t\tif ($userCheckResult > 0) {\r\n\t\t\t// Check for user joining session that he/she/it is already master of\r\n\t\t\t// Ideally, this is enforced on client side and prevented\r\n\t\t\t// Unfortunately, I have also written the client side code so..\r\n\t\t\tif ($user['selected_tubeID'] == null){\r\n\t\t\t\t$this->replyJSON['masterJoinError'] = true;\r\n\t\t\t\t$this->replyJSON['status'] = 'masterJoinErr';\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t$sql = \"UPDATE `\" . $tableName . \"` SET selected_tubeID = '{$user['selected_tubeID']}' \r\n\t\t\t WHERE userid = '{$user['userid']}'\";\r\n\t\t\t\r\n\t\t\tif (mysqli_query ( $this->con, $sql )) {\r\n\t\t\t\t//echo \"'$tableName' UPDATE command success\";\r\n\t\t\t\t$this->replyJSON['updateUser'] = true;\r\n\t\t\t} else {\r\n\t\t\t\t//echo \"Error updating user info to '$tableName': \" . mysqli_error ( $this->con );\r\n\t\t\t\t$this->replyJSON['updateUser'] = false;\r\n\t\t\t\t$this->replyJSON['status'] = 'updateUserErr';\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\t$sql = \"INSERT INTO `\" . $tableName . \"` (userid,user) VALUES\r\n\t\t\t(\r\n\t\t\t'{$user['userid']}',\r\n\t\t\t'{$user['user']}'\r\n\t\t\t) \";\r\n\t\t\t\r\n\t\t\tif (mysqli_query ( $this->con, $sql )) {\r\n\t\t\t\t$this->replyJSON['insertUser'] = true;\r\n\t\t\t} else {\r\n\t\t\t\t$this->replyJSON['insertUser'] = false;\r\n\t\t\t\t$this->replyJSON['status'] = 'insertUserErr';\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "function update()\n\t{\n\t\tif($this->data)\n\t\t{\n\t\t\t\n\t\t\t\n\t\t\t$mmm_id = $this->Session->read('id') ;\n\t\t\tif($this->Session->check('band_id'))\n\t\t\t{\n\t\t\t\t$band_id = $this->Session->read('band_id');\t\n\t\t\t}\n\t\t\telseif($this->Cookie->valid('bandid'))\n\t\t\t{\n\t\t\t\t$band_id=$this->Cookie->read('bandid');\n\t\t\t\t$band_id = $band_id['bandid'];\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t$this->Session->setFlash('Please select a band.');\n\t\t\t\t$this->redirect('/band/manage/');\n\t\t\t\texit;\n\t\t\t}\n\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t$user_id = $this->data['twitter']['user_id'];\n\t\t\t\t\t\t\n\t\t\t\t$qry = \" update twt_user\n\t\t\t\t\t set status=0\n\t\t\t\t\t where mmm_id='$mmm_id'\n\t\t\t\t\t and band_id = $band_id \";\n\t\t\t\t$this->Twtuser->query($qry);\n\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\tif($user_id!=\"none\")\n\t\t\t\t{\n\t\t\t\t$qry = \" update twt_user\n\t\t\t\t\t set status=1\n\t\t\t\t\t where mmm_id ='$mmm_id'\n\t\t\t\t\t and band_id = $band_id\n\t\t\t\t\t and user_id = $user_id\";\n\t\t\t\t\n\t\t\t\t$this->Twtuser->query($qry);\n\t\t\t\t}\n\t\t\t\t$this->Session->setFlash('Twitter user updated succesfully.');\n\t\t\t\t$this->redirect('/band/manage/');\n\t\t\t\texit;\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t} // if($this->data)\n\t\telse\n\t\t{\n\t\t\t\t$this->Session->setFlash('Invalid data.');\n\t\t\t\t$this->redirect('/band/manage/');\n\t\t\t\t\n\t\t} // if($this->data)\t\n\t}", "public function executeUpdate()\n {\n \tif ($this->getRequest()->getMethod() != sfRequest::POST)\n \t {\n \t \t$this->forward404();\n\t }\n\t$this->subscriber = $this->getUser()->getSubscriber();\n\t$this->forward404Unless($this->subscriber);\n\t\n\t//Update the users password\n\t\n\tif ($this->getRequestParameter('pass1')) \n\t{\n\t\t$this->subscriber->setUserPswd($this->getRequestParameter('pass1'));\n\t}\n\t\n\t//Update the users email\n\t\n\tif ($this->getRequestParameter('user_email'))\n\t{\n\t\t$this->subscriber->SetUserEmail($this->getRequestParameter('user_email'));\n\t}\n\t\n\tif ($this->getRequestParameter('user_about'))\n\t{\n\t\t$this->subscriber->setUserAbout($this->getRequestParameter('user_about'));\n\t}\n \t$this->subscriber->save();\n \t$this->redirect('@user_profile?login='.$this->subscriber->getUserLogin());\n\n }", "function ws_users_setInfo($params, &$service)\n{\n if (get_pwg_token() != $params['pwg_token'])\n {\n return new PwgError(403, 'Invalid security token');\n }\n\n global $conf, $user;\n\n include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');\n\n $updates = $updates_infos = array();\n $update_status = null;\n\n if (count($params['user_id']) == 1)\n {\n if (get_username($params['user_id'][0]) === false)\n {\n return new PwgError(WS_ERR_INVALID_PARAM, 'This user does not exist.');\n }\n\n if (!empty($params['username']))\n {\n $user_id = get_userid($params['username']);\n if ($user_id and $user_id != $params['user_id'][0])\n {\n return new PwgError(WS_ERR_INVALID_PARAM, l10n('this login is already used'));\n }\n if ($params['username'] != strip_tags($params['username']))\n {\n return new PwgError(WS_ERR_INVALID_PARAM, l10n('html tags are not allowed in login'));\n }\n $updates[ $conf['user_fields']['username'] ] = $params['username'];\n }\n\n if (!empty($params['email']))\n {\n if ( ($error = validate_mail_address($params['user_id'][0], $params['email'])) != '')\n {\n return new PwgError(WS_ERR_INVALID_PARAM, $error);\n }\n $updates[ $conf['user_fields']['email'] ] = $params['email'];\n }\n\n if (!empty($params['password']))\n {\n if (!is_webmaster())\n {\n $password_protected_users = array($conf['guest_id']);\n\n $query = '\nSELECT\n user_id\n FROM '.USER_INFOS_TABLE.'\n WHERE status IN (\\'webmaster\\', \\'admin\\')\n;';\n $admin_ids = query2array($query, null, 'user_id');\n\n // we add all admin+webmaster users BUT the user herself\n $password_protected_users = array_merge($password_protected_users, array_diff($admin_ids, array($user['id'])));\n\n if (in_array($params['user_id'][0], $password_protected_users))\n {\n return new PwgError(403, 'Only webmasters can change password of other \"webmaster/admin\" users');\n }\n }\n\n $updates[ $conf['user_fields']['password'] ] = $conf['password_hash']($params['password']);\n }\n }\n\n if (!empty($params['status']))\n {\n if (in_array($params['status'], array('webmaster', 'admin')) and !is_webmaster() )\n {\n return new PwgError(403, 'Only webmasters can grant \"webmaster/admin\" status');\n }\n \n if ( !in_array($params['status'], array('guest','generic','normal','admin','webmaster')) )\n {\n return new PwgError(WS_ERR_INVALID_PARAM, 'Invalid status');\n }\n\n $protected_users = array(\n $user['id'],\n $conf['guest_id'],\n $conf['webmaster_id'],\n );\n\n // an admin can't change status of other admin/webmaster\n if ('admin' == $user['status'])\n {\n $query = '\nSELECT\n user_id\n FROM '.USER_INFOS_TABLE.'\n WHERE status IN (\\'webmaster\\', \\'admin\\')\n;';\n $protected_users = array_merge($protected_users, query2array($query, null, 'user_id'));\n }\n\n // status update query is separated from the rest as not applying to the same\n // set of users (current, guest and webmaster can't be changed)\n $params['user_id_for_status'] = array_diff($params['user_id'], $protected_users);\n\n $update_status = $params['status'];\n }\n\n if (!empty($params['level']) or @$params['level']===0)\n {\n if ( !in_array($params['level'], $conf['available_permission_levels']) )\n {\n return new PwgError(WS_ERR_INVALID_PARAM, 'Invalid level');\n }\n $updates_infos['level'] = $params['level'];\n }\n\n if (!empty($params['language']))\n {\n if ( !in_array($params['language'], array_keys(get_languages())) )\n {\n return new PwgError(WS_ERR_INVALID_PARAM, 'Invalid language');\n }\n $updates_infos['language'] = $params['language'];\n }\n\n if (!empty($params['theme']))\n {\n if ( !in_array($params['theme'], array_keys(get_pwg_themes())) )\n {\n return new PwgError(WS_ERR_INVALID_PARAM, 'Invalid theme');\n }\n $updates_infos['theme'] = $params['theme'];\n }\n\n if (!empty($params['nb_image_page']))\n {\n $updates_infos['nb_image_page'] = $params['nb_image_page'];\n }\n\n if (!empty($params['recent_period']) or @$params['recent_period']===0)\n {\n $updates_infos['recent_period'] = $params['recent_period'];\n }\n\n if (!empty($params['expand']) or @$params['expand']===false)\n {\n $updates_infos['expand'] = boolean_to_string($params['expand']);\n }\n\n if (!empty($params['show_nb_comments']) or @$params['show_nb_comments']===false)\n {\n $updates_infos['show_nb_comments'] = boolean_to_string($params['show_nb_comments']);\n }\n\n if (!empty($params['show_nb_hits']) or @$params['show_nb_hits']===false)\n {\n $updates_infos['show_nb_hits'] = boolean_to_string($params['show_nb_hits']);\n }\n\n if (!empty($params['enabled_high']) or @$params['enabled_high']===false)\n {\n $updates_infos['enabled_high'] = boolean_to_string($params['enabled_high']);\n }\n\n // perform updates\n single_update(\n USERS_TABLE,\n $updates,\n array($conf['user_fields']['id'] => $params['user_id'][0])\n );\n\n if (isset($updates[ $conf['user_fields']['password'] ]))\n {\n deactivate_user_auth_keys($params['user_id'][0]);\n }\n\n if (isset($updates[ $conf['user_fields']['email'] ]))\n {\n deactivate_password_reset_key($params['user_id'][0]);\n }\n\n if (isset($update_status) and count($params['user_id_for_status']) > 0)\n {\n $query = '\nUPDATE '. USER_INFOS_TABLE .' SET\n status = \"'. $update_status .'\"\n WHERE user_id IN('. implode(',', $params['user_id_for_status']) .')\n;';\n pwg_query($query);\n }\n\n if (count($updates_infos) > 0)\n {\n $query = '\nUPDATE '. USER_INFOS_TABLE .' SET ';\n\n $first = true;\n foreach ($updates_infos as $field => $value)\n {\n if (!$first) $query.= ', ';\n else $first = false;\n $query.= $field .' = \"'. $value .'\"';\n }\n\n $query.= '\n WHERE user_id IN('. implode(',', $params['user_id']) .')\n;';\n pwg_query($query);\n }\n\n // manage association to groups\n if (!empty($params['group_id']))\n {\n $query = '\nDELETE\n FROM '.USER_GROUP_TABLE.'\n WHERE user_id IN ('.implode(',', $params['user_id']).')\n;';\n pwg_query($query);\n\n // we remove all provided groups that do not really exist\n $query = '\nSELECT\n id\n FROM `'.GROUPS_TABLE.'`\n WHERE id IN ('.implode(',', $params['group_id']).')\n;';\n $group_ids = array_from_query($query, 'id');\n\n // if only -1 (a group id that can't exist) is in the list, then no\n // group is associated\n \n if (count($group_ids) > 0)\n {\n $inserts = array();\n \n foreach ($group_ids as $group_id)\n {\n foreach ($params['user_id'] as $user_id)\n {\n $inserts[] = array('user_id' => $user_id, 'group_id' => $group_id);\n }\n }\n\n mass_inserts(USER_GROUP_TABLE, array_keys($inserts[0]), $inserts);\n }\n }\n\n invalidate_user_cache();\n\n pwg_activity('user', $params['user_id'], 'edit');\n\n return $service->invoke('pwg.users.getList', array(\n 'user_id' => $params['user_id'],\n 'display' => 'basics,'.implode(',', array_keys($updates_infos)),\n ));\n}", "public function update($user);", "public function setUser(\\phpbb\\user $user);", "function prefsUpdate()\n{\n\t$DB = Config::Database();\n\t$user = $DB->getTextValue($_POST['user']);\n\n\t$user_obj = new User();\n\t$user_obj->setName($_POST['user']);\n\t$user_obj->initPrefs();\n\n\t$DB->UpdateQuery('prefs', $_POST, \"user=$user\");\n}", "private final function updateUserInDatabase() {\n //there is actually nothing what we want to update..\n //maybe we set an callback liveupdates for the user data fields!\n }", "public function update($user)\n {\n }", "public function setUser( RPC_User $user );", "public function updateSettings(User $user, array $data);", "public function updateUser( $user );", "public function update($user)\n {\n\n }", "public static function updateUserOnline(){\n //depois que sair ele altera\n if(isset($_SESSION['online'])){\n $token = $_SESSION['online'];\n $horarioAtual = date('Y-m-d H:i:s'); // formatando a hora\n $sql = MySql::conectar()->prepare(\"UPDATE tb_admin_online SET ultima_acao = ? WHERE token = ?\");\n $sql->execute(array($horarioAtual, $token));\n\n } else{\n //aqui no else é a primeira vez que o usuario esta entrando no site\n /*\n depois vai fazer a inserção no banco de dados pegando o ip dele,\n pegando a date e o horario atual que ele entro no site\n e gerando um token unico para aquele usuario com o uniqid();\n */\n // o uniqid gera um indentificador unico;\n $_SESSION['online'] = uniqid();\n $token = $_SESSION['online'];\n $horarioAtual = date('Y-m-d H:i:s');\n $ip = $_SERVER['REMOTE_ADDR']; // aqui pega o valor do ip do usuario que estiver no site\n $sql = MySql::conectar()->prepare(\"INSERT INTO `tb_admin_online` VALUES (null,?,?,?)\");\n $sql->execute(array($ip, $horarioAtual, $token));\n }\n }", "public function update(SquadMSUser $user, Server $server)\n {\n return $user->can(Config::get('sqms-servers.permissions.module').' admin servers manage');\n }", "public function updateChapSetting($ietUserObj, $globalOrTarget) {\n\n $params = $ietUserObj->getCmdParams(); \n\n \n if ($globalOrTarget != \"globalsetting\") {\n \n $targetIqn = $globalOrTarget; \n \n $targetConfig = $this->getConfigTarget($targetIqn);\n $targetProc = $this->getTarget($targetIqn);\n \n $tid = $targetProc->getAttribute(\"id\");\n \n $cmd = CMD_IETADM . \" --op new --tid=$tid --user --params=$params\";\n \n \n exec($cmd, $output, $ret);\n \n if ($ret != 0) \n return $output;\n \n else {\n \n \n /* ietadm success. Add to iscsi_settings.xml */\n \n $userExists = false; \n $userType = $ietUserObj->getUserType();\n $userName = $ietUserObj->getUsername();\n $userPassword = $ietUserObj->getPassword();\n \n /* itemCounter keeps track of which usernode we're currently looping over */\n $itemCounter = 0;\n \n /* Check whether we're adding a new user or updating an existing one */\n \n $userTypeList = $targetConfig->getElementsByTagName($userType);\n \n if ($userTypeList) {\n \n /* $userTypeList is not null so an entry of $userType has been found */\n \n foreach ($userTypeList as $userTypeItem) { \n \n if ($userTypeItem->getAttribute(\"username\") == $userName) {\n \n /* found the user */\n $userExists = true;\n break;\n }\n \n else {\n \n /* This node is not the user, increment counter */\n \n $itemCounter++;\n }\n }\n \n }\n \n if (!$userExists) {\n \n /* We're adding a new user */\n \n $importedNode = $this->configDom->importNode($ietUserObj->serialize(), true); \n $targetConfig->appendChild($importedNode); \n \n }\n \n else {\n \n /* User exists so we're updating */\n \n $node = $userTypeList->item($itemCounter);\n $node->setAttribute(\"password\", $userPassword);\n }\n \n $this->configDom->saveDom();\n $this->reset(); \n } \n }\n \n else {\n \n $userCounter = 0; \n \n $cmd = CMD_IETADM . \" --op new --user --params=$params\";\n exec($cmd, $output, $ret);\n \n if ($ret != 0) \n return $output;\n \n else {\n \n $userExists = false; \n $userType = $ietUserObj->getUserType();\n $userName = $ietUserObj->getUsername();\n $userPassword = $ietUserObj->getPassword();\n \n $globalSettings = $this->configDom->getElementsByTagName(\"globalsettings\")->item(0);\n \n /* Check whether the user exists */\n \n $userList = $globalSettings->getElementsByTagName($userType);\n \n if ($userList) {\n \n /* $userList is not null so an entry exists */ \n \n foreach ($userList as $userNode) {\n \n if ($userNode->getAttribute(\"username\") == $userName) {\n \n $userExists = true;\n break; \n \n }\n \n else\n $userCounter++; \n \n }\n }\n \n if (!$userExists) {\n \n /* $userList is null or a user has not been found */\n \n $importedNode = $this->configDom->importNode($ietUserObj->serialize(), true);\n $globalSettings->appendChild($importedNode);\n \n \n }\n \n else {\n \n $userItem = $userList->item($userCounter);\n $userItem->setAttribute(\"password\", $userPassword); \n \n }\n \n $this->configDom->saveDom();\n $this->reset(); \n }\n }\n }", "public function update(User $user, ServerDatabase $key)\n {\n return true;\n }", "function update_profile($user) {\n $greetings_from = $this->get_greetings('user_from', $user);\n $gfromcount = count($greetings_from);\n $greetings_to = $this->get_greetings('user_to', $user);\n $gtocount = count($greetings_to);\n // Set some of the variables we will be using\n $fbml = '';\n $tomessage = '';\n $frommessage = '';\n $gf_str = '';\n $gt_str = '';\n // Set different messages based on the number of greetings to and from\n // the user.\n if ($gtocount) {\n $tomessage = \"<p><fb:name uid=\\\"$user\\\" firstnameonly=\\\"true\\\" useyou=\\\"false\\\" /> has been waved to $gtocount times.</p>\";\n } else {\n $tomessage = \"<p>No one has waved hello to <fb:name uid=\\\"$user\\\" firstnameonly=\\\"true\\\" useyou=\\\"false\\\" />!</p>\";\n }\n if ($gfromcount) {\n $frommessage = \"<p><fb:name uid=\\\"$user\\\" firstnameonly=\\\"true\\\" useyou=\\\"false\\\" /> has waved hello to $gfromcount people.</p>\";\n } else {\n $frommessage = \"<p><fb:name uid=\\\"$user\\\" firstnameonly=\\\"true\\\" useyou=\\\"false\\\" /> has not waved to anyone.</p>\";\n }\n // Both the wide and narrow profile blocks will contain the same number\n // of greetings, both to and from.\n foreach ($greetings_from as $greeting) {\n $gf_str .= \"<fb:if-can-see uid=\\\"$user\\\">\";\n $gf_str .= '<li><fb:name uid=\"' . $greeting['user_to'] . '\" useyou=\"false\" /></li>';\n $gf_str .= '</fb:if-can-see>';\n }\n foreach ($greetings_to as $greeting) {\n $gt_str .= \"<fb:if-can-see uid=\\\"$user\\\">\";\n $gt_str .= '<li><fb:name uid=\"' . $greeting['user_from'] . '\" useyou=\"false\" /></li>';\n $gt_str .= '</fb:if-can-see>';\n }\n $fbml .= '<fb:wide>';\n $fbml .= \"$frommessage\\n<ul>$gf_str</ul>\";\n $fbml .= \"$tomessage<ul>$gt_str</ul>\";\n $fbml .= '</fb:wide>';\n $fbml .= '<fb:narrow>';\n $fbml .= \"$frommessage\\n<ul>$gf_str</ul>\";\n $fbml .= \"$tomessage<ul>$gt_str</ul>\";\n $fbml .= '</fb:narrow>';\n // Using the fbclient object set on object contstruction, submit a\n // facebook.profile.setFBML request\n //! \\todo Throw an exception if the profile_setFBML method call fails\n $this->fbclient->api_client->profile_setFBML($fbml, $user);\n return 1;\n }" ]
[ "0.61919713", "0.61919713", "0.61594903", "0.6106374", "0.60867655", "0.60850817", "0.5889776", "0.5817075", "0.57697", "0.5723954", "0.5644537", "0.56078655", "0.55452555", "0.55416983", "0.5521423", "0.55107", "0.5478297", "0.54720783", "0.5446598", "0.5428069", "0.54251987", "0.5410906", "0.5379598", "0.5367371", "0.53582764", "0.5337655", "0.5311199", "0.5276415", "0.52601665", "0.52558225" ]
0.66120327
0
/ Fetch all tags for a given row/object and table $data = array( 'table' => 'posts',//Name of the table row_id is from 'row_id' => '1',//ID of the row that we want the tags for 'siteID' => null,//Optional ID of a single user 'limit' => 10,//Optional Max number of results 'offset' => 0//Optional Offset of results );
public function fetch_tags($data) { //If there is no table if (!$data['table'] || !$data['row_id']) { return; } //Select the Tag info $this->CI->db->select('tag, safe_tag, id, date'); $this->CI->db->distinct(); $this->CI->db->join( $this->tags, $this->tags_ref_prefix. '.tag_id = '. $this->tags_prefix. '.id', 'inner' ); $this->CI->db->where('table', $data['table']); $this->CI->db->where('row_id', $data['row_id']); //If a limit is implied if (isset($data['limit']) && $data['limit']) { $this->CI->db->limit( $data['limit'], (isset($data['offset']) ? $data['offset'] : null) ); } //If a siteID is given if (isset($data['siteID']) && $data['siteID']) { $this->CI->db->where($this->tags_ref_prefix. '.siteID', $data['siteID']); } $result = $this->CI->db->get($this->tags_ref); if ($result->num_rows()) { return $result->result_array(); } else { return false; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function fetch_rows($data)\n {\n //If there is no table\n if (!$data['table'] || !$data['tags']) {\n return;\n }\n\n //Add the WHERE clause for the tags\n $this->where_tags($data['tags']);\n\n //Select the Tag info\n //$this->CI->db->select('tag, safe_tag, date, row_id, siteID');\n //Don't need tag/user info because the GROUP BY will only show 1\n //tag/user for each row (even if there are may)\n $this->CI->db->select('row_id');\n $this->CI->db->group_by(\"row_id\");\n $this->CI->db->join(\n $this->tags_ref,\n $this->tags_ref_prefix. '.tag_id = '. $this->tags_prefix. '.id',\n 'inner'\n );\n $this->CI->db->where('table', $data['table']);\n\n //If a limit is implied\n if (isset($data['limit']) && $data['limit']) {\n $this->CI->db->limit(\n $data['limit'],\n (isset($data['offset']) ? $data['offset'] : null)\n );\n }\n\n //If a siteID is given\n if (isset($data['siteID']) && $data['siteID']) {\n $this->CI->db->where($this->tags_ref_prefix. '.siteID', $data['siteID']);\n }\n\n $result = $this->CI->db->get($this->tags);\n\n if ($result->num_rows()) {\n return $result->result_array();\n } else {\n return false;\n }\n }", "public function fetch_popular_tags($data)\n {\n //If there is no table\n if (!$data['table']) {\n return;\n }\n\n //Select the Tag info\n $this->CI->db->select('tag, safe_tag, id, date, COUNT(*) as count');\n //$this->CI->db->distinct();\n $this->CI->db->join(\n $this->tags,\n $this->tags_ref_prefix. '.tag_id = '. $this->tags_prefix. '.id',\n 'inner'\n );\n $this->CI->db->where('table', $data['table']);\n $this->CI->db->order_by('count DESC, tag ASC');\n $this->CI->db->group_by('tag');\n\n //If a limit is NOT implied\n if (!isset($data['limit']) || !$data['limit']) {\n $data['limit'] = 50;\n }\n\n //Only fetch up to limit number of rows\n $this->CI->db->limit(\n $data['limit'],\n (isset($data['offset']) ? $data['offset'] : null)\n );\n\n //If a siteID is given\n if (isset($data['siteID']) && $data['siteID']) {\n $this->CI->db->where($this->tags_ref_prefix. '.siteID', $data['siteID']);\n }\n\n $result = $this->CI->db->get($this->tags_ref);\n\n if ($result->num_rows()) {\n return $result->result_array();\n } else {\n return false;\n }\n }", "function _build_row_by_post()\n{\n\t$row = array(\n\t\t'tag_id' => $this->_post_class->get_post_get_int( 'tag_id' ),\n\t\t'tag_time_create' => $this->_post_class->get_post_int( 'tag_time_create' ),\n\t\t'tag_time_update' => $this->_post_class->get_post_int( 'tag_time_update' ),\n\t\t'tag_name' => $this->_post_class->get_post_text( 'tag_name' ),\n\t);\n\treturn $row;\n}", "public function fetchTags()\n {\n $results = $this->fetchAllAsArray(\n array(\n 'order' => array (\n 'tag ASC'\n ),\n 'eager' => array(\n 'posts'\n ),\n )\n );\n return $results;\n }", "function singletagblog($conn,$id)\n{\n\t$sqlFetch = \"select * from blog_post p,blog_real_tag r WHERE r.blog_post_id=p.blog_post_id and r.blog_tag_id='\".$id.\"'\";\n\t return $conn -> getResultArray($sqlFetch);\n}", "function getTags($module_key='', $user_key='', $entry_key='', $url_key='') {\r\n\t\r\n\t\tglobal $CONN, $CONFIG;\r\n\r\n\t\tif (isset($module_key) && $module_key!='') {\r\n\t\t\t$module_limit = \"AND module_key='$module_key'\";\t\r\n\t\t} else {\r\n\t\t\t$module_limit = '';\r\n\t\t}\r\n\t\tif (isset($user_key) && $user_key!='') {\r\n\t\t\t$user_limit = \"AND user_key='$user_key'\";\t\r\n\t\t} else {\r\n\t\t\t$user_limit = '';\r\n\t\t}\r\n\t\tif (isset($entry_key) && $entry_key!='') {\r\n\t\t\t$entry_limit = \"AND entry_key='$entry_key'\";\t\r\n\t\t} else {\r\n\t\t\t$entry_limit = '';\r\n\t\t}\r\n\t\tif (isset($url_key) && $url_key!='') {\r\n\t\t\t$url_limit = \"AND url_key='$url_key'\";\t\r\n\t\t} else {\r\n\t\t\t$url_limit = '';\r\n\t\t}\r\n\t\t$CONN->SetFetchMode('ADODB_FETCH_ASSOC');\r\n\r\n\t\t\r\n\t\treturn $CONN->GetArray(\"SELECT {$CONFIG['DB_PREFIX']}tags.tag_key, text, COUNT(*) as count FROM {$CONFIG['DB_PREFIX']}tags, {$CONFIG['DB_PREFIX']}tag_links WHERE {$CONFIG['DB_PREFIX']}tags.tag_key={$CONFIG['DB_PREFIX']}tag_links.tag_key $module_limit $user_limit $entry_limit $url_limit GROUP BY {$CONFIG['DB_PREFIX']}tags.tag_key ORDER BY count DESC\");\r\n\t\t\r\n\t\t$CONN->SetFetchMode('ADODB_FETCH_NUM');\r\n\t\t\t\t\r\n\t}", "public function fetchTagsForPublishedPosts()\n {\n //SELECT t.id as id, t.tag as tag, t.tag_slug as tag_slug, count(*) as count \n //FROM `foresmo_tags` as t \n //INNER JOIN `foresmo_posts_tags` as pt ON pt.tag_id = t.id \n //INNER JOIN `foresmo_posts` as p ON pt.post_id = p.id \n //WHERE p.status = 1 group by t.tag_slug\");\n\n $results = $this->fetchAllAsArray(\n array(\n 'cols' => array('id', 'tag', 'tag_slug', \"COUNT(*) AS count\"),\n 'order' => array (\n 'tag ASC'\n ),\n 'group' => array('tag_slug'),\n 'eager' => array(\n 'posts' => array(\n 'join_type' => 'inner',\n ),\n ),\n )\n );\n\n return $results;\n }", "function get_posts($hashtag_name)\n{\n $db = \\Db::dbc();\n\n $posts = [];\n\n $query = $db->prepare(\"SELECT DISTINCT * FROM tweet NATURAL JOIN useHashtag NATURAL JOIN hashtag WHERE nameHashtag = :hashtag_name\");\n $query->bindValue(\":hashtag_name\", $hashtag_name);\n $query->execute();\n\n while ($result = $query->fetch()) {\n $post = (object) array(\n \"id\" => $result[\"idTweet\"],\n \"text\" => $result[\"content\"],\n \"date\" => $result[\"dateTweet\"],\n \"author\" => \\Model\\User\\get($result[\"idUser\"])\n );\n $posts[] = $post;\n }\n\n return $posts;\n}", "public function fetchTagsForItem($id) {\n\t\t$this->table = 'item_tags';\n\n\t\t// create the SQL statement\n\t\t$select = new Select();\n\t\t$select->from($this->table, array());\n\t\t$select->join(array('t' => 'tags'), 'item_tags.tag_id = t.id', array('id', 'name'));\n $select->where(array('item_tags.item_id' => $id));\n\n // use this TableGateway object itself to execute the statement\n // thus returning the result set\n $resultSet = $this->selectWith($select);\n\n $objSet = array();\n\n // loop through results and return each row as an object\n\t\tforeach ($resultSet as $row) {\n\t\t\tarray_push($objSet, new Tag($this->adapter, $row));\n\t\t}\n\n\t\treturn $objSet;\n\t}", "function get_all_tags(){\n\n global $mysqli;\n\n // Get all tags\n $results = [];\n $sql = 'SELECT `id`, `tag` FROM `tags`';\n if ($result = $mysqli->query($sql)) {\n while ($row = $result->fetch_assoc()) {\n $results[$row['id']] = $row['tag'];\n }\n $result->free_result();\n }\n return $results;\n}", "public function get_list_tag(){\n $this->set_list(true);\n $initialfetch = (($this->page - 1) * $this->itemsforpage);\n $posts = $this->fetch(\"SELECT posts.id, posts.title, posts.picture, posts.category, posts.url, posts.meta FROM relation_tag INNER JOIN posts ON relation_tag.post = posts.id WHERE relation_tag.tag = $this->tag ORDER BY posts.id DESC LIMIT $initialfetch, $this->itemsforpage \");\n return $posts;\n }", "public function getTagsIt($like = false, $limit = false)\n {\n $query = '\nSELECT \n `name`,\n COUNT(DISTINCT bl.`blog_id`) AS `usecount`\nFROM `blog_tags` AS t\nLEFT JOIN `blog_to_tag` AS b ON\n b.`blog_tag_id_foreign` = t.`blog_tag_id`\nLEFT JOIN `blog` AS `bl` ON';\n // visibility\n $query .= '\n bl.`blog_id` = b.`blog_id_foreign` \n AND\n (\n (\n bl.`flags` & '.(int)Blog::FLAG_VIEW_PRIVATE.' = 0 \n AND bl.`flags` & '.(int)Blog::FLAG_VIEW_PROTECTED.' = 0\n )\n ';\n if ($member = $this->getLoggedInMember()) {\n $query .= '\n OR (bl.`flags` & '.(int)Blog::FLAG_VIEW_PRIVATE.' AND bl.IdMember = '.(int)$member->id.')\n OR (bl.`flags` & '.(int)Blog::FLAG_VIEW_PROTECTED.' AND bl.IdMember = '.(int)$member->id.')\n ';\n /** taken out pending refactoring and removal of user table \n OR (\n bl.`flags` & '.(int)Blog::FLAG_VIEW_PROTECTED.' \n AND\n (SELECT COUNT(*) FROM `user_friends` WHERE `user_id_foreign` = bl.`user_id_foreign` AND `user_id_foreign_friend` = '.(int)$member->id.')\n )\n */\n }\n $query .= '\n )\nWHERE\n'.($like && !empty($like)?' AND `name` = \\''.$this->dao->escape($like).'\\'':'1').'\nGROUP BY t.`blog_tag_id`\nHAVING `usecount` > 0\nORDER BY `usecount` DESC\n'.($limit?' LIMIT '.(int)$limit.'':'').'\n';\n $s = $this->dao->query($query);\n if (!$s) {\n throw new PException('Failed enumerating tags.');\n }\n return $s;\n }", "function get_all_tags(){\n // global scope that you want to use in a function\n global $db; \n\n $query = \"SELECT * FROM tags \";\n $query .= \"ORDER BY position ASC, display_name\";\n $result = mysqli_query($db, $query);\n\n // Test if query succeeded\n if (!$result) {\n exit(\"Database query failed: \" . $query);\n }\n\n return $result;\n }", "static private function _retrieveTagData() {\n\t\t$queryString = '\n\t\t\tSELECT resyst_tag.id as id, resyst_tag.tagname as name,\n\t\t\t\tresyst_tag.parenttag as parentName, resyst_tag.colour as colour\n\t\t\tFROM resyst_tag\n\t\t\tORDER BY parentName, id ASC\n\t\t';\n\t\t$pdo = DBConnector::getPDO();\n\t\t$query = $pdo->prepare($queryString);\n\n\t\t$query->execute(array());\n\n\t\treturn $query->fetchAll(PDO::FETCH_ASSOC);\n\t}", "function get_entries_list(){\n include \"connection.php\";\n\n try {\n return $db->query('SELECT entries.*, tags.tag FROM entries\n LEFT JOIN tags ON entries.id = tags.entry_id\n ORDER BY 3 DESC');\n\n } catch (Exception $e){\n echo $e->getMessage();\n return array();\n }\n\n\n}", "function entries_tagdata($tagdata, $row, $rows)\n\t{\n\t\tglobal $EXT, $LANG, $DB, $IN, $SESS;\n\n\t\t$EXT->end_script = FALSE;\n\t\t\n\t\tif($EXT->last_call !== false)\n\t\t{\n\t\t\t$tagdata = $EXT->last_call;\n\t\t}\n\t\t\n\t\tif(!isset($SESS->cache['restricted_member_groups']))\n\t\t{\n\t\t\t$entry_ids = array();\n\t\n\t\t\tforeach($rows->query->result AS $key)\n\t\t\t{\n\t\t\t\t$entry_ids[] = $key['entry_id'];\n\t\t\t}\n\t\t\n\t\t\t$entry_ids = \"'\".implode(\"','\", $entry_ids).\"'\";\n\t\t\n\t\t\t$sql = \"SELECT entry_id, member_groups FROM exp_entry_groups WHERE entry_id IN ({$entry_ids})\";\n\t\t\n\t\t\t$SESS->cache['restricted_member_group_data'] = $DB->query($sql);\n\t\t}\n\t\t\n\t\tforeach($SESS->cache['restricted_member_group_data']->result AS $key)\n\t\t{\t\t\t\n\t\t\tif ($key['entry_id'] == $row['entry_id'])\n\t\t\t{\n\t\t\t\t$groups = unserialize($key['member_groups']);\n\t\t\t\t\n\t\t\t\tforeach($groups AS $key => $value)\n\t\t\t\t{\n\t\t\t\t\tif($SESS->userdata['group_id'] == $value)\n\t\t\t\t\t{\n\t\t\t\t\t\t$tagdata = '';\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\n\t\treturn $tagdata;\n\t\n\t}", "function get_hot_tags($data)\n\t {\n\t $num = isset($data['num']) ? $data['num'] : 10;\n\t $startnum = isset($data['startnum']) ? $data['startnum'] : 0;\n\t\t$lang_code = isset($data['lang_code']) ? $data['lang_code'] : 'zh';\n\n\t\t$sql = \"SELECT tag_name,tag_id,count FROM tag WHERE langCode = '{$lang_code}' ORDER BY count DESC LIMIT {$startnum},{$num}\";\n\t\t$query = $this->db->query($sql);\n\n\t\t$tag_data = array();\n\n\t if($query->num_rows() > 0)\n\t {\n\t\t foreach($query->result() as $row)\n\t\t\t {\n\t\t\t array_push($tag_data, array('tag_name'=>$row->tag_name, 'tag_id'=>$row->tag_id, 'count'=>$row->count));\n\t\t\t }\n\t }\n\t return $tag_data;\n\t }", "public function get_all_posts_NF(){\n\t\t\t$USERTABLE = \"User\";\n\t\t\t//query\n\t\t\t$query = \"\n\n\t\t\tSELECT \n\t\t\t\t\".$this->table.\".post_id, \".$this->table.\".title, \".$this->table.\".content, \".$this->table.\".posted_at, \".$this->table.\".postpics, \".$USERTABLE.\".name, \".$USERTABLE.\".id, \".$USERTABLE.\".profilepic \n\n\t\t\tFROM \".$this->table.\" \n\n\t\t\tLEFT JOIN \".$USERTABLE.\"\n\n\t\t\tON \".$this->table.\".user_id = \".$USERTABLE.\".id\n\n\t\t\tORDER BY \".$this->table.\".posted_at DESC\n\n\t\t\tLIMIT 25\";\n\n\t\t\t//create stmt\n\t\t\t$stmt = $this->conn->prepare($query);\n\n\t\t\t//execute stmt\n\t\t\t$stmt->execute();\n\n\t\t\treturn $stmt;\n\t\t}", "public function getFromPostsTable()\n {\n $postData = $this->db->query('SELECT * FROM posts');\n return $postData->fetchAll();\n }", "function get_all_tags(){\n include('connection.php');\n $sql = 'SELECT id, tag FROM tags';\n try {\n $results = $db -> query($sql);\n } catch (Exception $e) {\n echo \"Error: \" . $e -> getMessage() . '<br/>';\n return array();\n }\n return $results -> fetchAll(PDO::FETCH_ASSOC);\n }", "function getPosts($threadID,$min,$max) {\n\n\t$posts = array();\n\t$mysqli = dbconnect();\n\t$stmt = $mysqli->stmt_init();\n\t//$stmt->prepare('SELECT * FROM posts WHERE threadID = 1 AND postSucc >= 1 AND postSucc <= 10 ORDER BY postSucc ASC');\n\t$stmt->prepare('SELECT * FROM posts INNER JOIN users WHERE threadID = ? AND postSucc >= ? AND postSucc <= ? AND posts.poster = users.username ORDER BY postSucc ASC');\n\t$stmt->bind_param('ddd', $threadID, $min, $max);\n\t$stmt->execute();\n\t$stmt->bind_result($threadID, $postSucc, $poster, $message, $timestamp,\n\t\t$username,$password,$salt,$admin,$avatar,$signature,$postCount);\n\t\n\t$stmt->store_result();\n\t\n\twhile ($stmt->fetch()) {\n\t\t$tmpUser = new User($username,$password,$salt,$admin,$avatar,$signature,$postCount);\n\t\t$posts[] = new Post($threadID, $postSucc, $tmpUser, $message, $timestamp);\n\t}\n\t//var_dump($posts);\n\t\n\treturn $posts;\n}", "private function getBlogEntries() {\n\n // @todo add pager with limit statement.\n\n $blog_entries = array();\n $query = 'SELECT be.blog_id, be.title, be.body, be.user_id, be.created, be.modified, u.username ';\n $query .= 'FROM blog_entries be ';\n $query .= 'JOIN users u ON u.user_id = be.user_id ';\n $result = $this->database->execute($query);\n if (!empty($result)) {\n while ($blog_entry = $result->fetch_object()) {\n // @todo create teaser view with shortend text.\n $blog_entries[$blog_entry->blog_id] = $blog_entry;\n }\n }\n return $blog_entries;\n }", "public function get_all_posts(){\n\t\t\t//query\n\t\t\t$query = \"SELECT * FROM \".$this->table.\" \n\n\t\t\t\t\t WHERE user_id = :user_id \n\n\t\t\t\t\t ORDER BY \".$this->table.\".posted_at DESC\";\n\n\t\t\t//create stmt\n\t\t\t$stmt = $this->conn->prepare($query);\n\n\t\t\t//bind param\n\t\t\t$stmt->bindParam(':user_id', $this->user_id);\n\t\t\t\n\t\t\t//execute stmt\n\t\t\t$stmt->execute();\n\n\t\t\treturn $stmt;\n\t\t}", "function get_all_user_posts() {\n return query(\"SELECT * FROM posts WHERE user_id=\".loggedInUserId().\"\" );\n}", "function get_posts(){\n\n global $db;\n\n $req = $db->query(\"SELECT * FROM posts ORDER BY date DESC\");\n\n $results = [];\n while($rows = $req->fetchObject()){\n $results[] = $rows;\n }\n\n return $results;\n\n\n}", "function get_post($user_id)\n {\n try {\n $p_arrayobj = new ArrayObject();\n $obj_count = new BaseClass;\n $obj_count->dbConnect();\n $stmt_count = $obj_count->dbconn->prepare(\"select p.id, p.description, t.name, u.profile_pic, p.created_at, p.timeline_id,p.user_id from posts p, users u, timelines t where p.user_id = u.id and u.timeline_id = t.id and p.user_id =$user_id and p.active=1\");\n $stmt_count->execute();\n $stmt_count->bind_result($id, $description, $p_username, $p_user_profile, $p_time, $timeline_id, $user_id);\n while ($stmt_count->fetch()) {\n $reg1 = new GetPost();\n $reg1->id = $id;\n $reg1->description = $description;\n $reg1->p_username = $p_username;\n $reg1->p_user_profile = $p_user_profile;\n $reg1->p_time = $p_time;\n $reg1->timeline_id = $timeline_id;\n $reg1->user_id = $user_id;\n $p_arrayobj->append($reg1);\n }\n $counter = count($p_arrayobj);\n $numrows = $counter;\n // number of rows to show per page\n $rowsperpage = 10;\n\n // find out total pages\n $totalpages = ceil($numrows / $rowsperpage);\n\n // get the current page or set a default\n if (isset($_GET['currentpage']) && is_numeric($_GET['currentpage'])) {\n $currentpage = (int)$_GET['currentpage'];\n } else {\n $currentpage = 1; // default page number\n }\n\n // if current page is greater than total pages\n if ($currentpage > $totalpages) {\n// set current page to last page\n $currentpage = $totalpages;\n }\n// if current page is less than first page\n if ($currentpage < 1) {\n// set current page to first page\n $currentpage = 1;\n }\n\n// the offset of the list, based on current page\n $offset = ($currentpage - 1) * $rowsperpage;\n\n//echo $offset;\n $obj = new BaseClass;\n $obj1 = new BaseClass;\n $obj2 = new BaseClass;\n $obj3 = new BaseClass;\n $post_arrayobj = new ArrayObject();\n $postcmt = new ArrayObject();\n $postlike = new ArrayObject();\n $postmda = new ArrayObject();\n $obj->dbConnect();\n $obj1->dbConnect();\n $obj2->dbConnect();\n $obj3->dbConnect();\n $pst = $obj->dbconn->prepare(\"select p.id, p.description, t.name, u.profile_pic, p.created_at, p.timeline_id,p.user_id from posts p, users u, timelines t where p.user_id = u.id and u.timeline_id = t.id and p.user_id =$user_id and p.active=1 ORDER BY p.id DESC LIMIT $offset, $rowsperpage\");\n $pst->execute();\n $pst->bind_result($id, $description, $p_username, $p_user_profile, $p_time, $timeline_id, $user_id);\n\n while ($pst->fetch()) {\n $reg = new GetPost();\n $reg->id = $id;\n $reg->description = $description;\n $reg->p_username = $p_username;\n $reg->p_user_profile = $p_user_profile;\n $reg->p_time = $p_time;\n $reg->timeline_id = $timeline_id;\n $reg->user_id = $user_id;\n\n\n $medeaarr = [];\n $mst = $obj1->dbconn->prepare(\"select pm.media_url from post_media pm where pm.post_id=$id\");\n $mst->execute();\n $mst->bind_result($media);\n while ($mst->fetch()) {\n $medeaarr['media'] = $media;\n $postmda[] = $medeaarr;\n }\n $reg->media[] = $postmda;\n $mst->close();\n\n $likearr = [];\n $like = $obj2->dbconn->prepare(\"SELECT t.name, u.profile_pic, u.id FROM post_likes pl, users u, timelines t WHERE pl.user_id = u.id and u.timeline_id = t.id and pl.post_id=$id\");\n $like->execute();\n $like->bind_result($like_name, $like_profile, $uid);\n while ($like->fetch()) {\n $likearr['user_name'] = $like_name;\n $likearr['profile'] = $like_profile;\n $likearr['like_uid'] = $uid;\n $postlike->append($likearr);\n }\n $reg->likes[] = $postlike;\n $like->close();\n\n $arr = [];\n $comment = $obj3->dbconn->prepare(\"select c.user_id, t.name, u.profile_pic, c.description from comments c, users u, timelines t where c.user_id = u.id and u.timeline_id = t.id and c.post_id=$id\");\n $comment->execute();\n $comment->bind_result($cuid, $username, $profile, $comments);\n while ($comment->fetch()) {\n $arr['c_uid'] = $cuid;\n $arr['user_name'] = $username;\n $arr['profile'] = $profile;\n $arr['comment'] = $comments;\n $postcmt->append($arr);\n }\n $reg->comments[] = $postcmt;\n $comment->close();\n $post_arrayobj->append($reg);\n }\n $pst->close();\n return $post_arrayobj;\n } catch (Exception $ex) {\n echo \"Caught exception: \" . $ex->getMessage();\n }\n }", "function getTags(mysqli_stmt $sql, string $arg) : array {\n $sql->bind_param(\"s\", $arg);\n $sql->execute();\n\n $tags = [];\n\n if($result = $sql->get_result()) {\n while($row = $result->fetch_assoc()) {\n $tags[] = (object) array(\n \"tag\" => $row[\"tag\"],\n \"priority\" => $row[\"priority\"]\n );\n }\n }\n else {\n die(\"Error getting panel tags from database.\");\n }\n\n return $tags;\n}", "public function delete_user_tags($data)\n {\n //If there is no table or row_id\n if (!$data['table'] || !$data['siteID']) {\n return;\n }\n\n //Where the tag is used by this user\n $this->CI->db->where('siteID', $data['siteID']);\n\n //Delete all tags_ref where this table and row are found\n $this->CI->db->delete($this->tags_ref);\n\n //return the rows deleted\n $rows = $this->CI->db->affected_rows();\n\n //Delete tags that are no-longer referenced by any row\n $this->delete_tags();\n\n return $rows;\n }", "function getContentTags($params)\n{\n\n\t$sendParams = array();\n\t$validParams = array(\"action\",\"tablename\",\"id\",\"orderby\");\n\n\t$sql = \"SELECT content_terms.id, content_terms.termid, terms.name,term_taxonomy.taxonomy\";\n\n\t$sql .= \" FROM `content_terms`\";\n\n\t$sql .= \" LEFT JOIN term_taxonomy ON term_taxonomy.id = content_terms.termid\";\n\t$sql .= \" LEFT JOIN terms ON terms.id = term_taxonomy.termid\";\n\n\tif (isset($params['contentid']))\n\t{\n\t\t$sql .= \" WHERE contentid IN ( \";\n\n\t\t$manyvalues = explode(\",\",$params['contentid']);\n\t\tforeach($manyvalues as $value)\n\t\t{\n\t\t\t$sql .= \" :singlevalue\".$value.\", \";\n\t\t\t$sendParams['singlevalue'.$value] = $value;\n\t\t}\n\t\t$sql = substr($sql,0,strlen($sql)-2); //remove last comma and space\n\t\t$sql .= \" )\";\n\t}\n\telse\n\t{\n\t\tdie(\"No contentid was provided\");\n\t}\n\n\tforeach ($params as $key=>$value)\n\t{\n\t\tif (!in_array($key,$validParams))\n\t\t{ // this is a custom parameter\n\t\t\t$sql .= \" AND \" . $key . \" = :\".$key;\n\t\t\t$sendParams[$key] = $value;\n\t\t}\n\t}\n\t$sql .= \" ORDER BY id ASC\";\n\n\t// get the results\n\t$result = queryDatabase($sql, $sendParams);\n\n\t// return the results\n\treturn $result;\n}", "function kordat_getrecords($wpatts) {\n\t///gather wordpress options\n\t$restful_url = get_option('kordat_dbapi') . KORA_PLUGIN_RESTFUL_SUBPATH;\n\t$token = get_option('kordat_dbtoken');\n\t$user = get_option('kordat_dbuser');\n\t$pass = get_option('kordat_dbpass');\n\n\t///gather formatting options\n\t$pid = $wpatts['pid'];\n\t$sid = $wpatts['sid'];\n\t$gftitle = $wpatts['kg_title'];\n\t$gfperpage = $wpatts['kg_perpage'];\n\t$gftheme = $wpatts['kg_theme'];\n\t$gfheight = $wpatts['kg_height'];\n\t$gfwidth = $wpatts['kg_width'];\n\t// HANDLE TRUE/FALSE/YES/NO FOR THIS PROPERTY PASSING IT THEN TO KORAGRID AS EXPECTED\n\t$gfsearch = (get_bool_setting($wpatts['kg_search'], false)) ? 'Yes' : 'No';\n\n\t//advanced filter options\n\t$query = $wpatts['query'];\n\t$fieldsarg = ($wpatts['fields'] != '') ? '&fields='.urlencode($wpatts['fields']) : '';\n\t$display = 'grid';\n\t$scheme_proj_token = get_option('kordat_scheme_dbproj_token');\n\t$length_spt=sizeof($scheme_proj_token);\n\t$url=array();\n\tfor($i=0;$i<length_spt;$i=$i+3){\n\t\t$url_new = $restful_url.'?request=GET&pid='.$scheme_proj_token[$i+1].'&sid='.$scheme_proj_token[$i].'&token='.$scheme_proj_token[$i+2].'&display='.urlencode($display).'&gr_title='.urlencode($gftitle).'&gr_pagesize='.urlencode($gfperpage).'&gr_theme='.urlencode($gftheme).'&gr_height='.urlencode($gfheight).'&gr_width='.urlencode($gfwidth).'&gr_search='.urlencode($gfsearch).$fieldsarg.'&query='.urlencode($query);\n\t\tarray_push($url,$url_new);\n\t}\n\t//$url1 = $restful_url.'?request=GET&pid='.$pid[0].'&sid='.$sid[0].'&token='.$token[0].'&display='.urlencode($display).'&gr_title='.urlencode($gftitle).'&gr_pagesize='.urlencode($gfperpage).'&gr_theme='.urlencode($gftheme).'&gr_height='.urlencode($gfheight).'&gr_width='.urlencode($gfwidth).'&gr_search='.urlencode($gfsearch).$fieldsarg.'&query='.urlencode($query);\n\n\t///initialize post request to KORA API using curl\n\t$server_output=array();\n\tforeach($url as $value){\n\t\t$ch = curl_init($value);\n\t\tcurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\t\tcurl_setopt($ch, CURLOPT_USERPWD, $user.':'.$pass);\n\n\t///capture results and display\n\t\t\t$server_output1 = array(curl_exec($ch));\n\t\tarray_push($server_output,$server_output1);\n\t\t//$server_output = curl_exec($ch);\n\t\treturn $server_output;\n\t}\n}" ]
[ "0.7530914", "0.63859713", "0.6357295", "0.6201121", "0.5953921", "0.590984", "0.5846678", "0.584262", "0.5800528", "0.5777042", "0.57684565", "0.5766206", "0.569616", "0.5668362", "0.56499755", "0.5628388", "0.5598036", "0.5596044", "0.5592658", "0.5575097", "0.55502546", "0.5538599", "0.5535399", "0.5533792", "0.55308807", "0.552964", "0.552327", "0.5518878", "0.55070704", "0.5447843" ]
0.7369692
1
/ Fetch the most popular/used tags $data = array( 'table' => 'posts',//Name of the table row_id is from 'siteID' => null,//Optional ID of a single user 'limit' => 10,//Optional Max number of results 'offset' => 0//Optional Offset of results );
public function fetch_popular_tags($data) { //If there is no table if (!$data['table']) { return; } //Select the Tag info $this->CI->db->select('tag, safe_tag, id, date, COUNT(*) as count'); //$this->CI->db->distinct(); $this->CI->db->join( $this->tags, $this->tags_ref_prefix. '.tag_id = '. $this->tags_prefix. '.id', 'inner' ); $this->CI->db->where('table', $data['table']); $this->CI->db->order_by('count DESC, tag ASC'); $this->CI->db->group_by('tag'); //If a limit is NOT implied if (!isset($data['limit']) || !$data['limit']) { $data['limit'] = 50; } //Only fetch up to limit number of rows $this->CI->db->limit( $data['limit'], (isset($data['offset']) ? $data['offset'] : null) ); //If a siteID is given if (isset($data['siteID']) && $data['siteID']) { $this->CI->db->where($this->tags_ref_prefix. '.siteID', $data['siteID']); } $result = $this->CI->db->get($this->tags_ref); if ($result->num_rows()) { return $result->result_array(); } else { return false; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function popular_posts( $request ) {\r\n\t\t// Get the total count of items required.\r\n\t\t$count = $this->get_param( $request, 'count', 0 );\r\n\r\n\t\t// Get the widget instance.\r\n\t\t$widget = Google_Analytics\\Widgets\\Popular::instance();\r\n\r\n\t\t// Get top posts list.\r\n\t\t$list = $widget->get_list( $count );\r\n\r\n\t\t// Send response.\r\n\t\treturn $this->get_response( $list );\r\n\t}", "function ub_get_popular_dataset() {\n\n\t// Get posts that match tags and categories, but are not part of the dataset.\n\t$PopularPostsArgs = array(\n\t\t'posts_per_page' => -1,\n\t\t'meta_query' => array(\n\t\t\tarray(\n\t\t\t\t'key' => 'ub_post_engagement',\n\t\t\t\t'value' => 0,\n\t\t\t\t'compare' => '>',\n\t\t\t)\n\t\t),\n\t);\n\n\t$popular_posts = [];\n\t$PopularPosts = new WP_Query( $PopularPostsArgs );\n\twhile ( $PopularPosts->have_posts() ) : $PopularPosts->the_post();\n\n\t\t$currentPostEngagement = get_post_meta( get_the_id(), 'ub_post_engagement', true )[ 'total' ];\n\n\t\t// Add post to reccomended posts array with id and engagement value\n\t\t$popular_posts[] = array( 'id' => get_the_ID(), 'total' => $currentPostEngagement, 'name' => get_the_title(), );\n\n\tendwhile;\n\twp_reset_query();\n\n\t// Sort $popular_posts from most total engagement to lowest\n\tusort( $popular_posts, function ( $a, $b ) {\n\t\treturn $b[ 'total' ] <=> $a[ 'total' ];\n\t});\n\n\t// Limit popular posts to $limit\n\t$popular = [];\n\tfor( $i = 0; $i < 10; $i++ ) {\n\t\t$popular[ $i ] = $popular_posts[ $i ];\n\t}\n\n\t// Return array\n\treturn $popular;\n\n}", "function mostpopular_feed_query( $args = array() ) {\n if ( !function_exists( 'stats_get_daily_history' ) ) {\n\t\tdie( 'Call to undefined function stats_get_daily_history().' );\n\t}\n\n\tglobal $wpdb, $filtered_post_ids, $mostpopular_duration;\n \n\t$args['cachelife'] = 3600;\n\t$args['includepages'] = (bool) ( ( isset( $_GET['includepages'] ) ) && ( !empty( $_GET['includepages'] ) ) ) ? $_GET['includepages'] : false;\n\t$args['limit'] = (int) ( ( isset( $_GET['limit'] ) ) && ( !empty( $_GET['limit'] ) ) ) ? $_GET['limit'] : 10;\n\t\n\tif ( ( $args['limit'] >= 100 ) || ( $args['limit'] == -1 ) ) { \n\t\t$args['limit'] = 100;\n\t}\n\n\tif ( $args['limit'] == 0 ) { \n\t\t$args['limit'] = 10;\n\t}\n\n $args['duration'] = (int) ( ( isset( $_GET['duration'] ) ) && ( !empty( $_GET['duration'] ) ) ) ? $_GET['duration'] : 90;\n $mostpopular_duration = apply_filters( \"mostpopular_max_duration\", $args['duration'] );\n\n\t$cacheid = md5( \"\" . __FUNCTION__ . \"|{$args['limit']}|{$args['duration']}|{$args['includepages']}|{$args['cachelife']}\" );\n\n $filtered_post_ids = wp_cache_get( $cacheid, 'output' );\n\t\t\n\tif ( empty( $filtered_post_ids ) ) {\n\n $topposts = array();\n\n $topposts = array_shift(stats_get_daily_history(false, $wpdb->blogid, 'postviews', 'post_id', false, $mostpopular_duration, '', 100, true));\n\n\t\tif ( $topposts ) {\n\n $tpcacheid = md5( \"topposts_\" . $mostpopular_duration . '_' . $wpdb->blogid );\n wp_cache_add( $tpcacheid, $topposts, 'output', $args['cachelife'] );\n \n\t\t\tforeach ( $topposts as $id => $views ) {\n\t\t\t\t$post = get_post( $id );\n\t\t\t\t\n\t\t\t\tif ( empty( $post ) ) {\n \t\t\t\t\t$post = get_page( $id );\n\t\t\t\t}\n\t\t\n\t\t\t\tif ( $post->post_status == 'publish' ) {\n if ( ( $post->post_type == 'post' ) || ( $args['includepages'] ) ) {\n $filtered_post_ids[] = $id;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tif ( $args['limit'] >= 0 ) { \n\t\t\t$filtered_post_ids = array_slice( $filtered_post_ids, 0, $args['limit'] );\n\t\t}\n\t\t\n wp_cache_add( $cacheid, $filtered_post_ids, 'output', $args['cachelife'] );\n\t}\n\n query_posts( array( \"post__in\" => $filtered_post_ids, \"orderby\" => \"none\", \"feed\" => 1, 'posts_per_page' => count( $filtered_post_ids ) ) );\n \n}", "protected function loadPopularTags()\n {\n $q = new Doctrine_Query;\n $q->from('Tagging tg, tg.Tag t, tg.UllUser x');\n $q->limit(sfConfig::get('app_sfDoctrineActAsTaggablePlugin_limit', 100));\n $this->tags_pop = TagTable::getPopulars($q, array('model' => 'UllUser'));\n $this->tagurl = str_replace('%25', '%', ull_url_for(array('module' => 'ullUser', 'action' => 'list', 'filter[search]' => '%s')));\n }", "public function popular_blogs(){\n $popular_blogs = \\DB::table('visitors')\n ->select('blogs.*','surname','othername', \\DB::raw('count(visitors.id) as total'))\n ->join('blogs', 'visitors.id_post', '=', 'blogs.id')\n ->join('users', 'blogs.user_id', '=', 'users.id')\n ->where('category', '=', 'blog')\n ->where('blog_status', '=', 'Published')\n ->groupBy('id_post')\n ->orderBy('total', 'desc')\n ->limit(2)\n ->get();\n return $popular_blogs;\n }", "public function getMyFeedByPopularity_post()\r\n {\r\n $user_id = $this->input->post('user_id');\r\n $user_type = $this->input->post('user_type');\r\n $loginuser_id = $this->input->post('loginuser_id');\r\n if (empty($user_id && $user_type && $loginuser_id)) {\r\n $this->response([\r\n 'status' => false,\r\n \"message\" => \"Please fill all the fields.\",\r\n ], REST_Controller::HTTP_NOT_FOUND);\r\n } else {\r\n $sort = $this->Feed_model->getMyFeedByPopularity($user_id, $user_type, $loginuser_id);\r\n $final = array();\r\n foreach ($sort as $value) {\r\n $author = explode(',', $value->author_id);\r\n $booker = explode(',', $value->booker_id);\r\n $tagger = explode(',', $value->tagger_id);\r\n $value->author = $this->Feed_model->UserNameId($author);\r\n $value->booker = $this->Feed_model->UserNameId($booker);\r\n $value->Tagger = $this->Feed_model->UserNameId($tagger);\r\n $final[] = $value;\r\n }\r\n if ($final) {\r\n $this->response([\r\n 'status' => true,\r\n 'Message' => 'Feed by popularity.',\r\n 'data' => $final,\r\n ], REST_Controller::HTTP_OK);\r\n } else {\r\n $this->response([\r\n 'status' => false,\r\n 'Message' => 'No feed found.',\r\n 'data' => $final,\r\n ], REST_Controller::HTTP_NOT_FOUND);\r\n }\r\n }\r\n }", "function topTags($limit = 30)\n\t{\n\t\t$ret = false;\n\t\t$q = 'SELECT tag_id, COUNT(tag_id) AS frequency\n\t\t\t\tFROM task_tag\n\t\t\t\tGROUP BY tag_id\n\t\t\t\tORDER BY frequency DESC\n\t\t\t\tLIMIT '.intval($limit);\n\t\tif ($r = $this->s->db->Select($q))\n\t\t{\n\t\t\t$ret = array();\n\t\t\tforeach ($r as $row)\n\t\t\t{\n\t\t\t\t$ret[] = array('tag_id' => $row['tag_id'],\n\t\t\t\t\t\t\t\t'frequency' => $row['frequency']);\t\t\t\n\t\t\t}\n\t\t}\n\t\treturn $ret;\n\t}", "public function createListPostsPopular() {\n $condition = array(\n \"order_by\" => \"p_view_count\",\n \"type\" => 'post',\n \"status\" => 'public',\n );\n $this->_data['populars'] = $this->MPost->getPosts($condition, \n array('records' => 10, 'begin' => 0))['posts'];\n }", "function KRS_STG_stt2_db_get_popular_tags($id)\r\n\t{\r\n\t\t$a_results = wp_cache_get('stt2_get_popular_tags_' . $id);\r\n\t\tif (false == $a_results) {\r\n\t\t\tglobal $wpdb;\r\n\t\t\t$sql = \"SELECT meta_value FROM \" . $wpdb->prefix . \"stt2_meta WHERE ( post_id = \" . $id . \" AND meta_count > 25 AND meta_value NOT LIKE '%http%' ) ORDER BY meta_count DESC LIMIT 5;\";\r\n\t\t\t$a_results = $wpdb->get_results($sql);\r\n\t\t\twp_cache_set('stt2_get_popular_tags_' . $id, $a_results, 86400);\r\n\t\t}\r\n\t\tif ($a_results) {\r\n\t\t\tforeach ($a_results as $value) {\r\n\t\t\t\t$result .= $value->meta_value . ',';\r\n\t\t\t}\r\n\t\t\t$result = trim($result, ',');\r\n\t\t}\r\n\t\treturn $result;\r\n\t}", "function most_popular() {\n return $this->all();\n }", "public function getTagsIt($like = false, $limit = false)\n {\n $query = '\nSELECT \n `name`,\n COUNT(DISTINCT bl.`blog_id`) AS `usecount`\nFROM `blog_tags` AS t\nLEFT JOIN `blog_to_tag` AS b ON\n b.`blog_tag_id_foreign` = t.`blog_tag_id`\nLEFT JOIN `blog` AS `bl` ON';\n // visibility\n $query .= '\n bl.`blog_id` = b.`blog_id_foreign` \n AND\n (\n (\n bl.`flags` & '.(int)Blog::FLAG_VIEW_PRIVATE.' = 0 \n AND bl.`flags` & '.(int)Blog::FLAG_VIEW_PROTECTED.' = 0\n )\n ';\n if ($member = $this->getLoggedInMember()) {\n $query .= '\n OR (bl.`flags` & '.(int)Blog::FLAG_VIEW_PRIVATE.' AND bl.IdMember = '.(int)$member->id.')\n OR (bl.`flags` & '.(int)Blog::FLAG_VIEW_PROTECTED.' AND bl.IdMember = '.(int)$member->id.')\n ';\n /** taken out pending refactoring and removal of user table \n OR (\n bl.`flags` & '.(int)Blog::FLAG_VIEW_PROTECTED.' \n AND\n (SELECT COUNT(*) FROM `user_friends` WHERE `user_id_foreign` = bl.`user_id_foreign` AND `user_id_foreign_friend` = '.(int)$member->id.')\n )\n */\n }\n $query .= '\n )\nWHERE\n'.($like && !empty($like)?' AND `name` = \\''.$this->dao->escape($like).'\\'':'1').'\nGROUP BY t.`blog_tag_id`\nHAVING `usecount` > 0\nORDER BY `usecount` DESC\n'.($limit?' LIMIT '.(int)$limit.'':'').'\n';\n $s = $this->dao->query($query);\n if (!$s) {\n throw new PException('Failed enumerating tags.');\n }\n return $s;\n }", "public function popularTags(){\n\t\t$tags = DB::table('tags')->orderBy('popularity', 'desc')->take(5)->get();\n\t\t$popularTags = array();\t\t\n\t\tforeach($tags as $tag){\n\t\t\t$popularTags[] = $tag->tags;\n\t\t}\t\t\n\n\t\treturn response()->json($popularTags, 200);\n\t}", "function get_hot_tags($data)\n\t {\n\t $num = isset($data['num']) ? $data['num'] : 10;\n\t $startnum = isset($data['startnum']) ? $data['startnum'] : 0;\n\t\t$lang_code = isset($data['lang_code']) ? $data['lang_code'] : 'zh';\n\n\t\t$sql = \"SELECT tag_name,tag_id,count FROM tag WHERE langCode = '{$lang_code}' ORDER BY count DESC LIMIT {$startnum},{$num}\";\n\t\t$query = $this->db->query($sql);\n\n\t\t$tag_data = array();\n\n\t if($query->num_rows() > 0)\n\t {\n\t\t foreach($query->result() as $row)\n\t\t\t {\n\t\t\t array_push($tag_data, array('tag_name'=>$row->tag_name, 'tag_id'=>$row->tag_id, 'count'=>$row->count));\n\t\t\t }\n\t }\n\t return $tag_data;\n\t }", "public function __get_top_digest_posts()\n {\n $sql = \\TinyDb\\Sql::create()\n ->join('`posts` on (`posts`.`postID` = `groups_posts`.`postID`)')\n ->where('(select count(*) from `users_groups`\n where `users_groups`.`userID` = ?\n and `users_groups`.`groupID` = `groups_posts`.`groupID`) > 0', $this->userID)\n ->where('`posts`.`markdown` IS NOT NULL')\n ->where('(select count(*) from `groups_posts_read`\n where `groups_posts_read`.`postID` = `groups_posts`.`postID`\n and `groups_posts_read`.`groupID` = `groups_posts`.`groupID`\n and `groups_posts_read`.`userID` = ?) = 0', $this->userID)\n ->where('(`posts`.`in_reply_to_postID` is null or `groups_posts`.`reposted_by_userID` is not null)')\n ->order_by('`groups_posts`.`created_at` DESC')\n ->limit(50)\n\n ;\n\n $collection = new \\TinyDb\\Collection('\\FSStack\\Gruppe\\Models\\Group\\Post', $sql);\n\n $weights = array(\n 'has_image' => 2,\n 'has_video' => 3,\n 'has_title_question' => 6,\n\n 'wordcount' => 7,\n 'pcount' => 8,\n 'posed_questions' => 5,\n 'link_count' => 4,\n 'headings' => 1,\n\n 'score' => 10,\n );\n\n $dynamic_triggers = array(\n 'wordcount' => 300,\n 'pcount' => 3,\n 'posed_questions' => 2,\n 'link_count' => 2,\n 'headings' => 1,\n 'blockquotes' => 1,\n 'score' => 3\n );\n\n $max_score = 0;\n foreach ($weights as $k=>$v) {\n $max_score += $v;\n }\n\n $posts_scored = array();\n foreach ($collection as $post) {\n $scoring_factors =\n array(\n // Static\n 'has_image' => $post->post->image ? TRUE : FALSE,\n 'has_video' => $post->post->video ? TRUE : FALSE,\n 'has_title_question' => strpos($post->post->title, '?') >= 0,\n\n // Dynamic\n 'wordcount' => str_word_count($post->post->markdown),\n 'pcount' => substr_count($post->post->rendered_markdown, '<p>'),\n 'posed_questions' => substr_count($post->post->markdown, '? '),\n 'link_count' => substr_count($post->post->rendered_markdown, '</a>'),\n 'headings' => substr_count($post->post->rendered_markdown, '</h'),\n 'blockquotes' => substr_count($post->post->rendered_markdown, '<blockquote>'),\n 'score' => $post->score\n );\n\n $score = 0;\n foreach ($weights as $key=>$weight)\n {\n $val = $scoring_factors[$key];\n\n if (in_array($key, $dynamic_triggers)) {\n $percent_complete = min(1, ($val/$dynamic_triggers[$key]));\n $score += $weight * $score;\n } else {\n if ($val) {\n $score += $weight;\n }\n }\n }\n\n $score /= $max_score;\n\n $posts_scored[] = array(\n 'score' => $score,\n 'gpost' => $post\n );\n }\n\n usort($posts_scored, function($a, $b) {\n return $a['score'] < $b['score'];\n });\n\n $posts = array();\n foreach ($posts_scored as $post) {\n $posts[] = $post['gpost'];\n }\n\n return $posts;\n }", "public function newsMostPopular()\n {\n $sth = Database::getInstance()->prepare('SELECT n.title, n.id, COUNT( * ) as occurrence FROM news as n LEFT JOIN comments as cm ON n.id = cm.id_news GROUP BY n.id ORDER BY occurrence DESC LIMIT 1');\n if ($sth->execute()) {\n $count = $sth->fetch(PDO::FETCH_OBJ);\n if ($count) {\n $this->idNewsMostPopular = $count->id;\n $this->titleNewsMostPopular = $count->title;\n $this->countNewsMostPopular = $count->occurrence;\n }\n }\n }", "public static function retrieveTop () {\n\t\treturn self::retrieve()\n\t\t\t->from('entity', array('entity.*', 'cnt' => new Zend_Db_Expr('count(*)')))\n\t\t ->join ('pageview', 'pageview.entity = entity.id', array())\n\t\t ->group('entity.id')\n\t\t ->order('cnt desc')\n\t\t ->limit(20)\n\t\t\t->setRowClass('Model_Entity')\n\t\t\t->fetchAll();\n\t}", "public function fetchTagsForPublishedPosts()\n {\n //SELECT t.id as id, t.tag as tag, t.tag_slug as tag_slug, count(*) as count \n //FROM `foresmo_tags` as t \n //INNER JOIN `foresmo_posts_tags` as pt ON pt.tag_id = t.id \n //INNER JOIN `foresmo_posts` as p ON pt.post_id = p.id \n //WHERE p.status = 1 group by t.tag_slug\");\n\n $results = $this->fetchAllAsArray(\n array(\n 'cols' => array('id', 'tag', 'tag_slug', \"COUNT(*) AS count\"),\n 'order' => array (\n 'tag ASC'\n ),\n 'group' => array('tag_slug'),\n 'eager' => array(\n 'posts' => array(\n 'join_type' => 'inner',\n ),\n ),\n )\n );\n\n return $results;\n }", "public function get_popular_items(){\n\t\t// only get top 10 from the results\n\t\t$this->db->limit(10, 0);\n\t\t\n\t\t$this->db->select('jumlah_lihat, nama', FALSE);\n\t\t\n\t\t// order by the largest one\n\t\t$this->db->order_by('jumlah_lihat DESC');\n\t\t\n\t\treturn $this->db->get('barang')->result_array();\n\t}", "public function popularAction()\n\t{\n\t\t$entries = $this->computeStatistics('popular');\n\t\t$this->view->assign('entries', $entries);\n\t}", "public function get_list_tag(){\n $this->set_list(true);\n $initialfetch = (($this->page - 1) * $this->itemsforpage);\n $posts = $this->fetch(\"SELECT posts.id, posts.title, posts.picture, posts.category, posts.url, posts.meta FROM relation_tag INNER JOIN posts ON relation_tag.post = posts.id WHERE relation_tag.tag = $this->tag ORDER BY posts.id DESC LIMIT $initialfetch, $this->itemsforpage \");\n return $posts;\n }", "protected function popular()\n {\n// $this->query->getQuery()->orders = [];\n return $this->query->orderByDesc('replies_count');\n }", "function KRS_STG_stt2_db_get_popular_terms($count)\r\n\t{\r\n\t\t$result = wp_cache_get('stt2_popular_terms');\r\n\t\tif (false == $result) {\r\n\t\t\tglobal $wpdb;\r\n\t\t\t$result = $wpdb->get_results(\"SELECT `meta_value`,`meta_count`,`post_id` FROM `\" . $wpdb->prefix . \"stt2_meta` WHERE `post_id` != 0 ORDER BY `meta_count` DESC LIMIT \" . $count . \";\");\r\n\t\t\twp_cache_set('stt2_popular_terms', $result, 86400);\r\n\t\t}\r\n\t\treturn $result;\r\n\t}", "function getTopTags($max_entries = null)\n\t{\n\t\treturn $this->getGenericLevel3('tags', 'user', $max_entries);\n\t}", "public function mostActivePoster()\n {\n $sth = Database::getInstance()->prepare('SELECT u.username, u.avatar, u.mail, u.date, COUNT(*) AS count FROM news AS n INNER JOIN users AS u ON u.id = n.id_users GROUP BY u.id LIMIT 10');\n if ($sth->execute()) {\n return $sth->fetchAll(PDO::FETCH_OBJ);\n }\n }", "function count(){\r\n\t\t$this->Tag->PlacesTag->bindModel(array('belongsTo' => array('Tag')));\r\n\t\t$tags = $this->Tag->PlacesTag->find('all', array('fields'=>array('COUNT(*) as count','Tag.tag','Tag.id'),\r\n\t\t\t\t\t\t\t\t\t\t\t\t 'group'=> 'PlacesTag.tag_id',\r\n\t\t\t\t\t\t\t\t\t\t\t\t 'limit' => 30,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t'order' => 'count DESC'\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t)); \r\n\t\tif(isset($this->params['requested'])){\r\n\t\t\treturn $tags;\r\n\t\t}else{\r\n\t\t\t$this->set('tags',$tags);\r\n\t\t}\r\n\t}", "function GetMost(){ \n $LIMIT = 18;\n // most searched offer \n $query =$this->db -> select ('origin, lat, lng, count(\"origin\") as num ')\n -> where( \"is_active \", 1 )\n -> group_by('origin')\n -> limit( $LIMIT )\n -> order_by(\"num\", \"desc\" )\n -> get('searched'); \n\n // most created offer \n $query2 =$this->db -> select ('departure_place as origin, lat, lng, count(\"departure_place\") as num ')\n -> group_by('departure_place')\n -> limit( $LIMIT )\n -> order_by(\"num\", \"desc\" )\n -> get('offer_created'); \n\n if( $query && $query2 )\n return array( 'mostSearched' => $query->result_array(), 'mostCreated' => $query2->result_array() );\n else\n return FALSE;\n }", "public function count_tags($data)\n {\n //If there is no table\n if (!$data['table']) {\n return;\n }\n\n /*\n * SELECT COUNT(DISTINCT `safe_tag`) as count FROM ci_tags\n * INNER JOIN ci_tags_ref ON (id = tag_id) WHERE `siteID` = 0 AND `table` = 'posts'\n */\n\n //Select the Tag info\n $this->CI->db->select('COUNT(*) as count');\n $this->CI->db->join(\n $this->tags,\n $this->tags_ref_prefix. '.tag_id = '. $this->tags_prefix. '.id',\n 'inner'\n );\n $this->CI->db->where('table', $data['table']);\n $this->CI->db->order_by('count DESC');\n\n //If a siteID is given\n if (isset($data['siteID']) && $data['siteID']) {\n $this->CI->db->where($this->tags_ref_prefix. '.siteID', $data['siteID']);\n }\n\n //fetch the number of rows\n $result = $this->CI->db->get($this->tags_ref);\n\n return $result->result();\n }", "function wpcom_vip_get_most_shared_posts( $limit = 5, $cache_duration = 3600 ) {\n\tglobal $wpdb;\n\n\t// If not in the WordPress.com VIP environment, return some randomized dummy data.\n\tif ( false === WPCOM_IS_VIP_ENV ) {\n\t\t$shares = array();\n\n\t\tfor( $i = $limit; $i > 0; $i-- ) {\n\t\t\t$shares[] = (object) array( 'ID' => $i, 'total_shares' => ( $i * 1000 + rand( 0, 999 ) ) );\n\t\t}\n\n\t\treturn $shares;\n\t}\n\n\t// Look for cached results\n\t$cache_key = 'most_shared_posts_' . $wpdb->blogid . '_' . $limit . '_' . $cache_duration;\n\t$shares = wp_cache_get( $cache_key, 'vip_stats' );\n\n\t// No cache, so query the DB and set the cache\n\tif ( false === $shares ) {\n\t\t$shares = $wpdb->get_results( $wpdb->prepare( \"SELECT post_id as ID, SUM( count ) as total_shares FROM sharing_stats WHERE blog_id = %d GROUP BY post_id ORDER BY total_shares DESC LIMIT %d\", $wpdb->blogid, $limit ) );\n\t\t\n\t\twp_cache_set( $cache_key, $shares, 'vip_stats', $cache_duration );\n\t}\n\n\treturn $shares;\n}", "function getTags($module_key='', $user_key='', $entry_key='', $url_key='') {\r\n\t\r\n\t\tglobal $CONN, $CONFIG;\r\n\r\n\t\tif (isset($module_key) && $module_key!='') {\r\n\t\t\t$module_limit = \"AND module_key='$module_key'\";\t\r\n\t\t} else {\r\n\t\t\t$module_limit = '';\r\n\t\t}\r\n\t\tif (isset($user_key) && $user_key!='') {\r\n\t\t\t$user_limit = \"AND user_key='$user_key'\";\t\r\n\t\t} else {\r\n\t\t\t$user_limit = '';\r\n\t\t}\r\n\t\tif (isset($entry_key) && $entry_key!='') {\r\n\t\t\t$entry_limit = \"AND entry_key='$entry_key'\";\t\r\n\t\t} else {\r\n\t\t\t$entry_limit = '';\r\n\t\t}\r\n\t\tif (isset($url_key) && $url_key!='') {\r\n\t\t\t$url_limit = \"AND url_key='$url_key'\";\t\r\n\t\t} else {\r\n\t\t\t$url_limit = '';\r\n\t\t}\r\n\t\t$CONN->SetFetchMode('ADODB_FETCH_ASSOC');\r\n\r\n\t\t\r\n\t\treturn $CONN->GetArray(\"SELECT {$CONFIG['DB_PREFIX']}tags.tag_key, text, COUNT(*) as count FROM {$CONFIG['DB_PREFIX']}tags, {$CONFIG['DB_PREFIX']}tag_links WHERE {$CONFIG['DB_PREFIX']}tags.tag_key={$CONFIG['DB_PREFIX']}tag_links.tag_key $module_limit $user_limit $entry_limit $url_limit GROUP BY {$CONFIG['DB_PREFIX']}tags.tag_key ORDER BY count DESC\");\r\n\t\t\r\n\t\t$CONN->SetFetchMode('ADODB_FETCH_NUM');\r\n\t\t\t\t\r\n\t}", "function wp_popular_posts($pop_posts = 5 , $thumb = true){\n\tglobal $wpdb , $post;\n\t$orig_post = $post;\n\t\n\t$popularposts = \"SELECT ID,post_title,post_date,post_author,post_content,post_type FROM $wpdb->posts WHERE post_status = 'publish' AND post_type = 'post' ORDER BY comment_count DESC LIMIT 0,\".$pop_posts;\n\t$posts = $wpdb->get_results($popularposts);\n\tif($posts){\n\t\tglobal $post;\n\t\tforeach($posts as $post){\n\t\tsetup_postdata($post);?>\n\t\t\t<li>\n\t\t\t<?php if ( function_exists(\"has_post_thumbnail\") && has_post_thumbnail() && $thumb ) : ?>\t\t\t\n\t\t\t\t<div class=\"post-thumbnail\">\n\t\t\t\t\t<a href=\"<?php echo get_permalink( $post->ID ) ?>\" title=\"<?php printf( __( 'Permalink to %s', 'tie' ), the_title_attribute( 'echo=0' ) ); ?>\" rel=\"bookmark\"><?php tie_thumb(); ?></a>\n\t\t\t\t</div><!-- post-thumbnail /-->\n\t\t\t<?php endif; ?>\n\t\t\t\t<h3><a href=\"<?php echo get_permalink( $post->ID ) ?>\" title=\"<?php echo the_title(); ?>\"><?php echo the_title(); ?></a></h3>\n\t\t\t\t<span class=\"date\"><?php the_time(get_option('date_format')); ?></span>\n\t\t\t</li>\n\t<?php \n\t\t}\n\t}\n\t\n\t$post = $orig_post;\n\t//wp_reset_query();\n}" ]
[ "0.65330565", "0.651467", "0.633513", "0.6291905", "0.6171054", "0.6133746", "0.61078596", "0.609571", "0.60813093", "0.607523", "0.60412574", "0.60250884", "0.6009357", "0.59938353", "0.5952255", "0.595076", "0.5937031", "0.59259987", "0.59099966", "0.5896279", "0.5891533", "0.5882115", "0.58634746", "0.58561486", "0.5839056", "0.57927746", "0.5777399", "0.5770376", "0.575878", "0.57457215" ]
0.75522685
0
/ Fetch all rows/objects that use one or more safe_tag(s) or tag_id(s) $data = array( 'table' => 'posts',//Name of the table row_id is from 'tags' => '1',//tag_id, tag, or an array of either 'siteID' = > null,//Optional only return rows for siteID 'limit' => 10,//Optional Max number of results 'offset' => 0//Optional Offset of results );
public function fetch_rows($data) { //If there is no table if (!$data['table'] || !$data['tags']) { return; } //Add the WHERE clause for the tags $this->where_tags($data['tags']); //Select the Tag info //$this->CI->db->select('tag, safe_tag, date, row_id, siteID'); //Don't need tag/user info because the GROUP BY will only show 1 //tag/user for each row (even if there are may) $this->CI->db->select('row_id'); $this->CI->db->group_by("row_id"); $this->CI->db->join( $this->tags_ref, $this->tags_ref_prefix. '.tag_id = '. $this->tags_prefix. '.id', 'inner' ); $this->CI->db->where('table', $data['table']); //If a limit is implied if (isset($data['limit']) && $data['limit']) { $this->CI->db->limit( $data['limit'], (isset($data['offset']) ? $data['offset'] : null) ); } //If a siteID is given if (isset($data['siteID']) && $data['siteID']) { $this->CI->db->where($this->tags_ref_prefix. '.siteID', $data['siteID']); } $result = $this->CI->db->get($this->tags); if ($result->num_rows()) { return $result->result_array(); } else { return false; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function fetch_tags($data)\n {\n //If there is no table\n if (!$data['table'] || !$data['row_id']) {\n return;\n }\n\n //Select the Tag info\n $this->CI->db->select('tag, safe_tag, id, date');\n $this->CI->db->distinct();\n $this->CI->db->join(\n $this->tags,\n $this->tags_ref_prefix. '.tag_id = '. $this->tags_prefix. '.id',\n 'inner'\n );\n $this->CI->db->where('table', $data['table']);\n $this->CI->db->where('row_id', $data['row_id']);\n\n //If a limit is implied\n if (isset($data['limit']) && $data['limit']) {\n $this->CI->db->limit(\n $data['limit'],\n (isset($data['offset']) ? $data['offset'] : null)\n );\n }\n\n //If a siteID is given\n if (isset($data['siteID']) && $data['siteID']) {\n $this->CI->db->where($this->tags_ref_prefix. '.siteID', $data['siteID']);\n }\n\n $result = $this->CI->db->get($this->tags_ref);\n\n if ($result->num_rows()) {\n return $result->result_array();\n } else {\n return false;\n }\n }", "public function fetch_popular_tags($data)\n {\n //If there is no table\n if (!$data['table']) {\n return;\n }\n\n //Select the Tag info\n $this->CI->db->select('tag, safe_tag, id, date, COUNT(*) as count');\n //$this->CI->db->distinct();\n $this->CI->db->join(\n $this->tags,\n $this->tags_ref_prefix. '.tag_id = '. $this->tags_prefix. '.id',\n 'inner'\n );\n $this->CI->db->where('table', $data['table']);\n $this->CI->db->order_by('count DESC, tag ASC');\n $this->CI->db->group_by('tag');\n\n //If a limit is NOT implied\n if (!isset($data['limit']) || !$data['limit']) {\n $data['limit'] = 50;\n }\n\n //Only fetch up to limit number of rows\n $this->CI->db->limit(\n $data['limit'],\n (isset($data['offset']) ? $data['offset'] : null)\n );\n\n //If a siteID is given\n if (isset($data['siteID']) && $data['siteID']) {\n $this->CI->db->where($this->tags_ref_prefix. '.siteID', $data['siteID']);\n }\n\n $result = $this->CI->db->get($this->tags_ref);\n\n if ($result->num_rows()) {\n return $result->result_array();\n } else {\n return false;\n }\n }", "public function fetchTags()\n {\n $results = $this->fetchAllAsArray(\n array(\n 'order' => array (\n 'tag ASC'\n ),\n 'eager' => array(\n 'posts'\n ),\n )\n );\n return $results;\n }", "public function fetchTagsForPublishedPosts()\n {\n //SELECT t.id as id, t.tag as tag, t.tag_slug as tag_slug, count(*) as count \n //FROM `foresmo_tags` as t \n //INNER JOIN `foresmo_posts_tags` as pt ON pt.tag_id = t.id \n //INNER JOIN `foresmo_posts` as p ON pt.post_id = p.id \n //WHERE p.status = 1 group by t.tag_slug\");\n\n $results = $this->fetchAllAsArray(\n array(\n 'cols' => array('id', 'tag', 'tag_slug', \"COUNT(*) AS count\"),\n 'order' => array (\n 'tag ASC'\n ),\n 'group' => array('tag_slug'),\n 'eager' => array(\n 'posts' => array(\n 'join_type' => 'inner',\n ),\n ),\n )\n );\n\n return $results;\n }", "function singletagblog($conn,$id)\n{\n\t$sqlFetch = \"select * from blog_post p,blog_real_tag r WHERE r.blog_post_id=p.blog_post_id and r.blog_tag_id='\".$id.\"'\";\n\t return $conn -> getResultArray($sqlFetch);\n}", "public function count_tags($data)\n {\n //If there is no table\n if (!$data['table']) {\n return;\n }\n\n /*\n * SELECT COUNT(DISTINCT `safe_tag`) as count FROM ci_tags\n * INNER JOIN ci_tags_ref ON (id = tag_id) WHERE `siteID` = 0 AND `table` = 'posts'\n */\n\n //Select the Tag info\n $this->CI->db->select('COUNT(*) as count');\n $this->CI->db->join(\n $this->tags,\n $this->tags_ref_prefix. '.tag_id = '. $this->tags_prefix. '.id',\n 'inner'\n );\n $this->CI->db->where('table', $data['table']);\n $this->CI->db->order_by('count DESC');\n\n //If a siteID is given\n if (isset($data['siteID']) && $data['siteID']) {\n $this->CI->db->where($this->tags_ref_prefix. '.siteID', $data['siteID']);\n }\n\n //fetch the number of rows\n $result = $this->CI->db->get($this->tags_ref);\n\n return $result->result();\n }", "public function delete_user_tags($data)\n {\n //If there is no table or row_id\n if (!$data['table'] || !$data['siteID']) {\n return;\n }\n\n //Where the tag is used by this user\n $this->CI->db->where('siteID', $data['siteID']);\n\n //Delete all tags_ref where this table and row are found\n $this->CI->db->delete($this->tags_ref);\n\n //return the rows deleted\n $rows = $this->CI->db->affected_rows();\n\n //Delete tags that are no-longer referenced by any row\n $this->delete_tags();\n\n return $rows;\n }", "public function getTagsIt($like = false, $limit = false)\n {\n $query = '\nSELECT \n `name`,\n COUNT(DISTINCT bl.`blog_id`) AS `usecount`\nFROM `blog_tags` AS t\nLEFT JOIN `blog_to_tag` AS b ON\n b.`blog_tag_id_foreign` = t.`blog_tag_id`\nLEFT JOIN `blog` AS `bl` ON';\n // visibility\n $query .= '\n bl.`blog_id` = b.`blog_id_foreign` \n AND\n (\n (\n bl.`flags` & '.(int)Blog::FLAG_VIEW_PRIVATE.' = 0 \n AND bl.`flags` & '.(int)Blog::FLAG_VIEW_PROTECTED.' = 0\n )\n ';\n if ($member = $this->getLoggedInMember()) {\n $query .= '\n OR (bl.`flags` & '.(int)Blog::FLAG_VIEW_PRIVATE.' AND bl.IdMember = '.(int)$member->id.')\n OR (bl.`flags` & '.(int)Blog::FLAG_VIEW_PROTECTED.' AND bl.IdMember = '.(int)$member->id.')\n ';\n /** taken out pending refactoring and removal of user table \n OR (\n bl.`flags` & '.(int)Blog::FLAG_VIEW_PROTECTED.' \n AND\n (SELECT COUNT(*) FROM `user_friends` WHERE `user_id_foreign` = bl.`user_id_foreign` AND `user_id_foreign_friend` = '.(int)$member->id.')\n )\n */\n }\n $query .= '\n )\nWHERE\n'.($like && !empty($like)?' AND `name` = \\''.$this->dao->escape($like).'\\'':'1').'\nGROUP BY t.`blog_tag_id`\nHAVING `usecount` > 0\nORDER BY `usecount` DESC\n'.($limit?' LIMIT '.(int)$limit.'':'').'\n';\n $s = $this->dao->query($query);\n if (!$s) {\n throw new PException('Failed enumerating tags.');\n }\n return $s;\n }", "public function add_tags($data=array())\n {\n\n //If there is no table, row, or tags...\n if (!$data['table'] || !$data['tags'] || !$data['row_id']) {\n return;\n }\n\n //The array of tags -minus the $finalized_tags\n $tags = array();\n //This will store the table ID and safe_tag of each tag\n $finalized_tags = array();\n //This will store the \"Cleaned\" version for our where_tag() function\n $safe_tags\t\t= array();\n\n\n //STEP 1: Create the \"safe\" version of each tag\n foreach ($data['tags'] as $key => $tag) {\n $safe_tag = $this->make_safe_tag($tag);\n\n //Add this tag to an array called $tags\n $tags[$safe_tag] = trim($tag);\n\n //Add it to an array of ONLY safe_tags\n $safe_tags[] = $safe_tag;\n }\n\n //STEP 2: Search DB for the tags already in there\n $this->CI->db->select('id, tag, safe_tag');\n $this->where_tags($safe_tags);\n $query = $this->CI->db->get($this->tags);\n\n //If some of these tags already exist\n if ($query->num_rows() > 0) {\n foreach ($query->result() as $row) {\n\n //Add this row to the finalized tags\n $finalized_tags[$row->safe_tag] = array(\n 'tag' => $row->tag,\n 'id' => $row->id\n );\n }\n\n /**\n * Now that we have an array of the tags from the DB\n * we can unset them from the $tags array so they aren't\n * added to the table a second time!\n */\n\n foreach ($finalized_tags as $safe_tag => $tag) {\n if (isset($tags[$safe_tag])) {\n unset($tags[$safe_tag]);\n }\n }\n }\n\n //STEP 3: Insert each tag into our table since it isn't there already\n foreach ($tags as $safe_tag => $tag) {\n\n // tidy tag\n $tag = ucwords(strtolower($tag));\n\n //Insert the tag into the database\n $this->CI->db->insert($this->tags, array('safe_tag' => $safe_tag, 'tag' => $tag));\n\n //Now that the tag is in the DB we need to add it to the finalized tags\n $finalized_tags[$safe_tag] = array('tag' => $tag, 'id' => $this->CI->db->insert_id());\n }\n\n\n //STEP 4: Attach each tag to the row\n\n //Row data that won't change doesn't need to be repeated!\n $row_data = array(\n '`table`' => $data['table'],\n 'row_id' => $data['row_id']\n );\n\n /* MOD: haloweb -- dont duplicate data in row by getting tags\n if ($tags_data = $this->fetch_tags($row_data))\n {\n foreach ($tags_data as $row)\n {\n $row_tags[$row['safe_tag']] = $row['tag'];\n }\n }\n */\n\n //If a siteID is given\n if (isset($data['siteID']) && $data['siteID']) {\n $row_data['siteID'] = $data['siteID'];\n }\n\n //For each tag - attach it to the row/object\n foreach ($finalized_tags as $safe_tag => $tag) {\n\n //Data about the row\n $row_data['date'] = date(\"Y-m-d H:i:s\");\n $row_data['tag_id'] = $tag['id'];\n\n /*\n if (!in_array($safe_tag, $row_tags))\n {\n $this->CI->db->insert($this->tags_ref, $row_data);\n }\n */\n\n //FINALLY INSERT THE ROW! ...(jeez)...\n $this->CI->db->insert($this->tags_ref, $row_data);\n }\n\n //return true;\n\n // Not sure why someone would need this..\n // but return the finalized array\n return $finalized_tags;\n }", "public function fetch_related($post_id=0) {\r\n global $Database;\r\n \r\n $post_id = (int)$Database->clean_data($post_id);\r\n $tag_ids = $this->fetch_tag_ids($post_id);\r\n if(!$tag_ids) return false;\r\n\r\n //fetch posts tagged under these tags from tag_lik\r\n $sql = \"SELECT DISTINCT post_id_fk FROM \".$this->posts_tag_link_table.\" WHERE tag_id_fk = '0'\";\r\n foreach ($tag_ids as $tid) {\r\n $sql .= \" OR tag_id_fk = '{$tid}'\";\r\n }\r\n $sql .= \" AND post_id_fk != '{$post_id}'\";\r\n\r\n $result = $Database->query($sql);\r\n if($Database->num_rows($result) < 1) return false;\r\n\r\n $related = array();\r\n while ($row = $Database->fetch_data($result)) $related[] = $row->post_id_fk;\r\n\r\n // now fetch those posts and return\r\n $sql = \"SELECT P.post_id, P.title, I.image_one FROM \".$this->posts_table.\" P, \".$this->posts_images_table.\" I WHERE post_id = '0'\";\r\n foreach ($related as $pid ) {\r\n $sql .= \" OR post_id = '{$pid}'\";\r\n }\r\n $sql .= \" AND P.publish = '1' ORDER BY P.date_added DESC LIMIT 4\";\r\n $result = $Database->query($sql);\r\n if($Database->num_rows($result) < 1) return false;\r\n\r\n $output = array();\r\n while ($row = $Database->fetch_data($result)) {\r\n $output[] = $row;\r\n }\r\n return $output;\r\n }", "function get_hot_tags($data)\n\t {\n\t $num = isset($data['num']) ? $data['num'] : 10;\n\t $startnum = isset($data['startnum']) ? $data['startnum'] : 0;\n\t\t$lang_code = isset($data['lang_code']) ? $data['lang_code'] : 'zh';\n\n\t\t$sql = \"SELECT tag_name,tag_id,count FROM tag WHERE langCode = '{$lang_code}' ORDER BY count DESC LIMIT {$startnum},{$num}\";\n\t\t$query = $this->db->query($sql);\n\n\t\t$tag_data = array();\n\n\t if($query->num_rows() > 0)\n\t {\n\t\t foreach($query->result() as $row)\n\t\t\t {\n\t\t\t array_push($tag_data, array('tag_name'=>$row->tag_name, 'tag_id'=>$row->tag_id, 'count'=>$row->count));\n\t\t\t }\n\t }\n\t return $tag_data;\n\t }", "function items($mode = 1){\n\t\t$all = $this->all;\t\t//echo $mode;\n\t\t$id = (int)@$this->path[5];\n\t\t$this->params['mode'] = $mode;\n\t\t$tagSQL = \"SELECT tag, COUNT( t.tag ) AS total\n\t\t\t\tFROM tags t\n\t\t\t\tJOIN records r ON t.post_id = r.id \".\n\t\t\t\t ($this->all? \" WHERE blog_id='$id'\":\"\") . \"\n\t\t\t\tGROUP BY t.tag\n\t\t\t\tORDER By total DESC\";\n\t\t$this->params['tagcloud'] = DBall($tagSQL);\n\t\t//inspect($this->params['tagcloud']);\n\t\t $tag = @$this->path[3];\n\t\t$this->sql['count'] = \"SELECT count(r.id) FROM records r\";\n\t\t$this->sql['items'] = \"SELECT r.*, GROUP_CONCAT(t.tag) as tags FROM records r \";\n\t\t\n\t\tif($mode < 3 && $tag!=''){\n\t\t\t$this->sql['items'] .= \" JOIN tags t ON t.post_id = r.id AND t.tag='$tag'\"; \n\t\t\t$this->sql['count'] .= \" JOIN tags t ON t.post_id = r.id AND t.tag='$tag'\";\n\t\t}else\n\t\t\t$this->sql['items'] .= \" LEFT JOIN tags t ON r.id=t.post_id\";\n\t\t\n\t\t\n\t\t$this->sql['items'] .=\" WHERE 1\"; $this->sql['count'] .=\" WHERE 1\";\n\t\t\n\t\tif(!$this->all){\t\n\t\t\t$this->sql['items'] .=\" AND blog_id=$id\";\n\t\t\t$this->sql['count'] .=\" AND blog_id=$id\";\n\t\t}else{\n\t\t\t$this->do = 'all'; //$this->params['all'] = true;\n\t\t}\n\t\t\n\t\tif($mode==3){ \n\t\t\t$this->sql['items'] .=\" AND ( r.text LIKE '%$tag%' OR r.label LIKE '%$tag%') \";\n\t\t\t$this->sql['count'] .=\" AND ( r.text LIKE '%$tag%' OR r.label LIKE '%$tag%') \";\n\t\t}\n\t\t\n\t\t$this->sql['items'] .=\" GROUP BY r.id\";\t\n\n\n\t\t\n\t\t$this->pages = ceil(DBfield($this->sql['count'].$cc) / $this->perpage);\n\t\t\n\t\t$c = split(\"_\",getVar('sort_'.$this->className)); \n\t\tif(isset($this->fields[$c[0]]) && ($c[1]=='ASC' || $c[1] == 'DESC')) $cc .=\" ORDER BY `{$c[0]}` \".$c[1];\n\t\tif($this->page>0) $this->page--; \n\t\t$cc .=$this->orderby.\" LIMIT \".$this->page*$this->perpage.\",\".$this->perpage; \n\t\t//echo $this->sql['items'];\n\t\t$this->params['search'] = $this->search = $tag;\n\t\treturn DBall($this->sql['items'].$cc);\n\t\t\n\t\n\t\t/*$id = (int)@$this->path[5];\n\t\t\n\t\t$this->sql['items'] = \"SELECT r.*, GROUP_CONCAT(t.tag) as tags FROM records r \";\n\t\t\n\t\tif($tag){\n\t\t\t$this->sql['items'] .= \" JOIN tags t ON t.post_id = r.id AND t.tag='{$this->id}'\"; \n\t\t\t$this->search = '';\n\t\t\t}\n\t\telse\n\t\t\t$this->sql['items'] .= \" LEFT JOIN tags t ON r.id=t.post_id\";\n\t\t\n\t\tif($this->search=='')\n\t\t\t$this->sql['items'] .=\" WHERE blog_id=$id\";\n\t\telse\n\t\t\t$this->orderby = \" AND blog_id=$id\" . $this->orderby;\n\t\t\n\t\t$this->sql['items'] .=\" GROUP BY r.id\";\t\n\t\t//echo \t$this->sql['items'];\n\t\t\n\t\t$this->sql['count'] .=\" WHERE blog_id=$id\";\n\t\t\n\t\treturn parent :: items();*/\n\t}", "public function get_list_tag(){\n $this->set_list(true);\n $initialfetch = (($this->page - 1) * $this->itemsforpage);\n $posts = $this->fetch(\"SELECT posts.id, posts.title, posts.picture, posts.category, posts.url, posts.meta FROM relation_tag INNER JOIN posts ON relation_tag.post = posts.id WHERE relation_tag.tag = $this->tag ORDER BY posts.id DESC LIMIT $initialfetch, $this->itemsforpage \");\n return $posts;\n }", "public function get_tags()\n\t{\n\t\t$this->db->distinct();\n\t\t$this->db->order_by('tags', 'asc');\n\t\t$this->db->select('id,tags');\n\t\t$this->db->limit(10);\n\t\t$this->db->where(array('is_active' => 1, 'is_deleted' => 0));\n\t\t$query = $this->db->get('products');\n\t\tif ($query)\n\t\t{\n\t\t\treturn $query->result_array();\n\t\t}\n\n\t\treturn false;\n\t\t\n\t}", "function ofn_learnable_tags() {\n global $wpdb;\n\n $sql = \"SELECT DISTINCT $wpdb->terms.* FROM $wpdb->terms\n JOIN $wpdb->term_taxonomy\n ON ($wpdb->term_taxonomy.term_id = $wpdb->terms.term_id AND\n $wpdb->term_taxonomy.taxonomy = 'post_tag')\n JOIN $wpdb->term_relationships\n ON ($wpdb->term_relationships.term_taxonomy_id = $wpdb->term_taxonomy.term_taxonomy_id)\n JOIN $wpdb->posts\n ON ($wpdb->posts.ID = $wpdb->term_relationships.object_id)\n WHERE $wpdb->posts.post_type='ofn_learnable'\n ORDER BY $wpdb->terms.name\";\n\n return $wpdb->get_results($sql);\n}", "function get_all_tags(){\n include('connection.php');\n $sql = 'SELECT id, tag FROM tags';\n try {\n $results = $db -> query($sql);\n } catch (Exception $e) {\n echo \"Error: \" . $e -> getMessage() . '<br/>';\n return array();\n }\n return $results -> fetchAll(PDO::FETCH_ASSOC);\n }", "function get__by_tag($tags) {\n $this->db->select('id_product, id_user');\n foreach ($tags as $tag) {\n if($tag === \"\") {\n continue;\n } else {\n $this->db->where(''.$tag, $tag);\n }\n }\n $query = $this->db->get('souhait');\n return $query->result(); // return -> tableau [ 'id_product', 'id_user' ]\n }", "function getPostsByTag(){\r\n\t$all_tags = get_tags();\r\n\t$tag_id = array();\r\n\tforeach( $all_tags as $tag ) {\r\n\t\t$tag_id[] = $tag->term_id;\r\n\t}\r\n\r\n\t$args = array(\r\n\t\t'numberposts' => 5,\r\n\t\t'tag__in' => $tag_id\r\n\t);\r\n\t$myposts = get_posts( $args );\r\n}", "public function where_tags($tags)\n {\n //If we have been given an array of tags to match\n if (is_array($tags)) {\n $ints = null;\n $strings = null;\n //Check each tag to see if it is an ID or a name\n foreach ($tags as $tag) {\n if (is_int($tag)) {\n $ints[] = $tag;\n } else {\n $strings[] = $tag;\n }\n }\n\n //If some ID's were given\n if ($ints) {\n $this->CI->db->where_in('id', $ints);\n }\n\n //If some tag names where given\n if ($strings) {\n //If Int's are in the query we need an OR clause\n if ($ints) {\n $this->CI->db->or_where_in('safe_tag', $strings);\n } else {\n $this->CI->db->where_in('safe_tag', $strings);\n }\n }\n //Else we are just looking for a rows that match one tag/ID\n } else {\n if (is_int($tags)) {\n $this->CI->db->where('id', $tags);\n } else {\n $this->CI->db->where('safe_tag', $tags);\n }\n }\n }", "function getTags($module_key='', $user_key='', $entry_key='', $url_key='') {\r\n\t\r\n\t\tglobal $CONN, $CONFIG;\r\n\r\n\t\tif (isset($module_key) && $module_key!='') {\r\n\t\t\t$module_limit = \"AND module_key='$module_key'\";\t\r\n\t\t} else {\r\n\t\t\t$module_limit = '';\r\n\t\t}\r\n\t\tif (isset($user_key) && $user_key!='') {\r\n\t\t\t$user_limit = \"AND user_key='$user_key'\";\t\r\n\t\t} else {\r\n\t\t\t$user_limit = '';\r\n\t\t}\r\n\t\tif (isset($entry_key) && $entry_key!='') {\r\n\t\t\t$entry_limit = \"AND entry_key='$entry_key'\";\t\r\n\t\t} else {\r\n\t\t\t$entry_limit = '';\r\n\t\t}\r\n\t\tif (isset($url_key) && $url_key!='') {\r\n\t\t\t$url_limit = \"AND url_key='$url_key'\";\t\r\n\t\t} else {\r\n\t\t\t$url_limit = '';\r\n\t\t}\r\n\t\t$CONN->SetFetchMode('ADODB_FETCH_ASSOC');\r\n\r\n\t\t\r\n\t\treturn $CONN->GetArray(\"SELECT {$CONFIG['DB_PREFIX']}tags.tag_key, text, COUNT(*) as count FROM {$CONFIG['DB_PREFIX']}tags, {$CONFIG['DB_PREFIX']}tag_links WHERE {$CONFIG['DB_PREFIX']}tags.tag_key={$CONFIG['DB_PREFIX']}tag_links.tag_key $module_limit $user_limit $entry_limit $url_limit GROUP BY {$CONFIG['DB_PREFIX']}tags.tag_key ORDER BY count DESC\");\r\n\t\t\r\n\t\t$CONN->SetFetchMode('ADODB_FETCH_NUM');\r\n\t\t\t\t\r\n\t}", "public function getPostsByTag($tagArray)\n {\n // Set up initial query\n $blogs = $this->query();\n\n // Cycle through the tag array and add orWhere clauses to the query\n foreach ($tagArray as $tagId) {\n $blogs->orWhereHas('tags', function($query) use ($tagId) {\n $query->where('tag_id', $tagId);\n });\n }\n\n // Get the result of the query\n $blogs = $blogs->get();\n\n // Return the collection of filtered blogs to be used in views/controllers\n return $blogs;\n }", "public function fetch_tags($post_id=0) {\r\n global $Database;\r\n \r\n $ids = $this->fetch_tag_ids($post_id); // ID is already sanitized by this methods\r\n if(!$ids) return false; // confirm post hast tags\r\n\r\n //use tag IDS to fetch tag names\r\n $sql = \"SELECT * FROM \".$this->tag_table.\" WHERE tag_id = '0'\";\r\n foreach ($ids as $id) {\r\n $sql .= \" OR tag_id = '{$id}'\";\r\n }\r\n $sql .= \" ORDER BY tag_name ASC\";\r\n $result = $Database->query($sql);\r\n\r\n $output = array();\r\n while ($row = $Database->fetch_data($result)) $output[] = $row;\r\n return $output;\r\n }", "public static function getAllPosts()\n {\n\n self::dbConnect();\n\n //Learning from the previous method, return all the matching records\n //Create select statement using prepared statements\n $query = 'SELECT * FROM ' . static::$table;\n\n $stmt = self::$dbc->prepare($query);\n $stmt->execute();\n\n //Store the resultset in a variable named $result\n $results = $stmt->fetchAll(PDO::FETCH_ASSOC);\n\n \n //returning the array of all the postsw\n return $results;\n }", "function get_all_tags(){\n\n global $mysqli;\n\n // Get all tags\n $results = [];\n $sql = 'SELECT `id`, `tag` FROM `tags`';\n if ($result = $mysqli->query($sql)) {\n while ($row = $result->fetch_assoc()) {\n $results[$row['id']] = $row['tag'];\n }\n $result->free_result();\n }\n return $results;\n}", "function getCorpTags() {\n \t$sql = \"SELECT t.name, c.corp_id, c.tag_id \n FROM corp_tags c \n INNER JOIN tags t ON c.tag_id = t.id \n INNER JOIN corporative_blog b ON b.id = c.corp_id AND b.date_deleted IS NULL\";\n \t$all = front::og(\"db\")->select($sql)->fetchAll();\n \t\n \t//error_reporting(E_ALL);\n \tif(!$all) return false;\n \tforeach($all as $k=>$val) {\n \t\t$tags[$val['corp_id']][$val['tag_id']] = $val['name'];\n \t}\t\n \t\n \treturn $tags;\n }", "function get_blog_posts($values) {\r\n global $db;\r\n $sql = 'SELECT ';\r\n foreach($values as $value) {\r\n $sql .= $value.', ';\r\n }\r\n $sql = substr($sql, 0, -2) . ' FROM blog_post ORDER BY edited DESC';\r\n try {\r\n $stmt = $db->prepare($sql);\r\n $stmt->execute();\r\n return $stmt->fetchAll();\r\n } catch(Exception $e) {\r\n return false;\r\n }\r\n}", "function getContentTags($params)\n{\n\n\t$sendParams = array();\n\t$validParams = array(\"action\",\"tablename\",\"id\",\"orderby\");\n\n\t$sql = \"SELECT content_terms.id, content_terms.termid, terms.name,term_taxonomy.taxonomy\";\n\n\t$sql .= \" FROM `content_terms`\";\n\n\t$sql .= \" LEFT JOIN term_taxonomy ON term_taxonomy.id = content_terms.termid\";\n\t$sql .= \" LEFT JOIN terms ON terms.id = term_taxonomy.termid\";\n\n\tif (isset($params['contentid']))\n\t{\n\t\t$sql .= \" WHERE contentid IN ( \";\n\n\t\t$manyvalues = explode(\",\",$params['contentid']);\n\t\tforeach($manyvalues as $value)\n\t\t{\n\t\t\t$sql .= \" :singlevalue\".$value.\", \";\n\t\t\t$sendParams['singlevalue'.$value] = $value;\n\t\t}\n\t\t$sql = substr($sql,0,strlen($sql)-2); //remove last comma and space\n\t\t$sql .= \" )\";\n\t}\n\telse\n\t{\n\t\tdie(\"No contentid was provided\");\n\t}\n\n\tforeach ($params as $key=>$value)\n\t{\n\t\tif (!in_array($key,$validParams))\n\t\t{ // this is a custom parameter\n\t\t\t$sql .= \" AND \" . $key . \" = :\".$key;\n\t\t\t$sendParams[$key] = $value;\n\t\t}\n\t}\n\t$sql .= \" ORDER BY id ASC\";\n\n\t// get the results\n\t$result = queryDatabase($sql, $sendParams);\n\n\t// return the results\n\treturn $result;\n}", "public function getFromPostsTable()\n {\n $postData = $this->db->query('SELECT * FROM posts');\n return $postData->fetchAll();\n }", "function get_all_user_posts() {\n return query(\"SELECT * FROM posts WHERE user_id=\".loggedInUserId().\"\" );\n}", "function getPosts($threadID,$min,$max) {\n\n\t$posts = array();\n\t$mysqli = dbconnect();\n\t$stmt = $mysqli->stmt_init();\n\t//$stmt->prepare('SELECT * FROM posts WHERE threadID = 1 AND postSucc >= 1 AND postSucc <= 10 ORDER BY postSucc ASC');\n\t$stmt->prepare('SELECT * FROM posts INNER JOIN users WHERE threadID = ? AND postSucc >= ? AND postSucc <= ? AND posts.poster = users.username ORDER BY postSucc ASC');\n\t$stmt->bind_param('ddd', $threadID, $min, $max);\n\t$stmt->execute();\n\t$stmt->bind_result($threadID, $postSucc, $poster, $message, $timestamp,\n\t\t$username,$password,$salt,$admin,$avatar,$signature,$postCount);\n\t\n\t$stmt->store_result();\n\t\n\twhile ($stmt->fetch()) {\n\t\t$tmpUser = new User($username,$password,$salt,$admin,$avatar,$signature,$postCount);\n\t\t$posts[] = new Post($threadID, $postSucc, $tmpUser, $message, $timestamp);\n\t}\n\t//var_dump($posts);\n\t\n\treturn $posts;\n}" ]
[ "0.7556474", "0.664421", "0.6042842", "0.6027216", "0.57688975", "0.57621264", "0.571082", "0.5668615", "0.55908215", "0.55769265", "0.5540485", "0.5526875", "0.55129695", "0.55109084", "0.5489698", "0.54619175", "0.54411745", "0.5433533", "0.54044205", "0.5375797", "0.53721446", "0.5339016", "0.53354937", "0.53318906", "0.53311", "0.5325589", "0.5308305", "0.53032523", "0.52862245", "0.52746665" ]
0.7290974
1
/ Count all the tags for a user and/or table $data = array( 'table' => 'posts',//Name of the table row_id is from 'siteID' => null,//Optional ID of a single user );
public function count_tags($data) { //If there is no table if (!$data['table']) { return; } /* * SELECT COUNT(DISTINCT `safe_tag`) as count FROM ci_tags * INNER JOIN ci_tags_ref ON (id = tag_id) WHERE `siteID` = 0 AND `table` = 'posts' */ //Select the Tag info $this->CI->db->select('COUNT(*) as count'); $this->CI->db->join( $this->tags, $this->tags_ref_prefix. '.tag_id = '. $this->tags_prefix. '.id', 'inner' ); $this->CI->db->where('table', $data['table']); $this->CI->db->order_by('count DESC'); //If a siteID is given if (isset($data['siteID']) && $data['siteID']) { $this->CI->db->where($this->tags_ref_prefix. '.siteID', $data['siteID']); } //fetch the number of rows $result = $this->CI->db->get($this->tags_ref); return $result->result(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function postCount(){\n\t\t\n\t\t\t$user = Auth::User(); \n\t\t\t$userId = $user->id; \n \n\t\t\t$expired_posts = Posts::where('user_id', '=', $userId)->where('remaining_posts', '0')->get();\n\t\t\t$active_posts = Posts::where('user_id', '=', $userId)->where('remaining_posts', '!=', '0')->get();\n\t\t\t$scheduled_posts = Posts::where('user_id', '=', $userId)->where('remaining_posts', '!=', '0')->where('schedule_option', '=', '2')->get();\n\t\t\t\n\t\t\t$dataArr = array();\n\t\t\t$dataArr['expired_posts_count'] = count($expired_posts);\n\t\t\t$dataArr['active_posts_count'] = count($active_posts);\n\t\t\t$dataArr['scheduled_posts_count'] = count($scheduled_posts);\n\t\t\t\n\t\t\treturn (object)$dataArr;\n\t}", "function getAllTagsCount() {\n\tglobal $_zp_count_tags;\n\tif (!is_null($_zp_count_tags)) return $_zp_count_tags;\n\t$_zp_count_tags = array();\n\t$sql = \"SELECT DISTINCT `name`, `id` from \".prefix('tags').' ORDER BY `name`';\n\t$tagresult = query_full_array($sql);\n\tif (is_array($tagresult)) {\n\t\tforeach ($tagresult as $tag) {\n\t\t\t$count = db_count('obj_to_tag','WHERE `tagid`='.$tag['id']);\n\t\t\t$_zp_count_tags[$tag['name']] = $count;\n\t\t}\n\t}\n\treturn $_zp_count_tags;\n}", "function countPosts() {\n\treturn $this->db->count_all('fakeit_posts');\n\t\n}", "function count(){\r\n\t\t$this->Tag->PlacesTag->bindModel(array('belongsTo' => array('Tag')));\r\n\t\t$tags = $this->Tag->PlacesTag->find('all', array('fields'=>array('COUNT(*) as count','Tag.tag','Tag.id'),\r\n\t\t\t\t\t\t\t\t\t\t\t\t 'group'=> 'PlacesTag.tag_id',\r\n\t\t\t\t\t\t\t\t\t\t\t\t 'limit' => 30,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t'order' => 'count DESC'\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t)); \r\n\t\tif(isset($this->params['requested'])){\r\n\t\t\treturn $tags;\r\n\t\t}else{\r\n\t\t\t$this->set('tags',$tags);\r\n\t\t}\r\n\t}", "function count_post()\n {\n return $this->db->count_all_results('entry');\n }", "function count_all_data(){\n\n $this->db->from($this->table);\n $this->db->join('users', 'users.id = article.updated_by');\n\n return $this->db->count_all_results();\n\n }", "function bbp_get_user_post_count($user_id = 0, $integer = \\false)\n{\n}", "function allposts_count($tabel)\n { \n $query = $this->db->where(array(\"fc_approve\" => \"1\",\"fc_print\" => \"1\"))\n ->where_in(\"fc_sts_bpb\",array(\"B\",\"S\"))\n ->get($tabel);\n return $query->num_rows(); \n }", "function bbp_user_post_count($user_id = 0, $integer = \\false)\n{\n}", "function userPostCount($user_id){\n $db = new Database;\n $db->query('SELECT * FROM topics WHERE user_id = :user_id');\n $db->bind(':user_id', $user_id);\n \n // Assign Rows\n $rows = $db->resultset();\n // Get count\n $topic_count = $db->rowCount();\n\n \n $db->query('SELECT * FROM replies WHERE user_id = :user_id');\n $db->bind(':user_id', $user_id);\n \n // Assign Rows\n $rows = $db->resultset();\n // Get count\n $reply_count = $db->rowCount();\n \n\n return $topic_count + $reply_count;\n \n \n\n\n }", "function authorpostcount($userid) {\r\n\t\r\n\t\t$stats_enabled = false;\r\n\t\t\tif(get_option('ycontributors_statsenabled')==\"true\") $stats_enabled=true;\t\r\n\t\t\t\r\n\t\tglobal $wpdb;\r\n\t\t$query = \"SELECT COUNT(*) FROM $wpdb->posts WHERE post_status = 'publish' AND post_type = 'post' AND post_author = '\" . $userid . \"'\";\r\n\t\t$post_count = $wpdb->get_var($query);\r\n\t\tif($stats_enabled) echo $post_count;\r\n\t}", "function tag_used_update($data)\n\t {\n\t $sql = \"UPDATE tag SET count = count+{$data['count']} WHERE tag_name = '{$data['tag']}'\";\n\t\t $query = $this->db->query($sql);\n\t }", "public function adminGetCountDataBlog()\r\n\t{\r\n\t\t$this->db->from('blog');\r\n\t\t$result = $this->db->count_all_results();\r\n\t\treturn $result;\r\n\t}", "function nitro_get_user_posts_count($user_id,$args ) {\n $args['author'] \t\t= $user_id;\n $args['fields'] \t\t= 'ids';\n $args['posts_per_page'] = -1;\n $ps = get_posts($args);\n return count($ps);\n}", "public function delete_user_tags($data)\n {\n //If there is no table or row_id\n if (!$data['table'] || !$data['siteID']) {\n return;\n }\n\n //Where the tag is used by this user\n $this->CI->db->where('siteID', $data['siteID']);\n\n //Delete all tags_ref where this table and row are found\n $this->CI->db->delete($this->tags_ref);\n\n //return the rows deleted\n $rows = $this->CI->db->affected_rows();\n\n //Delete tags that are no-longer referenced by any row\n $this->delete_tags();\n\n return $rows;\n }", "function computeTagsNumber(){\n\n return Tag::count();\n}", "public function count($data = NULL) {\r\n return $this->db->where($data)\r\n ->count_all($this->table);\r\n }", "function countPosts(){\n \n $db = Connection::getInstance();\n $count=$db->query('SELECT COUNT(*) FROM posts');\n $count2=$count->fetchColumn();\n return $count2;\n \n }", "public function getPostCount()\r\n {\r\n return Yii::app()->db->createCommand()\r\n ->select('count(*) as num')\r\n ->from(Post::model()->tableName() .' p')\r\n ->join(Thread::model()->tableName() .' t', 't.id=p.thread_id')\r\n ->where('t.forum_id=:id', array(':id'=>$this->id))\r\n ->queryScalar();\r\n }", "function get_count_viewed_data($table,$data,$where){\n foreach($data as $value){\n $this->db->select('COUNT(\"id\") as '.$value.'');\n $this->db->where('isViewed',0);\n $this->db->where('notification_for',$where);\n $this->db->where('notification_type',$value);\n $get = $this->db->get($table);\n $result[] = $get->row();\n }\n return $result;\n }", "function get_all_report_post_count()\n {\n $this->db->from('report_post');\n return $this->db->count_all_results();\n }", "public function countFrontend(){\n\t\t\t\t\t $this->db->setTablename($this->tablename);\n return $this->db->getRows(array(\"return_type\"=>\"count\"));\n\t\t\t\t\t }", "function sk_display_blog_count() {\n global $blog_id;\n global $wpdb;\n \n //set a temp var for current blog\n $tempBlogId = $blog_id;\n \n //get all blog ids in the system as array\n $res = $wpdb->get_results('select blog_id from wp_blogs', ARRAY_A);\n\n $total = 0;\n \n //loop through each blog, get the post counts\n foreach ($res as $result) {\n $wpdb->set_blog_id($result['blog_id']);\n $val = (int)$wpdb->get_var(\"SELECT COUNT(*) FROM $wpdb->posts WHERE post_status = 'publish' AND post_date_gmt < '\" . gmdate(\"Y-m-d H:i:s\",time()) . \"'\");\n $total += $val;\n }\n \n //reset just in case\n $wpdb->set_blog_id($tempBlogId);\n \n //return the total count of all posts\n echo \"There are \".$total.\" total posts across all \".count($res).\" of your blogs\";\n}", "public function countAllPosts() {\n\n $query = $this->getEntityManager()\n ->createQuery('\n SELECT count(p.id) as postsCount \n FROM ObjectsInternJumpBundle:Post p\n ');\n\n $result = $query->getResult();\n \n if ($result)\n return $result['0']['postsCount'];\n else\n return $result;\n }", "function countAll($table_name)\n {\n }", "function sp_count_visits() {\n global $wpdb;\n $query = str_replace(array(\"slct\", \"tbl\"), array(\"count(session)\", $wpdb->prefix . \"visit\"), self::SELECT);\n $counter = $wpdb->get_var($query);\n echo $counter;\n }", "public function toGetPostPublishCount() {\r\n $lmt = '';\r\n $ofSet = '';\r\n $tablename = 'posts';\r\n $AllPostsCount = $this->Global_model->toGetPostPublishData($tablename, $lmt, $ofSet, 0, 'N');\r\n if (isset($AllPostsCount) && !empty($AllPostsCount)) {\r\n echo json_encode($AllPostsCount);\r\n exit;\r\n } else {\r\n echo 'fail';\r\n exit;\r\n }\r\n }", "function extendedforum_count_user_posts($extendedforumid, $userid) {\n global $CFG;\n\n $timedsql = \"\";\n if (!empty($CFG->extendedforum_enabletimedposts)) {\n $cm = get_coursemodule_from_instance('extendedforum', $extendedforumid);\n if (!has_capability('mod/extendedforum:viewhiddentimedposts' , get_context_instance(CONTEXT_MODULE, $cm->id))) {\n $now = time();\n $timedsql = \"AND (d.timestart < $now AND (d.timeend = 0 OR d.timeend > $now))\";\n }\n }\n\n return get_record_sql(\"SELECT COUNT(p.id) AS postcount, MAX(p.modified) AS lastpost\n FROM {$CFG->prefix}extendedforum f\n JOIN {$CFG->prefix}extendedforum_discussions d ON d.extendedforum = f.id\n JOIN {$CFG->prefix}extendedforum_posts p ON p.discussion = d.id\n JOIN {$CFG->prefix}user u ON u.id = p.userid\n WHERE f.id = $extendedforumid\n AND p.userid = $userid\n $timedsql\");\n}", "public function count($data=array()){\n\n //search ping\n return $this->client->count($data);\n }", "function dss_get_total_user_tutoriels( $user_id ){\n\n\tglobal $wpdb;\n\n\t$where = get_posts_by_author_sql( 'dss_tutoriels', true, $user_id );\n\n\t$count = $wpdb->get_var( \"SELECT COUNT(*) FROM $wpdb->posts $where\" );\n\n\treturn $count;\n\n}" ]
[ "0.6748997", "0.66171855", "0.6542866", "0.65061074", "0.6505803", "0.64734435", "0.6438647", "0.63928473", "0.6377371", "0.6302415", "0.6276279", "0.62470347", "0.62444186", "0.6215479", "0.6192348", "0.6182132", "0.61596406", "0.61167675", "0.5996413", "0.59280515", "0.58837575", "0.5873918", "0.5856577", "0.58485365", "0.583574", "0.58306193", "0.5830593", "0.5805994", "0.58002025", "0.5799887" ]
0.82227916
0
/ Insert tags for a row/object $data = array( 'table' => 'posts',//Name of the table row_id is from 'tags' => array('tag 1', 'tag 2'),//An array of tags 'row_id' => 23, 'siteID' = > null,//Optional only return rows for siteID );
public function add_tags($data=array()) { //If there is no table, row, or tags... if (!$data['table'] || !$data['tags'] || !$data['row_id']) { return; } //The array of tags -minus the $finalized_tags $tags = array(); //This will store the table ID and safe_tag of each tag $finalized_tags = array(); //This will store the "Cleaned" version for our where_tag() function $safe_tags = array(); //STEP 1: Create the "safe" version of each tag foreach ($data['tags'] as $key => $tag) { $safe_tag = $this->make_safe_tag($tag); //Add this tag to an array called $tags $tags[$safe_tag] = trim($tag); //Add it to an array of ONLY safe_tags $safe_tags[] = $safe_tag; } //STEP 2: Search DB for the tags already in there $this->CI->db->select('id, tag, safe_tag'); $this->where_tags($safe_tags); $query = $this->CI->db->get($this->tags); //If some of these tags already exist if ($query->num_rows() > 0) { foreach ($query->result() as $row) { //Add this row to the finalized tags $finalized_tags[$row->safe_tag] = array( 'tag' => $row->tag, 'id' => $row->id ); } /** * Now that we have an array of the tags from the DB * we can unset them from the $tags array so they aren't * added to the table a second time! */ foreach ($finalized_tags as $safe_tag => $tag) { if (isset($tags[$safe_tag])) { unset($tags[$safe_tag]); } } } //STEP 3: Insert each tag into our table since it isn't there already foreach ($tags as $safe_tag => $tag) { // tidy tag $tag = ucwords(strtolower($tag)); //Insert the tag into the database $this->CI->db->insert($this->tags, array('safe_tag' => $safe_tag, 'tag' => $tag)); //Now that the tag is in the DB we need to add it to the finalized tags $finalized_tags[$safe_tag] = array('tag' => $tag, 'id' => $this->CI->db->insert_id()); } //STEP 4: Attach each tag to the row //Row data that won't change doesn't need to be repeated! $row_data = array( '`table`' => $data['table'], 'row_id' => $data['row_id'] ); /* MOD: haloweb -- dont duplicate data in row by getting tags if ($tags_data = $this->fetch_tags($row_data)) { foreach ($tags_data as $row) { $row_tags[$row['safe_tag']] = $row['tag']; } } */ //If a siteID is given if (isset($data['siteID']) && $data['siteID']) { $row_data['siteID'] = $data['siteID']; } //For each tag - attach it to the row/object foreach ($finalized_tags as $safe_tag => $tag) { //Data about the row $row_data['date'] = date("Y-m-d H:i:s"); $row_data['tag_id'] = $tag['id']; /* if (!in_array($safe_tag, $row_tags)) { $this->CI->db->insert($this->tags_ref, $row_data); } */ //FINALLY INSERT THE ROW! ...(jeez)... $this->CI->db->insert($this->tags_ref, $row_data); } //return true; // Not sure why someone would need this.. // but return the finalized array return $finalized_tags; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function insert_row($data,$table){\n\t\t\t\t\n\t\t\tglobal $wpdb;\n\t\t\t\n\t\t\n\t\t\tforeach($data as $column=>$value){\n\t\t\t\n\t\t\t\n\t\t\tif($column != 'ID' ){\t\n\t\t\t$insert[$column] = $value;\t\n\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t$insert_id = $wpdb->insert($table, $insert);\n\t\treturn $wpdb->insert_id;\n\t}", "public function insertRow($data);", "function _build_row_by_post()\n{\n\t$row = array(\n\t\t'tag_id' => $this->_post_class->get_post_get_int( 'tag_id' ),\n\t\t'tag_time_create' => $this->_post_class->get_post_int( 'tag_time_create' ),\n\t\t'tag_time_update' => $this->_post_class->get_post_int( 'tag_time_update' ),\n\t\t'tag_name' => $this->_post_class->get_post_text( 'tag_name' ),\n\t);\n\treturn $row;\n}", "function tagsHandler($tag, $post_id)\n\t{\n\t\t$selectID = \"SELECT `id` FROM `tags` WHERE `name` = '\".$tag['name'].\"'\";\n\t\t$insert = \"INSERT INTO `tags` (`name`) VALUES ('\".$tag['name'].\"')\";\n\t\t\n\t\tdebug($selectID);\n\t\t$tag_existing = $this->query($selectID);\n\t\t\t// $tag_existing = $this->query();\n\t\n\n\t\tif(empty($tag_existing))\n\t\t{\n\t\t\t$this->query(\"INSERT INTO `tags` (`name`) VALUES ('\".$tag['name'].\"')\");\n\t\t}\n\t\t\t\n\t\t$tag_id = 1;\n\t\t$this->query(\"INSERT INTO `tags_posts` (post_id, tag_id) VALUES ('\".$post_id.\"', '\".$tag_id.\"')\");\n\t}", "function insert(array $rows);", "function tag_index_qid_insert($data)\n\t {\n\t $sql = \"INSERT INTO tag_reverse_index(tag_id,question_id_str) VALUES({$data['tag_id']},{$data['nId']})\";\n $this->db->query($sql);\n\t }", "function tag_insert4question($data)\n\t {\n\t\t $tag_str = is_array($data['tag']) ? implode('|', $data['tag']):$data['tag'];\n\t\t $this->db->set('nId',$data['nId']);\n\t\t $this->db->set('tags',$tag_str);\n\t\t $this->db->insert('questiontags');\n\t }", "function saveTags(&$blog) {\n\t\t\t$this->opendb();\n\t\t\t$sql = 'DELETE FROM TAGS WHERE BLOG_ID=:BLOG_ID';\n\t\t\t$stmt = $this->prepare($sql);\n\t\t$stmt->bindValue(':BLOG_ID', $blog['BLOG_ID'], SQLITE3_TEXT);\n\t\t$result = $stmt->execute();\t\n\n\t\t$tags = explode(',',$blog['TAGS']);\n\n\t\tforeach($tags as $tag) { \n\t\t\tif(trim($tag) != '') {\n\t\t\t\t$sql = 'INSERT INTO TAGS (BLOG_ID,TAG) VALUES (:BLOG_ID,:TAG)';\t\t\n\t\t\t\t$stmt = $this->prepare($sql);\n\t\t\t\t$stmt->bindValue(':BLOG_ID', $blog['BLOG_ID'], SQLITE3_TEXT);\n\t\t\t\t$stmt->bindValue(':TAG', $tag, SQLITE3_TEXT);\n\t\t\t\t$result = $stmt->execute();\t\t\t\t \t\n\t\t\t}\t\t\n\t\t}\n\t\t\t\n\t}", "function add_row($data, $table=false){\n\t\tglobal $wpdb;\n\t\t$this->select_table($table);\n\t\t$cols = array();\n\t\t$vals = array();\n\t\tforeach($data as $column=>$value){\n\t\t\t$cols[] = '`' . $wpdb->escape($column) . '`';\n\t\t\tif(isset($this->table_config[\"filter_columns\"][$column])){\n\t\t\t\t$this->add_category($column, $value);\n\t\t\t\tif($this->table_config[\"filter_columns\"][$column][\"filter_type\"]==\"multiple\"){\n\t\t\t\t\tif( substr($value, -1)!=\";\" ) { $value .= \";\"; }\n\t\t\t\t}\n\t\t\t}\n\t\t\t$vals[] = \"'\" . $wpdb->escape($value) . \"'\";\n\t\t}\n\t\t$sql = drk_implode(\", \", $cols, \"REPLACE INTO `\" . $this->turl() . \"` ( \", \") \");\n\t\t$sql .= drk_implode(\", \", $vals, \" VALUES (\", \")\");\n\t\tif($sql!= ''){\n\t\t\treturn $wpdb->query($sql);\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "function tag_insert($data)\n\t {\n $data['add_flag'] = 1;\n\t\t$this->db->insert('tag',$data);\n\t\treturn $this->db->insert_id();\n\t }", "public function insert(array $data);", "function add_tag( $data ) {\n $this->load->database('default');\n \n $this->db->insert('tag', $data);\n \n $message = FALSE;\n \n //check if errors were encountered while inserting\n if( $this->db->_error_message() ): \n $message['type'] = \"error\";\n $message['body'] = $this->db->_error_message();\n else:\n $message['type'] = \"success\";\n $message['body'] = \"Successfully added Hadith Tag.\";\n endif;\n \n return $message;\n }", "public function insert($data);", "function batch_post_upload_parse_row( $postarr, $data, $schema ) {\n}", "function dbRowInsert($table_name, $form_data)\n{\n $fields = array_keys($form_data);\n\n // build the query\n $sql = \"INSERT INTO \".$table_name.\"\n (`\".implode('`,`', $fields).\"`)\n VALUES('\".implode(\"','\", $form_data).\"')\";\n\n // run and return the query result resource\n mysql_query($sql);\n\treturn mysql_insert_id();\n\t\n}", "function storeTags($tags, $id, $tbl) {\n\t$tagsLC = array();\n\tforeach ($tags as $key=>$tag) {\n\t\t$tag = trim($tag);\n\t\tif (!empty($tag)) {\n\t\t\t$lc_tag = mb_strtolower($tag);\n\t\t\tif (!in_array($lc_tag, $tagsLC)) {\n\t\t\t\t$tagsLC[] = $lc_tag;\n\t\t\t}\n\t\t}\n\t}\n\t$sql = \"SELECT `id`, `tagid` from \".prefix('obj_to_tag').\" WHERE `objectid`='\".$id.\"' AND `type`='\".$tbl.\"'\";\n\t$result = query_full_array($sql);\n\t$existing = array();\n\tif (is_array($result)) {\n\t\tforeach ($result as $row) {\n\t\t\t$dbtag = query_single_row(\"SELECT `name` FROM \".prefix('tags').\" WHERE `id`='\".$row['tagid'].\"'\");\n\t\t\t$existingLC = mb_strtolower($dbtag['name']);\n\t\t\tif (in_array($existingLC, $tagsLC)) { // tag already set no action needed\n\t\t\t\t$existing[] = $existingLC;\n\t\t\t} else { // tag no longer set, remove it\n\t\t\t\tquery(\"DELETE FROM \".prefix('obj_to_tag').\" WHERE `id`='\".$row['id'].\"'\");\n\t\t\t}\n\t\t}\n\t}\n\t$tags = array_diff($tagsLC, $existing); // new tags for the object\n\tforeach ($tags as $tag) {\n\t\t$dbtag = query_single_row(\"SELECT `id` FROM \".prefix('tags').\" WHERE `name`=\".db_quote($tag));\n\t\tif (!is_array($dbtag)) { // tag does not exist\n\t\t\tquery(\"INSERT INTO \" . prefix('tags') . \" (name) VALUES (\" . db_quote($tag) . \")\",false);\n\t\t\t$dbtag = array('id' => db_insert_id());\n\t\t}\n\t\tquery(\"INSERT INTO \".prefix('obj_to_tag'). \"(`objectid`, `tagid`, `type`) VALUES (\".$id.\",\".$dbtag['id'].\",'\".$tbl.\"')\");\n\t}\n}", "function add($tags, $id_user) {\n $tab = array('id_user' => $id_user);\n foreach ($tags as $tag) {\n if($tag === \"\") {\n continue;\n } else {\n array_merge($tab, array(\"\".$tag => $tag));\n }\n }\n $this->db->insert('souhait', $tab);\n }", "abstract public function insert(array $data);", "function addTags($string){\n\t\t\t\n\t\t\t\n\t\t\t\tif($stmt = $this->con->prepare(\"INSERT INTO TAGS (TagName) VALUES ( ?)\")){\n\t\t\t\t$stmt->bind_param(\"s\", $string);\n\t\t\t\n\n\t\t\tif($stmt->execute())\n\t\t\t\treturn true; \n\t\t\treturn false; \n\t\t}else {\n \t$error = $this->con->error. ' ' . $this->con->errno;\n \techo $error; // 1054 Unknown column 'foo' in 'field list'\n\t\t}\n\t\t}", "public function insert($table, array $data);", "function insertTweet($row){\n\tglobal $link;\n\t$table = 'tweets';\n\t\n\t//Set columns (specified case)\n\t$fields = array('tweet_id','date','dbDate','source','text','latitude','longitude','user_id','search_id');\n\t$columns = implode(',', $fields);\n\t\n\t//Set values\n\t$values = \"'\".$row['id'];\n\t$values.= \"','\".$row['date'];\n\t$values.= \"','\".$row['dbDate'];\n\t$values.= \"','\".$row['source'];\n\t$values.= \"','\".addSlashes($row['text']);\n\t$values.= \"','\".$row['latitude'];\n\t$values.= \"','\".$row['longitude'];\n\t$values.= \"','\".$row['user_id'];\n\t$values.= \"','\".$row['search_id'];\n\t$values.= \"'\";\n\t\n\t$sqlInsert = \"insert into $table ($columns) values ($values)\";\n\tmysql_query($sqlInsert);\n}", "function add_photo_tags($photo_id, $uid)\n{\n\t$query_to_add_tags = \"Insert into PhotoTag values ('\" . $photo_id .\"','\". $uid .\"') \" ;\n\tquery_to_mysql($query_to_add_tags);\n}", "public function insertTags($tags, $exerciseId){\r\n\t\tif($tags && is_array($tags) && count($tags) && $exerciseId){\r\n\t\t\tforeach($tags as $tag){\r\n\t\t\t\t//Check if this tag exists in the `tag` table\r\n\t\t\t\t$sql = \"SELECT id FROM tag WHERE name='%s'\";\r\n\t\t\t\t$exists = $this->conn->_singleSelect($sql, $tag);\r\n\t\t\t\tif(!$exists){\r\n\t\t\t\t\t$insert = \"INSERT INTO tag SET name='%s'\";\r\n\t\t\t\t\t$tagId = $this->conn->_insert($insert, $tag);\r\n\t\t\t\t} else {\r\n\t\t\t\t\t$tagId = $exists->id;\r\n\t\t\t\t}\r\n\t\t\t\t$sql = \"SELECT fk_tag_id FROM rel_exercise_tag WHERE (fk_exercise_id=%d AND fk_tag_id=%d)\";\r\n\t\t\t\t$exists = $this->conn->_singleSelect($sql, $exerciseId, $tagId);\r\n\t\t\t\tif(!$exists){\r\n\t\t\t\t\t$relInsert = \"INSERT INTO rel_exercise_tag SET fk_exercise_id=%d, fk_tag_id=%d\";\r\n\t\t\t\t\t$this->conn->_insert($relInsert, $exerciseId, $tagId);\r\n\t\t\t\t} \r\n\t\t\t}\r\n\t\t\tunset($tag);\r\n\t\t}\r\n\t}", "static function nev_add_tags(){\n $nonce = $_POST['nonce'];\n if( !wp_verify_nonce($nonce, 'nev_nonce') ){\n header(\"HTTP/1.0 403 Security Check.\");\n exit;\n }\n \n if (!is_user_logged_in()){\n header(\"HTTP/1.0 403 Security Check.\");\n exit;\n\t\t\t}\n \n $tags = $_POST['tags'];\n \n if( empty( $_POST[ 'tags' ] ) ){\n echo json_encode( array( 'tags' => 'none' ) );\n exit;\n }\n else{\n \tglobal $wpdb;\n \t$tableName = $wpdb->prefix . 'nev_tags';\n \t$tags = explode(\",\", $tags);\n \t$tagsAdded = array(); $tagsExist = array();\n \tfor ($x = 0; $x < sizeof($tags); $x++){\n \t\t$tags[$x] = trim($tags[$x]);\n \t\t$result = $wpdb->get_row($wpdb->prepare(\"SELECT tag FROM $tableName WHERE tag ='\". $tags[$x] . \"'\"));\n \t\tif(isset($result)){\n\t\t\t\t\t\tarray_push($tagsExist,$tags[$x]);\n \t\t}\n \t\telse{\n \t\t\t$wpdb->replace($tableName, array('tag' => $tags[$x]));\n \t\t\tarray_push($tagsAdded,$tags[$x]);\n \t\t}\n \t} \t\n \techo json_encode( array( 'tags' => $tagsAdded, 'tagsExist' => $tagsExist) );\n }\n exit();\n }", "public function fetch_rows($data)\n {\n //If there is no table\n if (!$data['table'] || !$data['tags']) {\n return;\n }\n\n //Add the WHERE clause for the tags\n $this->where_tags($data['tags']);\n\n //Select the Tag info\n //$this->CI->db->select('tag, safe_tag, date, row_id, siteID');\n //Don't need tag/user info because the GROUP BY will only show 1\n //tag/user for each row (even if there are may)\n $this->CI->db->select('row_id');\n $this->CI->db->group_by(\"row_id\");\n $this->CI->db->join(\n $this->tags_ref,\n $this->tags_ref_prefix. '.tag_id = '. $this->tags_prefix. '.id',\n 'inner'\n );\n $this->CI->db->where('table', $data['table']);\n\n //If a limit is implied\n if (isset($data['limit']) && $data['limit']) {\n $this->CI->db->limit(\n $data['limit'],\n (isset($data['offset']) ? $data['offset'] : null)\n );\n }\n\n //If a siteID is given\n if (isset($data['siteID']) && $data['siteID']) {\n $this->CI->db->where($this->tags_ref_prefix. '.siteID', $data['siteID']);\n }\n\n $result = $this->CI->db->get($this->tags);\n\n if ($result->num_rows()) {\n return $result->result_array();\n } else {\n return false;\n }\n }", "function kcw_logs_wpdb_util_insert_row($table_name, $row) {\n global $wpdb;\n $columns = kcw_logs_structure_insert_list(array_keys($row));\n $values = kcw_logs_structure_insert_list(array_values($row), \"'\");\n $insert = \"insert into {$wpdb->prefix}$table_name $columns values $values;\";\n return kcw_logs_wpdb_util_query($insert);\n}", "public function fetch_tags($data)\n {\n //If there is no table\n if (!$data['table'] || !$data['row_id']) {\n return;\n }\n\n //Select the Tag info\n $this->CI->db->select('tag, safe_tag, id, date');\n $this->CI->db->distinct();\n $this->CI->db->join(\n $this->tags,\n $this->tags_ref_prefix. '.tag_id = '. $this->tags_prefix. '.id',\n 'inner'\n );\n $this->CI->db->where('table', $data['table']);\n $this->CI->db->where('row_id', $data['row_id']);\n\n //If a limit is implied\n if (isset($data['limit']) && $data['limit']) {\n $this->CI->db->limit(\n $data['limit'],\n (isset($data['offset']) ? $data['offset'] : null)\n );\n }\n\n //If a siteID is given\n if (isset($data['siteID']) && $data['siteID']) {\n $this->CI->db->where($this->tags_ref_prefix. '.siteID', $data['siteID']);\n }\n\n $result = $this->CI->db->get($this->tags_ref);\n\n if ($result->num_rows()) {\n return $result->result_array();\n } else {\n return false;\n }\n }", "public function addTags($tagData) {\n $this->db->insert_batch('tags', $tagData);\n }", "function insert($table, $data);", "public function run()\n {\n \n\n \\DB::table('tags')->delete();\n \n \\DB::table('tags')->insert(array (\n 0 => \n array (\n 'id' => 1,\n 'name' => 'age',\n 'link' => '/topics/age',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:36',\n 'updated_at' => '2019-03-11 07:36:36',\n ),\n 1 => \n array (\n 'id' => 2,\n 'name' => 'alone',\n 'link' => '/topics/alone',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:36',\n 'updated_at' => '2019-03-11 07:36:36',\n ),\n 2 => \n array (\n 'id' => 3,\n 'name' => 'amazing',\n 'link' => '/topics/amazing',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:37',\n 'updated_at' => '2019-03-11 07:36:37',\n ),\n 3 => \n array (\n 'id' => 4,\n 'name' => 'anger',\n 'link' => '/topics/anger',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:37',\n 'updated_at' => '2019-03-11 07:36:37',\n ),\n 4 => \n array (\n 'id' => 5,\n 'name' => 'anniversary',\n 'link' => '/topics/anniversary',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:37',\n 'updated_at' => '2019-03-11 07:36:37',\n ),\n 5 => \n array (\n 'id' => 6,\n 'name' => 'architecture',\n 'link' => '/topics/architecture',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:37',\n 'updated_at' => '2019-03-11 07:36:37',\n ),\n 6 => \n array (\n 'id' => 7,\n 'name' => 'art',\n 'link' => '/topics/art',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:37',\n 'updated_at' => '2019-03-11 07:36:37',\n ),\n 7 => \n array (\n 'id' => 8,\n 'name' => 'attitude',\n 'link' => '/topics/attitude',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:38',\n 'updated_at' => '2019-03-11 07:36:38',\n ),\n 8 => \n array (\n 'id' => 9,\n 'name' => 'beauty',\n 'link' => '/topics/beauty',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:38',\n 'updated_at' => '2019-03-11 07:36:38',\n ),\n 9 => \n array (\n 'id' => 10,\n 'name' => 'best',\n 'link' => '/topics/best',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:38',\n 'updated_at' => '2019-03-11 07:36:38',\n ),\n 10 => \n array (\n 'id' => 11,\n 'name' => 'birthday',\n 'link' => '/topics/birthday',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:38',\n 'updated_at' => '2019-03-11 07:36:38',\n ),\n 11 => \n array (\n 'id' => 12,\n 'name' => 'brainy',\n 'link' => '/topics/brainy',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:38',\n 'updated_at' => '2019-03-11 07:36:38',\n ),\n 12 => \n array (\n 'id' => 13,\n 'name' => 'business',\n 'link' => '/topics/business',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:38',\n 'updated_at' => '2019-03-11 07:36:38',\n ),\n 13 => \n array (\n 'id' => 14,\n 'name' => 'car',\n 'link' => '/topics/car',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:39',\n 'updated_at' => '2019-03-11 07:36:39',\n ),\n 14 => \n array (\n 'id' => 15,\n 'name' => 'chance',\n 'link' => '/topics/chance',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:39',\n 'updated_at' => '2019-03-11 07:36:39',\n ),\n 15 => \n array (\n 'id' => 16,\n 'name' => 'change',\n 'link' => '/topics/change',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:39',\n 'updated_at' => '2019-03-11 07:36:39',\n ),\n 16 => \n array (\n 'id' => 17,\n 'name' => 'christmas',\n 'link' => '/topics/christmas',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:39',\n 'updated_at' => '2019-03-11 07:36:39',\n ),\n 17 => \n array (\n 'id' => 18,\n 'name' => 'communication',\n 'link' => '/topics/communication',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:39',\n 'updated_at' => '2019-03-11 07:36:39',\n ),\n 18 => \n array (\n 'id' => 19,\n 'name' => 'computers',\n 'link' => '/topics/computers',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:39',\n 'updated_at' => '2019-03-11 07:36:39',\n ),\n 19 => \n array (\n 'id' => 20,\n 'name' => 'cool',\n 'link' => '/topics/cool',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:39',\n 'updated_at' => '2019-03-11 07:36:39',\n ),\n 20 => \n array (\n 'id' => 21,\n 'name' => 'courage',\n 'link' => '/topics/courage',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:40',\n 'updated_at' => '2019-03-11 07:36:40',\n ),\n 21 => \n array (\n 'id' => 22,\n 'name' => 'dad',\n 'link' => '/topics/dad',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:40',\n 'updated_at' => '2019-03-11 07:36:40',\n ),\n 22 => \n array (\n 'id' => 23,\n 'name' => 'dating',\n 'link' => '/topics/dating',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:40',\n 'updated_at' => '2019-03-11 07:36:40',\n ),\n 23 => \n array (\n 'id' => 24,\n 'name' => 'death',\n 'link' => '/topics/death',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:40',\n 'updated_at' => '2019-03-11 07:36:40',\n ),\n 24 => \n array (\n 'id' => 25,\n 'name' => 'design',\n 'link' => '/topics/design',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:40',\n 'updated_at' => '2019-03-11 07:36:40',\n ),\n 25 => \n array (\n 'id' => 26,\n 'name' => 'diet',\n 'link' => '/topics/diet',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:41',\n 'updated_at' => '2019-03-11 07:36:41',\n ),\n 26 => \n array (\n 'id' => 27,\n 'name' => 'dreams',\n 'link' => '/topics/dreams',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:41',\n 'updated_at' => '2019-03-11 07:36:41',\n ),\n 27 => \n array (\n 'id' => 28,\n 'name' => 'easter',\n 'link' => '/topics/easter',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:41',\n 'updated_at' => '2019-03-11 07:36:41',\n ),\n 28 => \n array (\n 'id' => 29,\n 'name' => 'education',\n 'link' => '/topics/education',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:41',\n 'updated_at' => '2019-03-11 07:36:41',\n ),\n 29 => \n array (\n 'id' => 30,\n 'name' => 'environmental',\n 'link' => '/topics/environmental',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:41',\n 'updated_at' => '2019-03-11 07:36:41',\n ),\n 30 => \n array (\n 'id' => 31,\n 'name' => 'equality',\n 'link' => '/topics/equality',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:41',\n 'updated_at' => '2019-03-11 07:36:41',\n ),\n 31 => \n array (\n 'id' => 32,\n 'name' => 'experience',\n 'link' => '/topics/experience',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:41',\n 'updated_at' => '2019-03-11 07:36:41',\n ),\n 32 => \n array (\n 'id' => 33,\n 'name' => 'failure',\n 'link' => '/topics/failure',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:41',\n 'updated_at' => '2019-03-11 07:36:41',\n ),\n 33 => \n array (\n 'id' => 34,\n 'name' => 'faith',\n 'link' => '/topics/faith',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:42',\n 'updated_at' => '2019-03-11 07:36:42',\n ),\n 34 => \n array (\n 'id' => 35,\n 'name' => 'family',\n 'link' => '/topics/family',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:42',\n 'updated_at' => '2019-03-11 07:36:42',\n ),\n 35 => \n array (\n 'id' => 36,\n 'name' => 'famous',\n 'link' => '/topics/famous',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:42',\n 'updated_at' => '2019-03-11 07:36:42',\n ),\n 36 => \n array (\n 'id' => 37,\n 'name' => 'father\\'s day',\n 'link' => '/topics/fathersday',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:42',\n 'updated_at' => '2019-03-11 07:36:42',\n ),\n 37 => \n array (\n 'id' => 38,\n 'name' => 'fear',\n 'link' => '/topics/fear',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:42',\n 'updated_at' => '2019-03-11 07:36:42',\n ),\n 38 => \n array (\n 'id' => 39,\n 'name' => 'finance',\n 'link' => '/topics/finance',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:42',\n 'updated_at' => '2019-03-11 07:36:42',\n ),\n 39 => \n array (\n 'id' => 40,\n 'name' => 'fitness',\n 'link' => '/topics/fitness',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:43',\n 'updated_at' => '2019-03-11 07:36:43',\n ),\n 40 => \n array (\n 'id' => 41,\n 'name' => 'food',\n 'link' => '/topics/food',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:43',\n 'updated_at' => '2019-03-11 07:36:43',\n ),\n 41 => \n array (\n 'id' => 42,\n 'name' => 'forgiveness',\n 'link' => '/topics/forgiveness',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:43',\n 'updated_at' => '2019-03-11 07:36:43',\n ),\n 42 => \n array (\n 'id' => 43,\n 'name' => 'freedom',\n 'link' => '/topics/freedom',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:43',\n 'updated_at' => '2019-03-11 07:36:43',\n ),\n 43 => \n array (\n 'id' => 44,\n 'name' => 'friendship',\n 'link' => '/topics/friendship',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:43',\n 'updated_at' => '2019-03-11 07:36:43',\n ),\n 44 => \n array (\n 'id' => 45,\n 'name' => 'funny',\n 'link' => '/topics/funny',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:43',\n 'updated_at' => '2019-03-11 07:36:43',\n ),\n 45 => \n array (\n 'id' => 46,\n 'name' => 'future',\n 'link' => '/topics/future',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:43',\n 'updated_at' => '2019-03-11 07:36:43',\n ),\n 46 => \n array (\n 'id' => 47,\n 'name' => 'gardening',\n 'link' => '/topics/gardening',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:44',\n 'updated_at' => '2019-03-11 07:36:44',\n ),\n 47 => \n array (\n 'id' => 48,\n 'name' => 'god',\n 'link' => '/topics/god',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:44',\n 'updated_at' => '2019-03-11 07:36:44',\n ),\n 48 => \n array (\n 'id' => 49,\n 'name' => 'good',\n 'link' => '/topics/good',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:44',\n 'updated_at' => '2019-03-11 07:36:44',\n ),\n 49 => \n array (\n 'id' => 50,\n 'name' => 'government',\n 'link' => '/topics/government',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:44',\n 'updated_at' => '2019-03-11 07:36:44',\n ),\n 50 => \n array (\n 'id' => 51,\n 'name' => 'graduation',\n 'link' => '/topics/graduation',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:44',\n 'updated_at' => '2019-03-11 07:36:44',\n ),\n 51 => \n array (\n 'id' => 52,\n 'name' => 'great',\n 'link' => '/topics/great',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:44',\n 'updated_at' => '2019-03-11 07:36:44',\n ),\n 52 => \n array (\n 'id' => 53,\n 'name' => 'happiness',\n 'link' => '/topics/happiness',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:45',\n 'updated_at' => '2019-03-11 07:36:45',\n ),\n 53 => \n array (\n 'id' => 54,\n 'name' => 'health',\n 'link' => '/topics/health',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:45',\n 'updated_at' => '2019-03-11 07:36:45',\n ),\n 54 => \n array (\n 'id' => 55,\n 'name' => 'history',\n 'link' => '/topics/history',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:45',\n 'updated_at' => '2019-03-11 07:36:45',\n ),\n 55 => \n array (\n 'id' => 56,\n 'name' => 'home',\n 'link' => '/topics/home',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:45',\n 'updated_at' => '2019-03-11 07:36:45',\n ),\n 56 => \n array (\n 'id' => 57,\n 'name' => 'hope',\n 'link' => '/topics/hope',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:45',\n 'updated_at' => '2019-03-11 07:36:45',\n ),\n 57 => \n array (\n 'id' => 58,\n 'name' => 'humor',\n 'link' => '/topics/humor',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:45',\n 'updated_at' => '2019-03-11 07:36:45',\n ),\n 58 => \n array (\n 'id' => 59,\n 'name' => 'imagination',\n 'link' => '/topics/imagination',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:45',\n 'updated_at' => '2019-03-11 07:36:45',\n ),\n 59 => \n array (\n 'id' => 60,\n 'name' => 'independence',\n 'link' => '/topics/independence',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:46',\n 'updated_at' => '2019-03-11 07:36:46',\n ),\n 60 => \n array (\n 'id' => 61,\n 'name' => 'inspirational',\n 'link' => '/topics/inspirational',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:46',\n 'updated_at' => '2019-03-11 07:36:46',\n ),\n 61 => \n array (\n 'id' => 62,\n 'name' => 'intelligence',\n 'link' => '/topics/intelligence',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:46',\n 'updated_at' => '2019-03-11 07:36:46',\n ),\n 62 => \n array (\n 'id' => 63,\n 'name' => 'jealousy',\n 'link' => '/topics/jealousy',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:46',\n 'updated_at' => '2019-03-11 07:36:46',\n ),\n 63 => \n array (\n 'id' => 64,\n 'name' => 'knowledge',\n 'link' => '/topics/knowledge',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:47',\n 'updated_at' => '2019-03-11 07:36:47',\n ),\n 64 => \n array (\n 'id' => 65,\n 'name' => 'leadership',\n 'link' => '/topics/leadership',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:47',\n 'updated_at' => '2019-03-11 07:36:47',\n ),\n 65 => \n array (\n 'id' => 66,\n 'name' => 'learning',\n 'link' => '/topics/learning',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:47',\n 'updated_at' => '2019-03-11 07:36:47',\n ),\n 66 => \n array (\n 'id' => 67,\n 'name' => 'legal',\n 'link' => '/topics/legal',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:48',\n 'updated_at' => '2019-03-11 07:36:48',\n ),\n 67 => \n array (\n 'id' => 68,\n 'name' => 'life',\n 'link' => '/topics/life',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:48',\n 'updated_at' => '2019-03-11 07:36:48',\n ),\n 68 => \n array (\n 'id' => 69,\n 'name' => 'love',\n 'link' => '/topics/love',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:49',\n 'updated_at' => '2019-03-11 07:36:49',\n ),\n 69 => \n array (\n 'id' => 70,\n 'name' => 'marriage',\n 'link' => '/topics/marriage',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:49',\n 'updated_at' => '2019-03-11 07:36:49',\n ),\n 70 => \n array (\n 'id' => 71,\n 'name' => 'medical',\n 'link' => '/topics/medical',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:49',\n 'updated_at' => '2019-03-11 07:36:49',\n ),\n 71 => \n array (\n 'id' => 72,\n 'name' => 'memorial day',\n 'link' => '/topics/memorialday',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:50',\n 'updated_at' => '2019-03-11 07:36:50',\n ),\n 72 => \n array (\n 'id' => 73,\n 'name' => 'men',\n 'link' => '/topics/men',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:50',\n 'updated_at' => '2019-03-11 07:36:50',\n ),\n 73 => \n array (\n 'id' => 74,\n 'name' => 'mom',\n 'link' => '/topics/mom',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:50',\n 'updated_at' => '2019-03-11 07:36:50',\n ),\n 74 => \n array (\n 'id' => 75,\n 'name' => 'money',\n 'link' => '/topics/money',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:50',\n 'updated_at' => '2019-03-11 07:36:50',\n ),\n 75 => \n array (\n 'id' => 76,\n 'name' => 'morning',\n 'link' => '/topics/morning',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:51',\n 'updated_at' => '2019-03-11 07:36:51',\n ),\n 76 => \n array (\n 'id' => 77,\n 'name' => 'mother\\'s day',\n 'link' => '/topics/mothersday',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:51',\n 'updated_at' => '2019-03-11 07:36:51',\n ),\n 77 => \n array (\n 'id' => 78,\n 'name' => 'motivational',\n 'link' => '/topics/motivational',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:51',\n 'updated_at' => '2019-03-11 07:36:51',\n ),\n 78 => \n array (\n 'id' => 79,\n 'name' => 'movies',\n 'link' => '/topics/movies',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:51',\n 'updated_at' => '2019-03-11 07:36:51',\n ),\n 79 => \n array (\n 'id' => 80,\n 'name' => 'moving on',\n 'link' => '/topics/movingon',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:51',\n 'updated_at' => '2019-03-11 07:36:51',\n ),\n 80 => \n array (\n 'id' => 81,\n 'name' => 'music',\n 'link' => '/topics/music',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:51',\n 'updated_at' => '2019-03-11 07:36:51',\n ),\n 81 => \n array (\n 'id' => 82,\n 'name' => 'nature',\n 'link' => '/topics/nature',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:52',\n 'updated_at' => '2019-03-11 07:36:52',\n ),\n 82 => \n array (\n 'id' => 83,\n 'name' => 'new year\\'s',\n 'link' => '/topics/newyears',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:52',\n 'updated_at' => '2019-03-11 07:36:52',\n ),\n 83 => \n array (\n 'id' => 84,\n 'name' => 'parenting',\n 'link' => '/topics/parenting',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:52',\n 'updated_at' => '2019-03-11 07:36:52',\n ),\n 84 => \n array (\n 'id' => 85,\n 'name' => 'patience',\n 'link' => '/topics/patience',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:52',\n 'updated_at' => '2019-03-11 07:36:52',\n ),\n 85 => \n array (\n 'id' => 86,\n 'name' => 'patriotism',\n 'link' => '/topics/patriotism',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:52',\n 'updated_at' => '2019-03-11 07:36:52',\n ),\n 86 => \n array (\n 'id' => 87,\n 'name' => 'peace',\n 'link' => '/topics/peace',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:53',\n 'updated_at' => '2019-03-11 07:36:53',\n ),\n 87 => \n array (\n 'id' => 88,\n 'name' => 'pet',\n 'link' => '/topics/pet',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:53',\n 'updated_at' => '2019-03-11 07:36:53',\n ),\n 88 => \n array (\n 'id' => 89,\n 'name' => 'poetry',\n 'link' => '/topics/poetry',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:53',\n 'updated_at' => '2019-03-11 07:36:53',\n ),\n 89 => \n array (\n 'id' => 90,\n 'name' => 'politics',\n 'link' => '/topics/politics',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:53',\n 'updated_at' => '2019-03-11 07:36:53',\n ),\n 90 => \n array (\n 'id' => 91,\n 'name' => 'positive',\n 'link' => '/topics/positive',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:53',\n 'updated_at' => '2019-03-11 07:36:53',\n ),\n 91 => \n array (\n 'id' => 92,\n 'name' => 'power',\n 'link' => '/topics/power',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:53',\n 'updated_at' => '2019-03-11 07:36:53',\n ),\n 92 => \n array (\n 'id' => 93,\n 'name' => 'relationship',\n 'link' => '/topics/relationship',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:53',\n 'updated_at' => '2019-03-11 07:36:53',\n ),\n 93 => \n array (\n 'id' => 94,\n 'name' => 'religion',\n 'link' => '/topics/religion',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:54',\n 'updated_at' => '2019-03-11 07:36:54',\n ),\n 94 => \n array (\n 'id' => 95,\n 'name' => 'respect',\n 'link' => '/topics/respect',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:54',\n 'updated_at' => '2019-03-11 07:36:54',\n ),\n 95 => \n array (\n 'id' => 96,\n 'name' => 'romantic',\n 'link' => '/topics/romantic',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:54',\n 'updated_at' => '2019-03-11 07:36:54',\n ),\n 96 => \n array (\n 'id' => 97,\n 'name' => 'sad',\n 'link' => '/topics/sad',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:54',\n 'updated_at' => '2019-03-11 07:36:54',\n ),\n 97 => \n array (\n 'id' => 98,\n 'name' => 'saint patrick\\'s day',\n 'link' => '/topics/saintpatricksday',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:54',\n 'updated_at' => '2019-03-11 07:36:54',\n ),\n 98 => \n array (\n 'id' => 99,\n 'name' => 'science',\n 'link' => '/topics/science',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:55',\n 'updated_at' => '2019-03-11 07:36:55',\n ),\n 99 => \n array (\n 'id' => 100,\n 'name' => 'smile',\n 'link' => '/topics/smile',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:55',\n 'updated_at' => '2019-03-11 07:36:55',\n ),\n 100 => \n array (\n 'id' => 101,\n 'name' => 'society',\n 'link' => '/topics/society',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:55',\n 'updated_at' => '2019-03-11 07:36:55',\n ),\n 101 => \n array (\n 'id' => 102,\n 'name' => 'space',\n 'link' => '/topics/space',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:55',\n 'updated_at' => '2019-03-11 07:36:55',\n ),\n 102 => \n array (\n 'id' => 103,\n 'name' => 'sports',\n 'link' => '/topics/sports',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:55',\n 'updated_at' => '2019-03-11 07:36:55',\n ),\n 103 => \n array (\n 'id' => 104,\n 'name' => 'strength',\n 'link' => '/topics/strength',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:55',\n 'updated_at' => '2019-03-11 07:36:55',\n ),\n 104 => \n array (\n 'id' => 105,\n 'name' => 'success',\n 'link' => '/topics/success',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:56',\n 'updated_at' => '2019-03-11 07:36:56',\n ),\n 105 => \n array (\n 'id' => 106,\n 'name' => 'sympathy',\n 'link' => '/topics/sympathy',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:56',\n 'updated_at' => '2019-03-11 07:36:56',\n ),\n 106 => \n array (\n 'id' => 107,\n 'name' => 'teacher',\n 'link' => '/topics/teacher',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:56',\n 'updated_at' => '2019-03-11 07:36:56',\n ),\n 107 => \n array (\n 'id' => 108,\n 'name' => 'technology',\n 'link' => '/topics/technology',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:56',\n 'updated_at' => '2019-03-11 07:36:56',\n ),\n 108 => \n array (\n 'id' => 109,\n 'name' => 'teen',\n 'link' => '/topics/teen',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:56',\n 'updated_at' => '2019-03-11 07:36:56',\n ),\n 109 => \n array (\n 'id' => 110,\n 'name' => 'thankful',\n 'link' => '/topics/thankful',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:57',\n 'updated_at' => '2019-03-11 07:36:57',\n ),\n 110 => \n array (\n 'id' => 111,\n 'name' => 'thanksgiving',\n 'link' => '/topics/thanksgiving',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:57',\n 'updated_at' => '2019-03-11 07:36:57',\n ),\n 111 => \n array (\n 'id' => 112,\n 'name' => 'time',\n 'link' => '/topics/time',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:57',\n 'updated_at' => '2019-03-11 07:36:57',\n ),\n 112 => \n array (\n 'id' => 113,\n 'name' => 'travel',\n 'link' => '/topics/travel',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:57',\n 'updated_at' => '2019-03-11 07:36:57',\n ),\n 113 => \n array (\n 'id' => 114,\n 'name' => 'trust',\n 'link' => '/topics/trust',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:57',\n 'updated_at' => '2019-03-11 07:36:57',\n ),\n 114 => \n array (\n 'id' => 115,\n 'name' => 'truth',\n 'link' => '/topics/truth',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:58',\n 'updated_at' => '2019-03-11 07:36:58',\n ),\n 115 => \n array (\n 'id' => 116,\n 'name' => 'valentine\\'s day',\n 'link' => '/topics/valentinesday',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:58',\n 'updated_at' => '2019-03-11 07:36:58',\n ),\n 116 => \n array (\n 'id' => 117,\n 'name' => 'veterans day',\n 'link' => '/topics/veteransday',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:58',\n 'updated_at' => '2019-03-11 07:36:58',\n ),\n 117 => \n array (\n 'id' => 118,\n 'name' => 'war',\n 'link' => '/topics/war',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:58',\n 'updated_at' => '2019-03-11 07:36:58',\n ),\n 118 => \n array (\n 'id' => 119,\n 'name' => 'wedding',\n 'link' => '/topics/wedding',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:58',\n 'updated_at' => '2019-03-11 07:36:58',\n ),\n 119 => \n array (\n 'id' => 120,\n 'name' => 'wisdom',\n 'link' => '/topics/wisdom',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:58',\n 'updated_at' => '2019-03-11 07:36:58',\n ),\n 120 => \n array (\n 'id' => 121,\n 'name' => 'women',\n 'link' => '/topics/women',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:59',\n 'updated_at' => '2019-03-11 07:36:59',\n ),\n 121 => \n array (\n 'id' => 122,\n 'name' => 'work',\n 'link' => '/topics/work',\n 'source' => 'brainyquote.com',\n 'isActive' => 1,\n 'created_at' => '2019-03-11 07:36:59',\n 'updated_at' => '2019-03-11 07:36:59',\n ),\n 122 => \n array (\n 'id' => 123,\n 'name' => 'day',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:34:36',\n 'updated_at' => '2019-03-11 12:34:36',\n ),\n 123 => \n array (\n 'id' => 124,\n 'name' => 'live',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:42',\n 'updated_at' => '2019-03-11 12:41:42',\n ),\n 124 => \n array (\n 'id' => 125,\n 'name' => 'you',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:42',\n 'updated_at' => '2019-03-11 12:41:42',\n ),\n 125 => \n array (\n 'id' => 126,\n 'name' => 'never',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:43',\n 'updated_at' => '2019-03-11 12:41:43',\n ),\n 126 => \n array (\n 'id' => 127,\n 'name' => 'me',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:44',\n 'updated_at' => '2019-03-11 12:41:44',\n ),\n 127 => \n array (\n 'id' => 128,\n 'name' => 'think',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:44',\n 'updated_at' => '2019-03-11 12:41:44',\n ),\n 128 => \n array (\n 'id' => 129,\n 'name' => 'believe',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:45',\n 'updated_at' => '2019-03-11 12:41:45',\n ),\n 129 => \n array (\n 'id' => 130,\n 'name' => 'words',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:46',\n 'updated_at' => '2019-03-11 12:41:46',\n ),\n 130 => \n array (\n 'id' => 131,\n 'name' => 'lunch',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:46',\n 'updated_at' => '2019-03-11 12:41:46',\n ),\n 131 => \n array (\n 'id' => 132,\n 'name' => 'fun',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:47',\n 'updated_at' => '2019-03-11 12:41:47',\n ),\n 132 => \n array (\n 'id' => 133,\n 'name' => 'long',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:47',\n 'updated_at' => '2019-03-11 12:41:47',\n ),\n 133 => \n array (\n 'id' => 134,\n 'name' => 'short',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:47',\n 'updated_at' => '2019-03-11 12:41:47',\n ),\n 134 => \n array (\n 'id' => 135,\n 'name' => 'someone',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:48',\n 'updated_at' => '2019-03-11 12:41:48',\n ),\n 135 => \n array (\n 'id' => 136,\n 'name' => 'waiting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:49',\n 'updated_at' => '2019-03-11 12:41:49',\n ),\n 136 => \n array (\n 'id' => 137,\n 'name' => 'forest',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:49',\n 'updated_at' => '2019-03-11 12:41:49',\n ),\n 137 => \n array (\n 'id' => 138,\n 'name' => 'sometimes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:49',\n 'updated_at' => '2019-03-11 12:41:49',\n ),\n 138 => \n array (\n 'id' => 139,\n 'name' => 'flowers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:51',\n 'updated_at' => '2019-03-11 12:41:51',\n ),\n 139 => \n array (\n 'id' => 140,\n 'name' => 'know',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:51',\n 'updated_at' => '2019-03-11 12:41:51',\n ),\n 140 => \n array (\n 'id' => 141,\n 'name' => 'get',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:51',\n 'updated_at' => '2019-03-11 12:41:51',\n ),\n 141 => \n array (\n 'id' => 142,\n 'name' => 'them',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:52',\n 'updated_at' => '2019-03-11 12:41:52',\n ),\n 142 => \n array (\n 'id' => 143,\n 'name' => 'up',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:53',\n 'updated_at' => '2019-03-11 12:41:53',\n ),\n 143 => \n array (\n 'id' => 144,\n 'name' => 'organizing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:54',\n 'updated_at' => '2019-03-11 12:41:54',\n ),\n 144 => \n array (\n 'id' => 145,\n 'name' => 'something',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:54',\n 'updated_at' => '2019-03-11 12:41:54',\n ),\n 145 => \n array (\n 'id' => 146,\n 'name' => 'welcome',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:55',\n 'updated_at' => '2019-03-11 12:41:55',\n ),\n 146 => \n array (\n 'id' => 147,\n 'name' => 'gift',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:56',\n 'updated_at' => '2019-03-11 12:41:56',\n ),\n 147 => \n array (\n 'id' => 148,\n 'name' => 'view',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:56',\n 'updated_at' => '2019-03-11 12:41:56',\n ),\n 148 => \n array (\n 'id' => 149,\n 'name' => 'laughter',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:56',\n 'updated_at' => '2019-03-11 12:41:56',\n ),\n 149 => \n array (\n 'id' => 150,\n 'name' => 'envy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:57',\n 'updated_at' => '2019-03-11 12:41:57',\n ),\n 150 => \n array (\n 'id' => 151,\n 'name' => 'three',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:58',\n 'updated_at' => '2019-03-11 12:41:58',\n ),\n 151 => \n array (\n 'id' => 152,\n 'name' => 'uneducated',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:58',\n 'updated_at' => '2019-03-11 12:41:58',\n ),\n 152 => \n array (\n 'id' => 153,\n 'name' => 'just',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:41:59',\n 'updated_at' => '2019-03-11 12:41:59',\n ),\n 153 => \n array (\n 'id' => 154,\n 'name' => 'value',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:00',\n 'updated_at' => '2019-03-11 12:42:00',\n ),\n 154 => \n array (\n 'id' => 155,\n 'name' => 'listening',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:00',\n 'updated_at' => '2019-03-11 12:42:00',\n ),\n 155 => \n array (\n 'id' => 156,\n 'name' => 'underestimate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:01',\n 'updated_at' => '2019-03-11 12:42:01',\n ),\n 156 => \n array (\n 'id' => 157,\n 'name' => 'man',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:02',\n 'updated_at' => '2019-03-11 12:42:02',\n ),\n 157 => \n array (\n 'id' => 158,\n 'name' => 'own',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:02',\n 'updated_at' => '2019-03-11 12:42:02',\n ),\n 158 => \n array (\n 'id' => 159,\n 'name' => 'mankind',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:02',\n 'updated_at' => '2019-03-11 12:42:02',\n ),\n 159 => \n array (\n 'id' => 160,\n 'name' => 'then',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:03',\n 'updated_at' => '2019-03-11 12:42:03',\n ),\n 160 => \n array (\n 'id' => 161,\n 'name' => 'better',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:04',\n 'updated_at' => '2019-03-11 12:42:04',\n ),\n 161 => \n array (\n 'id' => 162,\n 'name' => 'say',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:05',\n 'updated_at' => '2019-03-11 12:42:05',\n ),\n 162 => \n array (\n 'id' => 163,\n 'name' => 'will',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:05',\n 'updated_at' => '2019-03-11 12:42:05',\n ),\n 163 => \n array (\n 'id' => 164,\n 'name' => 'watch',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:06',\n 'updated_at' => '2019-03-11 12:42:06',\n ),\n 164 => \n array (\n 'id' => 165,\n 'name' => 'instead',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:06',\n 'updated_at' => '2019-03-11 12:42:06',\n ),\n 165 => \n array (\n 'id' => 166,\n 'name' => 'start',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:08',\n 'updated_at' => '2019-03-11 12:42:08',\n ),\n 166 => \n array (\n 'id' => 167,\n 'name' => 'forget',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:08',\n 'updated_at' => '2019-03-11 12:42:08',\n ),\n 167 => \n array (\n 'id' => 168,\n 'name' => 'stop',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:08',\n 'updated_at' => '2019-03-11 12:42:08',\n ),\n 168 => \n array (\n 'id' => 169,\n 'name' => 'again',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:09',\n 'updated_at' => '2019-03-11 12:42:09',\n ),\n 169 => \n array (\n 'id' => 170,\n 'name' => 'need',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:10',\n 'updated_at' => '2019-03-11 12:42:10',\n ),\n 170 => \n array (\n 'id' => 171,\n 'name' => 'two',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:11',\n 'updated_at' => '2019-03-11 12:42:11',\n ),\n 171 => \n array (\n 'id' => 172,\n 'name' => 'who',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:11',\n 'updated_at' => '2019-03-11 12:42:11',\n ),\n 172 => \n array (\n 'id' => 173,\n 'name' => 'divided',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:11',\n 'updated_at' => '2019-03-11 12:42:11',\n ),\n 173 => \n array (\n 'id' => 174,\n 'name' => 'subject',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:11',\n 'updated_at' => '2019-03-11 12:42:11',\n ),\n 174 => \n array (\n 'id' => 175,\n 'name' => 'wrong',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:13',\n 'updated_at' => '2019-03-11 12:42:13',\n ),\n 175 => \n array (\n 'id' => 176,\n 'name' => 'places',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:13',\n 'updated_at' => '2019-03-11 12:42:13',\n ),\n 176 => \n array (\n 'id' => 177,\n 'name' => 'letters',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:13',\n 'updated_at' => '2019-03-11 12:42:13',\n ),\n 177 => \n array (\n 'id' => 178,\n 'name' => 'children',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:14',\n 'updated_at' => '2019-03-11 12:42:14',\n ),\n 178 => \n array (\n 'id' => 179,\n 'name' => 'writing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:15',\n 'updated_at' => '2019-03-11 12:42:15',\n ),\n 179 => \n array (\n 'id' => 180,\n 'name' => 'escape',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:15',\n 'updated_at' => '2019-03-11 12:42:15',\n ),\n 180 => \n array (\n 'id' => 181,\n 'name' => 'always',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:15',\n 'updated_at' => '2019-03-11 12:42:15',\n ),\n 181 => \n array (\n 'id' => 182,\n 'name' => 'books',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:16',\n 'updated_at' => '2019-03-11 12:42:16',\n ),\n 182 => \n array (\n 'id' => 183,\n 'name' => 'thought',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:17',\n 'updated_at' => '2019-03-11 12:42:17',\n ),\n 183 => \n array (\n 'id' => 184,\n 'name' => 'never forget',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:17',\n 'updated_at' => '2019-03-11 12:42:17',\n ),\n 184 => \n array (\n 'id' => 185,\n 'name' => 'being',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:18',\n 'updated_at' => '2019-03-11 12:42:18',\n ),\n 185 => \n array (\n 'id' => 186,\n 'name' => 'exciting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:19',\n 'updated_at' => '2019-03-11 12:42:19',\n ),\n 186 => \n array (\n 'id' => 187,\n 'name' => 'making',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:19',\n 'updated_at' => '2019-03-11 12:42:19',\n ),\n 187 => \n array (\n 'id' => 188,\n 'name' => 'advantages',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:19',\n 'updated_at' => '2019-03-11 12:42:19',\n ),\n 188 => \n array (\n 'id' => 189,\n 'name' => 'pretty',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:21',\n 'updated_at' => '2019-03-11 12:42:21',\n ),\n 189 => \n array (\n 'id' => 190,\n 'name' => 'he',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:21',\n 'updated_at' => '2019-03-11 12:42:21',\n ),\n 190 => \n array (\n 'id' => 191,\n 'name' => 'decent',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:21',\n 'updated_at' => '2019-03-11 12:42:21',\n ),\n 191 => \n array (\n 'id' => 192,\n 'name' => 'potatoes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:21',\n 'updated_at' => '2019-03-11 12:42:21',\n ),\n 192 => \n array (\n 'id' => 193,\n 'name' => 'likes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:22',\n 'updated_at' => '2019-03-11 12:42:22',\n ),\n 193 => \n array (\n 'id' => 194,\n 'name' => 'book',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:23',\n 'updated_at' => '2019-03-11 12:42:23',\n ),\n 194 => \n array (\n 'id' => 195,\n 'name' => 'golf',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:23',\n 'updated_at' => '2019-03-11 12:42:23',\n ),\n 195 => \n array (\n 'id' => 196,\n 'name' => 'cinema',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:23',\n 'updated_at' => '2019-03-11 12:42:23',\n ),\n 196 => \n array (\n 'id' => 197,\n 'name' => 'old',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:24',\n 'updated_at' => '2019-03-11 12:42:24',\n ),\n 197 => \n array (\n 'id' => 198,\n 'name' => 'mind',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:25',\n 'updated_at' => '2019-03-11 12:42:25',\n ),\n 198 => \n array (\n 'id' => 199,\n 'name' => 'happy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:25',\n 'updated_at' => '2019-03-11 12:42:25',\n ),\n 199 => \n array (\n 'id' => 200,\n 'name' => 'thinking',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:25',\n 'updated_at' => '2019-03-11 12:42:25',\n ),\n 200 => \n array (\n 'id' => 201,\n 'name' => 'only',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:26',\n 'updated_at' => '2019-03-11 12:42:26',\n ),\n 201 => \n array (\n 'id' => 202,\n 'name' => 'minority',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:26',\n 'updated_at' => '2019-03-11 12:42:26',\n ),\n 202 => \n array (\n 'id' => 203,\n 'name' => 'wind',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:27',\n 'updated_at' => '2019-03-11 12:42:27',\n ),\n 203 => \n array (\n 'id' => 204,\n 'name' => 'treasure',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:28',\n 'updated_at' => '2019-03-11 12:42:28',\n ),\n 204 => \n array (\n 'id' => 205,\n 'name' => 'island',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:28',\n 'updated_at' => '2019-03-11 12:42:28',\n ),\n 205 => \n array (\n 'id' => 206,\n 'name' => 'fame',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:29',\n 'updated_at' => '2019-03-11 12:42:29',\n ),\n 206 => \n array (\n 'id' => 207,\n 'name' => 'almost',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:30',\n 'updated_at' => '2019-03-11 12:42:30',\n ),\n 207 => \n array (\n 'id' => 208,\n 'name' => 'honey',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:30',\n 'updated_at' => '2019-03-11 12:42:30',\n ),\n 208 => \n array (\n 'id' => 209,\n 'name' => 'like',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:31',\n 'updated_at' => '2019-03-11 12:42:31',\n ),\n 209 => \n array (\n 'id' => 210,\n 'name' => 'world',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:32',\n 'updated_at' => '2019-03-11 12:42:32',\n ),\n 210 => \n array (\n 'id' => 211,\n 'name' => 'name',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:32',\n 'updated_at' => '2019-03-11 12:42:32',\n ),\n 211 => \n array (\n 'id' => 212,\n 'name' => 'doing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:33',\n 'updated_at' => '2019-03-11 12:42:33',\n ),\n 212 => \n array (\n 'id' => 213,\n 'name' => 'forever',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:33',\n 'updated_at' => '2019-03-11 12:42:33',\n ),\n 213 => \n array (\n 'id' => 214,\n 'name' => 'people',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:34',\n 'updated_at' => '2019-03-11 12:42:34',\n ),\n 214 => \n array (\n 'id' => 215,\n 'name' => 'care',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:35',\n 'updated_at' => '2019-03-11 12:42:35',\n ),\n 215 => \n array (\n 'id' => 216,\n 'name' => 'some people',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:35',\n 'updated_at' => '2019-03-11 12:42:35',\n ),\n 216 => \n array (\n 'id' => 217,\n 'name' => 'i am',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:36',\n 'updated_at' => '2019-03-11 12:42:36',\n ),\n 217 => \n array (\n 'id' => 218,\n 'name' => 'first',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-11 12:42:36',\n 'updated_at' => '2019-03-11 12:42:36',\n ),\n 218 => \n array (\n 'id' => 219,\n 'name' => 'remember',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:25',\n 'updated_at' => '2019-03-12 05:22:25',\n ),\n 219 => \n array (\n 'id' => 220,\n 'name' => 'weeds',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:26',\n 'updated_at' => '2019-03-12 05:22:26',\n ),\n 220 => \n array (\n 'id' => 221,\n 'name' => 'us',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:30',\n 'updated_at' => '2019-03-12 05:22:30',\n ),\n 221 => \n array (\n 'id' => 222,\n 'name' => 'want',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:32',\n 'updated_at' => '2019-03-12 05:22:32',\n ),\n 222 => \n array (\n 'id' => 223,\n 'name' => 'ever',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:34',\n 'updated_at' => '2019-03-12 05:22:34',\n ),\n 223 => \n array (\n 'id' => 224,\n 'name' => 'praise',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:37',\n 'updated_at' => '2019-03-12 05:22:37',\n ),\n 224 => \n array (\n 'id' => 225,\n 'name' => 'anything',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:38',\n 'updated_at' => '2019-03-12 05:22:38',\n ),\n 225 => \n array (\n 'id' => 226,\n 'name' => 'wants',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:38',\n 'updated_at' => '2019-03-12 05:22:38',\n ),\n 226 => \n array (\n 'id' => 227,\n 'name' => 'sensible',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:38',\n 'updated_at' => '2019-03-12 05:22:38',\n ),\n 227 => \n array (\n 'id' => 228,\n 'name' => 'too much',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:41',\n 'updated_at' => '2019-03-12 05:22:41',\n ),\n 228 => \n array (\n 'id' => 229,\n 'name' => 'too',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:41',\n 'updated_at' => '2019-03-12 05:22:41',\n ),\n 229 => \n array (\n 'id' => 230,\n 'name' => 'effort',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:42',\n 'updated_at' => '2019-03-12 05:22:42',\n ),\n 230 => \n array (\n 'id' => 231,\n 'name' => 'liar',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:42',\n 'updated_at' => '2019-03-12 05:22:42',\n ),\n 231 => \n array (\n 'id' => 232,\n 'name' => 'deserve',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:43',\n 'updated_at' => '2019-03-12 05:22:43',\n ),\n 232 => \n array (\n 'id' => 233,\n 'name' => 'may',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:43',\n 'updated_at' => '2019-03-12 05:22:43',\n ),\n 233 => \n array (\n 'id' => 234,\n 'name' => 'well',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:43',\n 'updated_at' => '2019-03-12 05:22:43',\n ),\n 234 => \n array (\n 'id' => 235,\n 'name' => 'spelling',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:45',\n 'updated_at' => '2019-03-12 05:22:45',\n ),\n 235 => \n array (\n 'id' => 236,\n 'name' => 'nothing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:47',\n 'updated_at' => '2019-03-12 05:22:47',\n ),\n 236 => \n array (\n 'id' => 237,\n 'name' => 'sure',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:49',\n 'updated_at' => '2019-03-12 05:22:49',\n ),\n 237 => \n array (\n 'id' => 238,\n 'name' => 'game',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:50',\n 'updated_at' => '2019-03-12 05:22:50',\n ),\n 238 => \n array (\n 'id' => 239,\n 'name' => 'bad',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:51',\n 'updated_at' => '2019-03-12 05:22:51',\n ),\n 239 => \n array (\n 'id' => 240,\n 'name' => 'because',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:51',\n 'updated_at' => '2019-03-12 05:22:51',\n ),\n 240 => \n array (\n 'id' => 241,\n 'name' => 'beginning',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:51',\n 'updated_at' => '2019-03-12 05:22:51',\n ),\n 241 => \n array (\n 'id' => 242,\n 'name' => 'process',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:52',\n 'updated_at' => '2019-03-12 05:22:52',\n ),\n 242 => \n array (\n 'id' => 243,\n 'name' => 'complicated',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:52',\n 'updated_at' => '2019-03-12 05:22:52',\n ),\n 243 => \n array (\n 'id' => 244,\n 'name' => 'stupid',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:53',\n 'updated_at' => '2019-03-12 05:22:53',\n ),\n 244 => \n array (\n 'id' => 245,\n 'name' => 'conflict',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:53',\n 'updated_at' => '2019-03-12 05:22:53',\n ),\n 245 => \n array (\n 'id' => 246,\n 'name' => 'bridge',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:53',\n 'updated_at' => '2019-03-12 05:22:53',\n ),\n 246 => \n array (\n 'id' => 247,\n 'name' => 'desire',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:54',\n 'updated_at' => '2019-03-12 05:22:54',\n ),\n 247 => \n array (\n 'id' => 248,\n 'name' => 'boundaries',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:54',\n 'updated_at' => '2019-03-12 05:22:54',\n ),\n 248 => \n array (\n 'id' => 249,\n 'name' => 'expression',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:54',\n 'updated_at' => '2019-03-12 05:22:54',\n ),\n 249 => \n array (\n 'id' => 250,\n 'name' => 'cross',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:55',\n 'updated_at' => '2019-03-12 05:22:55',\n ),\n 250 => \n array (\n 'id' => 251,\n 'name' => 'revenge',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:55',\n 'updated_at' => '2019-03-12 05:22:55',\n ),\n 251 => \n array (\n 'id' => 252,\n 'name' => 'suicide',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:55',\n 'updated_at' => '2019-03-12 05:22:55',\n ),\n 252 => \n array (\n 'id' => 253,\n 'name' => 'blood',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:56',\n 'updated_at' => '2019-03-12 05:22:56',\n ),\n 253 => \n array (\n 'id' => 254,\n 'name' => 'left',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:56',\n 'updated_at' => '2019-03-12 05:22:56',\n ),\n 254 => \n array (\n 'id' => 255,\n 'name' => 'gold',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:57',\n 'updated_at' => '2019-03-12 05:22:57',\n ),\n 255 => \n array (\n 'id' => 256,\n 'name' => 'literature',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:57',\n 'updated_at' => '2019-03-12 05:22:57',\n ),\n 256 => \n array (\n 'id' => 257,\n 'name' => 'relationships',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:57',\n 'updated_at' => '2019-03-12 05:22:57',\n ),\n 257 => \n array (\n 'id' => 258,\n 'name' => 'explore',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:57',\n 'updated_at' => '2019-03-12 05:22:57',\n ),\n 258 => \n array (\n 'id' => 259,\n 'name' => 'moment',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:58',\n 'updated_at' => '2019-03-12 05:22:58',\n ),\n 259 => \n array (\n 'id' => 260,\n 'name' => 'end',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:58',\n 'updated_at' => '2019-03-12 05:22:58',\n ),\n 260 => \n array (\n 'id' => 261,\n 'name' => 'past',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:59',\n 'updated_at' => '2019-03-12 05:22:59',\n ),\n 261 => \n array (\n 'id' => 262,\n 'name' => 'judge',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:59',\n 'updated_at' => '2019-03-12 05:22:59',\n ),\n 262 => \n array (\n 'id' => 263,\n 'name' => 'losing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:22:59',\n 'updated_at' => '2019-03-12 05:22:59',\n ),\n 263 => \n array (\n 'id' => 264,\n 'name' => 'claim',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:00',\n 'updated_at' => '2019-03-12 05:23:00',\n ),\n 264 => \n array (\n 'id' => 265,\n 'name' => 'capacity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:01',\n 'updated_at' => '2019-03-12 05:23:01',\n ),\n 265 => \n array (\n 'id' => 266,\n 'name' => 'part',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:01',\n 'updated_at' => '2019-03-12 05:23:01',\n ),\n 266 => \n array (\n 'id' => 267,\n 'name' => 'questions',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:01',\n 'updated_at' => '2019-03-12 05:23:01',\n ),\n 267 => \n array (\n 'id' => 268,\n 'name' => 'permission',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:02',\n 'updated_at' => '2019-03-12 05:23:02',\n ),\n 268 => \n array (\n 'id' => 269,\n 'name' => 'keep',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:02',\n 'updated_at' => '2019-03-12 05:23:02',\n ),\n 269 => \n array (\n 'id' => 270,\n 'name' => 'identity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:03',\n 'updated_at' => '2019-03-12 05:23:03',\n ),\n 270 => \n array (\n 'id' => 271,\n 'name' => 'question',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:03',\n 'updated_at' => '2019-03-12 05:23:03',\n ),\n 271 => \n array (\n 'id' => 272,\n 'name' => 'sense',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:03',\n 'updated_at' => '2019-03-12 05:23:03',\n ),\n 272 => \n array (\n 'id' => 273,\n 'name' => 'see',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:04',\n 'updated_at' => '2019-03-12 05:23:04',\n ),\n 273 => \n array (\n 'id' => 274,\n 'name' => 'give',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:04',\n 'updated_at' => '2019-03-12 05:23:04',\n ),\n 274 => \n array (\n 'id' => 275,\n 'name' => 'rather',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:05',\n 'updated_at' => '2019-03-12 05:23:05',\n ),\n 275 => \n array (\n 'id' => 276,\n 'name' => 'random',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:05',\n 'updated_at' => '2019-03-12 05:23:05',\n ),\n 276 => \n array (\n 'id' => 277,\n 'name' => 'honor',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:05',\n 'updated_at' => '2019-03-12 05:23:05',\n ),\n 277 => \n array (\n 'id' => 278,\n 'name' => 'mission',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:06',\n 'updated_at' => '2019-03-12 05:23:06',\n ),\n 278 => \n array (\n 'id' => 279,\n 'name' => 'bus',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:06',\n 'updated_at' => '2019-03-12 05:23:06',\n ),\n 279 => \n array (\n 'id' => 280,\n 'name' => 'appreciation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:06',\n 'updated_at' => '2019-03-12 05:23:06',\n ),\n 280 => \n array (\n 'id' => 281,\n 'name' => 'talk',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:07',\n 'updated_at' => '2019-03-12 05:23:07',\n ),\n 281 => \n array (\n 'id' => 282,\n 'name' => 'india',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:07',\n 'updated_at' => '2019-03-12 05:23:07',\n ),\n 282 => \n array (\n 'id' => 283,\n 'name' => 'new york',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:08',\n 'updated_at' => '2019-03-12 05:23:08',\n ),\n 283 => \n array (\n 'id' => 284,\n 'name' => 'looking',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:08',\n 'updated_at' => '2019-03-12 05:23:08',\n ),\n 284 => \n array (\n 'id' => 285,\n 'name' => 'new',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:09',\n 'updated_at' => '2019-03-12 05:23:09',\n ),\n 285 => \n array (\n 'id' => 286,\n 'name' => 'political',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:09',\n 'updated_at' => '2019-03-12 05:23:09',\n ),\n 286 => \n array (\n 'id' => 287,\n 'name' => 'social',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:09',\n 'updated_at' => '2019-03-12 05:23:09',\n ),\n 287 => \n array (\n 'id' => 288,\n 'name' => 'about',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:10',\n 'updated_at' => '2019-03-12 05:23:10',\n ),\n 288 => \n array (\n 'id' => 289,\n 'name' => 'directly',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:10',\n 'updated_at' => '2019-03-12 05:23:10',\n ),\n 289 => \n array (\n 'id' => 290,\n 'name' => 'tree',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:10',\n 'updated_at' => '2019-03-12 05:23:10',\n ),\n 290 => \n array (\n 'id' => 291,\n 'name' => 'support',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:11',\n 'updated_at' => '2019-03-12 05:23:11',\n ),\n 291 => \n array (\n 'id' => 292,\n 'name' => 'search',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:11',\n 'updated_at' => '2019-03-12 05:23:11',\n ),\n 292 => \n array (\n 'id' => 293,\n 'name' => 'why',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:12',\n 'updated_at' => '2019-03-12 05:23:12',\n ),\n 293 => \n array (\n 'id' => 294,\n 'name' => 'focus',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:12',\n 'updated_at' => '2019-03-12 05:23:12',\n ),\n 294 => \n array (\n 'id' => 295,\n 'name' => 'enjoy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:13',\n 'updated_at' => '2019-03-12 05:23:13',\n ),\n 295 => \n array (\n 'id' => 296,\n 'name' => 'responsibility',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:14',\n 'updated_at' => '2019-03-12 05:23:14',\n ),\n 296 => \n array (\n 'id' => 297,\n 'name' => 'social responsibility',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:14',\n 'updated_at' => '2019-03-12 05:23:14',\n ),\n 297 => \n array (\n 'id' => 298,\n 'name' => 'ideas',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:15',\n 'updated_at' => '2019-03-12 05:23:15',\n ),\n 298 => \n array (\n 'id' => 299,\n 'name' => 'free',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:15',\n 'updated_at' => '2019-03-12 05:23:15',\n ),\n 299 => \n array (\n 'id' => 300,\n 'name' => 'here',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:16',\n 'updated_at' => '2019-03-12 05:23:16',\n ),\n 300 => \n array (\n 'id' => 301,\n 'name' => 'other',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:16',\n 'updated_at' => '2019-03-12 05:23:16',\n ),\n 301 => \n array (\n 'id' => 302,\n 'name' => 'good example',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:17',\n 'updated_at' => '2019-03-12 05:23:17',\n ),\n 302 => \n array (\n 'id' => 303,\n 'name' => 'example',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:18',\n 'updated_at' => '2019-03-12 05:23:18',\n ),\n 303 => \n array (\n 'id' => 304,\n 'name' => 'must',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:19',\n 'updated_at' => '2019-03-12 05:23:19',\n ),\n 304 => \n array (\n 'id' => 305,\n 'name' => 'set',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:19',\n 'updated_at' => '2019-03-12 05:23:19',\n ),\n 305 => \n array (\n 'id' => 306,\n 'name' => 'heart',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:20',\n 'updated_at' => '2019-03-12 05:23:20',\n ),\n 306 => \n array (\n 'id' => 307,\n 'name' => 'liberal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:20',\n 'updated_at' => '2019-03-12 05:23:20',\n ),\n 307 => \n array (\n 'id' => 308,\n 'name' => 'act',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:21',\n 'updated_at' => '2019-03-12 05:23:21',\n ),\n 308 => \n array (\n 'id' => 309,\n 'name' => 'potential',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:21',\n 'updated_at' => '2019-03-12 05:23:21',\n ),\n 309 => \n array (\n 'id' => 310,\n 'name' => 'craving',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:22',\n 'updated_at' => '2019-03-12 05:23:22',\n ),\n 310 => \n array (\n 'id' => 311,\n 'name' => 'simple',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:22',\n 'updated_at' => '2019-03-12 05:23:22',\n ),\n 311 => \n array (\n 'id' => 312,\n 'name' => 'lust',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:23',\n 'updated_at' => '2019-03-12 05:23:23',\n ),\n 312 => \n array (\n 'id' => 313,\n 'name' => 'answers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:23',\n 'updated_at' => '2019-03-12 05:23:23',\n ),\n 313 => \n array (\n 'id' => 314,\n 'name' => 'baseball',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:23',\n 'updated_at' => '2019-03-12 05:23:23',\n ),\n 314 => \n array (\n 'id' => 315,\n 'name' => 'giving',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:25',\n 'updated_at' => '2019-03-12 05:23:25',\n ),\n 315 => \n array (\n 'id' => 316,\n 'name' => 'drive',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:26',\n 'updated_at' => '2019-03-12 05:23:26',\n ),\n 316 => \n array (\n 'id' => 317,\n 'name' => 'american',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:26',\n 'updated_at' => '2019-03-12 05:23:26',\n ),\n 317 => \n array (\n 'id' => 318,\n 'name' => 'president',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:26',\n 'updated_at' => '2019-03-12 05:23:26',\n ),\n 318 => \n array (\n 'id' => 319,\n 'name' => 'wanted',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:27',\n 'updated_at' => '2019-03-12 05:23:27',\n ),\n 319 => \n array (\n 'id' => 320,\n 'name' => 'race',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:27',\n 'updated_at' => '2019-03-12 05:23:27',\n ),\n 320 => \n array (\n 'id' => 321,\n 'name' => 'way',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:27',\n 'updated_at' => '2019-03-12 05:23:27',\n ),\n 321 => \n array (\n 'id' => 322,\n 'name' => 'matters',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:28',\n 'updated_at' => '2019-03-12 05:23:28',\n ),\n 322 => \n array (\n 'id' => 323,\n 'name' => 'lead',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:28',\n 'updated_at' => '2019-03-12 05:23:28',\n ),\n 323 => \n array (\n 'id' => 324,\n 'name' => 'superior',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:31',\n 'updated_at' => '2019-03-12 05:23:31',\n ),\n 324 => \n array (\n 'id' => 325,\n 'name' => 'push',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:31',\n 'updated_at' => '2019-03-12 05:23:31',\n ),\n 325 => \n array (\n 'id' => 326,\n 'name' => 'goal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:31',\n 'updated_at' => '2019-03-12 05:23:31',\n ),\n 326 => \n array (\n 'id' => 327,\n 'name' => 'solo',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:32',\n 'updated_at' => '2019-03-12 05:23:32',\n ),\n 327 => \n array (\n 'id' => 328,\n 'name' => 'expert',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:32',\n 'updated_at' => '2019-03-12 05:23:32',\n ),\n 328 => \n array (\n 'id' => 329,\n 'name' => 'academics',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:33',\n 'updated_at' => '2019-03-12 05:23:33',\n ),\n 329 => \n array (\n 'id' => 330,\n 'name' => 'both',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:33',\n 'updated_at' => '2019-03-12 05:23:33',\n ),\n 330 => \n array (\n 'id' => 331,\n 'name' => 'job',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:34',\n 'updated_at' => '2019-03-12 05:23:34',\n ),\n 331 => \n array (\n 'id' => 332,\n 'name' => 'my life',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:34',\n 'updated_at' => '2019-03-12 05:23:34',\n ),\n 332 => \n array (\n 'id' => 333,\n 'name' => 'whole',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:35',\n 'updated_at' => '2019-03-12 05:23:35',\n ),\n 333 => \n array (\n 'id' => 334,\n 'name' => 'undergone',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:35',\n 'updated_at' => '2019-03-12 05:23:35',\n ),\n 334 => \n array (\n 'id' => 335,\n 'name' => 'racism',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:36',\n 'updated_at' => '2019-03-12 05:23:36',\n ),\n 335 => \n array (\n 'id' => 336,\n 'name' => 'now',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:37',\n 'updated_at' => '2019-03-12 05:23:37',\n ),\n 336 => \n array (\n 'id' => 337,\n 'name' => 'sit',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:37',\n 'updated_at' => '2019-03-12 05:23:37',\n ),\n 337 => \n array (\n 'id' => 338,\n 'name' => 'going',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:38',\n 'updated_at' => '2019-03-12 05:23:38',\n ),\n 338 => \n array (\n 'id' => 339,\n 'name' => 'talent',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:38',\n 'updated_at' => '2019-03-12 05:23:38',\n ),\n 339 => \n array (\n 'id' => 340,\n 'name' => 'building',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:39',\n 'updated_at' => '2019-03-12 05:23:39',\n ),\n 340 => \n array (\n 'id' => 341,\n 'name' => 'outside',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:40',\n 'updated_at' => '2019-03-12 05:23:40',\n ),\n 341 => \n array (\n 'id' => 342,\n 'name' => 'management',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:40',\n 'updated_at' => '2019-03-12 05:23:40',\n ),\n 342 => \n array (\n 'id' => 343,\n 'name' => 'go',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:40',\n 'updated_at' => '2019-03-12 05:23:40',\n ),\n 343 => \n array (\n 'id' => 344,\n 'name' => 'national',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:41',\n 'updated_at' => '2019-03-12 05:23:41',\n ),\n 344 => \n array (\n 'id' => 345,\n 'name' => 'simply',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:41',\n 'updated_at' => '2019-03-12 05:23:41',\n ),\n 345 => \n array (\n 'id' => 346,\n 'name' => 'yale',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:41',\n 'updated_at' => '2019-03-12 05:23:41',\n ),\n 346 => \n array (\n 'id' => 347,\n 'name' => 'come',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:42',\n 'updated_at' => '2019-03-12 05:23:42',\n ),\n 347 => \n array (\n 'id' => 348,\n 'name' => 'grace',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:43',\n 'updated_at' => '2019-03-12 05:23:43',\n ),\n 348 => \n array (\n 'id' => 349,\n 'name' => 'friends',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:43',\n 'updated_at' => '2019-03-12 05:23:43',\n ),\n 349 => \n array (\n 'id' => 350,\n 'name' => 'special',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:44',\n 'updated_at' => '2019-03-12 05:23:44',\n ),\n 350 => \n array (\n 'id' => 351,\n 'name' => 'academic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:44',\n 'updated_at' => '2019-03-12 05:23:44',\n ),\n 351 => \n array (\n 'id' => 352,\n 'name' => 'trouble',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:44',\n 'updated_at' => '2019-03-12 05:23:44',\n ),\n 352 => \n array (\n 'id' => 353,\n 'name' => 'naive',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:45',\n 'updated_at' => '2019-03-12 05:23:45',\n ),\n 353 => \n array (\n 'id' => 354,\n 'name' => 'belief',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:45',\n 'updated_at' => '2019-03-12 05:23:45',\n ),\n 354 => \n array (\n 'id' => 355,\n 'name' => 'been',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:45',\n 'updated_at' => '2019-03-12 05:23:45',\n ),\n 355 => \n array (\n 'id' => 356,\n 'name' => 'culture',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:46',\n 'updated_at' => '2019-03-12 05:23:46',\n ),\n 356 => \n array (\n 'id' => 357,\n 'name' => 'values',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:46',\n 'updated_at' => '2019-03-12 05:23:46',\n ),\n 357 => \n array (\n 'id' => 358,\n 'name' => 'university',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:47',\n 'updated_at' => '2019-03-12 05:23:47',\n ),\n 358 => \n array (\n 'id' => 359,\n 'name' => 'today',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:47',\n 'updated_at' => '2019-03-12 05:23:47',\n ),\n 359 => \n array (\n 'id' => 360,\n 'name' => 'college',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:48',\n 'updated_at' => '2019-03-12 05:23:48',\n ),\n 360 => \n array (\n 'id' => 361,\n 'name' => 'self',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:48',\n 'updated_at' => '2019-03-12 05:23:48',\n ),\n 361 => \n array (\n 'id' => 362,\n 'name' => 'more',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:48',\n 'updated_at' => '2019-03-12 05:23:48',\n ),\n 362 => \n array (\n 'id' => 363,\n 'name' => 'scene',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:49',\n 'updated_at' => '2019-03-12 05:23:49',\n ),\n 363 => \n array (\n 'id' => 364,\n 'name' => 'than',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:49',\n 'updated_at' => '2019-03-12 05:23:49',\n ),\n 364 => \n array (\n 'id' => 365,\n 'name' => 'very',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:49',\n 'updated_at' => '2019-03-12 05:23:49',\n ),\n 365 => \n array (\n 'id' => 366,\n 'name' => 'worst',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:50',\n 'updated_at' => '2019-03-12 05:23:50',\n ),\n 366 => \n array (\n 'id' => 367,\n 'name' => 'losses',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:50',\n 'updated_at' => '2019-03-12 05:23:50',\n ),\n 367 => \n array (\n 'id' => 368,\n 'name' => 'misfortunes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:51',\n 'updated_at' => '2019-03-12 05:23:51',\n ),\n 368 => \n array (\n 'id' => 369,\n 'name' => 'fears',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:51',\n 'updated_at' => '2019-03-12 05:23:51',\n ),\n 369 => \n array (\n 'id' => 370,\n 'name' => 'help',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:52',\n 'updated_at' => '2019-03-12 05:23:52',\n ),\n 370 => \n array (\n 'id' => 371,\n 'name' => 'right',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:52',\n 'updated_at' => '2019-03-12 05:23:52',\n ),\n 371 => \n array (\n 'id' => 372,\n 'name' => 'refuse',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:52',\n 'updated_at' => '2019-03-12 05:23:52',\n ),\n 372 => \n array (\n 'id' => 373,\n 'name' => 'important',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:53',\n 'updated_at' => '2019-03-12 05:23:53',\n ),\n 373 => \n array (\n 'id' => 374,\n 'name' => 'knowing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:53',\n 'updated_at' => '2019-03-12 05:23:53',\n ),\n 374 => \n array (\n 'id' => 375,\n 'name' => 'taste',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:54',\n 'updated_at' => '2019-03-12 05:23:54',\n ),\n 375 => \n array (\n 'id' => 376,\n 'name' => 'beautiful',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:54',\n 'updated_at' => '2019-03-12 05:23:54',\n ),\n 376 => \n array (\n 'id' => 377,\n 'name' => 'grow',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:55',\n 'updated_at' => '2019-03-12 05:23:55',\n ),\n 377 => \n array (\n 'id' => 378,\n 'name' => 'slow',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:55',\n 'updated_at' => '2019-03-12 05:23:55',\n ),\n 378 => \n array (\n 'id' => 379,\n 'name' => 'mystery',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:55',\n 'updated_at' => '2019-03-12 05:23:55',\n ),\n 379 => \n array (\n 'id' => 380,\n 'name' => 'boy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:56',\n 'updated_at' => '2019-03-12 05:23:56',\n ),\n 380 => \n array (\n 'id' => 381,\n 'name' => 'emotions',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:56',\n 'updated_at' => '2019-03-12 05:23:56',\n ),\n 381 => \n array (\n 'id' => 382,\n 'name' => 'opinions',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:57',\n 'updated_at' => '2019-03-12 05:23:57',\n ),\n 382 => \n array (\n 'id' => 383,\n 'name' => 'story',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:57',\n 'updated_at' => '2019-03-12 05:23:57',\n ),\n 383 => \n array (\n 'id' => 384,\n 'name' => 'reality',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:58',\n 'updated_at' => '2019-03-12 05:23:58',\n ),\n 384 => \n array (\n 'id' => 385,\n 'name' => 'clear',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:59',\n 'updated_at' => '2019-03-12 05:23:59',\n ),\n 385 => \n array (\n 'id' => 386,\n 'name' => 'newspaper',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:23:59',\n 'updated_at' => '2019-03-12 05:23:59',\n ),\n 386 => \n array (\n 'id' => 387,\n 'name' => 'fiction',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:00',\n 'updated_at' => '2019-03-12 05:24:00',\n ),\n 387 => \n array (\n 'id' => 388,\n 'name' => 'read',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:00',\n 'updated_at' => '2019-03-12 05:24:00',\n ),\n 388 => \n array (\n 'id' => 389,\n 'name' => 'continuous',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:00',\n 'updated_at' => '2019-03-12 05:24:00',\n ),\n 389 => \n array (\n 'id' => 390,\n 'name' => 'march',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:02',\n 'updated_at' => '2019-03-12 05:24:02',\n ),\n 390 => \n array (\n 'id' => 391,\n 'name' => 'animal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:02',\n 'updated_at' => '2019-03-12 05:24:02',\n ),\n 391 => \n array (\n 'id' => 392,\n 'name' => 'makes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:02',\n 'updated_at' => '2019-03-12 05:24:02',\n ),\n 392 => \n array (\n 'id' => 393,\n 'name' => 'ambition',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:03',\n 'updated_at' => '2019-03-12 05:24:03',\n ),\n 393 => \n array (\n 'id' => 394,\n 'name' => 'climbing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:03',\n 'updated_at' => '2019-03-12 05:24:03',\n ),\n 394 => \n array (\n 'id' => 395,\n 'name' => 'same',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:03',\n 'updated_at' => '2019-03-12 05:24:03',\n ),\n 395 => \n array (\n 'id' => 396,\n 'name' => 'half',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:04',\n 'updated_at' => '2019-03-12 05:24:04',\n ),\n 396 => \n array (\n 'id' => 397,\n 'name' => 'begun',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:04',\n 'updated_at' => '2019-03-12 05:24:04',\n ),\n 397 => \n array (\n 'id' => 398,\n 'name' => 'ended',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:04',\n 'updated_at' => '2019-03-12 05:24:04',\n ),\n 398 => \n array (\n 'id' => 399,\n 'name' => 'feel',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:05',\n 'updated_at' => '2019-03-12 05:24:05',\n ),\n 399 => \n array (\n 'id' => 400,\n 'name' => 'stars',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:06',\n 'updated_at' => '2019-03-12 05:24:06',\n ),\n 400 => \n array (\n 'id' => 401,\n 'name' => 'pages',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:07',\n 'updated_at' => '2019-03-12 05:24:07',\n ),\n 401 => \n array (\n 'id' => 402,\n 'name' => 'memory',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:07',\n 'updated_at' => '2019-03-12 05:24:07',\n ),\n 402 => \n array (\n 'id' => 403,\n 'name' => 'perception',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:08',\n 'updated_at' => '2019-03-12 05:24:08',\n ),\n 403 => \n array (\n 'id' => 404,\n 'name' => 'discrimination',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:08',\n 'updated_at' => '2019-03-12 05:24:08',\n ),\n 404 => \n array (\n 'id' => 405,\n 'name' => 'sky',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:09',\n 'updated_at' => '2019-03-12 05:24:09',\n ),\n 405 => \n array (\n 'id' => 406,\n 'name' => 'angry',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:09',\n 'updated_at' => '2019-03-12 05:24:09',\n ),\n 406 => \n array (\n 'id' => 407,\n 'name' => 'proud',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:09',\n 'updated_at' => '2019-03-12 05:24:09',\n ),\n 407 => \n array (\n 'id' => 408,\n 'name' => 'drink',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:10',\n 'updated_at' => '2019-03-12 05:24:10',\n ),\n 408 => \n array (\n 'id' => 409,\n 'name' => 'shoulder',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:10',\n 'updated_at' => '2019-03-12 05:24:10',\n ),\n 409 => \n array (\n 'id' => 410,\n 'name' => 'bear',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:10',\n 'updated_at' => '2019-03-12 05:24:10',\n ),\n 410 => \n array (\n 'id' => 411,\n 'name' => 'house',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:11',\n 'updated_at' => '2019-03-12 05:24:11',\n ),\n 411 => \n array (\n 'id' => 412,\n 'name' => 'build',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:11',\n 'updated_at' => '2019-03-12 05:24:11',\n ),\n 412 => \n array (\n 'id' => 413,\n 'name' => 'cheap',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:12',\n 'updated_at' => '2019-03-12 05:24:12',\n ),\n 413 => \n array (\n 'id' => 414,\n 'name' => 'delusions',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:13',\n 'updated_at' => '2019-03-12 05:24:13',\n ),\n 414 => \n array (\n 'id' => 415,\n 'name' => 'him',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:13',\n 'updated_at' => '2019-03-12 05:24:13',\n ),\n 415 => \n array (\n 'id' => 416,\n 'name' => 'ability',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:14',\n 'updated_at' => '2019-03-12 05:24:14',\n ),\n 416 => \n array (\n 'id' => 417,\n 'name' => 'content',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:14',\n 'updated_at' => '2019-03-12 05:24:14',\n ),\n 417 => \n array (\n 'id' => 418,\n 'name' => 'perfect',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:14',\n 'updated_at' => '2019-03-12 05:24:14',\n ),\n 418 => \n array (\n 'id' => 419,\n 'name' => 'understanding',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:15',\n 'updated_at' => '2019-03-12 05:24:15',\n ),\n 419 => \n array (\n 'id' => 420,\n 'name' => 'meaning',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:15',\n 'updated_at' => '2019-03-12 05:24:15',\n ),\n 420 => \n array (\n 'id' => 421,\n 'name' => 'hurts',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:16',\n 'updated_at' => '2019-03-12 05:24:16',\n ),\n 421 => \n array (\n 'id' => 422,\n 'name' => 'stuff',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:17',\n 'updated_at' => '2019-03-12 05:24:17',\n ),\n 422 => \n array (\n 'id' => 423,\n 'name' => 'whom',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:17',\n 'updated_at' => '2019-03-12 05:24:17',\n ),\n 423 => \n array (\n 'id' => 424,\n 'name' => 'criticism',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:18',\n 'updated_at' => '2019-03-12 05:24:18',\n ),\n 424 => \n array (\n 'id' => 425,\n 'name' => 'average',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:18',\n 'updated_at' => '2019-03-12 05:24:18',\n ),\n 425 => \n array (\n 'id' => 426,\n 'name' => 'conservative',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:19',\n 'updated_at' => '2019-03-12 05:24:19',\n ),\n 426 => \n array (\n 'id' => 427,\n 'name' => 'hell',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:19',\n 'updated_at' => '2019-03-12 05:24:19',\n ),\n 427 => \n array (\n 'id' => 428,\n 'name' => 'hand',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:20',\n 'updated_at' => '2019-03-12 05:24:20',\n ),\n 428 => \n array (\n 'id' => 429,\n 'name' => 'tell',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:20',\n 'updated_at' => '2019-03-12 05:24:20',\n ),\n 429 => \n array (\n 'id' => 430,\n 'name' => 'innocence',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:21',\n 'updated_at' => '2019-03-12 05:24:21',\n ),\n 430 => \n array (\n 'id' => 431,\n 'name' => 'air',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:21',\n 'updated_at' => '2019-03-12 05:24:21',\n ),\n 431 => \n array (\n 'id' => 432,\n 'name' => 'seems',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:21',\n 'updated_at' => '2019-03-12 05:24:21',\n ),\n 432 => \n array (\n 'id' => 433,\n 'name' => 'cunning',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:22',\n 'updated_at' => '2019-03-12 05:24:22',\n ),\n 433 => \n array (\n 'id' => 434,\n 'name' => 'lost',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:23',\n 'updated_at' => '2019-03-12 05:24:23',\n ),\n 434 => \n array (\n 'id' => 435,\n 'name' => 'land',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:23',\n 'updated_at' => '2019-03-12 05:24:23',\n ),\n 435 => \n array (\n 'id' => 436,\n 'name' => 'i see',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:23',\n 'updated_at' => '2019-03-12 05:24:23',\n ),\n 436 => \n array (\n 'id' => 437,\n 'name' => 'laws',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:24',\n 'updated_at' => '2019-03-12 05:24:24',\n ),\n 437 => \n array (\n 'id' => 438,\n 'name' => 'your',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:26',\n 'updated_at' => '2019-03-12 05:24:26',\n ),\n 438 => \n array (\n 'id' => 439,\n 'name' => 'ale',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:26',\n 'updated_at' => '2019-03-12 05:24:26',\n ),\n 439 => \n array (\n 'id' => 440,\n 'name' => 'lad',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:26',\n 'updated_at' => '2019-03-12 05:24:26',\n ),\n 440 => \n array (\n 'id' => 441,\n 'name' => 'justify',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:27',\n 'updated_at' => '2019-03-12 05:24:27',\n ),\n 441 => \n array (\n 'id' => 442,\n 'name' => 'does',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:27',\n 'updated_at' => '2019-03-12 05:24:27',\n ),\n 442 => \n array (\n 'id' => 443,\n 'name' => 'lie',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:28',\n 'updated_at' => '2019-03-12 05:24:28',\n ),\n 443 => \n array (\n 'id' => 444,\n 'name' => 'lose',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:28',\n 'updated_at' => '2019-03-12 05:24:28',\n ),\n 444 => \n array (\n 'id' => 445,\n 'name' => 'find',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:30',\n 'updated_at' => '2019-03-12 05:24:30',\n ),\n 445 => \n array (\n 'id' => 446,\n 'name' => 'asylum',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:30',\n 'updated_at' => '2019-03-12 05:24:30',\n ),\n 446 => \n array (\n 'id' => 447,\n 'name' => 'word',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:30',\n 'updated_at' => '2019-03-12 05:24:30',\n ),\n 447 => \n array (\n 'id' => 448,\n 'name' => 'cambridge',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:31',\n 'updated_at' => '2019-03-12 05:24:31',\n ),\n 448 => \n array (\n 'id' => 449,\n 'name' => 'rat',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:31',\n 'updated_at' => '2019-03-12 05:24:31',\n ),\n 449 => \n array (\n 'id' => 450,\n 'name' => 'define',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:31',\n 'updated_at' => '2019-03-12 05:24:31',\n ),\n 450 => \n array (\n 'id' => 451,\n 'name' => 'could',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:32',\n 'updated_at' => '2019-03-12 05:24:32',\n ),\n 451 => \n array (\n 'id' => 452,\n 'name' => 'skin',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:33',\n 'updated_at' => '2019-03-12 05:24:33',\n ),\n 452 => \n array (\n 'id' => 453,\n 'name' => 'line',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:33',\n 'updated_at' => '2019-03-12 05:24:33',\n ),\n 453 => \n array (\n 'id' => 454,\n 'name' => 'razor',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:34',\n 'updated_at' => '2019-03-12 05:24:34',\n ),\n 454 => \n array (\n 'id' => 455,\n 'name' => 'behavior',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:34',\n 'updated_at' => '2019-03-12 05:24:34',\n ),\n 455 => \n array (\n 'id' => 456,\n 'name' => 'human behavior',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:34',\n 'updated_at' => '2019-03-12 05:24:34',\n ),\n 456 => \n array (\n 'id' => 457,\n 'name' => 'human',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:35',\n 'updated_at' => '2019-03-12 05:24:35',\n ),\n 457 => \n array (\n 'id' => 458,\n 'name' => 'study',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:35',\n 'updated_at' => '2019-03-12 05:24:35',\n ),\n 458 => \n array (\n 'id' => 459,\n 'name' => 'living',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:36',\n 'updated_at' => '2019-03-12 05:24:36',\n ),\n 459 => \n array (\n 'id' => 460,\n 'name' => 'self-awareness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:36',\n 'updated_at' => '2019-03-12 05:24:36',\n ),\n 460 => \n array (\n 'id' => 461,\n 'name' => 'stories',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:37',\n 'updated_at' => '2019-03-12 05:24:37',\n ),\n 461 => \n array (\n 'id' => 462,\n 'name' => 'recall',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:37',\n 'updated_at' => '2019-03-12 05:24:37',\n ),\n 462 => \n array (\n 'id' => 463,\n 'name' => 'reader',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:38',\n 'updated_at' => '2019-03-12 05:24:38',\n ),\n 463 => \n array (\n 'id' => 464,\n 'name' => 'also',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:39',\n 'updated_at' => '2019-03-12 05:24:39',\n ),\n 464 => \n array (\n 'id' => 465,\n 'name' => 'page',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:39',\n 'updated_at' => '2019-03-12 05:24:39',\n ),\n 465 => \n array (\n 'id' => 466,\n 'name' => 'language',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:40',\n 'updated_at' => '2019-03-12 05:24:40',\n ),\n 466 => \n array (\n 'id' => 467,\n 'name' => 'interesting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:40',\n 'updated_at' => '2019-03-12 05:24:40',\n ),\n 467 => \n array (\n 'id' => 468,\n 'name' => 'mine',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:41',\n 'updated_at' => '2019-03-12 05:24:41',\n ),\n 468 => \n array (\n 'id' => 469,\n 'name' => 'off',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:42',\n 'updated_at' => '2019-03-12 05:24:42',\n ),\n 469 => \n array (\n 'id' => 470,\n 'name' => 'year',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:43',\n 'updated_at' => '2019-03-12 05:24:43',\n ),\n 470 => \n array (\n 'id' => 471,\n 'name' => 'run',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:43',\n 'updated_at' => '2019-03-12 05:24:43',\n ),\n 471 => \n array (\n 'id' => 472,\n 'name' => 'feeling',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:44',\n 'updated_at' => '2019-03-12 05:24:44',\n ),\n 472 => \n array (\n 'id' => 473,\n 'name' => 'years',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:44',\n 'updated_at' => '2019-03-12 05:24:44',\n ),\n 473 => \n array (\n 'id' => 474,\n 'name' => 'things',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:44',\n 'updated_at' => '2019-03-12 05:24:44',\n ),\n 474 => \n array (\n 'id' => 475,\n 'name' => 'done',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:45',\n 'updated_at' => '2019-03-12 05:24:45',\n ),\n 475 => \n array (\n 'id' => 476,\n 'name' => 'alive',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:46',\n 'updated_at' => '2019-03-12 05:24:46',\n ),\n 476 => \n array (\n 'id' => 477,\n 'name' => 'stay',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:46',\n 'updated_at' => '2019-03-12 05:24:46',\n ),\n 477 => \n array (\n 'id' => 478,\n 'name' => 'touch',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:47',\n 'updated_at' => '2019-03-12 05:24:47',\n ),\n 478 => \n array (\n 'id' => 479,\n 'name' => 'over',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:47',\n 'updated_at' => '2019-03-12 05:24:47',\n ),\n 479 => \n array (\n 'id' => 480,\n 'name' => 'science fiction',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:48',\n 'updated_at' => '2019-03-12 05:24:48',\n ),\n 480 => \n array (\n 'id' => 481,\n 'name' => 'parents',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:49',\n 'updated_at' => '2019-03-12 05:24:49',\n ),\n 481 => \n array (\n 'id' => 482,\n 'name' => 'thoughts',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:49',\n 'updated_at' => '2019-03-12 05:24:49',\n ),\n 482 => \n array (\n 'id' => 483,\n 'name' => 'encouragement',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:50',\n 'updated_at' => '2019-03-12 05:24:50',\n ),\n 483 => \n array (\n 'id' => 484,\n 'name' => 'early',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:51',\n 'updated_at' => '2019-03-12 05:24:51',\n ),\n 484 => \n array (\n 'id' => 485,\n 'name' => 'days',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:51',\n 'updated_at' => '2019-03-12 05:24:51',\n ),\n 485 => \n array (\n 'id' => 486,\n 'name' => 'pay',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:52',\n 'updated_at' => '2019-03-12 05:24:52',\n ),\n 486 => \n array (\n 'id' => 487,\n 'name' => 'month',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:52',\n 'updated_at' => '2019-03-12 05:24:52',\n ),\n 487 => \n array (\n 'id' => 488,\n 'name' => 'cost',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:53',\n 'updated_at' => '2019-03-12 05:24:53',\n ),\n 488 => \n array (\n 'id' => 489,\n 'name' => 'result',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:53',\n 'updated_at' => '2019-03-12 05:24:53',\n ),\n 489 => \n array (\n 'id' => 490,\n 'name' => 'recruiting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:53',\n 'updated_at' => '2019-03-12 05:24:53',\n ),\n 490 => \n array (\n 'id' => 491,\n 'name' => 'anxious',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:54',\n 'updated_at' => '2019-03-12 05:24:54',\n ),\n 491 => \n array (\n 'id' => 492,\n 'name' => 'many',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:54',\n 'updated_at' => '2019-03-12 05:24:54',\n ),\n 492 => \n array (\n 'id' => 493,\n 'name' => 'woman',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:56',\n 'updated_at' => '2019-03-12 05:24:56',\n ),\n 493 => \n array (\n 'id' => 494,\n 'name' => 'true',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:56',\n 'updated_at' => '2019-03-12 05:24:56',\n ),\n 494 => \n array (\n 'id' => 495,\n 'name' => 'symbolism',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:56',\n 'updated_at' => '2019-03-12 05:24:56',\n ),\n 495 => \n array (\n 'id' => 496,\n 'name' => 'signs',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:57',\n 'updated_at' => '2019-03-12 05:24:57',\n ),\n 496 => \n array (\n 'id' => 497,\n 'name' => 'harmony',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:58',\n 'updated_at' => '2019-03-12 05:24:58',\n ),\n 497 => \n array (\n 'id' => 498,\n 'name' => 'hands',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:58',\n 'updated_at' => '2019-03-12 05:24:58',\n ),\n 498 => \n array (\n 'id' => 499,\n 'name' => 'person',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:59',\n 'updated_at' => '2019-03-12 05:24:59',\n ),\n 499 => \n array (\n 'id' => 500,\n 'name' => 'court',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:59',\n 'updated_at' => '2019-03-12 05:24:59',\n ),\n ));\n \\DB::table('tags')->insert(array (\n 0 => \n array (\n 'id' => 501,\n 'name' => 'should',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:24:59',\n 'updated_at' => '2019-03-12 05:24:59',\n ),\n 1 => \n array (\n 'id' => 502,\n 'name' => 'myself',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:00',\n 'updated_at' => '2019-03-12 05:25:00',\n ),\n 2 => \n array (\n 'id' => 503,\n 'name' => 'acting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:01',\n 'updated_at' => '2019-03-12 05:25:01',\n ),\n 3 => \n array (\n 'id' => 504,\n 'name' => 'connected',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:01',\n 'updated_at' => '2019-03-12 05:25:01',\n ),\n 4 => \n array (\n 'id' => 505,\n 'name' => 'activity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:02',\n 'updated_at' => '2019-03-12 05:25:02',\n ),\n 5 => \n array (\n 'id' => 506,\n 'name' => 'universal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:02',\n 'updated_at' => '2019-03-12 05:25:02',\n ),\n 6 => \n array (\n 'id' => 507,\n 'name' => 'cards',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:02',\n 'updated_at' => '2019-03-12 05:25:02',\n ),\n 7 => \n array (\n 'id' => 508,\n 'name' => 'evidence',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:03',\n 'updated_at' => '2019-03-12 05:25:03',\n ),\n 8 => \n array (\n 'id' => 509,\n 'name' => 'seen',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:03',\n 'updated_at' => '2019-03-12 05:25:03',\n ),\n 9 => \n array (\n 'id' => 510,\n 'name' => 'origin',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:03',\n 'updated_at' => '2019-03-12 05:25:03',\n ),\n 10 => \n array (\n 'id' => 511,\n 'name' => 'hair',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:04',\n 'updated_at' => '2019-03-12 05:25:04',\n ),\n 11 => \n array (\n 'id' => 512,\n 'name' => 'beard',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:04',\n 'updated_at' => '2019-03-12 05:25:04',\n ),\n 12 => \n array (\n 'id' => 513,\n 'name' => 'actor',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:05',\n 'updated_at' => '2019-03-12 05:25:05',\n ),\n 13 => \n array (\n 'id' => 514,\n 'name' => 'written',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:06',\n 'updated_at' => '2019-03-12 05:25:06',\n ),\n 14 => \n array (\n 'id' => 515,\n 'name' => 'certainly',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:06',\n 'updated_at' => '2019-03-12 05:25:06',\n ),\n 15 => \n array (\n 'id' => 516,\n 'name' => 'intelligent',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:06',\n 'updated_at' => '2019-03-12 05:25:06',\n ),\n 16 => \n array (\n 'id' => 517,\n 'name' => 'human being',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:07',\n 'updated_at' => '2019-03-12 05:25:07',\n ),\n 17 => \n array (\n 'id' => 518,\n 'name' => 'financial',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:08',\n 'updated_at' => '2019-03-12 05:25:08',\n ),\n 18 => \n array (\n 'id' => 519,\n 'name' => 'fair',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:09',\n 'updated_at' => '2019-03-12 05:25:09',\n ),\n 19 => \n array (\n 'id' => 520,\n 'name' => 'plague',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:10',\n 'updated_at' => '2019-03-12 05:25:10',\n ),\n 20 => \n array (\n 'id' => 521,\n 'name' => 'eyes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:10',\n 'updated_at' => '2019-03-12 05:25:10',\n ),\n 21 => \n array (\n 'id' => 522,\n 'name' => 'character',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:10',\n 'updated_at' => '2019-03-12 05:25:10',\n ),\n 22 => \n array (\n 'id' => 523,\n 'name' => 'action',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:11',\n 'updated_at' => '2019-03-12 05:25:11',\n ),\n 23 => \n array (\n 'id' => 524,\n 'name' => 'horror',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:11',\n 'updated_at' => '2019-03-12 05:25:11',\n ),\n 24 => \n array (\n 'id' => 525,\n 'name' => 'i love',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:12',\n 'updated_at' => '2019-03-12 05:25:12',\n ),\n 25 => \n array (\n 'id' => 526,\n 'name' => 'guy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:13',\n 'updated_at' => '2019-03-12 05:25:13',\n ),\n 26 => \n array (\n 'id' => 527,\n 'name' => 'nine',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:13',\n 'updated_at' => '2019-03-12 05:25:13',\n ),\n 27 => \n array (\n 'id' => 528,\n 'name' => 'nerdy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:14',\n 'updated_at' => '2019-03-12 05:25:14',\n ),\n 28 => \n array (\n 'id' => 529,\n 'name' => 'lucky',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:14',\n 'updated_at' => '2019-03-12 05:25:14',\n ),\n 29 => \n array (\n 'id' => 530,\n 'name' => 'supernatural',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:15',\n 'updated_at' => '2019-03-12 05:25:15',\n ),\n 30 => \n array (\n 'id' => 531,\n 'name' => 'school',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:15',\n 'updated_at' => '2019-03-12 05:25:15',\n ),\n 31 => \n array (\n 'id' => 532,\n 'name' => 'really',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:16',\n 'updated_at' => '2019-03-12 05:25:16',\n ),\n 32 => \n array (\n 'id' => 533,\n 'name' => 'down',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:16',\n 'updated_at' => '2019-03-12 05:25:16',\n ),\n 33 => \n array (\n 'id' => 534,\n 'name' => 'facts',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:17',\n 'updated_at' => '2019-03-12 05:25:17',\n ),\n 34 => \n array (\n 'id' => 535,\n 'name' => 'mountains',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:18',\n 'updated_at' => '2019-03-12 05:25:18',\n ),\n 35 => \n array (\n 'id' => 536,\n 'name' => 'distance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:18',\n 'updated_at' => '2019-03-12 05:25:18',\n ),\n 36 => \n array (\n 'id' => 537,\n 'name' => 'los angeles',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:19',\n 'updated_at' => '2019-03-12 05:25:19',\n ),\n 37 => \n array (\n 'id' => 538,\n 'name' => 'lot',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:19',\n 'updated_at' => '2019-03-12 05:25:19',\n ),\n 38 => \n array (\n 'id' => 539,\n 'name' => 'make',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:20',\n 'updated_at' => '2019-03-12 05:25:20',\n ),\n 39 => \n array (\n 'id' => 540,\n 'name' => 'girl',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:21',\n 'updated_at' => '2019-03-12 05:25:21',\n ),\n 40 => \n array (\n 'id' => 541,\n 'name' => 'beach',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:21',\n 'updated_at' => '2019-03-12 05:25:21',\n ),\n 41 => \n array (\n 'id' => 542,\n 'name' => 'gym',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:21',\n 'updated_at' => '2019-03-12 05:25:21',\n ),\n 42 => \n array (\n 'id' => 543,\n 'name' => 'kings',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:22',\n 'updated_at' => '2019-03-12 05:25:22',\n ),\n 43 => \n array (\n 'id' => 544,\n 'name' => 'extra',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:23',\n 'updated_at' => '2019-03-12 05:25:23',\n ),\n 44 => \n array (\n 'id' => 545,\n 'name' => 'movie',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:23',\n 'updated_at' => '2019-03-12 05:25:23',\n ),\n 45 => \n array (\n 'id' => 546,\n 'name' => 'fight',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:24',\n 'updated_at' => '2019-03-12 05:25:24',\n ),\n 46 => \n array (\n 'id' => 547,\n 'name' => 'project',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:24',\n 'updated_at' => '2019-03-12 05:25:24',\n ),\n 47 => \n array (\n 'id' => 548,\n 'name' => 'hard',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:25',\n 'updated_at' => '2019-03-12 05:25:25',\n ),\n 48 => \n array (\n 'id' => 549,\n 'name' => 'grateful',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:25',\n 'updated_at' => '2019-03-12 05:25:25',\n ),\n 49 => \n array (\n 'id' => 550,\n 'name' => 'wish',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:26',\n 'updated_at' => '2019-03-12 05:25:26',\n ),\n 50 => \n array (\n 'id' => 551,\n 'name' => 'i have learned',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:26',\n 'updated_at' => '2019-03-12 05:25:26',\n ),\n 51 => \n array (\n 'id' => 552,\n 'name' => 'feel good',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:27',\n 'updated_at' => '2019-03-12 05:25:27',\n ),\n 52 => \n array (\n 'id' => 553,\n 'name' => 'jackets',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:28',\n 'updated_at' => '2019-03-12 05:25:28',\n ),\n 53 => \n array (\n 'id' => 554,\n 'name' => 'coats',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:29',\n 'updated_at' => '2019-03-12 05:25:29',\n ),\n 54 => \n array (\n 'id' => 555,\n 'name' => 'easy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:29',\n 'updated_at' => '2019-03-12 05:25:29',\n ),\n 55 => \n array (\n 'id' => 556,\n 'name' => 'out',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:29',\n 'updated_at' => '2019-03-12 05:25:29',\n ),\n 56 => \n array (\n 'id' => 557,\n 'name' => 'husband',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:30',\n 'updated_at' => '2019-03-12 05:25:30',\n ),\n 57 => \n array (\n 'id' => 558,\n 'name' => 'back',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:31',\n 'updated_at' => '2019-03-12 05:25:31',\n ),\n 58 => \n array (\n 'id' => 559,\n 'name' => 'laid back',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:31',\n 'updated_at' => '2019-03-12 05:25:31',\n ),\n 59 => \n array (\n 'id' => 560,\n 'name' => 'sweet',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:31',\n 'updated_at' => '2019-03-12 05:25:31',\n ),\n 60 => \n array (\n 'id' => 561,\n 'name' => 'appreciate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:32',\n 'updated_at' => '2019-03-12 05:25:32',\n ),\n 61 => \n array (\n 'id' => 562,\n 'name' => 'luck',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:33',\n 'updated_at' => '2019-03-12 05:25:33',\n ),\n 62 => \n array (\n 'id' => 563,\n 'name' => 'saying',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:33',\n 'updated_at' => '2019-03-12 05:25:33',\n ),\n 63 => \n array (\n 'id' => 564,\n 'name' => 'texas',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:33',\n 'updated_at' => '2019-03-12 05:25:33',\n ),\n 64 => \n array (\n 'id' => 565,\n 'name' => 'father',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:34',\n 'updated_at' => '2019-03-12 05:25:34',\n ),\n 65 => \n array (\n 'id' => 566,\n 'name' => 'tough',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:34',\n 'updated_at' => '2019-03-12 05:25:34',\n ),\n 66 => \n array (\n 'id' => 567,\n 'name' => 'open',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:35',\n 'updated_at' => '2019-03-12 05:25:35',\n ),\n 67 => \n array (\n 'id' => 568,\n 'name' => 'guess',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:35',\n 'updated_at' => '2019-03-12 05:25:35',\n ),\n 68 => \n array (\n 'id' => 569,\n 'name' => 'would',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:36',\n 'updated_at' => '2019-03-12 05:25:36',\n ),\n 69 => \n array (\n 'id' => 570,\n 'name' => 'respected',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:37',\n 'updated_at' => '2019-03-12 05:25:37',\n ),\n 70 => \n array (\n 'id' => 571,\n 'name' => 'internet',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:37',\n 'updated_at' => '2019-03-12 05:25:37',\n ),\n 71 => \n array (\n 'id' => 572,\n 'name' => 'they say',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:38',\n 'updated_at' => '2019-03-12 05:25:38',\n ),\n 72 => \n array (\n 'id' => 573,\n 'name' => 'passionate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:38',\n 'updated_at' => '2019-03-12 05:25:38',\n ),\n 73 => \n array (\n 'id' => 574,\n 'name' => 'meat',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:39',\n 'updated_at' => '2019-03-12 05:25:39',\n ),\n 74 => \n array (\n 'id' => 575,\n 'name' => 'plants',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:39',\n 'updated_at' => '2019-03-12 05:25:39',\n ),\n 75 => \n array (\n 'id' => 576,\n 'name' => 'eat',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:40',\n 'updated_at' => '2019-03-12 05:25:40',\n ),\n 76 => \n array (\n 'id' => 577,\n 'name' => 'much',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:40',\n 'updated_at' => '2019-03-12 05:25:40',\n ),\n 77 => \n array (\n 'id' => 578,\n 'name' => 'sort',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:41',\n 'updated_at' => '2019-03-12 05:25:41',\n ),\n 78 => \n array (\n 'id' => 579,\n 'name' => 'research',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:42',\n 'updated_at' => '2019-03-12 05:25:42',\n ),\n 79 => \n array (\n 'id' => 580,\n 'name' => 'sitting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:43',\n 'updated_at' => '2019-03-12 05:25:43',\n ),\n 80 => \n array (\n 'id' => 581,\n 'name' => 'become',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:43',\n 'updated_at' => '2019-03-12 05:25:43',\n ),\n 81 => \n array (\n 'id' => 582,\n 'name' => 'greatest',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:44',\n 'updated_at' => '2019-03-12 05:25:44',\n ),\n 82 => \n array (\n 'id' => 583,\n 'name' => 'dance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:44',\n 'updated_at' => '2019-03-12 05:25:44',\n ),\n 83 => \n array (\n 'id' => 584,\n 'name' => 'energy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:45',\n 'updated_at' => '2019-03-12 05:25:45',\n ),\n 84 => \n array (\n 'id' => 585,\n 'name' => 'fat',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:45',\n 'updated_at' => '2019-03-12 05:25:45',\n ),\n 85 => \n array (\n 'id' => 586,\n 'name' => 'body',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:46',\n 'updated_at' => '2019-03-12 05:25:46',\n ),\n 86 => \n array (\n 'id' => 587,\n 'name' => 'skinny',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:46',\n 'updated_at' => '2019-03-12 05:25:46',\n ),\n 87 => \n array (\n 'id' => 588,\n 'name' => 'goat',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:46',\n 'updated_at' => '2019-03-12 05:25:46',\n ),\n 88 => \n array (\n 'id' => 589,\n 'name' => 'call',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:47',\n 'updated_at' => '2019-03-12 05:25:47',\n ),\n 89 => \n array (\n 'id' => 590,\n 'name' => 'python',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:47',\n 'updated_at' => '2019-03-12 05:25:47',\n ),\n 90 => \n array (\n 'id' => 591,\n 'name' => 'friend',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:47',\n 'updated_at' => '2019-03-12 05:25:47',\n ),\n 91 => \n array (\n 'id' => 592,\n 'name' => 'loved',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:48',\n 'updated_at' => '2019-03-12 05:25:48',\n ),\n 92 => \n array (\n 'id' => 593,\n 'name' => 'treat',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:48',\n 'updated_at' => '2019-03-12 05:25:48',\n ),\n 93 => \n array (\n 'id' => 594,\n 'name' => 'shame',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:49',\n 'updated_at' => '2019-03-12 05:25:49',\n ),\n 94 => \n array (\n 'id' => 595,\n 'name' => 'dignity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:49',\n 'updated_at' => '2019-03-12 05:25:49',\n ),\n 95 => \n array (\n 'id' => 596,\n 'name' => 'little',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:49',\n 'updated_at' => '2019-03-12 05:25:49',\n ),\n 96 => \n array (\n 'id' => 597,\n 'name' => 'victim',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:50',\n 'updated_at' => '2019-03-12 05:25:50',\n ),\n 97 => \n array (\n 'id' => 598,\n 'name' => 'heal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:50',\n 'updated_at' => '2019-03-12 05:25:50',\n ),\n 98 => \n array (\n 'id' => 599,\n 'name' => 'take care',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:51',\n 'updated_at' => '2019-03-12 05:25:51',\n ),\n 99 => \n array (\n 'id' => 600,\n 'name' => 'take',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:51',\n 'updated_at' => '2019-03-12 05:25:51',\n ),\n 100 => \n array (\n 'id' => 601,\n 'name' => 'sick',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:52',\n 'updated_at' => '2019-03-12 05:25:52',\n ),\n 101 => \n array (\n 'id' => 602,\n 'name' => 'suffering',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:53',\n 'updated_at' => '2019-03-12 05:25:53',\n ),\n 102 => \n array (\n 'id' => 603,\n 'name' => 'look',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:53',\n 'updated_at' => '2019-03-12 05:25:53',\n ),\n 103 => \n array (\n 'id' => 604,\n 'name' => 'active',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:53',\n 'updated_at' => '2019-03-12 05:25:53',\n ),\n 104 => \n array (\n 'id' => 605,\n 'name' => 'super',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:54',\n 'updated_at' => '2019-03-12 05:25:54',\n ),\n 105 => \n array (\n 'id' => 606,\n 'name' => 'great life',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:54',\n 'updated_at' => '2019-03-12 05:25:54',\n ),\n 106 => \n array (\n 'id' => 607,\n 'name' => 'blind',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:55',\n 'updated_at' => '2019-03-12 05:25:55',\n ),\n 107 => \n array (\n 'id' => 608,\n 'name' => 'teaching',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:55',\n 'updated_at' => '2019-03-12 05:25:55',\n ),\n 108 => \n array (\n 'id' => 609,\n 'name' => 'principles',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:55',\n 'updated_at' => '2019-03-12 05:25:55',\n ),\n 109 => \n array (\n 'id' => 610,\n 'name' => 'carry',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:56',\n 'updated_at' => '2019-03-12 05:25:56',\n ),\n 110 => \n array (\n 'id' => 611,\n 'name' => 'away',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:56',\n 'updated_at' => '2019-03-12 05:25:56',\n ),\n 111 => \n array (\n 'id' => 612,\n 'name' => 'politician',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:57',\n 'updated_at' => '2019-03-12 05:25:57',\n ),\n 112 => \n array (\n 'id' => 613,\n 'name' => 'city',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:57',\n 'updated_at' => '2019-03-12 05:25:57',\n ),\n 113 => \n array (\n 'id' => 614,\n 'name' => 'evening',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:57',\n 'updated_at' => '2019-03-12 05:25:57',\n ),\n 114 => \n array (\n 'id' => 615,\n 'name' => 'eye',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:58',\n 'updated_at' => '2019-03-12 05:25:58',\n ),\n 115 => \n array (\n 'id' => 616,\n 'name' => 'glass',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:58',\n 'updated_at' => '2019-03-12 05:25:58',\n ),\n 116 => \n array (\n 'id' => 617,\n 'name' => 'enough',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:59',\n 'updated_at' => '2019-03-12 05:25:59',\n ),\n 117 => \n array (\n 'id' => 618,\n 'name' => 'young',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:25:59',\n 'updated_at' => '2019-03-12 05:25:59',\n ),\n 118 => \n array (\n 'id' => 619,\n 'name' => 'press',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:00',\n 'updated_at' => '2019-03-12 05:26:00',\n ),\n 119 => \n array (\n 'id' => 620,\n 'name' => 'news',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:00',\n 'updated_at' => '2019-03-12 05:26:00',\n ),\n 120 => \n array (\n 'id' => 621,\n 'name' => 'newspapers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:01',\n 'updated_at' => '2019-03-12 05:26:01',\n ),\n 121 => \n array (\n 'id' => 622,\n 'name' => 'everywhere',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:01',\n 'updated_at' => '2019-03-12 05:26:01',\n ),\n 122 => \n array (\n 'id' => 623,\n 'name' => 'yourself',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:01',\n 'updated_at' => '2019-03-12 05:26:01',\n ),\n 123 => \n array (\n 'id' => 624,\n 'name' => 'try',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:02',\n 'updated_at' => '2019-03-12 05:26:02',\n ),\n 124 => \n array (\n 'id' => 625,\n 'name' => 'enemy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:04',\n 'updated_at' => '2019-03-12 05:26:04',\n ),\n 125 => \n array (\n 'id' => 626,\n 'name' => 'hot',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:04',\n 'updated_at' => '2019-03-12 05:26:04',\n ),\n 126 => \n array (\n 'id' => 627,\n 'name' => 'heels',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:04',\n 'updated_at' => '2019-03-12 05:26:04',\n ),\n 127 => \n array (\n 'id' => 628,\n 'name' => 'paris',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:05',\n 'updated_at' => '2019-03-12 05:26:05',\n ),\n 128 => \n array (\n 'id' => 629,\n 'name' => 'function',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:06',\n 'updated_at' => '2019-03-12 05:26:06',\n ),\n 129 => \n array (\n 'id' => 630,\n 'name' => 'role',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:06',\n 'updated_at' => '2019-03-12 05:26:06',\n ),\n 130 => \n array (\n 'id' => 631,\n 'name' => 'i can',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:07',\n 'updated_at' => '2019-03-12 05:26:07',\n ),\n 131 => \n array (\n 'id' => 632,\n 'name' => 'write',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:07',\n 'updated_at' => '2019-03-12 05:26:07',\n ),\n 132 => \n array (\n 'id' => 633,\n 'name' => 'faster',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:07',\n 'updated_at' => '2019-03-12 05:26:07',\n ),\n 133 => \n array (\n 'id' => 634,\n 'name' => 'place',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:09',\n 'updated_at' => '2019-03-12 05:26:09',\n ),\n 134 => \n array (\n 'id' => 635,\n 'name' => 'chicago',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:09',\n 'updated_at' => '2019-03-12 05:26:09',\n ),\n 135 => \n array (\n 'id' => 636,\n 'name' => 'big',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:10',\n 'updated_at' => '2019-03-12 05:26:10',\n ),\n 136 => \n array (\n 'id' => 637,\n 'name' => 'big city',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:10',\n 'updated_at' => '2019-03-12 05:26:10',\n ),\n 137 => \n array (\n 'id' => 638,\n 'name' => 'democracy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:11',\n 'updated_at' => '2019-03-12 05:26:11',\n ),\n 138 => \n array (\n 'id' => 639,\n 'name' => 'weak',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:13',\n 'updated_at' => '2019-03-12 05:26:13',\n ),\n 139 => \n array (\n 'id' => 640,\n 'name' => 'bed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:13',\n 'updated_at' => '2019-03-12 05:26:13',\n ),\n 140 => \n array (\n 'id' => 641,\n 'name' => 'impossible',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:15',\n 'updated_at' => '2019-03-12 05:26:15',\n ),\n 141 => \n array (\n 'id' => 642,\n 'name' => 'sleep',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:17',\n 'updated_at' => '2019-03-12 05:26:17',\n ),\n 142 => \n array (\n 'id' => 643,\n 'name' => 'dawn',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:17',\n 'updated_at' => '2019-03-12 05:26:17',\n ),\n 143 => \n array (\n 'id' => 644,\n 'name' => 'ground',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:18',\n 'updated_at' => '2019-03-12 05:26:18',\n ),\n 144 => \n array (\n 'id' => 645,\n 'name' => 'poor',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:18',\n 'updated_at' => '2019-03-12 05:26:18',\n ),\n 145 => \n array (\n 'id' => 646,\n 'name' => 'concept',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:19',\n 'updated_at' => '2019-03-12 05:26:19',\n ),\n 146 => \n array (\n 'id' => 647,\n 'name' => 'cherished',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:19',\n 'updated_at' => '2019-03-12 05:26:19',\n ),\n 147 => \n array (\n 'id' => 648,\n 'name' => 'pleasures',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:20',\n 'updated_at' => '2019-03-12 05:26:20',\n ),\n 148 => \n array (\n 'id' => 649,\n 'name' => 'afford',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:20',\n 'updated_at' => '2019-03-12 05:26:20',\n ),\n 149 => \n array (\n 'id' => 650,\n 'name' => 'sane',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:20',\n 'updated_at' => '2019-03-12 05:26:20',\n ),\n 150 => \n array (\n 'id' => 651,\n 'name' => 'ascetic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:21',\n 'updated_at' => '2019-03-12 05:26:21',\n ),\n 151 => \n array (\n 'id' => 652,\n 'name' => 'eating',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:22',\n 'updated_at' => '2019-03-12 05:26:22',\n ),\n 152 => \n array (\n 'id' => 653,\n 'name' => 'thank you',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:23',\n 'updated_at' => '2019-03-12 05:26:23',\n ),\n 153 => \n array (\n 'id' => 654,\n 'name' => 'listen',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:25',\n 'updated_at' => '2019-03-12 05:26:25',\n ),\n 154 => \n array (\n 'id' => 655,\n 'name' => 'open-minded',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:26',\n 'updated_at' => '2019-03-12 05:26:26',\n ),\n 155 => \n array (\n 'id' => 656,\n 'name' => 'patient',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:26',\n 'updated_at' => '2019-03-12 05:26:26',\n ),\n 156 => \n array (\n 'id' => 657,\n 'name' => 'roses',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:26',\n 'updated_at' => '2019-03-12 05:26:26',\n ),\n 157 => \n array (\n 'id' => 658,\n 'name' => 'type',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:27',\n 'updated_at' => '2019-03-12 05:26:27',\n ),\n 158 => \n array (\n 'id' => 659,\n 'name' => '24-7',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:27',\n 'updated_at' => '2019-03-12 05:26:27',\n ),\n 159 => \n array (\n 'id' => 660,\n 'name' => 'believe in yourself',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:27',\n 'updated_at' => '2019-03-12 05:26:27',\n ),\n 160 => \n array (\n 'id' => 661,\n 'name' => 'feet',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:28',\n 'updated_at' => '2019-03-12 05:26:28',\n ),\n 161 => \n array (\n 'id' => 662,\n 'name' => 'daughter',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:29',\n 'updated_at' => '2019-03-12 05:26:29',\n ),\n 162 => \n array (\n 'id' => 663,\n 'name' => 'stress',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:29',\n 'updated_at' => '2019-03-12 05:26:29',\n ),\n 163 => \n array (\n 'id' => 664,\n 'name' => 'head',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:30',\n 'updated_at' => '2019-03-12 05:26:30',\n ),\n 164 => \n array (\n 'id' => 665,\n 'name' => 'be patient',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:30',\n 'updated_at' => '2019-03-12 05:26:30',\n ),\n 165 => \n array (\n 'id' => 666,\n 'name' => 'backstreet',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:32',\n 'updated_at' => '2019-03-12 05:26:32',\n ),\n 166 => \n array (\n 'id' => 667,\n 'name' => 'color',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:32',\n 'updated_at' => '2019-03-12 05:26:32',\n ),\n 167 => \n array (\n 'id' => 668,\n 'name' => 'hair color',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:33',\n 'updated_at' => '2019-03-12 05:26:33',\n ),\n 168 => \n array (\n 'id' => 669,\n 'name' => 'everyone',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:33',\n 'updated_at' => '2019-03-12 05:26:33',\n ),\n 169 => \n array (\n 'id' => 670,\n 'name' => 'gay',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:35',\n 'updated_at' => '2019-03-12 05:26:35',\n ),\n 170 => \n array (\n 'id' => 671,\n 'name' => 'band',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:36',\n 'updated_at' => '2019-03-12 05:26:36',\n ),\n 171 => \n array (\n 'id' => 672,\n 'name' => 'one day',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:38',\n 'updated_at' => '2019-03-12 05:26:38',\n ),\n 172 => \n array (\n 'id' => 673,\n 'name' => 'be happy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:38',\n 'updated_at' => '2019-03-12 05:26:38',\n ),\n 173 => \n array (\n 'id' => 674,\n 'name' => 'realize',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:40',\n 'updated_at' => '2019-03-12 05:26:40',\n ),\n 174 => \n array (\n 'id' => 675,\n 'name' => 'sing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:40',\n 'updated_at' => '2019-03-12 05:26:40',\n ),\n 175 => \n array (\n 'id' => 676,\n 'name' => 'europe',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:41',\n 'updated_at' => '2019-03-12 05:26:41',\n ),\n 176 => \n array (\n 'id' => 677,\n 'name' => 'night',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:41',\n 'updated_at' => '2019-03-12 05:26:41',\n ),\n 177 => \n array (\n 'id' => 678,\n 'name' => 'clean',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:43',\n 'updated_at' => '2019-03-12 05:26:43',\n ),\n 178 => \n array (\n 'id' => 679,\n 'name' => 'most',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:44',\n 'updated_at' => '2019-03-12 05:26:44',\n ),\n 179 => \n array (\n 'id' => 680,\n 'name' => 'shop',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:44',\n 'updated_at' => '2019-03-12 05:26:44',\n ),\n 180 => \n array (\n 'id' => 681,\n 'name' => 'window',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:44',\n 'updated_at' => '2019-03-12 05:26:44',\n ),\n 181 => \n array (\n 'id' => 682,\n 'name' => 'trying',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:46',\n 'updated_at' => '2019-03-12 05:26:46',\n ),\n 182 => \n array (\n 'id' => 683,\n 'name' => 'atlanta',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:47',\n 'updated_at' => '2019-03-12 05:26:47',\n ),\n 183 => \n array (\n 'id' => 684,\n 'name' => 'woke',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:47',\n 'updated_at' => '2019-03-12 05:26:47',\n ),\n 184 => \n array (\n 'id' => 685,\n 'name' => 'idea',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:47',\n 'updated_at' => '2019-03-12 05:26:47',\n ),\n 185 => \n array (\n 'id' => 686,\n 'name' => 'orlando',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:48',\n 'updated_at' => '2019-03-12 05:26:48',\n ),\n 186 => \n array (\n 'id' => 687,\n 'name' => 'theatre',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:48',\n 'updated_at' => '2019-03-12 05:26:48',\n ),\n 187 => \n array (\n 'id' => 688,\n 'name' => 'stage',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:49',\n 'updated_at' => '2019-03-12 05:26:49',\n ),\n 188 => \n array (\n 'id' => 689,\n 'name' => 'perform',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:49',\n 'updated_at' => '2019-03-12 05:26:49',\n ),\n 189 => \n array (\n 'id' => 690,\n 'name' => 'grew',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:49',\n 'updated_at' => '2019-03-12 05:26:49',\n ),\n 190 => \n array (\n 'id' => 691,\n 'name' => 'dress',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:50',\n 'updated_at' => '2019-03-12 05:26:50',\n ),\n 191 => \n array (\n 'id' => 692,\n 'name' => 'no fear',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:50',\n 'updated_at' => '2019-03-12 05:26:50',\n ),\n 192 => \n array (\n 'id' => 693,\n 'name' => 'movement',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:51',\n 'updated_at' => '2019-03-12 05:26:51',\n ),\n 193 => \n array (\n 'id' => 694,\n 'name' => 'involved',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:51',\n 'updated_at' => '2019-03-12 05:26:51',\n ),\n 194 => \n array (\n 'id' => 695,\n 'name' => 'attack',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:53',\n 'updated_at' => '2019-03-12 05:26:53',\n ),\n 195 => \n array (\n 'id' => 696,\n 'name' => 'shape',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:53',\n 'updated_at' => '2019-03-12 05:26:53',\n ),\n 196 => \n array (\n 'id' => 697,\n 'name' => 'beer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:54',\n 'updated_at' => '2019-03-12 05:26:54',\n ),\n 197 => \n array (\n 'id' => 698,\n 'name' => 'opinion',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:55',\n 'updated_at' => '2019-03-12 05:26:55',\n ),\n 198 => \n array (\n 'id' => 699,\n 'name' => 'matter',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:55',\n 'updated_at' => '2019-03-12 05:26:55',\n ),\n 199 => \n array (\n 'id' => 700,\n 'name' => 'reason',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:56',\n 'updated_at' => '2019-03-12 05:26:56',\n ),\n 200 => \n array (\n 'id' => 701,\n 'name' => 'inevitable',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:56',\n 'updated_at' => '2019-03-12 05:26:56',\n ),\n 201 => \n array (\n 'id' => 702,\n 'name' => 'happens',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:57',\n 'updated_at' => '2019-03-12 05:26:57',\n ),\n 202 => \n array (\n 'id' => 703,\n 'name' => 'until',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:57',\n 'updated_at' => '2019-03-12 05:26:57',\n ),\n 203 => \n array (\n 'id' => 704,\n 'name' => 'mistakes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:58',\n 'updated_at' => '2019-03-12 05:26:58',\n ),\n 204 => \n array (\n 'id' => 705,\n 'name' => 'communism',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:58',\n 'updated_at' => '2019-03-12 05:26:58',\n ),\n 205 => \n array (\n 'id' => 706,\n 'name' => 'against',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:59',\n 'updated_at' => '2019-03-12 05:26:59',\n ),\n 206 => \n array (\n 'id' => 707,\n 'name' => 'crusade',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:26:59',\n 'updated_at' => '2019-03-12 05:26:59',\n ),\n 207 => \n array (\n 'id' => 708,\n 'name' => 'breaks',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:00',\n 'updated_at' => '2019-03-12 05:27:00',\n ),\n 208 => \n array (\n 'id' => 709,\n 'name' => 'security',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:01',\n 'updated_at' => '2019-03-12 05:27:01',\n ),\n 209 => \n array (\n 'id' => 710,\n 'name' => 'weight',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:02',\n 'updated_at' => '2019-03-12 05:27:02',\n ),\n 210 => \n array (\n 'id' => 711,\n 'name' => 'old age',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:03',\n 'updated_at' => '2019-03-12 05:27:03',\n ),\n 211 => \n array (\n 'id' => 712,\n 'name' => 'problem',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:03',\n 'updated_at' => '2019-03-12 05:27:03',\n ),\n 212 => \n array (\n 'id' => 713,\n 'name' => 'speech',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:04',\n 'updated_at' => '2019-03-12 05:27:04',\n ),\n 213 => \n array (\n 'id' => 714,\n 'name' => 'master',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:04',\n 'updated_at' => '2019-03-12 05:27:04',\n ),\n 214 => \n array (\n 'id' => 715,\n 'name' => 'policies',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:05',\n 'updated_at' => '2019-03-12 05:27:05',\n ),\n 215 => \n array (\n 'id' => 716,\n 'name' => 'improvised',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:05',\n 'updated_at' => '2019-03-12 05:27:05',\n ),\n 216 => \n array (\n 'id' => 717,\n 'name' => 'racing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:05',\n 'updated_at' => '2019-03-12 05:27:05',\n ),\n 217 => \n array (\n 'id' => 718,\n 'name' => 'accuracy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:06',\n 'updated_at' => '2019-03-12 05:27:06',\n ),\n 218 => \n array (\n 'id' => 719,\n 'name' => 'clients',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:06',\n 'updated_at' => '2019-03-12 05:27:06',\n ),\n 219 => \n array (\n 'id' => 720,\n 'name' => 'level',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:07',\n 'updated_at' => '2019-03-12 05:27:07',\n ),\n 220 => \n array (\n 'id' => 721,\n 'name' => 'normal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:08',\n 'updated_at' => '2019-03-12 05:27:08',\n ),\n 221 => \n array (\n 'id' => 722,\n 'name' => 'capitalism',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:11',\n 'updated_at' => '2019-03-12 05:27:11',\n ),\n 222 => \n array (\n 'id' => 723,\n 'name' => 'rest',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:12',\n 'updated_at' => '2019-03-12 05:27:12',\n ),\n 223 => \n array (\n 'id' => 724,\n 'name' => 'grades',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:12',\n 'updated_at' => '2019-03-12 05:27:12',\n ),\n 224 => \n array (\n 'id' => 725,\n 'name' => 'low',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:13',\n 'updated_at' => '2019-03-12 05:27:13',\n ),\n 225 => \n array (\n 'id' => 726,\n 'name' => 'profile',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:14',\n 'updated_at' => '2019-03-12 05:27:14',\n ),\n 226 => \n array (\n 'id' => 727,\n 'name' => 'kept',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:14',\n 'updated_at' => '2019-03-12 05:27:14',\n ),\n 227 => \n array (\n 'id' => 728,\n 'name' => 'together',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:15',\n 'updated_at' => '2019-03-12 05:27:15',\n ),\n 228 => \n array (\n 'id' => 729,\n 'name' => 'without',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:15',\n 'updated_at' => '2019-03-12 05:27:15',\n ),\n 229 => \n array (\n 'id' => 730,\n 'name' => 'architect',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:15',\n 'updated_at' => '2019-03-12 05:27:15',\n ),\n 230 => \n array (\n 'id' => 731,\n 'name' => 'good people',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:16',\n 'updated_at' => '2019-03-12 05:27:16',\n ),\n 231 => \n array (\n 'id' => 732,\n 'name' => 'opportunities',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:16',\n 'updated_at' => '2019-03-12 05:27:16',\n ),\n 232 => \n array (\n 'id' => 733,\n 'name' => 'rome',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:16',\n 'updated_at' => '2019-03-12 05:27:16',\n ),\n 233 => \n array (\n 'id' => 734,\n 'name' => 'english',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:17',\n 'updated_at' => '2019-03-12 05:27:17',\n ),\n 234 => \n array (\n 'id' => 735,\n 'name' => 'did',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:18',\n 'updated_at' => '2019-03-12 05:27:18',\n ),\n 235 => \n array (\n 'id' => 736,\n 'name' => 'high-profile',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:18',\n 'updated_at' => '2019-03-12 05:27:18',\n ),\n 236 => \n array (\n 'id' => 737,\n 'name' => 'developer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:18',\n 'updated_at' => '2019-03-12 05:27:18',\n ),\n 237 => \n array (\n 'id' => 738,\n 'name' => 'interviews',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:19',\n 'updated_at' => '2019-03-12 05:27:19',\n ),\n 238 => \n array (\n 'id' => 739,\n 'name' => 'nice',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:20',\n 'updated_at' => '2019-03-12 05:27:20',\n ),\n 239 => \n array (\n 'id' => 740,\n 'name' => 'safety',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:21',\n 'updated_at' => '2019-03-12 05:27:21',\n ),\n 240 => \n array (\n 'id' => 741,\n 'name' => 'compromise',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:21',\n 'updated_at' => '2019-03-12 05:27:21',\n ),\n 241 => \n array (\n 'id' => 742,\n 'name' => 'corruption',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:21',\n 'updated_at' => '2019-03-12 05:27:21',\n ),\n 242 => \n array (\n 'id' => 743,\n 'name' => 'office',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:22',\n 'updated_at' => '2019-03-12 05:27:22',\n ),\n 243 => \n array (\n 'id' => 744,\n 'name' => 'flying',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:22',\n 'updated_at' => '2019-03-12 05:27:22',\n ),\n 244 => \n array (\n 'id' => 745,\n 'name' => 'border',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:23',\n 'updated_at' => '2019-03-12 05:27:23',\n ),\n 245 => \n array (\n 'id' => 746,\n 'name' => 'objects',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:23',\n 'updated_at' => '2019-03-12 05:27:23',\n ),\n 246 => \n array (\n 'id' => 747,\n 'name' => 'proof',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:24',\n 'updated_at' => '2019-03-12 05:27:24',\n ),\n 247 => \n array (\n 'id' => 748,\n 'name' => 'fought',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:25',\n 'updated_at' => '2019-03-12 05:27:25',\n ),\n 248 => \n array (\n 'id' => 749,\n 'name' => 'brain',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:26',\n 'updated_at' => '2019-03-12 05:27:26',\n ),\n 249 => \n array (\n 'id' => 750,\n 'name' => 'logic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:26',\n 'updated_at' => '2019-03-12 05:27:26',\n ),\n 250 => \n array (\n 'id' => 751,\n 'name' => 'hunger',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:26',\n 'updated_at' => '2019-03-12 05:27:26',\n ),\n 251 => \n array (\n 'id' => 752,\n 'name' => 'fact',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:27',\n 'updated_at' => '2019-03-12 05:27:27',\n ),\n 252 => \n array (\n 'id' => 753,\n 'name' => 'cannot',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:27',\n 'updated_at' => '2019-03-12 05:27:27',\n ),\n 253 => \n array (\n 'id' => 754,\n 'name' => 'adapt',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:28',\n 'updated_at' => '2019-03-12 05:27:28',\n ),\n 254 => \n array (\n 'id' => 755,\n 'name' => 'dictatorship',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:28',\n 'updated_at' => '2019-03-12 05:27:28',\n ),\n 255 => \n array (\n 'id' => 756,\n 'name' => 'massage',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:29',\n 'updated_at' => '2019-03-12 05:27:29',\n ),\n 256 => \n array (\n 'id' => 757,\n 'name' => 'lawyers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:30',\n 'updated_at' => '2019-03-12 05:27:30',\n ),\n 257 => \n array (\n 'id' => 758,\n 'name' => 'clever',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:31',\n 'updated_at' => '2019-03-12 05:27:31',\n ),\n 258 => \n array (\n 'id' => 759,\n 'name' => 'tests',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:32',\n 'updated_at' => '2019-03-12 05:27:32',\n ),\n 259 => \n array (\n 'id' => 760,\n 'name' => 'cry',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:33',\n 'updated_at' => '2019-03-12 05:27:33',\n ),\n 260 => \n array (\n 'id' => 761,\n 'name' => 'rage',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:34',\n 'updated_at' => '2019-03-12 05:27:34',\n ),\n 261 => \n array (\n 'id' => 762,\n 'name' => 'depend',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:35',\n 'updated_at' => '2019-03-12 05:27:35',\n ),\n 262 => \n array (\n 'id' => 763,\n 'name' => 'grammar',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:35',\n 'updated_at' => '2019-03-12 05:27:35',\n ),\n 263 => \n array (\n 'id' => 764,\n 'name' => 'walk',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:36',\n 'updated_at' => '2019-03-12 05:27:36',\n ),\n 264 => \n array (\n 'id' => 765,\n 'name' => 'queen',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:36',\n 'updated_at' => '2019-03-12 05:27:36',\n ),\n 265 => \n array (\n 'id' => 766,\n 'name' => 'picture',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:37',\n 'updated_at' => '2019-03-12 05:27:37',\n ),\n 266 => \n array (\n 'id' => 767,\n 'name' => 'physics',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:37',\n 'updated_at' => '2019-03-12 05:27:37',\n ),\n 267 => \n array (\n 'id' => 768,\n 'name' => 'theory',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:38',\n 'updated_at' => '2019-03-12 05:27:38',\n ),\n 268 => \n array (\n 'id' => 769,\n 'name' => 'changed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:38',\n 'updated_at' => '2019-03-12 05:27:38',\n ),\n 269 => \n array (\n 'id' => 770,\n 'name' => 'companion',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:38',\n 'updated_at' => '2019-03-12 05:27:38',\n ),\n 270 => \n array (\n 'id' => 771,\n 'name' => 'grownup',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:39',\n 'updated_at' => '2019-03-12 05:27:39',\n ),\n 271 => \n array (\n 'id' => 772,\n 'name' => 'admire',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:39',\n 'updated_at' => '2019-03-12 05:27:39',\n ),\n 272 => \n array (\n 'id' => 773,\n 'name' => 'poet',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:40',\n 'updated_at' => '2019-03-12 05:27:40',\n ),\n 273 => \n array (\n 'id' => 774,\n 'name' => 'human love',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:41',\n 'updated_at' => '2019-03-12 05:27:41',\n ),\n 274 => \n array (\n 'id' => 775,\n 'name' => 'tragedy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:41',\n 'updated_at' => '2019-03-12 05:27:41',\n ),\n 275 => \n array (\n 'id' => 776,\n 'name' => 'birth',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:41',\n 'updated_at' => '2019-03-12 05:27:41',\n ),\n 276 => \n array (\n 'id' => 777,\n 'name' => 'ultimate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:42',\n 'updated_at' => '2019-03-12 05:27:42',\n ),\n 277 => \n array (\n 'id' => 778,\n 'name' => 'promise',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:42',\n 'updated_at' => '2019-03-12 05:27:42',\n ),\n 278 => \n array (\n 'id' => 779,\n 'name' => 'biography',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:43',\n 'updated_at' => '2019-03-12 05:27:43',\n ),\n 279 => \n array (\n 'id' => 780,\n 'name' => 'had',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:27:43',\n 'updated_at' => '2019-03-12 05:27:43',\n ),\n 280 => \n array (\n 'id' => 781,\n 'name' => 'inadvertently',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:33:58',\n 'updated_at' => '2019-03-12 05:33:58',\n ),\n 281 => \n array (\n 'id' => 782,\n 'name' => 'influence',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:33:58',\n 'updated_at' => '2019-03-12 05:33:58',\n ),\n 282 => \n array (\n 'id' => 783,\n 'name' => 'anti-semitism',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:33:59',\n 'updated_at' => '2019-03-12 05:33:59',\n ),\n 283 => \n array (\n 'id' => 784,\n 'name' => 'common',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:33:59',\n 'updated_at' => '2019-03-12 05:33:59',\n ),\n 284 => \n array (\n 'id' => 785,\n 'name' => 'extremely',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:00',\n 'updated_at' => '2019-03-12 05:34:00',\n ),\n 285 => \n array (\n 'id' => 786,\n 'name' => 'made',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:02',\n 'updated_at' => '2019-03-12 05:34:02',\n ),\n 286 => \n array (\n 'id' => 787,\n 'name' => 'shadow',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:02',\n 'updated_at' => '2019-03-12 05:34:02',\n ),\n 287 => \n array (\n 'id' => 788,\n 'name' => 'oneself',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:03',\n 'updated_at' => '2019-03-12 05:34:03',\n ),\n 288 => \n array (\n 'id' => 789,\n 'name' => 'feels',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:03',\n 'updated_at' => '2019-03-12 05:34:03',\n ),\n 289 => \n array (\n 'id' => 790,\n 'name' => 'writes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:03',\n 'updated_at' => '2019-03-12 05:34:03',\n ),\n 290 => \n array (\n 'id' => 791,\n 'name' => 'table',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:05',\n 'updated_at' => '2019-03-12 05:34:05',\n ),\n 291 => \n array (\n 'id' => 792,\n 'name' => 'dining',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:05',\n 'updated_at' => '2019-03-12 05:34:05',\n ),\n 292 => \n array (\n 'id' => 793,\n 'name' => 'corner',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:05',\n 'updated_at' => '2019-03-12 05:34:05',\n ),\n 293 => \n array (\n 'id' => 794,\n 'name' => 'jane',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:06',\n 'updated_at' => '2019-03-12 05:34:06',\n ),\n 294 => \n array (\n 'id' => 795,\n 'name' => 'sheep',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:07',\n 'updated_at' => '2019-03-12 05:34:07',\n ),\n 295 => \n array (\n 'id' => 796,\n 'name' => 'critical',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:07',\n 'updated_at' => '2019-03-12 05:34:07',\n ),\n 296 => \n array (\n 'id' => 797,\n 'name' => 'period',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:07',\n 'updated_at' => '2019-03-12 05:34:07',\n ),\n 297 => \n array (\n 'id' => 798,\n 'name' => 'matrimony',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:08',\n 'updated_at' => '2019-03-12 05:34:08',\n ),\n 298 => \n array (\n 'id' => 799,\n 'name' => 'party',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:09',\n 'updated_at' => '2019-03-12 05:34:09',\n ),\n 299 => \n array (\n 'id' => 800,\n 'name' => 'system',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:09',\n 'updated_at' => '2019-03-12 05:34:09',\n ),\n 300 => \n array (\n 'id' => 801,\n 'name' => 'some',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:10',\n 'updated_at' => '2019-03-12 05:34:10',\n ),\n 301 => \n array (\n 'id' => 802,\n 'name' => 'looks',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:10',\n 'updated_at' => '2019-03-12 05:34:10',\n ),\n 302 => \n array (\n 'id' => 803,\n 'name' => 'sausage',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:10',\n 'updated_at' => '2019-03-12 05:34:10',\n ),\n 303 => \n array (\n 'id' => 804,\n 'name' => 'thinks',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:11',\n 'updated_at' => '2019-03-12 05:34:11',\n ),\n 304 => \n array (\n 'id' => 805,\n 'name' => 'high',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:11',\n 'updated_at' => '2019-03-12 05:34:11',\n ),\n 305 => \n array (\n 'id' => 806,\n 'name' => 'trade',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:12',\n 'updated_at' => '2019-03-12 05:34:12',\n ),\n 306 => \n array (\n 'id' => 807,\n 'name' => 'board',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:12',\n 'updated_at' => '2019-03-12 05:34:12',\n ),\n 307 => \n array (\n 'id' => 808,\n 'name' => 'overpaid',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:12',\n 'updated_at' => '2019-03-12 05:34:12',\n ),\n 308 => \n array (\n 'id' => 809,\n 'name' => 'any',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:13',\n 'updated_at' => '2019-03-12 05:34:13',\n ),\n 309 => \n array (\n 'id' => 810,\n 'name' => 'kind',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:16',\n 'updated_at' => '2019-03-12 05:34:16',\n ),\n 310 => \n array (\n 'id' => 811,\n 'name' => 'talking',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:17',\n 'updated_at' => '2019-03-12 05:34:17',\n ),\n 311 => \n array (\n 'id' => 812,\n 'name' => 'earth',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:17',\n 'updated_at' => '2019-03-12 05:34:17',\n ),\n 312 => \n array (\n 'id' => 813,\n 'name' => 'said',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:18',\n 'updated_at' => '2019-03-12 05:34:18',\n ),\n 313 => \n array (\n 'id' => 814,\n 'name' => 'nobody',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:18',\n 'updated_at' => '2019-03-12 05:34:18',\n ),\n 314 => \n array (\n 'id' => 815,\n 'name' => 'purpose',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:19',\n 'updated_at' => '2019-03-12 05:34:19',\n ),\n 315 => \n array (\n 'id' => 816,\n 'name' => 'noble',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:20',\n 'updated_at' => '2019-03-12 05:34:20',\n ),\n 316 => \n array (\n 'id' => 817,\n 'name' => 'himself',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:20',\n 'updated_at' => '2019-03-12 05:34:20',\n ),\n 317 => \n array (\n 'id' => 818,\n 'name' => 'except',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:20',\n 'updated_at' => '2019-03-12 05:34:20',\n ),\n 318 => \n array (\n 'id' => 819,\n 'name' => 'defeat',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:22',\n 'updated_at' => '2019-03-12 05:34:22',\n ),\n 319 => \n array (\n 'id' => 820,\n 'name' => 'shine',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:22',\n 'updated_at' => '2019-03-12 05:34:22',\n ),\n 320 => \n array (\n 'id' => 821,\n 'name' => 'sun',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:23',\n 'updated_at' => '2019-03-12 05:34:23',\n ),\n 321 => \n array (\n 'id' => 822,\n 'name' => 'burn',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:23',\n 'updated_at' => '2019-03-12 05:34:23',\n ),\n 322 => \n array (\n 'id' => 823,\n 'name' => 'good teacher',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:24',\n 'updated_at' => '2019-03-12 05:34:24',\n ),\n 323 => \n array (\n 'id' => 824,\n 'name' => 'tomorrow',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:25',\n 'updated_at' => '2019-03-12 05:34:25',\n ),\n 324 => \n array (\n 'id' => 825,\n 'name' => 'perseverance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:26',\n 'updated_at' => '2019-03-12 05:34:26',\n ),\n 325 => \n array (\n 'id' => 826,\n 'name' => 'humanity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:27',\n 'updated_at' => '2019-03-12 05:34:27',\n ),\n 326 => \n array (\n 'id' => 827,\n 'name' => 'your dreams',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:27',\n 'updated_at' => '2019-03-12 05:34:27',\n ),\n 327 => \n array (\n 'id' => 828,\n 'name' => 'dream',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:28',\n 'updated_at' => '2019-03-12 05:34:28',\n ),\n 328 => \n array (\n 'id' => 829,\n 'name' => 'succeed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:28',\n 'updated_at' => '2019-03-12 05:34:28',\n ),\n 329 => \n array (\n 'id' => 830,\n 'name' => 'devotion',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:29',\n 'updated_at' => '2019-03-12 05:34:29',\n ),\n 330 => \n array (\n 'id' => 831,\n 'name' => 'bird',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:30',\n 'updated_at' => '2019-03-12 05:34:30',\n ),\n 331 => \n array (\n 'id' => 832,\n 'name' => 'motivation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:30',\n 'updated_at' => '2019-03-12 05:34:30',\n ),\n 332 => \n array (\n 'id' => 833,\n 'name' => 'mother',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:31',\n 'updated_at' => '2019-03-12 05:34:31',\n ),\n 333 => \n array (\n 'id' => 834,\n 'name' => 'key',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:31',\n 'updated_at' => '2019-03-12 05:34:31',\n ),\n 334 => \n array (\n 'id' => 835,\n 'name' => 'universe',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:32',\n 'updated_at' => '2019-03-12 05:34:32',\n ),\n 335 => \n array (\n 'id' => 836,\n 'name' => 'hard work',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:32',\n 'updated_at' => '2019-03-12 05:34:32',\n ),\n 336 => \n array (\n 'id' => 837,\n 'name' => 'deepest',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:33',\n 'updated_at' => '2019-03-12 05:34:33',\n ),\n 337 => \n array (\n 'id' => 838,\n 'name' => 'sorrow',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:34',\n 'updated_at' => '2019-03-12 05:34:34',\n ),\n 338 => \n array (\n 'id' => 839,\n 'name' => 'work hard',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:35',\n 'updated_at' => '2019-03-12 05:34:35',\n ),\n 339 => \n array (\n 'id' => 840,\n 'name' => 'small',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:36',\n 'updated_at' => '2019-03-12 05:34:36',\n ),\n 340 => \n array (\n 'id' => 841,\n 'name' => 'crime',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:36',\n 'updated_at' => '2019-03-12 05:34:36',\n ),\n 341 => \n array (\n 'id' => 842,\n 'name' => 'aim',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:36',\n 'updated_at' => '2019-03-12 05:34:36',\n ),\n 342 => \n array (\n 'id' => 843,\n 'name' => 'her',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:37',\n 'updated_at' => '2019-03-12 05:34:37',\n ),\n 343 => \n array (\n 'id' => 844,\n 'name' => 'development',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:37',\n 'updated_at' => '2019-03-12 05:34:37',\n ),\n 344 => \n array (\n 'id' => 845,\n 'name' => 'challenge',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:37',\n 'updated_at' => '2019-03-12 05:34:37',\n ),\n 345 => \n array (\n 'id' => 846,\n 'name' => 'destination',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:38',\n 'updated_at' => '2019-03-12 05:34:38',\n ),\n 346 => \n array (\n 'id' => 847,\n 'name' => 'battle',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:38',\n 'updated_at' => '2019-03-12 05:34:38',\n ),\n 347 => \n array (\n 'id' => 848,\n 'name' => 'excellence',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:39',\n 'updated_at' => '2019-03-12 05:34:39',\n ),\n 348 => \n array (\n 'id' => 849,\n 'name' => 'accident',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:40',\n 'updated_at' => '2019-03-12 05:34:40',\n ),\n 349 => \n array (\n 'id' => 850,\n 'name' => 'difficulties',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:40',\n 'updated_at' => '2019-03-12 05:34:40',\n ),\n 350 => \n array (\n 'id' => 851,\n 'name' => 'needs',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:41',\n 'updated_at' => '2019-03-12 05:34:41',\n ),\n 351 => \n array (\n 'id' => 852,\n 'name' => 'win',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:41',\n 'updated_at' => '2019-03-12 05:34:41',\n ),\n 352 => \n array (\n 'id' => 853,\n 'name' => 'life is a',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:42',\n 'updated_at' => '2019-03-12 05:34:42',\n ),\n 353 => \n array (\n 'id' => 854,\n 'name' => 'passion',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:42',\n 'updated_at' => '2019-03-12 05:34:42',\n ),\n 354 => \n array (\n 'id' => 855,\n 'name' => 'compassion',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:43',\n 'updated_at' => '2019-03-12 05:34:43',\n ),\n 355 => \n array (\n 'id' => 856,\n 'name' => 'solution',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:43',\n 'updated_at' => '2019-03-12 05:34:43',\n ),\n 356 => \n array (\n 'id' => 857,\n 'name' => 'youth',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:45',\n 'updated_at' => '2019-03-12 05:34:45',\n ),\n 357 => \n array (\n 'id' => 858,\n 'name' => 'seekers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:45',\n 'updated_at' => '2019-03-12 05:34:45',\n ),\n 358 => \n array (\n 'id' => 859,\n 'name' => 'dreamers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:46',\n 'updated_at' => '2019-03-12 05:34:46',\n ),\n 359 => \n array (\n 'id' => 860,\n 'name' => 'obstacles',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:47',\n 'updated_at' => '2019-03-12 05:34:47',\n ),\n 360 => \n array (\n 'id' => 861,\n 'name' => 'resilience',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:47',\n 'updated_at' => '2019-03-12 05:34:47',\n ),\n 361 => \n array (\n 'id' => 862,\n 'name' => 'philosophy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:47',\n 'updated_at' => '2019-03-12 05:34:47',\n ),\n 362 => \n array (\n 'id' => 863,\n 'name' => 'obligation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:48',\n 'updated_at' => '2019-03-12 05:34:48',\n ),\n 363 => \n array (\n 'id' => 864,\n 'name' => 'pump',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:49',\n 'updated_at' => '2019-03-12 05:34:49',\n ),\n 364 => \n array (\n 'id' => 865,\n 'name' => 'rights',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:49',\n 'updated_at' => '2019-03-12 05:34:49',\n ),\n 365 => \n array (\n 'id' => 866,\n 'name' => 'unity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:50',\n 'updated_at' => '2019-03-12 05:34:50',\n ),\n 366 => \n array (\n 'id' => 867,\n 'name' => 'play',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:51',\n 'updated_at' => '2019-03-12 05:34:51',\n ),\n 367 => \n array (\n 'id' => 868,\n 'name' => 'republican',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:51',\n 'updated_at' => '2019-03-12 05:34:51',\n ),\n 368 => \n array (\n 'id' => 869,\n 'name' => 'clothing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:52',\n 'updated_at' => '2019-03-12 05:34:52',\n ),\n 369 => \n array (\n 'id' => 870,\n 'name' => 'army',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:52',\n 'updated_at' => '2019-03-12 05:34:52',\n ),\n 370 => \n array (\n 'id' => 871,\n 'name' => 'jail',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:53',\n 'updated_at' => '2019-03-12 05:34:53',\n ),\n 371 => \n array (\n 'id' => 872,\n 'name' => 'jim crow',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:53',\n 'updated_at' => '2019-03-12 05:34:53',\n ),\n 372 => \n array (\n 'id' => 873,\n 'name' => 'crow',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:53',\n 'updated_at' => '2019-03-12 05:34:53',\n ),\n 373 => \n array (\n 'id' => 874,\n 'name' => 'rot',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:54',\n 'updated_at' => '2019-03-12 05:34:54',\n ),\n 374 => \n array (\n 'id' => 875,\n 'name' => 'community',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:54',\n 'updated_at' => '2019-03-12 05:34:54',\n ),\n 375 => \n array (\n 'id' => 876,\n 'name' => 'powerful',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:54',\n 'updated_at' => '2019-03-12 05:34:54',\n ),\n 376 => \n array (\n 'id' => 877,\n 'name' => 'granted',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:55',\n 'updated_at' => '2019-03-12 05:34:55',\n ),\n 377 => \n array (\n 'id' => 878,\n 'name' => 'won',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:56',\n 'updated_at' => '2019-03-12 05:34:56',\n ),\n 378 => \n array (\n 'id' => 879,\n 'name' => 'black and white',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:56',\n 'updated_at' => '2019-03-12 05:34:56',\n ),\n 379 => \n array (\n 'id' => 880,\n 'name' => 'black',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:57',\n 'updated_at' => '2019-03-12 05:34:57',\n ),\n 380 => \n array (\n 'id' => 881,\n 'name' => 'triumph',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:57',\n 'updated_at' => '2019-03-12 05:34:57',\n ),\n 381 => \n array (\n 'id' => 882,\n 'name' => 'class',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:57',\n 'updated_at' => '2019-03-12 05:34:57',\n ),\n 382 => \n array (\n 'id' => 883,\n 'name' => 'slaves',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:58',\n 'updated_at' => '2019-03-12 05:34:58',\n ),\n 383 => \n array (\n 'id' => 884,\n 'name' => 'justice',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:58',\n 'updated_at' => '2019-03-12 05:34:58',\n ),\n 384 => \n array (\n 'id' => 885,\n 'name' => 'given',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:34:59',\n 'updated_at' => '2019-03-12 05:34:59',\n ),\n 385 => \n array (\n 'id' => 886,\n 'name' => 'equal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:00',\n 'updated_at' => '2019-03-12 05:35:00',\n ),\n 386 => \n array (\n 'id' => 887,\n 'name' => 'loyalty',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:01',\n 'updated_at' => '2019-03-12 05:35:01',\n ),\n 387 => \n array (\n 'id' => 888,\n 'name' => 'washington',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:03',\n 'updated_at' => '2019-03-12 05:35:03',\n ),\n 388 => \n array (\n 'id' => 889,\n 'name' => 'struggle',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:04',\n 'updated_at' => '2019-03-12 05:35:04',\n ),\n 389 => \n array (\n 'id' => 890,\n 'name' => 'destroy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:06',\n 'updated_at' => '2019-03-12 05:35:06',\n ),\n 390 => \n array (\n 'id' => 891,\n 'name' => 'expected',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:06',\n 'updated_at' => '2019-03-12 05:35:06',\n ),\n 391 => \n array (\n 'id' => 892,\n 'name' => 'minds',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:07',\n 'updated_at' => '2019-03-12 05:35:07',\n ),\n 392 => \n array (\n 'id' => 893,\n 'name' => 'negroes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:07',\n 'updated_at' => '2019-03-12 05:35:07',\n ),\n 393 => \n array (\n 'id' => 894,\n 'name' => 'freed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:07',\n 'updated_at' => '2019-03-12 05:35:07',\n ),\n 394 => \n array (\n 'id' => 895,\n 'name' => 'satisfaction',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:08',\n 'updated_at' => '2019-03-12 05:35:08',\n ),\n 395 => \n array (\n 'id' => 896,\n 'name' => 'nation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:11',\n 'updated_at' => '2019-03-12 05:35:11',\n ),\n 396 => \n array (\n 'id' => 897,\n 'name' => 'within',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:11',\n 'updated_at' => '2019-03-12 05:35:11',\n ),\n 397 => \n array (\n 'id' => 898,\n 'name' => 'salvation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:11',\n 'updated_at' => '2019-03-12 05:35:11',\n ),\n 398 => \n array (\n 'id' => 899,\n 'name' => 'football',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:12',\n 'updated_at' => '2019-03-12 05:35:12',\n ),\n 399 => \n array (\n 'id' => 900,\n 'name' => 'award',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:12',\n 'updated_at' => '2019-03-12 05:35:12',\n ),\n 400 => \n array (\n 'id' => 901,\n 'name' => 'white',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:13',\n 'updated_at' => '2019-03-12 05:35:13',\n ),\n 401 => \n array (\n 'id' => 902,\n 'name' => 'working',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:14',\n 'updated_at' => '2019-03-12 05:35:14',\n ),\n 402 => \n array (\n 'id' => 903,\n 'name' => 'races',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:14',\n 'updated_at' => '2019-03-12 05:35:14',\n ),\n 403 => \n array (\n 'id' => 904,\n 'name' => 'guns',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:15',\n 'updated_at' => '2019-03-12 05:35:15',\n ),\n 404 => \n array (\n 'id' => 905,\n 'name' => 'mood',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:15',\n 'updated_at' => '2019-03-12 05:35:15',\n ),\n 405 => \n array (\n 'id' => 906,\n 'name' => 'wonderful',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:15',\n 'updated_at' => '2019-03-12 05:35:15',\n ),\n 406 => \n array (\n 'id' => 907,\n 'name' => 'looked',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:16',\n 'updated_at' => '2019-03-12 05:35:16',\n ),\n 407 => \n array (\n 'id' => 908,\n 'name' => 'becomes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:16',\n 'updated_at' => '2019-03-12 05:35:16',\n ),\n 408 => \n array (\n 'id' => 909,\n 'name' => 'unknown',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:17',\n 'updated_at' => '2019-03-12 05:35:17',\n ),\n 409 => \n array (\n 'id' => 910,\n 'name' => 'rational',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:17',\n 'updated_at' => '2019-03-12 05:35:17',\n ),\n 410 => \n array (\n 'id' => 911,\n 'name' => 'our',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:17',\n 'updated_at' => '2019-03-12 05:35:17',\n ),\n 411 => \n array (\n 'id' => 912,\n 'name' => 'concrete',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:18',\n 'updated_at' => '2019-03-12 05:35:18',\n ),\n 412 => \n array (\n 'id' => 913,\n 'name' => 'vague',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:18',\n 'updated_at' => '2019-03-12 05:35:18',\n ),\n 413 => \n array (\n 'id' => 914,\n 'name' => 'interior',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:20',\n 'updated_at' => '2019-03-12 05:35:20',\n ),\n 414 => \n array (\n 'id' => 915,\n 'name' => 'external',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:20',\n 'updated_at' => '2019-03-12 05:35:20',\n ),\n 415 => \n array (\n 'id' => 916,\n 'name' => 'mean',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:21',\n 'updated_at' => '2019-03-12 05:35:21',\n ),\n 416 => \n array (\n 'id' => 917,\n 'name' => 'discovery',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:23',\n 'updated_at' => '2019-03-12 05:35:23',\n ),\n 417 => \n array (\n 'id' => 918,\n 'name' => 'sharp',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:24',\n 'updated_at' => '2019-03-12 05:35:24',\n ),\n 418 => \n array (\n 'id' => 919,\n 'name' => 'lines',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:24',\n 'updated_at' => '2019-03-12 05:35:24',\n ),\n 419 => \n array (\n 'id' => 920,\n 'name' => 'few',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:24',\n 'updated_at' => '2019-03-12 05:35:24',\n ),\n 420 => \n array (\n 'id' => 921,\n 'name' => 'stillness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:25',\n 'updated_at' => '2019-03-12 05:35:25',\n ),\n 421 => \n array (\n 'id' => 922,\n 'name' => 'add',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:25',\n 'updated_at' => '2019-03-12 05:35:25',\n ),\n 422 => \n array (\n 'id' => 923,\n 'name' => 'expect',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:27',\n 'updated_at' => '2019-03-12 05:35:27',\n ),\n 423 => \n array (\n 'id' => 924,\n 'name' => 'isolation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:27',\n 'updated_at' => '2019-03-12 05:35:27',\n ),\n 424 => \n array (\n 'id' => 925,\n 'name' => 'real',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:28',\n 'updated_at' => '2019-03-12 05:35:28',\n ),\n 425 => \n array (\n 'id' => 926,\n 'name' => 'everything',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:29',\n 'updated_at' => '2019-03-12 05:35:29',\n ),\n 426 => \n array (\n 'id' => 927,\n 'name' => 'direct',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:29',\n 'updated_at' => '2019-03-12 05:35:29',\n ),\n 427 => \n array (\n 'id' => 928,\n 'name' => 'structure',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:31',\n 'updated_at' => '2019-03-12 05:35:31',\n ),\n 428 => \n array (\n 'id' => 929,\n 'name' => 'galaxy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:32',\n 'updated_at' => '2019-03-12 05:35:32',\n ),\n 429 => \n array (\n 'id' => 930,\n 'name' => 'careless',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:32',\n 'updated_at' => '2019-03-12 05:35:32',\n ),\n 430 => \n array (\n 'id' => 931,\n 'name' => 'silence',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:32',\n 'updated_at' => '2019-03-12 05:35:32',\n ),\n 431 => \n array (\n 'id' => 932,\n 'name' => 'attention',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:33',\n 'updated_at' => '2019-03-12 05:35:33',\n ),\n 432 => \n array (\n 'id' => 933,\n 'name' => 'imagine',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:34',\n 'updated_at' => '2019-03-12 05:35:34',\n ),\n 433 => \n array (\n 'id' => 934,\n 'name' => 'seeing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:34',\n 'updated_at' => '2019-03-12 05:35:34',\n ),\n 434 => \n array (\n 'id' => 935,\n 'name' => 'prisons',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:35',\n 'updated_at' => '2019-03-12 05:35:35',\n ),\n 435 => \n array (\n 'id' => 936,\n 'name' => 'becoming',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:36',\n 'updated_at' => '2019-03-12 05:35:36',\n ),\n 436 => \n array (\n 'id' => 937,\n 'name' => 'poem',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:36',\n 'updated_at' => '2019-03-12 05:35:36',\n ),\n 437 => \n array (\n 'id' => 938,\n 'name' => 'risk',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:37',\n 'updated_at' => '2019-03-12 05:35:37',\n ),\n 438 => \n array (\n 'id' => 939,\n 'name' => 'reading',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:41',\n 'updated_at' => '2019-03-12 05:35:41',\n ),\n 439 => \n array (\n 'id' => 940,\n 'name' => 'teach',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:41',\n 'updated_at' => '2019-03-12 05:35:41',\n ),\n 440 => \n array (\n 'id' => 941,\n 'name' => 'blessing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:42',\n 'updated_at' => '2019-03-12 05:35:42',\n ),\n 441 => \n array (\n 'id' => 942,\n 'name' => 'i believe',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:42',\n 'updated_at' => '2019-03-12 05:35:42',\n ),\n 442 => \n array (\n 'id' => 943,\n 'name' => 'humble',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:43',\n 'updated_at' => '2019-03-12 05:35:43',\n ),\n 443 => \n array (\n 'id' => 944,\n 'name' => 'driving',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:44',\n 'updated_at' => '2019-03-12 05:35:44',\n ),\n 444 => \n array (\n 'id' => 945,\n 'name' => 'speed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:45',\n 'updated_at' => '2019-03-12 05:35:45',\n ),\n 445 => \n array (\n 'id' => 946,\n 'name' => 'soul',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:45',\n 'updated_at' => '2019-03-12 05:35:45',\n ),\n 446 => \n array (\n 'id' => 947,\n 'name' => 'my soul',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:46',\n 'updated_at' => '2019-03-12 05:35:46',\n ),\n 447 => \n array (\n 'id' => 948,\n 'name' => 'solitude',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:46',\n 'updated_at' => '2019-03-12 05:35:46',\n ),\n 448 => \n array (\n 'id' => 949,\n 'name' => 'voice',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:46',\n 'updated_at' => '2019-03-12 05:35:46',\n ),\n 449 => \n array (\n 'id' => 950,\n 'name' => 'journey',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:47',\n 'updated_at' => '2019-03-12 05:35:47',\n ),\n 450 => \n array (\n 'id' => 951,\n 'name' => 'spiritual',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:48',\n 'updated_at' => '2019-03-12 05:35:48',\n ),\n 451 => \n array (\n 'id' => 952,\n 'name' => 'honesty',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:48',\n 'updated_at' => '2019-03-12 05:35:48',\n ),\n 452 => \n array (\n 'id' => 953,\n 'name' => 'commitment',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:48',\n 'updated_at' => '2019-03-12 05:35:48',\n ),\n 453 => \n array (\n 'id' => 954,\n 'name' => 'perspective',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:49',\n 'updated_at' => '2019-03-12 05:35:49',\n ),\n 454 => \n array (\n 'id' => 955,\n 'name' => 'guilty',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:50',\n 'updated_at' => '2019-03-12 05:35:50',\n ),\n 455 => \n array (\n 'id' => 956,\n 'name' => 'no time',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:50',\n 'updated_at' => '2019-03-12 05:35:50',\n ),\n 456 => \n array (\n 'id' => 957,\n 'name' => 'generation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:51',\n 'updated_at' => '2019-03-12 05:35:51',\n ),\n 457 => \n array (\n 'id' => 958,\n 'name' => 'moving forward',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:53',\n 'updated_at' => '2019-03-12 05:35:53',\n ),\n 458 => \n array (\n 'id' => 959,\n 'name' => 'engineers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:56',\n 'updated_at' => '2019-03-12 05:35:56',\n ),\n 459 => \n array (\n 'id' => 960,\n 'name' => 'create',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:57',\n 'updated_at' => '2019-03-12 05:35:57',\n ),\n 460 => \n array (\n 'id' => 961,\n 'name' => 'cooking',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:58',\n 'updated_at' => '2019-03-12 05:35:58',\n ),\n 461 => \n array (\n 'id' => 962,\n 'name' => 'playing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:35:59',\n 'updated_at' => '2019-03-12 05:35:59',\n ),\n 462 => \n array (\n 'id' => 963,\n 'name' => 'judged',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:01',\n 'updated_at' => '2019-03-12 05:36:01',\n ),\n 463 => \n array (\n 'id' => 964,\n 'name' => 'truthfully',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:01',\n 'updated_at' => '2019-03-12 05:36:01',\n ),\n 464 => \n array (\n 'id' => 965,\n 'name' => 'blessed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:02',\n 'updated_at' => '2019-03-12 05:36:02',\n ),\n 465 => \n array (\n 'id' => 966,\n 'name' => 'acceptance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:02',\n 'updated_at' => '2019-03-12 05:36:02',\n ),\n 466 => \n array (\n 'id' => 967,\n 'name' => 'film',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:03',\n 'updated_at' => '2019-03-12 05:36:03',\n ),\n 467 => \n array (\n 'id' => 968,\n 'name' => 'film music',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:03',\n 'updated_at' => '2019-03-12 05:36:03',\n ),\n 468 => \n array (\n 'id' => 969,\n 'name' => 'frame',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:04',\n 'updated_at' => '2019-03-12 05:36:04',\n ),\n 469 => \n array (\n 'id' => 970,\n 'name' => 'listener',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:04',\n 'updated_at' => '2019-03-12 05:36:04',\n ),\n 470 => \n array (\n 'id' => 971,\n 'name' => 'phone',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:07',\n 'updated_at' => '2019-03-12 05:36:07',\n ),\n 471 => \n array (\n 'id' => 972,\n 'name' => 'fire',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:08',\n 'updated_at' => '2019-03-12 05:36:08',\n ),\n 472 => \n array (\n 'id' => 973,\n 'name' => 'ice',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:08',\n 'updated_at' => '2019-03-12 05:36:08',\n ),\n 473 => \n array (\n 'id' => 974,\n 'name' => 'little girls',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:10',\n 'updated_at' => '2019-03-12 05:36:10',\n ),\n 474 => \n array (\n 'id' => 975,\n 'name' => 'kindness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:10',\n 'updated_at' => '2019-03-12 05:36:10',\n ),\n 475 => \n array (\n 'id' => 976,\n 'name' => 'feelings',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:10',\n 'updated_at' => '2019-03-12 05:36:10',\n ),\n 476 => \n array (\n 'id' => 977,\n 'name' => 'sex',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:11',\n 'updated_at' => '2019-03-12 05:36:11',\n ),\n 477 => \n array (\n 'id' => 978,\n 'name' => 'repair',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:11',\n 'updated_at' => '2019-03-12 05:36:11',\n ),\n 478 => \n array (\n 'id' => 979,\n 'name' => 'motherhood',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:12',\n 'updated_at' => '2019-03-12 05:36:12',\n ),\n 479 => \n array (\n 'id' => 980,\n 'name' => 'kitchen',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:12',\n 'updated_at' => '2019-03-12 05:36:12',\n ),\n 480 => \n array (\n 'id' => 981,\n 'name' => 'chaos',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:12',\n 'updated_at' => '2019-03-12 05:36:12',\n ),\n 481 => \n array (\n 'id' => 982,\n 'name' => 'understand',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:13',\n 'updated_at' => '2019-03-12 05:36:13',\n ),\n 482 => \n array (\n 'id' => 983,\n 'name' => 'greatness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:13',\n 'updated_at' => '2019-03-12 05:36:13',\n ),\n 483 => \n array (\n 'id' => 984,\n 'name' => 'legends',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:14',\n 'updated_at' => '2019-03-12 05:36:14',\n ),\n 484 => \n array (\n 'id' => 985,\n 'name' => 'explain',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:14',\n 'updated_at' => '2019-03-12 05:36:14',\n ),\n 485 => \n array (\n 'id' => 986,\n 'name' => 'evil',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:14',\n 'updated_at' => '2019-03-12 05:36:14',\n ),\n 486 => \n array (\n 'id' => 987,\n 'name' => 'direction',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:15',\n 'updated_at' => '2019-03-12 05:36:15',\n ),\n 487 => \n array (\n 'id' => 988,\n 'name' => 'present',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:16',\n 'updated_at' => '2019-03-12 05:36:16',\n ),\n 488 => \n array (\n 'id' => 989,\n 'name' => 'puzzle',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:18',\n 'updated_at' => '2019-03-12 05:36:18',\n ),\n 489 => \n array (\n 'id' => 990,\n 'name' => 'dark',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:19',\n 'updated_at' => '2019-03-12 05:36:19',\n ),\n 490 => \n array (\n 'id' => 991,\n 'name' => 'fairy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:19',\n 'updated_at' => '2019-03-12 05:36:19',\n ),\n 491 => \n array (\n 'id' => 992,\n 'name' => 'hate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:20',\n 'updated_at' => '2019-03-12 05:36:20',\n ),\n 492 => \n array (\n 'id' => 993,\n 'name' => 'mirrors',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:21',\n 'updated_at' => '2019-03-12 05:36:21',\n ),\n 493 => \n array (\n 'id' => 994,\n 'name' => 'i wish',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:21',\n 'updated_at' => '2019-03-12 05:36:21',\n ),\n 494 => \n array (\n 'id' => 995,\n 'name' => 'little things',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:21',\n 'updated_at' => '2019-03-12 05:36:21',\n ),\n 495 => \n array (\n 'id' => 996,\n 'name' => 'painting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:21',\n 'updated_at' => '2019-03-12 05:36:21',\n ),\n 496 => \n array (\n 'id' => 997,\n 'name' => 'map',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:22',\n 'updated_at' => '2019-03-12 05:36:22',\n ),\n 497 => \n array (\n 'id' => 998,\n 'name' => 'mess',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:23',\n 'updated_at' => '2019-03-12 05:36:23',\n ),\n 498 => \n array (\n 'id' => 999,\n 'name' => 'follow',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:24',\n 'updated_at' => '2019-03-12 05:36:24',\n ),\n 499 => \n array (\n 'id' => 1000,\n 'name' => 'ask',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:24',\n 'updated_at' => '2019-03-12 05:36:24',\n ),\n ));\n \\DB::table('tags')->insert(array (\n 0 => \n array (\n 'id' => 1001,\n 'name' => 'possible',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:25',\n 'updated_at' => '2019-03-12 05:36:25',\n ),\n 1 => \n array (\n 'id' => 1002,\n 'name' => 'curiosity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:26',\n 'updated_at' => '2019-03-12 05:36:26',\n ),\n 2 => \n array (\n 'id' => 1003,\n 'name' => 'unique',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:30',\n 'updated_at' => '2019-03-12 05:36:30',\n ),\n 3 => \n array (\n 'id' => 1004,\n 'name' => 'deception',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:31',\n 'updated_at' => '2019-03-12 05:36:31',\n ),\n 4 => \n array (\n 'id' => 1005,\n 'name' => 'imitation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:31',\n 'updated_at' => '2019-03-12 05:36:31',\n ),\n 5 => \n array (\n 'id' => 1006,\n 'name' => 'point',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:32',\n 'updated_at' => '2019-03-12 05:36:32',\n ),\n 6 => \n array (\n 'id' => 1007,\n 'name' => 'light',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:32',\n 'updated_at' => '2019-03-12 05:36:32',\n ),\n 7 => \n array (\n 'id' => 1008,\n 'name' => 'heat',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:32',\n 'updated_at' => '2019-03-12 05:36:32',\n ),\n 8 => \n array (\n 'id' => 1009,\n 'name' => 'joy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:34',\n 'updated_at' => '2019-03-12 05:36:34',\n ),\n 9 => \n array (\n 'id' => 1010,\n 'name' => 'son',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:34',\n 'updated_at' => '2019-03-12 05:36:34',\n ),\n 10 => \n array (\n 'id' => 1011,\n 'name' => 'interview',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:36',\n 'updated_at' => '2019-03-12 05:36:36',\n ),\n 11 => \n array (\n 'id' => 1012,\n 'name' => 'dead',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:36',\n 'updated_at' => '2019-03-12 05:36:36',\n ),\n 12 => \n array (\n 'id' => 1013,\n 'name' => 'broken',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:38',\n 'updated_at' => '2019-03-12 05:36:38',\n ),\n 13 => \n array (\n 'id' => 1014,\n 'name' => 'leap',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:38',\n 'updated_at' => '2019-03-12 05:36:38',\n ),\n 14 => \n array (\n 'id' => 1015,\n 'name' => 'television',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:39',\n 'updated_at' => '2019-03-12 05:36:39',\n ),\n 15 => \n array (\n 'id' => 1016,\n 'name' => 'hollywood',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:40',\n 'updated_at' => '2019-03-12 05:36:40',\n ),\n 16 => \n array (\n 'id' => 1017,\n 'name' => 'serious',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:41',\n 'updated_at' => '2019-03-12 05:36:41',\n ),\n 17 => \n array (\n 'id' => 1018,\n 'name' => 'next',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:42',\n 'updated_at' => '2019-03-12 05:36:42',\n ),\n 18 => \n array (\n 'id' => 1019,\n 'name' => 'lock',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:44',\n 'updated_at' => '2019-03-12 05:36:44',\n ),\n 19 => \n array (\n 'id' => 1020,\n 'name' => 'illuminates',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:45',\n 'updated_at' => '2019-03-12 05:36:45',\n ),\n 20 => \n array (\n 'id' => 1021,\n 'name' => 'worker',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:46',\n 'updated_at' => '2019-03-12 05:36:46',\n ),\n 21 => \n array (\n 'id' => 1022,\n 'name' => 'am',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:46',\n 'updated_at' => '2019-03-12 05:36:46',\n ),\n 22 => \n array (\n 'id' => 1023,\n 'name' => 'compulsive',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:46',\n 'updated_at' => '2019-03-12 05:36:46',\n ),\n 23 => \n array (\n 'id' => 1024,\n 'name' => 'hooked',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:47',\n 'updated_at' => '2019-03-12 05:36:47',\n ),\n 24 => \n array (\n 'id' => 1025,\n 'name' => 'wilson',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:48',\n 'updated_at' => '2019-03-12 05:36:48',\n ),\n 25 => \n array (\n 'id' => 1026,\n 'name' => 'fail',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:49',\n 'updated_at' => '2019-03-12 05:36:49',\n ),\n 26 => \n array (\n 'id' => 1027,\n 'name' => 'laughing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:49',\n 'updated_at' => '2019-03-12 05:36:49',\n ),\n 27 => \n array (\n 'id' => 1028,\n 'name' => 'animals',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:50',\n 'updated_at' => '2019-03-12 05:36:50',\n ),\n 28 => \n array (\n 'id' => 1029,\n 'name' => 'lawyer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:51',\n 'updated_at' => '2019-03-12 05:36:51',\n ),\n 29 => \n array (\n 'id' => 1030,\n 'name' => 'group',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:51',\n 'updated_at' => '2019-03-12 05:36:51',\n ),\n 30 => \n array (\n 'id' => 1031,\n 'name' => 'frustrated',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:52',\n 'updated_at' => '2019-03-12 05:36:52',\n ),\n 31 => \n array (\n 'id' => 1032,\n 'name' => 'high school',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:53',\n 'updated_at' => '2019-03-12 05:36:53',\n ),\n 32 => \n array (\n 'id' => 1033,\n 'name' => 'student',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:54',\n 'updated_at' => '2019-03-12 05:36:54',\n ),\n 33 => \n array (\n 'id' => 1034,\n 'name' => 'atheist',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:55',\n 'updated_at' => '2019-03-12 05:36:55',\n ),\n 34 => \n array (\n 'id' => 1035,\n 'name' => 'exist',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:55',\n 'updated_at' => '2019-03-12 05:36:55',\n ),\n 35 => \n array (\n 'id' => 1036,\n 'name' => 'america',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:56',\n 'updated_at' => '2019-03-12 05:36:56',\n ),\n 36 => \n array (\n 'id' => 1037,\n 'name' => 'attraction',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:56',\n 'updated_at' => '2019-03-12 05:36:56',\n ),\n 37 => \n array (\n 'id' => 1038,\n 'name' => 'christian',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:57',\n 'updated_at' => '2019-03-12 05:36:57',\n ),\n 38 => \n array (\n 'id' => 1039,\n 'name' => 'close',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:57',\n 'updated_at' => '2019-03-12 05:36:57',\n ),\n 39 => \n array (\n 'id' => 1040,\n 'name' => 'even',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:57',\n 'updated_at' => '2019-03-12 05:36:57',\n ),\n 40 => \n array (\n 'id' => 1041,\n 'name' => 'video games',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:59',\n 'updated_at' => '2019-03-12 05:36:59',\n ),\n 41 => \n array (\n 'id' => 1042,\n 'name' => 'games',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:36:59',\n 'updated_at' => '2019-03-12 05:36:59',\n ),\n 42 => \n array (\n 'id' => 1043,\n 'name' => 'face',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:00',\n 'updated_at' => '2019-03-12 05:37:00',\n ),\n 43 => \n array (\n 'id' => 1044,\n 'name' => 'company',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:00',\n 'updated_at' => '2019-03-12 05:37:00',\n ),\n 44 => \n array (\n 'id' => 1045,\n 'name' => 'wrestling',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:01',\n 'updated_at' => '2019-03-12 05:37:01',\n ),\n 45 => \n array (\n 'id' => 1046,\n 'name' => 'nuts',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:01',\n 'updated_at' => '2019-03-12 05:37:01',\n ),\n 46 => \n array (\n 'id' => 1047,\n 'name' => 'quiet',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:01',\n 'updated_at' => '2019-03-12 05:37:01',\n ),\n 47 => \n array (\n 'id' => 1048,\n 'name' => 'different',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:02',\n 'updated_at' => '2019-03-12 05:37:02',\n ),\n 48 => \n array (\n 'id' => 1049,\n 'name' => 'ring',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:03',\n 'updated_at' => '2019-03-12 05:37:03',\n ),\n 49 => \n array (\n 'id' => 1050,\n 'name' => 'guys',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:06',\n 'updated_at' => '2019-03-12 05:37:06',\n ),\n 50 => \n array (\n 'id' => 1051,\n 'name' => 'couple',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:07',\n 'updated_at' => '2019-03-12 05:37:07',\n ),\n 51 => \n array (\n 'id' => 1052,\n 'name' => 'opportunity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:07',\n 'updated_at' => '2019-03-12 05:37:07',\n ),\n 52 => \n array (\n 'id' => 1053,\n 'name' => 'goals',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:08',\n 'updated_at' => '2019-03-12 05:37:08',\n ),\n 53 => \n array (\n 'id' => 1054,\n 'name' => 'accomplish',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:09',\n 'updated_at' => '2019-03-12 05:37:09',\n ),\n 54 => \n array (\n 'id' => 1055,\n 'name' => 'fans',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:10',\n 'updated_at' => '2019-03-12 05:37:10',\n ),\n 55 => \n array (\n 'id' => 1056,\n 'name' => 'busy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:11',\n 'updated_at' => '2019-03-12 05:37:11',\n ),\n 56 => \n array (\n 'id' => 1057,\n 'name' => 'rock',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:13',\n 'updated_at' => '2019-03-12 05:37:13',\n ),\n 57 => \n array (\n 'id' => 1058,\n 'name' => 'champion',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:13',\n 'updated_at' => '2019-03-12 05:37:13',\n ),\n 58 => \n array (\n 'id' => 1059,\n 'name' => 'decisions',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:15',\n 'updated_at' => '2019-03-12 05:37:15',\n ),\n 59 => \n array (\n 'id' => 1060,\n 'name' => 'door',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:15',\n 'updated_at' => '2019-03-12 05:37:15',\n ),\n 60 => \n array (\n 'id' => 1061,\n 'name' => 'memories',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:17',\n 'updated_at' => '2019-03-12 05:37:17',\n ),\n 61 => \n array (\n 'id' => 1062,\n 'name' => 'fool',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:18',\n 'updated_at' => '2019-03-12 05:37:18',\n ),\n 62 => \n array (\n 'id' => 1063,\n 'name' => 'church',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:19',\n 'updated_at' => '2019-03-12 05:37:19',\n ),\n 63 => \n array (\n 'id' => 1064,\n 'name' => 'career',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:21',\n 'updated_at' => '2019-03-12 05:37:21',\n ),\n 64 => \n array (\n 'id' => 1065,\n 'name' => 'childish',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:21',\n 'updated_at' => '2019-03-12 05:37:21',\n ),\n 65 => \n array (\n 'id' => 1066,\n 'name' => 'reaction',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:22',\n 'updated_at' => '2019-03-12 05:37:22',\n ),\n 66 => \n array (\n 'id' => 1067,\n 'name' => 'seats',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:22',\n 'updated_at' => '2019-03-12 05:37:22',\n ),\n 67 => \n array (\n 'id' => 1068,\n 'name' => 'excited',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:23',\n 'updated_at' => '2019-03-12 05:37:23',\n ),\n 68 => \n array (\n 'id' => 1069,\n 'name' => 'wife',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:24',\n 'updated_at' => '2019-03-12 05:37:24',\n ),\n 69 => \n array (\n 'id' => 1070,\n 'name' => 'colleagues',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:25',\n 'updated_at' => '2019-03-12 05:37:25',\n ),\n 70 => \n array (\n 'id' => 1071,\n 'name' => 'rich',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:25',\n 'updated_at' => '2019-03-12 05:37:25',\n ),\n 71 => \n array (\n 'id' => 1072,\n 'name' => 'style',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:27',\n 'updated_at' => '2019-03-12 05:37:27',\n ),\n 72 => \n array (\n 'id' => 1073,\n 'name' => 'stay true',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:27',\n 'updated_at' => '2019-03-12 05:37:27',\n ),\n 73 => \n array (\n 'id' => 1074,\n 'name' => 'sexy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:28',\n 'updated_at' => '2019-03-12 05:37:28',\n ),\n 74 => \n array (\n 'id' => 1075,\n 'name' => 'classy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:28',\n 'updated_at' => '2019-03-12 05:37:28',\n ),\n 75 => \n array (\n 'id' => 1076,\n 'name' => 'working hard',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:29',\n 'updated_at' => '2019-03-12 05:37:29',\n ),\n 76 => \n array (\n 'id' => 1077,\n 'name' => 'crazy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:30',\n 'updated_at' => '2019-03-12 05:37:30',\n ),\n 77 => \n array (\n 'id' => 1078,\n 'name' => 'private life',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:31',\n 'updated_at' => '2019-03-12 05:37:31',\n ),\n 78 => \n array (\n 'id' => 1079,\n 'name' => 'laugh',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:32',\n 'updated_at' => '2019-03-12 05:37:32',\n ),\n 79 => \n array (\n 'id' => 1080,\n 'name' => 'good person',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:33',\n 'updated_at' => '2019-03-12 05:37:33',\n ),\n 80 => \n array (\n 'id' => 1081,\n 'name' => 'everyday',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:35',\n 'updated_at' => '2019-03-12 05:37:35',\n ),\n 81 => \n array (\n 'id' => 1082,\n 'name' => 'to love',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:35',\n 'updated_at' => '2019-03-12 05:37:35',\n ),\n 82 => \n array (\n 'id' => 1083,\n 'name' => 'times',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:36',\n 'updated_at' => '2019-03-12 05:37:36',\n ),\n 83 => \n array (\n 'id' => 1084,\n 'name' => 'figure',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:37',\n 'updated_at' => '2019-03-12 05:37:37',\n ),\n 84 => \n array (\n 'id' => 1085,\n 'name' => 'songs',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:38',\n 'updated_at' => '2019-03-12 05:37:38',\n ),\n 85 => \n array (\n 'id' => 1086,\n 'name' => 'legacy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:38',\n 'updated_at' => '2019-03-12 05:37:38',\n ),\n 86 => \n array (\n 'id' => 1087,\n 'name' => 'gone',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:39',\n 'updated_at' => '2019-03-12 05:37:39',\n ),\n 87 => \n array (\n 'id' => 1088,\n 'name' => 'sacrifice',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:40',\n 'updated_at' => '2019-03-12 05:37:40',\n ),\n 88 => \n array (\n 'id' => 1089,\n 'name' => 'leave',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:42',\n 'updated_at' => '2019-03-12 05:37:42',\n ),\n 89 => \n array (\n 'id' => 1090,\n 'name' => 'coach',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:43',\n 'updated_at' => '2019-03-12 05:37:43',\n ),\n 90 => \n array (\n 'id' => 1091,\n 'name' => 'singer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:43',\n 'updated_at' => '2019-03-12 05:37:43',\n ),\n 91 => \n array (\n 'id' => 1092,\n 'name' => 'have fun',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:44',\n 'updated_at' => '2019-03-12 05:37:44',\n ),\n 92 => \n array (\n 'id' => 1093,\n 'name' => 'sacrifices',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:45',\n 'updated_at' => '2019-03-12 05:37:45',\n ),\n 93 => \n array (\n 'id' => 1094,\n 'name' => 'tour',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:46',\n 'updated_at' => '2019-03-12 05:37:46',\n ),\n 94 => \n array (\n 'id' => 1095,\n 'name' => 'album',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:47',\n 'updated_at' => '2019-03-12 05:37:47',\n ),\n 95 => \n array (\n 'id' => 1096,\n 'name' => 'needed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:47',\n 'updated_at' => '2019-03-12 05:37:47',\n ),\n 96 => \n array (\n 'id' => 1097,\n 'name' => 'performer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:47',\n 'updated_at' => '2019-03-12 05:37:47',\n ),\n 97 => \n array (\n 'id' => 1098,\n 'name' => 'total',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:48',\n 'updated_at' => '2019-03-12 05:37:48',\n ),\n 98 => \n array (\n 'id' => 1099,\n 'name' => 'train',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:48',\n 'updated_at' => '2019-03-12 05:37:48',\n ),\n 99 => \n array (\n 'id' => 1100,\n 'name' => 'plan',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:51',\n 'updated_at' => '2019-03-12 05:37:51',\n ),\n 100 => \n array (\n 'id' => 1101,\n 'name' => 'move',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:51',\n 'updated_at' => '2019-03-12 05:37:51',\n ),\n 101 => \n array (\n 'id' => 1102,\n 'name' => 'path',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:52',\n 'updated_at' => '2019-03-12 05:37:52',\n ),\n 102 => \n array (\n 'id' => 1103,\n 'name' => 'creative',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:53',\n 'updated_at' => '2019-03-12 05:37:53',\n ),\n 103 => \n array (\n 'id' => 1104,\n 'name' => 'barriers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:54',\n 'updated_at' => '2019-03-12 05:37:54',\n ),\n 104 => \n array (\n 'id' => 1105,\n 'name' => 'achievement',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:55',\n 'updated_at' => '2019-03-12 05:37:55',\n ),\n 105 => \n array (\n 'id' => 1106,\n 'name' => 'thing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:56',\n 'updated_at' => '2019-03-12 05:37:56',\n ),\n 106 => \n array (\n 'id' => 1107,\n 'name' => 'main',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:56',\n 'updated_at' => '2019-03-12 05:37:56',\n ),\n 107 => \n array (\n 'id' => 1108,\n 'name' => 'i am happy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:57',\n 'updated_at' => '2019-03-12 05:37:57',\n ),\n 108 => \n array (\n 'id' => 1109,\n 'name' => 'challenges',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:58',\n 'updated_at' => '2019-03-12 05:37:58',\n ),\n 109 => \n array (\n 'id' => 1110,\n 'name' => 'perfection',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:37:59',\n 'updated_at' => '2019-03-12 05:37:59',\n ),\n 110 => \n array (\n 'id' => 1111,\n 'name' => 'learned',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:01',\n 'updated_at' => '2019-03-12 05:38:01',\n ),\n 111 => \n array (\n 'id' => 1112,\n 'name' => 'importance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:02',\n 'updated_at' => '2019-03-12 05:38:02',\n ),\n 112 => \n array (\n 'id' => 1113,\n 'name' => 'prepare',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:05',\n 'updated_at' => '2019-03-12 05:38:05',\n ),\n 113 => \n array (\n 'id' => 1114,\n 'name' => 'team',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:09',\n 'updated_at' => '2019-03-12 05:38:09',\n ),\n 114 => \n array (\n 'id' => 1115,\n 'name' => 'authority',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:09',\n 'updated_at' => '2019-03-12 05:38:09',\n ),\n 115 => \n array (\n 'id' => 1116,\n 'name' => 'personality',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:10',\n 'updated_at' => '2019-03-12 05:38:10',\n ),\n 116 => \n array (\n 'id' => 1117,\n 'name' => 'audience',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:10',\n 'updated_at' => '2019-03-12 05:38:10',\n ),\n 117 => \n array (\n 'id' => 1118,\n 'name' => 'choices',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:12',\n 'updated_at' => '2019-03-12 05:38:12',\n ),\n 118 => \n array (\n 'id' => 1119,\n 'name' => 'africa',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:15',\n 'updated_at' => '2019-03-12 05:38:15',\n ),\n 119 => \n array (\n 'id' => 1120,\n 'name' => 'singapore',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:16',\n 'updated_at' => '2019-03-12 05:38:16',\n ),\n 120 => \n array (\n 'id' => 1121,\n 'name' => 'when all else fails',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:16',\n 'updated_at' => '2019-03-12 05:38:16',\n ),\n 121 => \n array (\n 'id' => 1122,\n 'name' => 'complicate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:16',\n 'updated_at' => '2019-03-12 05:38:16',\n ),\n 122 => \n array (\n 'id' => 1123,\n 'name' => 'hanging',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:17',\n 'updated_at' => '2019-03-12 05:38:17',\n ),\n 123 => \n array (\n 'id' => 1124,\n 'name' => 'violence',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:18',\n 'updated_at' => '2019-03-12 05:38:18',\n ),\n 124 => \n array (\n 'id' => 1125,\n 'name' => 'violent',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:18',\n 'updated_at' => '2019-03-12 05:38:18',\n ),\n 125 => \n array (\n 'id' => 1126,\n 'name' => 'refuge',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:19',\n 'updated_at' => '2019-03-12 05:38:19',\n ),\n 126 => \n array (\n 'id' => 1127,\n 'name' => 'vatican',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:19',\n 'updated_at' => '2019-03-12 05:38:19',\n ),\n 127 => \n array (\n 'id' => 1128,\n 'name' => 'domain',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:19',\n 'updated_at' => '2019-03-12 05:38:19',\n ),\n 128 => \n array (\n 'id' => 1129,\n 'name' => 'hack',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:20',\n 'updated_at' => '2019-03-12 05:38:20',\n ),\n 129 => \n array (\n 'id' => 1130,\n 'name' => 'server',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:20',\n 'updated_at' => '2019-03-12 05:38:20',\n ),\n 130 => \n array (\n 'id' => 1131,\n 'name' => 'through',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:21',\n 'updated_at' => '2019-03-12 05:38:21',\n ),\n 131 => \n array (\n 'id' => 1132,\n 'name' => 'chest',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:21',\n 'updated_at' => '2019-03-12 05:38:21',\n ),\n 132 => \n array (\n 'id' => 1133,\n 'name' => 'his',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:21',\n 'updated_at' => '2019-03-12 05:38:21',\n ),\n 133 => \n array (\n 'id' => 1134,\n 'name' => 'analysis',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:22',\n 'updated_at' => '2019-03-12 05:38:22',\n ),\n 134 => \n array (\n 'id' => 1135,\n 'name' => 'itself',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:22',\n 'updated_at' => '2019-03-12 05:38:22',\n ),\n 135 => \n array (\n 'id' => 1136,\n 'name' => 'comedy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:22',\n 'updated_at' => '2019-03-12 05:38:22',\n ),\n 136 => \n array (\n 'id' => 1137,\n 'name' => 'difference',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:23',\n 'updated_at' => '2019-03-12 05:38:23',\n ),\n 137 => \n array (\n 'id' => 1138,\n 'name' => 'magic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:23',\n 'updated_at' => '2019-03-12 05:38:23',\n ),\n 138 => \n array (\n 'id' => 1139,\n 'name' => 'sufficiently',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:24',\n 'updated_at' => '2019-03-12 05:38:24',\n ),\n 139 => \n array (\n 'id' => 1140,\n 'name' => 'receive',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:25',\n 'updated_at' => '2019-03-12 05:38:25',\n ),\n 140 => \n array (\n 'id' => 1141,\n 'name' => 'definition',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:25',\n 'updated_at' => '2019-03-12 05:38:25',\n ),\n 141 => \n array (\n 'id' => 1142,\n 'name' => 'smart',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:26',\n 'updated_at' => '2019-03-12 05:38:26',\n ),\n 142 => \n array (\n 'id' => 1143,\n 'name' => 'dumb',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:26',\n 'updated_at' => '2019-03-12 05:38:26',\n ),\n 143 => \n array (\n 'id' => 1144,\n 'name' => 'complain',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:27',\n 'updated_at' => '2019-03-12 05:38:27',\n ),\n 144 => \n array (\n 'id' => 1145,\n 'name' => 'tradition',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:28',\n 'updated_at' => '2019-03-12 05:38:28',\n ),\n 145 => \n array (\n 'id' => 1146,\n 'name' => 'stand',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:28',\n 'updated_at' => '2019-03-12 05:38:28',\n ),\n 146 => \n array (\n 'id' => 1147,\n 'name' => 'analogy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:29',\n 'updated_at' => '2019-03-12 05:38:29',\n ),\n 147 => \n array (\n 'id' => 1148,\n 'name' => 'be nice',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:30',\n 'updated_at' => '2019-03-12 05:38:30',\n ),\n 148 => \n array (\n 'id' => 1149,\n 'name' => 'pays',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:30',\n 'updated_at' => '2019-03-12 05:38:30',\n ),\n 149 => \n array (\n 'id' => 1150,\n 'name' => 'answer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:31',\n 'updated_at' => '2019-03-12 05:38:31',\n ),\n 150 => \n array (\n 'id' => 1151,\n 'name' => 'principle',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:31',\n 'updated_at' => '2019-03-12 05:38:31',\n ),\n 151 => \n array (\n 'id' => 1152,\n 'name' => 'types',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:32',\n 'updated_at' => '2019-03-12 05:38:32',\n ),\n 152 => \n array (\n 'id' => 1153,\n 'name' => 'were',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:33',\n 'updated_at' => '2019-03-12 05:38:33',\n ),\n 153 => \n array (\n 'id' => 1154,\n 'name' => 'where',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:34',\n 'updated_at' => '2019-03-12 05:38:34',\n ),\n 154 => \n array (\n 'id' => 1155,\n 'name' => 'expectations',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:35',\n 'updated_at' => '2019-03-12 05:38:35',\n ),\n 155 => \n array (\n 'id' => 1156,\n 'name' => 'catch',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:37',\n 'updated_at' => '2019-03-12 05:38:37',\n ),\n 156 => \n array (\n 'id' => 1157,\n 'name' => 'coming',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:37',\n 'updated_at' => '2019-03-12 05:38:37',\n ),\n 157 => \n array (\n 'id' => 1158,\n 'name' => 'moments',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:38',\n 'updated_at' => '2019-03-12 05:38:38',\n ),\n 158 => \n array (\n 'id' => 1159,\n 'name' => 'loyal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:39',\n 'updated_at' => '2019-03-12 05:38:39',\n ),\n 159 => \n array (\n 'id' => 1160,\n 'name' => 'sci-fi',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:40',\n 'updated_at' => '2019-03-12 05:38:40',\n ),\n 160 => \n array (\n 'id' => 1161,\n 'name' => 'control',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:41',\n 'updated_at' => '2019-03-12 05:38:41',\n ),\n 161 => \n array (\n 'id' => 1162,\n 'name' => 'vote',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:42',\n 'updated_at' => '2019-03-12 05:38:42',\n ),\n 162 => \n array (\n 'id' => 1163,\n 'name' => 'hear',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:42',\n 'updated_at' => '2019-03-12 05:38:42',\n ),\n 163 => \n array (\n 'id' => 1164,\n 'name' => 'be different',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:43',\n 'updated_at' => '2019-03-12 05:38:43',\n ),\n 164 => \n array (\n 'id' => 1165,\n 'name' => 'tv',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:44',\n 'updated_at' => '2019-03-12 05:38:44',\n ),\n 165 => \n array (\n 'id' => 1166,\n 'name' => 'gathering',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:44',\n 'updated_at' => '2019-03-12 05:38:44',\n ),\n 166 => \n array (\n 'id' => 1167,\n 'name' => 'journalism',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:46',\n 'updated_at' => '2019-03-12 05:38:46',\n ),\n 167 => \n array (\n 'id' => 1168,\n 'name' => 'between',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:46',\n 'updated_at' => '2019-03-12 05:38:46',\n ),\n 168 => \n array (\n 'id' => 1169,\n 'name' => 'regret',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:47',\n 'updated_at' => '2019-03-12 05:38:47',\n ),\n 169 => \n array (\n 'id' => 1170,\n 'name' => 'pleasure',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:48',\n 'updated_at' => '2019-03-12 05:38:48',\n ),\n 170 => \n array (\n 'id' => 1171,\n 'name' => 'rule',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:48',\n 'updated_at' => '2019-03-12 05:38:48',\n ),\n 171 => \n array (\n 'id' => 1172,\n 'name' => 'young man',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:49',\n 'updated_at' => '2019-03-12 05:38:49',\n ),\n 172 => \n array (\n 'id' => 1173,\n 'name' => 'west',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:49',\n 'updated_at' => '2019-03-12 05:38:49',\n ),\n 173 => \n array (\n 'id' => 1174,\n 'name' => 'being human',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:50',\n 'updated_at' => '2019-03-12 05:38:50',\n ),\n 174 => \n array (\n 'id' => 1175,\n 'name' => 'afraid',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:50',\n 'updated_at' => '2019-03-12 05:38:50',\n ),\n 175 => \n array (\n 'id' => 1176,\n 'name' => 'salt',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:52',\n 'updated_at' => '2019-03-12 05:38:52',\n ),\n 176 => \n array (\n 'id' => 1177,\n 'name' => 'baths',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:53',\n 'updated_at' => '2019-03-12 05:38:53',\n ),\n 177 => \n array (\n 'id' => 1178,\n 'name' => 'girlfriend',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:54',\n 'updated_at' => '2019-03-12 05:38:54',\n ),\n 178 => \n array (\n 'id' => 1179,\n 'name' => 'singing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:55',\n 'updated_at' => '2019-03-12 05:38:55',\n ),\n 179 => \n array (\n 'id' => 1180,\n 'name' => 'superman',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:55',\n 'updated_at' => '2019-03-12 05:38:55',\n ),\n 180 => \n array (\n 'id' => 1181,\n 'name' => 'road',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:56',\n 'updated_at' => '2019-03-12 05:38:56',\n ),\n 181 => \n array (\n 'id' => 1182,\n 'name' => 'being famous',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:56',\n 'updated_at' => '2019-03-12 05:38:56',\n ),\n 182 => \n array (\n 'id' => 1183,\n 'name' => 'coffee',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:57',\n 'updated_at' => '2019-03-12 05:38:57',\n ),\n 183 => \n array (\n 'id' => 1184,\n 'name' => 'she',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:59',\n 'updated_at' => '2019-03-12 05:38:59',\n ),\n 184 => \n array (\n 'id' => 1185,\n 'name' => 'forgive',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:38:59',\n 'updated_at' => '2019-03-12 05:38:59',\n ),\n 185 => \n array (\n 'id' => 1186,\n 'name' => 'admit',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:00',\n 'updated_at' => '2019-03-12 05:39:00',\n ),\n 186 => \n array (\n 'id' => 1187,\n 'name' => 'i feel',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:01',\n 'updated_at' => '2019-03-12 05:39:01',\n ),\n 187 => \n array (\n 'id' => 1188,\n 'name' => 'betrayed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:01',\n 'updated_at' => '2019-03-12 05:39:01',\n ),\n 188 => \n array (\n 'id' => 1189,\n 'name' => 'lesson',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:02',\n 'updated_at' => '2019-03-12 05:39:02',\n ),\n 189 => \n array (\n 'id' => 1190,\n 'name' => 'media',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:03',\n 'updated_at' => '2019-03-12 05:39:03',\n ),\n 190 => \n array (\n 'id' => 1191,\n 'name' => 'miami',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:03',\n 'updated_at' => '2019-03-12 05:39:03',\n ),\n 191 => \n array (\n 'id' => 1192,\n 'name' => 'my own',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:04',\n 'updated_at' => '2019-03-12 05:39:04',\n ),\n 192 => \n array (\n 'id' => 1193,\n 'name' => 'studio',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:04',\n 'updated_at' => '2019-03-12 05:39:04',\n ),\n 193 => \n array (\n 'id' => 1194,\n 'name' => 'happen',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:05',\n 'updated_at' => '2019-03-12 05:39:05',\n ),\n 194 => \n array (\n 'id' => 1195,\n 'name' => 'artist',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:05',\n 'updated_at' => '2019-03-12 05:39:05',\n ),\n 195 => \n array (\n 'id' => 1196,\n 'name' => 'consumers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:06',\n 'updated_at' => '2019-03-12 05:39:06',\n ),\n 196 => \n array (\n 'id' => 1197,\n 'name' => 'lonely',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:08',\n 'updated_at' => '2019-03-12 05:39:08',\n ),\n 197 => \n array (\n 'id' => 1198,\n 'name' => 'vocal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:10',\n 'updated_at' => '2019-03-12 05:39:10',\n ),\n 198 => \n array (\n 'id' => 1199,\n 'name' => 'younger',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:10',\n 'updated_at' => '2019-03-12 05:39:10',\n ),\n 199 => \n array (\n 'id' => 1200,\n 'name' => 'studying',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:11',\n 'updated_at' => '2019-03-12 05:39:11',\n ),\n 200 => \n array (\n 'id' => 1201,\n 'name' => 'craft',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:12',\n 'updated_at' => '2019-03-12 05:39:12',\n ),\n 201 => \n array (\n 'id' => 1202,\n 'name' => 'moving',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:12',\n 'updated_at' => '2019-03-12 05:39:12',\n ),\n 202 => \n array (\n 'id' => 1203,\n 'name' => 'walking',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:13',\n 'updated_at' => '2019-03-12 05:39:13',\n ),\n 203 => \n array (\n 'id' => 1204,\n 'name' => 'price',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:13',\n 'updated_at' => '2019-03-12 05:39:13',\n ),\n 204 => \n array (\n 'id' => 1205,\n 'name' => 'others',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:14',\n 'updated_at' => '2019-03-12 05:39:14',\n ),\n 205 => \n array (\n 'id' => 1206,\n 'name' => 'garbage',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:15',\n 'updated_at' => '2019-03-12 05:39:15',\n ),\n 206 => \n array (\n 'id' => 1207,\n 'name' => 'trigger',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:16',\n 'updated_at' => '2019-03-12 05:39:16',\n ),\n 207 => \n array (\n 'id' => 1208,\n 'name' => 'law',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:17',\n 'updated_at' => '2019-03-12 05:39:17',\n ),\n 208 => \n array (\n 'id' => 1209,\n 'name' => 'medicine',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:18',\n 'updated_at' => '2019-03-12 05:39:18',\n ),\n 209 => \n array (\n 'id' => 1210,\n 'name' => 'practicing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:18',\n 'updated_at' => '2019-03-12 05:39:18',\n ),\n 210 => \n array (\n 'id' => 1211,\n 'name' => 'service',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:20',\n 'updated_at' => '2019-03-12 05:39:20',\n ),\n 211 => \n array (\n 'id' => 1212,\n 'name' => 'brother',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:21',\n 'updated_at' => '2019-03-12 05:39:21',\n ),\n 212 => \n array (\n 'id' => 1213,\n 'name' => 'sea',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:22',\n 'updated_at' => '2019-03-12 05:39:22',\n ),\n 213 => \n array (\n 'id' => 1214,\n 'name' => 'strong',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:22',\n 'updated_at' => '2019-03-12 05:39:22',\n ),\n 214 => \n array (\n 'id' => 1215,\n 'name' => 'decision',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:23',\n 'updated_at' => '2019-03-12 05:39:23',\n ),\n 215 => \n array (\n 'id' => 1216,\n 'name' => 'red',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:24',\n 'updated_at' => '2019-03-12 05:39:24',\n ),\n 216 => \n array (\n 'id' => 1217,\n 'name' => 'cells',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:24',\n 'updated_at' => '2019-03-12 05:39:24',\n ),\n 217 => \n array (\n 'id' => 1218,\n 'name' => 'machinery',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:25',\n 'updated_at' => '2019-03-12 05:39:25',\n ),\n 218 => \n array (\n 'id' => 1219,\n 'name' => 'therefore',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:25',\n 'updated_at' => '2019-03-12 05:39:25',\n ),\n 219 => \n array (\n 'id' => 1220,\n 'name' => 'battles',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:26',\n 'updated_at' => '2019-03-12 05:39:26',\n ),\n 220 => \n array (\n 'id' => 1221,\n 'name' => 'size',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:27',\n 'updated_at' => '2019-03-12 05:39:27',\n ),\n 221 => \n array (\n 'id' => 1222,\n 'name' => 'competition',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:28',\n 'updated_at' => '2019-03-12 05:39:28',\n ),\n 222 => \n array (\n 'id' => 1223,\n 'name' => 'higher education',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:28',\n 'updated_at' => '2019-03-12 05:39:28',\n ),\n 223 => \n array (\n 'id' => 1224,\n 'name' => 'ship',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:31',\n 'updated_at' => '2019-03-12 05:39:31',\n ),\n 224 => \n array (\n 'id' => 1225,\n 'name' => 'navy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:31',\n 'updated_at' => '2019-03-12 05:39:31',\n ),\n 225 => \n array (\n 'id' => 1226,\n 'name' => 'physician',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:32',\n 'updated_at' => '2019-03-12 05:39:32',\n ),\n 226 => \n array (\n 'id' => 1227,\n 'name' => 'israel',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:32',\n 'updated_at' => '2019-03-12 05:39:32',\n ),\n 227 => \n array (\n 'id' => 1228,\n 'name' => 'human spirit',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:34',\n 'updated_at' => '2019-03-12 05:39:34',\n ),\n 228 => \n array (\n 'id' => 1229,\n 'name' => 'flow',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:35',\n 'updated_at' => '2019-03-12 05:39:35',\n ),\n 229 => \n array (\n 'id' => 1230,\n 'name' => 'incredible',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:35',\n 'updated_at' => '2019-03-12 05:39:35',\n ),\n 230 => \n array (\n 'id' => 1231,\n 'name' => 'inspiration',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:37',\n 'updated_at' => '2019-03-12 05:39:37',\n ),\n 231 => \n array (\n 'id' => 1232,\n 'name' => 'form',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:37',\n 'updated_at' => '2019-03-12 05:39:37',\n ),\n 232 => \n array (\n 'id' => 1233,\n 'name' => 'yes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:38',\n 'updated_at' => '2019-03-12 05:39:38',\n ),\n 233 => \n array (\n 'id' => 1234,\n 'name' => 'melody',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:40',\n 'updated_at' => '2019-03-12 05:39:40',\n ),\n 234 => \n array (\n 'id' => 1235,\n 'name' => 'merely',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:40',\n 'updated_at' => '2019-03-12 05:39:40',\n ),\n 235 => \n array (\n 'id' => 1236,\n 'name' => 'hum',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:40',\n 'updated_at' => '2019-03-12 05:39:40',\n ),\n 236 => \n array (\n 'id' => 1237,\n 'name' => 'connections',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:41',\n 'updated_at' => '2019-03-12 05:39:41',\n ),\n 237 => \n array (\n 'id' => 1238,\n 'name' => 'quantum',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:42',\n 'updated_at' => '2019-03-12 05:39:42',\n ),\n 238 => \n array (\n 'id' => 1239,\n 'name' => 'once',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:43',\n 'updated_at' => '2019-03-12 05:39:43',\n ),\n 239 => \n array (\n 'id' => 1240,\n 'name' => 'feedback',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:43',\n 'updated_at' => '2019-03-12 05:39:43',\n ),\n 240 => \n array (\n 'id' => 1241,\n 'name' => 'cares',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:44',\n 'updated_at' => '2019-03-12 05:39:44',\n ),\n 241 => \n array (\n 'id' => 1242,\n 'name' => 'detail',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:45',\n 'updated_at' => '2019-03-12 05:39:45',\n ),\n 242 => \n array (\n 'id' => 1243,\n 'name' => 'task',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:46',\n 'updated_at' => '2019-03-12 05:39:46',\n ),\n 243 => \n array (\n 'id' => 1244,\n 'name' => 'worlds',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:46',\n 'updated_at' => '2019-03-12 05:39:46',\n ),\n 244 => \n array (\n 'id' => 1245,\n 'name' => 'acts',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:47',\n 'updated_at' => '2019-03-12 05:39:47',\n ),\n 245 => \n array (\n 'id' => 1246,\n 'name' => 'jazz',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:49',\n 'updated_at' => '2019-03-12 05:39:49',\n ),\n 246 => \n array (\n 'id' => 1247,\n 'name' => 'complete',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:49',\n 'updated_at' => '2019-03-12 05:39:49',\n ),\n 247 => \n array (\n 'id' => 1248,\n 'name' => 'musicians',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:51',\n 'updated_at' => '2019-03-12 05:39:51',\n ),\n 248 => \n array (\n 'id' => 1249,\n 'name' => 'grandfather',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:51',\n 'updated_at' => '2019-03-12 05:39:51',\n ),\n 249 => \n array (\n 'id' => 1250,\n 'name' => 'hometown',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:51',\n 'updated_at' => '2019-03-12 05:39:51',\n ),\n 250 => \n array (\n 'id' => 1251,\n 'name' => 'african',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:53',\n 'updated_at' => '2019-03-12 05:39:53',\n ),\n 251 => \n array (\n 'id' => 1252,\n 'name' => 'speak',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:54',\n 'updated_at' => '2019-03-12 05:39:54',\n ),\n 252 => \n array (\n 'id' => 1253,\n 'name' => 'hurdles',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:55',\n 'updated_at' => '2019-03-12 05:39:55',\n ),\n 253 => \n array (\n 'id' => 1254,\n 'name' => 'possibilities',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:58',\n 'updated_at' => '2019-03-12 05:39:58',\n ),\n 254 => \n array (\n 'id' => 1255,\n 'name' => 'die',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:58',\n 'updated_at' => '2019-03-12 05:39:58',\n ),\n 255 => \n array (\n 'id' => 1256,\n 'name' => 'predictable',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:39:59',\n 'updated_at' => '2019-03-12 05:39:59',\n ),\n 256 => \n array (\n 'id' => 1257,\n 'name' => 'kid',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:05',\n 'updated_at' => '2019-03-12 05:40:05',\n ),\n 257 => \n array (\n 'id' => 1258,\n 'name' => 'fall',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:07',\n 'updated_at' => '2019-03-12 05:40:07',\n ),\n 258 => \n array (\n 'id' => 1259,\n 'name' => 'week',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:08',\n 'updated_at' => '2019-03-12 05:40:08',\n ),\n 259 => \n array (\n 'id' => 1260,\n 'name' => 'star',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:09',\n 'updated_at' => '2019-03-12 05:40:09',\n ),\n 260 => \n array (\n 'id' => 1261,\n 'name' => 'prison',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:09',\n 'updated_at' => '2019-03-12 05:40:09',\n ),\n 261 => \n array (\n 'id' => 1262,\n 'name' => 'police',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:12',\n 'updated_at' => '2019-03-12 05:40:12',\n ),\n 262 => \n array (\n 'id' => 1263,\n 'name' => 'spending time',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:14',\n 'updated_at' => '2019-03-12 05:40:14',\n ),\n 263 => \n array (\n 'id' => 1264,\n 'name' => 'cop',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:17',\n 'updated_at' => '2019-03-12 05:40:17',\n ),\n 264 => \n array (\n 'id' => 1265,\n 'name' => 'fbi',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:18',\n 'updated_at' => '2019-03-12 05:40:18',\n ),\n 265 => \n array (\n 'id' => 1266,\n 'name' => 'espionage',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:19',\n 'updated_at' => '2019-03-12 05:40:19',\n ),\n 266 => \n array (\n 'id' => 1267,\n 'name' => 'editing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:21',\n 'updated_at' => '2019-03-12 05:40:21',\n ),\n 267 => \n array (\n 'id' => 1268,\n 'name' => 'directors',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:22',\n 'updated_at' => '2019-03-12 05:40:22',\n ),\n 268 => \n array (\n 'id' => 1269,\n 'name' => 'takes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:24',\n 'updated_at' => '2019-03-12 05:40:24',\n ),\n 269 => \n array (\n 'id' => 1270,\n 'name' => 'streets',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:25',\n 'updated_at' => '2019-03-12 05:40:25',\n ),\n 270 => \n array (\n 'id' => 1271,\n 'name' => 'witnesses',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:25',\n 'updated_at' => '2019-03-12 05:40:25',\n ),\n 271 => \n array (\n 'id' => 1272,\n 'name' => 'although',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:27',\n 'updated_at' => '2019-03-12 05:40:27',\n ),\n 272 => \n array (\n 'id' => 1273,\n 'name' => 'romantic comedy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:28',\n 'updated_at' => '2019-03-12 05:40:28',\n ),\n 273 => \n array (\n 'id' => 1274,\n 'name' => 'yeah',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:29',\n 'updated_at' => '2019-03-12 05:40:29',\n ),\n 274 => \n array (\n 'id' => 1275,\n 'name' => 'dramas',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:30',\n 'updated_at' => '2019-03-12 05:40:30',\n ),\n 275 => \n array (\n 'id' => 1276,\n 'name' => 'happened',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:31',\n 'updated_at' => '2019-03-12 05:40:31',\n ),\n 276 => \n array (\n 'id' => 1277,\n 'name' => 'thank god',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:32',\n 'updated_at' => '2019-03-12 05:40:32',\n ),\n 277 => \n array (\n 'id' => 1278,\n 'name' => 'weakness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:34',\n 'updated_at' => '2019-03-12 05:40:34',\n ),\n 278 => \n array (\n 'id' => 1279,\n 'name' => 'gets',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:35',\n 'updated_at' => '2019-03-12 05:40:35',\n ),\n 279 => \n array (\n 'id' => 1280,\n 'name' => 'reasons',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:37',\n 'updated_at' => '2019-03-12 05:40:37',\n ),\n 280 => \n array (\n 'id' => 1281,\n 'name' => 'racial',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:39',\n 'updated_at' => '2019-03-12 05:40:39',\n ),\n 281 => \n array (\n 'id' => 1282,\n 'name' => 'goodness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:40',\n 'updated_at' => '2019-03-12 05:40:40',\n ),\n 282 => \n array (\n 'id' => 1283,\n 'name' => 'muffin',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:44',\n 'updated_at' => '2019-03-12 05:40:44',\n ),\n 283 => \n array (\n 'id' => 1284,\n 'name' => 'tired',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:46',\n 'updated_at' => '2019-03-12 05:40:46',\n ),\n 284 => \n array (\n 'id' => 1285,\n 'name' => 'wait',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:46',\n 'updated_at' => '2019-03-12 05:40:46',\n ),\n 285 => \n array (\n 'id' => 1286,\n 'name' => 'situation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:46',\n 'updated_at' => '2019-03-12 05:40:46',\n ),\n 286 => \n array (\n 'id' => 1287,\n 'name' => 'tracks',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:48',\n 'updated_at' => '2019-03-12 05:40:48',\n ),\n 287 => \n array (\n 'id' => 1288,\n 'name' => 'glasses',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:49',\n 'updated_at' => '2019-03-12 05:40:49',\n ),\n 288 => \n array (\n 'id' => 1289,\n 'name' => 'dirty',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:50',\n 'updated_at' => '2019-03-12 05:40:50',\n ),\n 289 => \n array (\n 'id' => 1290,\n 'name' => 'morals',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:51',\n 'updated_at' => '2019-03-12 05:40:51',\n ),\n 290 => \n array (\n 'id' => 1291,\n 'name' => 'wild',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:52',\n 'updated_at' => '2019-03-12 05:40:52',\n ),\n 291 => \n array (\n 'id' => 1292,\n 'name' => 'haste',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:52',\n 'updated_at' => '2019-03-12 05:40:52',\n ),\n 292 => \n array (\n 'id' => 1293,\n 'name' => 'lion',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:53',\n 'updated_at' => '2019-03-12 05:40:53',\n ),\n 293 => \n array (\n 'id' => 1294,\n 'name' => 'numbers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:53',\n 'updated_at' => '2019-03-12 05:40:53',\n ),\n 294 => \n array (\n 'id' => 1295,\n 'name' => 'none',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:54',\n 'updated_at' => '2019-03-12 05:40:54',\n ),\n 295 => \n array (\n 'id' => 1296,\n 'name' => 'gains',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:54',\n 'updated_at' => '2019-03-12 05:40:54',\n ),\n 296 => \n array (\n 'id' => 1297,\n 'name' => 'compelling',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:55',\n 'updated_at' => '2019-03-12 05:40:55',\n ),\n 297 => \n array (\n 'id' => 1298,\n 'name' => 'season',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:55',\n 'updated_at' => '2019-03-12 05:40:55',\n ),\n 298 => \n array (\n 'id' => 1299,\n 'name' => 'last',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:55',\n 'updated_at' => '2019-03-12 05:40:55',\n ),\n 299 => \n array (\n 'id' => 1300,\n 'name' => 'position',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:56',\n 'updated_at' => '2019-03-12 05:40:56',\n ),\n 300 => \n array (\n 'id' => 1301,\n 'name' => 'around',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:57',\n 'updated_at' => '2019-03-12 05:40:57',\n ),\n 301 => \n array (\n 'id' => 1302,\n 'name' => 'stare',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:40:58',\n 'updated_at' => '2019-03-12 05:40:58',\n ),\n 302 => \n array (\n 'id' => 1303,\n 'name' => 'mouth',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:00',\n 'updated_at' => '2019-03-12 05:41:00',\n ),\n 303 => \n array (\n 'id' => 1304,\n 'name' => 'petty',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:01',\n 'updated_at' => '2019-03-12 05:41:01',\n ),\n 304 => \n array (\n 'id' => 1305,\n 'name' => 'separated',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:01',\n 'updated_at' => '2019-03-12 05:41:01',\n ),\n 305 => \n array (\n 'id' => 1306,\n 'name' => 'abstract',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:02',\n 'updated_at' => '2019-03-12 05:41:02',\n ),\n 306 => \n array (\n 'id' => 1307,\n 'name' => 'somewhere',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:02',\n 'updated_at' => '2019-03-12 05:41:02',\n ),\n 307 => \n array (\n 'id' => 1308,\n 'name' => 'painter',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:02',\n 'updated_at' => '2019-03-12 05:41:02',\n ),\n 308 => \n array (\n 'id' => 1309,\n 'name' => 'shoes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:03',\n 'updated_at' => '2019-03-12 05:41:03',\n ),\n 309 => \n array (\n 'id' => 1310,\n 'name' => 'make a difference',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:05',\n 'updated_at' => '2019-03-12 05:41:05',\n ),\n 310 => \n array (\n 'id' => 1311,\n 'name' => 'every day',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:06',\n 'updated_at' => '2019-03-12 05:41:06',\n ),\n 311 => \n array (\n 'id' => 1312,\n 'name' => 'growing up',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:07',\n 'updated_at' => '2019-03-12 05:41:07',\n ),\n 312 => \n array (\n 'id' => 1313,\n 'name' => 'consistent',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:08',\n 'updated_at' => '2019-03-12 05:41:08',\n ),\n 313 => \n array (\n 'id' => 1314,\n 'name' => 'biggest',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:09',\n 'updated_at' => '2019-03-12 05:41:09',\n ),\n 314 => \n array (\n 'id' => 1315,\n 'name' => 'homework',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:10',\n 'updated_at' => '2019-03-12 05:41:10',\n ),\n 315 => \n array (\n 'id' => 1316,\n 'name' => 'swing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:10',\n 'updated_at' => '2019-03-12 05:41:10',\n ),\n 316 => \n array (\n 'id' => 1317,\n 'name' => 'balls',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:11',\n 'updated_at' => '2019-03-12 05:41:11',\n ),\n 317 => \n array (\n 'id' => 1318,\n 'name' => 'ball',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:11',\n 'updated_at' => '2019-03-12 05:41:11',\n ),\n 318 => \n array (\n 'id' => 1319,\n 'name' => 'i feel like',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:12',\n 'updated_at' => '2019-03-12 05:41:12',\n ),\n 319 => \n array (\n 'id' => 1320,\n 'name' => 'core',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:12',\n 'updated_at' => '2019-03-12 05:41:12',\n ),\n 320 => \n array (\n 'id' => 1321,\n 'name' => 'workout',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:12',\n 'updated_at' => '2019-03-12 05:41:12',\n ),\n 321 => \n array (\n 'id' => 1322,\n 'name' => 'room',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:15',\n 'updated_at' => '2019-03-12 05:41:15',\n ),\n 322 => \n array (\n 'id' => 1323,\n 'name' => 'good things',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:15',\n 'updated_at' => '2019-03-12 05:41:15',\n ),\n 323 => \n array (\n 'id' => 1324,\n 'name' => 'got',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:16',\n 'updated_at' => '2019-03-12 05:41:16',\n ),\n 324 => \n array (\n 'id' => 1325,\n 'name' => 'trenches',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:17',\n 'updated_at' => '2019-03-12 05:41:17',\n ),\n 325 => \n array (\n 'id' => 1326,\n 'name' => 'earn',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:18',\n 'updated_at' => '2019-03-12 05:41:18',\n ),\n 326 => \n array (\n 'id' => 1327,\n 'name' => 'contact',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:19',\n 'updated_at' => '2019-03-12 05:41:19',\n ),\n 327 => \n array (\n 'id' => 1328,\n 'name' => 'ups and downs',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:19',\n 'updated_at' => '2019-03-12 05:41:19',\n ),\n 328 => \n array (\n 'id' => 1329,\n 'name' => 'ups',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:20',\n 'updated_at' => '2019-03-12 05:41:20',\n ),\n 329 => \n array (\n 'id' => 1330,\n 'name' => 'teammates',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:21',\n 'updated_at' => '2019-03-12 05:41:21',\n ),\n 330 => \n array (\n 'id' => 1331,\n 'name' => 'center',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:23',\n 'updated_at' => '2019-03-12 05:41:23',\n ),\n 331 => \n array (\n 'id' => 1332,\n 'name' => 'middle',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:24',\n 'updated_at' => '2019-03-12 05:41:24',\n ),\n 332 => \n array (\n 'id' => 1333,\n 'name' => 'hit',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:25',\n 'updated_at' => '2019-03-12 05:41:25',\n ),\n 333 => \n array (\n 'id' => 1334,\n 'name' => 'cap',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:25',\n 'updated_at' => '2019-03-12 05:41:25',\n ),\n 334 => \n array (\n 'id' => 1335,\n 'name' => 'veteran',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:30',\n 'updated_at' => '2019-03-12 05:41:30',\n ),\n 335 => \n array (\n 'id' => 1336,\n 'name' => 'helped',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:30',\n 'updated_at' => '2019-03-12 05:41:30',\n ),\n 336 => \n array (\n 'id' => 1337,\n 'name' => 'leaders',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:30',\n 'updated_at' => '2019-03-12 05:41:30',\n ),\n 337 => \n array (\n 'id' => 1338,\n 'name' => 'training',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:31',\n 'updated_at' => '2019-03-12 05:41:31',\n ),\n 338 => \n array (\n 'id' => 1339,\n 'name' => 'spring',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:31',\n 'updated_at' => '2019-03-12 05:41:31',\n ),\n 339 => \n array (\n 'id' => 1340,\n 'name' => 'fighting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:32',\n 'updated_at' => '2019-03-12 05:41:32',\n ),\n 340 => \n array (\n 'id' => 1341,\n 'name' => 'mindset',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:33',\n 'updated_at' => '2019-03-12 05:41:33',\n ),\n 341 => \n array (\n 'id' => 1342,\n 'name' => 'bible',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:33',\n 'updated_at' => '2019-03-12 05:41:33',\n ),\n 342 => \n array (\n 'id' => 1343,\n 'name' => 'evolution',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:33',\n 'updated_at' => '2019-03-12 05:41:33',\n ),\n 343 => \n array (\n 'id' => 1344,\n 'name' => 'monkey',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:34',\n 'updated_at' => '2019-03-12 05:41:34',\n ),\n 344 => \n array (\n 'id' => 1345,\n 'name' => 'united states',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:34',\n 'updated_at' => '2019-03-12 05:41:34',\n ),\n 345 => \n array (\n 'id' => 1346,\n 'name' => 'funding',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:36',\n 'updated_at' => '2019-03-12 05:41:36',\n ),\n 346 => \n array (\n 'id' => 1347,\n 'name' => 'organization',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:37',\n 'updated_at' => '2019-03-12 05:41:37',\n ),\n 347 => \n array (\n 'id' => 1348,\n 'name' => 'plans',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:37',\n 'updated_at' => '2019-03-12 05:41:37',\n ),\n 348 => \n array (\n 'id' => 1349,\n 'name' => 'destruction',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:37',\n 'updated_at' => '2019-03-12 05:41:37',\n ),\n 349 => \n array (\n 'id' => 1350,\n 'name' => 'jewish',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:38',\n 'updated_at' => '2019-03-12 05:41:38',\n ),\n 350 => \n array (\n 'id' => 1351,\n 'name' => 'jews',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:38',\n 'updated_at' => '2019-03-12 05:41:38',\n ),\n 351 => \n array (\n 'id' => 1352,\n 'name' => 'official',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:39',\n 'updated_at' => '2019-03-12 05:41:39',\n ),\n 352 => \n array (\n 'id' => 1353,\n 'name' => 'orders',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:40',\n 'updated_at' => '2019-03-12 05:41:40',\n ),\n 353 => \n array (\n 'id' => 1354,\n 'name' => 'administration',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:40',\n 'updated_at' => '2019-03-12 05:41:40',\n ),\n 354 => \n array (\n 'id' => 1355,\n 'name' => 'illegal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:40',\n 'updated_at' => '2019-03-12 05:41:40',\n ),\n 355 => \n array (\n 'id' => 1356,\n 'name' => 'major',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:41',\n 'updated_at' => '2019-03-12 05:41:41',\n ),\n 356 => \n array (\n 'id' => 1357,\n 'name' => 'debate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:41',\n 'updated_at' => '2019-03-12 05:41:41',\n ),\n 357 => \n array (\n 'id' => 1358,\n 'name' => 'voting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:42',\n 'updated_at' => '2019-03-12 05:41:42',\n ),\n 358 => \n array (\n 'id' => 1359,\n 'name' => 'immigration',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:43',\n 'updated_at' => '2019-03-12 05:41:43',\n ),\n 359 => \n array (\n 'id' => 1360,\n 'name' => 'practice',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:43',\n 'updated_at' => '2019-03-12 05:41:43',\n ),\n 360 => \n array (\n 'id' => 1361,\n 'name' => 'islam',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:44',\n 'updated_at' => '2019-03-12 05:41:44',\n ),\n 361 => \n array (\n 'id' => 1362,\n 'name' => 'january',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:45',\n 'updated_at' => '2019-03-12 05:41:45',\n ),\n 362 => \n array (\n 'id' => 1363,\n 'name' => 'catholic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:45',\n 'updated_at' => '2019-03-12 05:41:45',\n ),\n 363 => \n array (\n 'id' => 1364,\n 'name' => 'roman',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:45',\n 'updated_at' => '2019-03-12 05:41:45',\n ),\n 364 => \n array (\n 'id' => 1365,\n 'name' => 'accept',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:46',\n 'updated_at' => '2019-03-12 05:41:46',\n ),\n 365 => \n array (\n 'id' => 1366,\n 'name' => 'unexpected',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:47',\n 'updated_at' => '2019-03-12 05:41:47',\n ),\n 366 => \n array (\n 'id' => 1367,\n 'name' => 'results',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:49',\n 'updated_at' => '2019-03-12 05:41:49',\n ),\n 367 => \n array (\n 'id' => 1368,\n 'name' => 'field',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:49',\n 'updated_at' => '2019-03-12 05:41:49',\n ),\n 368 => \n array (\n 'id' => 1369,\n 'name' => 'toes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:50',\n 'updated_at' => '2019-03-12 05:41:50',\n ),\n 369 => \n array (\n 'id' => 1370,\n 'name' => 'keeps',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:51',\n 'updated_at' => '2019-03-12 05:41:51',\n ),\n 370 => \n array (\n 'id' => 1371,\n 'name' => 'born',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:51',\n 'updated_at' => '2019-03-12 05:41:51',\n ),\n 371 => \n array (\n 'id' => 1372,\n 'name' => 'turn',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:52',\n 'updated_at' => '2019-03-12 05:41:52',\n ),\n 372 => \n array (\n 'id' => 1373,\n 'name' => 'soon',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:52',\n 'updated_at' => '2019-03-12 05:41:52',\n ),\n 373 => \n array (\n 'id' => 1374,\n 'name' => 'geography',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:53',\n 'updated_at' => '2019-03-12 05:41:53',\n ),\n 374 => \n array (\n 'id' => 1375,\n 'name' => 'colonies',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:54',\n 'updated_at' => '2019-03-12 05:41:54',\n ),\n 375 => \n array (\n 'id' => 1376,\n 'name' => 'curves',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:54',\n 'updated_at' => '2019-03-12 05:41:54',\n ),\n 376 => \n array (\n 'id' => 1377,\n 'name' => 'oxygen',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:55',\n 'updated_at' => '2019-03-12 05:41:55',\n ),\n 377 => \n array (\n 'id' => 1378,\n 'name' => 'carbon',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:55',\n 'updated_at' => '2019-03-12 05:41:55',\n ),\n 378 => \n array (\n 'id' => 1379,\n 'name' => 'x-ray',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:56',\n 'updated_at' => '2019-03-12 05:41:56',\n ),\n 379 => \n array (\n 'id' => 1380,\n 'name' => 'students',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:57',\n 'updated_at' => '2019-03-12 05:41:57',\n ),\n 380 => \n array (\n 'id' => 1381,\n 'name' => 'pressure',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:58',\n 'updated_at' => '2019-03-12 05:41:58',\n ),\n 381 => \n array (\n 'id' => 1382,\n 'name' => 'quick',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:58',\n 'updated_at' => '2019-03-12 05:41:58',\n ),\n 382 => \n array (\n 'id' => 1383,\n 'name' => 'elephant',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:58',\n 'updated_at' => '2019-03-12 05:41:58',\n ),\n 383 => \n array (\n 'id' => 1384,\n 'name' => 'bike',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:59',\n 'updated_at' => '2019-03-12 05:41:59',\n ),\n 384 => \n array (\n 'id' => 1385,\n 'name' => 'ride',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:41:59',\n 'updated_at' => '2019-03-12 05:41:59',\n ),\n 385 => \n array (\n 'id' => 1386,\n 'name' => 'moderation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:00',\n 'updated_at' => '2019-03-12 05:42:00',\n ),\n 386 => \n array (\n 'id' => 1387,\n 'name' => 'data',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:00',\n 'updated_at' => '2019-03-12 05:42:00',\n ),\n 387 => \n array (\n 'id' => 1388,\n 'name' => 'pie',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:01',\n 'updated_at' => '2019-03-12 05:42:01',\n ),\n 388 => \n array (\n 'id' => 1389,\n 'name' => 'missing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:01',\n 'updated_at' => '2019-03-12 05:42:01',\n ),\n 389 => \n array (\n 'id' => 1390,\n 'name' => 'tools',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:02',\n 'updated_at' => '2019-03-12 05:42:02',\n ),\n 390 => \n array (\n 'id' => 1391,\n 'name' => 'santa',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:06',\n 'updated_at' => '2019-03-12 05:42:06',\n ),\n 391 => \n array (\n 'id' => 1392,\n 'name' => 'vacation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:06',\n 'updated_at' => '2019-03-12 05:42:06',\n ),\n 392 => \n array (\n 'id' => 1393,\n 'name' => 'summer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:06',\n 'updated_at' => '2019-03-12 05:42:06',\n ),\n 393 => \n array (\n 'id' => 1394,\n 'name' => 'hippie',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:07',\n 'updated_at' => '2019-03-12 05:42:07',\n ),\n 394 => \n array (\n 'id' => 1395,\n 'name' => 'truth is',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:08',\n 'updated_at' => '2019-03-12 05:42:08',\n ),\n 395 => \n array (\n 'id' => 1396,\n 'name' => 'innovation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:08',\n 'updated_at' => '2019-03-12 05:42:08',\n ),\n 396 => \n array (\n 'id' => 1397,\n 'name' => 'animation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:08',\n 'updated_at' => '2019-03-12 05:42:08',\n ),\n 397 => \n array (\n 'id' => 1398,\n 'name' => 'numb',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:09',\n 'updated_at' => '2019-03-12 05:42:09',\n ),\n 398 => \n array (\n 'id' => 1399,\n 'name' => 'chart',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:10',\n 'updated_at' => '2019-03-12 05:42:10',\n ),\n 399 => \n array (\n 'id' => 1400,\n 'name' => 'focused',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:12',\n 'updated_at' => '2019-03-12 05:42:12',\n ),\n 400 => \n array (\n 'id' => 1401,\n 'name' => 'digital',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:13',\n 'updated_at' => '2019-03-12 05:42:13',\n ),\n 401 => \n array (\n 'id' => 1402,\n 'name' => 'growing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:14',\n 'updated_at' => '2019-03-12 05:42:14',\n ),\n 402 => \n array (\n 'id' => 1403,\n 'name' => 'progress',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:14',\n 'updated_at' => '2019-03-12 05:42:14',\n ),\n 403 => \n array (\n 'id' => 1404,\n 'name' => 'disaster',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:15',\n 'updated_at' => '2019-03-12 05:42:15',\n ),\n 404 => \n array (\n 'id' => 1405,\n 'name' => 'creation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:16',\n 'updated_at' => '2019-03-12 05:42:16',\n ),\n 405 => \n array (\n 'id' => 1406,\n 'name' => 'insight',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:16',\n 'updated_at' => '2019-03-12 05:42:16',\n ),\n 406 => \n array (\n 'id' => 1407,\n 'name' => 'learn',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:18',\n 'updated_at' => '2019-03-12 05:42:18',\n ),\n 407 => \n array (\n 'id' => 1408,\n 'name' => 'bigger',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:19',\n 'updated_at' => '2019-03-12 05:42:19',\n ),\n 408 => \n array (\n 'id' => 1409,\n 'name' => 'behind',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:19',\n 'updated_at' => '2019-03-12 05:42:19',\n ),\n 409 => \n array (\n 'id' => 1410,\n 'name' => 'reflect',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:20',\n 'updated_at' => '2019-03-12 05:42:20',\n ),\n 410 => \n array (\n 'id' => 1411,\n 'name' => 'robot',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:21',\n 'updated_at' => '2019-03-12 05:42:21',\n ),\n 411 => \n array (\n 'id' => 1412,\n 'name' => 'inspired',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:22',\n 'updated_at' => '2019-03-12 05:42:22',\n ),\n 412 => \n array (\n 'id' => 1413,\n 'name' => 'colors',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:22',\n 'updated_at' => '2019-03-12 05:42:22',\n ),\n 413 => \n array (\n 'id' => 1414,\n 'name' => 'carousel',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:24',\n 'updated_at' => '2019-03-12 05:42:24',\n ),\n 414 => \n array (\n 'id' => 1415,\n 'name' => 'production',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:24',\n 'updated_at' => '2019-03-12 05:42:24',\n ),\n 415 => \n array (\n 'id' => 1416,\n 'name' => 'empathy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:26',\n 'updated_at' => '2019-03-12 05:42:26',\n ),\n 416 => \n array (\n 'id' => 1417,\n 'name' => 'grandparents',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:27',\n 'updated_at' => '2019-03-12 05:42:27',\n ),\n 417 => \n array (\n 'id' => 1418,\n 'name' => 'seniors',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:29',\n 'updated_at' => '2019-03-12 05:42:29',\n ),\n 418 => \n array (\n 'id' => 1419,\n 'name' => 'interested',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:30',\n 'updated_at' => '2019-03-12 05:42:30',\n ),\n 419 => \n array (\n 'id' => 1420,\n 'name' => 'balance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:32',\n 'updated_at' => '2019-03-12 05:42:32',\n ),\n 420 => \n array (\n 'id' => 1421,\n 'name' => 'song',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:32',\n 'updated_at' => '2019-03-12 05:42:32',\n ),\n 421 => \n array (\n 'id' => 1422,\n 'name' => 'king',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:33',\n 'updated_at' => '2019-03-12 05:42:33',\n ),\n 422 => \n array (\n 'id' => 1423,\n 'name' => 'child',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:34',\n 'updated_at' => '2019-03-12 05:42:34',\n ),\n 423 => \n array (\n 'id' => 1424,\n 'name' => 'circle',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:34',\n 'updated_at' => '2019-03-12 05:42:34',\n ),\n 424 => \n array (\n 'id' => 1425,\n 'name' => 'months',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:36',\n 'updated_at' => '2019-03-12 05:42:36',\n ),\n 425 => \n array (\n 'id' => 1426,\n 'name' => 'garden',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:38',\n 'updated_at' => '2019-03-12 05:42:38',\n ),\n 426 => \n array (\n 'id' => 1427,\n 'name' => 'secret',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:39',\n 'updated_at' => '2019-03-12 05:42:39',\n ),\n 427 => \n array (\n 'id' => 1428,\n 'name' => 'genius',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:40',\n 'updated_at' => '2019-03-12 05:42:40',\n ),\n 428 => \n array (\n 'id' => 1429,\n 'name' => 'broadway',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:41',\n 'updated_at' => '2019-03-12 05:42:41',\n ),\n 429 => \n array (\n 'id' => 1430,\n 'name' => 'opera',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:41',\n 'updated_at' => '2019-03-12 05:42:41',\n ),\n 430 => \n array (\n 'id' => 1431,\n 'name' => 'show',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:42',\n 'updated_at' => '2019-03-12 05:42:42',\n ),\n 431 => \n array (\n 'id' => 1432,\n 'name' => 'leading',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:43',\n 'updated_at' => '2019-03-12 05:42:43',\n ),\n 432 => \n array (\n 'id' => 1433,\n 'name' => 'sister',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:46',\n 'updated_at' => '2019-03-12 05:42:46',\n ),\n 433 => \n array (\n 'id' => 1434,\n 'name' => 'vocabulary',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:46',\n 'updated_at' => '2019-03-12 05:42:46',\n ),\n 434 => \n array (\n 'id' => 1435,\n 'name' => 'eighth grade',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:47',\n 'updated_at' => '2019-03-12 05:42:47',\n ),\n 435 => \n array (\n 'id' => 1436,\n 'name' => 'meetings',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:49',\n 'updated_at' => '2019-03-12 05:42:49',\n ),\n 436 => \n array (\n 'id' => 1437,\n 'name' => 'fast',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:50',\n 'updated_at' => '2019-03-12 05:42:50',\n ),\n 437 => \n array (\n 'id' => 1438,\n 'name' => 'loud',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:50',\n 'updated_at' => '2019-03-12 05:42:50',\n ),\n 438 => \n array (\n 'id' => 1439,\n 'name' => 'faults',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:50',\n 'updated_at' => '2019-03-12 05:42:50',\n ),\n 439 => \n array (\n 'id' => 1440,\n 'name' => 'cup',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:52',\n 'updated_at' => '2019-03-12 05:42:52',\n ),\n 440 => \n array (\n 'id' => 1441,\n 'name' => 'curious',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:52',\n 'updated_at' => '2019-03-12 05:42:52',\n ),\n 441 => \n array (\n 'id' => 1442,\n 'name' => 'breakfast',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:53',\n 'updated_at' => '2019-03-12 05:42:53',\n ),\n 442 => \n array (\n 'id' => 1443,\n 'name' => 'weekend',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:54',\n 'updated_at' => '2019-03-12 05:42:54',\n ),\n 443 => \n array (\n 'id' => 1444,\n 'name' => 'cloud',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:55',\n 'updated_at' => '2019-03-12 05:42:55',\n ),\n 444 => \n array (\n 'id' => 1445,\n 'name' => 'problems',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:57',\n 'updated_at' => '2019-03-12 05:42:57',\n ),\n 445 => \n array (\n 'id' => 1446,\n 'name' => 'email',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:58',\n 'updated_at' => '2019-03-12 05:42:58',\n ),\n 446 => \n array (\n 'id' => 1447,\n 'name' => 'standards',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:42:58',\n 'updated_at' => '2019-03-12 05:42:58',\n ),\n 447 => \n array (\n 'id' => 1448,\n 'name' => 'difficult',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:04',\n 'updated_at' => '2019-03-12 05:43:04',\n ),\n 448 => \n array (\n 'id' => 1449,\n 'name' => 'steve jobs',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:06',\n 'updated_at' => '2019-03-12 05:43:06',\n ),\n 449 => \n array (\n 'id' => 1450,\n 'name' => 'jobs',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:06',\n 'updated_at' => '2019-03-12 05:43:06',\n ),\n 450 => \n array (\n 'id' => 1451,\n 'name' => 'steve',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:07',\n 'updated_at' => '2019-03-12 05:43:07',\n ),\n 451 => \n array (\n 'id' => 1452,\n 'name' => 'quality',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:09',\n 'updated_at' => '2019-03-12 05:43:09',\n ),\n 452 => \n array (\n 'id' => 1453,\n 'name' => 'caring',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:09',\n 'updated_at' => '2019-03-12 05:43:09',\n ),\n 453 => \n array (\n 'id' => 1454,\n 'name' => 'adversity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:10',\n 'updated_at' => '2019-03-12 05:43:10',\n ),\n 454 => \n array (\n 'id' => 1455,\n 'name' => 'pride',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:11',\n 'updated_at' => '2019-03-12 05:43:11',\n ),\n 455 => \n array (\n 'id' => 1456,\n 'name' => 'boat',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:11',\n 'updated_at' => '2019-03-12 05:43:11',\n ),\n 456 => \n array (\n 'id' => 1457,\n 'name' => 'unfortunate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:12',\n 'updated_at' => '2019-03-12 05:43:12',\n ),\n 457 => \n array (\n 'id' => 1458,\n 'name' => 'biologically',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:12',\n 'updated_at' => '2019-03-12 05:43:12',\n ),\n 458 => \n array (\n 'id' => 1459,\n 'name' => 'scary',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:13',\n 'updated_at' => '2019-03-12 05:43:13',\n ),\n 459 => \n array (\n 'id' => 1460,\n 'name' => 'moron',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:13',\n 'updated_at' => '2019-03-12 05:43:13',\n ),\n 460 => \n array (\n 'id' => 1461,\n 'name' => 'late',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:15',\n 'updated_at' => '2019-03-12 05:43:15',\n ),\n 461 => \n array (\n 'id' => 1462,\n 'name' => 'deadlines',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:16',\n 'updated_at' => '2019-03-12 05:43:16',\n ),\n 462 => \n array (\n 'id' => 1463,\n 'name' => 'closer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:16',\n 'updated_at' => '2019-03-12 05:43:16',\n ),\n 463 => \n array (\n 'id' => 1464,\n 'name' => 'military',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:18',\n 'updated_at' => '2019-03-12 05:43:18',\n ),\n 464 => \n array (\n 'id' => 1465,\n 'name' => 'planning',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:19',\n 'updated_at' => '2019-03-12 05:43:19',\n ),\n 465 => \n array (\n 'id' => 1466,\n 'name' => 'cuba',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:19',\n 'updated_at' => '2019-03-12 05:43:19',\n ),\n 466 => \n array (\n 'id' => 1467,\n 'name' => 'soil',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:20',\n 'updated_at' => '2019-03-12 05:43:20',\n ),\n 467 => \n array (\n 'id' => 1468,\n 'name' => 'democrat',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:21',\n 'updated_at' => '2019-03-12 05:43:21',\n ),\n 468 => \n array (\n 'id' => 1469,\n 'name' => 'democratic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:22',\n 'updated_at' => '2019-03-12 05:43:22',\n ),\n 469 => \n array (\n 'id' => 1470,\n 'name' => 'flags',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:23',\n 'updated_at' => '2019-03-12 05:43:23',\n ),\n 470 => \n array (\n 'id' => 1471,\n 'name' => 'patriotic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:23',\n 'updated_at' => '2019-03-12 05:43:23',\n ),\n 471 => \n array (\n 'id' => 1472,\n 'name' => 'gun',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:24',\n 'updated_at' => '2019-03-12 05:43:24',\n ),\n 472 => \n array (\n 'id' => 1473,\n 'name' => 'terrorism',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:25',\n 'updated_at' => '2019-03-12 05:43:25',\n ),\n 473 => \n array (\n 'id' => 1474,\n 'name' => 'worthless',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:26',\n 'updated_at' => '2019-03-12 05:43:26',\n ),\n 474 => \n array (\n 'id' => 1475,\n 'name' => 'essentially',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:26',\n 'updated_at' => '2019-03-12 05:43:26',\n ),\n 475 => \n array (\n 'id' => 1476,\n 'name' => 'masses',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:27',\n 'updated_at' => '2019-03-12 05:43:27',\n ),\n 476 => \n array (\n 'id' => 1477,\n 'name' => 'unspoken',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:28',\n 'updated_at' => '2019-03-12 05:43:28',\n ),\n 477 => \n array (\n 'id' => 1478,\n 'name' => 'flower',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:28',\n 'updated_at' => '2019-03-12 05:43:28',\n ),\n 478 => \n array (\n 'id' => 1479,\n 'name' => 'weed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:29',\n 'updated_at' => '2019-03-12 05:43:29',\n ),\n 479 => \n array (\n 'id' => 1480,\n 'name' => 'honest',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:29',\n 'updated_at' => '2019-03-12 05:43:29',\n ),\n 480 => \n array (\n 'id' => 1481,\n 'name' => 'wake up',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:30',\n 'updated_at' => '2019-03-12 05:43:30',\n ),\n 481 => \n array (\n 'id' => 1482,\n 'name' => 'boots',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:31',\n 'updated_at' => '2019-03-12 05:43:31',\n ),\n 482 => \n array (\n 'id' => 1483,\n 'name' => 'judge me',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:32',\n 'updated_at' => '2019-03-12 05:43:32',\n ),\n 483 => \n array (\n 'id' => 1484,\n 'name' => 'prayer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:33',\n 'updated_at' => '2019-03-12 05:43:33',\n ),\n 484 => \n array (\n 'id' => 1485,\n 'name' => 'sand',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:33',\n 'updated_at' => '2019-03-12 05:43:33',\n ),\n 485 => \n array (\n 'id' => 1486,\n 'name' => 'williams',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:35',\n 'updated_at' => '2019-03-12 05:43:35',\n ),\n 486 => \n array (\n 'id' => 1487,\n 'name' => 'fix',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:36',\n 'updated_at' => '2019-03-12 05:43:36',\n ),\n 487 => \n array (\n 'id' => 1488,\n 'name' => 'weather',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:40',\n 'updated_at' => '2019-03-12 05:43:40',\n ),\n 488 => \n array (\n 'id' => 1489,\n 'name' => 'cold',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:40',\n 'updated_at' => '2019-03-12 05:43:40',\n ),\n 489 => \n array (\n 'id' => 1490,\n 'name' => 'heritage',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:41',\n 'updated_at' => '2019-03-12 05:43:41',\n ),\n 490 => \n array (\n 'id' => 1491,\n 'name' => 'informed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:42',\n 'updated_at' => '2019-03-12 05:43:42',\n ),\n 491 => \n array (\n 'id' => 1492,\n 'name' => 'gospel',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:43',\n 'updated_at' => '2019-03-12 05:43:43',\n ),\n 492 => \n array (\n 'id' => 1493,\n 'name' => 'personally',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:43',\n 'updated_at' => '2019-03-12 05:43:43',\n ),\n 493 => \n array (\n 'id' => 1494,\n 'name' => 'buried',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:44',\n 'updated_at' => '2019-03-12 05:43:44',\n ),\n 494 => \n array (\n 'id' => 1495,\n 'name' => 'worry',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:45',\n 'updated_at' => '2019-03-12 05:43:45',\n ),\n 495 => \n array (\n 'id' => 1496,\n 'name' => 'guitar',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:46',\n 'updated_at' => '2019-03-12 05:43:46',\n ),\n 496 => \n array (\n 'id' => 1497,\n 'name' => 'drummer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:46',\n 'updated_at' => '2019-03-12 05:43:46',\n ),\n 497 => \n array (\n 'id' => 1498,\n 'name' => 'liked',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:48',\n 'updated_at' => '2019-03-12 05:43:48',\n ),\n 498 => \n array (\n 'id' => 1499,\n 'name' => 'mickey mouse',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:49',\n 'updated_at' => '2019-03-12 05:43:49',\n ),\n 499 => \n array (\n 'id' => 1500,\n 'name' => 'mouse',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:50',\n 'updated_at' => '2019-03-12 05:43:50',\n ),\n ));\n \\DB::table('tags')->insert(array (\n 0 => \n array (\n 'id' => 1501,\n 'name' => 'iphone',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:50',\n 'updated_at' => '2019-03-12 05:43:50',\n ),\n 1 => \n array (\n 'id' => 1502,\n 'name' => 'i write',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:51',\n 'updated_at' => '2019-03-12 05:43:51',\n ),\n 2 => \n array (\n 'id' => 1503,\n 'name' => 'new orleans',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:53',\n 'updated_at' => '2019-03-12 05:43:53',\n ),\n 3 => \n array (\n 'id' => 1504,\n 'name' => 'sound',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:56',\n 'updated_at' => '2019-03-12 05:43:56',\n ),\n 4 => \n array (\n 'id' => 1505,\n 'name' => 'blues',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:58',\n 'updated_at' => '2019-03-12 05:43:58',\n ),\n 5 => \n array (\n 'id' => 1506,\n 'name' => 'hero',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:43:59',\n 'updated_at' => '2019-03-12 05:43:59',\n ),\n 6 => \n array (\n 'id' => 1507,\n 'name' => 'credit',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:02',\n 'updated_at' => '2019-03-12 05:44:02',\n ),\n 7 => \n array (\n 'id' => 1508,\n 'name' => 'country',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:04',\n 'updated_at' => '2019-03-12 05:44:04',\n ),\n 8 => \n array (\n 'id' => 1509,\n 'name' => 'employee',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:04',\n 'updated_at' => '2019-03-12 05:44:04',\n ),\n 9 => \n array (\n 'id' => 1510,\n 'name' => 'entrepreneur',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:05',\n 'updated_at' => '2019-03-12 05:44:05',\n ),\n 10 => \n array (\n 'id' => 1511,\n 'name' => 'credit card',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:09',\n 'updated_at' => '2019-03-12 05:44:09',\n ),\n 11 => \n array (\n 'id' => 1512,\n 'name' => 'water',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:09',\n 'updated_at' => '2019-03-12 05:44:09',\n ),\n 12 => \n array (\n 'id' => 1513,\n 'name' => 'alcohol',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:11',\n 'updated_at' => '2019-03-12 05:44:11',\n ),\n 13 => \n array (\n 'id' => 1514,\n 'name' => 'healthcare',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:13',\n 'updated_at' => '2019-03-12 05:44:13',\n ),\n 14 => \n array (\n 'id' => 1515,\n 'name' => 'sharing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:14',\n 'updated_at' => '2019-03-12 05:44:14',\n ),\n 15 => \n array (\n 'id' => 1516,\n 'name' => 'mint',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:18',\n 'updated_at' => '2019-03-12 05:44:18',\n ),\n 16 => \n array (\n 'id' => 1517,\n 'name' => 'connection',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:19',\n 'updated_at' => '2019-03-12 05:44:19',\n ),\n 17 => \n array (\n 'id' => 1518,\n 'name' => 'dinner',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:24',\n 'updated_at' => '2019-03-12 05:44:24',\n ),\n 18 => \n array (\n 'id' => 1519,\n 'name' => 'chill',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:25',\n 'updated_at' => '2019-03-12 05:44:25',\n ),\n 19 => \n array (\n 'id' => 1520,\n 'name' => 'canvas',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:29',\n 'updated_at' => '2019-03-12 05:44:29',\n ),\n 20 => \n array (\n 'id' => 1521,\n 'name' => 'side',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:29',\n 'updated_at' => '2019-03-12 05:44:29',\n ),\n 21 => \n array (\n 'id' => 1522,\n 'name' => 'knew',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:30',\n 'updated_at' => '2019-03-12 05:44:30',\n ),\n 22 => \n array (\n 'id' => 1523,\n 'name' => 'indie',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:30',\n 'updated_at' => '2019-03-12 05:44:30',\n ),\n 23 => \n array (\n 'id' => 1524,\n 'name' => 'tend',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:30',\n 'updated_at' => '2019-03-12 05:44:30',\n ),\n 24 => \n array (\n 'id' => 1525,\n 'name' => 'disneyland',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:31',\n 'updated_at' => '2019-03-12 05:44:31',\n ),\n 25 => \n array (\n 'id' => 1526,\n 'name' => 'lived',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:31',\n 'updated_at' => '2019-03-12 05:44:31',\n ),\n 26 => \n array (\n 'id' => 1527,\n 'name' => 'town',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:32',\n 'updated_at' => '2019-03-12 05:44:32',\n ),\n 27 => \n array (\n 'id' => 1528,\n 'name' => 'musicals',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:32',\n 'updated_at' => '2019-03-12 05:44:32',\n ),\n 28 => \n array (\n 'id' => 1529,\n 'name' => 'snowboarding',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:33',\n 'updated_at' => '2019-03-12 05:44:33',\n ),\n 29 => \n array (\n 'id' => 1530,\n 'name' => 'longevity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:35',\n 'updated_at' => '2019-03-12 05:44:35',\n ),\n 30 => \n array (\n 'id' => 1531,\n 'name' => 'nephews',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:35',\n 'updated_at' => '2019-03-12 05:44:35',\n ),\n 31 => \n array (\n 'id' => 1532,\n 'name' => 'nieces',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:36',\n 'updated_at' => '2019-03-12 05:44:36',\n ),\n 32 => \n array (\n 'id' => 1533,\n 'name' => 'bills',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:38',\n 'updated_at' => '2019-03-12 05:44:38',\n ),\n 33 => \n array (\n 'id' => 1534,\n 'name' => 'small town',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:40',\n 'updated_at' => '2019-03-12 05:44:40',\n ),\n 34 => \n array (\n 'id' => 1535,\n 'name' => 'cherish',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:45',\n 'updated_at' => '2019-03-12 05:44:45',\n ),\n 35 => \n array (\n 'id' => 1536,\n 'name' => 'protect',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:45',\n 'updated_at' => '2019-03-12 05:44:45',\n ),\n 36 => \n array (\n 'id' => 1537,\n 'name' => 'character actor',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:46',\n 'updated_at' => '2019-03-12 05:44:46',\n ),\n 37 => \n array (\n 'id' => 1538,\n 'name' => 'odd',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:46',\n 'updated_at' => '2019-03-12 05:44:46',\n ),\n 38 => \n array (\n 'id' => 1539,\n 'name' => 'roles',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:47',\n 'updated_at' => '2019-03-12 05:44:47',\n ),\n 39 => \n array (\n 'id' => 1540,\n 'name' => 'leading man',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:48',\n 'updated_at' => '2019-03-12 05:44:48',\n ),\n 40 => \n array (\n 'id' => 1541,\n 'name' => 'ocean',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:49',\n 'updated_at' => '2019-03-12 05:44:49',\n ),\n 41 => \n array (\n 'id' => 1542,\n 'name' => 'fish',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:49',\n 'updated_at' => '2019-03-12 05:44:49',\n ),\n 42 => \n array (\n 'id' => 1543,\n 'name' => 'pollution',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:50',\n 'updated_at' => '2019-03-12 05:44:50',\n ),\n 43 => \n array (\n 'id' => 1544,\n 'name' => 'strange',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:50',\n 'updated_at' => '2019-03-12 05:44:50',\n ),\n 44 => \n array (\n 'id' => 1545,\n 'name' => 'still',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:51',\n 'updated_at' => '2019-03-12 05:44:51',\n ),\n 45 => \n array (\n 'id' => 1546,\n 'name' => 'swimming',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:52',\n 'updated_at' => '2019-03-12 05:44:52',\n ),\n 46 => \n array (\n 'id' => 1547,\n 'name' => 'swim',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:55',\n 'updated_at' => '2019-03-12 05:44:55',\n ),\n 47 => \n array (\n 'id' => 1548,\n 'name' => 'mirror',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:57',\n 'updated_at' => '2019-03-12 05:44:57',\n ),\n 48 => \n array (\n 'id' => 1549,\n 'name' => 'reflection',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:57',\n 'updated_at' => '2019-03-12 05:44:57',\n ),\n 49 => \n array (\n 'id' => 1550,\n 'name' => 'confidence',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:58',\n 'updated_at' => '2019-03-12 05:44:58',\n ),\n 50 => \n array (\n 'id' => 1551,\n 'name' => 'preparation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:44:59',\n 'updated_at' => '2019-03-12 05:44:59',\n ),\n 51 => \n array (\n 'id' => 1552,\n 'name' => 'ridiculous',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:00',\n 'updated_at' => '2019-03-12 05:45:00',\n ),\n 52 => \n array (\n 'id' => 1553,\n 'name' => 'ncaa',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:00',\n 'updated_at' => '2019-03-12 05:45:00',\n ),\n 53 => \n array (\n 'id' => 1554,\n 'name' => 'relax',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:01',\n 'updated_at' => '2019-03-12 05:45:01',\n ),\n 54 => \n array (\n 'id' => 1555,\n 'name' => 'reputation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:02',\n 'updated_at' => '2019-03-12 05:45:02',\n ),\n 55 => \n array (\n 'id' => 1556,\n 'name' => 'deal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:05',\n 'updated_at' => '2019-03-12 05:45:05',\n ),\n 56 => \n array (\n 'id' => 1557,\n 'name' => 'bill of rights',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:07',\n 'updated_at' => '2019-03-12 05:45:07',\n ),\n 57 => \n array (\n 'id' => 1558,\n 'name' => 'flag',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:09',\n 'updated_at' => '2019-03-12 05:45:09',\n ),\n 58 => \n array (\n 'id' => 1559,\n 'name' => 'single',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:10',\n 'updated_at' => '2019-03-12 05:45:10',\n ),\n 59 => \n array (\n 'id' => 1560,\n 'name' => 'fulfilling',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:10',\n 'updated_at' => '2019-03-12 05:45:10',\n ),\n 60 => \n array (\n 'id' => 1561,\n 'name' => 'camera',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:21',\n 'updated_at' => '2019-03-12 05:45:21',\n ),\n 61 => \n array (\n 'id' => 1562,\n 'name' => 'personal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:24',\n 'updated_at' => '2019-03-12 05:45:24',\n ),\n 62 => \n array (\n 'id' => 1563,\n 'name' => 'director',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:26',\n 'updated_at' => '2019-03-12 05:45:26',\n ),\n 63 => \n array (\n 'id' => 1564,\n 'name' => 'successful',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:27',\n 'updated_at' => '2019-03-12 05:45:27',\n ),\n 64 => \n array (\n 'id' => 1565,\n 'name' => 'tone',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:27',\n 'updated_at' => '2019-03-12 05:45:27',\n ),\n 65 => \n array (\n 'id' => 1566,\n 'name' => 'goofy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:29',\n 'updated_at' => '2019-03-12 05:45:29',\n ),\n 66 => \n array (\n 'id' => 1567,\n 'name' => 'cook',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:30',\n 'updated_at' => '2019-03-12 05:45:30',\n ),\n 67 => \n array (\n 'id' => 1568,\n 'name' => 'chef',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:31',\n 'updated_at' => '2019-03-12 05:45:31',\n ),\n 68 => \n array (\n 'id' => 1569,\n 'name' => 'mexican',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:35',\n 'updated_at' => '2019-03-12 05:45:35',\n ),\n 69 => \n array (\n 'id' => 1570,\n 'name' => 'latino',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:37',\n 'updated_at' => '2019-03-12 05:45:37',\n ),\n 70 => \n array (\n 'id' => 1571,\n 'name' => 'grandmother',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:38',\n 'updated_at' => '2019-03-12 05:45:38',\n ),\n 71 => \n array (\n 'id' => 1572,\n 'name' => 'retire',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:42',\n 'updated_at' => '2019-03-12 05:45:42',\n ),\n 72 => \n array (\n 'id' => 1573,\n 'name' => 'frustration',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:44',\n 'updated_at' => '2019-03-12 05:45:44',\n ),\n 73 => \n array (\n 'id' => 1574,\n 'name' => 'childhood',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:44',\n 'updated_at' => '2019-03-12 05:45:44',\n ),\n 74 => \n array (\n 'id' => 1575,\n 'name' => 'your body',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:47',\n 'updated_at' => '2019-03-12 05:45:47',\n ),\n 75 => \n array (\n 'id' => 1576,\n 'name' => 'fox',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:50',\n 'updated_at' => '2019-03-12 05:45:50',\n ),\n 76 => \n array (\n 'id' => 1577,\n 'name' => 'exercise',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:45:54',\n 'updated_at' => '2019-03-12 05:45:54',\n ),\n 77 => \n array (\n 'id' => 1578,\n 'name' => 'humility',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:01',\n 'updated_at' => '2019-03-12 05:46:01',\n ),\n 78 => \n array (\n 'id' => 1579,\n 'name' => 'reporter',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:03',\n 'updated_at' => '2019-03-12 05:46:03',\n ),\n 79 => \n array (\n 'id' => 1580,\n 'name' => 'everybody',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:03',\n 'updated_at' => '2019-03-12 05:46:03',\n ),\n 80 => \n array (\n 'id' => 1581,\n 'name' => 'shaped',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:04',\n 'updated_at' => '2019-03-12 05:46:04',\n ),\n 81 => \n array (\n 'id' => 1582,\n 'name' => 'awkward',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:05',\n 'updated_at' => '2019-03-12 05:46:05',\n ),\n 82 => \n array (\n 'id' => 1583,\n 'name' => 'loving',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:06',\n 'updated_at' => '2019-03-12 05:46:06',\n ),\n 83 => \n array (\n 'id' => 1584,\n 'name' => 'fairy tale',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:11',\n 'updated_at' => '2019-03-12 05:46:11',\n ),\n 84 => \n array (\n 'id' => 1585,\n 'name' => 'roommates',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:12',\n 'updated_at' => '2019-03-12 05:46:12',\n ),\n 85 => \n array (\n 'id' => 1586,\n 'name' => 'apple',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:12',\n 'updated_at' => '2019-03-12 05:46:12',\n ),\n 86 => \n array (\n 'id' => 1587,\n 'name' => 'change the world',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:13',\n 'updated_at' => '2019-03-12 05:46:13',\n ),\n 87 => \n array (\n 'id' => 1588,\n 'name' => 'hat',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:17',\n 'updated_at' => '2019-03-12 05:46:17',\n ),\n 88 => \n array (\n 'id' => 1589,\n 'name' => 'survival',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:17',\n 'updated_at' => '2019-03-12 05:46:17',\n ),\n 89 => \n array (\n 'id' => 1590,\n 'name' => 'networking',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:18',\n 'updated_at' => '2019-03-12 05:46:18',\n ),\n 90 => \n array (\n 'id' => 1591,\n 'name' => 'reality tv',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:19',\n 'updated_at' => '2019-03-12 05:46:19',\n ),\n 91 => \n array (\n 'id' => 1592,\n 'name' => 'those',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:20',\n 'updated_at' => '2019-03-12 05:46:20',\n ),\n 92 => \n array (\n 'id' => 1593,\n 'name' => 'bond',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:21',\n 'updated_at' => '2019-03-12 05:46:21',\n ),\n 93 => \n array (\n 'id' => 1594,\n 'name' => 'hats',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:23',\n 'updated_at' => '2019-03-12 05:46:23',\n ),\n 94 => \n array (\n 'id' => 1595,\n 'name' => 'heroes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:23',\n 'updated_at' => '2019-03-12 05:46:23',\n ),\n 95 => \n array (\n 'id' => 1596,\n 'name' => 'bring',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:23',\n 'updated_at' => '2019-03-12 05:46:23',\n ),\n 96 => \n array (\n 'id' => 1597,\n 'name' => 'dialogue',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:25',\n 'updated_at' => '2019-03-12 05:46:25',\n ),\n 97 => \n array (\n 'id' => 1598,\n 'name' => 'necessary',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:25',\n 'updated_at' => '2019-03-12 05:46:25',\n ),\n 98 => \n array (\n 'id' => 1599,\n 'name' => 'plot',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:26',\n 'updated_at' => '2019-03-12 05:46:26',\n ),\n 99 => \n array (\n 'id' => 1600,\n 'name' => 'first time',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:30',\n 'updated_at' => '2019-03-12 05:46:30',\n ),\n 100 => \n array (\n 'id' => 1601,\n 'name' => 'unpredictable',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:32',\n 'updated_at' => '2019-03-12 05:46:32',\n ),\n 101 => \n array (\n 'id' => 1602,\n 'name' => 'along',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:35',\n 'updated_at' => '2019-03-12 05:46:35',\n ),\n 102 => \n array (\n 'id' => 1603,\n 'name' => 'cute',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:39',\n 'updated_at' => '2019-03-12 05:46:39',\n ),\n 103 => \n array (\n 'id' => 1604,\n 'name' => 'kiss',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:39',\n 'updated_at' => '2019-03-12 05:46:39',\n ),\n 104 => \n array (\n 'id' => 1605,\n 'name' => 'sell',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:42',\n 'updated_at' => '2019-03-12 05:46:42',\n ),\n 105 => \n array (\n 'id' => 1606,\n 'name' => 'shows',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:44',\n 'updated_at' => '2019-03-12 05:46:44',\n ),\n 106 => \n array (\n 'id' => 1607,\n 'name' => 'clothes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:46',\n 'updated_at' => '2019-03-12 05:46:46',\n ),\n 107 => \n array (\n 'id' => 1608,\n 'name' => 'pencil',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:49',\n 'updated_at' => '2019-03-12 05:46:49',\n ),\n 108 => \n array (\n 'id' => 1609,\n 'name' => 'predict',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:50',\n 'updated_at' => '2019-03-12 05:46:50',\n ),\n 109 => \n array (\n 'id' => 1610,\n 'name' => 'good work',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:53',\n 'updated_at' => '2019-03-12 05:46:53',\n ),\n 110 => \n array (\n 'id' => 1611,\n 'name' => 'pose',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:55',\n 'updated_at' => '2019-03-12 05:46:55',\n ),\n 111 => \n array (\n 'id' => 1612,\n 'name' => 'script',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:56',\n 'updated_at' => '2019-03-12 05:46:56',\n ),\n 112 => \n array (\n 'id' => 1613,\n 'name' => 'blue-collar',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:46:59',\n 'updated_at' => '2019-03-12 05:46:59',\n ),\n 113 => \n array (\n 'id' => 1614,\n 'name' => 'end of the day',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:04',\n 'updated_at' => '2019-03-12 05:47:04',\n ),\n 114 => \n array (\n 'id' => 1615,\n 'name' => 'basketball',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:10',\n 'updated_at' => '2019-03-12 05:47:10',\n ),\n 115 => \n array (\n 'id' => 1616,\n 'name' => 'competitive',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:12',\n 'updated_at' => '2019-03-12 05:47:12',\n ),\n 116 => \n array (\n 'id' => 1617,\n 'name' => 'wins',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:13',\n 'updated_at' => '2019-03-12 05:47:13',\n ),\n 117 => \n array (\n 'id' => 1618,\n 'name' => 'hour',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:15',\n 'updated_at' => '2019-03-12 05:47:15',\n ),\n 118 => \n array (\n 'id' => 1619,\n 'name' => 'mad',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:15',\n 'updated_at' => '2019-03-12 05:47:15',\n ),\n 119 => \n array (\n 'id' => 1620,\n 'name' => 'comfortable',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:16',\n 'updated_at' => '2019-03-12 05:47:16',\n ),\n 120 => \n array (\n 'id' => 1621,\n 'name' => 'suit',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:16',\n 'updated_at' => '2019-03-12 05:47:16',\n ),\n 121 => \n array (\n 'id' => 1622,\n 'name' => 'foot',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:17',\n 'updated_at' => '2019-03-12 05:47:17',\n ),\n 122 => \n array (\n 'id' => 1623,\n 'name' => 'brothers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:17',\n 'updated_at' => '2019-03-12 05:47:17',\n ),\n 123 => \n array (\n 'id' => 1624,\n 'name' => 'before',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:17',\n 'updated_at' => '2019-03-12 05:47:17',\n ),\n 124 => \n array (\n 'id' => 1625,\n 'name' => 'lights',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:18',\n 'updated_at' => '2019-03-12 05:47:18',\n ),\n 125 => \n array (\n 'id' => 1626,\n 'name' => 'genuine',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:19',\n 'updated_at' => '2019-03-12 05:47:19',\n ),\n 126 => \n array (\n 'id' => 1627,\n 'name' => 'library',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:20',\n 'updated_at' => '2019-03-12 05:47:20',\n ),\n 127 => \n array (\n 'id' => 1628,\n 'name' => 'information',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:21',\n 'updated_at' => '2019-03-12 05:47:21',\n ),\n 128 => \n array (\n 'id' => 1629,\n 'name' => 'small things',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:21',\n 'updated_at' => '2019-03-12 05:47:21',\n ),\n 129 => \n array (\n 'id' => 1630,\n 'name' => 'greed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:24',\n 'updated_at' => '2019-03-12 05:47:24',\n ),\n 130 => \n array (\n 'id' => 1631,\n 'name' => 'large',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:25',\n 'updated_at' => '2019-03-12 05:47:25',\n ),\n 131 => \n array (\n 'id' => 1632,\n 'name' => 'revolt',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:25',\n 'updated_at' => '2019-03-12 05:47:25',\n ),\n 132 => \n array (\n 'id' => 1633,\n 'name' => 'networks',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:26',\n 'updated_at' => '2019-03-12 05:47:26',\n ),\n 133 => \n array (\n 'id' => 1634,\n 'name' => 'scientific',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:26',\n 'updated_at' => '2019-03-12 05:47:26',\n ),\n 134 => \n array (\n 'id' => 1635,\n 'name' => 'daily',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:27',\n 'updated_at' => '2019-03-12 05:47:27',\n ),\n 135 => \n array (\n 'id' => 1636,\n 'name' => 'mundane',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:28',\n 'updated_at' => '2019-03-12 05:47:28',\n ),\n 136 => \n array (\n 'id' => 1637,\n 'name' => 'assume',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:29',\n 'updated_at' => '2019-03-12 05:47:29',\n ),\n 137 => \n array (\n 'id' => 1638,\n 'name' => 'either',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:29',\n 'updated_at' => '2019-03-12 05:47:29',\n ),\n 138 => \n array (\n 'id' => 1639,\n 'name' => 'publish',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:31',\n 'updated_at' => '2019-03-12 05:47:31',\n ),\n 139 => \n array (\n 'id' => 1640,\n 'name' => 'river',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:33',\n 'updated_at' => '2019-03-12 05:47:33',\n ),\n 140 => \n array (\n 'id' => 1641,\n 'name' => 'seriously',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:34',\n 'updated_at' => '2019-03-12 05:47:34',\n ),\n 141 => \n array (\n 'id' => 1642,\n 'name' => 'count',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:36',\n 'updated_at' => '2019-03-12 05:47:36',\n ),\n 142 => \n array (\n 'id' => 1643,\n 'name' => 'choice',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:38',\n 'updated_at' => '2019-03-12 05:47:38',\n ),\n 143 => \n array (\n 'id' => 1644,\n 'name' => 'stanford',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:39',\n 'updated_at' => '2019-03-12 05:47:39',\n ),\n 144 => \n array (\n 'id' => 1645,\n 'name' => 'wales',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:39',\n 'updated_at' => '2019-03-12 05:47:39',\n ),\n 145 => \n array (\n 'id' => 1646,\n 'name' => 'stakes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:42',\n 'updated_at' => '2019-03-12 05:47:42',\n ),\n 146 => \n array (\n 'id' => 1647,\n 'name' => 'things happen',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:42',\n 'updated_at' => '2019-03-12 05:47:42',\n ),\n 147 => \n array (\n 'id' => 1648,\n 'name' => 'being myself',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:44',\n 'updated_at' => '2019-03-12 05:47:44',\n ),\n 148 => \n array (\n 'id' => 1649,\n 'name' => 'independent',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:47',\n 'updated_at' => '2019-03-12 05:47:47',\n ),\n 149 => \n array (\n 'id' => 1650,\n 'name' => 'imprint',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:48',\n 'updated_at' => '2019-03-12 05:47:48',\n ),\n 150 => \n array (\n 'id' => 1651,\n 'name' => 'male',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:48',\n 'updated_at' => '2019-03-12 05:47:48',\n ),\n 151 => \n array (\n 'id' => 1652,\n 'name' => 'kids',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:49',\n 'updated_at' => '2019-03-12 05:47:49',\n ),\n 152 => \n array (\n 'id' => 1653,\n 'name' => 'creating',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:50',\n 'updated_at' => '2019-03-12 05:47:50',\n ),\n 153 => \n array (\n 'id' => 1654,\n 'name' => 'fake',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:51',\n 'updated_at' => '2019-03-12 05:47:51',\n ),\n 154 => \n array (\n 'id' => 1655,\n 'name' => 'grandchildren',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:54',\n 'updated_at' => '2019-03-12 05:47:54',\n ),\n 155 => \n array (\n 'id' => 1656,\n 'name' => 'fine',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:47:54',\n 'updated_at' => '2019-03-12 05:47:54',\n ),\n 156 => \n array (\n 'id' => 1657,\n 'name' => 'rock and roll',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:02',\n 'updated_at' => '2019-03-12 05:48:02',\n ),\n 157 => \n array (\n 'id' => 1658,\n 'name' => 'dancing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:04',\n 'updated_at' => '2019-03-12 05:48:04',\n ),\n 158 => \n array (\n 'id' => 1659,\n 'name' => 'boom',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:08',\n 'updated_at' => '2019-03-12 05:48:08',\n ),\n 159 => \n array (\n 'id' => 1660,\n 'name' => 'cats',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:09',\n 'updated_at' => '2019-03-12 05:48:09',\n ),\n 160 => \n array (\n 'id' => 1661,\n 'name' => 'choose',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:09',\n 'updated_at' => '2019-03-12 05:48:09',\n ),\n 161 => \n array (\n 'id' => 1662,\n 'name' => 'interact',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:10',\n 'updated_at' => '2019-03-12 05:48:10',\n ),\n 162 => \n array (\n 'id' => 1663,\n 'name' => 'shut up',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:10',\n 'updated_at' => '2019-03-12 05:48:10',\n ),\n 163 => \n array (\n 'id' => 1664,\n 'name' => 'clap',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:11',\n 'updated_at' => '2019-03-12 05:48:11',\n ),\n 164 => \n array (\n 'id' => 1665,\n 'name' => 'prove',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:13',\n 'updated_at' => '2019-03-12 05:48:13',\n ),\n 165 => \n array (\n 'id' => 1666,\n 'name' => 'professional',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:14',\n 'updated_at' => '2019-03-12 05:48:14',\n ),\n 166 => \n array (\n 'id' => 1667,\n 'name' => 'rent',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:14',\n 'updated_at' => '2019-03-12 05:48:14',\n ),\n 167 => \n array (\n 'id' => 1668,\n 'name' => 'miles',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:15',\n 'updated_at' => '2019-03-12 05:48:15',\n ),\n 168 => \n array (\n 'id' => 1669,\n 'name' => 'northwest',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:16',\n 'updated_at' => '2019-03-12 05:48:16',\n ),\n 169 => \n array (\n 'id' => 1670,\n 'name' => 'ny',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:16',\n 'updated_at' => '2019-03-12 05:48:16',\n ),\n 170 => \n array (\n 'id' => 1671,\n 'name' => 'radio',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:23',\n 'updated_at' => '2019-03-12 05:48:23',\n ),\n 171 => \n array (\n 'id' => 1672,\n 'name' => 'top',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:23',\n 'updated_at' => '2019-03-12 05:48:23',\n ),\n 172 => \n array (\n 'id' => 1673,\n 'name' => 'measure',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:27',\n 'updated_at' => '2019-03-12 05:48:27',\n ),\n 173 => \n array (\n 'id' => 1674,\n 'name' => 'awards',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:28',\n 'updated_at' => '2019-03-12 05:48:28',\n ),\n 174 => \n array (\n 'id' => 1675,\n 'name' => 'auditioning',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:31',\n 'updated_at' => '2019-03-12 05:48:31',\n ),\n 175 => \n array (\n 'id' => 1676,\n 'name' => 'park',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:34',\n 'updated_at' => '2019-03-12 05:48:34',\n ),\n 176 => \n array (\n 'id' => 1677,\n 'name' => 'watching',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:36',\n 'updated_at' => '2019-03-12 05:48:36',\n ),\n 177 => \n array (\n 'id' => 1678,\n 'name' => 'subway',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:38',\n 'updated_at' => '2019-03-12 05:48:38',\n ),\n 178 => \n array (\n 'id' => 1679,\n 'name' => 'deny',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:39',\n 'updated_at' => '2019-03-12 05:48:39',\n ),\n 179 => \n array (\n 'id' => 1680,\n 'name' => 'straight',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:43',\n 'updated_at' => '2019-03-12 05:48:43',\n ),\n 180 => \n array (\n 'id' => 1681,\n 'name' => 'every',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:43',\n 'updated_at' => '2019-03-12 05:48:43',\n ),\n 181 => \n array (\n 'id' => 1682,\n 'name' => 'weaving',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:44',\n 'updated_at' => '2019-03-12 05:48:44',\n ),\n 182 => \n array (\n 'id' => 1683,\n 'name' => 'spices',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:45',\n 'updated_at' => '2019-03-12 05:48:45',\n ),\n 183 => \n array (\n 'id' => 1684,\n 'name' => 'fearless',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:46',\n 'updated_at' => '2019-03-12 05:48:46',\n ),\n 184 => \n array (\n 'id' => 1685,\n 'name' => 'mountain',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:47',\n 'updated_at' => '2019-03-12 05:48:47',\n ),\n 185 => \n array (\n 'id' => 1686,\n 'name' => 'chicken',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:48',\n 'updated_at' => '2019-03-12 05:48:48',\n ),\n 186 => \n array (\n 'id' => 1687,\n 'name' => 'fruit',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:51',\n 'updated_at' => '2019-03-12 05:48:51',\n ),\n 187 => \n array (\n 'id' => 1688,\n 'name' => 'pasta',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:54',\n 'updated_at' => '2019-03-12 05:48:54',\n ),\n 188 => \n array (\n 'id' => 1689,\n 'name' => 'restaurant',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:55',\n 'updated_at' => '2019-03-12 05:48:55',\n ),\n 189 => \n array (\n 'id' => 1690,\n 'name' => 'comfort',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:48:59',\n 'updated_at' => '2019-03-12 05:48:59',\n ),\n 190 => \n array (\n 'id' => 1691,\n 'name' => 'prize',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:01',\n 'updated_at' => '2019-03-12 05:49:01',\n ),\n 191 => \n array (\n 'id' => 1692,\n 'name' => 'mosque',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:05',\n 'updated_at' => '2019-03-12 05:49:05',\n ),\n 192 => \n array (\n 'id' => 1693,\n 'name' => 'differences',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:06',\n 'updated_at' => '2019-03-12 05:49:06',\n ),\n 193 => \n array (\n 'id' => 1694,\n 'name' => 'reducing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:06',\n 'updated_at' => '2019-03-12 05:49:06',\n ),\n 194 => \n array (\n 'id' => 1695,\n 'name' => 'impact',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:09',\n 'updated_at' => '2019-03-12 05:49:09',\n ),\n 195 => \n array (\n 'id' => 1696,\n 'name' => 'i was born',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:12',\n 'updated_at' => '2019-03-12 05:49:12',\n ),\n 196 => \n array (\n 'id' => 1697,\n 'name' => 'connoisseur',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:13',\n 'updated_at' => '2019-03-12 05:49:13',\n ),\n 197 => \n array (\n 'id' => 1698,\n 'name' => 'inside',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:14',\n 'updated_at' => '2019-03-12 05:49:14',\n ),\n 198 => \n array (\n 'id' => 1699,\n 'name' => 'holidays',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:16',\n 'updated_at' => '2019-03-12 05:49:16',\n ),\n 199 => \n array (\n 'id' => 1700,\n 'name' => 'doctor',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:17',\n 'updated_at' => '2019-03-12 05:49:17',\n ),\n 200 => \n array (\n 'id' => 1701,\n 'name' => 'brown',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:18',\n 'updated_at' => '2019-03-12 05:49:18',\n ),\n 201 => \n array (\n 'id' => 1702,\n 'name' => 'indian',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:18',\n 'updated_at' => '2019-03-12 05:49:18',\n ),\n 202 => \n array (\n 'id' => 1703,\n 'name' => 'snake',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:19',\n 'updated_at' => '2019-03-12 05:49:19',\n ),\n 203 => \n array (\n 'id' => 1704,\n 'name' => 'scared',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:21',\n 'updated_at' => '2019-03-12 05:49:21',\n ),\n 204 => \n array (\n 'id' => 1705,\n 'name' => 'green',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:22',\n 'updated_at' => '2019-03-12 05:49:22',\n ),\n 205 => \n array (\n 'id' => 1706,\n 'name' => 'consensus',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:23',\n 'updated_at' => '2019-03-12 05:49:23',\n ),\n 206 => \n array (\n 'id' => 1707,\n 'name' => 'means',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:24',\n 'updated_at' => '2019-03-12 05:49:24',\n ),\n 207 => \n array (\n 'id' => 1708,\n 'name' => 'ignorance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:24',\n 'updated_at' => '2019-03-12 05:49:24',\n ),\n 208 => \n array (\n 'id' => 1709,\n 'name' => 'exhausted',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:25',\n 'updated_at' => '2019-03-12 05:49:25',\n ),\n 209 => \n array (\n 'id' => 1710,\n 'name' => 'behave',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:25',\n 'updated_at' => '2019-03-12 05:49:25',\n ),\n 210 => \n array (\n 'id' => 1711,\n 'name' => 'surrender',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:26',\n 'updated_at' => '2019-03-12 05:49:26',\n ),\n 211 => \n array (\n 'id' => 1712,\n 'name' => 'disliked',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:27',\n 'updated_at' => '2019-03-12 05:49:27',\n ),\n 212 => \n array (\n 'id' => 1713,\n 'name' => 'pitied',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:27',\n 'updated_at' => '2019-03-12 05:49:27',\n ),\n 213 => \n array (\n 'id' => 1714,\n 'name' => 'resolution',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:29',\n 'updated_at' => '2019-03-12 05:49:29',\n ),\n 214 => \n array (\n 'id' => 1715,\n 'name' => 'pass',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:29',\n 'updated_at' => '2019-03-12 05:49:29',\n ),\n 215 => \n array (\n 'id' => 1716,\n 'name' => 'rejection',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:31',\n 'updated_at' => '2019-03-12 05:49:31',\n ),\n 216 => \n array (\n 'id' => 1717,\n 'name' => 'routine',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:32',\n 'updated_at' => '2019-03-12 05:49:32',\n ),\n 217 => \n array (\n 'id' => 1718,\n 'name' => 'owe',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:32',\n 'updated_at' => '2019-03-12 05:49:32',\n ),\n 218 => \n array (\n 'id' => 1719,\n 'name' => 'constant',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:33',\n 'updated_at' => '2019-03-12 05:49:33',\n ),\n 219 => \n array (\n 'id' => 1720,\n 'name' => 'people say',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:34',\n 'updated_at' => '2019-03-12 05:49:34',\n ),\n 220 => \n array (\n 'id' => 1721,\n 'name' => 'achieve',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:35',\n 'updated_at' => '2019-03-12 05:49:35',\n ),\n 221 => \n array (\n 'id' => 1722,\n 'name' => 'elegance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:36',\n 'updated_at' => '2019-03-12 05:49:36',\n ),\n 222 => \n array (\n 'id' => 1723,\n 'name' => 'ear',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:36',\n 'updated_at' => '2019-03-12 05:49:36',\n ),\n 223 => \n array (\n 'id' => 1724,\n 'name' => 'front',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:37',\n 'updated_at' => '2019-03-12 05:49:37',\n ),\n 224 => \n array (\n 'id' => 1725,\n 'name' => 'noticed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:38',\n 'updated_at' => '2019-03-12 05:49:38',\n ),\n 225 => \n array (\n 'id' => 1726,\n 'name' => 'workshop',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:43',\n 'updated_at' => '2019-03-12 05:49:43',\n ),\n 226 => \n array (\n 'id' => 1727,\n 'name' => 'advice',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:43',\n 'updated_at' => '2019-03-12 05:49:43',\n ),\n 227 => \n array (\n 'id' => 1728,\n 'name' => 'how',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:44',\n 'updated_at' => '2019-03-12 05:49:44',\n ),\n 228 => \n array (\n 'id' => 1729,\n 'name' => 'anyone',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:44',\n 'updated_at' => '2019-03-12 05:49:44',\n ),\n 229 => \n array (\n 'id' => 1730,\n 'name' => 'aids',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:45',\n 'updated_at' => '2019-03-12 05:49:45',\n ),\n 230 => \n array (\n 'id' => 1731,\n 'name' => 'international',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:45',\n 'updated_at' => '2019-03-12 05:49:45',\n ),\n 231 => \n array (\n 'id' => 1732,\n 'name' => 'iran',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:46',\n 'updated_at' => '2019-03-12 05:49:46',\n ),\n 232 => \n array (\n 'id' => 1733,\n 'name' => 'wood',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:47',\n 'updated_at' => '2019-03-12 05:49:47',\n ),\n 233 => \n array (\n 'id' => 1734,\n 'name' => 'darkness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:49',\n 'updated_at' => '2019-03-12 05:49:49',\n ),\n 234 => \n array (\n 'id' => 1735,\n 'name' => 'finding',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:55',\n 'updated_at' => '2019-03-12 05:49:55',\n ),\n 235 => \n array (\n 'id' => 1736,\n 'name' => 'creativity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:56',\n 'updated_at' => '2019-03-12 05:49:56',\n ),\n 236 => \n array (\n 'id' => 1737,\n 'name' => 'certain',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:58',\n 'updated_at' => '2019-03-12 05:49:58',\n ),\n 237 => \n array (\n 'id' => 1738,\n 'name' => 'elements',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:59',\n 'updated_at' => '2019-03-12 05:49:59',\n ),\n 238 => \n array (\n 'id' => 1739,\n 'name' => 'intended',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:49:59',\n 'updated_at' => '2019-03-12 05:49:59',\n ),\n 239 => \n array (\n 'id' => 1740,\n 'name' => 'justified',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:01',\n 'updated_at' => '2019-03-12 05:50:01',\n ),\n 240 => \n array (\n 'id' => 1741,\n 'name' => 'sunday',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:01',\n 'updated_at' => '2019-03-12 05:50:01',\n ),\n 241 => \n array (\n 'id' => 1742,\n 'name' => 'pray',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:02',\n 'updated_at' => '2019-03-12 05:50:02',\n ),\n 242 => \n array (\n 'id' => 1743,\n 'name' => 'transformation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:02',\n 'updated_at' => '2019-03-12 05:50:02',\n ),\n 243 => \n array (\n 'id' => 1744,\n 'name' => 'scout',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:03',\n 'updated_at' => '2019-03-12 05:50:03',\n ),\n 244 => \n array (\n 'id' => 1745,\n 'name' => 'poverty',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:05',\n 'updated_at' => '2019-03-12 05:50:05',\n ),\n 245 => \n array (\n 'id' => 1746,\n 'name' => 'seven',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:06',\n 'updated_at' => '2019-03-12 05:50:06',\n ),\n 246 => \n array (\n 'id' => 1747,\n 'name' => 'estate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:08',\n 'updated_at' => '2019-03-12 05:50:08',\n ),\n 247 => \n array (\n 'id' => 1748,\n 'name' => 'share',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:08',\n 'updated_at' => '2019-03-12 05:50:08',\n ),\n 248 => \n array (\n 'id' => 1749,\n 'name' => 'came',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:09',\n 'updated_at' => '2019-03-12 05:50:09',\n ),\n 249 => \n array (\n 'id' => 1750,\n 'name' => 'background',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:10',\n 'updated_at' => '2019-03-12 05:50:10',\n ),\n 250 => \n array (\n 'id' => 1751,\n 'name' => 'deeply',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:10',\n 'updated_at' => '2019-03-12 05:50:10',\n ),\n 251 => \n array (\n 'id' => 1752,\n 'name' => 'despair',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:10',\n 'updated_at' => '2019-03-12 05:50:10',\n ),\n 252 => \n array (\n 'id' => 1753,\n 'name' => 'young people',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:11',\n 'updated_at' => '2019-03-12 05:50:11',\n ),\n 253 => \n array (\n 'id' => 1754,\n 'name' => 'illness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:11',\n 'updated_at' => '2019-03-12 05:50:11',\n ),\n 254 => \n array (\n 'id' => 1755,\n 'name' => 'state',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:12',\n 'updated_at' => '2019-03-12 05:50:12',\n ),\n 255 => \n array (\n 'id' => 1756,\n 'name' => 'ahead',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:12',\n 'updated_at' => '2019-03-12 05:50:12',\n ),\n 256 => \n array (\n 'id' => 1757,\n 'name' => 'providence',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:13',\n 'updated_at' => '2019-03-12 05:50:13',\n ),\n 257 => \n array (\n 'id' => 1758,\n 'name' => 'negative',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:14',\n 'updated_at' => '2019-03-12 05:50:14',\n ),\n 258 => \n array (\n 'id' => 1759,\n 'name' => 'baby',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:15',\n 'updated_at' => '2019-03-12 05:50:15',\n ),\n 259 => \n array (\n 'id' => 1760,\n 'name' => 'staring',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:16',\n 'updated_at' => '2019-03-12 05:50:16',\n ),\n 260 => \n array (\n 'id' => 1761,\n 'name' => 'makeup',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:16',\n 'updated_at' => '2019-03-12 05:50:16',\n ),\n 261 => \n array (\n 'id' => 1762,\n 'name' => 'blush',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:17',\n 'updated_at' => '2019-03-12 05:50:17',\n ),\n 262 => \n array (\n 'id' => 1763,\n 'name' => 'dressing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:17',\n 'updated_at' => '2019-03-12 05:50:17',\n ),\n 263 => \n array (\n 'id' => 1764,\n 'name' => 'vain',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:18',\n 'updated_at' => '2019-03-12 05:50:18',\n ),\n 264 => \n array (\n 'id' => 1765,\n 'name' => 'make-up',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:18',\n 'updated_at' => '2019-03-12 05:50:18',\n ),\n 265 => \n array (\n 'id' => 1766,\n 'name' => 'nails',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:19',\n 'updated_at' => '2019-03-12 05:50:19',\n ),\n 266 => \n array (\n 'id' => 1767,\n 'name' => 'lifestyle',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:20',\n 'updated_at' => '2019-03-12 05:50:20',\n ),\n 267 => \n array (\n 'id' => 1768,\n 'name' => 'teachers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:21',\n 'updated_at' => '2019-03-12 05:50:21',\n ),\n 268 => \n array (\n 'id' => 1769,\n 'name' => 'product',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:22',\n 'updated_at' => '2019-03-12 05:50:22',\n ),\n 269 => \n array (\n 'id' => 1770,\n 'name' => 'lashes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:22',\n 'updated_at' => '2019-03-12 05:50:22',\n ),\n 270 => \n array (\n 'id' => 1771,\n 'name' => 'brand',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:25',\n 'updated_at' => '2019-03-12 05:50:25',\n ),\n 271 => \n array (\n 'id' => 1772,\n 'name' => 'martina',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:25',\n 'updated_at' => '2019-03-12 05:50:25',\n ),\n 272 => \n array (\n 'id' => 1773,\n 'name' => 'obvious',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:27',\n 'updated_at' => '2019-03-12 05:50:27',\n ),\n 273 => \n array (\n 'id' => 1774,\n 'name' => 'phones',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:29',\n 'updated_at' => '2019-03-12 05:50:29',\n ),\n 274 => \n array (\n 'id' => 1775,\n 'name' => 'smell',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:29',\n 'updated_at' => '2019-03-12 05:50:29',\n ),\n 275 => \n array (\n 'id' => 1776,\n 'name' => 'favourite',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:29',\n 'updated_at' => '2019-03-12 05:50:29',\n ),\n 276 => \n array (\n 'id' => 1777,\n 'name' => 'marc',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:30',\n 'updated_at' => '2019-03-12 05:50:30',\n ),\n 277 => \n array (\n 'id' => 1778,\n 'name' => 'pink',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:30',\n 'updated_at' => '2019-03-12 05:50:30',\n ),\n 278 => \n array (\n 'id' => 1779,\n 'name' => 'foundation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:31',\n 'updated_at' => '2019-03-12 05:50:31',\n ),\n 279 => \n array (\n 'id' => 1780,\n 'name' => 'colour',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:31',\n 'updated_at' => '2019-03-12 05:50:31',\n ),\n 280 => \n array (\n 'id' => 1781,\n 'name' => 'moss',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:31',\n 'updated_at' => '2019-03-12 05:50:31',\n ),\n 281 => \n array (\n 'id' => 1782,\n 'name' => 'bath',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:32',\n 'updated_at' => '2019-03-12 05:50:32',\n ),\n 282 => \n array (\n 'id' => 1783,\n 'name' => 'friends and family',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:35',\n 'updated_at' => '2019-03-12 05:50:35',\n ),\n 283 => \n array (\n 'id' => 1784,\n 'name' => 'put',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:39',\n 'updated_at' => '2019-03-12 05:50:39',\n ),\n 284 => \n array (\n 'id' => 1785,\n 'name' => 'ballet',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:40',\n 'updated_at' => '2019-03-12 05:50:40',\n ),\n 285 => \n array (\n 'id' => 1786,\n 'name' => 'dog',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:42',\n 'updated_at' => '2019-03-12 05:50:42',\n ),\n 286 => \n array (\n 'id' => 1787,\n 'name' => 'rare',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:43',\n 'updated_at' => '2019-03-12 05:50:43',\n ),\n 287 => \n array (\n 'id' => 1788,\n 'name' => 'taken',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:44',\n 'updated_at' => '2019-03-12 05:50:44',\n ),\n 288 => \n array (\n 'id' => 1789,\n 'name' => 'quite',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:44',\n 'updated_at' => '2019-03-12 05:50:44',\n ),\n 289 => \n array (\n 'id' => 1790,\n 'name' => 'trees',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:44',\n 'updated_at' => '2019-03-12 05:50:44',\n ),\n 290 => \n array (\n 'id' => 1791,\n 'name' => 'hospital',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:45',\n 'updated_at' => '2019-03-12 05:50:45',\n ),\n 291 => \n array (\n 'id' => 1792,\n 'name' => 'rocks',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:45',\n 'updated_at' => '2019-03-12 05:50:45',\n ),\n 292 => \n array (\n 'id' => 1793,\n 'name' => 'naked',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:46',\n 'updated_at' => '2019-03-12 05:50:46',\n ),\n 293 => \n array (\n 'id' => 1794,\n 'name' => 'opening',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:48',\n 'updated_at' => '2019-03-12 05:50:48',\n ),\n 294 => \n array (\n 'id' => 1795,\n 'name' => 'vintage',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:49',\n 'updated_at' => '2019-03-12 05:50:49',\n ),\n 295 => \n array (\n 'id' => 1796,\n 'name' => 'in the end',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:51',\n 'updated_at' => '2019-03-12 05:50:51',\n ),\n 296 => \n array (\n 'id' => 1797,\n 'name' => 'accent',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:51',\n 'updated_at' => '2019-03-12 05:50:51',\n ),\n 297 => \n array (\n 'id' => 1798,\n 'name' => 'hotel',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:52',\n 'updated_at' => '2019-03-12 05:50:52',\n ),\n 298 => \n array (\n 'id' => 1799,\n 'name' => 'world war i',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:50:58',\n 'updated_at' => '2019-03-12 05:50:58',\n ),\n 299 => \n array (\n 'id' => 1800,\n 'name' => 'meeting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:00',\n 'updated_at' => '2019-03-12 05:51:00',\n ),\n 300 => \n array (\n 'id' => 1801,\n 'name' => 'great people',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:00',\n 'updated_at' => '2019-03-12 05:51:00',\n ),\n 301 => \n array (\n 'id' => 1802,\n 'name' => 'therapist',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:02',\n 'updated_at' => '2019-03-12 05:51:02',\n ),\n 302 => \n array (\n 'id' => 1803,\n 'name' => 'paint',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:02',\n 'updated_at' => '2019-03-12 05:51:02',\n ),\n 303 => \n array (\n 'id' => 1804,\n 'name' => 'couch',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:03',\n 'updated_at' => '2019-03-12 05:51:03',\n ),\n 304 => \n array (\n 'id' => 1805,\n 'name' => 'holiday',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:03',\n 'updated_at' => '2019-03-12 05:51:03',\n ),\n 305 => \n array (\n 'id' => 1806,\n 'name' => 'florida',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:06',\n 'updated_at' => '2019-03-12 05:51:06',\n ),\n 306 => \n array (\n 'id' => 1807,\n 'name' => 'villain',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:07',\n 'updated_at' => '2019-03-12 05:51:07',\n ),\n 307 => \n array (\n 'id' => 1808,\n 'name' => 'sides',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:08',\n 'updated_at' => '2019-03-12 05:51:08',\n ),\n 308 => \n array (\n 'id' => 1809,\n 'name' => 'wicked',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:08',\n 'updated_at' => '2019-03-12 05:51:08',\n ),\n 309 => \n array (\n 'id' => 1810,\n 'name' => 'wizard',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:09',\n 'updated_at' => '2019-03-12 05:51:09',\n ),\n 310 => \n array (\n 'id' => 1811,\n 'name' => 'far',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:10',\n 'updated_at' => '2019-03-12 05:51:10',\n ),\n 311 => \n array (\n 'id' => 1812,\n 'name' => 'entertainment',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:11',\n 'updated_at' => '2019-03-12 05:51:11',\n ),\n 312 => \n array (\n 'id' => 1813,\n 'name' => 'friday',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:12',\n 'updated_at' => '2019-03-12 05:51:12',\n ),\n 313 => \n array (\n 'id' => 1814,\n 'name' => 'well done',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:17',\n 'updated_at' => '2019-03-12 05:51:17',\n ),\n 314 => \n array (\n 'id' => 1815,\n 'name' => 'pen',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:18',\n 'updated_at' => '2019-03-12 05:51:18',\n ),\n 315 => \n array (\n 'id' => 1816,\n 'name' => 'gender',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:20',\n 'updated_at' => '2019-03-12 05:51:20',\n ),\n 316 => \n array (\n 'id' => 1817,\n 'name' => 'writer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:21',\n 'updated_at' => '2019-03-12 05:51:21',\n ),\n 317 => \n array (\n 'id' => 1818,\n 'name' => 'minute',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:25',\n 'updated_at' => '2019-03-12 05:51:25',\n ),\n 318 => \n array (\n 'id' => 1819,\n 'name' => 'starting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:30',\n 'updated_at' => '2019-03-12 05:51:30',\n ),\n 319 => \n array (\n 'id' => 1820,\n 'name' => 'awesome',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:42',\n 'updated_at' => '2019-03-12 05:51:42',\n ),\n 320 => \n array (\n 'id' => 1821,\n 'name' => 'high-school',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:42',\n 'updated_at' => '2019-03-12 05:51:42',\n ),\n 321 => \n array (\n 'id' => 1822,\n 'name' => 'philadelphia',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:43',\n 'updated_at' => '2019-03-12 05:51:43',\n ),\n 322 => \n array (\n 'id' => 1823,\n 'name' => 'which',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:44',\n 'updated_at' => '2019-03-12 05:51:44',\n ),\n 323 => \n array (\n 'id' => 1824,\n 'name' => 'bartender',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:46',\n 'updated_at' => '2019-03-12 05:51:46',\n ),\n 324 => \n array (\n 'id' => 1825,\n 'name' => 'recording studio',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:48',\n 'updated_at' => '2019-03-12 05:51:48',\n ),\n 325 => \n array (\n 'id' => 1826,\n 'name' => 'oil',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:51:58',\n 'updated_at' => '2019-03-12 05:51:58',\n ),\n 326 => \n array (\n 'id' => 1827,\n 'name' => 'used',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:01',\n 'updated_at' => '2019-03-12 05:52:01',\n ),\n 327 => \n array (\n 'id' => 1828,\n 'name' => 'i think',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:03',\n 'updated_at' => '2019-03-12 05:52:03',\n ),\n 328 => \n array (\n 'id' => 1829,\n 'name' => 'crew',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:05',\n 'updated_at' => '2019-03-12 05:52:05',\n ),\n 329 => \n array (\n 'id' => 1830,\n 'name' => 'rapping',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:06',\n 'updated_at' => '2019-03-12 05:52:06',\n ),\n 330 => \n array (\n 'id' => 1831,\n 'name' => 'since',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:06',\n 'updated_at' => '2019-03-12 05:52:06',\n ),\n 331 => \n array (\n 'id' => 1832,\n 'name' => 'piano',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:07',\n 'updated_at' => '2019-03-12 05:52:07',\n ),\n 332 => \n array (\n 'id' => 1833,\n 'name' => 'keyboard',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:08',\n 'updated_at' => '2019-03-12 05:52:08',\n ),\n 333 => \n array (\n 'id' => 1834,\n 'name' => 'normal life',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:09',\n 'updated_at' => '2019-03-12 05:52:09',\n ),\n 334 => \n array (\n 'id' => 1835,\n 'name' => 'fan',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:18',\n 'updated_at' => '2019-03-12 05:52:18',\n ),\n 335 => \n array (\n 'id' => 1836,\n 'name' => 'cooper',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:19',\n 'updated_at' => '2019-03-12 05:52:19',\n ),\n 336 => \n array (\n 'id' => 1837,\n 'name' => 'farm',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:20',\n 'updated_at' => '2019-03-12 05:52:20',\n ),\n 337 => \n array (\n 'id' => 1838,\n 'name' => 'cinemas',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:22',\n 'updated_at' => '2019-03-12 05:52:22',\n ),\n 338 => \n array (\n 'id' => 1839,\n 'name' => 'step',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:23',\n 'updated_at' => '2019-03-12 05:52:23',\n ),\n 339 => \n array (\n 'id' => 1840,\n 'name' => 'modeling',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:25',\n 'updated_at' => '2019-03-12 05:52:25',\n ),\n 340 => \n array (\n 'id' => 1841,\n 'name' => 'sydney',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:25',\n 'updated_at' => '2019-03-12 05:52:25',\n ),\n 341 => \n array (\n 'id' => 1842,\n 'name' => 'paper',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:27',\n 'updated_at' => '2019-03-12 05:52:27',\n ),\n 342 => \n array (\n 'id' => 1843,\n 'name' => 'pieces',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:28',\n 'updated_at' => '2019-03-12 05:52:28',\n ),\n 343 => \n array (\n 'id' => 1844,\n 'name' => 'lyrics',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:29',\n 'updated_at' => '2019-03-12 05:52:29',\n ),\n 344 => \n array (\n 'id' => 1845,\n 'name' => 'hip-hop',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:30',\n 'updated_at' => '2019-03-12 05:52:30',\n ),\n 345 => \n array (\n 'id' => 1846,\n 'name' => 'five',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:33',\n 'updated_at' => '2019-03-12 05:52:33',\n ),\n 346 => \n array (\n 'id' => 1847,\n 'name' => 'adventure',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:38',\n 'updated_at' => '2019-03-12 05:52:38',\n ),\n 347 => \n array (\n 'id' => 1848,\n 'name' => 'revolution',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:43',\n 'updated_at' => '2019-03-12 05:52:43',\n ),\n 348 => \n array (\n 'id' => 1849,\n 'name' => 'warrior',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:44',\n 'updated_at' => '2019-03-12 05:52:44',\n ),\n 349 => \n array (\n 'id' => 1850,\n 'name' => 'gives',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:46',\n 'updated_at' => '2019-03-12 05:52:46',\n ),\n 350 => \n array (\n 'id' => 1851,\n 'name' => 'cows',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:46',\n 'updated_at' => '2019-03-12 05:52:46',\n ),\n 351 => \n array (\n 'id' => 1852,\n 'name' => 'hamburger',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:46',\n 'updated_at' => '2019-03-12 05:52:46',\n ),\n 352 => \n array (\n 'id' => 1853,\n 'name' => 'sacred',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:47',\n 'updated_at' => '2019-03-12 05:52:47',\n ),\n 353 => \n array (\n 'id' => 1854,\n 'name' => 'dope',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:49',\n 'updated_at' => '2019-03-12 05:52:49',\n ),\n 354 => \n array (\n 'id' => 1855,\n 'name' => 'modern',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:49',\n 'updated_at' => '2019-03-12 05:52:49',\n ),\n 355 => \n array (\n 'id' => 1856,\n 'name' => 'revolutionary',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:50',\n 'updated_at' => '2019-03-12 05:52:50',\n ),\n 356 => \n array (\n 'id' => 1857,\n 'name' => 'referred',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:52',\n 'updated_at' => '2019-03-12 05:52:52',\n ),\n 357 => \n array (\n 'id' => 1858,\n 'name' => 'robots',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:53',\n 'updated_at' => '2019-03-12 05:52:53',\n ),\n 358 => \n array (\n 'id' => 1859,\n 'name' => 'free speech',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:55',\n 'updated_at' => '2019-03-12 05:52:55',\n ),\n 359 => \n array (\n 'id' => 1860,\n 'name' => 'duty',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:56',\n 'updated_at' => '2019-03-12 05:52:56',\n ),\n 360 => \n array (\n 'id' => 1861,\n 'name' => 'reach',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:52:58',\n 'updated_at' => '2019-03-12 05:52:58',\n ),\n 361 => \n array (\n 'id' => 1862,\n 'name' => 'worth',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:00',\n 'updated_at' => '2019-03-12 05:53:00',\n ),\n 362 => \n array (\n 'id' => 1863,\n 'name' => 'shooting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:00',\n 'updated_at' => '2019-03-12 05:53:00',\n ),\n 363 => \n array (\n 'id' => 1864,\n 'name' => 'avoid',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:01',\n 'updated_at' => '2019-03-12 05:53:01',\n ),\n 364 => \n array (\n 'id' => 1865,\n 'name' => 'selfish',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:02',\n 'updated_at' => '2019-03-12 05:53:02',\n ),\n 365 => \n array (\n 'id' => 1866,\n 'name' => 'pig',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:03',\n 'updated_at' => '2019-03-12 05:53:03',\n ),\n 366 => \n array (\n 'id' => 1867,\n 'name' => 'empire',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:03',\n 'updated_at' => '2019-03-12 05:53:03',\n ),\n 367 => \n array (\n 'id' => 1868,\n 'name' => 'survive',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:03',\n 'updated_at' => '2019-03-12 05:53:03',\n ),\n 368 => \n array (\n 'id' => 1869,\n 'name' => 'planet',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:04',\n 'updated_at' => '2019-03-12 05:53:04',\n ),\n 369 => \n array (\n 'id' => 1870,\n 'name' => 'order',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:04',\n 'updated_at' => '2019-03-12 05:53:04',\n ),\n 370 => \n array (\n 'id' => 1871,\n 'name' => 'details',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:04',\n 'updated_at' => '2019-03-12 05:53:04',\n ),\n 371 => \n array (\n 'id' => 1872,\n 'name' => 'image',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:05',\n 'updated_at' => '2019-03-12 05:53:05',\n ),\n 372 => \n array (\n 'id' => 1873,\n 'name' => 'contemporary',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:06',\n 'updated_at' => '2019-03-12 05:53:06',\n ),\n 373 => \n array (\n 'id' => 1874,\n 'name' => 'risks',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:06',\n 'updated_at' => '2019-03-12 05:53:06',\n ),\n 374 => \n array (\n 'id' => 1875,\n 'name' => 'taking risks',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:06',\n 'updated_at' => '2019-03-12 05:53:06',\n ),\n 375 => \n array (\n 'id' => 1876,\n 'name' => 'elders',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:07',\n 'updated_at' => '2019-03-12 05:53:07',\n ),\n 376 => \n array (\n 'id' => 1877,\n 'name' => 'striving',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:08',\n 'updated_at' => '2019-03-12 05:53:08',\n ),\n 377 => \n array (\n 'id' => 1878,\n 'name' => 'satisfied',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:10',\n 'updated_at' => '2019-03-12 05:53:10',\n ),\n 378 => \n array (\n 'id' => 1879,\n 'name' => 'seek',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:10',\n 'updated_at' => '2019-03-12 05:53:10',\n ),\n 379 => \n array (\n 'id' => 1880,\n 'name' => 'stand up',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:11',\n 'updated_at' => '2019-03-12 05:53:11',\n ),\n 380 => \n array (\n 'id' => 1881,\n 'name' => 'climb',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:14',\n 'updated_at' => '2019-03-12 05:53:14',\n ),\n 381 => \n array (\n 'id' => 1882,\n 'name' => 'diabetes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:15',\n 'updated_at' => '2019-03-12 05:53:15',\n ),\n 382 => \n array (\n 'id' => 1883,\n 'name' => 'nephew',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:15',\n 'updated_at' => '2019-03-12 05:53:15',\n ),\n 383 => \n array (\n 'id' => 1884,\n 'name' => 'celebrate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:16',\n 'updated_at' => '2019-03-12 05:53:16',\n ),\n 384 => \n array (\n 'id' => 1885,\n 'name' => 'pain',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:16',\n 'updated_at' => '2019-03-12 05:53:16',\n ),\n 385 => \n array (\n 'id' => 1886,\n 'name' => 'athlete',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:17',\n 'updated_at' => '2019-03-12 05:53:17',\n ),\n 386 => \n array (\n 'id' => 1887,\n 'name' => 'endure',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:17',\n 'updated_at' => '2019-03-12 05:53:17',\n ),\n 387 => \n array (\n 'id' => 1888,\n 'name' => 'specific',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:17',\n 'updated_at' => '2019-03-12 05:53:17',\n ),\n 388 => \n array (\n 'id' => 1889,\n 'name' => 'love me',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:18',\n 'updated_at' => '2019-03-12 05:53:18',\n ),\n 389 => \n array (\n 'id' => 1890,\n 'name' => 'vegetables',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:18',\n 'updated_at' => '2019-03-12 05:53:18',\n ),\n 390 => \n array (\n 'id' => 1891,\n 'name' => 'salad',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:18',\n 'updated_at' => '2019-03-12 05:53:18',\n ),\n 391 => \n array (\n 'id' => 1892,\n 'name' => 'nutrition',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:20',\n 'updated_at' => '2019-03-12 05:53:20',\n ),\n 392 => \n array (\n 'id' => 1893,\n 'name' => 'tears',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:20',\n 'updated_at' => '2019-03-12 05:53:20',\n ),\n 393 => \n array (\n 'id' => 1894,\n 'name' => 'beat',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:22',\n 'updated_at' => '2019-03-12 05:53:22',\n ),\n 394 => \n array (\n 'id' => 1895,\n 'name' => 'defender',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:22',\n 'updated_at' => '2019-03-12 05:53:22',\n ),\n 395 => \n array (\n 'id' => 1896,\n 'name' => 'promises',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:22',\n 'updated_at' => '2019-03-12 05:53:22',\n ),\n 396 => \n array (\n 'id' => 1897,\n 'name' => 'fifa',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:22',\n 'updated_at' => '2019-03-12 05:53:22',\n ),\n 397 => \n array (\n 'id' => 1898,\n 'name' => 'uphold',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:23',\n 'updated_at' => '2019-03-12 05:53:23',\n ),\n 398 => \n array (\n 'id' => 1899,\n 'name' => 'coaching',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:23',\n 'updated_at' => '2019-03-12 05:53:23',\n ),\n 399 => \n array (\n 'id' => 1900,\n 'name' => 'soccer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:23',\n 'updated_at' => '2019-03-12 05:53:23',\n ),\n 400 => \n array (\n 'id' => 1901,\n 'name' => 'test',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:24',\n 'updated_at' => '2019-03-12 05:53:24',\n ),\n 401 => \n array (\n 'id' => 1902,\n 'name' => 'separation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:25',\n 'updated_at' => '2019-03-12 05:53:25',\n ),\n 402 => \n array (\n 'id' => 1903,\n 'name' => 'helping',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:26',\n 'updated_at' => '2019-03-12 05:53:26',\n ),\n 403 => \n array (\n 'id' => 1904,\n 'name' => 'world cup',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:33',\n 'updated_at' => '2019-03-12 05:53:33',\n ),\n 404 => \n array (\n 'id' => 1905,\n 'name' => 'offered',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:33',\n 'updated_at' => '2019-03-12 05:53:33',\n ),\n 405 => \n array (\n 'id' => 1906,\n 'name' => 'individual',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:34',\n 'updated_at' => '2019-03-12 05:53:34',\n ),\n 406 => \n array (\n 'id' => 1907,\n 'name' => 'affect',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:36',\n 'updated_at' => '2019-03-12 05:53:36',\n ),\n 407 => \n array (\n 'id' => 1908,\n 'name' => 'egypt',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:37',\n 'updated_at' => '2019-03-12 05:53:37',\n ),\n 408 => \n array (\n 'id' => 1909,\n 'name' => 'unstable',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:37',\n 'updated_at' => '2019-03-12 05:53:37',\n ),\n 409 => \n array (\n 'id' => 1910,\n 'name' => 'region',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:38',\n 'updated_at' => '2019-03-12 05:53:38',\n ),\n 410 => \n array (\n 'id' => 1911,\n 'name' => 'entire',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:38',\n 'updated_at' => '2019-03-12 05:53:38',\n ),\n 411 => \n array (\n 'id' => 1912,\n 'name' => 'doubt',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:39',\n 'updated_at' => '2019-03-12 05:53:39',\n ),\n 412 => \n array (\n 'id' => 1913,\n 'name' => 'palestinian',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:39',\n 'updated_at' => '2019-03-12 05:53:39',\n ),\n 413 => \n array (\n 'id' => 1914,\n 'name' => 'brotherhood',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:40',\n 'updated_at' => '2019-03-12 05:53:40',\n ),\n 414 => \n array (\n 'id' => 1915,\n 'name' => 'parent',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:40',\n 'updated_at' => '2019-03-12 05:53:40',\n ),\n 415 => \n array (\n 'id' => 1916,\n 'name' => 'measured',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:41',\n 'updated_at' => '2019-03-12 05:53:41',\n ),\n 416 => \n array (\n 'id' => 1917,\n 'name' => 'interaction',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:41',\n 'updated_at' => '2019-03-12 05:53:41',\n ),\n 417 => \n array (\n 'id' => 1918,\n 'name' => 'civilization',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:41',\n 'updated_at' => '2019-03-12 05:53:41',\n ),\n 418 => \n array (\n 'id' => 1919,\n 'name' => 'pursue',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:43',\n 'updated_at' => '2019-03-12 05:53:43',\n ),\n 419 => \n array (\n 'id' => 1920,\n 'name' => 'connotation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:43',\n 'updated_at' => '2019-03-12 05:53:43',\n ),\n 420 => \n array (\n 'id' => 1921,\n 'name' => 'historical',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:45',\n 'updated_at' => '2019-03-12 05:53:45',\n ),\n 421 => \n array (\n 'id' => 1922,\n 'name' => 'break',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:46',\n 'updated_at' => '2019-03-12 05:53:46',\n ),\n 422 => \n array (\n 'id' => 1923,\n 'name' => 'human beings',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:47',\n 'updated_at' => '2019-03-12 05:53:47',\n ),\n 423 => \n array (\n 'id' => 1924,\n 'name' => 'awareness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:47',\n 'updated_at' => '2019-03-12 05:53:47',\n ),\n 424 => \n array (\n 'id' => 1925,\n 'name' => 'ethnicity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:47',\n 'updated_at' => '2019-03-12 05:53:47',\n ),\n 425 => \n array (\n 'id' => 1926,\n 'name' => 'known',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:47',\n 'updated_at' => '2019-03-12 05:53:47',\n ),\n 426 => \n array (\n 'id' => 1927,\n 'name' => 'objectives',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:49',\n 'updated_at' => '2019-03-12 05:53:49',\n ),\n 427 => \n array (\n 'id' => 1928,\n 'name' => 'foundations',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:49',\n 'updated_at' => '2019-03-12 05:53:49',\n ),\n 428 => \n array (\n 'id' => 1929,\n 'name' => 'theories',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:49',\n 'updated_at' => '2019-03-12 05:53:49',\n ),\n 429 => \n array (\n 'id' => 1930,\n 'name' => 'leader',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:50',\n 'updated_at' => '2019-03-12 05:53:50',\n ),\n 430 => \n array (\n 'id' => 1931,\n 'name' => 'faithful',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:52',\n 'updated_at' => '2019-03-12 05:53:52',\n ),\n 431 => \n array (\n 'id' => 1932,\n 'name' => 'deliver',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:53',\n 'updated_at' => '2019-03-12 05:53:53',\n ),\n 432 => \n array (\n 'id' => 1933,\n 'name' => 'prosperity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:54',\n 'updated_at' => '2019-03-12 05:53:54',\n ),\n 433 => \n array (\n 'id' => 1934,\n 'name' => 'toys',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:55',\n 'updated_at' => '2019-03-12 05:53:55',\n ),\n 434 => \n array (\n 'id' => 1935,\n 'name' => 'century',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:59',\n 'updated_at' => '2019-03-12 05:53:59',\n ),\n 435 => \n array (\n 'id' => 1936,\n 'name' => 'dubai',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:59',\n 'updated_at' => '2019-03-12 05:53:59',\n ),\n 436 => \n array (\n 'id' => 1937,\n 'name' => 'infrastructure',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:59',\n 'updated_at' => '2019-03-12 05:53:59',\n ),\n 437 => \n array (\n 'id' => 1938,\n 'name' => 'openness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:53:59',\n 'updated_at' => '2019-03-12 05:53:59',\n ),\n 438 => \n array (\n 'id' => 1939,\n 'name' => 'growth',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:00',\n 'updated_at' => '2019-03-12 05:54:00',\n ),\n 439 => \n array (\n 'id' => 1940,\n 'name' => 'enthusiasm',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:00',\n 'updated_at' => '2019-03-12 05:54:00',\n ),\n 440 => \n array (\n 'id' => 1941,\n 'name' => 'reward',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:01',\n 'updated_at' => '2019-03-12 05:54:01',\n ),\n 441 => \n array (\n 'id' => 1942,\n 'name' => 'debt',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:01',\n 'updated_at' => '2019-03-12 05:54:01',\n ),\n 442 => \n array (\n 'id' => 1943,\n 'name' => 'environment',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:02',\n 'updated_at' => '2019-03-12 05:54:02',\n ),\n 443 => \n array (\n 'id' => 1944,\n 'name' => 'banking',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:02',\n 'updated_at' => '2019-03-12 05:54:02',\n ),\n 444 => \n array (\n 'id' => 1945,\n 'name' => 'bank',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:02',\n 'updated_at' => '2019-03-12 05:54:02',\n ),\n 445 => \n array (\n 'id' => 1946,\n 'name' => 'economy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:03',\n 'updated_at' => '2019-03-12 05:54:03',\n ),\n 446 => \n array (\n 'id' => 1947,\n 'name' => 'regulation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:03',\n 'updated_at' => '2019-03-12 05:54:03',\n ),\n 447 => \n array (\n 'id' => 1948,\n 'name' => 'hatred',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:05',\n 'updated_at' => '2019-03-12 05:54:05',\n ),\n 448 => \n array (\n 'id' => 1949,\n 'name' => 'safe',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:06',\n 'updated_at' => '2019-03-12 05:54:06',\n ),\n 449 => \n array (\n 'id' => 1950,\n 'name' => 'roots',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:07',\n 'updated_at' => '2019-03-12 05:54:07',\n ),\n 450 => \n array (\n 'id' => 1951,\n 'name' => 'innocent',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:07',\n 'updated_at' => '2019-03-12 05:54:07',\n ),\n 451 => \n array (\n 'id' => 1952,\n 'name' => 'controversy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:07',\n 'updated_at' => '2019-03-12 05:54:07',\n ),\n 452 => \n array (\n 'id' => 1953,\n 'name' => 'kicks',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:08',\n 'updated_at' => '2019-03-12 05:54:08',\n ),\n 453 => \n array (\n 'id' => 1954,\n 'name' => 'nut',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:08',\n 'updated_at' => '2019-03-12 05:54:08',\n ),\n 454 => \n array (\n 'id' => 1955,\n 'name' => 'madman',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:09',\n 'updated_at' => '2019-03-12 05:54:09',\n ),\n 455 => \n array (\n 'id' => 1956,\n 'name' => 'circumstances',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:10',\n 'updated_at' => '2019-03-12 05:54:10',\n ),\n 456 => \n array (\n 'id' => 1957,\n 'name' => 'launch',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:13',\n 'updated_at' => '2019-03-12 05:54:13',\n ),\n 457 => \n array (\n 'id' => 1958,\n 'name' => 'nuclear',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:14',\n 'updated_at' => '2019-03-12 05:54:14',\n ),\n 458 => \n array (\n 'id' => 1959,\n 'name' => 'letter',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:14',\n 'updated_at' => '2019-03-12 05:54:14',\n ),\n 459 => \n array (\n 'id' => 1960,\n 'name' => 'wrote',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:14',\n 'updated_at' => '2019-03-12 05:54:14',\n ),\n 460 => \n array (\n 'id' => 1961,\n 'name' => 'hurt',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:17',\n 'updated_at' => '2019-03-12 05:54:17',\n ),\n 461 => \n array (\n 'id' => 1962,\n 'name' => 'workers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:17',\n 'updated_at' => '2019-03-12 05:54:17',\n ),\n 462 => \n array (\n 'id' => 1963,\n 'name' => 'integrity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:19',\n 'updated_at' => '2019-03-12 05:54:19',\n ),\n 463 => \n array (\n 'id' => 1964,\n 'name' => 'recently',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:19',\n 'updated_at' => '2019-03-12 05:54:19',\n ),\n 464 => \n array (\n 'id' => 1965,\n 'name' => 'ethics',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:19',\n 'updated_at' => '2019-03-12 05:54:19',\n ),\n 465 => \n array (\n 'id' => 1966,\n 'name' => 'playground',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:22',\n 'updated_at' => '2019-03-12 05:54:22',\n ),\n 466 => \n array (\n 'id' => 1967,\n 'name' => 'birds',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:23',\n 'updated_at' => '2019-03-12 05:54:23',\n ),\n 467 => \n array (\n 'id' => 1968,\n 'name' => 'mecca',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:23',\n 'updated_at' => '2019-03-12 05:54:23',\n ),\n 468 => \n array (\n 'id' => 1969,\n 'name' => 'degree',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:24',\n 'updated_at' => '2019-03-12 05:54:24',\n ),\n 469 => \n array (\n 'id' => 1970,\n 'name' => 'union',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:24',\n 'updated_at' => '2019-03-12 05:54:24',\n ),\n 470 => \n array (\n 'id' => 1971,\n 'name' => 'command',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:25',\n 'updated_at' => '2019-03-12 05:54:25',\n ),\n 471 => \n array (\n 'id' => 1972,\n 'name' => 'clock',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:28',\n 'updated_at' => '2019-03-12 05:54:28',\n ),\n 472 => \n array (\n 'id' => 1973,\n 'name' => 'took',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:29',\n 'updated_at' => '2019-03-12 05:54:29',\n ),\n 473 => \n array (\n 'id' => 1974,\n 'name' => 'gave',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:29',\n 'updated_at' => '2019-03-12 05:54:29',\n ),\n 474 => \n array (\n 'id' => 1975,\n 'name' => 'timeline',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:29',\n 'updated_at' => '2019-03-12 05:54:29',\n ),\n 475 => \n array (\n 'id' => 1976,\n 'name' => 'emotional',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:30',\n 'updated_at' => '2019-03-12 05:54:30',\n ),\n 476 => \n array (\n 'id' => 1977,\n 'name' => 'dangerous',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:31',\n 'updated_at' => '2019-03-12 05:54:31',\n ),\n 477 => \n array (\n 'id' => 1978,\n 'name' => 'peaceful',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:32',\n 'updated_at' => '2019-03-12 05:54:32',\n ),\n 478 => \n array (\n 'id' => 1979,\n 'name' => 'jerusalem',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:33',\n 'updated_at' => '2019-03-12 05:54:33',\n ),\n 479 => \n array (\n 'id' => 1980,\n 'name' => 'scares',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:33',\n 'updated_at' => '2019-03-12 05:54:33',\n ),\n 480 => \n array (\n 'id' => 1981,\n 'name' => 'forced',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:36',\n 'updated_at' => '2019-03-12 05:54:36',\n ),\n 481 => \n array (\n 'id' => 1982,\n 'name' => 'monarchy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:36',\n 'updated_at' => '2019-03-12 05:54:36',\n ),\n 482 => \n array (\n 'id' => 1983,\n 'name' => 'hide',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:37',\n 'updated_at' => '2019-03-12 05:54:37',\n ),\n 483 => \n array (\n 'id' => 1984,\n 'name' => 'nuclear weapons',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:42',\n 'updated_at' => '2019-03-12 05:54:42',\n ),\n 484 => \n array (\n 'id' => 1985,\n 'name' => 'construction',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:42',\n 'updated_at' => '2019-03-12 05:54:42',\n ),\n 485 => \n array (\n 'id' => 1986,\n 'name' => 'constitution',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:43',\n 'updated_at' => '2019-03-12 05:54:43',\n ),\n 486 => \n array (\n 'id' => 1987,\n 'name' => 'follower',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:44',\n 'updated_at' => '2019-03-12 05:54:44',\n ),\n 487 => \n array (\n 'id' => 1988,\n 'name' => 'gandhi',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:44',\n 'updated_at' => '2019-03-12 05:54:44',\n ),\n 488 => \n array (\n 'id' => 1989,\n 'name' => 'ifs',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:44',\n 'updated_at' => '2019-03-12 05:54:44',\n ),\n 489 => \n array (\n 'id' => 1990,\n 'name' => 'complexity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:47',\n 'updated_at' => '2019-03-12 05:54:47',\n ),\n 490 => \n array (\n 'id' => 1991,\n 'name' => 'generosity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:47',\n 'updated_at' => '2019-03-12 05:54:47',\n ),\n 491 => \n array (\n 'id' => 1992,\n 'name' => 'judging',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:50',\n 'updated_at' => '2019-03-12 05:54:50',\n ),\n 492 => \n array (\n 'id' => 1993,\n 'name' => 'injury',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:51',\n 'updated_at' => '2019-03-12 05:54:51',\n ),\n 493 => \n array (\n 'id' => 1994,\n 'name' => 'finish',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:52',\n 'updated_at' => '2019-03-12 05:54:52',\n ),\n 494 => \n array (\n 'id' => 1995,\n 'name' => 'retirement',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:53',\n 'updated_at' => '2019-03-12 05:54:53',\n ),\n 495 => \n array (\n 'id' => 1996,\n 'name' => 'tricky',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:53',\n 'updated_at' => '2019-03-12 05:54:53',\n ),\n 496 => \n array (\n 'id' => 1997,\n 'name' => 'players',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:53',\n 'updated_at' => '2019-03-12 05:54:53',\n ),\n 497 => \n array (\n 'id' => 1998,\n 'name' => 'plays',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:54',\n 'updated_at' => '2019-03-12 05:54:54',\n ),\n 498 => \n array (\n 'id' => 1999,\n 'name' => 'basket',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:54',\n 'updated_at' => '2019-03-12 05:54:54',\n ),\n 499 => \n array (\n 'id' => 2000,\n 'name' => 'juliet',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:54',\n 'updated_at' => '2019-03-12 05:54:54',\n ),\n ));\n \\DB::table('tags')->insert(array (\n 0 => \n array (\n 'id' => 2001,\n 'name' => 'damn',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:55',\n 'updated_at' => '2019-03-12 05:54:55',\n ),\n 1 => \n array (\n 'id' => 2002,\n 'name' => 'miss',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:55',\n 'updated_at' => '2019-03-12 05:54:55',\n ),\n 2 => \n array (\n 'id' => 2003,\n 'name' => 'anybody',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:55',\n 'updated_at' => '2019-03-12 05:54:55',\n ),\n 3 => \n array (\n 'id' => 2004,\n 'name' => 'less',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:56',\n 'updated_at' => '2019-03-12 05:54:56',\n ),\n 4 => \n array (\n 'id' => 2005,\n 'name' => 'hole',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:56',\n 'updated_at' => '2019-03-12 05:54:56',\n ),\n 5 => \n array (\n 'id' => 2006,\n 'name' => 'contest',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:56',\n 'updated_at' => '2019-03-12 05:54:56',\n ),\n 6 => \n array (\n 'id' => 2007,\n 'name' => 'jog',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:58',\n 'updated_at' => '2019-03-12 05:54:58',\n ),\n 7 => \n array (\n 'id' => 2008,\n 'name' => 'schmuck',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:58',\n 'updated_at' => '2019-03-12 05:54:58',\n ),\n 8 => \n array (\n 'id' => 2009,\n 'name' => 'clinton',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:54:59',\n 'updated_at' => '2019-03-12 05:54:59',\n ),\n 9 => \n array (\n 'id' => 2010,\n 'name' => 'thieves',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:01',\n 'updated_at' => '2019-03-12 05:55:01',\n ),\n 10 => \n array (\n 'id' => 2011,\n 'name' => 'among',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:01',\n 'updated_at' => '2019-03-12 05:55:01',\n ),\n 11 => \n array (\n 'id' => 2012,\n 'name' => 'miracle',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:02',\n 'updated_at' => '2019-03-12 05:55:02',\n ),\n 12 => \n array (\n 'id' => 2013,\n 'name' => 'blown',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:03',\n 'updated_at' => '2019-03-12 05:55:03',\n ),\n 13 => \n array (\n 'id' => 2014,\n 'name' => 'dying',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:04',\n 'updated_at' => '2019-03-12 05:55:04',\n ),\n 14 => \n array (\n 'id' => 2015,\n 'name' => 'big fan',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:05',\n 'updated_at' => '2019-03-12 05:55:05',\n ),\n 15 => \n array (\n 'id' => 2016,\n 'name' => 'buddhist',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:06',\n 'updated_at' => '2019-03-12 05:55:06',\n ),\n 16 => \n array (\n 'id' => 2017,\n 'name' => 'million',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:08',\n 'updated_at' => '2019-03-12 05:55:08',\n ),\n 17 => \n array (\n 'id' => 2018,\n 'name' => 'making money',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:09',\n 'updated_at' => '2019-03-12 05:55:09',\n ),\n 18 => \n array (\n 'id' => 2019,\n 'name' => 'limits',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:10',\n 'updated_at' => '2019-03-12 05:55:10',\n ),\n 19 => \n array (\n 'id' => 2020,\n 'name' => 'dvd',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:11',\n 'updated_at' => '2019-03-12 05:55:11',\n ),\n 20 => \n array (\n 'id' => 2021,\n 'name' => 'rose',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:12',\n 'updated_at' => '2019-03-12 05:55:12',\n ),\n 21 => \n array (\n 'id' => 2022,\n 'name' => 'pushed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:16',\n 'updated_at' => '2019-03-12 05:55:16',\n ),\n 22 => \n array (\n 'id' => 2023,\n 'name' => 'bunch',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:17',\n 'updated_at' => '2019-03-12 05:55:17',\n ),\n 23 => \n array (\n 'id' => 2024,\n 'name' => 'models',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:17',\n 'updated_at' => '2019-03-12 05:55:17',\n ),\n 24 => \n array (\n 'id' => 2025,\n 'name' => 'characters',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:19',\n 'updated_at' => '2019-03-12 05:55:19',\n ),\n 25 => \n array (\n 'id' => 2026,\n 'name' => 'piece',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:21',\n 'updated_at' => '2019-03-12 05:55:21',\n ),\n 26 => \n array (\n 'id' => 2027,\n 'name' => 'grade',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:21',\n 'updated_at' => '2019-03-12 05:55:21',\n ),\n 27 => \n array (\n 'id' => 2028,\n 'name' => 'immature',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:22',\n 'updated_at' => '2019-03-12 05:55:22',\n ),\n 28 => \n array (\n 'id' => 2029,\n 'name' => 'experiment',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:22',\n 'updated_at' => '2019-03-12 05:55:22',\n ),\n 29 => \n array (\n 'id' => 2030,\n 'name' => 'use',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:24',\n 'updated_at' => '2019-03-12 05:55:24',\n ),\n 30 => \n array (\n 'id' => 2031,\n 'name' => 'lives',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:25',\n 'updated_at' => '2019-03-12 05:55:25',\n ),\n 31 => \n array (\n 'id' => 2032,\n 'name' => 'victories',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:26',\n 'updated_at' => '2019-03-12 05:55:26',\n ),\n 32 => \n array (\n 'id' => 2033,\n 'name' => 'daily life',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:28',\n 'updated_at' => '2019-03-12 05:55:28',\n ),\n 33 => \n array (\n 'id' => 2034,\n 'name' => 'assumptions',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:29',\n 'updated_at' => '2019-03-12 05:55:29',\n ),\n 34 => \n array (\n 'id' => 2035,\n 'name' => 'angels',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:30',\n 'updated_at' => '2019-03-12 05:55:30',\n ),\n 35 => \n array (\n 'id' => 2036,\n 'name' => 'agree',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:32',\n 'updated_at' => '2019-03-12 05:55:32',\n ),\n 36 => \n array (\n 'id' => 2037,\n 'name' => 'seem',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:33',\n 'updated_at' => '2019-03-12 05:55:33',\n ),\n 37 => \n array (\n 'id' => 2038,\n 'name' => 'deeper',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:33',\n 'updated_at' => '2019-03-12 05:55:33',\n ),\n 38 => \n array (\n 'id' => 2039,\n 'name' => 'love is',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:33',\n 'updated_at' => '2019-03-12 05:55:33',\n ),\n 39 => \n array (\n 'id' => 2040,\n 'name' => 'names',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:34',\n 'updated_at' => '2019-03-12 05:55:34',\n ),\n 40 => \n array (\n 'id' => 2041,\n 'name' => 'arts',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:34',\n 'updated_at' => '2019-03-12 05:55:34',\n ),\n 41 => \n array (\n 'id' => 2042,\n 'name' => 'improvement',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:38',\n 'updated_at' => '2019-03-12 05:55:38',\n ),\n 42 => \n array (\n 'id' => 2043,\n 'name' => 'charity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:39',\n 'updated_at' => '2019-03-12 05:55:39',\n ),\n 43 => \n array (\n 'id' => 2044,\n 'name' => 'just because',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:39',\n 'updated_at' => '2019-03-12 05:55:39',\n ),\n 44 => \n array (\n 'id' => 2045,\n 'name' => 'blessings',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:40',\n 'updated_at' => '2019-03-12 05:55:40',\n ),\n 45 => \n array (\n 'id' => 2046,\n 'name' => 'critics',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:43',\n 'updated_at' => '2019-03-12 05:55:43',\n ),\n 46 => \n array (\n 'id' => 2047,\n 'name' => 'flash',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:44',\n 'updated_at' => '2019-03-12 05:55:44',\n ),\n 47 => \n array (\n 'id' => 2048,\n 'name' => 'object',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:44',\n 'updated_at' => '2019-03-12 05:55:44',\n ),\n 48 => \n array (\n 'id' => 2049,\n 'name' => 'item',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:45',\n 'updated_at' => '2019-03-12 05:55:45',\n ),\n 49 => \n array (\n 'id' => 2050,\n 'name' => 'stay focused',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:51',\n 'updated_at' => '2019-03-12 05:55:51',\n ),\n 50 => \n array (\n 'id' => 2051,\n 'name' => 'painful',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:53',\n 'updated_at' => '2019-03-12 05:55:53',\n ),\n 51 => \n array (\n 'id' => 2052,\n 'name' => 'bowling',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:54',\n 'updated_at' => '2019-03-12 05:55:54',\n ),\n 52 => \n array (\n 'id' => 2053,\n 'name' => 'sexism',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:55',\n 'updated_at' => '2019-03-12 05:55:55',\n ),\n 53 => \n array (\n 'id' => 2054,\n 'name' => 'block',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:56',\n 'updated_at' => '2019-03-12 05:55:56',\n ),\n 54 => \n array (\n 'id' => 2055,\n 'name' => 'coward',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:56',\n 'updated_at' => '2019-03-12 05:55:56',\n ),\n 55 => \n array (\n 'id' => 2056,\n 'name' => 'social media',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:57',\n 'updated_at' => '2019-03-12 05:55:57',\n ),\n 56 => \n array (\n 'id' => 2057,\n 'name' => 'feminism',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:55:59',\n 'updated_at' => '2019-03-12 05:55:59',\n ),\n 57 => \n array (\n 'id' => 2058,\n 'name' => 'authenticity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:00',\n 'updated_at' => '2019-03-12 05:56:00',\n ),\n 58 => \n array (\n 'id' => 2059,\n 'name' => 'seventies',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:01',\n 'updated_at' => '2019-03-12 05:56:01',\n ),\n 59 => \n array (\n 'id' => 2060,\n 'name' => 'eighties',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:01',\n 'updated_at' => '2019-03-12 05:56:01',\n ),\n 60 => \n array (\n 'id' => 2061,\n 'name' => 'spent',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:01',\n 'updated_at' => '2019-03-12 05:56:01',\n ),\n 61 => \n array (\n 'id' => 2062,\n 'name' => 'writers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:03',\n 'updated_at' => '2019-03-12 05:56:03',\n ),\n 62 => \n array (\n 'id' => 2063,\n 'name' => 'brought',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:03',\n 'updated_at' => '2019-03-12 05:56:03',\n ),\n 63 => \n array (\n 'id' => 2064,\n 'name' => 'diligence',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:03',\n 'updated_at' => '2019-03-12 05:56:03',\n ),\n 64 => \n array (\n 'id' => 2065,\n 'name' => 'rebellion',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:03',\n 'updated_at' => '2019-03-12 05:56:03',\n ),\n 65 => \n array (\n 'id' => 2066,\n 'name' => 'virtues',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:04',\n 'updated_at' => '2019-03-12 05:56:04',\n ),\n 66 => \n array (\n 'id' => 2067,\n 'name' => 'necessities',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:04',\n 'updated_at' => '2019-03-12 05:56:04',\n ),\n 67 => \n array (\n 'id' => 2068,\n 'name' => 'tyrants',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:05',\n 'updated_at' => '2019-03-12 05:56:05',\n ),\n 68 => \n array (\n 'id' => 2069,\n 'name' => 'serve',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:05',\n 'updated_at' => '2019-03-12 05:56:05',\n ),\n 69 => \n array (\n 'id' => 2070,\n 'name' => 'actions',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:05',\n 'updated_at' => '2019-03-12 05:56:05',\n ),\n 70 => \n array (\n 'id' => 2071,\n 'name' => 'calm',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:09',\n 'updated_at' => '2019-03-12 05:56:09',\n ),\n 71 => \n array (\n 'id' => 2072,\n 'name' => 'shy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:16',\n 'updated_at' => '2019-03-12 05:56:16',\n ),\n 72 => \n array (\n 'id' => 2073,\n 'name' => 'essays',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:17',\n 'updated_at' => '2019-03-12 05:56:17',\n ),\n 73 => \n array (\n 'id' => 2074,\n 'name' => 'beyond',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:17',\n 'updated_at' => '2019-03-12 05:56:17',\n ),\n 74 => \n array (\n 'id' => 2075,\n 'name' => 'huge',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:18',\n 'updated_at' => '2019-03-12 05:56:18',\n ),\n 75 => \n array (\n 'id' => 2076,\n 'name' => 'caribbean',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:22',\n 'updated_at' => '2019-03-12 05:56:22',\n ),\n 76 => \n array (\n 'id' => 2077,\n 'name' => 'boring',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:22',\n 'updated_at' => '2019-03-12 05:56:22',\n ),\n 77 => \n array (\n 'id' => 2078,\n 'name' => 'started',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:23',\n 'updated_at' => '2019-03-12 05:56:23',\n ),\n 78 => \n array (\n 'id' => 2079,\n 'name' => 'strengthen',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:27',\n 'updated_at' => '2019-03-12 05:56:27',\n ),\n 79 => \n array (\n 'id' => 2080,\n 'name' => 'snapshot',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:28',\n 'updated_at' => '2019-03-12 05:56:28',\n ),\n 80 => \n array (\n 'id' => 2081,\n 'name' => 'medium',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:30',\n 'updated_at' => '2019-03-12 05:56:30',\n ),\n 81 => \n array (\n 'id' => 2082,\n 'name' => 'calling',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:31',\n 'updated_at' => '2019-03-12 05:56:31',\n ),\n 82 => \n array (\n 'id' => 2083,\n 'name' => 'lamb',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:31',\n 'updated_at' => '2019-03-12 05:56:31',\n ),\n 83 => \n array (\n 'id' => 2084,\n 'name' => 'bit',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:31',\n 'updated_at' => '2019-03-12 05:56:31',\n ),\n 84 => \n array (\n 'id' => 2085,\n 'name' => 'combat',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:33',\n 'updated_at' => '2019-03-12 05:56:33',\n ),\n 85 => \n array (\n 'id' => 2086,\n 'name' => 'totem',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:35',\n 'updated_at' => '2019-03-12 05:56:35',\n ),\n 86 => \n array (\n 'id' => 2087,\n 'name' => 'errors',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:37',\n 'updated_at' => '2019-03-12 05:56:37',\n ),\n 87 => \n array (\n 'id' => 2088,\n 'name' => 'reduction',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:37',\n 'updated_at' => '2019-03-12 05:56:37',\n ),\n 88 => \n array (\n 'id' => 2089,\n 'name' => 'blockchain',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:38',\n 'updated_at' => '2019-03-12 05:56:38',\n ),\n 89 => \n array (\n 'id' => 2090,\n 'name' => 'analyzing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:45',\n 'updated_at' => '2019-03-12 05:56:45',\n ),\n 90 => \n array (\n 'id' => 2091,\n 'name' => 'platforms',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:45',\n 'updated_at' => '2019-03-12 05:56:45',\n ),\n 91 => \n array (\n 'id' => 2092,\n 'name' => 'trading',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:45',\n 'updated_at' => '2019-03-12 05:56:45',\n ),\n 92 => \n array (\n 'id' => 2093,\n 'name' => 'unhappy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:46',\n 'updated_at' => '2019-03-12 05:56:46',\n ),\n 93 => \n array (\n 'id' => 2094,\n 'name' => 'industry',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:46',\n 'updated_at' => '2019-03-12 05:56:46',\n ),\n 94 => \n array (\n 'id' => 2095,\n 'name' => 'women are',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:46',\n 'updated_at' => '2019-03-12 05:56:46',\n ),\n 95 => \n array (\n 'id' => 2096,\n 'name' => 'capital',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:46',\n 'updated_at' => '2019-03-12 05:56:46',\n ),\n 96 => \n array (\n 'id' => 2097,\n 'name' => 'returns',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:47',\n 'updated_at' => '2019-03-12 05:56:47',\n ),\n 97 => \n array (\n 'id' => 2098,\n 'name' => 'mining',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:47',\n 'updated_at' => '2019-03-12 05:56:47',\n ),\n 98 => \n array (\n 'id' => 2099,\n 'name' => 'ethereum',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:47',\n 'updated_at' => '2019-03-12 05:56:47',\n ),\n 99 => \n array (\n 'id' => 2100,\n 'name' => 'wave',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:48',\n 'updated_at' => '2019-03-12 05:56:48',\n ),\n 100 => \n array (\n 'id' => 2101,\n 'name' => 'chocolate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:48',\n 'updated_at' => '2019-03-12 05:56:48',\n ),\n 101 => \n array (\n 'id' => 2102,\n 'name' => 'struggles',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:48',\n 'updated_at' => '2019-03-12 05:56:48',\n ),\n 102 => \n array (\n 'id' => 2103,\n 'name' => 'vegetarian',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:49',\n 'updated_at' => '2019-03-12 05:56:49',\n ),\n 103 => \n array (\n 'id' => 2104,\n 'name' => 'vegan',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:49',\n 'updated_at' => '2019-03-12 05:56:49',\n ),\n 104 => \n array (\n 'id' => 2105,\n 'name' => 'gratitude',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:50',\n 'updated_at' => '2019-03-12 05:56:50',\n ),\n 105 => \n array (\n 'id' => 2106,\n 'name' => 'waves',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:51',\n 'updated_at' => '2019-03-12 05:56:51',\n ),\n 106 => \n array (\n 'id' => 2107,\n 'name' => 'endurance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:51',\n 'updated_at' => '2019-03-12 05:56:51',\n ),\n 107 => \n array (\n 'id' => 2108,\n 'name' => 'hospitality',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:51',\n 'updated_at' => '2019-03-12 05:56:51',\n ),\n 108 => \n array (\n 'id' => 2109,\n 'name' => 'mexico',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:52',\n 'updated_at' => '2019-03-12 05:56:52',\n ),\n 109 => \n array (\n 'id' => 2110,\n 'name' => 'gulf',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:52',\n 'updated_at' => '2019-03-12 05:56:52',\n ),\n 110 => \n array (\n 'id' => 2111,\n 'name' => 'chris',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:53',\n 'updated_at' => '2019-03-12 05:56:53',\n ),\n 111 => \n array (\n 'id' => 2112,\n 'name' => 'vision',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:53',\n 'updated_at' => '2019-03-12 05:56:53',\n ),\n 112 => \n array (\n 'id' => 2113,\n 'name' => 'mentality',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:54',\n 'updated_at' => '2019-03-12 05:56:54',\n ),\n 113 => \n array (\n 'id' => 2114,\n 'name' => 'ice cream',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:56',\n 'updated_at' => '2019-03-12 05:56:56',\n ),\n 114 => \n array (\n 'id' => 2115,\n 'name' => 'hepburn',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:56:57',\n 'updated_at' => '2019-03-12 05:56:57',\n ),\n 115 => \n array (\n 'id' => 2116,\n 'name' => 'soup',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:00',\n 'updated_at' => '2019-03-12 05:57:00',\n ),\n 116 => \n array (\n 'id' => 2117,\n 'name' => 'pool',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:00',\n 'updated_at' => '2019-03-12 05:57:00',\n ),\n 117 => \n array (\n 'id' => 2118,\n 'name' => 'emotion',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:00',\n 'updated_at' => '2019-03-12 05:57:00',\n ),\n 118 => \n array (\n 'id' => 2119,\n 'name' => 'profound',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:01',\n 'updated_at' => '2019-03-12 05:57:01',\n ),\n 119 => \n array (\n 'id' => 2120,\n 'name' => 'choir',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:01',\n 'updated_at' => '2019-03-12 05:57:01',\n ),\n 120 => \n array (\n 'id' => 2121,\n 'name' => 'pictures',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:05',\n 'updated_at' => '2019-03-12 05:57:05',\n ),\n 121 => \n array (\n 'id' => 2122,\n 'name' => 'intention',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:06',\n 'updated_at' => '2019-03-12 05:57:06',\n ),\n 122 => \n array (\n 'id' => 2123,\n 'name' => 'confused',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:08',\n 'updated_at' => '2019-03-12 05:57:08',\n ),\n 123 => \n array (\n 'id' => 2124,\n 'name' => 'novelty',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:10',\n 'updated_at' => '2019-03-12 05:57:10',\n ),\n 124 => \n array (\n 'id' => 2125,\n 'name' => 'doors',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:11',\n 'updated_at' => '2019-03-12 05:57:11',\n ),\n 125 => \n array (\n 'id' => 2126,\n 'name' => 'population',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:11',\n 'updated_at' => '2019-03-12 05:57:11',\n ),\n 126 => \n array (\n 'id' => 2127,\n 'name' => 'player',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:12',\n 'updated_at' => '2019-03-12 05:57:12',\n ),\n 127 => \n array (\n 'id' => 2128,\n 'name' => 'american dream',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:15',\n 'updated_at' => '2019-03-12 05:57:15',\n ),\n 128 => \n array (\n 'id' => 2129,\n 'name' => 'gotten',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:16',\n 'updated_at' => '2019-03-12 05:57:16',\n ),\n 129 => \n array (\n 'id' => 2130,\n 'name' => 'smoke',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:17',\n 'updated_at' => '2019-03-12 05:57:17',\n ),\n 130 => \n array (\n 'id' => 2131,\n 'name' => 'curl',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:17',\n 'updated_at' => '2019-03-12 05:57:17',\n ),\n 131 => \n array (\n 'id' => 2132,\n 'name' => 'mere',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:17',\n 'updated_at' => '2019-03-12 05:57:17',\n ),\n 132 => \n array (\n 'id' => 2133,\n 'name' => 'scatter',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:18',\n 'updated_at' => '2019-03-12 05:57:18',\n ),\n 133 => \n array (\n 'id' => 2134,\n 'name' => 'dreamer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:18',\n 'updated_at' => '2019-03-12 05:57:18',\n ),\n 134 => \n array (\n 'id' => 2135,\n 'name' => 'satan',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:20',\n 'updated_at' => '2019-03-12 05:57:20',\n ),\n 135 => \n array (\n 'id' => 2136,\n 'name' => 'tire',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:20',\n 'updated_at' => '2019-03-12 05:57:20',\n ),\n 136 => \n array (\n 'id' => 2137,\n 'name' => 'fasting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:21',\n 'updated_at' => '2019-03-12 05:57:21',\n ),\n 137 => \n array (\n 'id' => 2138,\n 'name' => 'religious',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:22',\n 'updated_at' => '2019-03-12 05:57:22',\n ),\n 138 => \n array (\n 'id' => 2139,\n 'name' => 'wealth',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:23',\n 'updated_at' => '2019-03-12 05:57:23',\n ),\n 139 => \n array (\n 'id' => 2140,\n 'name' => 'fools',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:23',\n 'updated_at' => '2019-03-12 05:57:23',\n ),\n 140 => \n array (\n 'id' => 2141,\n 'name' => 'imagined',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:23',\n 'updated_at' => '2019-03-12 05:57:23',\n ),\n 141 => \n array (\n 'id' => 2142,\n 'name' => 'settle',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:24',\n 'updated_at' => '2019-03-12 05:57:24',\n ),\n 142 => \n array (\n 'id' => 2143,\n 'name' => 'congress',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:25',\n 'updated_at' => '2019-03-12 05:57:25',\n ),\n 143 => \n array (\n 'id' => 2144,\n 'name' => 'cure',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:27',\n 'updated_at' => '2019-03-12 05:57:27',\n ),\n 144 => \n array (\n 'id' => 2145,\n 'name' => 'ills',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:27',\n 'updated_at' => '2019-03-12 05:57:27',\n ),\n 145 => \n array (\n 'id' => 2146,\n 'name' => 'sin',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:27',\n 'updated_at' => '2019-03-12 05:57:27',\n ),\n 146 => \n array (\n 'id' => 2147,\n 'name' => 'account',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:27',\n 'updated_at' => '2019-03-12 05:57:27',\n ),\n 147 => \n array (\n 'id' => 2148,\n 'name' => 'disease',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:29',\n 'updated_at' => '2019-03-12 05:57:29',\n ),\n 148 => \n array (\n 'id' => 2149,\n 'name' => 'incurable',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:29',\n 'updated_at' => '2019-03-12 05:57:29',\n ),\n 149 => \n array (\n 'id' => 2150,\n 'name' => 'changes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:30',\n 'updated_at' => '2019-03-12 05:57:30',\n ),\n 150 => \n array (\n 'id' => 2151,\n 'name' => 'maximum',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:32',\n 'updated_at' => '2019-03-12 05:57:32',\n ),\n 151 => \n array (\n 'id' => 2152,\n 'name' => 'holy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:32',\n 'updated_at' => '2019-03-12 05:57:32',\n ),\n 152 => \n array (\n 'id' => 2153,\n 'name' => 'discipline',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:33',\n 'updated_at' => '2019-03-12 05:57:33',\n ),\n 153 => \n array (\n 'id' => 2154,\n 'name' => 'wonder',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:33',\n 'updated_at' => '2019-03-12 05:57:33',\n ),\n 154 => \n array (\n 'id' => 2155,\n 'name' => 'messenger',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:36',\n 'updated_at' => '2019-03-12 05:57:36',\n ),\n 155 => \n array (\n 'id' => 2156,\n 'name' => 'message',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:36',\n 'updated_at' => '2019-03-12 05:57:36',\n ),\n 156 => \n array (\n 'id' => 2157,\n 'name' => 'forgot',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:36',\n 'updated_at' => '2019-03-12 05:57:36',\n ),\n 157 => \n array (\n 'id' => 2158,\n 'name' => 'leads',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:37',\n 'updated_at' => '2019-03-12 05:57:37',\n ),\n 158 => \n array (\n 'id' => 2159,\n 'name' => 'secular',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:37',\n 'updated_at' => '2019-03-12 05:57:37',\n ),\n 159 => \n array (\n 'id' => 2160,\n 'name' => 'ease',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:38',\n 'updated_at' => '2019-03-12 05:57:38',\n ),\n 160 => \n array (\n 'id' => 2161,\n 'name' => 'issue',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:38',\n 'updated_at' => '2019-03-12 05:57:38',\n ),\n 161 => \n array (\n 'id' => 2162,\n 'name' => 'supreme',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:38',\n 'updated_at' => '2019-03-12 05:57:38',\n ),\n 162 => \n array (\n 'id' => 2163,\n 'name' => 'unless',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:39',\n 'updated_at' => '2019-03-12 05:57:39',\n ),\n 163 => \n array (\n 'id' => 2164,\n 'name' => 'human life',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:39',\n 'updated_at' => '2019-03-12 05:57:39',\n ),\n 164 => \n array (\n 'id' => 2165,\n 'name' => 'christ',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:39',\n 'updated_at' => '2019-03-12 05:57:39',\n ),\n 165 => \n array (\n 'id' => 2166,\n 'name' => 'existence',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:40',\n 'updated_at' => '2019-03-12 05:57:40',\n ),\n 166 => \n array (\n 'id' => 2167,\n 'name' => 'austerity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:40',\n 'updated_at' => '2019-03-12 05:57:40',\n ),\n 167 => \n array (\n 'id' => 2168,\n 'name' => 'glorious',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:41',\n 'updated_at' => '2019-03-12 05:57:41',\n ),\n 168 => \n array (\n 'id' => 2169,\n 'name' => 'pit',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:41',\n 'updated_at' => '2019-03-12 05:57:41',\n ),\n 169 => \n array (\n 'id' => 2170,\n 'name' => 'conservatism',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:41',\n 'updated_at' => '2019-03-12 05:57:41',\n ),\n 170 => \n array (\n 'id' => 2171,\n 'name' => 'bury',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:41',\n 'updated_at' => '2019-03-12 05:57:41',\n ),\n 171 => \n array (\n 'id' => 2172,\n 'name' => 'angel',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:41',\n 'updated_at' => '2019-03-12 05:57:41',\n ),\n 172 => \n array (\n 'id' => 2173,\n 'name' => 'walker',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:42',\n 'updated_at' => '2019-03-12 05:57:42',\n ),\n 173 => \n array (\n 'id' => 2174,\n 'name' => 'axe',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:44',\n 'updated_at' => '2019-03-12 05:57:44',\n ),\n 174 => \n array (\n 'id' => 2175,\n 'name' => 'recognition',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:46',\n 'updated_at' => '2019-03-12 05:57:46',\n ),\n 175 => \n array (\n 'id' => 2176,\n 'name' => 'worthy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:46',\n 'updated_at' => '2019-03-12 05:57:46',\n ),\n 176 => \n array (\n 'id' => 2177,\n 'name' => 'strive',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:46',\n 'updated_at' => '2019-03-12 05:57:46',\n ),\n 177 => \n array (\n 'id' => 2178,\n 'name' => 'stronger',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:46',\n 'updated_at' => '2019-03-12 05:57:46',\n ),\n 178 => \n array (\n 'id' => 2179,\n 'name' => 'bullet',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:47',\n 'updated_at' => '2019-03-12 05:57:47',\n ),\n 179 => \n array (\n 'id' => 2180,\n 'name' => 'ballot',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:47',\n 'updated_at' => '2019-03-12 05:57:47',\n ),\n 180 => \n array (\n 'id' => 2181,\n 'name' => 'tea',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:47',\n 'updated_at' => '2019-03-12 05:57:47',\n ),\n 181 => \n array (\n 'id' => 2182,\n 'name' => 'please',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:48',\n 'updated_at' => '2019-03-12 05:57:48',\n ),\n 182 => \n array (\n 'id' => 2183,\n 'name' => 'whatever',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:48',\n 'updated_at' => '2019-03-12 05:57:48',\n ),\n 183 => \n array (\n 'id' => 2184,\n 'name' => 'slavery',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:49',\n 'updated_at' => '2019-03-12 05:57:49',\n ),\n 184 => \n array (\n 'id' => 2185,\n 'name' => 'heaven',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:49',\n 'updated_at' => '2019-03-12 05:57:49',\n ),\n 185 => \n array (\n 'id' => 2186,\n 'name' => 'purgatory',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:49',\n 'updated_at' => '2019-03-12 05:57:49',\n ),\n 186 => \n array (\n 'id' => 2187,\n 'name' => 'nor',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:50',\n 'updated_at' => '2019-03-12 05:57:50',\n ),\n 187 => \n array (\n 'id' => 2188,\n 'name' => 'enemies',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:51',\n 'updated_at' => '2019-03-12 05:57:51',\n ),\n 188 => \n array (\n 'id' => 2189,\n 'name' => 'present moment',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:52',\n 'updated_at' => '2019-03-12 05:57:52',\n ),\n 189 => \n array (\n 'id' => 2190,\n 'name' => 'mental',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:52',\n 'updated_at' => '2019-03-12 05:57:52',\n ),\n 190 => \n array (\n 'id' => 2191,\n 'name' => 'hammer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:53',\n 'updated_at' => '2019-03-12 05:57:53',\n ),\n 191 => \n array (\n 'id' => 2192,\n 'name' => 'insane',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:54',\n 'updated_at' => '2019-03-12 05:57:54',\n ),\n 192 => \n array (\n 'id' => 2193,\n 'name' => 'rise',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:56',\n 'updated_at' => '2019-03-12 05:57:56',\n ),\n 193 => \n array (\n 'id' => 2194,\n 'name' => 'ourselves',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:57',\n 'updated_at' => '2019-03-12 05:57:57',\n ),\n 194 => \n array (\n 'id' => 2195,\n 'name' => 'therapy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:57:58',\n 'updated_at' => '2019-03-12 05:57:58',\n ),\n 195 => \n array (\n 'id' => 2196,\n 'name' => 'human nature',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:00',\n 'updated_at' => '2019-03-12 05:58:00',\n ),\n 196 => \n array (\n 'id' => 2197,\n 'name' => 'selling',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:00',\n 'updated_at' => '2019-03-12 05:58:00',\n ),\n 197 => \n array (\n 'id' => 2198,\n 'name' => 'hopeless',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:01',\n 'updated_at' => '2019-03-12 05:58:01',\n ),\n 198 => \n array (\n 'id' => 2199,\n 'name' => 'yellow',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:02',\n 'updated_at' => '2019-03-12 05:58:02',\n ),\n 199 => \n array (\n 'id' => 2200,\n 'name' => 'rules',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:03',\n 'updated_at' => '2019-03-12 05:58:03',\n ),\n 200 => \n array (\n 'id' => 2201,\n 'name' => 'honorable',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:04',\n 'updated_at' => '2019-03-12 05:58:04',\n ),\n 201 => \n array (\n 'id' => 2202,\n 'name' => 'final',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:06',\n 'updated_at' => '2019-03-12 05:58:06',\n ),\n 202 => \n array (\n 'id' => 2203,\n 'name' => 'finally',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:06',\n 'updated_at' => '2019-03-12 05:58:06',\n ),\n 203 => \n array (\n 'id' => 2204,\n 'name' => 'moral',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:06',\n 'updated_at' => '2019-03-12 05:58:06',\n ),\n 204 => \n array (\n 'id' => 2205,\n 'name' => 'do you know',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:08',\n 'updated_at' => '2019-03-12 05:58:08',\n ),\n 205 => \n array (\n 'id' => 2206,\n 'name' => 'california',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:10',\n 'updated_at' => '2019-03-12 05:58:10',\n ),\n 206 => \n array (\n 'id' => 2207,\n 'name' => 'medical school',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:12',\n 'updated_at' => '2019-03-12 05:58:12',\n ),\n 207 => \n array (\n 'id' => 2208,\n 'name' => 'cancer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:12',\n 'updated_at' => '2019-03-12 05:58:12',\n ),\n 208 => \n array (\n 'id' => 2209,\n 'name' => 'destiny',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:12',\n 'updated_at' => '2019-03-12 05:58:12',\n ),\n 209 => \n array (\n 'id' => 2210,\n 'name' => 'genetic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:13',\n 'updated_at' => '2019-03-12 05:58:13',\n ),\n 210 => \n array (\n 'id' => 2211,\n 'name' => 'heartbeat',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:15',\n 'updated_at' => '2019-03-12 05:58:15',\n ),\n 211 => \n array (\n 'id' => 2212,\n 'name' => 'clumsy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:15',\n 'updated_at' => '2019-03-12 05:58:15',\n ),\n 212 => \n array (\n 'id' => 2213,\n 'name' => 'patients',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:15',\n 'updated_at' => '2019-03-12 05:58:15',\n ),\n 213 => \n array (\n 'id' => 2214,\n 'name' => 'exam',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:16',\n 'updated_at' => '2019-03-12 05:58:16',\n ),\n 214 => \n array (\n 'id' => 2215,\n 'name' => 'poison',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:17',\n 'updated_at' => '2019-03-12 05:58:17',\n ),\n 215 => \n array (\n 'id' => 2216,\n 'name' => 'healing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:17',\n 'updated_at' => '2019-03-12 05:58:17',\n ),\n 216 => \n array (\n 'id' => 2217,\n 'name' => 'looking back',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:19',\n 'updated_at' => '2019-03-12 05:58:19',\n ),\n 217 => \n array (\n 'id' => 2218,\n 'name' => 'uncle',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:19',\n 'updated_at' => '2019-03-12 05:58:19',\n ),\n 218 => \n array (\n 'id' => 2219,\n 'name' => 'daddy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:19',\n 'updated_at' => '2019-03-12 05:58:19',\n ),\n 219 => \n array (\n 'id' => 2220,\n 'name' => 'mentor',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:20',\n 'updated_at' => '2019-03-12 05:58:20',\n ),\n 220 => \n array (\n 'id' => 2221,\n 'name' => 'dogs',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:22',\n 'updated_at' => '2019-03-12 05:58:22',\n ),\n 221 => \n array (\n 'id' => 2222,\n 'name' => 'defense',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:24',\n 'updated_at' => '2019-03-12 05:58:24',\n ),\n 222 => \n array (\n 'id' => 2223,\n 'name' => 'capitol',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:24',\n 'updated_at' => '2019-03-12 05:58:24',\n ),\n 223 => \n array (\n 'id' => 2224,\n 'name' => 'ammunition',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:24',\n 'updated_at' => '2019-03-12 05:58:24',\n ),\n 224 => \n array (\n 'id' => 2225,\n 'name' => 'forward',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:25',\n 'updated_at' => '2019-03-12 05:58:25',\n ),\n 225 => \n array (\n 'id' => 2226,\n 'name' => 'falling',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:25',\n 'updated_at' => '2019-03-12 05:58:25',\n ),\n 226 => \n array (\n 'id' => 2227,\n 'name' => 'towards',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:26',\n 'updated_at' => '2019-03-12 05:58:26',\n ),\n 227 => \n array (\n 'id' => 2228,\n 'name' => 'walked',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:26',\n 'updated_at' => '2019-03-12 05:58:26',\n ),\n 228 => \n array (\n 'id' => 2229,\n 'name' => '',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:26',\n 'updated_at' => '2019-03-12 05:58:26',\n ),\n 229 => \n array (\n 'id' => 2230,\n 'name' => 'remorse',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:30',\n 'updated_at' => '2019-03-12 05:58:30',\n ),\n 230 => \n array (\n 'id' => 2231,\n 'name' => 'chasing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:30',\n 'updated_at' => '2019-03-12 05:58:30',\n ),\n 231 => \n array (\n 'id' => 2232,\n 'name' => 'added',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:32',\n 'updated_at' => '2019-03-12 05:58:32',\n ),\n 232 => \n array (\n 'id' => 2233,\n 'name' => 'dollar',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:34',\n 'updated_at' => '2019-03-12 05:58:34',\n ),\n 233 => \n array (\n 'id' => 2234,\n 'name' => 'revelation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:35',\n 'updated_at' => '2019-03-12 05:58:35',\n ),\n 234 => \n array (\n 'id' => 2235,\n 'name' => 'honour',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:35',\n 'updated_at' => '2019-03-12 05:58:35',\n ),\n 235 => \n array (\n 'id' => 2236,\n 'name' => 'muslims',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:37',\n 'updated_at' => '2019-03-12 05:58:37',\n ),\n 236 => \n array (\n 'id' => 2237,\n 'name' => 'soft',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:37',\n 'updated_at' => '2019-03-12 05:58:37',\n ),\n 237 => \n array (\n 'id' => 2238,\n 'name' => 'lies',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:38',\n 'updated_at' => '2019-03-12 05:58:38',\n ),\n 238 => \n array (\n 'id' => 2239,\n 'name' => 'awe',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:38',\n 'updated_at' => '2019-03-12 05:58:38',\n ),\n 239 => \n array (\n 'id' => 2240,\n 'name' => 'defeated',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:39',\n 'updated_at' => '2019-03-12 05:58:39',\n ),\n 240 => \n array (\n 'id' => 2241,\n 'name' => 'sophisticated',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:39',\n 'updated_at' => '2019-03-12 05:58:39',\n ),\n 241 => \n array (\n 'id' => 2242,\n 'name' => 'determination',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:39',\n 'updated_at' => '2019-03-12 05:58:39',\n ),\n 242 => \n array (\n 'id' => 2243,\n 'name' => 'curse',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:41',\n 'updated_at' => '2019-03-12 05:58:41',\n ),\n 243 => \n array (\n 'id' => 2244,\n 'name' => 'afterlife',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:42',\n 'updated_at' => '2019-03-12 05:58:42',\n ),\n 244 => \n array (\n 'id' => 2245,\n 'name' => 'later',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:42',\n 'updated_at' => '2019-03-12 05:58:42',\n ),\n 245 => \n array (\n 'id' => 2246,\n 'name' => 'iron',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:42',\n 'updated_at' => '2019-03-12 05:58:42',\n ),\n 246 => \n array (\n 'id' => 2247,\n 'name' => 'case',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:42',\n 'updated_at' => '2019-03-12 05:58:42',\n ),\n 247 => \n array (\n 'id' => 2248,\n 'name' => 'stable',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:43',\n 'updated_at' => '2019-03-12 05:58:43',\n ),\n 248 => \n array (\n 'id' => 2249,\n 'name' => 'fixed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:43',\n 'updated_at' => '2019-03-12 05:58:43',\n ),\n 249 => \n array (\n 'id' => 2250,\n 'name' => 'ordered',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:43',\n 'updated_at' => '2019-03-12 05:58:43',\n ),\n 250 => \n array (\n 'id' => 2251,\n 'name' => 'number',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:44',\n 'updated_at' => '2019-03-12 05:58:44',\n ),\n 251 => \n array (\n 'id' => 2252,\n 'name' => 'pure',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:44',\n 'updated_at' => '2019-03-12 05:58:44',\n ),\n 252 => \n array (\n 'id' => 2253,\n 'name' => 'model',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:44',\n 'updated_at' => '2019-03-12 05:58:44',\n ),\n 253 => \n array (\n 'id' => 2254,\n 'name' => 'swallow',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:45',\n 'updated_at' => '2019-03-12 05:58:45',\n ),\n 254 => \n array (\n 'id' => 2255,\n 'name' => 'allah',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:45',\n 'updated_at' => '2019-03-12 05:58:45',\n ),\n 255 => \n array (\n 'id' => 2256,\n 'name' => 'dishonesty',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:47',\n 'updated_at' => '2019-03-12 05:58:47',\n ),\n 256 => \n array (\n 'id' => 2257,\n 'name' => 'useless',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:47',\n 'updated_at' => '2019-03-12 05:58:47',\n ),\n 257 => \n array (\n 'id' => 2258,\n 'name' => 'be kind',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:47',\n 'updated_at' => '2019-03-12 05:58:47',\n ),\n 258 => \n array (\n 'id' => 2259,\n 'name' => 'jihad',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:48',\n 'updated_at' => '2019-03-12 05:58:48',\n ),\n 259 => \n array (\n 'id' => 2260,\n 'name' => 'worse',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:49',\n 'updated_at' => '2019-03-12 05:58:49',\n ),\n 260 => \n array (\n 'id' => 2261,\n 'name' => 'complaint',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:50',\n 'updated_at' => '2019-03-12 05:58:50',\n ),\n 261 => \n array (\n 'id' => 2262,\n 'name' => 'invites',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:50',\n 'updated_at' => '2019-03-12 05:58:50',\n ),\n 262 => \n array (\n 'id' => 2263,\n 'name' => 'right path',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:51',\n 'updated_at' => '2019-03-12 05:58:51',\n ),\n 263 => \n array (\n 'id' => 2264,\n 'name' => 'affliction',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:52',\n 'updated_at' => '2019-03-12 05:58:52',\n ),\n 264 => \n array (\n 'id' => 2265,\n 'name' => 'believer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:52',\n 'updated_at' => '2019-03-12 05:58:52',\n ),\n 265 => \n array (\n 'id' => 2266,\n 'name' => 'restored',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:55',\n 'updated_at' => '2019-03-12 05:58:55',\n ),\n 266 => \n array (\n 'id' => 2267,\n 'name' => 'profit',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:56',\n 'updated_at' => '2019-03-12 05:58:56',\n ),\n 267 => \n array (\n 'id' => 2268,\n 'name' => 'limit',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:58',\n 'updated_at' => '2019-03-12 05:58:58',\n ),\n 268 => \n array (\n 'id' => 2269,\n 'name' => 'exploitation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:58',\n 'updated_at' => '2019-03-12 05:58:58',\n ),\n 269 => \n array (\n 'id' => 2270,\n 'name' => 'folly',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:59',\n 'updated_at' => '2019-03-12 05:58:59',\n ),\n 270 => \n array (\n 'id' => 2271,\n 'name' => 'manifest',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:58:59',\n 'updated_at' => '2019-03-12 05:58:59',\n ),\n 271 => \n array (\n 'id' => 2272,\n 'name' => 'loan',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:00',\n 'updated_at' => '2019-03-12 05:59:00',\n ),\n 272 => \n array (\n 'id' => 2273,\n 'name' => 'abode',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:00',\n 'updated_at' => '2019-03-12 05:59:00',\n ),\n 273 => \n array (\n 'id' => 2274,\n 'name' => 'paradise',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:00',\n 'updated_at' => '2019-03-12 05:59:00',\n ),\n 274 => \n array (\n 'id' => 2275,\n 'name' => 'purchasing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:03',\n 'updated_at' => '2019-03-12 05:59:03',\n ),\n 275 => \n array (\n 'id' => 2276,\n 'name' => 'obligatory',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:03',\n 'updated_at' => '2019-03-12 05:59:03',\n ),\n 276 => \n array (\n 'id' => 2277,\n 'name' => 'burger',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:04',\n 'updated_at' => '2019-03-12 05:59:04',\n ),\n 277 => \n array (\n 'id' => 2278,\n 'name' => 'fancy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:04',\n 'updated_at' => '2019-03-12 05:59:04',\n ),\n 278 => \n array (\n 'id' => 2279,\n 'name' => 'meals',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:04',\n 'updated_at' => '2019-03-12 05:59:04',\n ),\n 279 => \n array (\n 'id' => 2280,\n 'name' => 'mistake',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:05',\n 'updated_at' => '2019-03-12 05:59:05',\n ),\n 280 => \n array (\n 'id' => 2281,\n 'name' => 'gifts',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:08',\n 'updated_at' => '2019-03-12 05:59:08',\n ),\n 281 => \n array (\n 'id' => 2282,\n 'name' => 'royalty',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:15',\n 'updated_at' => '2019-03-12 05:59:15',\n ),\n 282 => \n array (\n 'id' => 2283,\n 'name' => 'check',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:16',\n 'updated_at' => '2019-03-12 05:59:16',\n ),\n 283 => \n array (\n 'id' => 2284,\n 'name' => 'good friends',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:19',\n 'updated_at' => '2019-03-12 05:59:19',\n ),\n 284 => \n array (\n 'id' => 2285,\n 'name' => 'bass',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:20',\n 'updated_at' => '2019-03-12 05:59:20',\n ),\n 285 => \n array (\n 'id' => 2286,\n 'name' => 'played',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:20',\n 'updated_at' => '2019-03-12 05:59:20',\n ),\n 286 => \n array (\n 'id' => 2287,\n 'name' => 'wear',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:21',\n 'updated_at' => '2019-03-12 05:59:21',\n ),\n 287 => \n array (\n 'id' => 2288,\n 'name' => 'outfits',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:21',\n 'updated_at' => '2019-03-12 05:59:21',\n ),\n 288 => \n array (\n 'id' => 2289,\n 'name' => 'best friend',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:22',\n 'updated_at' => '2019-03-12 05:59:22',\n ),\n 289 => \n array (\n 'id' => 2290,\n 'name' => 'idol',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:24',\n 'updated_at' => '2019-03-12 05:59:24',\n ),\n 290 => \n array (\n 'id' => 2291,\n 'name' => 'youngest',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:25',\n 'updated_at' => '2019-03-12 05:59:25',\n ),\n 291 => \n array (\n 'id' => 2292,\n 'name' => 'performance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:26',\n 'updated_at' => '2019-03-12 05:59:26',\n ),\n 292 => \n array (\n 'id' => 2293,\n 'name' => 'generations',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:26',\n 'updated_at' => '2019-03-12 05:59:26',\n ),\n 293 => \n array (\n 'id' => 2294,\n 'name' => 'projects',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:26',\n 'updated_at' => '2019-03-12 05:59:26',\n ),\n 294 => \n array (\n 'id' => 2295,\n 'name' => 'fashion',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:26',\n 'updated_at' => '2019-03-12 05:59:26',\n ),\n 295 => \n array (\n 'id' => 2296,\n 'name' => 'crisis',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:27',\n 'updated_at' => '2019-03-12 05:59:27',\n ),\n 296 => \n array (\n 'id' => 2297,\n 'name' => 'alright',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:27',\n 'updated_at' => '2019-03-12 05:59:27',\n ),\n 297 => \n array (\n 'id' => 2298,\n 'name' => 'psychedelic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:28',\n 'updated_at' => '2019-03-12 05:59:28',\n ),\n 298 => \n array (\n 'id' => 2299,\n 'name' => 'tan',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:29',\n 'updated_at' => '2019-03-12 05:59:29',\n ),\n 299 => \n array (\n 'id' => 2300,\n 'name' => 'bake',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:29',\n 'updated_at' => '2019-03-12 05:59:29',\n ),\n 300 => \n array (\n 'id' => 2301,\n 'name' => 'street',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:30',\n 'updated_at' => '2019-03-12 05:59:30',\n ),\n 301 => \n array (\n 'id' => 2302,\n 'name' => 'festivals',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:30',\n 'updated_at' => '2019-03-12 05:59:30',\n ),\n 302 => \n array (\n 'id' => 2303,\n 'name' => 'pick',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:34',\n 'updated_at' => '2019-03-12 05:59:34',\n ),\n 303 => \n array (\n 'id' => 2304,\n 'name' => 'blame',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:35',\n 'updated_at' => '2019-03-12 05:59:35',\n ),\n 304 => \n array (\n 'id' => 2305,\n 'name' => 'rapper',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:36',\n 'updated_at' => '2019-03-12 05:59:36',\n ),\n 305 => \n array (\n 'id' => 2306,\n 'name' => 'rap',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:36',\n 'updated_at' => '2019-03-12 05:59:36',\n ),\n 306 => \n array (\n 'id' => 2307,\n 'name' => 'inspire',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:37',\n 'updated_at' => '2019-03-12 05:59:37',\n ),\n 307 => \n array (\n 'id' => 2308,\n 'name' => 'deep',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:39',\n 'updated_at' => '2019-03-12 05:59:39',\n ),\n 308 => \n array (\n 'id' => 2309,\n 'name' => 'sculpture',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:40',\n 'updated_at' => '2019-03-12 05:59:40',\n ),\n 309 => \n array (\n 'id' => 2310,\n 'name' => 'else',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:40',\n 'updated_at' => '2019-03-12 05:59:40',\n ),\n 310 => \n array (\n 'id' => 2311,\n 'name' => 'everything else',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:40',\n 'updated_at' => '2019-03-12 05:59:40',\n ),\n 311 => \n array (\n 'id' => 2312,\n 'name' => 'tried',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:41',\n 'updated_at' => '2019-03-12 05:59:41',\n ),\n 312 => \n array (\n 'id' => 2313,\n 'name' => 'marketplace',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:41',\n 'updated_at' => '2019-03-12 05:59:41',\n ),\n 313 => \n array (\n 'id' => 2314,\n 'name' => 'i tried',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:41',\n 'updated_at' => '2019-03-12 05:59:41',\n ),\n 314 => \n array (\n 'id' => 2315,\n 'name' => 'brooklyn',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:42',\n 'updated_at' => '2019-03-12 05:59:42',\n ),\n 315 => \n array (\n 'id' => 2316,\n 'name' => 'rebel',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:44',\n 'updated_at' => '2019-03-12 05:59:44',\n ),\n 316 => \n array (\n 'id' => 2317,\n 'name' => 'compass',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:44',\n 'updated_at' => '2019-03-12 05:59:44',\n ),\n 317 => \n array (\n 'id' => 2318,\n 'name' => 'anchor',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:44',\n 'updated_at' => '2019-03-12 05:59:44',\n ),\n 318 => \n array (\n 'id' => 2319,\n 'name' => 'beacon',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:45',\n 'updated_at' => '2019-03-12 05:59:45',\n ),\n 319 => \n array (\n 'id' => 2320,\n 'name' => 'hold',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:45',\n 'updated_at' => '2019-03-12 05:59:45',\n ),\n 320 => \n array (\n 'id' => 2321,\n 'name' => 'sparks',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:45',\n 'updated_at' => '2019-03-12 05:59:45',\n ),\n 321 => \n array (\n 'id' => 2322,\n 'name' => 'thus',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:45',\n 'updated_at' => '2019-03-12 05:59:45',\n ),\n 322 => \n array (\n 'id' => 2323,\n 'name' => 'hopes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:46',\n 'updated_at' => '2019-03-12 05:59:46',\n ),\n 323 => \n array (\n 'id' => 2324,\n 'name' => 'railroad',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:46',\n 'updated_at' => '2019-03-12 05:59:46',\n ),\n 324 => \n array (\n 'id' => 2325,\n 'name' => 'obsolete',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:46',\n 'updated_at' => '2019-03-12 05:59:46',\n ),\n 325 => \n array (\n 'id' => 2326,\n 'name' => 'marble',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:47',\n 'updated_at' => '2019-03-12 05:59:47',\n ),\n 326 => \n array (\n 'id' => 2327,\n 'name' => 'excellent',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:47',\n 'updated_at' => '2019-03-12 05:59:47',\n ),\n 327 => \n array (\n 'id' => 2328,\n 'name' => 'over it',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:48',\n 'updated_at' => '2019-03-12 05:59:48',\n ),\n 328 => \n array (\n 'id' => 2329,\n 'name' => 'libraries',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:48',\n 'updated_at' => '2019-03-12 05:59:48',\n ),\n 329 => \n array (\n 'id' => 2330,\n 'name' => 'drunk',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:48',\n 'updated_at' => '2019-03-12 05:59:48',\n ),\n 330 => \n array (\n 'id' => 2331,\n 'name' => 'clearly',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:49',\n 'updated_at' => '2019-03-12 05:59:49',\n ),\n 331 => \n array (\n 'id' => 2332,\n 'name' => 'endless',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:49',\n 'updated_at' => '2019-03-12 05:59:49',\n ),\n 332 => \n array (\n 'id' => 2333,\n 'name' => 'mock',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:49',\n 'updated_at' => '2019-03-12 05:59:49',\n ),\n 333 => \n array (\n 'id' => 2334,\n 'name' => 'wings',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:49',\n 'updated_at' => '2019-03-12 05:59:49',\n ),\n 334 => \n array (\n 'id' => 2335,\n 'name' => 'unseen',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:50',\n 'updated_at' => '2019-03-12 05:59:50',\n ),\n 335 => \n array (\n 'id' => 2336,\n 'name' => 'engine',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:50',\n 'updated_at' => '2019-03-12 05:59:50',\n ),\n 336 => \n array (\n 'id' => 2337,\n 'name' => 'steam',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:51',\n 'updated_at' => '2019-03-12 05:59:51',\n ),\n 337 => \n array (\n 'id' => 2338,\n 'name' => 'mathematics',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:52',\n 'updated_at' => '2019-03-12 05:59:52',\n ),\n 338 => \n array (\n 'id' => 2339,\n 'name' => 'nervous',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:52',\n 'updated_at' => '2019-03-12 05:59:52',\n ),\n 339 => \n array (\n 'id' => 2340,\n 'name' => 'shall',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:53',\n 'updated_at' => '2019-03-12 05:59:53',\n ),\n 340 => \n array (\n 'id' => 2341,\n 'name' => 'due',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:53',\n 'updated_at' => '2019-03-12 05:59:53',\n ),\n 341 => \n array (\n 'id' => 2342,\n 'name' => 'patterns',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:54',\n 'updated_at' => '2019-03-12 05:59:54',\n ),\n 342 => \n array (\n 'id' => 2343,\n 'name' => 'horse',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:55',\n 'updated_at' => '2019-03-12 05:59:55',\n ),\n 343 => \n array (\n 'id' => 2344,\n 'name' => 'glory',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 05:59:59',\n 'updated_at' => '2019-03-12 05:59:59',\n ),\n 344 => \n array (\n 'id' => 2345,\n 'name' => 'haircut',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:00',\n 'updated_at' => '2019-03-12 06:00:00',\n ),\n 345 => \n array (\n 'id' => 2346,\n 'name' => 'conquer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:00',\n 'updated_at' => '2019-03-12 06:00:00',\n ),\n 346 => \n array (\n 'id' => 2347,\n 'name' => 'dna',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:01',\n 'updated_at' => '2019-03-12 06:00:01',\n ),\n 347 => \n array (\n 'id' => 2348,\n 'name' => 'idiot',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:03',\n 'updated_at' => '2019-03-12 06:00:03',\n ),\n 348 => \n array (\n 'id' => 2349,\n 'name' => 'village',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:03',\n 'updated_at' => '2019-03-12 06:00:03',\n ),\n 349 => \n array (\n 'id' => 2350,\n 'name' => 'stadium',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:04',\n 'updated_at' => '2019-03-12 06:00:04',\n ),\n 350 => \n array (\n 'id' => 2351,\n 'name' => 'aggressive',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:05',\n 'updated_at' => '2019-03-12 06:00:05',\n ),\n 351 => \n array (\n 'id' => 2352,\n 'name' => 'proteins',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:07',\n 'updated_at' => '2019-03-12 06:00:07',\n ),\n 352 => \n array (\n 'id' => 2353,\n 'name' => 'simultaneously',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:07',\n 'updated_at' => '2019-03-12 06:00:07',\n ),\n 353 => \n array (\n 'id' => 2354,\n 'name' => 'instructions',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:08',\n 'updated_at' => '2019-03-12 06:00:08',\n ),\n 354 => \n array (\n 'id' => 2355,\n 'name' => 'men and women',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:10',\n 'updated_at' => '2019-03-12 06:00:10',\n ),\n 355 => \n array (\n 'id' => 2356,\n 'name' => 'mental health',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:12',\n 'updated_at' => '2019-03-12 06:00:12',\n ),\n 356 => \n array (\n 'id' => 2357,\n 'name' => 'became',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:13',\n 'updated_at' => '2019-03-12 06:00:13',\n ),\n 357 => \n array (\n 'id' => 2358,\n 'name' => 'ants',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:14',\n 'updated_at' => '2019-03-12 06:00:14',\n ),\n 358 => \n array (\n 'id' => 2359,\n 'name' => 'depression',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:15',\n 'updated_at' => '2019-03-12 06:00:15',\n ),\n 359 => \n array (\n 'id' => 2360,\n 'name' => 'cult',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:16',\n 'updated_at' => '2019-03-12 06:00:16',\n ),\n 360 => \n array (\n 'id' => 2361,\n 'name' => 'infamous',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:16',\n 'updated_at' => '2019-03-12 06:00:16',\n ),\n 361 => \n array (\n 'id' => 2362,\n 'name' => 'rocket',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:19',\n 'updated_at' => '2019-03-12 06:00:19',\n ),\n 362 => \n array (\n 'id' => 2363,\n 'name' => 'enjoyed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:20',\n 'updated_at' => '2019-03-12 06:00:20',\n ),\n 363 => \n array (\n 'id' => 2364,\n 'name' => 'touring',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:20',\n 'updated_at' => '2019-03-12 06:00:20',\n ),\n 364 => \n array (\n 'id' => 2365,\n 'name' => 'consistency',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:21',\n 'updated_at' => '2019-03-12 06:00:21',\n ),\n 365 => \n array (\n 'id' => 2366,\n 'name' => 'sales',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:21',\n 'updated_at' => '2019-03-12 06:00:21',\n ),\n 366 => \n array (\n 'id' => 2367,\n 'name' => 'record',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:21',\n 'updated_at' => '2019-03-12 06:00:21',\n ),\n 367 => \n array (\n 'id' => 2368,\n 'name' => 'samples',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:22',\n 'updated_at' => '2019-03-12 06:00:22',\n ),\n 368 => \n array (\n 'id' => 2369,\n 'name' => 'tricks',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:22',\n 'updated_at' => '2019-03-12 06:00:22',\n ),\n 369 => \n array (\n 'id' => 2370,\n 'name' => 'date',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:24',\n 'updated_at' => '2019-03-12 06:00:24',\n ),\n 370 => \n array (\n 'id' => 2371,\n 'name' => 'general',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:24',\n 'updated_at' => '2019-03-12 06:00:24',\n ),\n 371 => \n array (\n 'id' => 2372,\n 'name' => 'genre',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:24',\n 'updated_at' => '2019-03-12 06:00:24',\n ),\n 372 => \n array (\n 'id' => 2373,\n 'name' => 'fault',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:25',\n 'updated_at' => '2019-03-12 06:00:25',\n ),\n 373 => \n array (\n 'id' => 2374,\n 'name' => 'weird',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:27',\n 'updated_at' => '2019-03-12 06:00:27',\n ),\n 374 => \n array (\n 'id' => 2375,\n 'name' => 'drama',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:27',\n 'updated_at' => '2019-03-12 06:00:27',\n ),\n 375 => \n array (\n 'id' => 2376,\n 'name' => 'healthy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:28',\n 'updated_at' => '2019-03-12 06:00:28',\n ),\n 376 => \n array (\n 'id' => 2377,\n 'name' => 'fungus',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:31',\n 'updated_at' => '2019-03-12 06:00:31',\n ),\n 377 => \n array (\n 'id' => 2378,\n 'name' => 'rid',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:31',\n 'updated_at' => '2019-03-12 06:00:31',\n ),\n 378 => \n array (\n 'id' => 2379,\n 'name' => 'hours',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:31',\n 'updated_at' => '2019-03-12 06:00:31',\n ),\n 379 => \n array (\n 'id' => 2380,\n 'name' => 'technique',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:32',\n 'updated_at' => '2019-03-12 06:00:32',\n ),\n 380 => \n array (\n 'id' => 2381,\n 'name' => 'begets',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:32',\n 'updated_at' => '2019-03-12 06:00:32',\n ),\n 381 => \n array (\n 'id' => 2382,\n 'name' => 'tall',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:34',\n 'updated_at' => '2019-03-12 06:00:34',\n ),\n 382 => \n array (\n 'id' => 2383,\n 'name' => 'pilots',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:34',\n 'updated_at' => '2019-03-12 06:00:34',\n ),\n 383 => \n array (\n 'id' => 2384,\n 'name' => 'tested',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:34',\n 'updated_at' => '2019-03-12 06:00:34',\n ),\n 384 => \n array (\n 'id' => 2385,\n 'name' => 'dicaprio',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:38',\n 'updated_at' => '2019-03-12 06:00:38',\n ),\n 385 => \n array (\n 'id' => 2386,\n 'name' => 'leonardo',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:38',\n 'updated_at' => '2019-03-12 06:00:38',\n ),\n 386 => \n array (\n 'id' => 2387,\n 'name' => 'leonardo dicaprio',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:38',\n 'updated_at' => '2019-03-12 06:00:38',\n ),\n 387 => \n array (\n 'id' => 2388,\n 'name' => 'spirit',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:40',\n 'updated_at' => '2019-03-12 06:00:40',\n ),\n 388 => \n array (\n 'id' => 2389,\n 'name' => 'motivate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:42',\n 'updated_at' => '2019-03-12 06:00:42',\n ),\n 389 => \n array (\n 'id' => 2390,\n 'name' => 'realism',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:43',\n 'updated_at' => '2019-03-12 06:00:43',\n ),\n 390 => \n array (\n 'id' => 2391,\n 'name' => 'fly',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:44',\n 'updated_at' => '2019-03-12 06:00:44',\n ),\n 391 => \n array (\n 'id' => 2392,\n 'name' => 'woods',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:47',\n 'updated_at' => '2019-03-12 06:00:47',\n ),\n 392 => \n array (\n 'id' => 2393,\n 'name' => 'accountability',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:50',\n 'updated_at' => '2019-03-12 06:00:50',\n ),\n 393 => \n array (\n 'id' => 2394,\n 'name' => 'celebrity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:50',\n 'updated_at' => '2019-03-12 06:00:50',\n ),\n 394 => \n array (\n 'id' => 2395,\n 'name' => 'collaboration',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:55',\n 'updated_at' => '2019-03-12 06:00:55',\n ),\n 395 => \n array (\n 'id' => 2396,\n 'name' => 'replace',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:57',\n 'updated_at' => '2019-03-12 06:00:57',\n ),\n 396 => \n array (\n 'id' => 2397,\n 'name' => 'programs',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:57',\n 'updated_at' => '2019-03-12 06:00:57',\n ),\n 397 => \n array (\n 'id' => 2398,\n 'name' => 'silver',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:58',\n 'updated_at' => '2019-03-12 06:00:58',\n ),\n 398 => \n array (\n 'id' => 2399,\n 'name' => 'humour',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:00:59',\n 'updated_at' => '2019-03-12 06:00:59',\n ),\n 399 => \n array (\n 'id' => 2400,\n 'name' => 'do your best',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:00',\n 'updated_at' => '2019-03-12 06:01:00',\n ),\n 400 => \n array (\n 'id' => 2401,\n 'name' => 'client',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:03',\n 'updated_at' => '2019-03-12 06:01:03',\n ),\n 401 => \n array (\n 'id' => 2402,\n 'name' => 'conversation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:04',\n 'updated_at' => '2019-03-12 06:01:04',\n ),\n 402 => \n array (\n 'id' => 2403,\n 'name' => 'offensive',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:07',\n 'updated_at' => '2019-03-12 06:01:07',\n ),\n 403 => \n array (\n 'id' => 2404,\n 'name' => 'smoking',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:09',\n 'updated_at' => '2019-03-12 06:01:09',\n ),\n 404 => \n array (\n 'id' => 2405,\n 'name' => 'lousy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:11',\n 'updated_at' => '2019-03-12 06:01:11',\n ),\n 405 => \n array (\n 'id' => 2406,\n 'name' => 'hindsight',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:12',\n 'updated_at' => '2019-03-12 06:01:12',\n ),\n 406 => \n array (\n 'id' => 2407,\n 'name' => 'diversity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:12',\n 'updated_at' => '2019-03-12 06:01:12',\n ),\n 407 => \n array (\n 'id' => 2408,\n 'name' => 'looking forward',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:13',\n 'updated_at' => '2019-03-12 06:01:13',\n ),\n 408 => \n array (\n 'id' => 2409,\n 'name' => 'intellectual',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:13',\n 'updated_at' => '2019-03-12 06:01:13',\n ),\n 409 => \n array (\n 'id' => 2410,\n 'name' => 'jokes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:14',\n 'updated_at' => '2019-03-12 06:01:14',\n ),\n 410 => \n array (\n 'id' => 2411,\n 'name' => 'hobbit',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:15',\n 'updated_at' => '2019-03-12 06:01:15',\n ),\n 411 => \n array (\n 'id' => 2412,\n 'name' => 'sandwiches',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:16',\n 'updated_at' => '2019-03-12 06:01:16',\n ),\n 412 => \n array (\n 'id' => 2413,\n 'name' => 'motorcycle',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:17',\n 'updated_at' => '2019-03-12 06:01:17',\n ),\n 413 => \n array (\n 'id' => 2414,\n 'name' => 'taxes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:18',\n 'updated_at' => '2019-03-12 06:01:18',\n ),\n 414 => \n array (\n 'id' => 2415,\n 'name' => 'depressed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:19',\n 'updated_at' => '2019-03-12 06:01:19',\n ),\n 415 => \n array (\n 'id' => 2416,\n 'name' => 'maybe',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:21',\n 'updated_at' => '2019-03-12 06:01:21',\n ),\n 416 => \n array (\n 'id' => 2417,\n 'name' => 'course',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:22',\n 'updated_at' => '2019-03-12 06:01:22',\n ),\n 417 => \n array (\n 'id' => 2418,\n 'name' => 'hyperbole',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:22',\n 'updated_at' => '2019-03-12 06:01:22',\n ),\n 418 => \n array (\n 'id' => 2419,\n 'name' => 'new life',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:23',\n 'updated_at' => '2019-03-12 06:01:23',\n ),\n 419 => \n array (\n 'id' => 2420,\n 'name' => 'comedians',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:24',\n 'updated_at' => '2019-03-12 06:01:24',\n ),\n 420 => \n array (\n 'id' => 2421,\n 'name' => 'comedian',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:24',\n 'updated_at' => '2019-03-12 06:01:24',\n ),\n 421 => \n array (\n 'id' => 2422,\n 'name' => 'joke',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:25',\n 'updated_at' => '2019-03-12 06:01:25',\n ),\n 422 => \n array (\n 'id' => 2423,\n 'name' => 'sorry',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:27',\n 'updated_at' => '2019-03-12 06:01:27',\n ),\n 423 => \n array (\n 'id' => 2424,\n 'name' => 'card',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:28',\n 'updated_at' => '2019-03-12 06:01:28',\n ),\n 424 => \n array (\n 'id' => 2425,\n 'name' => 'cue',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:28',\n 'updated_at' => '2019-03-12 06:01:28',\n ),\n 425 => \n array (\n 'id' => 2426,\n 'name' => 'pause',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:28',\n 'updated_at' => '2019-03-12 06:01:28',\n ),\n 426 => \n array (\n 'id' => 2427,\n 'name' => 'moody',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:29',\n 'updated_at' => '2019-03-12 06:01:29',\n ),\n 427 => \n array (\n 'id' => 2428,\n 'name' => 'simplicity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:30',\n 'updated_at' => '2019-03-12 06:01:30',\n ),\n 428 => \n array (\n 'id' => 2429,\n 'name' => 'lift',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:30',\n 'updated_at' => '2019-03-12 06:01:30',\n ),\n 429 => \n array (\n 'id' => 2430,\n 'name' => 'storytelling',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:31',\n 'updated_at' => '2019-03-12 06:01:31',\n ),\n 430 => \n array (\n 'id' => 2431,\n 'name' => 'shield',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:34',\n 'updated_at' => '2019-03-12 06:01:34',\n ),\n 431 => \n array (\n 'id' => 2432,\n 'name' => 'dc',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:34',\n 'updated_at' => '2019-03-12 06:01:34',\n ),\n 432 => \n array (\n 'id' => 2433,\n 'name' => 'boss',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:35',\n 'updated_at' => '2019-03-12 06:01:35',\n ),\n 433 => \n array (\n 'id' => 2434,\n 'name' => 'tongue',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:35',\n 'updated_at' => '2019-03-12 06:01:35',\n ),\n 434 => \n array (\n 'id' => 2435,\n 'name' => 'wise',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:38',\n 'updated_at' => '2019-03-12 06:01:38',\n ),\n 435 => \n array (\n 'id' => 2436,\n 'name' => 'natural',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:38',\n 'updated_at' => '2019-03-12 06:01:38',\n ),\n 436 => \n array (\n 'id' => 2437,\n 'name' => 'whether',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:39',\n 'updated_at' => '2019-03-12 06:01:39',\n ),\n 437 => \n array (\n 'id' => 2438,\n 'name' => 'easily',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:39',\n 'updated_at' => '2019-03-12 06:01:39',\n ),\n 438 => \n array (\n 'id' => 2439,\n 'name' => 'manhood',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:40',\n 'updated_at' => '2019-03-12 06:01:40',\n ),\n 439 => \n array (\n 'id' => 2440,\n 'name' => 'fullness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:41',\n 'updated_at' => '2019-03-12 06:01:41',\n ),\n 440 => \n array (\n 'id' => 2441,\n 'name' => 'condemns',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:42',\n 'updated_at' => '2019-03-12 06:01:42',\n ),\n 441 => \n array (\n 'id' => 2442,\n 'name' => 'mask',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:43',\n 'updated_at' => '2019-03-12 06:01:43',\n ),\n 442 => \n array (\n 'id' => 2443,\n 'name' => 'jesus christ',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:44',\n 'updated_at' => '2019-03-12 06:01:44',\n ),\n 443 => \n array (\n 'id' => 2444,\n 'name' => 'jesus',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:44',\n 'updated_at' => '2019-03-12 06:01:44',\n ),\n 444 => \n array (\n 'id' => 2445,\n 'name' => 'credibility',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:45',\n 'updated_at' => '2019-03-12 06:01:45',\n ),\n 445 => \n array (\n 'id' => 2446,\n 'name' => 'invisible',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:46',\n 'updated_at' => '2019-03-12 06:01:46',\n ),\n 446 => \n array (\n 'id' => 2447,\n 'name' => 'infinite',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:47',\n 'updated_at' => '2019-03-12 06:01:47',\n ),\n 447 => \n array (\n 'id' => 2448,\n 'name' => 'seed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:47',\n 'updated_at' => '2019-03-12 06:01:47',\n ),\n 448 => \n array (\n 'id' => 2449,\n 'name' => 'dies',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:49',\n 'updated_at' => '2019-03-12 06:01:49',\n ),\n 449 => \n array (\n 'id' => 2450,\n 'name' => 'drums',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:50',\n 'updated_at' => '2019-03-12 06:01:50',\n ),\n 450 => \n array (\n 'id' => 2451,\n 'name' => 'clown',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:50',\n 'updated_at' => '2019-03-12 06:01:50',\n ),\n 451 => \n array (\n 'id' => 2452,\n 'name' => 'cause',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:52',\n 'updated_at' => '2019-03-12 06:01:52',\n ),\n 452 => \n array (\n 'id' => 2453,\n 'name' => 'u2',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:52',\n 'updated_at' => '2019-03-12 06:01:52',\n ),\n 453 => \n array (\n 'id' => 2454,\n 'name' => 'pants',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:53',\n 'updated_at' => '2019-03-12 06:01:53',\n ),\n 454 => \n array (\n 'id' => 2455,\n 'name' => 'bachelor',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:54',\n 'updated_at' => '2019-03-12 06:01:54',\n ),\n 455 => \n array (\n 'id' => 2456,\n 'name' => 'dealing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:55',\n 'updated_at' => '2019-03-12 06:01:55',\n ),\n 456 => \n array (\n 'id' => 2457,\n 'name' => 'roll',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:56',\n 'updated_at' => '2019-03-12 06:01:56',\n ),\n 457 => \n array (\n 'id' => 2458,\n 'name' => 'archaeology',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:57',\n 'updated_at' => '2019-03-12 06:01:57',\n ),\n 458 => \n array (\n 'id' => 2459,\n 'name' => 'percent',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:57',\n 'updated_at' => '2019-03-12 06:01:57',\n ),\n 459 => \n array (\n 'id' => 2460,\n 'name' => 'chain',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:01:58',\n 'updated_at' => '2019-03-12 06:01:58',\n ),\n 460 => \n array (\n 'id' => 2461,\n 'name' => 'citizenship',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:00',\n 'updated_at' => '2019-03-12 06:02:00',\n ),\n 461 => \n array (\n 'id' => 2462,\n 'name' => 'victory',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:00',\n 'updated_at' => '2019-03-12 06:02:00',\n ),\n 462 => \n array (\n 'id' => 2463,\n 'name' => 'judicial',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:01',\n 'updated_at' => '2019-03-12 06:02:01',\n ),\n 463 => \n array (\n 'id' => 2464,\n 'name' => 'truck',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:02',\n 'updated_at' => '2019-03-12 06:02:02',\n ),\n 464 => \n array (\n 'id' => 2465,\n 'name' => 'epidemic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:04',\n 'updated_at' => '2019-03-12 06:02:04',\n ),\n 465 => \n array (\n 'id' => 2466,\n 'name' => 'insurance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:04',\n 'updated_at' => '2019-03-12 06:02:04',\n ),\n 466 => \n array (\n 'id' => 2467,\n 'name' => 'compete',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:04',\n 'updated_at' => '2019-03-12 06:02:04',\n ),\n 467 => \n array (\n 'id' => 2468,\n 'name' => 'strategy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:05',\n 'updated_at' => '2019-03-12 06:02:05',\n ),\n 468 => \n array (\n 'id' => 2469,\n 'name' => 'alliance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:05',\n 'updated_at' => '2019-03-12 06:02:05',\n ),\n 469 => \n array (\n 'id' => 2470,\n 'name' => 'elections',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:06',\n 'updated_at' => '2019-03-12 06:02:06',\n ),\n 470 => \n array (\n 'id' => 2471,\n 'name' => 'privacy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:07',\n 'updated_at' => '2019-03-12 06:02:07',\n ),\n 471 => \n array (\n 'id' => 2472,\n 'name' => 'minimum wage',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:08',\n 'updated_at' => '2019-03-12 06:02:08',\n ),\n 472 => \n array (\n 'id' => 2473,\n 'name' => 'civil rights',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:08',\n 'updated_at' => '2019-03-12 06:02:08',\n ),\n 473 => \n array (\n 'id' => 2474,\n 'name' => 'bridges',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:09',\n 'updated_at' => '2019-03-12 06:02:09',\n ),\n 474 => \n array (\n 'id' => 2475,\n 'name' => 'uncertainty',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:10',\n 'updated_at' => '2019-03-12 06:02:10',\n ),\n 475 => \n array (\n 'id' => 2476,\n 'name' => 'protection',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:11',\n 'updated_at' => '2019-03-12 06:02:11',\n ),\n 476 => \n array (\n 'id' => 2477,\n 'name' => 'technical',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:11',\n 'updated_at' => '2019-03-12 06:02:11',\n ),\n 477 => \n array (\n 'id' => 2478,\n 'name' => 'precise',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:11',\n 'updated_at' => '2019-03-12 06:02:11',\n ),\n 478 => \n array (\n 'id' => 2479,\n 'name' => 'floating',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:12',\n 'updated_at' => '2019-03-12 06:02:12',\n ),\n 479 => \n array (\n 'id' => 2480,\n 'name' => 'era',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:13',\n 'updated_at' => '2019-03-12 06:02:13',\n ),\n 480 => \n array (\n 'id' => 2481,\n 'name' => 'dot-com',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:13',\n 'updated_at' => '2019-03-12 06:02:13',\n ),\n 481 => \n array (\n 'id' => 2482,\n 'name' => 'come and go',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:15',\n 'updated_at' => '2019-03-12 06:02:15',\n ),\n 482 => \n array (\n 'id' => 2483,\n 'name' => 'repeats',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:17',\n 'updated_at' => '2019-03-12 06:02:17',\n ),\n 483 => \n array (\n 'id' => 2484,\n 'name' => 'donald trump',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:18',\n 'updated_at' => '2019-03-12 06:02:18',\n ),\n 484 => \n array (\n 'id' => 2485,\n 'name' => 'politicians',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:21',\n 'updated_at' => '2019-03-12 06:02:21',\n ),\n 485 => \n array (\n 'id' => 2486,\n 'name' => 'simplify',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:21',\n 'updated_at' => '2019-03-12 06:02:21',\n ),\n 486 => \n array (\n 'id' => 2487,\n 'name' => 'fascinated',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:22',\n 'updated_at' => '2019-03-12 06:02:22',\n ),\n 487 => \n array (\n 'id' => 2488,\n 'name' => 'lacks',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:22',\n 'updated_at' => '2019-03-12 06:02:22',\n ),\n 488 => \n array (\n 'id' => 2489,\n 'name' => 'believed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:27',\n 'updated_at' => '2019-03-12 06:02:27',\n ),\n 489 => \n array (\n 'id' => 2490,\n 'name' => 'tony blair',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:28',\n 'updated_at' => '2019-03-12 06:02:28',\n ),\n 490 => \n array (\n 'id' => 2491,\n 'name' => 'horrible',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:30',\n 'updated_at' => '2019-03-12 06:02:30',\n ),\n 491 => \n array (\n 'id' => 2492,\n 'name' => 'anti-semitic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:31',\n 'updated_at' => '2019-03-12 06:02:31',\n ),\n 492 => \n array (\n 'id' => 2493,\n 'name' => 'facebook',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:39',\n 'updated_at' => '2019-03-12 06:02:39',\n ),\n 493 => \n array (\n 'id' => 2494,\n 'name' => 'asia',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:39',\n 'updated_at' => '2019-03-12 06:02:39',\n ),\n 494 => \n array (\n 'id' => 2495,\n 'name' => 'lasts',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:43',\n 'updated_at' => '2019-03-12 06:02:43',\n ),\n 495 => \n array (\n 'id' => 2496,\n 'name' => 'using',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:44',\n 'updated_at' => '2019-03-12 06:02:44',\n ),\n 496 => \n array (\n 'id' => 2497,\n 'name' => 'useful',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:45',\n 'updated_at' => '2019-03-12 06:02:45',\n ),\n 497 => \n array (\n 'id' => 2498,\n 'name' => 'crush',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:49',\n 'updated_at' => '2019-03-12 06:02:49',\n ),\n 498 => \n array (\n 'id' => 2499,\n 'name' => 'powerless',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:49',\n 'updated_at' => '2019-03-12 06:02:49',\n ),\n 499 => \n array (\n 'id' => 2500,\n 'name' => 'tax',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:50',\n 'updated_at' => '2019-03-12 06:02:50',\n ),\n ));\n \\DB::table('tags')->insert(array (\n 0 => \n array (\n 'id' => 2501,\n 'name' => 'economics',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:51',\n 'updated_at' => '2019-03-12 06:02:51',\n ),\n 1 => \n array (\n 'id' => 2502,\n 'name' => 'complex',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:52',\n 'updated_at' => '2019-03-12 06:02:52',\n ),\n 2 => \n array (\n 'id' => 2503,\n 'name' => 'economists',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:53',\n 'updated_at' => '2019-03-12 06:02:53',\n ),\n 3 => \n array (\n 'id' => 2504,\n 'name' => 'countries',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:54',\n 'updated_at' => '2019-03-12 06:02:54',\n ),\n 4 => \n array (\n 'id' => 2505,\n 'name' => 'economic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:54',\n 'updated_at' => '2019-03-12 06:02:54',\n ),\n 5 => \n array (\n 'id' => 2506,\n 'name' => 'skills',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:55',\n 'updated_at' => '2019-03-12 06:02:55',\n ),\n 6 => \n array (\n 'id' => 2507,\n 'name' => 'affects',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:55',\n 'updated_at' => '2019-03-12 06:02:55',\n ),\n 7 => \n array (\n 'id' => 2508,\n 'name' => 'gap',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:55',\n 'updated_at' => '2019-03-12 06:02:55',\n ),\n 8 => \n array (\n 'id' => 2509,\n 'name' => 'ignoring',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:57',\n 'updated_at' => '2019-03-12 06:02:57',\n ),\n 9 => \n array (\n 'id' => 2510,\n 'name' => 'valuable',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:02:57',\n 'updated_at' => '2019-03-12 06:02:57',\n ),\n 10 => \n array (\n 'id' => 2511,\n 'name' => 'farming',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:00',\n 'updated_at' => '2019-03-12 06:03:00',\n ),\n 11 => \n array (\n 'id' => 2512,\n 'name' => 'virtue',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:02',\n 'updated_at' => '2019-03-12 06:03:02',\n ),\n 12 => \n array (\n 'id' => 2513,\n 'name' => 'urban',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:02',\n 'updated_at' => '2019-03-12 06:03:02',\n ),\n 13 => \n array (\n 'id' => 2514,\n 'name' => 'masters',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:03',\n 'updated_at' => '2019-03-12 06:03:03',\n ),\n 14 => \n array (\n 'id' => 2515,\n 'name' => 'birdie',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:03',\n 'updated_at' => '2019-03-12 06:03:03',\n ),\n 15 => \n array (\n 'id' => 2516,\n 'name' => 'fails',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:03',\n 'updated_at' => '2019-03-12 06:03:03',\n ),\n 16 => \n array (\n 'id' => 2517,\n 'name' => 'tiger',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:06',\n 'updated_at' => '2019-03-12 06:03:06',\n ),\n 17 => \n array (\n 'id' => 2518,\n 'name' => 'trait',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:09',\n 'updated_at' => '2019-03-12 06:03:09',\n ),\n 18 => \n array (\n 'id' => 2519,\n 'name' => 'showing up',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:11',\n 'updated_at' => '2019-03-12 06:03:11',\n ),\n 19 => \n array (\n 'id' => 2520,\n 'name' => 'steak',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:11',\n 'updated_at' => '2019-03-12 06:03:11',\n ),\n 20 => \n array (\n 'id' => 2521,\n 'name' => 'sequels',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:14',\n 'updated_at' => '2019-03-12 06:03:14',\n ),\n 21 => \n array (\n 'id' => 2522,\n 'name' => 'louis',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:18',\n 'updated_at' => '2019-03-12 06:03:18',\n ),\n 22 => \n array (\n 'id' => 2523,\n 'name' => 'schools',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:18',\n 'updated_at' => '2019-03-12 06:03:18',\n ),\n 23 => \n array (\n 'id' => 2524,\n 'name' => 'murphy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:18',\n 'updated_at' => '2019-03-12 06:03:18',\n ),\n 24 => \n array (\n 'id' => 2525,\n 'name' => 'arrested',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:19',\n 'updated_at' => '2019-03-12 06:03:19',\n ),\n 25 => \n array (\n 'id' => 2526,\n 'name' => 'homeless',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:20',\n 'updated_at' => '2019-03-12 06:03:20',\n ),\n 26 => \n array (\n 'id' => 2527,\n 'name' => 'pave',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:20',\n 'updated_at' => '2019-03-12 06:03:20',\n ),\n 27 => \n array (\n 'id' => 2528,\n 'name' => 'cash',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:21',\n 'updated_at' => '2019-03-12 06:03:21',\n ),\n 28 => \n array (\n 'id' => 2529,\n 'name' => 'hacker',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:22',\n 'updated_at' => '2019-03-12 06:03:22',\n ),\n 29 => \n array (\n 'id' => 2530,\n 'name' => 'skype',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:22',\n 'updated_at' => '2019-03-12 06:03:22',\n ),\n 30 => \n array (\n 'id' => 2531,\n 'name' => 'describe',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:22',\n 'updated_at' => '2019-03-12 06:03:22',\n ),\n 31 => \n array (\n 'id' => 2532,\n 'name' => 'bitcoin',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:23',\n 'updated_at' => '2019-03-12 06:03:23',\n ),\n 32 => \n array (\n 'id' => 2533,\n 'name' => 'currency',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:24',\n 'updated_at' => '2019-03-12 06:03:24',\n ),\n 33 => \n array (\n 'id' => 2534,\n 'name' => 'evolve',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:25',\n 'updated_at' => '2019-03-12 06:03:25',\n ),\n 34 => \n array (\n 'id' => 2535,\n 'name' => 'long-term',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:27',\n 'updated_at' => '2019-03-12 06:03:27',\n ),\n 35 => \n array (\n 'id' => 2536,\n 'name' => 'saw',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:27',\n 'updated_at' => '2019-03-12 06:03:27',\n ),\n 36 => \n array (\n 'id' => 2537,\n 'name' => 'valley',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:29',\n 'updated_at' => '2019-03-12 06:03:29',\n ),\n 37 => \n array (\n 'id' => 2538,\n 'name' => 'china',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:29',\n 'updated_at' => '2019-03-12 06:03:29',\n ),\n 38 => \n array (\n 'id' => 2539,\n 'name' => 'favor',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:29',\n 'updated_at' => '2019-03-12 06:03:29',\n ),\n 39 => \n array (\n 'id' => 2540,\n 'name' => 'i love you',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:32',\n 'updated_at' => '2019-03-12 06:03:32',\n ),\n 40 => \n array (\n 'id' => 2541,\n 'name' => 'imperfection',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:33',\n 'updated_at' => '2019-03-12 06:03:33',\n ),\n 41 => \n array (\n 'id' => 2542,\n 'name' => 'artful',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:35',\n 'updated_at' => '2019-03-12 06:03:35',\n ),\n 42 => \n array (\n 'id' => 2543,\n 'name' => 'deli',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:37',\n 'updated_at' => '2019-03-12 06:03:37',\n ),\n 43 => \n array (\n 'id' => 2544,\n 'name' => 'linear',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:38',\n 'updated_at' => '2019-03-12 06:03:38',\n ),\n 44 => \n array (\n 'id' => 2545,\n 'name' => 'marine corps',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:39',\n 'updated_at' => '2019-03-12 06:03:39',\n ),\n 45 => \n array (\n 'id' => 2546,\n 'name' => 'toughest',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:39',\n 'updated_at' => '2019-03-12 06:03:39',\n ),\n 46 => \n array (\n 'id' => 2547,\n 'name' => 'cable',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:40',\n 'updated_at' => '2019-03-12 06:03:40',\n ),\n 47 => \n array (\n 'id' => 2548,\n 'name' => 'watched',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:41',\n 'updated_at' => '2019-03-12 06:03:41',\n ),\n 48 => \n array (\n 'id' => 2549,\n 'name' => 'controversial',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:43',\n 'updated_at' => '2019-03-12 06:03:43',\n ),\n 49 => \n array (\n 'id' => 2550,\n 'name' => 'ghosts',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:43',\n 'updated_at' => '2019-03-12 06:03:43',\n ),\n 50 => \n array (\n 'id' => 2551,\n 'name' => 'songwriting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:44',\n 'updated_at' => '2019-03-12 06:03:44',\n ),\n 51 => \n array (\n 'id' => 2552,\n 'name' => 'breathing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:44',\n 'updated_at' => '2019-03-12 06:03:44',\n ),\n 52 => \n array (\n 'id' => 2553,\n 'name' => 'cricket',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:47',\n 'updated_at' => '2019-03-12 06:03:47',\n ),\n 53 => \n array (\n 'id' => 2554,\n 'name' => 'autism',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:48',\n 'updated_at' => '2019-03-12 06:03:48',\n ),\n 54 => \n array (\n 'id' => 2555,\n 'name' => 'older',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:48',\n 'updated_at' => '2019-03-12 06:03:48',\n ),\n 55 => \n array (\n 'id' => 2556,\n 'name' => 'james',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:49',\n 'updated_at' => '2019-03-12 06:03:49',\n ),\n 56 => \n array (\n 'id' => 2557,\n 'name' => 'blue',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:50',\n 'updated_at' => '2019-03-12 06:03:50',\n ),\n 57 => \n array (\n 'id' => 2558,\n 'name' => 'winds',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:52',\n 'updated_at' => '2019-03-12 06:03:52',\n ),\n 58 => \n array (\n 'id' => 2559,\n 'name' => 'equal rights',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:52',\n 'updated_at' => '2019-03-12 06:03:52',\n ),\n 59 => \n array (\n 'id' => 2560,\n 'name' => 'climate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:53',\n 'updated_at' => '2019-03-12 06:03:53',\n ),\n 60 => \n array (\n 'id' => 2561,\n 'name' => 'firefighters',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:53',\n 'updated_at' => '2019-03-12 06:03:53',\n ),\n 61 => \n array (\n 'id' => 2562,\n 'name' => 'rain',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:54',\n 'updated_at' => '2019-03-12 06:03:54',\n ),\n 62 => \n array (\n 'id' => 2563,\n 'name' => 'desert',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:55',\n 'updated_at' => '2019-03-12 06:03:55',\n ),\n 63 => \n array (\n 'id' => 2564,\n 'name' => 'what if',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:56',\n 'updated_at' => '2019-03-12 06:03:56',\n ),\n 64 => \n array (\n 'id' => 2565,\n 'name' => 'expensive',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:57',\n 'updated_at' => '2019-03-12 06:03:57',\n ),\n 65 => \n array (\n 'id' => 2566,\n 'name' => 'seeds',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:03:59',\n 'updated_at' => '2019-03-12 06:03:59',\n ),\n 66 => \n array (\n 'id' => 2567,\n 'name' => 'ferrari',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:00',\n 'updated_at' => '2019-03-12 06:04:00',\n ),\n 67 => \n array (\n 'id' => 2568,\n 'name' => 'meet',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:01',\n 'updated_at' => '2019-03-12 06:04:01',\n ),\n 68 => \n array (\n 'id' => 2569,\n 'name' => 'after',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:01',\n 'updated_at' => '2019-03-12 06:04:01',\n ),\n 69 => \n array (\n 'id' => 2570,\n 'name' => 'brand new',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:02',\n 'updated_at' => '2019-03-12 06:04:02',\n ),\n 70 => \n array (\n 'id' => 2571,\n 'name' => 'muscle',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:02',\n 'updated_at' => '2019-03-12 06:04:02',\n ),\n 71 => \n array (\n 'id' => 2572,\n 'name' => 'pilot',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:03',\n 'updated_at' => '2019-03-12 06:04:03',\n ),\n 72 => \n array (\n 'id' => 2573,\n 'name' => 'relatives',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:06',\n 'updated_at' => '2019-03-12 06:04:06',\n ),\n 73 => \n array (\n 'id' => 2574,\n 'name' => 'vegas',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:07',\n 'updated_at' => '2019-03-12 06:04:07',\n ),\n 74 => \n array (\n 'id' => 2575,\n 'name' => 'eventually',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:12',\n 'updated_at' => '2019-03-12 06:04:12',\n ),\n 75 => \n array (\n 'id' => 2576,\n 'name' => 'edge',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:15',\n 'updated_at' => '2019-03-12 06:04:15',\n ),\n 76 => \n array (\n 'id' => 2577,\n 'name' => 'glee',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:15',\n 'updated_at' => '2019-03-12 06:04:15',\n ),\n 77 => \n array (\n 'id' => 2578,\n 'name' => 'good advice',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:17',\n 'updated_at' => '2019-03-12 06:04:17',\n ),\n 78 => \n array (\n 'id' => 2579,\n 'name' => 'missed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:17',\n 'updated_at' => '2019-03-12 06:04:17',\n ),\n 79 => \n array (\n 'id' => 2580,\n 'name' => 'loser',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:18',\n 'updated_at' => '2019-03-12 06:04:18',\n ),\n 80 => \n array (\n 'id' => 2581,\n 'name' => 'jungle',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:19',\n 'updated_at' => '2019-03-12 06:04:19',\n ),\n 81 => \n array (\n 'id' => 2582,\n 'name' => 'backs',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:20',\n 'updated_at' => '2019-03-12 06:04:20',\n ),\n 82 => \n array (\n 'id' => 2583,\n 'name' => 'chairs',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:20',\n 'updated_at' => '2019-03-12 06:04:20',\n ),\n 83 => \n array (\n 'id' => 2584,\n 'name' => 'okay',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:23',\n 'updated_at' => '2019-03-12 06:04:23',\n ),\n 84 => \n array (\n 'id' => 2585,\n 'name' => 'australia',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:24',\n 'updated_at' => '2019-03-12 06:04:24',\n ),\n 85 => \n array (\n 'id' => 2586,\n 'name' => 'chief',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:26',\n 'updated_at' => '2019-03-12 06:04:26',\n ),\n 86 => \n array (\n 'id' => 2587,\n 'name' => 'pastry',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:27',\n 'updated_at' => '2019-03-12 06:04:27',\n ),\n 87 => \n array (\n 'id' => 2588,\n 'name' => 'bakery',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:27',\n 'updated_at' => '2019-03-12 06:04:27',\n ),\n 88 => \n array (\n 'id' => 2589,\n 'name' => 'six',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:28',\n 'updated_at' => '2019-03-12 06:04:28',\n ),\n 89 => \n array (\n 'id' => 2590,\n 'name' => 'worked',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:28',\n 'updated_at' => '2019-03-12 06:04:28',\n ),\n 90 => \n array (\n 'id' => 2591,\n 'name' => 'steady',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:30',\n 'updated_at' => '2019-03-12 06:04:30',\n ),\n 91 => \n array (\n 'id' => 2592,\n 'name' => 'closed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:31',\n 'updated_at' => '2019-03-12 06:04:31',\n ),\n 92 => \n array (\n 'id' => 2593,\n 'name' => 'surprises',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:32',\n 'updated_at' => '2019-03-12 06:04:32',\n ),\n 93 => \n array (\n 'id' => 2594,\n 'name' => 'narcissism',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:33',\n 'updated_at' => '2019-03-12 06:04:33',\n ),\n 94 => \n array (\n 'id' => 2595,\n 'name' => 'wine',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:34',\n 'updated_at' => '2019-03-12 06:04:34',\n ),\n 95 => \n array (\n 'id' => 2596,\n 'name' => 'interest',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:39',\n 'updated_at' => '2019-03-12 06:04:39',\n ),\n 96 => \n array (\n 'id' => 2597,\n 'name' => 'sections',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:39',\n 'updated_at' => '2019-03-12 06:04:39',\n ),\n 97 => \n array (\n 'id' => 2598,\n 'name' => 'bookstores',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:40',\n 'updated_at' => '2019-03-12 06:04:40',\n ),\n 98 => \n array (\n 'id' => 2599,\n 'name' => 'protein',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:41',\n 'updated_at' => '2019-03-12 06:04:41',\n ),\n 99 => \n array (\n 'id' => 2600,\n 'name' => 'showy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:42',\n 'updated_at' => '2019-03-12 06:04:42',\n ),\n 100 => \n array (\n 'id' => 2601,\n 'name' => 'giver',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:44',\n 'updated_at' => '2019-03-12 06:04:44',\n ),\n 101 => \n array (\n 'id' => 2602,\n 'name' => 'help others',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:45',\n 'updated_at' => '2019-03-12 06:04:45',\n ),\n 102 => \n array (\n 'id' => 2603,\n 'name' => 'modesty',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:48',\n 'updated_at' => '2019-03-12 06:04:48',\n ),\n 103 => \n array (\n 'id' => 2604,\n 'name' => 'conformity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:50',\n 'updated_at' => '2019-03-12 06:04:50',\n ),\n 104 => \n array (\n 'id' => 2605,\n 'name' => 'chains',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:50',\n 'updated_at' => '2019-03-12 06:04:50',\n ),\n 105 => \n array (\n 'id' => 2606,\n 'name' => 'ownership',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:51',\n 'updated_at' => '2019-03-12 06:04:51',\n ),\n 106 => \n array (\n 'id' => 2607,\n 'name' => 'surround yourself',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:55',\n 'updated_at' => '2019-03-12 06:04:55',\n ),\n 107 => \n array (\n 'id' => 2608,\n 'name' => 'above',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:57',\n 'updated_at' => '2019-03-12 06:04:57',\n ),\n 108 => \n array (\n 'id' => 2609,\n 'name' => 'found',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:57',\n 'updated_at' => '2019-03-12 06:04:57',\n ),\n 109 => \n array (\n 'id' => 2610,\n 'name' => 'seasons',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:04:57',\n 'updated_at' => '2019-03-12 06:04:57',\n ),\n 110 => \n array (\n 'id' => 2611,\n 'name' => 'shirt',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:02',\n 'updated_at' => '2019-03-12 06:05:02',\n ),\n 111 => \n array (\n 'id' => 2612,\n 'name' => 'wheel',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:03',\n 'updated_at' => '2019-03-12 06:05:03',\n ),\n 112 => \n array (\n 'id' => 2613,\n 'name' => 'trends',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:03',\n 'updated_at' => '2019-03-12 06:05:03',\n ),\n 113 => \n array (\n 'id' => 2614,\n 'name' => 'holocaust',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:07',\n 'updated_at' => '2019-03-12 06:05:07',\n ),\n 114 => \n array (\n 'id' => 2615,\n 'name' => 'clouds',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:09',\n 'updated_at' => '2019-03-12 06:05:09',\n ),\n 115 => \n array (\n 'id' => 2616,\n 'name' => 'preaching',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:12',\n 'updated_at' => '2019-03-12 06:05:12',\n ),\n 116 => \n array (\n 'id' => 2617,\n 'name' => 'effective',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:12',\n 'updated_at' => '2019-03-12 06:05:12',\n ),\n 117 => \n array (\n 'id' => 2618,\n 'name' => 'capable',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:15',\n 'updated_at' => '2019-03-12 06:05:15',\n ),\n 118 => \n array (\n 'id' => 2619,\n 'name' => 'election',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:23',\n 'updated_at' => '2019-03-12 06:05:23',\n ),\n 119 => \n array (\n 'id' => 2620,\n 'name' => 'disrespect',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:24',\n 'updated_at' => '2019-03-12 06:05:24',\n ),\n 120 => \n array (\n 'id' => 2621,\n 'name' => 'spend',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:26',\n 'updated_at' => '2019-03-12 06:05:26',\n ),\n 121 => \n array (\n 'id' => 2622,\n 'name' => 'definitely',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:27',\n 'updated_at' => '2019-03-12 06:05:27',\n ),\n 122 => \n array (\n 'id' => 2623,\n 'name' => 'distractions',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:30',\n 'updated_at' => '2019-03-12 06:05:30',\n ),\n 123 => \n array (\n 'id' => 2624,\n 'name' => 'note',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:33',\n 'updated_at' => '2019-03-12 06:05:33',\n ),\n 124 => \n array (\n 'id' => 2625,\n 'name' => 'misses',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:33',\n 'updated_at' => '2019-03-12 06:05:33',\n ),\n 125 => \n array (\n 'id' => 2626,\n 'name' => 'seldom',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:33',\n 'updated_at' => '2019-03-12 06:05:33',\n ),\n 126 => \n array (\n 'id' => 2627,\n 'name' => 'newt',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:33',\n 'updated_at' => '2019-03-12 06:05:33',\n ),\n 127 => \n array (\n 'id' => 2628,\n 'name' => 'loss',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:34',\n 'updated_at' => '2019-03-12 06:05:34',\n ),\n 128 => \n array (\n 'id' => 2629,\n 'name' => 'drawing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:36',\n 'updated_at' => '2019-03-12 06:05:36',\n ),\n 129 => \n array (\n 'id' => 2630,\n 'name' => 'helmet',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:42',\n 'updated_at' => '2019-03-12 06:05:42',\n ),\n 130 => \n array (\n 'id' => 2631,\n 'name' => 'fine art',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:43',\n 'updated_at' => '2019-03-12 06:05:43',\n ),\n 131 => \n array (\n 'id' => 2632,\n 'name' => 'visual',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:44',\n 'updated_at' => '2019-03-12 06:05:44',\n ),\n 132 => \n array (\n 'id' => 2633,\n 'name' => 'four',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:45',\n 'updated_at' => '2019-03-12 06:05:45',\n ),\n 133 => \n array (\n 'id' => 2634,\n 'name' => 'ending',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:45',\n 'updated_at' => '2019-03-12 06:05:45',\n ),\n 134 => \n array (\n 'id' => 2635,\n 'name' => 'expressing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:45',\n 'updated_at' => '2019-03-12 06:05:45',\n ),\n 135 => \n array (\n 'id' => 2636,\n 'name' => 'market',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:46',\n 'updated_at' => '2019-03-12 06:05:46',\n ),\n 136 => \n array (\n 'id' => 2637,\n 'name' => 'grunge',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:47',\n 'updated_at' => '2019-03-12 06:05:47',\n ),\n 137 => \n array (\n 'id' => 2638,\n 'name' => 'solid',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:48',\n 'updated_at' => '2019-03-12 06:05:48',\n ),\n 138 => \n array (\n 'id' => 2639,\n 'name' => 'approach',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:48',\n 'updated_at' => '2019-03-12 06:05:48',\n ),\n 139 => \n array (\n 'id' => 2640,\n 'name' => 'gonna',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:49',\n 'updated_at' => '2019-03-12 06:05:49',\n ),\n 140 => \n array (\n 'id' => 2641,\n 'name' => 'worried',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:50',\n 'updated_at' => '2019-03-12 06:05:50',\n ),\n 141 => \n array (\n 'id' => 2642,\n 'name' => 'lessons',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:50',\n 'updated_at' => '2019-03-12 06:05:50',\n ),\n 142 => \n array (\n 'id' => 2643,\n 'name' => 'solos',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:51',\n 'updated_at' => '2019-03-12 06:05:51',\n ),\n 143 => \n array (\n 'id' => 2644,\n 'name' => 'guitar player',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:51',\n 'updated_at' => '2019-03-12 06:05:51',\n ),\n 144 => \n array (\n 'id' => 2645,\n 'name' => 'geek',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:51',\n 'updated_at' => '2019-03-12 06:05:51',\n ),\n 145 => \n array (\n 'id' => 2646,\n 'name' => 'equipment',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:51',\n 'updated_at' => '2019-03-12 06:05:51',\n ),\n 146 => \n array (\n 'id' => 2647,\n 'name' => 'bass player',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:52',\n 'updated_at' => '2019-03-12 06:05:52',\n ),\n 147 => \n array (\n 'id' => 2648,\n 'name' => 'custom',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:52',\n 'updated_at' => '2019-03-12 06:05:52',\n ),\n 148 => \n array (\n 'id' => 2649,\n 'name' => 'paul',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:53',\n 'updated_at' => '2019-03-12 06:05:53',\n ),\n 149 => \n array (\n 'id' => 2650,\n 'name' => 'gibson',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:53',\n 'updated_at' => '2019-03-12 06:05:53',\n ),\n 150 => \n array (\n 'id' => 2651,\n 'name' => 'prefer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:53',\n 'updated_at' => '2019-03-12 06:05:53',\n ),\n 151 => \n array (\n 'id' => 2652,\n 'name' => 'les',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:53',\n 'updated_at' => '2019-03-12 06:05:53',\n ),\n 152 => \n array (\n 'id' => 2653,\n 'name' => 'old friends',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:54',\n 'updated_at' => '2019-03-12 06:05:54',\n ),\n 153 => \n array (\n 'id' => 2654,\n 'name' => 'new day',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:55',\n 'updated_at' => '2019-03-12 06:05:55',\n ),\n 154 => \n array (\n 'id' => 2655,\n 'name' => 'paycheck',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:05:55',\n 'updated_at' => '2019-03-12 06:05:55',\n ),\n 155 => \n array (\n 'id' => 2656,\n 'name' => 'bored',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:02',\n 'updated_at' => '2019-03-12 06:06:02',\n ),\n 156 => \n array (\n 'id' => 2657,\n 'name' => 'locked',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:02',\n 'updated_at' => '2019-03-12 06:06:02',\n ),\n 157 => \n array (\n 'id' => 2658,\n 'name' => 'jew',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:03',\n 'updated_at' => '2019-03-12 06:06:03',\n ),\n 158 => \n array (\n 'id' => 2659,\n 'name' => 'cheese',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:04',\n 'updated_at' => '2019-03-12 06:06:04',\n ),\n 159 => \n array (\n 'id' => 2660,\n 'name' => 'bisexual',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:05',\n 'updated_at' => '2019-03-12 06:06:05',\n ),\n 160 => \n array (\n 'id' => 2661,\n 'name' => 'embrace',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:06',\n 'updated_at' => '2019-03-12 06:06:06',\n ),\n 161 => \n array (\n 'id' => 2662,\n 'name' => 'sexuality',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:06',\n 'updated_at' => '2019-03-12 06:06:06',\n ),\n 162 => \n array (\n 'id' => 2663,\n 'name' => 'apologize',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:06',\n 'updated_at' => '2019-03-12 06:06:06',\n ),\n 163 => \n array (\n 'id' => 2664,\n 'name' => 'thirsty',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:07',\n 'updated_at' => '2019-03-12 06:06:07',\n ),\n 164 => \n array (\n 'id' => 2665,\n 'name' => 'yours',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:08',\n 'updated_at' => '2019-03-12 06:06:08',\n ),\n 165 => \n array (\n 'id' => 2666,\n 'name' => 'box',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:09',\n 'updated_at' => '2019-03-12 06:06:09',\n ),\n 166 => \n array (\n 'id' => 2667,\n 'name' => 'surprise',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:11',\n 'updated_at' => '2019-03-12 06:06:11',\n ),\n 167 => \n array (\n 'id' => 2668,\n 'name' => 'just one',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:13',\n 'updated_at' => '2019-03-12 06:06:13',\n ),\n 168 => \n array (\n 'id' => 2669,\n 'name' => 'dressed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:15',\n 'updated_at' => '2019-03-12 06:06:15',\n ),\n 169 => \n array (\n 'id' => 2670,\n 'name' => 'drag',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:15',\n 'updated_at' => '2019-03-12 06:06:15',\n ),\n 170 => \n array (\n 'id' => 2671,\n 'name' => 'hosting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:16',\n 'updated_at' => '2019-03-12 06:06:16',\n ),\n 171 => \n array (\n 'id' => 2672,\n 'name' => 'amazon',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:16',\n 'updated_at' => '2019-03-12 06:06:16',\n ),\n 172 => \n array (\n 'id' => 2673,\n 'name' => 'online',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:16',\n 'updated_at' => '2019-03-12 06:06:16',\n ),\n 173 => \n array (\n 'id' => 2674,\n 'name' => 'application',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:16',\n 'updated_at' => '2019-03-12 06:06:16',\n ),\n 174 => \n array (\n 'id' => 2675,\n 'name' => 'tool',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:17',\n 'updated_at' => '2019-03-12 06:06:17',\n ),\n 175 => \n array (\n 'id' => 2676,\n 'name' => 'innovative',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:18',\n 'updated_at' => '2019-03-12 06:06:18',\n ),\n 176 => \n array (\n 'id' => 2677,\n 'name' => 'cracked',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:18',\n 'updated_at' => '2019-03-12 06:06:18',\n ),\n 177 => \n array (\n 'id' => 2678,\n 'name' => 'google',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:21',\n 'updated_at' => '2019-03-12 06:06:21',\n ),\n 178 => \n array (\n 'id' => 2679,\n 'name' => 'sony',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:22',\n 'updated_at' => '2019-03-12 06:06:22',\n ),\n 179 => \n array (\n 'id' => 2680,\n 'name' => 'ipod',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:22',\n 'updated_at' => '2019-03-12 06:06:22',\n ),\n 180 => \n array (\n 'id' => 2681,\n 'name' => 'ruled',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:22',\n 'updated_at' => '2019-03-12 06:06:22',\n ),\n 181 => \n array (\n 'id' => 2682,\n 'name' => 'silicon',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:23',\n 'updated_at' => '2019-03-12 06:06:23',\n ),\n 182 => \n array (\n 'id' => 2683,\n 'name' => 'events',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:24',\n 'updated_at' => '2019-03-12 06:06:24',\n ),\n 183 => \n array (\n 'id' => 2684,\n 'name' => 'finish line',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:24',\n 'updated_at' => '2019-03-12 06:06:24',\n ),\n 184 => \n array (\n 'id' => 2685,\n 'name' => 'buying',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:27',\n 'updated_at' => '2019-03-12 06:06:27',\n ),\n 185 => \n array (\n 'id' => 2686,\n 'name' => 'being alone',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:28',\n 'updated_at' => '2019-03-12 06:06:28',\n ),\n 186 => \n array (\n 'id' => 2687,\n 'name' => 'pop',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:33',\n 'updated_at' => '2019-03-12 06:06:33',\n ),\n 187 => \n array (\n 'id' => 2688,\n 'name' => 'pretend',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:33',\n 'updated_at' => '2019-03-12 06:06:33',\n ),\n 188 => \n array (\n 'id' => 2689,\n 'name' => 'beatles',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:35',\n 'updated_at' => '2019-03-12 06:06:35',\n ),\n 189 => \n array (\n 'id' => 2690,\n 'name' => 'concert',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:36',\n 'updated_at' => '2019-03-12 06:06:36',\n ),\n 190 => \n array (\n 'id' => 2691,\n 'name' => 'yoga',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:36',\n 'updated_at' => '2019-03-12 06:06:36',\n ),\n 191 => \n array (\n 'id' => 2692,\n 'name' => 'self-deprecating',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:36',\n 'updated_at' => '2019-03-12 06:06:36',\n ),\n 192 => \n array (\n 'id' => 2693,\n 'name' => 'married',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:37',\n 'updated_at' => '2019-03-12 06:06:37',\n ),\n 193 => \n array (\n 'id' => 2694,\n 'name' => 'different person',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:40',\n 'updated_at' => '2019-03-12 06:06:40',\n ),\n 194 => \n array (\n 'id' => 2695,\n 'name' => 'getting older',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:41',\n 'updated_at' => '2019-03-12 06:06:41',\n ),\n 195 => \n array (\n 'id' => 2696,\n 'name' => 'bathtub',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:42',\n 'updated_at' => '2019-03-12 06:06:42',\n ),\n 196 => \n array (\n 'id' => 2697,\n 'name' => 'privilege',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:44',\n 'updated_at' => '2019-03-12 06:06:44',\n ),\n 197 => \n array (\n 'id' => 2698,\n 'name' => 'vinyl',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:45',\n 'updated_at' => '2019-03-12 06:06:45',\n ),\n 198 => \n array (\n 'id' => 2699,\n 'name' => 'muse',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:45',\n 'updated_at' => '2019-03-12 06:06:45',\n ),\n 199 => \n array (\n 'id' => 2700,\n 'name' => 'anxiety',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:45',\n 'updated_at' => '2019-03-12 06:06:45',\n ),\n 200 => \n array (\n 'id' => 2701,\n 'name' => 'title',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:47',\n 'updated_at' => '2019-03-12 06:06:47',\n ),\n 201 => \n array (\n 'id' => 2702,\n 'name' => 'relentless',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:51',\n 'updated_at' => '2019-03-12 06:06:51',\n ),\n 202 => \n array (\n 'id' => 2703,\n 'name' => 'carrot',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:53',\n 'updated_at' => '2019-03-12 06:06:53',\n ),\n 203 => \n array (\n 'id' => 2704,\n 'name' => 'wrong thing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:53',\n 'updated_at' => '2019-03-12 06:06:53',\n ),\n 204 => \n array (\n 'id' => 2705,\n 'name' => 'sail',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:54',\n 'updated_at' => '2019-03-12 06:06:54',\n ),\n 205 => \n array (\n 'id' => 2706,\n 'name' => 'inequality',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:55',\n 'updated_at' => '2019-03-12 06:06:55',\n ),\n 206 => \n array (\n 'id' => 2707,\n 'name' => 'new deal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:56',\n 'updated_at' => '2019-03-12 06:06:56',\n ),\n 207 => \n array (\n 'id' => 2708,\n 'name' => 'abortion',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:56',\n 'updated_at' => '2019-03-12 06:06:56',\n ),\n 208 => \n array (\n 'id' => 2709,\n 'name' => 'protest',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:57',\n 'updated_at' => '2019-03-12 06:06:57',\n ),\n 209 => \n array (\n 'id' => 2710,\n 'name' => 'starts',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:59',\n 'updated_at' => '2019-03-12 06:06:59',\n ),\n 210 => \n array (\n 'id' => 2711,\n 'name' => 'irony',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:59',\n 'updated_at' => '2019-03-12 06:06:59',\n ),\n 211 => \n array (\n 'id' => 2712,\n 'name' => 'mustache',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:06:59',\n 'updated_at' => '2019-03-12 06:06:59',\n ),\n 212 => \n array (\n 'id' => 2713,\n 'name' => 'brian',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:00',\n 'updated_at' => '2019-03-12 06:07:00',\n ),\n 213 => \n array (\n 'id' => 2714,\n 'name' => 'fascism',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:00',\n 'updated_at' => '2019-03-12 06:07:00',\n ),\n 214 => \n array (\n 'id' => 2715,\n 'name' => 'nascar',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:02',\n 'updated_at' => '2019-03-12 06:07:02',\n ),\n 215 => \n array (\n 'id' => 2716,\n 'name' => 'driver',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:02',\n 'updated_at' => '2019-03-12 06:07:02',\n ),\n 216 => \n array (\n 'id' => 2717,\n 'name' => 'french',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:03',\n 'updated_at' => '2019-03-12 06:07:03',\n ),\n 217 => \n array (\n 'id' => 2718,\n 'name' => 'rhythm',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:03',\n 'updated_at' => '2019-03-12 06:07:03',\n ),\n 218 => \n array (\n 'id' => 2719,\n 'name' => 'comedies',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:03',\n 'updated_at' => '2019-03-12 06:07:03',\n ),\n 219 => \n array (\n 'id' => 2720,\n 'name' => 'satire',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:04',\n 'updated_at' => '2019-03-12 06:07:04',\n ),\n 220 => \n array (\n 'id' => 2721,\n 'name' => 'belong',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:05',\n 'updated_at' => '2019-03-12 06:07:05',\n ),\n 221 => \n array (\n 'id' => 2722,\n 'name' => 'solidarity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:06',\n 'updated_at' => '2019-03-12 06:07:06',\n ),\n 222 => \n array (\n 'id' => 2723,\n 'name' => 'ethical',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:06',\n 'updated_at' => '2019-03-12 06:07:06',\n ),\n 223 => \n array (\n 'id' => 2724,\n 'name' => 'reliable',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:07',\n 'updated_at' => '2019-03-12 06:07:07',\n ),\n 224 => \n array (\n 'id' => 2725,\n 'name' => 'deaf',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:08',\n 'updated_at' => '2019-03-12 06:07:08',\n ),\n 225 => \n array (\n 'id' => 2726,\n 'name' => 'achieving',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:09',\n 'updated_at' => '2019-03-12 06:07:09',\n ),\n 226 => \n array (\n 'id' => 2727,\n 'name' => 'realizing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:10',\n 'updated_at' => '2019-03-12 06:07:10',\n ),\n 227 => \n array (\n 'id' => 2728,\n 'name' => 'poland',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:11',\n 'updated_at' => '2019-03-12 06:07:11',\n ),\n 228 => \n array (\n 'id' => 2729,\n 'name' => 'imprisoned',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:11',\n 'updated_at' => '2019-03-12 06:07:11',\n ),\n 229 => \n array (\n 'id' => 2730,\n 'name' => 'one thing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:12',\n 'updated_at' => '2019-03-12 06:07:12',\n ),\n 230 => \n array (\n 'id' => 2731,\n 'name' => 'do what you love',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:13',\n 'updated_at' => '2019-03-12 06:07:13',\n ),\n 231 => \n array (\n 'id' => 2732,\n 'name' => 'what you love',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:14',\n 'updated_at' => '2019-03-12 06:07:14',\n ),\n 232 => \n array (\n 'id' => 2733,\n 'name' => 'finishing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:16',\n 'updated_at' => '2019-03-12 06:07:16',\n ),\n 233 => \n array (\n 'id' => 2734,\n 'name' => 'i remember',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:20',\n 'updated_at' => '2019-03-12 06:07:20',\n ),\n 234 => \n array (\n 'id' => 2735,\n 'name' => 'venture',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:20',\n 'updated_at' => '2019-03-12 06:07:20',\n ),\n 235 => \n array (\n 'id' => 2736,\n 'name' => 'mediocre',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:21',\n 'updated_at' => '2019-03-12 06:07:21',\n ),\n 236 => \n array (\n 'id' => 2737,\n 'name' => 'third',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:21',\n 'updated_at' => '2019-03-12 06:07:21',\n ),\n 237 => \n array (\n 'id' => 2738,\n 'name' => 'different cultures',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:23',\n 'updated_at' => '2019-03-12 06:07:23',\n ),\n 238 => \n array (\n 'id' => 2739,\n 'name' => 'precious',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:24',\n 'updated_at' => '2019-03-12 06:07:24',\n ),\n 239 => \n array (\n 'id' => 2740,\n 'name' => 'resource',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:24',\n 'updated_at' => '2019-03-12 06:07:24',\n ),\n 240 => \n array (\n 'id' => 2741,\n 'name' => 'shortcuts',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:24',\n 'updated_at' => '2019-03-12 06:07:24',\n ),\n 241 => \n array (\n 'id' => 2742,\n 'name' => 'hypocrite',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:26',\n 'updated_at' => '2019-03-12 06:07:26',\n ),\n 242 => \n array (\n 'id' => 2743,\n 'name' => 'hockey',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:28',\n 'updated_at' => '2019-03-12 06:07:28',\n ),\n 243 => \n array (\n 'id' => 2744,\n 'name' => 'punk',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:28',\n 'updated_at' => '2019-03-12 06:07:28',\n ),\n 244 => \n array (\n 'id' => 2745,\n 'name' => 'superstars',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:29',\n 'updated_at' => '2019-03-12 06:07:29',\n ),\n 245 => \n array (\n 'id' => 2746,\n 'name' => 'awhile',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:29',\n 'updated_at' => '2019-03-12 06:07:29',\n ),\n 246 => \n array (\n 'id' => 2747,\n 'name' => 'assistant',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:29',\n 'updated_at' => '2019-03-12 06:07:29',\n ),\n 247 => \n array (\n 'id' => 2748,\n 'name' => 'marketing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:31',\n 'updated_at' => '2019-03-12 06:07:31',\n ),\n 248 => \n array (\n 'id' => 2749,\n 'name' => 'sufficient',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:31',\n 'updated_at' => '2019-03-12 06:07:31',\n ),\n 249 => \n array (\n 'id' => 2750,\n 'name' => 'adequacy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:31',\n 'updated_at' => '2019-03-12 06:07:31',\n ),\n 250 => \n array (\n 'id' => 2751,\n 'name' => 'software',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:33',\n 'updated_at' => '2019-03-12 06:07:33',\n ),\n 251 => \n array (\n 'id' => 2752,\n 'name' => 'jumping',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:33',\n 'updated_at' => '2019-03-12 06:07:33',\n ),\n 252 => \n array (\n 'id' => 2753,\n 'name' => 'machines',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:34',\n 'updated_at' => '2019-03-12 06:07:34',\n ),\n 253 => \n array (\n 'id' => 2754,\n 'name' => 'buy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:34',\n 'updated_at' => '2019-03-12 06:07:34',\n ),\n 254 => \n array (\n 'id' => 2755,\n 'name' => 'having fun',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:34',\n 'updated_at' => '2019-03-12 06:07:34',\n ),\n 255 => \n array (\n 'id' => 2756,\n 'name' => 'tape',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:35',\n 'updated_at' => '2019-03-12 06:07:35',\n ),\n 256 => \n array (\n 'id' => 2757,\n 'name' => 'bullying',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:37',\n 'updated_at' => '2019-03-12 06:07:37',\n ),\n 257 => \n array (\n 'id' => 2758,\n 'name' => 'partnerships',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:38',\n 'updated_at' => '2019-03-12 06:07:38',\n ),\n 258 => \n array (\n 'id' => 2759,\n 'name' => 'budget',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:40',\n 'updated_at' => '2019-03-12 06:07:40',\n ),\n 259 => \n array (\n 'id' => 2760,\n 'name' => 'improvise',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:41',\n 'updated_at' => '2019-03-12 06:07:41',\n ),\n 260 => \n array (\n 'id' => 2761,\n 'name' => 'working together',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:47',\n 'updated_at' => '2019-03-12 06:07:47',\n ),\n 261 => \n array (\n 'id' => 2762,\n 'name' => 'auditions',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:48',\n 'updated_at' => '2019-03-12 06:07:48',\n ),\n 262 => \n array (\n 'id' => 2763,\n 'name' => 'vibe',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:49',\n 'updated_at' => '2019-03-12 06:07:49',\n ),\n 263 => \n array (\n 'id' => 2764,\n 'name' => 'gain',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:50',\n 'updated_at' => '2019-03-12 06:07:50',\n ),\n 264 => \n array (\n 'id' => 2765,\n 'name' => 'bliss',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:52',\n 'updated_at' => '2019-03-12 06:07:52',\n ),\n 265 => \n array (\n 'id' => 2766,\n 'name' => 'now and then',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:54',\n 'updated_at' => '2019-03-12 06:07:54',\n ),\n 266 => \n array (\n 'id' => 2767,\n 'name' => 'arrogance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:55',\n 'updated_at' => '2019-03-12 06:07:55',\n ),\n 267 => \n array (\n 'id' => 2768,\n 'name' => 'biceps',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:56',\n 'updated_at' => '2019-03-12 06:07:56',\n ),\n 268 => \n array (\n 'id' => 2769,\n 'name' => 'barber',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:56',\n 'updated_at' => '2019-03-12 06:07:56',\n ),\n 269 => \n array (\n 'id' => 2770,\n 'name' => 'roar',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:07:57',\n 'updated_at' => '2019-03-12 06:07:57',\n ),\n 270 => \n array (\n 'id' => 2771,\n 'name' => 'genetics',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:00',\n 'updated_at' => '2019-03-12 06:08:00',\n ),\n 271 => \n array (\n 'id' => 2772,\n 'name' => 'amount',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:00',\n 'updated_at' => '2019-03-12 06:08:00',\n ),\n 272 => \n array (\n 'id' => 2773,\n 'name' => 'massive',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:00',\n 'updated_at' => '2019-03-12 06:08:00',\n ),\n 273 => \n array (\n 'id' => 2774,\n 'name' => 'sport',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:00',\n 'updated_at' => '2019-03-12 06:08:00',\n ),\n 274 => \n array (\n 'id' => 2775,\n 'name' => 'dancer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:02',\n 'updated_at' => '2019-03-12 06:08:02',\n ),\n 275 => \n array (\n 'id' => 2776,\n 'name' => 'aggression',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:04',\n 'updated_at' => '2019-03-12 06:08:04',\n ),\n 276 => \n array (\n 'id' => 2777,\n 'name' => 'reminds',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:05',\n 'updated_at' => '2019-03-12 06:08:05',\n ),\n 277 => \n array (\n 'id' => 2778,\n 'name' => 'i believe in',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:05',\n 'updated_at' => '2019-03-12 06:08:05',\n ),\n 278 => \n array (\n 'id' => 2779,\n 'name' => 'chair',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:07',\n 'updated_at' => '2019-03-12 06:08:07',\n ),\n 279 => \n array (\n 'id' => 2780,\n 'name' => 'track',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:08',\n 'updated_at' => '2019-03-12 06:08:08',\n ),\n 280 => \n array (\n 'id' => 2781,\n 'name' => 'dice',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:08',\n 'updated_at' => '2019-03-12 06:08:08',\n ),\n 281 => \n array (\n 'id' => 2782,\n 'name' => 'hop',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:08',\n 'updated_at' => '2019-03-12 06:08:08',\n ),\n 282 => \n array (\n 'id' => 2783,\n 'name' => 'laundry',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:11',\n 'updated_at' => '2019-03-12 06:08:11',\n ),\n 283 => \n array (\n 'id' => 2784,\n 'name' => 'teenagers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:12',\n 'updated_at' => '2019-03-12 06:08:12',\n ),\n 284 => \n array (\n 'id' => 2785,\n 'name' => 'dramatic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:12',\n 'updated_at' => '2019-03-12 06:08:12',\n ),\n 285 => \n array (\n 'id' => 2786,\n 'name' => 'juvenile',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:12',\n 'updated_at' => '2019-03-12 06:08:12',\n ),\n 286 => \n array (\n 'id' => 2787,\n 'name' => 'east',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:13',\n 'updated_at' => '2019-03-12 06:08:13',\n ),\n 287 => \n array (\n 'id' => 2788,\n 'name' => 'narrative',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:15',\n 'updated_at' => '2019-03-12 06:08:15',\n ),\n 288 => \n array (\n 'id' => 2789,\n 'name' => 'leaving',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:16',\n 'updated_at' => '2019-03-12 06:08:16',\n ),\n 289 => \n array (\n 'id' => 2790,\n 'name' => 'bread',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:18',\n 'updated_at' => '2019-03-12 06:08:18',\n ),\n 290 => \n array (\n 'id' => 2791,\n 'name' => 'second',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:19',\n 'updated_at' => '2019-03-12 06:08:19',\n ),\n 291 => \n array (\n 'id' => 2792,\n 'name' => 'spy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:21',\n 'updated_at' => '2019-03-12 06:08:21',\n ),\n 292 => \n array (\n 'id' => 2793,\n 'name' => 'bar',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:23',\n 'updated_at' => '2019-03-12 06:08:23',\n ),\n 293 => \n array (\n 'id' => 2794,\n 'name' => 'vampire',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:23',\n 'updated_at' => '2019-03-12 06:08:23',\n ),\n 294 => \n array (\n 'id' => 2795,\n 'name' => 'pull',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:25',\n 'updated_at' => '2019-03-12 06:08:25',\n ),\n 295 => \n array (\n 'id' => 2796,\n 'name' => 'homeland',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:26',\n 'updated_at' => '2019-03-12 06:08:26',\n ),\n 296 => \n array (\n 'id' => 2797,\n 'name' => 'sauce',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:29',\n 'updated_at' => '2019-03-12 06:08:29',\n ),\n 297 => \n array (\n 'id' => 2798,\n 'name' => 'stuck',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:31',\n 'updated_at' => '2019-03-12 06:08:31',\n ),\n 298 => \n array (\n 'id' => 2799,\n 'name' => 'mature',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:32',\n 'updated_at' => '2019-03-12 06:08:32',\n ),\n 299 => \n array (\n 'id' => 2800,\n 'name' => 'metal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:32',\n 'updated_at' => '2019-03-12 06:08:32',\n ),\n 300 => \n array (\n 'id' => 2801,\n 'name' => 'heavy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:33',\n 'updated_at' => '2019-03-12 06:08:33',\n ),\n 301 => \n array (\n 'id' => 2802,\n 'name' => 'meaningful',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:35',\n 'updated_at' => '2019-03-12 06:08:35',\n ),\n 302 => \n array (\n 'id' => 2803,\n 'name' => 'assets',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:37',\n 'updated_at' => '2019-03-12 06:08:37',\n ),\n 303 => \n array (\n 'id' => 2804,\n 'name' => 'sign',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:38',\n 'updated_at' => '2019-03-12 06:08:38',\n ),\n 304 => \n array (\n 'id' => 2805,\n 'name' => 'spicy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:40',\n 'updated_at' => '2019-03-12 06:08:40',\n ),\n 305 => \n array (\n 'id' => 2806,\n 'name' => 'scale',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:42',\n 'updated_at' => '2019-03-12 06:08:42',\n ),\n 306 => \n array (\n 'id' => 2807,\n 'name' => 'hating',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:44',\n 'updated_at' => '2019-03-12 06:08:44',\n ),\n 307 => \n array (\n 'id' => 2808,\n 'name' => 'sight',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:45',\n 'updated_at' => '2019-03-12 06:08:45',\n ),\n 308 => \n array (\n 'id' => 2809,\n 'name' => 'lips',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:48',\n 'updated_at' => '2019-03-12 06:08:48',\n ),\n 309 => \n array (\n 'id' => 2810,\n 'name' => 'worth it',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:50',\n 'updated_at' => '2019-03-12 06:08:50',\n ),\n 310 => \n array (\n 'id' => 2811,\n 'name' => 'flies',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:50',\n 'updated_at' => '2019-03-12 06:08:50',\n ),\n 311 => \n array (\n 'id' => 2812,\n 'name' => 'beverly hills',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:51',\n 'updated_at' => '2019-03-12 06:08:51',\n ),\n 312 => \n array (\n 'id' => 2813,\n 'name' => 'ruin',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:52',\n 'updated_at' => '2019-03-12 06:08:52',\n ),\n 313 => \n array (\n 'id' => 2814,\n 'name' => 'break up',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:52',\n 'updated_at' => '2019-03-12 06:08:52',\n ),\n 314 => \n array (\n 'id' => 2815,\n 'name' => 'effects',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:52',\n 'updated_at' => '2019-03-12 06:08:52',\n ),\n 315 => \n array (\n 'id' => 2816,\n 'name' => 'secure',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:52',\n 'updated_at' => '2019-03-12 06:08:52',\n ),\n 316 => \n array (\n 'id' => 2817,\n 'name' => 'manage',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:53',\n 'updated_at' => '2019-03-12 06:08:53',\n ),\n 317 => \n array (\n 'id' => 2818,\n 'name' => 'honestly',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:08:59',\n 'updated_at' => '2019-03-12 06:08:59',\n ),\n 318 => \n array (\n 'id' => 2819,\n 'name' => 'cake',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:01',\n 'updated_at' => '2019-03-12 06:09:01',\n ),\n 319 => \n array (\n 'id' => 2820,\n 'name' => 'far away',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:02',\n 'updated_at' => '2019-03-12 06:09:02',\n ),\n 320 => \n array (\n 'id' => 2821,\n 'name' => 'haters',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:04',\n 'updated_at' => '2019-03-12 06:09:04',\n ),\n 321 => \n array (\n 'id' => 2822,\n 'name' => 'denial',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:04',\n 'updated_at' => '2019-03-12 06:09:04',\n ),\n 322 => \n array (\n 'id' => 2823,\n 'name' => 'candle',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:05',\n 'updated_at' => '2019-03-12 06:09:05',\n ),\n 323 => \n array (\n 'id' => 2824,\n 'name' => 'fun time',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:05',\n 'updated_at' => '2019-03-12 06:09:05',\n ),\n 324 => \n array (\n 'id' => 2825,\n 'name' => 'athletes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:06',\n 'updated_at' => '2019-03-12 06:09:06',\n ),\n 325 => \n array (\n 'id' => 2826,\n 'name' => 'breathless',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:06',\n 'updated_at' => '2019-03-12 06:09:06',\n ),\n 326 => \n array (\n 'id' => 2827,\n 'name' => 'competitors',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:07',\n 'updated_at' => '2019-03-12 06:09:07',\n ),\n 327 => \n array (\n 'id' => 2828,\n 'name' => 'fierce',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:08',\n 'updated_at' => '2019-03-12 06:09:08',\n ),\n 328 => \n array (\n 'id' => 2829,\n 'name' => 'be yourself',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:08',\n 'updated_at' => '2019-03-12 06:09:08',\n ),\n 329 => \n array (\n 'id' => 2830,\n 'name' => 'hiding',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:09',\n 'updated_at' => '2019-03-12 06:09:09',\n ),\n 330 => \n array (\n 'id' => 2831,\n 'name' => 'role models',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:09',\n 'updated_at' => '2019-03-12 06:09:09',\n ),\n 331 => \n array (\n 'id' => 2832,\n 'name' => 'confident',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:10',\n 'updated_at' => '2019-03-12 06:09:10',\n ),\n 332 => \n array (\n 'id' => 2833,\n 'name' => 'witch',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:13',\n 'updated_at' => '2019-03-12 06:09:13',\n ),\n 333 => \n array (\n 'id' => 2834,\n 'name' => 'uncomfortable',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:14',\n 'updated_at' => '2019-03-12 06:09:14',\n ),\n 334 => \n array (\n 'id' => 2835,\n 'name' => 'common sense',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:16',\n 'updated_at' => '2019-03-12 06:09:16',\n ),\n 335 => \n array (\n 'id' => 2836,\n 'name' => 'pizza',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:18',\n 'updated_at' => '2019-03-12 06:09:18',\n ),\n 336 => \n array (\n 'id' => 2837,\n 'name' => 'carve',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:21',\n 'updated_at' => '2019-03-12 06:09:21',\n ),\n 337 => \n array (\n 'id' => 2838,\n 'name' => 'hardcover',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:21',\n 'updated_at' => '2019-03-12 06:09:21',\n ),\n 338 => \n array (\n 'id' => 2839,\n 'name' => 'essence',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:22',\n 'updated_at' => '2019-03-12 06:09:22',\n ),\n 339 => \n array (\n 'id' => 2840,\n 'name' => 'machine',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:22',\n 'updated_at' => '2019-03-12 06:09:22',\n ),\n 340 => \n array (\n 'id' => 2841,\n 'name' => 'good and bad',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:22',\n 'updated_at' => '2019-03-12 06:09:22',\n ),\n 341 => \n array (\n 'id' => 2842,\n 'name' => 'good-looking',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:23',\n 'updated_at' => '2019-03-12 06:09:23',\n ),\n 342 => \n array (\n 'id' => 2843,\n 'name' => 'talented',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:23',\n 'updated_at' => '2019-03-12 06:09:23',\n ),\n 343 => \n array (\n 'id' => 2844,\n 'name' => 'adam',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:23',\n 'updated_at' => '2019-03-12 06:09:23',\n ),\n 344 => \n array (\n 'id' => 2845,\n 'name' => 'buddies',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:24',\n 'updated_at' => '2019-03-12 06:09:24',\n ),\n 345 => \n array (\n 'id' => 2846,\n 'name' => 'glad',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:25',\n 'updated_at' => '2019-03-12 06:09:25',\n ),\n 346 => \n array (\n 'id' => 2847,\n 'name' => 'cursing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:29',\n 'updated_at' => '2019-03-12 06:09:29',\n ),\n 347 => \n array (\n 'id' => 2848,\n 'name' => 'spinning',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:37',\n 'updated_at' => '2019-03-12 06:09:37',\n ),\n 348 => \n array (\n 'id' => 2849,\n 'name' => 'museum',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:38',\n 'updated_at' => '2019-03-12 06:09:38',\n ),\n 349 => \n array (\n 'id' => 2850,\n 'name' => 'fuel',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:39',\n 'updated_at' => '2019-03-12 06:09:39',\n ),\n 350 => \n array (\n 'id' => 2851,\n 'name' => 'fridge',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:39',\n 'updated_at' => '2019-03-12 06:09:39',\n ),\n 351 => \n array (\n 'id' => 2852,\n 'name' => 'engage',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:40',\n 'updated_at' => '2019-03-12 06:09:40',\n ),\n 352 => \n array (\n 'id' => 2853,\n 'name' => 'good ideas',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:42',\n 'updated_at' => '2019-03-12 06:09:42',\n ),\n 353 => \n array (\n 'id' => 2854,\n 'name' => 'option',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:44',\n 'updated_at' => '2019-03-12 06:09:44',\n ),\n 354 => \n array (\n 'id' => 2855,\n 'name' => 'deadline',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:44',\n 'updated_at' => '2019-03-12 06:09:44',\n ),\n 355 => \n array (\n 'id' => 2856,\n 'name' => 'substitute',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:45',\n 'updated_at' => '2019-03-12 06:09:45',\n ),\n 356 => \n array (\n 'id' => 2857,\n 'name' => 'standing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:47',\n 'updated_at' => '2019-03-12 06:09:47',\n ),\n 357 => \n array (\n 'id' => 2858,\n 'name' => 'gasoline',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:47',\n 'updated_at' => '2019-03-12 06:09:47',\n ),\n 358 => \n array (\n 'id' => 2859,\n 'name' => 'fluid',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:47',\n 'updated_at' => '2019-03-12 06:09:47',\n ),\n 359 => \n array (\n 'id' => 2860,\n 'name' => 'lists',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:48',\n 'updated_at' => '2019-03-12 06:09:48',\n ),\n 360 => \n array (\n 'id' => 2861,\n 'name' => 'parse',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:49',\n 'updated_at' => '2019-03-12 06:09:49',\n ),\n 361 => \n array (\n 'id' => 2862,\n 'name' => 'genocide',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:51',\n 'updated_at' => '2019-03-12 06:09:51',\n ),\n 362 => \n array (\n 'id' => 2863,\n 'name' => 'fabric',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:51',\n 'updated_at' => '2019-03-12 06:09:51',\n ),\n 363 => \n array (\n 'id' => 2864,\n 'name' => 'woven',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:52',\n 'updated_at' => '2019-03-12 06:09:52',\n ),\n 364 => \n array (\n 'id' => 2865,\n 'name' => 'better off',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:52',\n 'updated_at' => '2019-03-12 06:09:52',\n ),\n 365 => \n array (\n 'id' => 2866,\n 'name' => 'golden',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:54',\n 'updated_at' => '2019-03-12 06:09:54',\n ),\n 366 => \n array (\n 'id' => 2867,\n 'name' => 'ideals',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:55',\n 'updated_at' => '2019-03-12 06:09:55',\n ),\n 367 => \n array (\n 'id' => 2868,\n 'name' => 'cold war',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:58',\n 'updated_at' => '2019-03-12 06:09:58',\n ),\n 368 => \n array (\n 'id' => 2869,\n 'name' => 'increase',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:59',\n 'updated_at' => '2019-03-12 06:09:59',\n ),\n 369 => \n array (\n 'id' => 2870,\n 'name' => 'september',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:09:59',\n 'updated_at' => '2019-03-12 06:09:59',\n ),\n 370 => \n array (\n 'id' => 2871,\n 'name' => 'breeding',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:00',\n 'updated_at' => '2019-03-12 06:10:00',\n ),\n 371 => \n array (\n 'id' => 2872,\n 'name' => 'grounds',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:00',\n 'updated_at' => '2019-03-12 06:10:00',\n ),\n 372 => \n array (\n 'id' => 2873,\n 'name' => 'law school',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:02',\n 'updated_at' => '2019-03-12 06:10:02',\n ),\n 373 => \n array (\n 'id' => 2874,\n 'name' => 'trend',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:03',\n 'updated_at' => '2019-03-12 06:10:03',\n ),\n 374 => \n array (\n 'id' => 2875,\n 'name' => 'neutral',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:04',\n 'updated_at' => '2019-03-12 06:10:04',\n ),\n 375 => \n array (\n 'id' => 2876,\n 'name' => 'chameleon',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:04',\n 'updated_at' => '2019-03-12 06:10:04',\n ),\n 376 => \n array (\n 'id' => 2877,\n 'name' => 'gears',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:04',\n 'updated_at' => '2019-03-12 06:10:04',\n ),\n 377 => \n array (\n 'id' => 2878,\n 'name' => 'switching',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:04',\n 'updated_at' => '2019-03-12 06:10:04',\n ),\n 378 => \n array (\n 'id' => 2879,\n 'name' => 'headphones',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:10',\n 'updated_at' => '2019-03-12 06:10:10',\n ),\n 379 => \n array (\n 'id' => 2880,\n 'name' => 'ends',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:11',\n 'updated_at' => '2019-03-12 06:10:11',\n ),\n 380 => \n array (\n 'id' => 2881,\n 'name' => 'lyric',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:12',\n 'updated_at' => '2019-03-12 06:10:12',\n ),\n 381 => \n array (\n 'id' => 2882,\n 'name' => 'noise',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:13',\n 'updated_at' => '2019-03-12 06:10:13',\n ),\n 382 => \n array (\n 'id' => 2883,\n 'name' => 'diary',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:13',\n 'updated_at' => '2019-03-12 06:10:13',\n ),\n 383 => \n array (\n 'id' => 2884,\n 'name' => 'chase',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:14',\n 'updated_at' => '2019-03-12 06:10:14',\n ),\n 384 => \n array (\n 'id' => 2885,\n 'name' => 'long day',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:15',\n 'updated_at' => '2019-03-12 06:10:15',\n ),\n 385 => \n array (\n 'id' => 2886,\n 'name' => 'bad people',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:16',\n 'updated_at' => '2019-03-12 06:10:16',\n ),\n 386 => \n array (\n 'id' => 2887,\n 'name' => 'chubby',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:16',\n 'updated_at' => '2019-03-12 06:10:16',\n ),\n 387 => \n array (\n 'id' => 2888,\n 'name' => 'warm',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:21',\n 'updated_at' => '2019-03-12 06:10:21',\n ),\n 388 => \n array (\n 'id' => 2889,\n 'name' => 'roof',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:22',\n 'updated_at' => '2019-03-12 06:10:22',\n ),\n 389 => \n array (\n 'id' => 2890,\n 'name' => 'embarrassing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:22',\n 'updated_at' => '2019-03-12 06:10:22',\n ),\n 390 => \n array (\n 'id' => 2891,\n 'name' => 'quit',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:24',\n 'updated_at' => '2019-03-12 06:10:24',\n ),\n 391 => \n array (\n 'id' => 2892,\n 'name' => 'one line',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:26',\n 'updated_at' => '2019-03-12 06:10:26',\n ),\n 392 => \n array (\n 'id' => 2893,\n 'name' => 'tom',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:26',\n 'updated_at' => '2019-03-12 06:10:26',\n ),\n 393 => \n array (\n 'id' => 2894,\n 'name' => 'caught',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:28',\n 'updated_at' => '2019-03-12 06:10:28',\n ),\n 394 => \n array (\n 'id' => 2895,\n 'name' => 'casting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:29',\n 'updated_at' => '2019-03-12 06:10:29',\n ),\n 395 => \n array (\n 'id' => 2896,\n 'name' => 'tower',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:31',\n 'updated_at' => '2019-03-12 06:10:31',\n ),\n 396 => \n array (\n 'id' => 2897,\n 'name' => 'material',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:32',\n 'updated_at' => '2019-03-12 06:10:32',\n ),\n 397 => \n array (\n 'id' => 2898,\n 'name' => 'first love',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:36',\n 'updated_at' => '2019-03-12 06:10:36',\n ),\n 398 => \n array (\n 'id' => 2899,\n 'name' => 'changing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:36',\n 'updated_at' => '2019-03-12 06:10:36',\n ),\n 399 => \n array (\n 'id' => 2900,\n 'name' => 'betting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:37',\n 'updated_at' => '2019-03-12 06:10:37',\n ),\n 400 => \n array (\n 'id' => 2901,\n 'name' => 'begin',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:37',\n 'updated_at' => '2019-03-12 06:10:37',\n ),\n 401 => \n array (\n 'id' => 2902,\n 'name' => 'pro',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:37',\n 'updated_at' => '2019-03-12 06:10:37',\n ),\n 402 => \n array (\n 'id' => 2903,\n 'name' => 'gambling',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:37',\n 'updated_at' => '2019-03-12 06:10:37',\n ),\n 403 => \n array (\n 'id' => 2904,\n 'name' => 'nba',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:38',\n 'updated_at' => '2019-03-12 06:10:38',\n ),\n 404 => \n array (\n 'id' => 2905,\n 'name' => 'physical',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:38',\n 'updated_at' => '2019-03-12 06:10:38',\n ),\n 405 => \n array (\n 'id' => 2906,\n 'name' => 'grief',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:43',\n 'updated_at' => '2019-03-12 06:10:43',\n ),\n 406 => \n array (\n 'id' => 2907,\n 'name' => 'mortality',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:45',\n 'updated_at' => '2019-03-12 06:10:45',\n ),\n 407 => \n array (\n 'id' => 2908,\n 'name' => 'move on',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:45',\n 'updated_at' => '2019-03-12 06:10:45',\n ),\n 408 => \n array (\n 'id' => 2909,\n 'name' => 'published',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:46',\n 'updated_at' => '2019-03-12 06:10:46',\n ),\n 409 => \n array (\n 'id' => 2910,\n 'name' => 'having',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:46',\n 'updated_at' => '2019-03-12 06:10:46',\n ),\n 410 => \n array (\n 'id' => 2911,\n 'name' => 'whenever',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:47',\n 'updated_at' => '2019-03-12 06:10:47',\n ),\n 411 => \n array (\n 'id' => 2912,\n 'name' => 'adult',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:49',\n 'updated_at' => '2019-03-12 06:10:49',\n ),\n 412 => \n array (\n 'id' => 2913,\n 'name' => 'girlfriends',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:51',\n 'updated_at' => '2019-03-12 06:10:51',\n ),\n 413 => \n array (\n 'id' => 2914,\n 'name' => 'baker',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:55',\n 'updated_at' => '2019-03-12 06:10:55',\n ),\n 414 => \n array (\n 'id' => 2915,\n 'name' => 'producer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:56',\n 'updated_at' => '2019-03-12 06:10:56',\n ),\n 415 => \n array (\n 'id' => 2916,\n 'name' => 'miserable',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:56',\n 'updated_at' => '2019-03-12 06:10:56',\n ),\n 416 => \n array (\n 'id' => 2917,\n 'name' => 'ambiguity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:56',\n 'updated_at' => '2019-03-12 06:10:56',\n ),\n 417 => \n array (\n 'id' => 2918,\n 'name' => 'bones',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:58',\n 'updated_at' => '2019-03-12 06:10:58',\n ),\n 418 => \n array (\n 'id' => 2919,\n 'name' => 'conscience',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:58',\n 'updated_at' => '2019-03-12 06:10:58',\n ),\n 419 => \n array (\n 'id' => 2920,\n 'name' => 'finger',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:59',\n 'updated_at' => '2019-03-12 06:10:59',\n ),\n 420 => \n array (\n 'id' => 2921,\n 'name' => 'pulse',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:10:59',\n 'updated_at' => '2019-03-12 06:10:59',\n ),\n 421 => \n array (\n 'id' => 2922,\n 'name' => 'lays',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:00',\n 'updated_at' => '2019-03-12 06:11:00',\n ),\n 422 => \n array (\n 'id' => 2923,\n 'name' => 'operations',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:00',\n 'updated_at' => '2019-03-12 06:11:00',\n ),\n 423 => \n array (\n 'id' => 2924,\n 'name' => 'opulence',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:01',\n 'updated_at' => '2019-03-12 06:11:01',\n ),\n 424 => \n array (\n 'id' => 2925,\n 'name' => 'cases',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:02',\n 'updated_at' => '2019-03-12 06:11:02',\n ),\n 425 => \n array (\n 'id' => 2926,\n 'name' => 'lottery',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:02',\n 'updated_at' => '2019-03-12 06:11:02',\n ),\n 426 => \n array (\n 'id' => 2927,\n 'name' => 'rich people',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:03',\n 'updated_at' => '2019-03-12 06:11:03',\n ),\n 427 => \n array (\n 'id' => 2928,\n 'name' => 'parade',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:03',\n 'updated_at' => '2019-03-12 06:11:03',\n ),\n 428 => \n array (\n 'id' => 2929,\n 'name' => 'scarcity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:04',\n 'updated_at' => '2019-03-12 06:11:04',\n ),\n 429 => \n array (\n 'id' => 2930,\n 'name' => 'oh',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:06',\n 'updated_at' => '2019-03-12 06:11:06',\n ),\n 430 => \n array (\n 'id' => 2931,\n 'name' => 'irresistible',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:06',\n 'updated_at' => '2019-03-12 06:11:06',\n ),\n 431 => \n array (\n 'id' => 2932,\n 'name' => 'hankering',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:07',\n 'updated_at' => '2019-03-12 06:11:07',\n ),\n 432 => \n array (\n 'id' => 2933,\n 'name' => 'jealous',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:07',\n 'updated_at' => '2019-03-12 06:11:07',\n ),\n 433 => \n array (\n 'id' => 2934,\n 'name' => 'tyranny',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:07',\n 'updated_at' => '2019-03-12 06:11:07',\n ),\n 434 => \n array (\n 'id' => 2935,\n 'name' => 'morality',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:07',\n 'updated_at' => '2019-03-12 06:11:07',\n ),\n 435 => \n array (\n 'id' => 2936,\n 'name' => 'illumination',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:07',\n 'updated_at' => '2019-03-12 06:11:07',\n ),\n 436 => \n array (\n 'id' => 2937,\n 'name' => 'association',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:09',\n 'updated_at' => '2019-03-12 06:11:09',\n ),\n 437 => \n array (\n 'id' => 2938,\n 'name' => 'founder',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:10',\n 'updated_at' => '2019-03-12 06:11:10',\n ),\n 438 => \n array (\n 'id' => 2939,\n 'name' => 'priest',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:11',\n 'updated_at' => '2019-03-12 06:11:11',\n ),\n 439 => \n array (\n 'id' => 2940,\n 'name' => 'torch',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:12',\n 'updated_at' => '2019-03-12 06:11:12',\n ),\n 440 => \n array (\n 'id' => 2941,\n 'name' => 'fresh',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:14',\n 'updated_at' => '2019-03-12 06:11:14',\n ),\n 441 => \n array (\n 'id' => 2942,\n 'name' => 'stupidity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:14',\n 'updated_at' => '2019-03-12 06:11:14',\n ),\n 442 => \n array (\n 'id' => 2943,\n 'name' => 'batman',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:15',\n 'updated_at' => '2019-03-12 06:11:15',\n ),\n 443 => \n array (\n 'id' => 2944,\n 'name' => 'gem',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:15',\n 'updated_at' => '2019-03-12 06:11:15',\n ),\n 444 => \n array (\n 'id' => 2945,\n 'name' => 'dinosaurs',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:15',\n 'updated_at' => '2019-03-12 06:11:15',\n ),\n 445 => \n array (\n 'id' => 2946,\n 'name' => 'full',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:16',\n 'updated_at' => '2019-03-12 06:11:16',\n ),\n 446 => \n array (\n 'id' => 2947,\n 'name' => 'ironies',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:16',\n 'updated_at' => '2019-03-12 06:11:16',\n ),\n 447 => \n array (\n 'id' => 2948,\n 'name' => 'capture',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:17',\n 'updated_at' => '2019-03-12 06:11:17',\n ),\n 448 => \n array (\n 'id' => 2949,\n 'name' => 'superhero',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:17',\n 'updated_at' => '2019-03-12 06:11:17',\n ),\n 449 => \n array (\n 'id' => 2950,\n 'name' => 'depth',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:17',\n 'updated_at' => '2019-03-12 06:11:17',\n ),\n 450 => \n array (\n 'id' => 2951,\n 'name' => 'icon',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:18',\n 'updated_at' => '2019-03-12 06:11:18',\n ),\n 451 => \n array (\n 'id' => 2952,\n 'name' => 'mule',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:20',\n 'updated_at' => '2019-03-12 06:11:20',\n ),\n 452 => \n array (\n 'id' => 2953,\n 'name' => 'hello',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:23',\n 'updated_at' => '2019-03-12 06:11:23',\n ),\n 453 => \n array (\n 'id' => 2954,\n 'name' => 'absurd',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:23',\n 'updated_at' => '2019-03-12 06:11:23',\n ),\n 454 => \n array (\n 'id' => 2955,\n 'name' => 'theater',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:23',\n 'updated_at' => '2019-03-12 06:11:23',\n ),\n 455 => \n array (\n 'id' => 2956,\n 'name' => 'bold',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:26',\n 'updated_at' => '2019-03-12 06:11:26',\n ),\n 456 => \n array (\n 'id' => 2957,\n 'name' => 'shadows',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:27',\n 'updated_at' => '2019-03-12 06:11:27',\n ),\n 457 => \n array (\n 'id' => 2958,\n 'name' => 'aware',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:32',\n 'updated_at' => '2019-03-12 06:11:32',\n ),\n 458 => \n array (\n 'id' => 2959,\n 'name' => 'tearing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:33',\n 'updated_at' => '2019-03-12 06:11:33',\n ),\n 459 => \n array (\n 'id' => 2960,\n 'name' => 'apart',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:33',\n 'updated_at' => '2019-03-12 06:11:33',\n ),\n 460 => \n array (\n 'id' => 2961,\n 'name' => 'wishes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:34',\n 'updated_at' => '2019-03-12 06:11:34',\n ),\n 461 => \n array (\n 'id' => 2962,\n 'name' => 'recovery',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:34',\n 'updated_at' => '2019-03-12 06:11:34',\n ),\n 462 => \n array (\n 'id' => 2963,\n 'name' => 'wander',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:39',\n 'updated_at' => '2019-03-12 06:11:39',\n ),\n 463 => \n array (\n 'id' => 2964,\n 'name' => 'remembered',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:39',\n 'updated_at' => '2019-03-12 06:11:39',\n ),\n 464 => \n array (\n 'id' => 2965,\n 'name' => 'human rights',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:40',\n 'updated_at' => '2019-03-12 06:11:40',\n ),\n 465 => \n array (\n 'id' => 2966,\n 'name' => 'actually',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:41',\n 'updated_at' => '2019-03-12 06:11:41',\n ),\n 466 => \n array (\n 'id' => 2967,\n 'name' => 'snow',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:41',\n 'updated_at' => '2019-03-12 06:11:41',\n ),\n 467 => \n array (\n 'id' => 2968,\n 'name' => 'skiing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:41',\n 'updated_at' => '2019-03-12 06:11:41',\n ),\n 468 => \n array (\n 'id' => 2969,\n 'name' => 'long time',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:42',\n 'updated_at' => '2019-03-12 06:11:42',\n ),\n 469 => \n array (\n 'id' => 2970,\n 'name' => 'layer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:43',\n 'updated_at' => '2019-03-12 06:11:43',\n ),\n 470 => \n array (\n 'id' => 2971,\n 'name' => 'breaking',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:43',\n 'updated_at' => '2019-03-12 06:11:43',\n ),\n 471 => \n array (\n 'id' => 2972,\n 'name' => 'leisure',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:45',\n 'updated_at' => '2019-03-12 06:11:45',\n ),\n 472 => \n array (\n 'id' => 2973,\n 'name' => 'psychology',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:46',\n 'updated_at' => '2019-03-12 06:11:46',\n ),\n 473 => \n array (\n 'id' => 2974,\n 'name' => 'misery',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:48',\n 'updated_at' => '2019-03-12 06:11:48',\n ),\n 474 => \n array (\n 'id' => 2975,\n 'name' => 'misery loves company',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:48',\n 'updated_at' => '2019-03-12 06:11:48',\n ),\n 475 => \n array (\n 'id' => 2976,\n 'name' => 'lawsuit',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:49',\n 'updated_at' => '2019-03-12 06:11:49',\n ),\n 476 => \n array (\n 'id' => 2977,\n 'name' => 'excuses',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:50',\n 'updated_at' => '2019-03-12 06:11:50',\n ),\n 477 => \n array (\n 'id' => 2978,\n 'name' => 'met',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:50',\n 'updated_at' => '2019-03-12 06:11:50',\n ),\n 478 => \n array (\n 'id' => 2979,\n 'name' => 'paid',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:51',\n 'updated_at' => '2019-03-12 06:11:51',\n ),\n 479 => \n array (\n 'id' => 2980,\n 'name' => 'poets',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:51',\n 'updated_at' => '2019-03-12 06:11:51',\n ),\n 480 => \n array (\n 'id' => 2981,\n 'name' => 'alexander',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:51',\n 'updated_at' => '2019-03-12 06:11:51',\n ),\n 481 => \n array (\n 'id' => 2982,\n 'name' => 'challenging',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:52',\n 'updated_at' => '2019-03-12 06:11:52',\n ),\n 482 => \n array (\n 'id' => 2983,\n 'name' => 'sucker',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:52',\n 'updated_at' => '2019-03-12 06:11:52',\n ),\n 483 => \n array (\n 'id' => 2984,\n 'name' => 'killer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:53',\n 'updated_at' => '2019-03-12 06:11:53',\n ),\n 484 => \n array (\n 'id' => 2985,\n 'name' => 'leaves',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:54',\n 'updated_at' => '2019-03-12 06:11:54',\n ),\n 485 => \n array (\n 'id' => 2986,\n 'name' => 'utopia',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:11:59',\n 'updated_at' => '2019-03-12 06:11:59',\n ),\n 486 => \n array (\n 'id' => 2987,\n 'name' => 'impression',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:00',\n 'updated_at' => '2019-03-12 06:12:00',\n ),\n 487 => \n array (\n 'id' => 2988,\n 'name' => 'asian',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:00',\n 'updated_at' => '2019-03-12 06:12:00',\n ),\n 488 => \n array (\n 'id' => 2989,\n 'name' => 'dust',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:02',\n 'updated_at' => '2019-03-12 06:12:02',\n ),\n 489 => \n array (\n 'id' => 2990,\n 'name' => 'beside',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:02',\n 'updated_at' => '2019-03-12 06:12:02',\n ),\n 490 => \n array (\n 'id' => 2991,\n 'name' => 'grows',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:02',\n 'updated_at' => '2019-03-12 06:12:02',\n ),\n 491 => \n array (\n 'id' => 2992,\n 'name' => 'often',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:04',\n 'updated_at' => '2019-03-12 06:12:04',\n ),\n 492 => \n array (\n 'id' => 2993,\n 'name' => 'arises',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:04',\n 'updated_at' => '2019-03-12 06:12:04',\n ),\n 493 => \n array (\n 'id' => 2994,\n 'name' => 'might',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:04',\n 'updated_at' => '2019-03-12 06:12:04',\n ),\n 494 => \n array (\n 'id' => 2995,\n 'name' => 'lord',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:05',\n 'updated_at' => '2019-03-12 06:12:05',\n ),\n 495 => \n array (\n 'id' => 2996,\n 'name' => 'pleasant',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:05',\n 'updated_at' => '2019-03-12 06:12:05',\n ),\n 496 => \n array (\n 'id' => 2997,\n 'name' => 'keys',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:06',\n 'updated_at' => '2019-03-12 06:12:06',\n ),\n 497 => \n array (\n 'id' => 2998,\n 'name' => 'weary',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:06',\n 'updated_at' => '2019-03-12 06:12:06',\n ),\n 498 => \n array (\n 'id' => 2999,\n 'name' => 'photo shoot',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:09',\n 'updated_at' => '2019-03-12 06:12:09',\n ),\n 499 => \n array (\n 'id' => 3000,\n 'name' => 'generally',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:10',\n 'updated_at' => '2019-03-12 06:12:10',\n ),\n ));\n \\DB::table('tags')->insert(array (\n 0 => \n array (\n 'id' => 3001,\n 'name' => 'blonde',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:12',\n 'updated_at' => '2019-03-12 06:12:12',\n ),\n 1 => \n array (\n 'id' => 3002,\n 'name' => 'netflix',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:12',\n 'updated_at' => '2019-03-12 06:12:12',\n ),\n 2 => \n array (\n 'id' => 3003,\n 'name' => 'bizarre',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:14',\n 'updated_at' => '2019-03-12 06:12:14',\n ),\n 3 => \n array (\n 'id' => 3004,\n 'name' => 'wolf',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:15',\n 'updated_at' => '2019-03-12 06:12:15',\n ),\n 4 => \n array (\n 'id' => 3005,\n 'name' => 'irish',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:17',\n 'updated_at' => '2019-03-12 06:12:17',\n ),\n 5 => \n array (\n 'id' => 3006,\n 'name' => 'scottish',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:17',\n 'updated_at' => '2019-03-12 06:12:17',\n ),\n 6 => \n array (\n 'id' => 3007,\n 'name' => 'manners',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:20',\n 'updated_at' => '2019-03-12 06:12:20',\n ),\n 7 => \n array (\n 'id' => 3008,\n 'name' => 'meantime',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:22',\n 'updated_at' => '2019-03-12 06:12:22',\n ),\n 8 => \n array (\n 'id' => 3009,\n 'name' => 'grey',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:22',\n 'updated_at' => '2019-03-12 06:12:22',\n ),\n 9 => \n array (\n 'id' => 3010,\n 'name' => 'blue eyes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:24',\n 'updated_at' => '2019-03-12 06:12:24',\n ),\n 10 => \n array (\n 'id' => 3011,\n 'name' => 'gaze',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:25',\n 'updated_at' => '2019-03-12 06:12:25',\n ),\n 11 => \n array (\n 'id' => 3012,\n 'name' => 'vanity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:27',\n 'updated_at' => '2019-03-12 06:12:27',\n ),\n 12 => \n array (\n 'id' => 3013,\n 'name' => 'ready',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:27',\n 'updated_at' => '2019-03-12 06:12:27',\n ),\n 13 => \n array (\n 'id' => 3014,\n 'name' => 'purse',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:28',\n 'updated_at' => '2019-03-12 06:12:28',\n ),\n 14 => \n array (\n 'id' => 3015,\n 'name' => 'ears',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:29',\n 'updated_at' => '2019-03-12 06:12:29',\n ),\n 15 => \n array (\n 'id' => 3016,\n 'name' => 'hang',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:30',\n 'updated_at' => '2019-03-12 06:12:30',\n ),\n 16 => \n array (\n 'id' => 3017,\n 'name' => 'insecurities',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:30',\n 'updated_at' => '2019-03-12 06:12:30',\n ),\n 17 => \n array (\n 'id' => 3018,\n 'name' => 'naughty',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:32',\n 'updated_at' => '2019-03-12 06:12:32',\n ),\n 18 => \n array (\n 'id' => 3019,\n 'name' => 'prioritize',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:33',\n 'updated_at' => '2019-03-12 06:12:33',\n ),\n 19 => \n array (\n 'id' => 3020,\n 'name' => 'connect',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:34',\n 'updated_at' => '2019-03-12 06:12:34',\n ),\n 20 => \n array (\n 'id' => 3021,\n 'name' => 'public',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:34',\n 'updated_at' => '2019-03-12 06:12:34',\n ),\n 21 => \n array (\n 'id' => 3022,\n 'name' => 'upset',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:37',\n 'updated_at' => '2019-03-12 06:12:37',\n ),\n 22 => \n array (\n 'id' => 3023,\n 'name' => 'plant',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:38',\n 'updated_at' => '2019-03-12 06:12:38',\n ),\n 23 => \n array (\n 'id' => 3024,\n 'name' => 'save',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:40',\n 'updated_at' => '2019-03-12 06:12:40',\n ),\n 24 => \n array (\n 'id' => 3025,\n 'name' => 'shoot',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:41',\n 'updated_at' => '2019-03-12 06:12:41',\n ),\n 25 => \n array (\n 'id' => 3026,\n 'name' => 'skating',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:42',\n 'updated_at' => '2019-03-12 06:12:42',\n ),\n 26 => \n array (\n 'id' => 3027,\n 'name' => 'russia',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:42',\n 'updated_at' => '2019-03-12 06:12:42',\n ),\n 27 => \n array (\n 'id' => 3028,\n 'name' => 'long way',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:43',\n 'updated_at' => '2019-03-12 06:12:43',\n ),\n 28 => \n array (\n 'id' => 3029,\n 'name' => 'hobby',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:44',\n 'updated_at' => '2019-03-12 06:12:44',\n ),\n 29 => \n array (\n 'id' => 3030,\n 'name' => 'breathe',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:46',\n 'updated_at' => '2019-03-12 06:12:46',\n ),\n 30 => \n array (\n 'id' => 3031,\n 'name' => 'canada',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:47',\n 'updated_at' => '2019-03-12 06:12:47',\n ),\n 31 => \n array (\n 'id' => 3032,\n 'name' => 'employees',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:48',\n 'updated_at' => '2019-03-12 06:12:48',\n ),\n 32 => \n array (\n 'id' => 3033,\n 'name' => 'heard',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:49',\n 'updated_at' => '2019-03-12 06:12:49',\n ),\n 33 => \n array (\n 'id' => 3034,\n 'name' => 'valued',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:49',\n 'updated_at' => '2019-03-12 06:12:49',\n ),\n 34 => \n array (\n 'id' => 3035,\n 'name' => 'ignite',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:50',\n 'updated_at' => '2019-03-12 06:12:50',\n ),\n 35 => \n array (\n 'id' => 3036,\n 'name' => 'danger',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:54',\n 'updated_at' => '2019-03-12 06:12:54',\n ),\n 36 => \n array (\n 'id' => 3037,\n 'name' => 'businesses',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:54',\n 'updated_at' => '2019-03-12 06:12:54',\n ),\n 37 => \n array (\n 'id' => 3038,\n 'name' => 'strengths',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:12:56',\n 'updated_at' => '2019-03-12 06:12:56',\n ),\n 38 => \n array (\n 'id' => 3039,\n 'name' => 'life is too short',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:00',\n 'updated_at' => '2019-03-12 06:13:00',\n ),\n 39 => \n array (\n 'id' => 3040,\n 'name' => 'resume',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:01',\n 'updated_at' => '2019-03-12 06:13:01',\n ),\n 40 => \n array (\n 'id' => 3041,\n 'name' => 'films',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:01',\n 'updated_at' => '2019-03-12 06:13:01',\n ),\n 41 => \n array (\n 'id' => 3042,\n 'name' => 'senior',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:01',\n 'updated_at' => '2019-03-12 06:13:01',\n ),\n 42 => \n array (\n 'id' => 3043,\n 'name' => 'handle',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:02',\n 'updated_at' => '2019-03-12 06:13:02',\n ),\n 43 => \n array (\n 'id' => 3044,\n 'name' => 'twitter',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:02',\n 'updated_at' => '2019-03-12 06:13:02',\n ),\n 44 => \n array (\n 'id' => 3045,\n 'name' => 'colours',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:04',\n 'updated_at' => '2019-03-12 06:13:04',\n ),\n 45 => \n array (\n 'id' => 3046,\n 'name' => 'authentic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:06',\n 'updated_at' => '2019-03-12 06:13:06',\n ),\n 46 => \n array (\n 'id' => 3047,\n 'name' => 'trumpet',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:09',\n 'updated_at' => '2019-03-12 06:13:09',\n ),\n 47 => \n array (\n 'id' => 3048,\n 'name' => 'toronto',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:09',\n 'updated_at' => '2019-03-12 06:13:09',\n ),\n 48 => \n array (\n 'id' => 3049,\n 'name' => 'fate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:12',\n 'updated_at' => '2019-03-12 06:13:12',\n ),\n 49 => \n array (\n 'id' => 3050,\n 'name' => 'tribe',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:12',\n 'updated_at' => '2019-03-12 06:13:12',\n ),\n 50 => \n array (\n 'id' => 3051,\n 'name' => 'hawaii',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:13',\n 'updated_at' => '2019-03-12 06:13:13',\n ),\n 51 => \n array (\n 'id' => 3052,\n 'name' => 'brave',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:13',\n 'updated_at' => '2019-03-12 06:13:13',\n ),\n 52 => \n array (\n 'id' => 3053,\n 'name' => 'crown',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:13',\n 'updated_at' => '2019-03-12 06:13:13',\n ),\n 53 => \n array (\n 'id' => 3054,\n 'name' => 'thrive',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:14',\n 'updated_at' => '2019-03-12 06:13:14',\n ),\n 54 => \n array (\n 'id' => 3055,\n 'name' => 'setting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:16',\n 'updated_at' => '2019-03-12 06:13:16',\n ),\n 55 => \n array (\n 'id' => 3056,\n 'name' => 'grassroots',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:16',\n 'updated_at' => '2019-03-12 06:13:16',\n ),\n 56 => \n array (\n 'id' => 3057,\n 'name' => 'london',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:19',\n 'updated_at' => '2019-03-12 06:13:19',\n ),\n 57 => \n array (\n 'id' => 3058,\n 'name' => 'july',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:19',\n 'updated_at' => '2019-03-12 06:13:19',\n ),\n 58 => \n array (\n 'id' => 3059,\n 'name' => 'benefit',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:19',\n 'updated_at' => '2019-03-12 06:13:19',\n ),\n 59 => \n array (\n 'id' => 3060,\n 'name' => 'each',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:20',\n 'updated_at' => '2019-03-12 06:13:20',\n ),\n 60 => \n array (\n 'id' => 3061,\n 'name' => 'governance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:25',\n 'updated_at' => '2019-03-12 06:13:25',\n ),\n 61 => \n array (\n 'id' => 3062,\n 'name' => 'engineering',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:27',\n 'updated_at' => '2019-03-12 06:13:27',\n ),\n 62 => \n array (\n 'id' => 3063,\n 'name' => 'statesmen',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:28',\n 'updated_at' => '2019-03-12 06:13:28',\n ),\n 63 => \n array (\n 'id' => 3064,\n 'name' => 'electric',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:30',\n 'updated_at' => '2019-03-12 06:13:30',\n ),\n 64 => \n array (\n 'id' => 3065,\n 'name' => 'inflation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:30',\n 'updated_at' => '2019-03-12 06:13:30',\n ),\n 65 => \n array (\n 'id' => 3066,\n 'name' => 'expanding',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:33',\n 'updated_at' => '2019-03-12 06:13:33',\n ),\n 66 => \n array (\n 'id' => 3067,\n 'name' => 'rapidly',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:33',\n 'updated_at' => '2019-03-12 06:13:33',\n ),\n 67 => \n array (\n 'id' => 3068,\n 'name' => 'however',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:33',\n 'updated_at' => '2019-03-12 06:13:33',\n ),\n 68 => \n array (\n 'id' => 3069,\n 'name' => 'earrings',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:35',\n 'updated_at' => '2019-03-12 06:13:35',\n ),\n 69 => \n array (\n 'id' => 3070,\n 'name' => 'less is more',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:35',\n 'updated_at' => '2019-03-12 06:13:35',\n ),\n 70 => \n array (\n 'id' => 3071,\n 'name' => 'terrifying',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:36',\n 'updated_at' => '2019-03-12 06:13:36',\n ),\n 71 => \n array (\n 'id' => 3072,\n 'name' => 'monologues',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:36',\n 'updated_at' => '2019-03-12 06:13:36',\n ),\n 72 => \n array (\n 'id' => 3073,\n 'name' => 'jump',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:38',\n 'updated_at' => '2019-03-12 06:13:38',\n ),\n 73 => \n array (\n 'id' => 3074,\n 'name' => 'ego',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:39',\n 'updated_at' => '2019-03-12 06:13:39',\n ),\n 74 => \n array (\n 'id' => 3075,\n 'name' => 'thrill',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:40',\n 'updated_at' => '2019-03-12 06:13:40',\n ),\n 75 => \n array (\n 'id' => 3076,\n 'name' => 'optimist',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:40',\n 'updated_at' => '2019-03-12 06:13:40',\n ),\n 76 => \n array (\n 'id' => 3077,\n 'name' => 'resilient',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:40',\n 'updated_at' => '2019-03-12 06:13:40',\n ),\n 77 => \n array (\n 'id' => 3078,\n 'name' => 'harder',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:42',\n 'updated_at' => '2019-03-12 06:13:42',\n ),\n 78 => \n array (\n 'id' => 3079,\n 'name' => 'thank',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:43',\n 'updated_at' => '2019-03-12 06:13:43',\n ),\n 79 => \n array (\n 'id' => 3080,\n 'name' => 'thank goodness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:43',\n 'updated_at' => '2019-03-12 06:13:43',\n ),\n 80 => \n array (\n 'id' => 3081,\n 'name' => 'raised',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:44',\n 'updated_at' => '2019-03-12 06:13:44',\n ),\n 81 => \n array (\n 'id' => 3082,\n 'name' => 'sierra leone',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:44',\n 'updated_at' => '2019-03-12 06:13:44',\n ),\n 82 => \n array (\n 'id' => 3083,\n 'name' => 'grow up',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:44',\n 'updated_at' => '2019-03-12 06:13:44',\n ),\n 83 => \n array (\n 'id' => 3084,\n 'name' => 'sarah',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:47',\n 'updated_at' => '2019-03-12 06:13:47',\n ),\n 84 => \n array (\n 'id' => 3085,\n 'name' => 'roads',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:48',\n 'updated_at' => '2019-03-12 06:13:48',\n ),\n 85 => \n array (\n 'id' => 3086,\n 'name' => 'monuments',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:49',\n 'updated_at' => '2019-03-12 06:13:49',\n ),\n 86 => \n array (\n 'id' => 3087,\n 'name' => 'fabulous',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:49',\n 'updated_at' => '2019-03-12 06:13:49',\n ),\n 87 => \n array (\n 'id' => 3088,\n 'name' => 'delhi',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:49',\n 'updated_at' => '2019-03-12 06:13:49',\n ),\n 88 => \n array (\n 'id' => 3089,\n 'name' => 'boldness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:50',\n 'updated_at' => '2019-03-12 06:13:50',\n ),\n 89 => \n array (\n 'id' => 3090,\n 'name' => 'girly',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:50',\n 'updated_at' => '2019-03-12 06:13:50',\n ),\n 90 => \n array (\n 'id' => 3091,\n 'name' => 'illustrious',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:53',\n 'updated_at' => '2019-03-12 06:13:53',\n ),\n 91 => \n array (\n 'id' => 3092,\n 'name' => 'linguistic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:55',\n 'updated_at' => '2019-03-12 06:13:55',\n ),\n 92 => \n array (\n 'id' => 3093,\n 'name' => 'filmmaking',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:57',\n 'updated_at' => '2019-03-12 06:13:57',\n ),\n 93 => \n array (\n 'id' => 3094,\n 'name' => 'sir',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:58',\n 'updated_at' => '2019-03-12 06:13:58',\n ),\n 94 => \n array (\n 'id' => 3095,\n 'name' => 'bombay',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:59',\n 'updated_at' => '2019-03-12 06:13:59',\n ),\n 95 => \n array (\n 'id' => 3096,\n 'name' => 'heroine',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:13:59',\n 'updated_at' => '2019-03-12 06:13:59',\n ),\n 96 => \n array (\n 'id' => 3097,\n 'name' => 'electrical',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:02',\n 'updated_at' => '2019-03-12 06:14:02',\n ),\n 97 => \n array (\n 'id' => 3098,\n 'name' => 'measurement',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:03',\n 'updated_at' => '2019-03-12 06:14:03',\n ),\n 98 => \n array (\n 'id' => 3099,\n 'name' => 'corrupt',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:07',\n 'updated_at' => '2019-03-12 06:14:07',\n ),\n 99 => \n array (\n 'id' => 3100,\n 'name' => 'steal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:07',\n 'updated_at' => '2019-03-12 06:14:07',\n ),\n 100 => \n array (\n 'id' => 3101,\n 'name' => 'serenity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:08',\n 'updated_at' => '2019-03-12 06:14:08',\n ),\n 101 => \n array (\n 'id' => 3102,\n 'name' => 'winning',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:08',\n 'updated_at' => '2019-03-12 06:14:08',\n ),\n 102 => \n array (\n 'id' => 3103,\n 'name' => 'stubborn',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:10',\n 'updated_at' => '2019-03-12 06:14:10',\n ),\n 103 => \n array (\n 'id' => 3104,\n 'name' => 'prejudice',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:10',\n 'updated_at' => '2019-03-12 06:14:10',\n ),\n 104 => \n array (\n 'id' => 3105,\n 'name' => 'counts',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:12',\n 'updated_at' => '2019-03-12 06:14:12',\n ),\n 105 => \n array (\n 'id' => 3106,\n 'name' => 'strangers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:13',\n 'updated_at' => '2019-03-12 06:14:13',\n ),\n 106 => \n array (\n 'id' => 3107,\n 'name' => 'globe',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:13',\n 'updated_at' => '2019-03-12 06:14:13',\n ),\n 107 => \n array (\n 'id' => 3108,\n 'name' => 'longer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:13',\n 'updated_at' => '2019-03-12 06:14:13',\n ),\n 108 => \n array (\n 'id' => 3109,\n 'name' => 'telling the truth',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:13',\n 'updated_at' => '2019-03-12 06:14:13',\n ),\n 109 => \n array (\n 'id' => 3110,\n 'name' => 'flattery',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:14',\n 'updated_at' => '2019-03-12 06:14:14',\n ),\n 110 => \n array (\n 'id' => 3111,\n 'name' => 'inhale',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:14',\n 'updated_at' => '2019-03-12 06:14:14',\n ),\n 111 => \n array (\n 'id' => 3112,\n 'name' => 'citizens',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:17',\n 'updated_at' => '2019-03-12 06:14:17',\n ),\n 112 => \n array (\n 'id' => 3113,\n 'name' => 'dedication',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:20',\n 'updated_at' => '2019-03-12 06:14:20',\n ),\n 113 => \n array (\n 'id' => 3114,\n 'name' => 'unpopular',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:21',\n 'updated_at' => '2019-03-12 06:14:21',\n ),\n 114 => \n array (\n 'id' => 3115,\n 'name' => 'friendly',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:21',\n 'updated_at' => '2019-03-12 06:14:21',\n ),\n 115 => \n array (\n 'id' => 3116,\n 'name' => 'souls',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:22',\n 'updated_at' => '2019-03-12 06:14:22',\n ),\n 116 => \n array (\n 'id' => 3117,\n 'name' => 'atom',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:22',\n 'updated_at' => '2019-03-12 06:14:22',\n ),\n 117 => \n array (\n 'id' => 3118,\n 'name' => 'rise above',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:23',\n 'updated_at' => '2019-03-12 06:14:23',\n ),\n 118 => \n array (\n 'id' => 3119,\n 'name' => 'candidate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:25',\n 'updated_at' => '2019-03-12 06:14:25',\n ),\n 119 => \n array (\n 'id' => 3120,\n 'name' => 'platform',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:25',\n 'updated_at' => '2019-03-12 06:14:25',\n ),\n 120 => \n array (\n 'id' => 3121,\n 'name' => 'staff',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:26',\n 'updated_at' => '2019-03-12 06:14:26',\n ),\n 121 => \n array (\n 'id' => 3122,\n 'name' => 'rising',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:27',\n 'updated_at' => '2019-03-12 06:14:27',\n ),\n 122 => \n array (\n 'id' => 3123,\n 'name' => 'theocracy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:31',\n 'updated_at' => '2019-03-12 06:14:31',\n ),\n 123 => \n array (\n 'id' => 3124,\n 'name' => 'able',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:32',\n 'updated_at' => '2019-03-12 06:14:32',\n ),\n 124 => \n array (\n 'id' => 3125,\n 'name' => 'apology',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:34',\n 'updated_at' => '2019-03-12 06:14:34',\n ),\n 125 => \n array (\n 'id' => 3126,\n 'name' => 'armed forces',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:34',\n 'updated_at' => '2019-03-12 06:14:34',\n ),\n 126 => \n array (\n 'id' => 3127,\n 'name' => 'civil war',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:36',\n 'updated_at' => '2019-03-12 06:14:36',\n ),\n 127 => \n array (\n 'id' => 3128,\n 'name' => 'roller coaster',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:37',\n 'updated_at' => '2019-03-12 06:14:37',\n ),\n 128 => \n array (\n 'id' => 3129,\n 'name' => 'mumbai',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:38',\n 'updated_at' => '2019-03-12 06:14:38',\n ),\n 129 => \n array (\n 'id' => 3130,\n 'name' => 'coincidence',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:39',\n 'updated_at' => '2019-03-12 06:14:39',\n ),\n 130 => \n array (\n 'id' => 3131,\n 'name' => 'hostel',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:42',\n 'updated_at' => '2019-03-12 06:14:42',\n ),\n 131 => \n array (\n 'id' => 3132,\n 'name' => 'gadgets',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:42',\n 'updated_at' => '2019-03-12 06:14:42',\n ),\n 132 => \n array (\n 'id' => 3133,\n 'name' => 'gizmos',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:43',\n 'updated_at' => '2019-03-12 06:14:43',\n ),\n 133 => \n array (\n 'id' => 3134,\n 'name' => 'pakistan',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:44',\n 'updated_at' => '2019-03-12 06:14:44',\n ),\n 134 => \n array (\n 'id' => 3135,\n 'name' => 'overall',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:45',\n 'updated_at' => '2019-03-12 06:14:45',\n ),\n 135 => \n array (\n 'id' => 3136,\n 'name' => 'being in love',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:46',\n 'updated_at' => '2019-03-12 06:14:46',\n ),\n 136 => \n array (\n 'id' => 3137,\n 'name' => 'positivity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:47',\n 'updated_at' => '2019-03-12 06:14:47',\n ),\n 137 => \n array (\n 'id' => 3138,\n 'name' => 'greet',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:48',\n 'updated_at' => '2019-03-12 06:14:48',\n ),\n 138 => \n array (\n 'id' => 3139,\n 'name' => 'sugar',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:49',\n 'updated_at' => '2019-03-12 06:14:49',\n ),\n 139 => \n array (\n 'id' => 3140,\n 'name' => 'romance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:51',\n 'updated_at' => '2019-03-12 06:14:51',\n ),\n 140 => \n array (\n 'id' => 3141,\n 'name' => 'driven',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:54',\n 'updated_at' => '2019-03-12 06:14:54',\n ),\n 141 => \n array (\n 'id' => 3142,\n 'name' => 'unbelievable',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:56',\n 'updated_at' => '2019-03-12 06:14:56',\n ),\n 142 => \n array (\n 'id' => 3143,\n 'name' => 'aircraft',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:56',\n 'updated_at' => '2019-03-12 06:14:56',\n ),\n 143 => \n array (\n 'id' => 3144,\n 'name' => 'tip',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:56',\n 'updated_at' => '2019-03-12 06:14:56',\n ),\n 144 => \n array (\n 'id' => 3145,\n 'name' => 'fighter',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:56',\n 'updated_at' => '2019-03-12 06:14:56',\n ),\n 145 => \n array (\n 'id' => 3146,\n 'name' => 'elite',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:57',\n 'updated_at' => '2019-03-12 06:14:57',\n ),\n 146 => \n array (\n 'id' => 3147,\n 'name' => 'supposed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:57',\n 'updated_at' => '2019-03-12 06:14:57',\n ),\n 147 => \n array (\n 'id' => 3148,\n 'name' => 'france',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:57',\n 'updated_at' => '2019-03-12 06:14:57',\n ),\n 148 => \n array (\n 'id' => 3149,\n 'name' => 'norway',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:14:57',\n 'updated_at' => '2019-03-12 06:14:57',\n ),\n 149 => \n array (\n 'id' => 3150,\n 'name' => 'fifty',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:00',\n 'updated_at' => '2019-03-12 06:15:00',\n ),\n 150 => \n array (\n 'id' => 3151,\n 'name' => 'fired',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:01',\n 'updated_at' => '2019-03-12 06:15:01',\n ),\n 151 => \n array (\n 'id' => 3152,\n 'name' => 'jet',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:01',\n 'updated_at' => '2019-03-12 06:15:01',\n ),\n 152 => \n array (\n 'id' => 3153,\n 'name' => 'winter',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:02',\n 'updated_at' => '2019-03-12 06:15:02',\n ),\n 153 => \n array (\n 'id' => 3154,\n 'name' => 'supply',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:06',\n 'updated_at' => '2019-03-12 06:15:06',\n ),\n 154 => \n array (\n 'id' => 3155,\n 'name' => 'demand',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:06',\n 'updated_at' => '2019-03-12 06:15:06',\n ),\n 155 => \n array (\n 'id' => 3156,\n 'name' => 'architectural',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:06',\n 'updated_at' => '2019-03-12 06:15:06',\n ),\n 156 => \n array (\n 'id' => 3157,\n 'name' => 'truthful',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:07',\n 'updated_at' => '2019-03-12 06:15:07',\n ),\n 157 => \n array (\n 'id' => 3158,\n 'name' => 'please everyone',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:09',\n 'updated_at' => '2019-03-12 06:15:09',\n ),\n 158 => \n array (\n 'id' => 3159,\n 'name' => 'herself',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:14',\n 'updated_at' => '2019-03-12 06:15:14',\n ),\n 159 => \n array (\n 'id' => 3160,\n 'name' => 'backyard',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:14',\n 'updated_at' => '2019-03-12 06:15:14',\n ),\n 160 => \n array (\n 'id' => 3161,\n 'name' => 'circles',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:15',\n 'updated_at' => '2019-03-12 06:15:15',\n ),\n 161 => \n array (\n 'id' => 3162,\n 'name' => 'diplomat',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:16',\n 'updated_at' => '2019-03-12 06:15:16',\n ),\n 162 => \n array (\n 'id' => 3163,\n 'name' => 'deeds',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:16',\n 'updated_at' => '2019-03-12 06:15:16',\n ),\n 163 => \n array (\n 'id' => 3164,\n 'name' => 'diplomatic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:16',\n 'updated_at' => '2019-03-12 06:15:16',\n ),\n 164 => \n array (\n 'id' => 3165,\n 'name' => 'offend',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:19',\n 'updated_at' => '2019-03-12 06:15:19',\n ),\n 165 => \n array (\n 'id' => 3166,\n 'name' => 'rude',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:19',\n 'updated_at' => '2019-03-12 06:15:19',\n ),\n 166 => \n array (\n 'id' => 3167,\n 'name' => 'relevance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:20',\n 'updated_at' => '2019-03-12 06:15:20',\n ),\n 167 => \n array (\n 'id' => 3168,\n 'name' => 'usefulness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:20',\n 'updated_at' => '2019-03-12 06:15:20',\n ),\n 168 => \n array (\n 'id' => 3169,\n 'name' => 'insult',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:21',\n 'updated_at' => '2019-03-12 06:15:21',\n ),\n 169 => \n array (\n 'id' => 3170,\n 'name' => 'criticize',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:21',\n 'updated_at' => '2019-03-12 06:15:21',\n ),\n 170 => \n array (\n 'id' => 3171,\n 'name' => 'political parties',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:22',\n 'updated_at' => '2019-03-12 06:15:22',\n ),\n 171 => \n array (\n 'id' => 3172,\n 'name' => 'shift',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:23',\n 'updated_at' => '2019-03-12 06:15:23',\n ),\n 172 => \n array (\n 'id' => 3173,\n 'name' => 'aspirations',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:23',\n 'updated_at' => '2019-03-12 06:15:23',\n ),\n 173 => \n array (\n 'id' => 3174,\n 'name' => 'argentina',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:27',\n 'updated_at' => '2019-03-12 06:15:27',\n ),\n 174 => \n array (\n 'id' => 3175,\n 'name' => 'intuition',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:27',\n 'updated_at' => '2019-03-12 06:15:27',\n ),\n 175 => \n array (\n 'id' => 3176,\n 'name' => 'millionaire',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:29',\n 'updated_at' => '2019-03-12 06:15:29',\n ),\n 176 => \n array (\n 'id' => 3177,\n 'name' => 'polo',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:31',\n 'updated_at' => '2019-03-12 06:15:31',\n ),\n 177 => \n array (\n 'id' => 3178,\n 'name' => 'horses',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:34',\n 'updated_at' => '2019-03-12 06:15:34',\n ),\n 178 => \n array (\n 'id' => 3179,\n 'name' => 'united nations',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:38',\n 'updated_at' => '2019-03-12 06:15:38',\n ),\n 179 => \n array (\n 'id' => 3180,\n 'name' => 'closing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:39',\n 'updated_at' => '2019-03-12 06:15:39',\n ),\n 180 => \n array (\n 'id' => 3181,\n 'name' => 'bomb',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:39',\n 'updated_at' => '2019-03-12 06:15:39',\n ),\n 181 => \n array (\n 'id' => 3182,\n 'name' => 'ingredient',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:43',\n 'updated_at' => '2019-03-12 06:15:43',\n ),\n 182 => \n array (\n 'id' => 3183,\n 'name' => 'lady',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:44',\n 'updated_at' => '2019-03-12 06:15:44',\n ),\n 183 => \n array (\n 'id' => 3184,\n 'name' => 'last year',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:51',\n 'updated_at' => '2019-03-12 06:15:51',\n ),\n 184 => \n array (\n 'id' => 3185,\n 'name' => 'witches',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:53',\n 'updated_at' => '2019-03-12 06:15:53',\n ),\n 185 => \n array (\n 'id' => 3186,\n 'name' => 'communists',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:15:53',\n 'updated_at' => '2019-03-12 06:15:53',\n ),\n 186 => \n array (\n 'id' => 3187,\n 'name' => 'imperfections',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:00',\n 'updated_at' => '2019-03-12 06:16:00',\n ),\n 187 => \n array (\n 'id' => 3188,\n 'name' => 'execution',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:03',\n 'updated_at' => '2019-03-12 06:16:03',\n ),\n 188 => \n array (\n 'id' => 3189,\n 'name' => 'bubbles',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:09',\n 'updated_at' => '2019-03-12 06:16:09',\n ),\n 189 => \n array (\n 'id' => 3190,\n 'name' => 'understood',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:11',\n 'updated_at' => '2019-03-12 06:16:11',\n ),\n 190 => \n array (\n 'id' => 3191,\n 'name' => 'inclusion',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:14',\n 'updated_at' => '2019-03-12 06:16:14',\n ),\n 191 => \n array (\n 'id' => 3192,\n 'name' => 'cynical',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:18',\n 'updated_at' => '2019-03-12 06:16:18',\n ),\n 192 => \n array (\n 'id' => 3193,\n 'name' => 'advertising',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:18',\n 'updated_at' => '2019-03-12 06:16:18',\n ),\n 193 => \n array (\n 'id' => 3194,\n 'name' => 'detective',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:22',\n 'updated_at' => '2019-03-12 06:16:22',\n ),\n 194 => \n array (\n 'id' => 3195,\n 'name' => 'good job',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:23',\n 'updated_at' => '2019-03-12 06:16:23',\n ),\n 195 => \n array (\n 'id' => 3196,\n 'name' => 'dig',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:23',\n 'updated_at' => '2019-03-12 06:16:23',\n ),\n 196 => \n array (\n 'id' => 3197,\n 'name' => 'accomplishment',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:23',\n 'updated_at' => '2019-03-12 06:16:23',\n ),\n 197 => \n array (\n 'id' => 3198,\n 'name' => 'recordings',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:25',\n 'updated_at' => '2019-03-12 06:16:25',\n ),\n 198 => \n array (\n 'id' => 3199,\n 'name' => 'luxury',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:26',\n 'updated_at' => '2019-03-12 06:16:26',\n ),\n 199 => \n array (\n 'id' => 3200,\n 'name' => 'parts',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:28',\n 'updated_at' => '2019-03-12 06:16:28',\n ),\n 200 => \n array (\n 'id' => 3201,\n 'name' => 'crimson',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:28',\n 'updated_at' => '2019-03-12 06:16:28',\n ),\n 201 => \n array (\n 'id' => 3202,\n 'name' => 'quartet',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:30',\n 'updated_at' => '2019-03-12 06:16:30',\n ),\n 202 => \n array (\n 'id' => 3203,\n 'name' => 'secrets',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:31',\n 'updated_at' => '2019-03-12 06:16:31',\n ),\n 203 => \n array (\n 'id' => 3204,\n 'name' => 'artists',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:31',\n 'updated_at' => '2019-03-12 06:16:31',\n ),\n 204 => \n array (\n 'id' => 3205,\n 'name' => 'warmth',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:33',\n 'updated_at' => '2019-03-12 06:16:33',\n ),\n 205 => \n array (\n 'id' => 3206,\n 'name' => 'storage',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:33',\n 'updated_at' => '2019-03-12 06:16:33',\n ),\n 206 => \n array (\n 'id' => 3207,\n 'name' => 'analog',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:33',\n 'updated_at' => '2019-03-12 06:16:33',\n ),\n 207 => \n array (\n 'id' => 3208,\n 'name' => 'marching',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:34',\n 'updated_at' => '2019-03-12 06:16:34',\n ),\n 208 => \n array (\n 'id' => 3209,\n 'name' => 'american flag',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:36',\n 'updated_at' => '2019-03-12 06:16:36',\n ),\n 209 => \n array (\n 'id' => 3210,\n 'name' => 'amendment',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:37',\n 'updated_at' => '2019-03-12 06:16:37',\n ),\n 210 => \n array (\n 'id' => 3211,\n 'name' => 'apathy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:38',\n 'updated_at' => '2019-03-12 06:16:38',\n ),\n 211 => \n array (\n 'id' => 3212,\n 'name' => 'opposition',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:38',\n 'updated_at' => '2019-03-12 06:16:38',\n ),\n 212 => \n array (\n 'id' => 3213,\n 'name' => 'faced',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:38',\n 'updated_at' => '2019-03-12 06:16:38',\n ),\n 213 => \n array (\n 'id' => 3214,\n 'name' => 'consent',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:38',\n 'updated_at' => '2019-03-12 06:16:38',\n ),\n 214 => \n array (\n 'id' => 3215,\n 'name' => 'harm',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:39',\n 'updated_at' => '2019-03-12 06:16:39',\n ),\n 215 => \n array (\n 'id' => 3216,\n 'name' => 'property',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:40',\n 'updated_at' => '2019-03-12 06:16:40',\n ),\n 216 => \n array (\n 'id' => 3217,\n 'name' => 'posing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:41',\n 'updated_at' => '2019-03-12 06:16:41',\n ),\n 217 => \n array (\n 'id' => 3218,\n 'name' => 'ages',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:42',\n 'updated_at' => '2019-03-12 06:16:42',\n ),\n 218 => \n array (\n 'id' => 3219,\n 'name' => 'sassy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:43',\n 'updated_at' => '2019-03-12 06:16:43',\n ),\n 219 => \n array (\n 'id' => 3220,\n 'name' => 'gut',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:45',\n 'updated_at' => '2019-03-12 06:16:45',\n ),\n 220 => \n array (\n 'id' => 3221,\n 'name' => 'crap',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:47',\n 'updated_at' => '2019-03-12 06:16:47',\n ),\n 221 => \n array (\n 'id' => 3222,\n 'name' => 'lovely',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:49',\n 'updated_at' => '2019-03-12 06:16:49',\n ),\n 222 => \n array (\n 'id' => 3223,\n 'name' => 'so much fun',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:49',\n 'updated_at' => '2019-03-12 06:16:49',\n ),\n 223 => \n array (\n 'id' => 3224,\n 'name' => 'contribution',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:51',\n 'updated_at' => '2019-03-12 06:16:51',\n ),\n 224 => \n array (\n 'id' => 3225,\n 'name' => 'success is',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:51',\n 'updated_at' => '2019-03-12 06:16:51',\n ),\n 225 => \n array (\n 'id' => 3226,\n 'name' => 'scarf',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:53',\n 'updated_at' => '2019-03-12 06:16:53',\n ),\n 226 => \n array (\n 'id' => 3227,\n 'name' => 'habit',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:54',\n 'updated_at' => '2019-03-12 06:16:54',\n ),\n 227 => \n array (\n 'id' => 3228,\n 'name' => 'paths',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:54',\n 'updated_at' => '2019-03-12 06:16:54',\n ),\n 228 => \n array (\n 'id' => 3229,\n 'name' => 'pampered',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:55',\n 'updated_at' => '2019-03-12 06:16:55',\n ),\n 229 => \n array (\n 'id' => 3230,\n 'name' => 'location',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:56',\n 'updated_at' => '2019-03-12 06:16:56',\n ),\n 230 => \n array (\n 'id' => 3231,\n 'name' => 'twins',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:56',\n 'updated_at' => '2019-03-12 06:16:56',\n ),\n 231 => \n array (\n 'id' => 3232,\n 'name' => 'performers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:57',\n 'updated_at' => '2019-03-12 06:16:57',\n ),\n 232 => \n array (\n 'id' => 3233,\n 'name' => 'chosen',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:16:59',\n 'updated_at' => '2019-03-12 06:16:59',\n ),\n 233 => \n array (\n 'id' => 3234,\n 'name' => 'show people',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:00',\n 'updated_at' => '2019-03-12 06:17:00',\n ),\n 234 => \n array (\n 'id' => 3235,\n 'name' => 'rebellious',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:01',\n 'updated_at' => '2019-03-12 06:17:01',\n ),\n 235 => \n array (\n 'id' => 3236,\n 'name' => 'speaking',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:06',\n 'updated_at' => '2019-03-12 06:17:06',\n ),\n 236 => \n array (\n 'id' => 3237,\n 'name' => 'eagle',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:09',\n 'updated_at' => '2019-03-12 06:17:09',\n ),\n 237 => \n array (\n 'id' => 3238,\n 'name' => 'saturday',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:15',\n 'updated_at' => '2019-03-12 06:17:15',\n ),\n 238 => \n array (\n 'id' => 3239,\n 'name' => 'castle',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:18',\n 'updated_at' => '2019-03-12 06:17:18',\n ),\n 239 => \n array (\n 'id' => 3240,\n 'name' => 'novel',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:19',\n 'updated_at' => '2019-03-12 06:17:19',\n ),\n 240 => \n array (\n 'id' => 3241,\n 'name' => 'fantasy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:20',\n 'updated_at' => '2019-03-12 06:17:20',\n ),\n 241 => \n array (\n 'id' => 3242,\n 'name' => 'educated',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:23',\n 'updated_at' => '2019-03-12 06:17:23',\n ),\n 242 => \n array (\n 'id' => 3243,\n 'name' => 'proletariat',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:23',\n 'updated_at' => '2019-03-12 06:17:23',\n ),\n 243 => \n array (\n 'id' => 3244,\n 'name' => 'knocked',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:25',\n 'updated_at' => '2019-03-12 06:17:25',\n ),\n 244 => \n array (\n 'id' => 3245,\n 'name' => 'rover',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:25',\n 'updated_at' => '2019-03-12 06:17:25',\n ),\n 245 => \n array (\n 'id' => 3246,\n 'name' => 'ignore',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:26',\n 'updated_at' => '2019-03-12 06:17:26',\n ),\n 246 => \n array (\n 'id' => 3247,\n 'name' => 'opposite',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:28',\n 'updated_at' => '2019-03-12 06:17:28',\n ),\n 247 => \n array (\n 'id' => 3248,\n 'name' => 'absolutely',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:32',\n 'updated_at' => '2019-03-12 06:17:32',\n ),\n 248 => \n array (\n 'id' => 3249,\n 'name' => 'sucks',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:33',\n 'updated_at' => '2019-03-12 06:17:33',\n ),\n 249 => \n array (\n 'id' => 3250,\n 'name' => 'observing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:34',\n 'updated_at' => '2019-03-12 06:17:34',\n ),\n 250 => \n array (\n 'id' => 3251,\n 'name' => 'taught',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:35',\n 'updated_at' => '2019-03-12 06:17:35',\n ),\n 251 => \n array (\n 'id' => 3252,\n 'name' => 'silent',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:35',\n 'updated_at' => '2019-03-12 06:17:35',\n ),\n 252 => \n array (\n 'id' => 3253,\n 'name' => 'trials',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:36',\n 'updated_at' => '2019-03-12 06:17:36',\n ),\n 253 => \n array (\n 'id' => 3254,\n 'name' => 'seafood',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:37',\n 'updated_at' => '2019-03-12 06:17:37',\n ),\n 254 => \n array (\n 'id' => 3255,\n 'name' => 'be strong',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:40',\n 'updated_at' => '2019-03-12 06:17:40',\n ),\n 255 => \n array (\n 'id' => 3256,\n 'name' => 'cookies',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:42',\n 'updated_at' => '2019-03-12 06:17:42',\n ),\n 256 => \n array (\n 'id' => 3257,\n 'name' => 'scales',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:49',\n 'updated_at' => '2019-03-12 06:17:49',\n ),\n 257 => \n array (\n 'id' => 3258,\n 'name' => 'heavy metal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:51',\n 'updated_at' => '2019-03-12 06:17:51',\n ),\n 258 => \n array (\n 'id' => 3259,\n 'name' => 'the most important',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:52',\n 'updated_at' => '2019-03-12 06:17:52',\n ),\n 259 => \n array (\n 'id' => 3260,\n 'name' => 'tennis',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:53',\n 'updated_at' => '2019-03-12 06:17:53',\n ),\n 260 => \n array (\n 'id' => 3261,\n 'name' => 'racket',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:54',\n 'updated_at' => '2019-03-12 06:17:54',\n ),\n 261 => \n array (\n 'id' => 3262,\n 'name' => 'peanuts',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:57',\n 'updated_at' => '2019-03-12 06:17:57',\n ),\n 262 => \n array (\n 'id' => 3263,\n 'name' => 'drafting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:17:58',\n 'updated_at' => '2019-03-12 06:17:58',\n ),\n 263 => \n array (\n 'id' => 3264,\n 'name' => 'airport',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:00',\n 'updated_at' => '2019-03-12 06:18:00',\n ),\n 264 => \n array (\n 'id' => 3265,\n 'name' => 'format',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:01',\n 'updated_at' => '2019-03-12 06:18:01',\n ),\n 265 => \n array (\n 'id' => 3266,\n 'name' => 'chilling',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:02',\n 'updated_at' => '2019-03-12 06:18:02',\n ),\n 266 => \n array (\n 'id' => 3267,\n 'name' => 'nerve',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:02',\n 'updated_at' => '2019-03-12 06:18:02',\n ),\n 267 => \n array (\n 'id' => 3268,\n 'name' => 'sixteen',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:02',\n 'updated_at' => '2019-03-12 06:18:02',\n ),\n 268 => \n array (\n 'id' => 3269,\n 'name' => 'not knowing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:05',\n 'updated_at' => '2019-03-12 06:18:05',\n ),\n 269 => \n array (\n 'id' => 3270,\n 'name' => 'response',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:05',\n 'updated_at' => '2019-03-12 06:18:05',\n ),\n 270 => \n array (\n 'id' => 3271,\n 'name' => 'illustrator',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:06',\n 'updated_at' => '2019-03-12 06:18:06',\n ),\n 271 => \n array (\n 'id' => 3272,\n 'name' => 'taking',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:08',\n 'updated_at' => '2019-03-12 06:18:08',\n ),\n 272 => \n array (\n 'id' => 3273,\n 'name' => 'comic book',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:09',\n 'updated_at' => '2019-03-12 06:18:09',\n ),\n 273 => \n array (\n 'id' => 3274,\n 'name' => 'cheating',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:11',\n 'updated_at' => '2019-03-12 06:18:11',\n ),\n 274 => \n array (\n 'id' => 3275,\n 'name' => 'chemistry',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:11',\n 'updated_at' => '2019-03-12 06:18:11',\n ),\n 275 => \n array (\n 'id' => 3276,\n 'name' => 'nasty',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:11',\n 'updated_at' => '2019-03-12 06:18:11',\n ),\n 276 => \n array (\n 'id' => 3277,\n 'name' => 'arcade',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:12',\n 'updated_at' => '2019-03-12 06:18:12',\n ),\n 277 => \n array (\n 'id' => 3278,\n 'name' => 'drum',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:13',\n 'updated_at' => '2019-03-12 06:18:13',\n ),\n 278 => \n array (\n 'id' => 3279,\n 'name' => 'composer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:14',\n 'updated_at' => '2019-03-12 06:18:14',\n ),\n 279 => \n array (\n 'id' => 3280,\n 'name' => 'getting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:17',\n 'updated_at' => '2019-03-12 06:18:17',\n ),\n 280 => \n array (\n 'id' => 3281,\n 'name' => 'limitations',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:23',\n 'updated_at' => '2019-03-12 06:18:23',\n ),\n 281 => \n array (\n 'id' => 3282,\n 'name' => 'venice',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:23',\n 'updated_at' => '2019-03-12 06:18:23',\n ),\n 282 => \n array (\n 'id' => 3283,\n 'name' => 'though',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:24',\n 'updated_at' => '2019-03-12 06:18:24',\n ),\n 283 => \n array (\n 'id' => 3284,\n 'name' => 'spread',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:24',\n 'updated_at' => '2019-03-12 06:18:24',\n ),\n 284 => \n array (\n 'id' => 3285,\n 'name' => 'trainer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:28',\n 'updated_at' => '2019-03-12 06:18:28',\n ),\n 285 => \n array (\n 'id' => 3286,\n 'name' => 'the right thing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:32',\n 'updated_at' => '2019-03-12 06:18:32',\n ),\n 286 => \n array (\n 'id' => 3287,\n 'name' => 'embarrassed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:34',\n 'updated_at' => '2019-03-12 06:18:34',\n ),\n 287 => \n array (\n 'id' => 3288,\n 'name' => 'wrinkles',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:41',\n 'updated_at' => '2019-03-12 06:18:41',\n ),\n 288 => \n array (\n 'id' => 3289,\n 'name' => 'belly',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:41',\n 'updated_at' => '2019-03-12 06:18:41',\n ),\n 289 => \n array (\n 'id' => 3290,\n 'name' => 'jelly',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:42',\n 'updated_at' => '2019-03-12 06:18:42',\n ),\n 290 => \n array (\n 'id' => 3291,\n 'name' => 'italian',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:44',\n 'updated_at' => '2019-03-12 06:18:44',\n ),\n 291 => \n array (\n 'id' => 3292,\n 'name' => 'moon',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:45',\n 'updated_at' => '2019-03-12 06:18:45',\n ),\n 292 => \n array (\n 'id' => 3293,\n 'name' => 'publishing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:51',\n 'updated_at' => '2019-03-12 06:18:51',\n ),\n 293 => \n array (\n 'id' => 3294,\n 'name' => 'jewelry',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:51',\n 'updated_at' => '2019-03-12 06:18:51',\n ),\n 294 => \n array (\n 'id' => 3295,\n 'name' => 'faux',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:52',\n 'updated_at' => '2019-03-12 06:18:52',\n ),\n 295 => \n array (\n 'id' => 3296,\n 'name' => 'joyful',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:56',\n 'updated_at' => '2019-03-12 06:18:56',\n ),\n 296 => \n array (\n 'id' => 3297,\n 'name' => 'ways',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:57',\n 'updated_at' => '2019-03-12 06:18:57',\n ),\n 297 => \n array (\n 'id' => 3298,\n 'name' => 'memorable',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:18:59',\n 'updated_at' => '2019-03-12 06:18:59',\n ),\n 298 => \n array (\n 'id' => 3299,\n 'name' => 'bull',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:19:00',\n 'updated_at' => '2019-03-12 06:19:00',\n ),\n 299 => \n array (\n 'id' => 3300,\n 'name' => 'taxi',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:19:00',\n 'updated_at' => '2019-03-12 06:19:00',\n ),\n 300 => \n array (\n 'id' => 3301,\n 'name' => 'actress',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:19:02',\n 'updated_at' => '2019-03-12 06:19:02',\n ),\n 301 => \n array (\n 'id' => 3302,\n 'name' => 'shopping',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:19:06',\n 'updated_at' => '2019-03-12 06:19:06',\n ),\n 302 => \n array (\n 'id' => 3303,\n 'name' => 'tattoos',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:19:08',\n 'updated_at' => '2019-03-12 06:19:08',\n ),\n 303 => \n array (\n 'id' => 3304,\n 'name' => 'addicted',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:19:09',\n 'updated_at' => '2019-03-12 06:19:09',\n ),\n 304 => \n array (\n 'id' => 3305,\n 'name' => 'sandwich',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:19:10',\n 'updated_at' => '2019-03-12 06:19:10',\n ),\n 305 => \n array (\n 'id' => 3306,\n 'name' => 'angelina jolie',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:19:12',\n 'updated_at' => '2019-03-12 06:19:12',\n ),\n 306 => \n array (\n 'id' => 3307,\n 'name' => 'screen',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:19:18',\n 'updated_at' => '2019-03-12 06:19:18',\n ),\n 307 => \n array (\n 'id' => 3308,\n 'name' => 'comics',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:19:19',\n 'updated_at' => '2019-03-12 06:19:19',\n ),\n 308 => \n array (\n 'id' => 3309,\n 'name' => 'wordy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:19:23',\n 'updated_at' => '2019-03-12 06:19:23',\n ),\n 309 => \n array (\n 'id' => 3310,\n 'name' => 'intricate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:19:24',\n 'updated_at' => '2019-03-12 06:19:24',\n ),\n 310 => \n array (\n 'id' => 3311,\n 'name' => 'liberty',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:19:36',\n 'updated_at' => '2019-03-12 06:19:36',\n ),\n 311 => \n array (\n 'id' => 3312,\n 'name' => 'cia',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:19:39',\n 'updated_at' => '2019-03-12 06:19:39',\n ),\n 312 => \n array (\n 'id' => 3313,\n 'name' => 'fog',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:19:40',\n 'updated_at' => '2019-03-12 06:19:40',\n ),\n 313 => \n array (\n 'id' => 3314,\n 'name' => 'italy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:19:43',\n 'updated_at' => '2019-03-12 06:19:43',\n ),\n 314 => \n array (\n 'id' => 3315,\n 'name' => 'cell phone',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:19:43',\n 'updated_at' => '2019-03-12 06:19:43',\n ),\n 315 => \n array (\n 'id' => 3316,\n 'name' => 'hardship',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:19:46',\n 'updated_at' => '2019-03-12 06:19:46',\n ),\n 316 => \n array (\n 'id' => 3317,\n 'name' => 'commitments',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:19:46',\n 'updated_at' => '2019-03-12 06:19:46',\n ),\n 317 => \n array (\n 'id' => 3318,\n 'name' => 'overnight success',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:19:49',\n 'updated_at' => '2019-03-12 06:19:49',\n ),\n 318 => \n array (\n 'id' => 3319,\n 'name' => 'blur',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:20:03',\n 'updated_at' => '2019-03-12 06:20:03',\n ),\n 319 => \n array (\n 'id' => 3320,\n 'name' => 'earnest',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:20:04',\n 'updated_at' => '2019-03-12 06:20:04',\n ),\n 320 => \n array (\n 'id' => 3321,\n 'name' => 'terribly',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:20:05',\n 'updated_at' => '2019-03-12 06:20:05',\n ),\n 321 => \n array (\n 'id' => 3322,\n 'name' => 'fortunate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:20:06',\n 'updated_at' => '2019-03-12 06:20:06',\n ),\n 322 => \n array (\n 'id' => 3323,\n 'name' => 'suffer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:20:08',\n 'updated_at' => '2019-03-12 06:20:08',\n ),\n 323 => \n array (\n 'id' => 3324,\n 'name' => 'mourning',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:20:09',\n 'updated_at' => '2019-03-12 06:20:09',\n ),\n 324 => \n array (\n 'id' => 3325,\n 'name' => 'messed up',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:20:24',\n 'updated_at' => '2019-03-12 06:20:24',\n ),\n 325 => \n array (\n 'id' => 3326,\n 'name' => 'individuality',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:20:28',\n 'updated_at' => '2019-03-12 06:20:28',\n ),\n 326 => \n array (\n 'id' => 3327,\n 'name' => 'cozy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:20:29',\n 'updated_at' => '2019-03-12 06:20:29',\n ),\n 327 => \n array (\n 'id' => 3328,\n 'name' => 'turtleneck',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:20:29',\n 'updated_at' => '2019-03-12 06:20:29',\n ),\n 328 => \n array (\n 'id' => 3329,\n 'name' => 'curly',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:20:31',\n 'updated_at' => '2019-03-12 06:20:31',\n ),\n 329 => \n array (\n 'id' => 3330,\n 'name' => 'starbucks',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:20:33',\n 'updated_at' => '2019-03-12 06:20:33',\n ),\n 330 => \n array (\n 'id' => 3331,\n 'name' => 'hug',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:20:43',\n 'updated_at' => '2019-03-12 06:20:43',\n ),\n 331 => \n array (\n 'id' => 3332,\n 'name' => 'huge fan',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:20:51',\n 'updated_at' => '2019-03-12 06:20:51',\n ),\n 332 => \n array (\n 'id' => 3333,\n 'name' => 'enjoy life',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:20:59',\n 'updated_at' => '2019-03-12 06:20:59',\n ),\n 333 => \n array (\n 'id' => 3334,\n 'name' => 'variety',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:00',\n 'updated_at' => '2019-03-12 06:21:00',\n ),\n 334 => \n array (\n 'id' => 3335,\n 'name' => 'strong women',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:01',\n 'updated_at' => '2019-03-12 06:21:01',\n ),\n 335 => \n array (\n 'id' => 3336,\n 'name' => 'dinner table',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:08',\n 'updated_at' => '2019-03-12 06:21:08',\n ),\n 336 => \n array (\n 'id' => 3337,\n 'name' => 'food stamps',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:09',\n 'updated_at' => '2019-03-12 06:21:09',\n ),\n 337 => \n array (\n 'id' => 3338,\n 'name' => 'kinda',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:11',\n 'updated_at' => '2019-03-12 06:21:11',\n ),\n 338 => \n array (\n 'id' => 3339,\n 'name' => 'game of thrones',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:11',\n 'updated_at' => '2019-03-12 06:21:11',\n ),\n 339 => \n array (\n 'id' => 3340,\n 'name' => 'imperfect',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:12',\n 'updated_at' => '2019-03-12 06:21:12',\n ),\n 340 => \n array (\n 'id' => 3341,\n 'name' => 'ugly',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:13',\n 'updated_at' => '2019-03-12 06:21:13',\n ),\n 341 => \n array (\n 'id' => 3342,\n 'name' => 'stone',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:19',\n 'updated_at' => '2019-03-12 06:21:19',\n ),\n 342 => \n array (\n 'id' => 3343,\n 'name' => 'horizon',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:20',\n 'updated_at' => '2019-03-12 06:21:20',\n ),\n 343 => \n array (\n 'id' => 3344,\n 'name' => 'threw',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:22',\n 'updated_at' => '2019-03-12 06:21:22',\n ),\n 344 => \n array (\n 'id' => 3345,\n 'name' => 'shoe',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:22',\n 'updated_at' => '2019-03-12 06:21:22',\n ),\n 345 => \n array (\n 'id' => 3346,\n 'name' => 'fits',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:22',\n 'updated_at' => '2019-03-12 06:21:22',\n ),\n 346 => \n array (\n 'id' => 3347,\n 'name' => 'landscape',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:23',\n 'updated_at' => '2019-03-12 06:21:23',\n ),\n 347 => \n array (\n 'id' => 3348,\n 'name' => 'april',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:25',\n 'updated_at' => '2019-03-12 06:21:25',\n ),\n 348 => \n array (\n 'id' => 3349,\n 'name' => 'eagles',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:26',\n 'updated_at' => '2019-03-12 06:21:26',\n ),\n 349 => \n array (\n 'id' => 3350,\n 'name' => 'nomad',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:26',\n 'updated_at' => '2019-03-12 06:21:26',\n ),\n 350 => \n array (\n 'id' => 3351,\n 'name' => 'hunting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:27',\n 'updated_at' => '2019-03-12 06:21:27',\n ),\n 351 => \n array (\n 'id' => 3352,\n 'name' => 'traditions',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:28',\n 'updated_at' => '2019-03-12 06:21:28',\n ),\n 352 => \n array (\n 'id' => 3353,\n 'name' => 'flight',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:28',\n 'updated_at' => '2019-03-12 06:21:28',\n ),\n 353 => \n array (\n 'id' => 3354,\n 'name' => 'text',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:31',\n 'updated_at' => '2019-03-12 06:21:31',\n ),\n 354 => \n array (\n 'id' => 3355,\n 'name' => 'ancient',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:31',\n 'updated_at' => '2019-03-12 06:21:31',\n ),\n 355 => \n array (\n 'id' => 3356,\n 'name' => 'petrified',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:31',\n 'updated_at' => '2019-03-12 06:21:31',\n ),\n 356 => \n array (\n 'id' => 3357,\n 'name' => 'imagery',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:31',\n 'updated_at' => '2019-03-12 06:21:31',\n ),\n 357 => \n array (\n 'id' => 3358,\n 'name' => 'royal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:32',\n 'updated_at' => '2019-03-12 06:21:32',\n ),\n 358 => \n array (\n 'id' => 3359,\n 'name' => 'outdoors',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:35',\n 'updated_at' => '2019-03-12 06:21:35',\n ),\n 359 => \n array (\n 'id' => 3360,\n 'name' => 'myths',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:36',\n 'updated_at' => '2019-03-12 06:21:36',\n ),\n 360 => \n array (\n 'id' => 3361,\n 'name' => 'stretching',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:38',\n 'updated_at' => '2019-03-12 06:21:38',\n ),\n 361 => \n array (\n 'id' => 3362,\n 'name' => 'renaissance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:39',\n 'updated_at' => '2019-03-12 06:21:39',\n ),\n 362 => \n array (\n 'id' => 3363,\n 'name' => 'mothers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:40',\n 'updated_at' => '2019-03-12 06:21:40',\n ),\n 363 => \n array (\n 'id' => 3364,\n 'name' => 'consciousness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:41',\n 'updated_at' => '2019-03-12 06:21:41',\n ),\n 364 => \n array (\n 'id' => 3365,\n 'name' => 'force',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:42',\n 'updated_at' => '2019-03-12 06:21:42',\n ),\n 365 => \n array (\n 'id' => 3366,\n 'name' => 'obscurity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:43',\n 'updated_at' => '2019-03-12 06:21:43',\n ),\n 366 => \n array (\n 'id' => 3367,\n 'name' => 'lying',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:48',\n 'updated_at' => '2019-03-12 06:21:48',\n ),\n 367 => \n array (\n 'id' => 3368,\n 'name' => 'monsters',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:50',\n 'updated_at' => '2019-03-12 06:21:50',\n ),\n 368 => \n array (\n 'id' => 3369,\n 'name' => 'sleeps',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:50',\n 'updated_at' => '2019-03-12 06:21:50',\n ),\n 369 => \n array (\n 'id' => 3370,\n 'name' => 'chess',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:53',\n 'updated_at' => '2019-03-12 06:21:53',\n ),\n 370 => \n array (\n 'id' => 3371,\n 'name' => 'real life',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:54',\n 'updated_at' => '2019-03-12 06:21:54',\n ),\n 371 => \n array (\n 'id' => 3372,\n 'name' => 'juxtaposition',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:54',\n 'updated_at' => '2019-03-12 06:21:54',\n ),\n 372 => \n array (\n 'id' => 3373,\n 'name' => 'appearance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:54',\n 'updated_at' => '2019-03-12 06:21:54',\n ),\n 373 => \n array (\n 'id' => 3374,\n 'name' => 'amy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:57',\n 'updated_at' => '2019-03-12 06:21:57',\n ),\n 374 => \n array (\n 'id' => 3375,\n 'name' => 'one day at a time',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:58',\n 'updated_at' => '2019-03-12 06:21:58',\n ),\n 375 => \n array (\n 'id' => 3376,\n 'name' => 'waking up',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:59',\n 'updated_at' => '2019-03-12 06:21:59',\n ),\n 376 => \n array (\n 'id' => 3377,\n 'name' => 'waking',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:21:59',\n 'updated_at' => '2019-03-12 06:21:59',\n ),\n 377 => \n array (\n 'id' => 3378,\n 'name' => 'role model',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:01',\n 'updated_at' => '2019-03-12 06:22:01',\n ),\n 378 => \n array (\n 'id' => 3379,\n 'name' => 'cocky',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:02',\n 'updated_at' => '2019-03-12 06:22:02',\n ),\n 379 => \n array (\n 'id' => 3380,\n 'name' => 'desk',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:09',\n 'updated_at' => '2019-03-12 06:22:09',\n ),\n 380 => \n array (\n 'id' => 3381,\n 'name' => 'most beautiful',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:09',\n 'updated_at' => '2019-03-12 06:22:09',\n ),\n 381 => \n array (\n 'id' => 3382,\n 'name' => 'lipstick',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:11',\n 'updated_at' => '2019-03-12 06:22:11',\n ),\n 382 => \n array (\n 'id' => 3383,\n 'name' => 'furniture',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:13',\n 'updated_at' => '2019-03-12 06:22:13',\n ),\n 383 => \n array (\n 'id' => 3384,\n 'name' => 'lighting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:13',\n 'updated_at' => '2019-03-12 06:22:13',\n ),\n 384 => \n array (\n 'id' => 3385,\n 'name' => 'silk',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:14',\n 'updated_at' => '2019-03-12 06:22:14',\n ),\n 385 => \n array (\n 'id' => 3386,\n 'name' => 'lace',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:14',\n 'updated_at' => '2019-03-12 06:22:14',\n ),\n 386 => \n array (\n 'id' => 3387,\n 'name' => 'pair',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:14',\n 'updated_at' => '2019-03-12 06:22:14',\n ),\n 387 => \n array (\n 'id' => 3388,\n 'name' => 'be prepared',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:15',\n 'updated_at' => '2019-03-12 06:22:15',\n ),\n 388 => \n array (\n 'id' => 3389,\n 'name' => 'dry',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:15',\n 'updated_at' => '2019-03-12 06:22:15',\n ),\n 389 => \n array (\n 'id' => 3390,\n 'name' => 'shampoo',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:15',\n 'updated_at' => '2019-03-12 06:22:15',\n ),\n 390 => \n array (\n 'id' => 3391,\n 'name' => 'toy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:17',\n 'updated_at' => '2019-03-12 06:22:17',\n ),\n 391 => \n array (\n 'id' => 3392,\n 'name' => 'if i could',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:17',\n 'updated_at' => '2019-03-12 06:22:17',\n ),\n 392 => \n array (\n 'id' => 3393,\n 'name' => 'fragrance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:18',\n 'updated_at' => '2019-03-12 06:22:18',\n ),\n 393 => \n array (\n 'id' => 3394,\n 'name' => 'snob',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:19',\n 'updated_at' => '2019-03-12 06:22:19',\n ),\n 394 => \n array (\n 'id' => 3395,\n 'name' => 'basics',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:19',\n 'updated_at' => '2019-03-12 06:22:19',\n ),\n 395 => \n array (\n 'id' => 3396,\n 'name' => 'pots',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:19',\n 'updated_at' => '2019-03-12 06:22:19',\n ),\n 396 => \n array (\n 'id' => 3397,\n 'name' => 'citizen',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:21',\n 'updated_at' => '2019-03-12 06:22:21',\n ),\n 397 => \n array (\n 'id' => 3398,\n 'name' => 'sickness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:23',\n 'updated_at' => '2019-03-12 06:22:23',\n ),\n 398 => \n array (\n 'id' => 3399,\n 'name' => 'obedience',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:23',\n 'updated_at' => '2019-03-12 06:22:23',\n ),\n 399 => \n array (\n 'id' => 3400,\n 'name' => 'guest',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:24',\n 'updated_at' => '2019-03-12 06:22:24',\n ),\n 400 => \n array (\n 'id' => 3401,\n 'name' => 'host',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:24',\n 'updated_at' => '2019-03-12 06:22:24',\n ),\n 401 => \n array (\n 'id' => 3402,\n 'name' => 'burden',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:25',\n 'updated_at' => '2019-03-12 06:22:25',\n ),\n 402 => \n array (\n 'id' => 3403,\n 'name' => 'zeus',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:26',\n 'updated_at' => '2019-03-12 06:22:26',\n ),\n 403 => \n array (\n 'id' => 3404,\n 'name' => 'all things',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:26',\n 'updated_at' => '2019-03-12 06:22:26',\n ),\n 404 => \n array (\n 'id' => 3405,\n 'name' => 'brings',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:26',\n 'updated_at' => '2019-03-12 06:22:26',\n ),\n 405 => \n array (\n 'id' => 3406,\n 'name' => 'helping hand',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:26',\n 'updated_at' => '2019-03-12 06:22:26',\n ),\n 406 => \n array (\n 'id' => 3407,\n 'name' => 'trapped',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:27',\n 'updated_at' => '2019-03-12 06:22:27',\n ),\n 407 => \n array (\n 'id' => 3408,\n 'name' => 'alien',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:28',\n 'updated_at' => '2019-03-12 06:22:28',\n ),\n 408 => \n array (\n 'id' => 3409,\n 'name' => 'growing old',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:28',\n 'updated_at' => '2019-03-12 06:22:28',\n ),\n 409 => \n array (\n 'id' => 3410,\n 'name' => 'whose',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:30',\n 'updated_at' => '2019-03-12 06:22:30',\n ),\n 410 => \n array (\n 'id' => 3411,\n 'name' => 'stern',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:30',\n 'updated_at' => '2019-03-12 06:22:30',\n ),\n 411 => \n array (\n 'id' => 3412,\n 'name' => 'ill',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:31',\n 'updated_at' => '2019-03-12 06:22:31',\n ),\n 412 => \n array (\n 'id' => 3413,\n 'name' => 'gods',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:32',\n 'updated_at' => '2019-03-12 06:22:32',\n ),\n 413 => \n array (\n 'id' => 3414,\n 'name' => 'oath',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:32',\n 'updated_at' => '2019-03-12 06:22:32',\n ),\n 414 => \n array (\n 'id' => 3415,\n 'name' => 'feathers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:33',\n 'updated_at' => '2019-03-12 06:22:33',\n ),\n 415 => \n array (\n 'id' => 3416,\n 'name' => 'beware',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:34',\n 'updated_at' => '2019-03-12 06:22:34',\n ),\n 416 => \n array (\n 'id' => 3417,\n 'name' => 'substance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:35',\n 'updated_at' => '2019-03-12 06:22:35',\n ),\n 417 => \n array (\n 'id' => 3418,\n 'name' => 'persuasion',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:35',\n 'updated_at' => '2019-03-12 06:22:35',\n ),\n 418 => \n array (\n 'id' => 3419,\n 'name' => 'banquet',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:35',\n 'updated_at' => '2019-03-12 06:22:35',\n ),\n 419 => \n array (\n 'id' => 3420,\n 'name' => 'injuries',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:36',\n 'updated_at' => '2019-03-12 06:22:36',\n ),\n 420 => \n array (\n 'id' => 3421,\n 'name' => 'forgotten',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:37',\n 'updated_at' => '2019-03-12 06:22:37',\n ),\n 421 => \n array (\n 'id' => 3422,\n 'name' => 'forgiven',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:37',\n 'updated_at' => '2019-03-12 06:22:37',\n ),\n 422 => \n array (\n 'id' => 3423,\n 'name' => 'outward',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:38',\n 'updated_at' => '2019-03-12 06:22:38',\n ),\n 423 => \n array (\n 'id' => 3424,\n 'name' => 'be brave',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:38',\n 'updated_at' => '2019-03-12 06:22:38',\n ),\n 424 => \n array (\n 'id' => 3425,\n 'name' => 'worthwhile',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:39',\n 'updated_at' => '2019-03-12 06:22:39',\n ),\n 425 => \n array (\n 'id' => 3426,\n 'name' => 'conceit',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:41',\n 'updated_at' => '2019-03-12 06:22:41',\n ),\n 426 => \n array (\n 'id' => 3427,\n 'name' => 'greater',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:41',\n 'updated_at' => '2019-03-12 06:22:41',\n ),\n 427 => \n array (\n 'id' => 3428,\n 'name' => 'smaller',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:41',\n 'updated_at' => '2019-03-12 06:22:41',\n ),\n 428 => \n array (\n 'id' => 3429,\n 'name' => 'united',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:42',\n 'updated_at' => '2019-03-12 06:22:42',\n ),\n 429 => \n array (\n 'id' => 3430,\n 'name' => 'appearances',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:42',\n 'updated_at' => '2019-03-12 06:22:42',\n ),\n 430 => \n array (\n 'id' => 3431,\n 'name' => 'deceiving',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:42',\n 'updated_at' => '2019-03-12 06:22:42',\n ),\n 431 => \n array (\n 'id' => 3432,\n 'name' => 'storm',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:43',\n 'updated_at' => '2019-03-12 06:22:43',\n ),\n 432 => \n array (\n 'id' => 3433,\n 'name' => 'orchestra',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:46',\n 'updated_at' => '2019-03-12 06:22:46',\n ),\n 433 => \n array (\n 'id' => 3434,\n 'name' => 'dj',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:49',\n 'updated_at' => '2019-03-12 06:22:49',\n ),\n 434 => \n array (\n 'id' => 3435,\n 'name' => 'sounds',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:53',\n 'updated_at' => '2019-03-12 06:22:53',\n ),\n 435 => \n array (\n 'id' => 3436,\n 'name' => 'new things',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:56',\n 'updated_at' => '2019-03-12 06:22:56',\n ),\n 436 => \n array (\n 'id' => 3437,\n 'name' => 'dance music',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:22:58',\n 'updated_at' => '2019-03-12 06:22:58',\n ),\n 437 => \n array (\n 'id' => 3438,\n 'name' => 'musician',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:00',\n 'updated_at' => '2019-03-12 06:23:00',\n ),\n 438 => \n array (\n 'id' => 3439,\n 'name' => 'productions',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:00',\n 'updated_at' => '2019-03-12 06:23:00',\n ),\n 439 => \n array (\n 'id' => 3440,\n 'name' => 'club',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:01',\n 'updated_at' => '2019-03-12 06:23:01',\n ),\n 440 => \n array (\n 'id' => 3441,\n 'name' => 'hearing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:06',\n 'updated_at' => '2019-03-12 06:23:06',\n ),\n 441 => \n array (\n 'id' => 3442,\n 'name' => 'asset',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:09',\n 'updated_at' => '2019-03-12 06:23:09',\n ),\n 442 => \n array (\n 'id' => 3443,\n 'name' => 'welfare',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:10',\n 'updated_at' => '2019-03-12 06:23:10',\n ),\n 443 => \n array (\n 'id' => 3444,\n 'name' => 'concerned',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:11',\n 'updated_at' => '2019-03-12 06:23:11',\n ),\n 444 => \n array (\n 'id' => 3445,\n 'name' => 'eternity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:12',\n 'updated_at' => '2019-03-12 06:23:12',\n ),\n 445 => \n array (\n 'id' => 3446,\n 'name' => 'existed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:12',\n 'updated_at' => '2019-03-12 06:23:12',\n ),\n 446 => \n array (\n 'id' => 3447,\n 'name' => 'too late',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:13',\n 'updated_at' => '2019-03-12 06:23:13',\n ),\n 447 => \n array (\n 'id' => 3448,\n 'name' => 'domestic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:15',\n 'updated_at' => '2019-03-12 06:23:15',\n ),\n 448 => \n array (\n 'id' => 3449,\n 'name' => 'specialize',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:15',\n 'updated_at' => '2019-03-12 06:23:15',\n ),\n 449 => \n array (\n 'id' => 3450,\n 'name' => 'free will',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:15',\n 'updated_at' => '2019-03-12 06:23:15',\n ),\n 450 => \n array (\n 'id' => 3451,\n 'name' => 'laziness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:16',\n 'updated_at' => '2019-03-12 06:23:16',\n ),\n 451 => \n array (\n 'id' => 3452,\n 'name' => 'somebody',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:16',\n 'updated_at' => '2019-03-12 06:23:16',\n ),\n 452 => \n array (\n 'id' => 3453,\n 'name' => 'old friend',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:17',\n 'updated_at' => '2019-03-12 06:23:17',\n ),\n 453 => \n array (\n 'id' => 3454,\n 'name' => 'stranger',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:20',\n 'updated_at' => '2019-03-12 06:23:20',\n ),\n 454 => \n array (\n 'id' => 3455,\n 'name' => 'teenager',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:23',\n 'updated_at' => '2019-03-12 06:23:23',\n ),\n 455 => \n array (\n 'id' => 3456,\n 'name' => 'permanent',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:25',\n 'updated_at' => '2019-03-12 06:23:25',\n ),\n 456 => \n array (\n 'id' => 3457,\n 'name' => 'mysterious',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:28',\n 'updated_at' => '2019-03-12 06:23:28',\n ),\n 457 => \n array (\n 'id' => 3458,\n 'name' => 'demon',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:35',\n 'updated_at' => '2019-03-12 06:23:35',\n ),\n 458 => \n array (\n 'id' => 3459,\n 'name' => 'dancers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:36',\n 'updated_at' => '2019-03-12 06:23:36',\n ),\n 459 => \n array (\n 'id' => 3460,\n 'name' => 'buildings',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:36',\n 'updated_at' => '2019-03-12 06:23:36',\n ),\n 460 => \n array (\n 'id' => 3461,\n 'name' => 'recycling',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:36',\n 'updated_at' => '2019-03-12 06:23:36',\n ),\n 461 => \n array (\n 'id' => 3462,\n 'name' => 'public schools',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:37',\n 'updated_at' => '2019-03-12 06:23:37',\n ),\n 462 => \n array (\n 'id' => 3463,\n 'name' => 'balanced',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:42',\n 'updated_at' => '2019-03-12 06:23:42',\n ),\n 463 => \n array (\n 'id' => 3464,\n 'name' => 'museums',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:48',\n 'updated_at' => '2019-03-12 06:23:48',\n ),\n 464 => \n array (\n 'id' => 3465,\n 'name' => 'extreme',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:49',\n 'updated_at' => '2019-03-12 06:23:49',\n ),\n 465 => \n array (\n 'id' => 3466,\n 'name' => 'sensitivity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:49',\n 'updated_at' => '2019-03-12 06:23:49',\n ),\n 466 => \n array (\n 'id' => 3467,\n 'name' => 'guidance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:51',\n 'updated_at' => '2019-03-12 06:23:51',\n ),\n 467 => \n array (\n 'id' => 3468,\n 'name' => 'access',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:52',\n 'updated_at' => '2019-03-12 06:23:52',\n ),\n 468 => \n array (\n 'id' => 3469,\n 'name' => 'invest',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:53',\n 'updated_at' => '2019-03-12 06:23:53',\n ),\n 469 => \n array (\n 'id' => 3470,\n 'name' => 'income',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:53',\n 'updated_at' => '2019-03-12 06:23:53',\n ),\n 470 => \n array (\n 'id' => 3471,\n 'name' => 'hated',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:54',\n 'updated_at' => '2019-03-12 06:23:54',\n ),\n 471 => \n array (\n 'id' => 3472,\n 'name' => 'absolute',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:54',\n 'updated_at' => '2019-03-12 06:23:54',\n ),\n 472 => \n array (\n 'id' => 3473,\n 'name' => 'preservation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:23:56',\n 'updated_at' => '2019-03-12 06:23:56',\n ),\n 473 => \n array (\n 'id' => 3474,\n 'name' => 'representation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:03',\n 'updated_at' => '2019-03-12 06:24:03',\n ),\n 474 => \n array (\n 'id' => 3475,\n 'name' => 'observer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:04',\n 'updated_at' => '2019-03-12 06:24:04',\n ),\n 475 => \n array (\n 'id' => 3476,\n 'name' => 'letting go',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:05',\n 'updated_at' => '2019-03-12 06:24:05',\n ),\n 476 => \n array (\n 'id' => 3477,\n 'name' => 'expectation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:05',\n 'updated_at' => '2019-03-12 06:24:05',\n ),\n 477 => \n array (\n 'id' => 3478,\n 'name' => 'beam',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:07',\n 'updated_at' => '2019-03-12 06:24:07',\n ),\n 478 => \n array (\n 'id' => 3479,\n 'name' => 'careful',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:11',\n 'updated_at' => '2019-03-12 06:24:11',\n ),\n 479 => \n array (\n 'id' => 3480,\n 'name' => 'zen',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:12',\n 'updated_at' => '2019-03-12 06:24:12',\n ),\n 480 => \n array (\n 'id' => 3481,\n 'name' => 'idealist',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:13',\n 'updated_at' => '2019-03-12 06:24:13',\n ),\n 481 => \n array (\n 'id' => 3482,\n 'name' => 'horizontal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:14',\n 'updated_at' => '2019-03-12 06:24:14',\n ),\n 482 => \n array (\n 'id' => 3483,\n 'name' => 'loneliness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:15',\n 'updated_at' => '2019-03-12 06:24:15',\n ),\n 483 => \n array (\n 'id' => 3484,\n 'name' => 'orchestral',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:17',\n 'updated_at' => '2019-03-12 06:24:17',\n ),\n 484 => \n array (\n 'id' => 3485,\n 'name' => 'relaxed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:18',\n 'updated_at' => '2019-03-12 06:24:18',\n ),\n 485 => \n array (\n 'id' => 3486,\n 'name' => 'bands',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:24',\n 'updated_at' => '2019-03-12 06:24:24',\n ),\n 486 => \n array (\n 'id' => 3487,\n 'name' => 'demo',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:24',\n 'updated_at' => '2019-03-12 06:24:24',\n ),\n 487 => \n array (\n 'id' => 3488,\n 'name' => 'surrounded',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:27',\n 'updated_at' => '2019-03-12 06:24:27',\n ),\n 488 => \n array (\n 'id' => 3489,\n 'name' => 'pedigree',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:28',\n 'updated_at' => '2019-03-12 06:24:28',\n ),\n 489 => \n array (\n 'id' => 3490,\n 'name' => 'kitten',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:29',\n 'updated_at' => '2019-03-12 06:24:29',\n ),\n 490 => \n array (\n 'id' => 3491,\n 'name' => 'tolerance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:29',\n 'updated_at' => '2019-03-12 06:24:29',\n ),\n 491 => \n array (\n 'id' => 3492,\n 'name' => 'tourist',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:30',\n 'updated_at' => '2019-03-12 06:24:30',\n ),\n 492 => \n array (\n 'id' => 3493,\n 'name' => 'objectionable',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:32',\n 'updated_at' => '2019-03-12 06:24:32',\n ),\n 493 => \n array (\n 'id' => 3494,\n 'name' => 'false',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:33',\n 'updated_at' => '2019-03-12 06:24:33',\n ),\n 494 => \n array (\n 'id' => 3495,\n 'name' => 'join',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:34',\n 'updated_at' => '2019-03-12 06:24:34',\n ),\n 495 => \n array (\n 'id' => 3496,\n 'name' => 'swift',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:35',\n 'updated_at' => '2019-03-12 06:24:35',\n ),\n 496 => \n array (\n 'id' => 3497,\n 'name' => 'console',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:35',\n 'updated_at' => '2019-03-12 06:24:35',\n ),\n 497 => \n array (\n 'id' => 3498,\n 'name' => 'sustain',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:35',\n 'updated_at' => '2019-03-12 06:24:35',\n ),\n 498 => \n array (\n 'id' => 3499,\n 'name' => 'lawless',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:36',\n 'updated_at' => '2019-03-12 06:24:36',\n ),\n 499 => \n array (\n 'id' => 3500,\n 'name' => 'thinkers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:37',\n 'updated_at' => '2019-03-12 06:24:37',\n ),\n ));\n \\DB::table('tags')->insert(array (\n 0 => \n array (\n 'id' => 3501,\n 'name' => 'mirth',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:37',\n 'updated_at' => '2019-03-12 06:24:37',\n ),\n 1 => \n array (\n 'id' => 3502,\n 'name' => 'surveillance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:41',\n 'updated_at' => '2019-03-12 06:24:41',\n ),\n 2 => \n array (\n 'id' => 3503,\n 'name' => 'aid',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:42',\n 'updated_at' => '2019-03-12 06:24:42',\n ),\n 3 => \n array (\n 'id' => 3504,\n 'name' => 'female',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:42',\n 'updated_at' => '2019-03-12 06:24:42',\n ),\n 4 => \n array (\n 'id' => 3505,\n 'name' => 'being a man',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:42',\n 'updated_at' => '2019-03-12 06:24:42',\n ),\n 5 => \n array (\n 'id' => 3506,\n 'name' => 'objection',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:43',\n 'updated_at' => '2019-03-12 06:24:43',\n ),\n 6 => \n array (\n 'id' => 3507,\n 'name' => 'how far',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:43',\n 'updated_at' => '2019-03-12 06:24:43',\n ),\n 7 => \n array (\n 'id' => 3508,\n 'name' => 'province',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:43',\n 'updated_at' => '2019-03-12 06:24:43',\n ),\n 8 => \n array (\n 'id' => 3509,\n 'name' => 'ashes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:44',\n 'updated_at' => '2019-03-12 06:24:44',\n ),\n 9 => \n array (\n 'id' => 3510,\n 'name' => 'dominant',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:45',\n 'updated_at' => '2019-03-12 06:24:45',\n ),\n 10 => \n array (\n 'id' => 3511,\n 'name' => 'ashamed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:48',\n 'updated_at' => '2019-03-12 06:24:48',\n ),\n 11 => \n array (\n 'id' => 3512,\n 'name' => 'qualities',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:48',\n 'updated_at' => '2019-03-12 06:24:48',\n ),\n 12 => \n array (\n 'id' => 3513,\n 'name' => 'harvest',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:50',\n 'updated_at' => '2019-03-12 06:24:50',\n ),\n 13 => \n array (\n 'id' => 3514,\n 'name' => 'print',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:51',\n 'updated_at' => '2019-03-12 06:24:51',\n ),\n 14 => \n array (\n 'id' => 3515,\n 'name' => 'flops',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:57',\n 'updated_at' => '2019-03-12 06:24:57',\n ),\n 15 => \n array (\n 'id' => 3516,\n 'name' => 'milestones',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:57',\n 'updated_at' => '2019-03-12 06:24:57',\n ),\n 16 => \n array (\n 'id' => 3517,\n 'name' => 'determined',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:58',\n 'updated_at' => '2019-03-12 06:24:58',\n ),\n 17 => \n array (\n 'id' => 3518,\n 'name' => 'allowed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:24:59',\n 'updated_at' => '2019-03-12 06:24:59',\n ),\n 18 => \n array (\n 'id' => 3519,\n 'name' => 'repeat',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:05',\n 'updated_at' => '2019-03-12 06:25:05',\n ),\n 19 => \n array (\n 'id' => 3520,\n 'name' => 'productive',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:06',\n 'updated_at' => '2019-03-12 06:25:06',\n ),\n 20 => \n array (\n 'id' => 3521,\n 'name' => 'theme',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:07',\n 'updated_at' => '2019-03-12 06:25:07',\n ),\n 21 => \n array (\n 'id' => 3522,\n 'name' => 'celebration',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:10',\n 'updated_at' => '2019-03-12 06:25:10',\n ),\n 22 => \n array (\n 'id' => 3523,\n 'name' => 'bubble',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:10',\n 'updated_at' => '2019-03-12 06:25:10',\n ),\n 23 => \n array (\n 'id' => 3524,\n 'name' => 'supermodel',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:17',\n 'updated_at' => '2019-03-12 06:25:17',\n ),\n 24 => \n array (\n 'id' => 3525,\n 'name' => 'oyster',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:19',\n 'updated_at' => '2019-03-12 06:25:19',\n ),\n 25 => \n array (\n 'id' => 3526,\n 'name' => 'lads',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:22',\n 'updated_at' => '2019-03-12 06:25:22',\n ),\n 26 => \n array (\n 'id' => 3527,\n 'name' => 'tomboy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:23',\n 'updated_at' => '2019-03-12 06:25:23',\n ),\n 27 => \n array (\n 'id' => 3528,\n 'name' => 'defines',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:24',\n 'updated_at' => '2019-03-12 06:25:24',\n ),\n 28 => \n array (\n 'id' => 3529,\n 'name' => 'dresses',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:24',\n 'updated_at' => '2019-03-12 06:25:24',\n ),\n 29 => \n array (\n 'id' => 3530,\n 'name' => 'matching',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:24',\n 'updated_at' => '2019-03-12 06:25:24',\n ),\n 30 => \n array (\n 'id' => 3531,\n 'name' => 'parties',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:25',\n 'updated_at' => '2019-03-12 06:25:25',\n ),\n 31 => \n array (\n 'id' => 3532,\n 'name' => 'houston',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:26',\n 'updated_at' => '2019-03-12 06:25:26',\n ),\n 32 => \n array (\n 'id' => 3533,\n 'name' => 'whitney houston',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:26',\n 'updated_at' => '2019-03-12 06:25:26',\n ),\n 33 => \n array (\n 'id' => 3534,\n 'name' => 'whitney',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:26',\n 'updated_at' => '2019-03-12 06:25:26',\n ),\n 34 => \n array (\n 'id' => 3535,\n 'name' => 'scholar',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:29',\n 'updated_at' => '2019-03-12 06:25:29',\n ),\n 35 => \n array (\n 'id' => 3536,\n 'name' => 'colonialism',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:30',\n 'updated_at' => '2019-03-12 06:25:30',\n ),\n 36 => \n array (\n 'id' => 3537,\n 'name' => 'cruel',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:30',\n 'updated_at' => '2019-03-12 06:25:30',\n ),\n 37 => \n array (\n 'id' => 3538,\n 'name' => 'marxist',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:31',\n 'updated_at' => '2019-03-12 06:25:31',\n ),\n 38 => \n array (\n 'id' => 3539,\n 'name' => 'winners',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:32',\n 'updated_at' => '2019-03-12 06:25:32',\n ),\n 39 => \n array (\n 'id' => 3540,\n 'name' => 'losers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:33',\n 'updated_at' => '2019-03-12 06:25:33',\n ),\n 40 => \n array (\n 'id' => 3541,\n 'name' => 'breaking up',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:36',\n 'updated_at' => '2019-03-12 06:25:36',\n ),\n 41 => \n array (\n 'id' => 3542,\n 'name' => 'algeria',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:36',\n 'updated_at' => '2019-03-12 06:25:36',\n ),\n 42 => \n array (\n 'id' => 3543,\n 'name' => 'engaged',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:40',\n 'updated_at' => '2019-03-12 06:25:40',\n ),\n 43 => \n array (\n 'id' => 3544,\n 'name' => 'point of view',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:42',\n 'updated_at' => '2019-03-12 06:25:42',\n ),\n 44 => \n array (\n 'id' => 3545,\n 'name' => 'liberation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:42',\n 'updated_at' => '2019-03-12 06:25:42',\n ),\n 45 => \n array (\n 'id' => 3546,\n 'name' => 'latin america',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:42',\n 'updated_at' => '2019-03-12 06:25:42',\n ),\n 46 => \n array (\n 'id' => 3547,\n 'name' => 'convictions',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:45',\n 'updated_at' => '2019-03-12 06:25:45',\n ),\n 47 => \n array (\n 'id' => 3548,\n 'name' => 'muslim',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:45',\n 'updated_at' => '2019-03-12 06:25:45',\n ),\n 48 => \n array (\n 'id' => 3549,\n 'name' => 'bother',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:46',\n 'updated_at' => '2019-03-12 06:25:46',\n ),\n 49 => \n array (\n 'id' => 3550,\n 'name' => 'labels',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:47',\n 'updated_at' => '2019-03-12 06:25:47',\n ),\n 50 => \n array (\n 'id' => 3551,\n 'name' => 'recording',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:47',\n 'updated_at' => '2019-03-12 06:25:47',\n ),\n 51 => \n array (\n 'id' => 3552,\n 'name' => 'batch',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:48',\n 'updated_at' => '2019-03-12 06:25:48',\n ),\n 52 => \n array (\n 'id' => 3553,\n 'name' => 'jar',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:49',\n 'updated_at' => '2019-03-12 06:25:49',\n ),\n 53 => \n array (\n 'id' => 3554,\n 'name' => 'neighbors',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:55',\n 'updated_at' => '2019-03-12 06:25:55',\n ),\n 54 => \n array (\n 'id' => 3555,\n 'name' => 'target',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:56',\n 'updated_at' => '2019-03-12 06:25:56',\n ),\n 55 => \n array (\n 'id' => 3556,\n 'name' => 'germany',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:57',\n 'updated_at' => '2019-03-12 06:25:57',\n ),\n 56 => \n array (\n 'id' => 3557,\n 'name' => 'iraq',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:57',\n 'updated_at' => '2019-03-12 06:25:57',\n ),\n 57 => \n array (\n 'id' => 3558,\n 'name' => 'equals',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:57',\n 'updated_at' => '2019-03-12 06:25:57',\n ),\n 58 => \n array (\n 'id' => 3559,\n 'name' => 'votes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:25:58',\n 'updated_at' => '2019-03-12 06:25:58',\n ),\n 59 => \n array (\n 'id' => 3560,\n 'name' => 'bush',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:01',\n 'updated_at' => '2019-03-12 06:26:01',\n ),\n 60 => \n array (\n 'id' => 3561,\n 'name' => 'rebuild',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:02',\n 'updated_at' => '2019-03-12 06:26:02',\n ),\n 61 => \n array (\n 'id' => 3562,\n 'name' => 'diplomacy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:03',\n 'updated_at' => '2019-03-12 06:26:03',\n ),\n 62 => \n array (\n 'id' => 3563,\n 'name' => 'reveal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:04',\n 'updated_at' => '2019-03-12 06:26:04',\n ),\n 63 => \n array (\n 'id' => 3564,\n 'name' => 'electricity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:10',\n 'updated_at' => '2019-03-12 06:26:10',\n ),\n 64 => \n array (\n 'id' => 3565,\n 'name' => 'air force',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:15',\n 'updated_at' => '2019-03-12 06:26:15',\n ),\n 65 => \n array (\n 'id' => 3566,\n 'name' => 'resources',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:16',\n 'updated_at' => '2019-03-12 06:26:16',\n ),\n 66 => \n array (\n 'id' => 3567,\n 'name' => 'neighbor',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:17',\n 'updated_at' => '2019-03-12 06:26:17',\n ),\n 67 => \n array (\n 'id' => 3568,\n 'name' => 'zero',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:18',\n 'updated_at' => '2019-03-12 06:26:18',\n ),\n 68 => \n array (\n 'id' => 3569,\n 'name' => 'allies',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:19',\n 'updated_at' => '2019-03-12 06:26:19',\n ),\n 69 => \n array (\n 'id' => 3570,\n 'name' => 'turkey',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:19',\n 'updated_at' => '2019-03-12 06:26:19',\n ),\n 70 => \n array (\n 'id' => 3571,\n 'name' => 'alongside',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:19',\n 'updated_at' => '2019-03-12 06:26:19',\n ),\n 71 => \n array (\n 'id' => 3572,\n 'name' => 'global',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:21',\n 'updated_at' => '2019-03-12 06:26:21',\n ),\n 72 => \n array (\n 'id' => 3573,\n 'name' => 'planned',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:22',\n 'updated_at' => '2019-03-12 06:26:22',\n ),\n 73 => \n array (\n 'id' => 3574,\n 'name' => 'midst',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:23',\n 'updated_at' => '2019-03-12 06:26:23',\n ),\n 74 => \n array (\n 'id' => 3575,\n 'name' => 'least',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:23',\n 'updated_at' => '2019-03-12 06:26:23',\n ),\n 75 => \n array (\n 'id' => 3576,\n 'name' => 'policy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:29',\n 'updated_at' => '2019-03-12 06:26:29',\n ),\n 76 => \n array (\n 'id' => 3577,\n 'name' => 'basic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:46',\n 'updated_at' => '2019-03-12 06:26:46',\n ),\n 77 => \n array (\n 'id' => 3578,\n 'name' => 'develop',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:46',\n 'updated_at' => '2019-03-12 06:26:46',\n ),\n 78 => \n array (\n 'id' => 3579,\n 'name' => 'fade',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:46',\n 'updated_at' => '2019-03-12 06:26:46',\n ),\n 79 => \n array (\n 'id' => 3580,\n 'name' => 'contract',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:49',\n 'updated_at' => '2019-03-12 06:26:49',\n ),\n 80 => \n array (\n 'id' => 3581,\n 'name' => 'signing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:49',\n 'updated_at' => '2019-03-12 06:26:49',\n ),\n 81 => \n array (\n 'id' => 3582,\n 'name' => 'covers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:52',\n 'updated_at' => '2019-03-12 06:26:52',\n ),\n 82 => \n array (\n 'id' => 3583,\n 'name' => 'retarded',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:52',\n 'updated_at' => '2019-03-12 06:26:52',\n ),\n 83 => \n array (\n 'id' => 3584,\n 'name' => 'collect',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:53',\n 'updated_at' => '2019-03-12 06:26:53',\n ),\n 84 => \n array (\n 'id' => 3585,\n 'name' => 'captain',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:54',\n 'updated_at' => '2019-03-12 06:26:54',\n ),\n 85 => \n array (\n 'id' => 3586,\n 'name' => 'frustrating',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:57',\n 'updated_at' => '2019-03-12 06:26:57',\n ),\n 86 => \n array (\n 'id' => 3587,\n 'name' => 'phobia',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:26:59',\n 'updated_at' => '2019-03-12 06:26:59',\n ),\n 87 => \n array (\n 'id' => 3588,\n 'name' => 'bananas',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:00',\n 'updated_at' => '2019-03-12 06:27:00',\n ),\n 88 => \n array (\n 'id' => 3589,\n 'name' => 'documentary',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:00',\n 'updated_at' => '2019-03-12 06:27:00',\n ),\n 89 => \n array (\n 'id' => 3590,\n 'name' => 'censorship',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:02',\n 'updated_at' => '2019-03-12 06:27:02',\n ),\n 90 => \n array (\n 'id' => 3591,\n 'name' => 'symbol',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:07',\n 'updated_at' => '2019-03-12 06:27:07',\n ),\n 91 => \n array (\n 'id' => 3592,\n 'name' => 'whim',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:14',\n 'updated_at' => '2019-03-12 06:27:14',\n ),\n 92 => \n array (\n 'id' => 3593,\n 'name' => 'employers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:15',\n 'updated_at' => '2019-03-12 06:27:15',\n ),\n 93 => \n array (\n 'id' => 3594,\n 'name' => 'survivor',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:15',\n 'updated_at' => '2019-03-12 06:27:15',\n ),\n 94 => \n array (\n 'id' => 3595,\n 'name' => 'cleaning',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:16',\n 'updated_at' => '2019-03-12 06:27:16',\n ),\n 95 => \n array (\n 'id' => 3596,\n 'name' => 'both sides',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:19',\n 'updated_at' => '2019-03-12 06:27:19',\n ),\n 96 => \n array (\n 'id' => 3597,\n 'name' => 'banal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:21',\n 'updated_at' => '2019-03-12 06:27:21',\n ),\n 97 => \n array (\n 'id' => 3598,\n 'name' => 'wiser',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:22',\n 'updated_at' => '2019-03-12 06:27:22',\n ),\n 98 => \n array (\n 'id' => 3599,\n 'name' => 'musical',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:29',\n 'updated_at' => '2019-03-12 06:27:29',\n ),\n 99 => \n array (\n 'id' => 3600,\n 'name' => 'exploring',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:30',\n 'updated_at' => '2019-03-12 06:27:30',\n ),\n 100 => \n array (\n 'id' => 3601,\n 'name' => 'festival',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:30',\n 'updated_at' => '2019-03-12 06:27:30',\n ),\n 101 => \n array (\n 'id' => 3602,\n 'name' => 'film festival',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:31',\n 'updated_at' => '2019-03-12 06:27:31',\n ),\n 102 => \n array (\n 'id' => 3603,\n 'name' => 'self-conscious',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:32',\n 'updated_at' => '2019-03-12 06:27:32',\n ),\n 103 => \n array (\n 'id' => 3604,\n 'name' => 'reflecting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:32',\n 'updated_at' => '2019-03-12 06:27:32',\n ),\n 104 => \n array (\n 'id' => 3605,\n 'name' => 'life is hard',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:33',\n 'updated_at' => '2019-03-12 06:27:33',\n ),\n 105 => \n array (\n 'id' => 3606,\n 'name' => 'react',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:36',\n 'updated_at' => '2019-03-12 06:27:36',\n ),\n 106 => \n array (\n 'id' => 3607,\n 'name' => 'twice',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:39',\n 'updated_at' => '2019-03-12 06:27:39',\n ),\n 107 => \n array (\n 'id' => 3608,\n 'name' => 'ireland',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:40',\n 'updated_at' => '2019-03-12 06:27:40',\n ),\n 108 => \n array (\n 'id' => 3609,\n 'name' => 'sneak',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:42',\n 'updated_at' => '2019-03-12 06:27:42',\n ),\n 109 => \n array (\n 'id' => 3610,\n 'name' => 'aura',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:43',\n 'updated_at' => '2019-03-12 06:27:43',\n ),\n 110 => \n array (\n 'id' => 3611,\n 'name' => 'ladies',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:43',\n 'updated_at' => '2019-03-12 06:27:43',\n ),\n 111 => \n array (\n 'id' => 3612,\n 'name' => 'in the past',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:45',\n 'updated_at' => '2019-03-12 06:27:45',\n ),\n 112 => \n array (\n 'id' => 3613,\n 'name' => 'just something',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:46',\n 'updated_at' => '2019-03-12 06:27:46',\n ),\n 113 => \n array (\n 'id' => 3614,\n 'name' => 'dublin',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:48',\n 'updated_at' => '2019-03-12 06:27:48',\n ),\n 114 => \n array (\n 'id' => 3615,\n 'name' => 'zealand',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:48',\n 'updated_at' => '2019-03-12 06:27:48',\n ),\n 115 => \n array (\n 'id' => 3616,\n 'name' => 'soar',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:53',\n 'updated_at' => '2019-03-12 06:27:53',\n ),\n 116 => \n array (\n 'id' => 3617,\n 'name' => 'prophets',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:55',\n 'updated_at' => '2019-03-12 06:27:55',\n ),\n 117 => \n array (\n 'id' => 3618,\n 'name' => 'devil',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:27:57',\n 'updated_at' => '2019-03-12 06:27:57',\n ),\n 118 => \n array (\n 'id' => 3619,\n 'name' => 'gang',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:28:01',\n 'updated_at' => '2019-03-12 06:28:01',\n ),\n 119 => \n array (\n 'id' => 3620,\n 'name' => 'japan',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:28:02',\n 'updated_at' => '2019-03-12 06:28:02',\n ),\n 120 => \n array (\n 'id' => 3621,\n 'name' => 'slippers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:28:06',\n 'updated_at' => '2019-03-12 06:28:06',\n ),\n 121 => \n array (\n 'id' => 3622,\n 'name' => 'texture',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:28:06',\n 'updated_at' => '2019-03-12 06:28:06',\n ),\n 122 => \n array (\n 'id' => 3623,\n 'name' => 'wake',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:28:07',\n 'updated_at' => '2019-03-12 06:28:07',\n ),\n 123 => \n array (\n 'id' => 3624,\n 'name' => 'filter',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:28:07',\n 'updated_at' => '2019-03-12 06:28:07',\n ),\n 124 => \n array (\n 'id' => 3625,\n 'name' => 'snl',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:28:08',\n 'updated_at' => '2019-03-12 06:28:08',\n ),\n 125 => \n array (\n 'id' => 3626,\n 'name' => 'hired',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:28:09',\n 'updated_at' => '2019-03-12 06:28:09',\n ),\n 126 => \n array (\n 'id' => 3627,\n 'name' => 'legs',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:28:11',\n 'updated_at' => '2019-03-12 06:28:11',\n ),\n 127 => \n array (\n 'id' => 3628,\n 'name' => 'monday',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:28:16',\n 'updated_at' => '2019-03-12 06:28:16',\n ),\n 128 => \n array (\n 'id' => 3629,\n 'name' => 'hood',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:28:17',\n 'updated_at' => '2019-03-12 06:28:17',\n ),\n 129 => \n array (\n 'id' => 3630,\n 'name' => 'immigrants',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:28:19',\n 'updated_at' => '2019-03-12 06:28:19',\n ),\n 130 => \n array (\n 'id' => 3631,\n 'name' => 'web',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:28:20',\n 'updated_at' => '2019-03-12 06:28:20',\n ),\n 131 => \n array (\n 'id' => 3632,\n 'name' => 'consumer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:28:21',\n 'updated_at' => '2019-03-12 06:28:21',\n ),\n 132 => \n array (\n 'id' => 3633,\n 'name' => 'cover',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:28:23',\n 'updated_at' => '2019-03-12 06:28:23',\n ),\n 133 => \n array (\n 'id' => 3634,\n 'name' => 'founders',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:28:29',\n 'updated_at' => '2019-03-12 06:28:29',\n ),\n 134 => \n array (\n 'id' => 3635,\n 'name' => 'wanting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:28:30',\n 'updated_at' => '2019-03-12 06:28:30',\n ),\n 135 => \n array (\n 'id' => 3636,\n 'name' => 'lap',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:28:39',\n 'updated_at' => '2019-03-12 06:28:39',\n ),\n 136 => \n array (\n 'id' => 3637,\n 'name' => 'breeze',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:28:43',\n 'updated_at' => '2019-03-12 06:28:43',\n ),\n 137 => \n array (\n 'id' => 3638,\n 'name' => 'poetic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:28:44',\n 'updated_at' => '2019-03-12 06:28:44',\n ),\n 138 => \n array (\n 'id' => 3639,\n 'name' => 'surgeon',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:28:48',\n 'updated_at' => '2019-03-12 06:28:48',\n ),\n 139 => \n array (\n 'id' => 3640,\n 'name' => 'tragic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:28:49',\n 'updated_at' => '2019-03-12 06:28:49',\n ),\n 140 => \n array (\n 'id' => 3641,\n 'name' => 'distract',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:28:51',\n 'updated_at' => '2019-03-12 06:28:51',\n ),\n 141 => \n array (\n 'id' => 3642,\n 'name' => 'adolescence',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:28:52',\n 'updated_at' => '2019-03-12 06:28:52',\n ),\n 142 => \n array (\n 'id' => 3643,\n 'name' => 'messy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:28:55',\n 'updated_at' => '2019-03-12 06:28:55',\n ),\n 143 => \n array (\n 'id' => 3644,\n 'name' => 'cousins',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:01',\n 'updated_at' => '2019-03-12 06:29:01',\n ),\n 144 => \n array (\n 'id' => 3645,\n 'name' => 'felt',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:01',\n 'updated_at' => '2019-03-12 06:29:01',\n ),\n 145 => \n array (\n 'id' => 3646,\n 'name' => 'latina',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:02',\n 'updated_at' => '2019-03-12 06:29:02',\n ),\n 146 => \n array (\n 'id' => 3647,\n 'name' => 'flavor',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:09',\n 'updated_at' => '2019-03-12 06:29:09',\n ),\n 147 => \n array (\n 'id' => 3648,\n 'name' => 'punch',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:10',\n 'updated_at' => '2019-03-12 06:29:10',\n ),\n 148 => \n array (\n 'id' => 3649,\n 'name' => 'instrument',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:11',\n 'updated_at' => '2019-03-12 06:29:11',\n ),\n 149 => \n array (\n 'id' => 3650,\n 'name' => 'manager',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:13',\n 'updated_at' => '2019-03-12 06:29:13',\n ),\n 150 => \n array (\n 'id' => 3651,\n 'name' => 'true beauty',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:14',\n 'updated_at' => '2019-03-12 06:29:14',\n ),\n 151 => \n array (\n 'id' => 3652,\n 'name' => 'momentum',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:14',\n 'updated_at' => '2019-03-12 06:29:14',\n ),\n 152 => \n array (\n 'id' => 3653,\n 'name' => 'self-doubt',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:15',\n 'updated_at' => '2019-03-12 06:29:15',\n ),\n 153 => \n array (\n 'id' => 3654,\n 'name' => 'sunshine',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:16',\n 'updated_at' => '2019-03-12 06:29:16',\n ),\n 154 => \n array (\n 'id' => 3655,\n 'name' => 'disability',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:18',\n 'updated_at' => '2019-03-12 06:29:18',\n ),\n 155 => \n array (\n 'id' => 3656,\n 'name' => 'issues',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:18',\n 'updated_at' => '2019-03-12 06:29:18',\n ),\n 156 => \n array (\n 'id' => 3657,\n 'name' => 'athletics',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:21',\n 'updated_at' => '2019-03-12 06:29:21',\n ),\n 157 => \n array (\n 'id' => 3658,\n 'name' => 'possibility',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:21',\n 'updated_at' => '2019-03-12 06:29:21',\n ),\n 158 => \n array (\n 'id' => 3659,\n 'name' => 'disabled',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:24',\n 'updated_at' => '2019-03-12 06:29:24',\n ),\n 159 => \n array (\n 'id' => 3660,\n 'name' => 'round',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:26',\n 'updated_at' => '2019-03-12 06:29:26',\n ),\n 160 => \n array (\n 'id' => 3661,\n 'name' => 'height',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:27',\n 'updated_at' => '2019-03-12 06:29:27',\n ),\n 161 => \n array (\n 'id' => 3662,\n 'name' => 'champions',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:27',\n 'updated_at' => '2019-03-12 06:29:27',\n ),\n 162 => \n array (\n 'id' => 3663,\n 'name' => 'pentagon',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:28',\n 'updated_at' => '2019-03-12 06:29:28',\n ),\n 163 => \n array (\n 'id' => 3664,\n 'name' => 'true friend',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:28',\n 'updated_at' => '2019-03-12 06:29:28',\n ),\n 164 => \n array (\n 'id' => 3665,\n 'name' => 'teenage',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:30',\n 'updated_at' => '2019-03-12 06:29:30',\n ),\n 165 => \n array (\n 'id' => 3666,\n 'name' => 'crucial',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:31',\n 'updated_at' => '2019-03-12 06:29:31',\n ),\n 166 => \n array (\n 'id' => 3667,\n 'name' => 'persistence',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:43',\n 'updated_at' => '2019-03-12 06:29:43',\n ),\n 167 => \n array (\n 'id' => 3668,\n 'name' => 'absence',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:44',\n 'updated_at' => '2019-03-12 06:29:44',\n ),\n 168 => \n array (\n 'id' => 3669,\n 'name' => 'classmates',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:47',\n 'updated_at' => '2019-03-12 06:29:47',\n ),\n 169 => \n array (\n 'id' => 3670,\n 'name' => 'scars',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:47',\n 'updated_at' => '2019-03-12 06:29:47',\n ),\n 170 => \n array (\n 'id' => 3671,\n 'name' => 'wounds',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:48',\n 'updated_at' => '2019-03-12 06:29:48',\n ),\n 171 => \n array (\n 'id' => 3672,\n 'name' => 'bravery',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:52',\n 'updated_at' => '2019-03-12 06:29:52',\n ),\n 172 => \n array (\n 'id' => 3673,\n 'name' => 'gaming',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:55',\n 'updated_at' => '2019-03-12 06:29:55',\n ),\n 173 => \n array (\n 'id' => 3674,\n 'name' => 'gamers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:29:59',\n 'updated_at' => '2019-03-12 06:29:59',\n ),\n 174 => \n array (\n 'id' => 3675,\n 'name' => 'gamer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:01',\n 'updated_at' => '2019-03-12 06:30:01',\n ),\n 175 => \n array (\n 'id' => 3676,\n 'name' => 'twitch',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:01',\n 'updated_at' => '2019-03-12 06:30:01',\n ),\n 176 => \n array (\n 'id' => 3677,\n 'name' => 'tendencies',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:01',\n 'updated_at' => '2019-03-12 06:30:01',\n ),\n 177 => \n array (\n 'id' => 3678,\n 'name' => 'binge',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:02',\n 'updated_at' => '2019-03-12 06:30:02',\n ),\n 178 => \n array (\n 'id' => 3679,\n 'name' => 'chat',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:03',\n 'updated_at' => '2019-03-12 06:30:03',\n ),\n 179 => \n array (\n 'id' => 3680,\n 'name' => 'fantastic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:04',\n 'updated_at' => '2019-03-12 06:30:04',\n ),\n 180 => \n array (\n 'id' => 3681,\n 'name' => 'carnival',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:06',\n 'updated_at' => '2019-03-12 06:30:06',\n ),\n 181 => \n array (\n 'id' => 3682,\n 'name' => 'terrible',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:06',\n 'updated_at' => '2019-03-12 06:30:06',\n ),\n 182 => \n array (\n 'id' => 3683,\n 'name' => 'topics',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:16',\n 'updated_at' => '2019-03-12 06:30:16',\n ),\n 183 => \n array (\n 'id' => 3684,\n 'name' => 'interests',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:19',\n 'updated_at' => '2019-03-12 06:30:19',\n ),\n 184 => \n array (\n 'id' => 3685,\n 'name' => 'rooftops',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:19',\n 'updated_at' => '2019-03-12 06:30:19',\n ),\n 185 => \n array (\n 'id' => 3686,\n 'name' => 'achievements',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:19',\n 'updated_at' => '2019-03-12 06:30:19',\n ),\n 186 => \n array (\n 'id' => 3687,\n 'name' => 'abuse',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:21',\n 'updated_at' => '2019-03-12 06:30:21',\n ),\n 187 => \n array (\n 'id' => 3688,\n 'name' => 'concerns',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:22',\n 'updated_at' => '2019-03-12 06:30:22',\n ),\n 188 => \n array (\n 'id' => 3689,\n 'name' => 'great story',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:23',\n 'updated_at' => '2019-03-12 06:30:23',\n ),\n 189 => \n array (\n 'id' => 3690,\n 'name' => 'social life',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:25',\n 'updated_at' => '2019-03-12 06:30:25',\n ),\n 190 => \n array (\n 'id' => 3691,\n 'name' => 'sneakers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:32',\n 'updated_at' => '2019-03-12 06:30:32',\n ),\n 191 => \n array (\n 'id' => 3692,\n 'name' => 'extraordinary',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:33',\n 'updated_at' => '2019-03-12 06:30:33',\n ),\n 192 => \n array (\n 'id' => 3693,\n 'name' => 'favorite',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:34',\n 'updated_at' => '2019-03-12 06:30:34',\n ),\n 193 => \n array (\n 'id' => 3694,\n 'name' => 'aspect',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:35',\n 'updated_at' => '2019-03-12 06:30:35',\n ),\n 194 => \n array (\n 'id' => 3695,\n 'name' => 'eyebrows',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:35',\n 'updated_at' => '2019-03-12 06:30:35',\n ),\n 195 => \n array (\n 'id' => 3696,\n 'name' => 'cooler',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:40',\n 'updated_at' => '2019-03-12 06:30:40',\n ),\n 196 => \n array (\n 'id' => 3697,\n 'name' => 'musically',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:45',\n 'updated_at' => '2019-03-12 06:30:45',\n ),\n 197 => \n array (\n 'id' => 3698,\n 'name' => 'crushes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:46',\n 'updated_at' => '2019-03-12 06:30:46',\n ),\n 198 => \n array (\n 'id' => 3699,\n 'name' => 'guarded',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:47',\n 'updated_at' => '2019-03-12 06:30:47',\n ),\n 199 => \n array (\n 'id' => 3700,\n 'name' => 'concerts',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:47',\n 'updated_at' => '2019-03-12 06:30:47',\n ),\n 200 => \n array (\n 'id' => 3701,\n 'name' => 'paparazzi',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:48',\n 'updated_at' => '2019-03-12 06:30:48',\n ),\n 201 => \n array (\n 'id' => 3702,\n 'name' => 'overcoming',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:30:58',\n 'updated_at' => '2019-03-12 06:30:58',\n ),\n 202 => \n array (\n 'id' => 3703,\n 'name' => 'similarities',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:00',\n 'updated_at' => '2019-03-12 06:31:00',\n ),\n 203 => \n array (\n 'id' => 3704,\n 'name' => 'rhetoric',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:00',\n 'updated_at' => '2019-03-12 06:31:00',\n ),\n 204 => \n array (\n 'id' => 3705,\n 'name' => 'veterans',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:01',\n 'updated_at' => '2019-03-12 06:31:01',\n ),\n 205 => \n array (\n 'id' => 3706,\n 'name' => 'pasadena',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:07',\n 'updated_at' => '2019-03-12 06:31:07',\n ),\n 206 => \n array (\n 'id' => 3707,\n 'name' => 'bet',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:08',\n 'updated_at' => '2019-03-12 06:31:08',\n ),\n 207 => \n array (\n 'id' => 3708,\n 'name' => 'high standards',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:13',\n 'updated_at' => '2019-03-12 06:31:13',\n ),\n 208 => \n array (\n 'id' => 3709,\n 'name' => 'lake',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:14',\n 'updated_at' => '2019-03-12 06:31:14',\n ),\n 209 => \n array (\n 'id' => 3710,\n 'name' => 'rowing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:14',\n 'updated_at' => '2019-03-12 06:31:14',\n ),\n 210 => \n array (\n 'id' => 3711,\n 'name' => 'gentleman',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:15',\n 'updated_at' => '2019-03-12 06:31:15',\n ),\n 211 => \n array (\n 'id' => 3712,\n 'name' => 'cheesecake',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:16',\n 'updated_at' => '2019-03-12 06:31:16',\n ),\n 212 => \n array (\n 'id' => 3713,\n 'name' => 'pairs',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:16',\n 'updated_at' => '2019-03-12 06:31:16',\n ),\n 213 => \n array (\n 'id' => 3714,\n 'name' => 'obsessed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:18',\n 'updated_at' => '2019-03-12 06:31:18',\n ),\n 214 => \n array (\n 'id' => 3715,\n 'name' => 'darker',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:18',\n 'updated_at' => '2019-03-12 06:31:18',\n ),\n 215 => \n array (\n 'id' => 3716,\n 'name' => 'spot',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:19',\n 'updated_at' => '2019-03-12 06:31:19',\n ),\n 216 => \n array (\n 'id' => 3717,\n 'name' => 'anatomy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:21',\n 'updated_at' => '2019-03-12 06:31:21',\n ),\n 217 => \n array (\n 'id' => 3718,\n 'name' => 'controlling',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:24',\n 'updated_at' => '2019-03-12 06:31:24',\n ),\n 218 => \n array (\n 'id' => 3719,\n 'name' => 'performing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:26',\n 'updated_at' => '2019-03-12 06:31:26',\n ),\n 219 => \n array (\n 'id' => 3720,\n 'name' => 'base',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:27',\n 'updated_at' => '2019-03-12 06:31:27',\n ),\n 220 => \n array (\n 'id' => 3721,\n 'name' => 'same thing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:27',\n 'updated_at' => '2019-03-12 06:31:27',\n ),\n 221 => \n array (\n 'id' => 3722,\n 'name' => 'south',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:33',\n 'updated_at' => '2019-03-12 06:31:33',\n ),\n 222 => \n array (\n 'id' => 3723,\n 'name' => 'literate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:33',\n 'updated_at' => '2019-03-12 06:31:33',\n ),\n 223 => \n array (\n 'id' => 3724,\n 'name' => 'lazy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:36',\n 'updated_at' => '2019-03-12 06:31:36',\n ),\n 224 => \n array (\n 'id' => 3725,\n 'name' => 'no doubt',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:37',\n 'updated_at' => '2019-03-12 06:31:37',\n ),\n 225 => \n array (\n 'id' => 3726,\n 'name' => 'urdu',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:40',\n 'updated_at' => '2019-03-12 06:31:40',\n ),\n 226 => \n array (\n 'id' => 3727,\n 'name' => 'brilliant',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:40',\n 'updated_at' => '2019-03-12 06:31:40',\n ),\n 227 => \n array (\n 'id' => 3728,\n 'name' => 'hear music',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:45',\n 'updated_at' => '2019-03-12 06:31:45',\n ),\n 228 => \n array (\n 'id' => 3729,\n 'name' => 'laboratory',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:46',\n 'updated_at' => '2019-03-12 06:31:46',\n ),\n 229 => \n array (\n 'id' => 3730,\n 'name' => 'microscope',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:46',\n 'updated_at' => '2019-03-12 06:31:46',\n ),\n 230 => \n array (\n 'id' => 3731,\n 'name' => 'turntable',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:46',\n 'updated_at' => '2019-03-12 06:31:46',\n ),\n 231 => \n array (\n 'id' => 3732,\n 'name' => 'smithsonian',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:47',\n 'updated_at' => '2019-03-12 06:31:47',\n ),\n 232 => \n array (\n 'id' => 3733,\n 'name' => 'sold',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:55',\n 'updated_at' => '2019-03-12 06:31:55',\n ),\n 233 => \n array (\n 'id' => 3734,\n 'name' => 'harvard',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:31:58',\n 'updated_at' => '2019-03-12 06:31:58',\n ),\n 234 => \n array (\n 'id' => 3735,\n 'name' => 'worldwide',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:00',\n 'updated_at' => '2019-03-12 06:32:00',\n ),\n 235 => \n array (\n 'id' => 3736,\n 'name' => 'flexible',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:05',\n 'updated_at' => '2019-03-12 06:32:05',\n ),\n 236 => \n array (\n 'id' => 3737,\n 'name' => 'doing the right thing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:06',\n 'updated_at' => '2019-03-12 06:32:06',\n ),\n 237 => \n array (\n 'id' => 3738,\n 'name' => 'federal government',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:10',\n 'updated_at' => '2019-03-12 06:32:10',\n ),\n 238 => \n array (\n 'id' => 3739,\n 'name' => 'first amendment',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:11',\n 'updated_at' => '2019-03-12 06:32:11',\n ),\n 239 => \n array (\n 'id' => 3740,\n 'name' => 'switch',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:14',\n 'updated_at' => '2019-03-12 06:32:14',\n ),\n 240 => \n array (\n 'id' => 3741,\n 'name' => 'piracy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:14',\n 'updated_at' => '2019-03-12 06:32:14',\n ),\n 241 => \n array (\n 'id' => 3742,\n 'name' => 'equivalent',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:15',\n 'updated_at' => '2019-03-12 06:32:15',\n ),\n 242 => \n array (\n 'id' => 3743,\n 'name' => 'free market',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:15',\n 'updated_at' => '2019-03-12 06:32:15',\n ),\n 243 => \n array (\n 'id' => 3744,\n 'name' => 'wireless',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:16',\n 'updated_at' => '2019-03-12 06:32:16',\n ),\n 244 => \n array (\n 'id' => 3745,\n 'name' => 'sponsors',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:21',\n 'updated_at' => '2019-03-12 06:32:21',\n ),\n 245 => \n array (\n 'id' => 3746,\n 'name' => 'binding',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:23',\n 'updated_at' => '2019-03-12 06:32:23',\n ),\n 246 => \n array (\n 'id' => 3747,\n 'name' => 'bad guy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:29',\n 'updated_at' => '2019-03-12 06:32:29',\n ),\n 247 => \n array (\n 'id' => 3748,\n 'name' => 'responsible',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:31',\n 'updated_at' => '2019-03-12 06:32:31',\n ),\n 248 => \n array (\n 'id' => 3749,\n 'name' => 'conviction',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:33',\n 'updated_at' => '2019-03-12 06:32:33',\n ),\n 249 => \n array (\n 'id' => 3750,\n 'name' => 'guilt',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:33',\n 'updated_at' => '2019-03-12 06:32:33',\n ),\n 250 => \n array (\n 'id' => 3751,\n 'name' => 'standard',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:34',\n 'updated_at' => '2019-03-12 06:32:34',\n ),\n 251 => \n array (\n 'id' => 3752,\n 'name' => 'goodwill',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:34',\n 'updated_at' => '2019-03-12 06:32:34',\n ),\n 252 => \n array (\n 'id' => 3753,\n 'name' => 'judaism',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:36',\n 'updated_at' => '2019-03-12 06:32:36',\n ),\n 253 => \n array (\n 'id' => 3754,\n 'name' => 'insecurity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:39',\n 'updated_at' => '2019-03-12 06:32:39',\n ),\n 254 => \n array (\n 'id' => 3755,\n 'name' => 'nonsense',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:43',\n 'updated_at' => '2019-03-12 06:32:43',\n ),\n 255 => \n array (\n 'id' => 3756,\n 'name' => 'cut',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:45',\n 'updated_at' => '2019-03-12 06:32:45',\n ),\n 256 => \n array (\n 'id' => 3757,\n 'name' => 'ties',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:46',\n 'updated_at' => '2019-03-12 06:32:46',\n ),\n 257 => \n array (\n 'id' => 3758,\n 'name' => 'afghanistan',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:47',\n 'updated_at' => '2019-03-12 06:32:47',\n ),\n 258 => \n array (\n 'id' => 3759,\n 'name' => 'rice',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:50',\n 'updated_at' => '2019-03-12 06:32:50',\n ),\n 259 => \n array (\n 'id' => 3760,\n 'name' => 'talks',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:51',\n 'updated_at' => '2019-03-12 06:32:51',\n ),\n 260 => \n array (\n 'id' => 3761,\n 'name' => 'treasures',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:53',\n 'updated_at' => '2019-03-12 06:32:53',\n ),\n 261 => \n array (\n 'id' => 3762,\n 'name' => 'thee',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:54',\n 'updated_at' => '2019-03-12 06:32:54',\n ),\n 262 => \n array (\n 'id' => 3763,\n 'name' => 'hidden',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:55',\n 'updated_at' => '2019-03-12 06:32:55',\n ),\n 263 => \n array (\n 'id' => 3764,\n 'name' => 'sword',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:58',\n 'updated_at' => '2019-03-12 06:32:58',\n ),\n 264 => \n array (\n 'id' => 3765,\n 'name' => 'thy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:32:58',\n 'updated_at' => '2019-03-12 06:32:58',\n ),\n 265 => \n array (\n 'id' => 3766,\n 'name' => 'educational',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:04',\n 'updated_at' => '2019-03-12 06:33:04',\n ),\n 266 => \n array (\n 'id' => 3767,\n 'name' => 'rewrite',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:05',\n 'updated_at' => '2019-03-12 06:33:05',\n ),\n 267 => \n array (\n 'id' => 3768,\n 'name' => 'revise',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:05',\n 'updated_at' => '2019-03-12 06:33:05',\n ),\n 268 => \n array (\n 'id' => 3769,\n 'name' => 'gray',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:06',\n 'updated_at' => '2019-03-12 06:33:06',\n ),\n 269 => \n array (\n 'id' => 3770,\n 'name' => 'hindus',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:09',\n 'updated_at' => '2019-03-12 06:33:09',\n ),\n 270 => \n array (\n 'id' => 3771,\n 'name' => 'pious',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:09',\n 'updated_at' => '2019-03-12 06:33:09',\n ),\n 271 => \n array (\n 'id' => 3772,\n 'name' => 'memoir',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:13',\n 'updated_at' => '2019-03-12 06:33:13',\n ),\n 272 => \n array (\n 'id' => 3773,\n 'name' => 'criminals',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:16',\n 'updated_at' => '2019-03-12 06:33:16',\n ),\n 273 => \n array (\n 'id' => 3774,\n 'name' => 'unacceptable',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:17',\n 'updated_at' => '2019-03-12 06:33:17',\n ),\n 274 => \n array (\n 'id' => 3775,\n 'name' => 'troops',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:19',\n 'updated_at' => '2019-03-12 06:33:19',\n ),\n 275 => \n array (\n 'id' => 3776,\n 'name' => 'chechnya',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:19',\n 'updated_at' => '2019-03-12 06:33:19',\n ),\n 276 => \n array (\n 'id' => 3777,\n 'name' => 'accidental',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:21',\n 'updated_at' => '2019-03-12 06:33:21',\n ),\n 277 => \n array (\n 'id' => 3778,\n 'name' => 'attempted',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:21',\n 'updated_at' => '2019-03-12 06:33:21',\n ),\n 278 => \n array (\n 'id' => 3779,\n 'name' => 'resistance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:22',\n 'updated_at' => '2019-03-12 06:33:22',\n ),\n 279 => \n array (\n 'id' => 3780,\n 'name' => 'marrying',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:25',\n 'updated_at' => '2019-03-12 06:33:25',\n ),\n 280 => \n array (\n 'id' => 3781,\n 'name' => 'bid',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:26',\n 'updated_at' => '2019-03-12 06:33:26',\n ),\n 281 => \n array (\n 'id' => 3782,\n 'name' => 'preserve',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:27',\n 'updated_at' => '2019-03-12 06:33:27',\n ),\n 282 => \n array (\n 'id' => 3783,\n 'name' => 'japanese',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:27',\n 'updated_at' => '2019-03-12 06:33:27',\n ),\n 283 => \n array (\n 'id' => 3784,\n 'name' => 'teamwork',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:28',\n 'updated_at' => '2019-03-12 06:33:28',\n ),\n 284 => \n array (\n 'id' => 3785,\n 'name' => 'customer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:29',\n 'updated_at' => '2019-03-12 06:33:29',\n ),\n 285 => \n array (\n 'id' => 3786,\n 'name' => 'toyota',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:31',\n 'updated_at' => '2019-03-12 06:33:31',\n ),\n 286 => \n array (\n 'id' => 3787,\n 'name' => 'not perfect',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:33',\n 'updated_at' => '2019-03-12 06:33:33',\n ),\n 287 => \n array (\n 'id' => 3788,\n 'name' => 'dreaming',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:37',\n 'updated_at' => '2019-03-12 06:33:37',\n ),\n 288 => \n array (\n 'id' => 3789,\n 'name' => 'disappointment',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:40',\n 'updated_at' => '2019-03-12 06:33:40',\n ),\n 289 => \n array (\n 'id' => 3790,\n 'name' => 'motto',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:42',\n 'updated_at' => '2019-03-12 06:33:42',\n ),\n 290 => \n array (\n 'id' => 3791,\n 'name' => 'presence',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:43',\n 'updated_at' => '2019-03-12 06:33:43',\n ),\n 291 => \n array (\n 'id' => 3792,\n 'name' => 'levity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:44',\n 'updated_at' => '2019-03-12 06:33:44',\n ),\n 292 => \n array (\n 'id' => 3793,\n 'name' => 'fence',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:45',\n 'updated_at' => '2019-03-12 06:33:45',\n ),\n 293 => \n array (\n 'id' => 3794,\n 'name' => 'foreseen',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:46',\n 'updated_at' => '2019-03-12 06:33:46',\n ),\n 294 => \n array (\n 'id' => 3795,\n 'name' => 'possessions',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:47',\n 'updated_at' => '2019-03-12 06:33:47',\n ),\n 295 => \n array (\n 'id' => 3796,\n 'name' => 'sons',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:47',\n 'updated_at' => '2019-03-12 06:33:47',\n ),\n 296 => \n array (\n 'id' => 3797,\n 'name' => 'hill',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:49',\n 'updated_at' => '2019-03-12 06:33:49',\n ),\n 297 => \n array (\n 'id' => 3798,\n 'name' => 'silly',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:52',\n 'updated_at' => '2019-03-12 06:33:52',\n ),\n 298 => \n array (\n 'id' => 3799,\n 'name' => 'cartoons',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:57',\n 'updated_at' => '2019-03-12 06:33:57',\n ),\n 299 => \n array (\n 'id' => 3800,\n 'name' => 'halo',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:33:58',\n 'updated_at' => '2019-03-12 06:33:58',\n ),\n 300 => \n array (\n 'id' => 3801,\n 'name' => 'fulfill',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:06',\n 'updated_at' => '2019-03-12 06:34:06',\n ),\n 301 => \n array (\n 'id' => 3802,\n 'name' => 'brilliance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:08',\n 'updated_at' => '2019-03-12 06:34:08',\n ),\n 302 => \n array (\n 'id' => 3803,\n 'name' => 'sheer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:08',\n 'updated_at' => '2019-03-12 06:34:08',\n ),\n 303 => \n array (\n 'id' => 3804,\n 'name' => 'expressed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:08',\n 'updated_at' => '2019-03-12 06:34:08',\n ),\n 304 => \n array (\n 'id' => 3805,\n 'name' => 'campaign',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:10',\n 'updated_at' => '2019-03-12 06:34:10',\n ),\n 305 => \n array (\n 'id' => 3806,\n 'name' => 'flexibility',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:12',\n 'updated_at' => '2019-03-12 06:34:12',\n ),\n 306 => \n array (\n 'id' => 3807,\n 'name' => 'ticket',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:12',\n 'updated_at' => '2019-03-12 06:34:12',\n ),\n 307 => \n array (\n 'id' => 3808,\n 'name' => 'prices',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:12',\n 'updated_at' => '2019-03-12 06:34:12',\n ),\n 308 => \n array (\n 'id' => 3809,\n 'name' => 'viewers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:13',\n 'updated_at' => '2019-03-12 06:34:13',\n ),\n 309 => \n array (\n 'id' => 3810,\n 'name' => 'experimental',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:16',\n 'updated_at' => '2019-03-12 06:34:16',\n ),\n 310 => \n array (\n 'id' => 3811,\n 'name' => 'stick',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:24',\n 'updated_at' => '2019-03-12 06:34:24',\n ),\n 311 => \n array (\n 'id' => 3812,\n 'name' => 'negativity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:32',\n 'updated_at' => '2019-03-12 06:34:32',\n ),\n 312 => \n array (\n 'id' => 3813,\n 'name' => 'rely',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:32',\n 'updated_at' => '2019-03-12 06:34:32',\n ),\n 313 => \n array (\n 'id' => 3814,\n 'name' => 'partying',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:33',\n 'updated_at' => '2019-03-12 06:34:33',\n ),\n 314 => \n array (\n 'id' => 3815,\n 'name' => 'relief',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:33',\n 'updated_at' => '2019-03-12 06:34:33',\n ),\n 315 => \n array (\n 'id' => 3816,\n 'name' => 'tasting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:33',\n 'updated_at' => '2019-03-12 06:34:33',\n ),\n 316 => \n array (\n 'id' => 3817,\n 'name' => 'being busy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:42',\n 'updated_at' => '2019-03-12 06:34:42',\n ),\n 317 => \n array (\n 'id' => 3818,\n 'name' => 'sentiments',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:43',\n 'updated_at' => '2019-03-12 06:34:43',\n ),\n 318 => \n array (\n 'id' => 3819,\n 'name' => 'poker',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:47',\n 'updated_at' => '2019-03-12 06:34:47',\n ),\n 319 => \n array (\n 'id' => 3820,\n 'name' => 'risky',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:51',\n 'updated_at' => '2019-03-12 06:34:51',\n ),\n 320 => \n array (\n 'id' => 3821,\n 'name' => 'umpires',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:53',\n 'updated_at' => '2019-03-12 06:34:53',\n ),\n 321 => \n array (\n 'id' => 3822,\n 'name' => 'umpire',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:54',\n 'updated_at' => '2019-03-12 06:34:54',\n ),\n 322 => \n array (\n 'id' => 3823,\n 'name' => 'victor',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:55',\n 'updated_at' => '2019-03-12 06:34:55',\n ),\n 323 => \n array (\n 'id' => 3824,\n 'name' => 'responsibilities',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:55',\n 'updated_at' => '2019-03-12 06:34:55',\n ),\n 324 => \n array (\n 'id' => 3825,\n 'name' => 'june',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:57',\n 'updated_at' => '2019-03-12 06:34:57',\n ),\n 325 => \n array (\n 'id' => 3826,\n 'name' => 'publicity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:58',\n 'updated_at' => '2019-03-12 06:34:58',\n ),\n 326 => \n array (\n 'id' => 3827,\n 'name' => 'backwards',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:58',\n 'updated_at' => '2019-03-12 06:34:58',\n ),\n 327 => \n array (\n 'id' => 3828,\n 'name' => 'boredom',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:59',\n 'updated_at' => '2019-03-12 06:34:59',\n ),\n 328 => \n array (\n 'id' => 3829,\n 'name' => 'airline',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:34:59',\n 'updated_at' => '2019-03-12 06:34:59',\n ),\n 329 => \n array (\n 'id' => 3830,\n 'name' => 'ignorant',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:00',\n 'updated_at' => '2019-03-12 06:35:00',\n ),\n 330 => \n array (\n 'id' => 3831,\n 'name' => 'abstract art',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:01',\n 'updated_at' => '2019-03-12 06:35:01',\n ),\n 331 => \n array (\n 'id' => 3832,\n 'name' => 'wrapping',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:01',\n 'updated_at' => '2019-03-12 06:35:01',\n ),\n 332 => \n array (\n 'id' => 3833,\n 'name' => 'pattern',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:02',\n 'updated_at' => '2019-03-12 06:35:02',\n ),\n 333 => \n array (\n 'id' => 3834,\n 'name' => 'contracts',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:10',\n 'updated_at' => '2019-03-12 06:35:10',\n ),\n 334 => \n array (\n 'id' => 3835,\n 'name' => 'stereotypes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:10',\n 'updated_at' => '2019-03-12 06:35:10',\n ),\n 335 => \n array (\n 'id' => 3836,\n 'name' => 'adjust',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:10',\n 'updated_at' => '2019-03-12 06:35:10',\n ),\n 336 => \n array (\n 'id' => 3837,\n 'name' => 'dominate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:11',\n 'updated_at' => '2019-03-12 06:35:11',\n ),\n 337 => \n array (\n 'id' => 3838,\n 'name' => 'raider',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:13',\n 'updated_at' => '2019-03-12 06:35:13',\n ),\n 338 => \n array (\n 'id' => 3839,\n 'name' => 'vietnam war',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:14',\n 'updated_at' => '2019-03-12 06:35:14',\n ),\n 339 => \n array (\n 'id' => 3840,\n 'name' => 'vietnam',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:14',\n 'updated_at' => '2019-03-12 06:35:14',\n ),\n 340 => \n array (\n 'id' => 3841,\n 'name' => 'stairs',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:15',\n 'updated_at' => '2019-03-12 06:35:15',\n ),\n 341 => \n array (\n 'id' => 3842,\n 'name' => 'carpet',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:16',\n 'updated_at' => '2019-03-12 06:35:16',\n ),\n 342 => \n array (\n 'id' => 3843,\n 'name' => 'easier',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:17',\n 'updated_at' => '2019-03-12 06:35:17',\n ),\n 343 => \n array (\n 'id' => 3844,\n 'name' => 'competing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:19',\n 'updated_at' => '2019-03-12 06:35:19',\n ),\n 344 => \n array (\n 'id' => 3845,\n 'name' => 'pregnancy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:20',\n 'updated_at' => '2019-03-12 06:35:20',\n ),\n 345 => \n array (\n 'id' => 3846,\n 'name' => 'net',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:21',\n 'updated_at' => '2019-03-12 06:35:21',\n ),\n 346 => \n array (\n 'id' => 3847,\n 'name' => 'journal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:23',\n 'updated_at' => '2019-03-12 06:35:23',\n ),\n 347 => \n array (\n 'id' => 3848,\n 'name' => 'seriousness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:25',\n 'updated_at' => '2019-03-12 06:35:25',\n ),\n 348 => \n array (\n 'id' => 3849,\n 'name' => 'bias',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:27',\n 'updated_at' => '2019-03-12 06:35:27',\n ),\n 349 => \n array (\n 'id' => 3850,\n 'name' => 'attacks',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:27',\n 'updated_at' => '2019-03-12 06:35:27',\n ),\n 350 => \n array (\n 'id' => 3851,\n 'name' => 'argument',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:29',\n 'updated_at' => '2019-03-12 06:35:29',\n ),\n 351 => \n array (\n 'id' => 3852,\n 'name' => 'toughness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:30',\n 'updated_at' => '2019-03-12 06:35:30',\n ),\n 352 => \n array (\n 'id' => 3853,\n 'name' => 'doom',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:31',\n 'updated_at' => '2019-03-12 06:35:31',\n ),\n 353 => \n array (\n 'id' => 3854,\n 'name' => 'effect',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:32',\n 'updated_at' => '2019-03-12 06:35:32',\n ),\n 354 => \n array (\n 'id' => 3855,\n 'name' => 'delusion',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:32',\n 'updated_at' => '2019-03-12 06:35:32',\n ),\n 355 => \n array (\n 'id' => 3856,\n 'name' => 'bars',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:33',\n 'updated_at' => '2019-03-12 06:35:33',\n ),\n 356 => \n array (\n 'id' => 3857,\n 'name' => 'silenced',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:34',\n 'updated_at' => '2019-03-12 06:35:34',\n ),\n 357 => \n array (\n 'id' => 3858,\n 'name' => 'raw',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:35',\n 'updated_at' => '2019-03-12 06:35:35',\n ),\n 358 => \n array (\n 'id' => 3859,\n 'name' => 'stock',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:36',\n 'updated_at' => '2019-03-12 06:35:36',\n ),\n 359 => \n array (\n 'id' => 3860,\n 'name' => 'flailing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:36',\n 'updated_at' => '2019-03-12 06:35:36',\n ),\n 360 => \n array (\n 'id' => 3861,\n 'name' => 'disgusting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:36',\n 'updated_at' => '2019-03-12 06:35:36',\n ),\n 361 => \n array (\n 'id' => 3862,\n 'name' => 'villains',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:37',\n 'updated_at' => '2019-03-12 06:35:37',\n ),\n 362 => \n array (\n 'id' => 3863,\n 'name' => 'awake',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:37',\n 'updated_at' => '2019-03-12 06:35:37',\n ),\n 363 => \n array (\n 'id' => 3864,\n 'name' => 'doomed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:39',\n 'updated_at' => '2019-03-12 06:35:39',\n ),\n 364 => \n array (\n 'id' => 3865,\n 'name' => 'illusion',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:40',\n 'updated_at' => '2019-03-12 06:35:40',\n ),\n 365 => \n array (\n 'id' => 3866,\n 'name' => 'blanket',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:45',\n 'updated_at' => '2019-03-12 06:35:45',\n ),\n 366 => \n array (\n 'id' => 3867,\n 'name' => 'urgency',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:48',\n 'updated_at' => '2019-03-12 06:35:48',\n ),\n 367 => \n array (\n 'id' => 3868,\n 'name' => 'wall',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:49',\n 'updated_at' => '2019-03-12 06:35:49',\n ),\n 368 => \n array (\n 'id' => 3869,\n 'name' => 'airplane',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:49',\n 'updated_at' => '2019-03-12 06:35:49',\n ),\n 369 => \n array (\n 'id' => 3870,\n 'name' => 'argue',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:50',\n 'updated_at' => '2019-03-12 06:35:50',\n ),\n 370 => \n array (\n 'id' => 3871,\n 'name' => 'spots',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:50',\n 'updated_at' => '2019-03-12 06:35:50',\n ),\n 371 => \n array (\n 'id' => 3872,\n 'name' => 'global warming',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:51',\n 'updated_at' => '2019-03-12 06:35:51',\n ),\n 372 => \n array (\n 'id' => 3873,\n 'name' => 'flirt',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:55',\n 'updated_at' => '2019-03-12 06:35:55',\n ),\n 373 => \n array (\n 'id' => 3874,\n 'name' => 'fairness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:35:58',\n 'updated_at' => '2019-03-12 06:35:58',\n ),\n 374 => \n array (\n 'id' => 3875,\n 'name' => 'mama',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:00',\n 'updated_at' => '2019-03-12 06:36:00',\n ),\n 375 => \n array (\n 'id' => 3876,\n 'name' => 'rock star',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:05',\n 'updated_at' => '2019-03-12 06:36:05',\n ),\n 376 => \n array (\n 'id' => 3877,\n 'name' => 'crayons',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:09',\n 'updated_at' => '2019-03-12 06:36:09',\n ),\n 377 => \n array (\n 'id' => 3878,\n 'name' => 'buddy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:11',\n 'updated_at' => '2019-03-12 06:36:11',\n ),\n 378 => \n array (\n 'id' => 3879,\n 'name' => 'show business',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:11',\n 'updated_at' => '2019-03-12 06:36:11',\n ),\n 379 => \n array (\n 'id' => 3880,\n 'name' => 'hobbies',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:13',\n 'updated_at' => '2019-03-12 06:36:13',\n ),\n 380 => \n array (\n 'id' => 3881,\n 'name' => 'vitality',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:14',\n 'updated_at' => '2019-03-12 06:36:14',\n ),\n 381 => \n array (\n 'id' => 3882,\n 'name' => 'chickens',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:16',\n 'updated_at' => '2019-03-12 06:36:16',\n ),\n 382 => \n array (\n 'id' => 3883,\n 'name' => 'runner',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:22',\n 'updated_at' => '2019-03-12 06:36:22',\n ),\n 383 => \n array (\n 'id' => 3884,\n 'name' => 'literally',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:22',\n 'updated_at' => '2019-03-12 06:36:22',\n ),\n 384 => \n array (\n 'id' => 3885,\n 'name' => 'good health',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:24',\n 'updated_at' => '2019-03-12 06:36:24',\n ),\n 385 => \n array (\n 'id' => 3886,\n 'name' => 'records',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:25',\n 'updated_at' => '2019-03-12 06:36:25',\n ),\n 386 => \n array (\n 'id' => 3887,\n 'name' => 'great time',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:25',\n 'updated_at' => '2019-03-12 06:36:25',\n ),\n 387 => \n array (\n 'id' => 3888,\n 'name' => 'halloween',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:33',\n 'updated_at' => '2019-03-12 06:36:33',\n ),\n 388 => \n array (\n 'id' => 3889,\n 'name' => 'karma',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:34',\n 'updated_at' => '2019-03-12 06:36:34',\n ),\n 389 => \n array (\n 'id' => 3890,\n 'name' => 'parking',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:34',\n 'updated_at' => '2019-03-12 06:36:34',\n ),\n 390 => \n array (\n 'id' => 3891,\n 'name' => 'firm',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:34',\n 'updated_at' => '2019-03-12 06:36:34',\n ),\n 391 => \n array (\n 'id' => 3892,\n 'name' => 'ministry',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:37',\n 'updated_at' => '2019-03-12 06:36:37',\n ),\n 392 => \n array (\n 'id' => 3893,\n 'name' => 'pine',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:38',\n 'updated_at' => '2019-03-12 06:36:38',\n ),\n 393 => \n array (\n 'id' => 3894,\n 'name' => 'recluse',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:39',\n 'updated_at' => '2019-03-12 06:36:39',\n ),\n 394 => \n array (\n 'id' => 3895,\n 'name' => 'sloth',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:40',\n 'updated_at' => '2019-03-12 06:36:40',\n ),\n 395 => \n array (\n 'id' => 3896,\n 'name' => 'excess',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:40',\n 'updated_at' => '2019-03-12 06:36:40',\n ),\n 396 => \n array (\n 'id' => 3897,\n 'name' => 'nights',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:41',\n 'updated_at' => '2019-03-12 06:36:41',\n ),\n 397 => \n array (\n 'id' => 3898,\n 'name' => 'everyday life',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:42',\n 'updated_at' => '2019-03-12 06:36:42',\n ),\n 398 => \n array (\n 'id' => 3899,\n 'name' => 'mold',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:43',\n 'updated_at' => '2019-03-12 06:36:43',\n ),\n 399 => \n array (\n 'id' => 3900,\n 'name' => 'live life',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:44',\n 'updated_at' => '2019-03-12 06:36:44',\n ),\n 400 => \n array (\n 'id' => 3901,\n 'name' => 'punk rock',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:44',\n 'updated_at' => '2019-03-12 06:36:44',\n ),\n 401 => \n array (\n 'id' => 3902,\n 'name' => 'mets',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:53',\n 'updated_at' => '2019-03-12 06:36:53',\n ),\n 402 => \n array (\n 'id' => 3903,\n 'name' => 'event',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:53',\n 'updated_at' => '2019-03-12 06:36:53',\n ),\n 403 => \n array (\n 'id' => 3904,\n 'name' => 'intensity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:55',\n 'updated_at' => '2019-03-12 06:36:55',\n ),\n 404 => \n array (\n 'id' => 3905,\n 'name' => 'pitcher',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:57',\n 'updated_at' => '2019-03-12 06:36:57',\n ),\n 405 => \n array (\n 'id' => 3906,\n 'name' => 'steroids',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:59',\n 'updated_at' => '2019-03-12 06:36:59',\n ),\n 406 => \n array (\n 'id' => 3907,\n 'name' => 'convinced',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:36:59',\n 'updated_at' => '2019-03-12 06:36:59',\n ),\n 407 => \n array (\n 'id' => 3908,\n 'name' => 'roger',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:00',\n 'updated_at' => '2019-03-12 06:37:00',\n ),\n 408 => \n array (\n 'id' => 3909,\n 'name' => 'sunset',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:00',\n 'updated_at' => '2019-03-12 06:37:00',\n ),\n 409 => \n array (\n 'id' => 3910,\n 'name' => 'sixty',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:01',\n 'updated_at' => '2019-03-12 06:37:01',\n ),\n 410 => \n array (\n 'id' => 3911,\n 'name' => 'uniqueness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:01',\n 'updated_at' => '2019-03-12 06:37:01',\n ),\n 411 => \n array (\n 'id' => 3912,\n 'name' => 'immigrant',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:03',\n 'updated_at' => '2019-03-12 06:37:03',\n ),\n 412 => \n array (\n 'id' => 3913,\n 'name' => 'circus',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:06',\n 'updated_at' => '2019-03-12 06:37:06',\n ),\n 413 => \n array (\n 'id' => 3914,\n 'name' => 'tobacco',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:08',\n 'updated_at' => '2019-03-12 06:37:08',\n ),\n 414 => \n array (\n 'id' => 3915,\n 'name' => 'seventy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:10',\n 'updated_at' => '2019-03-12 06:37:10',\n ),\n 415 => \n array (\n 'id' => 3916,\n 'name' => 'goes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:11',\n 'updated_at' => '2019-03-12 06:37:11',\n ),\n 416 => \n array (\n 'id' => 3917,\n 'name' => 'bribe',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:12',\n 'updated_at' => '2019-03-12 06:37:12',\n ),\n 417 => \n array (\n 'id' => 3918,\n 'name' => 'you can do it',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:16',\n 'updated_at' => '2019-03-12 06:37:16',\n ),\n 418 => \n array (\n 'id' => 3919,\n 'name' => 'terrific',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:17',\n 'updated_at' => '2019-03-12 06:37:17',\n ),\n 419 => \n array (\n 'id' => 3920,\n 'name' => 'walls',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:20',\n 'updated_at' => '2019-03-12 06:37:20',\n ),\n 420 => \n array (\n 'id' => 3921,\n 'name' => 'statue',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:21',\n 'updated_at' => '2019-03-12 06:37:21',\n ),\n 421 => \n array (\n 'id' => 3922,\n 'name' => 'yankees',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:22',\n 'updated_at' => '2019-03-12 06:37:22',\n ),\n 422 => \n array (\n 'id' => 3923,\n 'name' => 'appreciated',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:23',\n 'updated_at' => '2019-03-12 06:37:23',\n ),\n 423 => \n array (\n 'id' => 3924,\n 'name' => 'primary',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:25',\n 'updated_at' => '2019-03-12 06:37:25',\n ),\n 424 => \n array (\n 'id' => 3925,\n 'name' => 'websites',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:28',\n 'updated_at' => '2019-03-12 06:37:28',\n ),\n 425 => \n array (\n 'id' => 3926,\n 'name' => 'mention',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:36',\n 'updated_at' => '2019-03-12 06:37:36',\n ),\n 426 => \n array (\n 'id' => 3927,\n 'name' => 'coat',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:38',\n 'updated_at' => '2019-03-12 06:37:38',\n ),\n 427 => \n array (\n 'id' => 3928,\n 'name' => 'eccentric',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:40',\n 'updated_at' => '2019-03-12 06:37:40',\n ),\n 428 => \n array (\n 'id' => 3929,\n 'name' => 'surgery',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:41',\n 'updated_at' => '2019-03-12 06:37:41',\n ),\n 429 => \n array (\n 'id' => 3930,\n 'name' => 'wore',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:43',\n 'updated_at' => '2019-03-12 06:37:43',\n ),\n 430 => \n array (\n 'id' => 3931,\n 'name' => 'spontaneous',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:44',\n 'updated_at' => '2019-03-12 06:37:44',\n ),\n 431 => \n array (\n 'id' => 3932,\n 'name' => 'december',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:45',\n 'updated_at' => '2019-03-12 06:37:45',\n ),\n 432 => \n array (\n 'id' => 3933,\n 'name' => 'dallas',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:48',\n 'updated_at' => '2019-03-12 06:37:48',\n ),\n 433 => \n array (\n 'id' => 3934,\n 'name' => 'dolphins',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:50',\n 'updated_at' => '2019-03-12 06:37:50',\n ),\n 434 => \n array (\n 'id' => 3935,\n 'name' => 'source',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:55',\n 'updated_at' => '2019-03-12 06:37:55',\n ),\n 435 => \n array (\n 'id' => 3936,\n 'name' => 'abc',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:57',\n 'updated_at' => '2019-03-12 06:37:57',\n ),\n 436 => \n array (\n 'id' => 3937,\n 'name' => 'announcer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:37:58',\n 'updated_at' => '2019-03-12 06:37:58',\n ),\n 437 => \n array (\n 'id' => 3938,\n 'name' => 'sunglasses',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:38:04',\n 'updated_at' => '2019-03-12 06:38:04',\n ),\n 438 => \n array (\n 'id' => 3939,\n 'name' => 'bronx',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:38:18',\n 'updated_at' => '2019-03-12 06:38:18',\n ),\n 439 => \n array (\n 'id' => 3940,\n 'name' => 'bodyguards',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:38:18',\n 'updated_at' => '2019-03-12 06:38:18',\n ),\n 440 => \n array (\n 'id' => 3941,\n 'name' => 'south bronx',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:38:19',\n 'updated_at' => '2019-03-12 06:38:19',\n ),\n 441 => \n array (\n 'id' => 3942,\n 'name' => 'soldiers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:38:23',\n 'updated_at' => '2019-03-12 06:38:23',\n ),\n 442 => \n array (\n 'id' => 3943,\n 'name' => 'testimonial',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:38:28',\n 'updated_at' => '2019-03-12 06:38:28',\n ),\n 443 => \n array (\n 'id' => 3944,\n 'name' => 'poems',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:38:28',\n 'updated_at' => '2019-03-12 06:38:28',\n ),\n 444 => \n array (\n 'id' => 3945,\n 'name' => 'thirteen',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:38:29',\n 'updated_at' => '2019-03-12 06:38:29',\n ),\n 445 => \n array (\n 'id' => 3946,\n 'name' => 'desperate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:38:30',\n 'updated_at' => '2019-03-12 06:38:30',\n ),\n 446 => \n array (\n 'id' => 3947,\n 'name' => 'formal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:38:31',\n 'updated_at' => '2019-03-12 06:38:31',\n ),\n 447 => \n array (\n 'id' => 3948,\n 'name' => 'never give up',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:38:34',\n 'updated_at' => '2019-03-12 06:38:34',\n ),\n 448 => \n array (\n 'id' => 3949,\n 'name' => 'bad day',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:38:37',\n 'updated_at' => '2019-03-12 06:38:37',\n ),\n 449 => \n array (\n 'id' => 3950,\n 'name' => 'sushi',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:38:40',\n 'updated_at' => '2019-03-12 06:38:40',\n ),\n 450 => \n array (\n 'id' => 3951,\n 'name' => 'tuesday',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:38:41',\n 'updated_at' => '2019-03-12 06:38:41',\n ),\n 451 => \n array (\n 'id' => 3952,\n 'name' => 'watches',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:38:42',\n 'updated_at' => '2019-03-12 06:38:42',\n ),\n 452 => \n array (\n 'id' => 3953,\n 'name' => 'bacon',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:38:48',\n 'updated_at' => '2019-03-12 06:38:48',\n ),\n 453 => \n array (\n 'id' => 3954,\n 'name' => 'partner',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:38:53',\n 'updated_at' => '2019-03-12 06:38:53',\n ),\n 454 => \n array (\n 'id' => 3955,\n 'name' => 'wolves',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:38:57',\n 'updated_at' => '2019-03-12 06:38:57',\n ),\n 455 => \n array (\n 'id' => 3956,\n 'name' => 'beliefs',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:39:06',\n 'updated_at' => '2019-03-12 06:39:06',\n ),\n 456 => \n array (\n 'id' => 3957,\n 'name' => 'brutality',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:39:14',\n 'updated_at' => '2019-03-12 06:39:14',\n ),\n 457 => \n array (\n 'id' => 3958,\n 'name' => 'white house',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:39:16',\n 'updated_at' => '2019-03-12 06:39:16',\n ),\n 458 => \n array (\n 'id' => 3959,\n 'name' => '1950s',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:39:18',\n 'updated_at' => '2019-03-12 06:39:18',\n ),\n 459 => \n array (\n 'id' => 3960,\n 'name' => 'chapters',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:39:23',\n 'updated_at' => '2019-03-12 06:39:23',\n ),\n 460 => \n array (\n 'id' => 3961,\n 'name' => 'donkey',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:39:26',\n 'updated_at' => '2019-03-12 06:39:26',\n ),\n 461 => \n array (\n 'id' => 3962,\n 'name' => 'chances',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:39:27',\n 'updated_at' => '2019-03-12 06:39:27',\n ),\n 462 => \n array (\n 'id' => 3963,\n 'name' => 'counting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:39:29',\n 'updated_at' => '2019-03-12 06:39:29',\n ),\n 463 => \n array (\n 'id' => 3964,\n 'name' => 'thin',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:39:30',\n 'updated_at' => '2019-03-12 06:39:30',\n ),\n 464 => \n array (\n 'id' => 3965,\n 'name' => 'slice',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:39:30',\n 'updated_at' => '2019-03-12 06:39:30',\n ),\n 465 => \n array (\n 'id' => 3966,\n 'name' => 'cured',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:39:32',\n 'updated_at' => '2019-03-12 06:39:32',\n ),\n 466 => \n array (\n 'id' => 3967,\n 'name' => 'santa claus',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:39:34',\n 'updated_at' => '2019-03-12 06:39:34',\n ),\n 467 => \n array (\n 'id' => 3968,\n 'name' => 'fireplace',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:39:34',\n 'updated_at' => '2019-03-12 06:39:34',\n ),\n 468 => \n array (\n 'id' => 3969,\n 'name' => 'poise',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:39:36',\n 'updated_at' => '2019-03-12 06:39:36',\n ),\n 469 => \n array (\n 'id' => 3970,\n 'name' => 'maker',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:39:37',\n 'updated_at' => '2019-03-12 06:39:37',\n ),\n 470 => \n array (\n 'id' => 3971,\n 'name' => 'amber',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:39:39',\n 'updated_at' => '2019-03-12 06:39:39',\n ),\n 471 => \n array (\n 'id' => 3972,\n 'name' => 'pepper',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:39:45',\n 'updated_at' => '2019-03-12 06:39:45',\n ),\n 472 => \n array (\n 'id' => 3973,\n 'name' => 'sergeant',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:39:46',\n 'updated_at' => '2019-03-12 06:39:46',\n ),\n 473 => \n array (\n 'id' => 3974,\n 'name' => 'judgment',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:39:48',\n 'updated_at' => '2019-03-12 06:39:48',\n ),\n 474 => \n array (\n 'id' => 3975,\n 'name' => 'knows',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:39:51',\n 'updated_at' => '2019-03-12 06:39:51',\n ),\n 475 => \n array (\n 'id' => 3976,\n 'name' => 'viral',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:39:57',\n 'updated_at' => '2019-03-12 06:39:57',\n ),\n 476 => \n array (\n 'id' => 3977,\n 'name' => 'traveled',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:39:59',\n 'updated_at' => '2019-03-12 06:39:59',\n ),\n 477 => \n array (\n 'id' => 3978,\n 'name' => 'spam',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:01',\n 'updated_at' => '2019-03-12 06:40:01',\n ),\n 478 => \n array (\n 'id' => 3979,\n 'name' => 'vocation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:03',\n 'updated_at' => '2019-03-12 06:40:03',\n ),\n 479 => \n array (\n 'id' => 3980,\n 'name' => 'gradually',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:04',\n 'updated_at' => '2019-03-12 06:40:04',\n ),\n 480 => \n array (\n 'id' => 3981,\n 'name' => 'autograph',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:06',\n 'updated_at' => '2019-03-12 06:40:06',\n ),\n 481 => \n array (\n 'id' => 3982,\n 'name' => 'analytical',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:12',\n 'updated_at' => '2019-03-12 06:40:12',\n ),\n 482 => \n array (\n 'id' => 3983,\n 'name' => 'defined',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:13',\n 'updated_at' => '2019-03-12 06:40:13',\n ),\n 483 => \n array (\n 'id' => 3984,\n 'name' => 'meant to be',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:14',\n 'updated_at' => '2019-03-12 06:40:14',\n ),\n 484 => \n array (\n 'id' => 3985,\n 'name' => 'anymore',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:17',\n 'updated_at' => '2019-03-12 06:40:17',\n ),\n 485 => \n array (\n 'id' => 3986,\n 'name' => 'compare',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:26',\n 'updated_at' => '2019-03-12 06:40:26',\n ),\n 486 => \n array (\n 'id' => 3987,\n 'name' => 'saudi',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:26',\n 'updated_at' => '2019-03-12 06:40:26',\n ),\n 487 => \n array (\n 'id' => 3988,\n 'name' => 'saudi arabia',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:27',\n 'updated_at' => '2019-03-12 06:40:27',\n ),\n 488 => \n array (\n 'id' => 3989,\n 'name' => 'get together',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:28',\n 'updated_at' => '2019-03-12 06:40:28',\n ),\n 489 => \n array (\n 'id' => 3990,\n 'name' => 'mortgage',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:29',\n 'updated_at' => '2019-03-12 06:40:29',\n ),\n 490 => \n array (\n 'id' => 3991,\n 'name' => 'wheels',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:30',\n 'updated_at' => '2019-03-12 06:40:30',\n ),\n 491 => \n array (\n 'id' => 3992,\n 'name' => 'running',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:30',\n 'updated_at' => '2019-03-12 06:40:30',\n ),\n 492 => \n array (\n 'id' => 3993,\n 'name' => 'local',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:31',\n 'updated_at' => '2019-03-12 06:40:31',\n ),\n 493 => \n array (\n 'id' => 3994,\n 'name' => 'investor',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:32',\n 'updated_at' => '2019-03-12 06:40:32',\n ),\n 494 => \n array (\n 'id' => 3995,\n 'name' => 'fields',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:35',\n 'updated_at' => '2019-03-12 06:40:35',\n ),\n 495 => \n array (\n 'id' => 3996,\n 'name' => 'highest',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:38',\n 'updated_at' => '2019-03-12 06:40:38',\n ),\n 496 => \n array (\n 'id' => 3997,\n 'name' => 'maturity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:43',\n 'updated_at' => '2019-03-12 06:40:43',\n ),\n 497 => \n array (\n 'id' => 3998,\n 'name' => 'reformer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:44',\n 'updated_at' => '2019-03-12 06:40:44',\n ),\n 498 => \n array (\n 'id' => 3999,\n 'name' => 'advance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:45',\n 'updated_at' => '2019-03-12 06:40:45',\n ),\n 499 => \n array (\n 'id' => 4000,\n 'name' => 'jury',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:46',\n 'updated_at' => '2019-03-12 06:40:46',\n ),\n ));\n \\DB::table('tags')->insert(array (\n 0 => \n array (\n 'id' => 4001,\n 'name' => 'tattoo',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:55',\n 'updated_at' => '2019-03-12 06:40:55',\n ),\n 1 => \n array (\n 'id' => 4002,\n 'name' => 'warning',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:55',\n 'updated_at' => '2019-03-12 06:40:55',\n ),\n 2 => \n array (\n 'id' => 4003,\n 'name' => 'rope',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:57',\n 'updated_at' => '2019-03-12 06:40:57',\n ),\n 3 => \n array (\n 'id' => 4004,\n 'name' => 'exploration',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:58',\n 'updated_at' => '2019-03-12 06:40:58',\n ),\n 4 => \n array (\n 'id' => 4005,\n 'name' => 'crack',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:40:59',\n 'updated_at' => '2019-03-12 06:40:59',\n ),\n 5 => \n array (\n 'id' => 4006,\n 'name' => 'savage',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:41:06',\n 'updated_at' => '2019-03-12 06:41:06',\n ),\n 6 => \n array (\n 'id' => 4007,\n 'name' => 'transition',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:41:07',\n 'updated_at' => '2019-03-12 06:41:07',\n ),\n 7 => \n array (\n 'id' => 4008,\n 'name' => 'customers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:41:08',\n 'updated_at' => '2019-03-12 06:41:08',\n ),\n 8 => \n array (\n 'id' => 4009,\n 'name' => 'true love',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:41:10',\n 'updated_at' => '2019-03-12 06:41:10',\n ),\n 9 => \n array (\n 'id' => 4010,\n 'name' => 'togetherness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:41:13',\n 'updated_at' => '2019-03-12 06:41:13',\n ),\n 10 => \n array (\n 'id' => 4011,\n 'name' => 'compatibility',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:41:14',\n 'updated_at' => '2019-03-12 06:41:14',\n ),\n 11 => \n array (\n 'id' => 4012,\n 'name' => 'surroundings',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:41:16',\n 'updated_at' => '2019-03-12 06:41:16',\n ),\n 12 => \n array (\n 'id' => 4013,\n 'name' => 'thoughtful',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:41:22',\n 'updated_at' => '2019-03-12 06:41:22',\n ),\n 13 => \n array (\n 'id' => 4014,\n 'name' => 'right person',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:41:27',\n 'updated_at' => '2019-03-12 06:41:27',\n ),\n 14 => \n array (\n 'id' => 4015,\n 'name' => 'automation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:41:30',\n 'updated_at' => '2019-03-12 06:41:30',\n ),\n 15 => \n array (\n 'id' => 4016,\n 'name' => 'double',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:41:36',\n 'updated_at' => '2019-03-12 06:41:36',\n ),\n 16 => \n array (\n 'id' => 4017,\n 'name' => 'spin',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:41:39',\n 'updated_at' => '2019-03-12 06:41:39',\n ),\n 17 => \n array (\n 'id' => 4018,\n 'name' => 'weave',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:41:39',\n 'updated_at' => '2019-03-12 06:41:39',\n ),\n 18 => \n array (\n 'id' => 4019,\n 'name' => 'talented people',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:41:41',\n 'updated_at' => '2019-03-12 06:41:41',\n ),\n 19 => \n array (\n 'id' => 4020,\n 'name' => 'agriculture',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:41:46',\n 'updated_at' => '2019-03-12 06:41:46',\n ),\n 20 => \n array (\n 'id' => 4021,\n 'name' => 'manufacturing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:41:47',\n 'updated_at' => '2019-03-12 06:41:47',\n ),\n 21 => \n array (\n 'id' => 4022,\n 'name' => 'dare',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:41:50',\n 'updated_at' => '2019-03-12 06:41:50',\n ),\n 22 => \n array (\n 'id' => 4023,\n 'name' => 'being different',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:41:52',\n 'updated_at' => '2019-03-12 06:41:52',\n ),\n 23 => \n array (\n 'id' => 4024,\n 'name' => 'express',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:41:55',\n 'updated_at' => '2019-03-12 06:41:55',\n ),\n 24 => \n array (\n 'id' => 4025,\n 'name' => 'excuse',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:41:56',\n 'updated_at' => '2019-03-12 06:41:56',\n ),\n 25 => \n array (\n 'id' => 4026,\n 'name' => 'mortar',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:41:57',\n 'updated_at' => '2019-03-12 06:41:57',\n ),\n 26 => \n array (\n 'id' => 4027,\n 'name' => 'drown',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:41:57',\n 'updated_at' => '2019-03-12 06:41:57',\n ),\n 27 => \n array (\n 'id' => 4028,\n 'name' => 'spoil',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:41:57',\n 'updated_at' => '2019-03-12 06:41:57',\n ),\n 28 => \n array (\n 'id' => 4029,\n 'name' => 'milk',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:41:58',\n 'updated_at' => '2019-03-12 06:41:58',\n ),\n 29 => \n array (\n 'id' => 4030,\n 'name' => 'olive oil',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:00',\n 'updated_at' => '2019-03-12 06:42:00',\n ),\n 30 => \n array (\n 'id' => 4031,\n 'name' => 'confusion',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:02',\n 'updated_at' => '2019-03-12 06:42:02',\n ),\n 31 => \n array (\n 'id' => 4032,\n 'name' => 'intangible',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:03',\n 'updated_at' => '2019-03-12 06:42:03',\n ),\n 32 => \n array (\n 'id' => 4033,\n 'name' => 'fisherman',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:04',\n 'updated_at' => '2019-03-12 06:42:04',\n ),\n 33 => \n array (\n 'id' => 4034,\n 'name' => 'luggage',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:07',\n 'updated_at' => '2019-03-12 06:42:07',\n ),\n 34 => \n array (\n 'id' => 4035,\n 'name' => 'oak',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:10',\n 'updated_at' => '2019-03-12 06:42:10',\n ),\n 35 => \n array (\n 'id' => 4036,\n 'name' => 'confrontation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:12',\n 'updated_at' => '2019-03-12 06:42:12',\n ),\n 36 => \n array (\n 'id' => 4037,\n 'name' => 'collective',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:15',\n 'updated_at' => '2019-03-12 06:42:15',\n ),\n 37 => \n array (\n 'id' => 4038,\n 'name' => 'finished',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:16',\n 'updated_at' => '2019-03-12 06:42:16',\n ),\n 38 => \n array (\n 'id' => 4039,\n 'name' => 'disadvantage',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:22',\n 'updated_at' => '2019-03-12 06:42:22',\n ),\n 39 => \n array (\n 'id' => 4040,\n 'name' => 'italians',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:24',\n 'updated_at' => '2019-03-12 06:42:24',\n ),\n 40 => \n array (\n 'id' => 4041,\n 'name' => 'nowhere',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:25',\n 'updated_at' => '2019-03-12 06:42:25',\n ),\n 41 => \n array (\n 'id' => 4042,\n 'name' => 'seventh',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:33',\n 'updated_at' => '2019-03-12 06:42:33',\n ),\n 42 => \n array (\n 'id' => 4043,\n 'name' => 'f1',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:35',\n 'updated_at' => '2019-03-12 06:42:35',\n ),\n 43 => \n array (\n 'id' => 4044,\n 'name' => 'visibility',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:37',\n 'updated_at' => '2019-03-12 06:42:37',\n ),\n 44 => \n array (\n 'id' => 4045,\n 'name' => 'original',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:37',\n 'updated_at' => '2019-03-12 06:42:37',\n ),\n 45 => \n array (\n 'id' => 4046,\n 'name' => 'sins',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:38',\n 'updated_at' => '2019-03-12 06:42:38',\n ),\n 46 => \n array (\n 'id' => 4047,\n 'name' => 'below',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:39',\n 'updated_at' => '2019-03-12 06:42:39',\n ),\n 47 => \n array (\n 'id' => 4048,\n 'name' => 'flashback',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:41',\n 'updated_at' => '2019-03-12 06:42:41',\n ),\n 48 => \n array (\n 'id' => 4049,\n 'name' => 'coexist',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:41',\n 'updated_at' => '2019-03-12 06:42:41',\n ),\n 49 => \n array (\n 'id' => 4050,\n 'name' => 'realistic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:44',\n 'updated_at' => '2019-03-12 06:42:44',\n ),\n 50 => \n array (\n 'id' => 4051,\n 'name' => 'repugnant',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:45',\n 'updated_at' => '2019-03-12 06:42:45',\n ),\n 51 => \n array (\n 'id' => 4052,\n 'name' => 'communicate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:45',\n 'updated_at' => '2019-03-12 06:42:45',\n ),\n 52 => \n array (\n 'id' => 4053,\n 'name' => 'documents',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:47',\n 'updated_at' => '2019-03-12 06:42:47',\n ),\n 53 => \n array (\n 'id' => 4054,\n 'name' => 'courts',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:53',\n 'updated_at' => '2019-03-12 06:42:53',\n ),\n 54 => \n array (\n 'id' => 4055,\n 'name' => 'apartment',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:42:54',\n 'updated_at' => '2019-03-12 06:42:54',\n ),\n 55 => \n array (\n 'id' => 4056,\n 'name' => 'comfort zone',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:43:01',\n 'updated_at' => '2019-03-12 06:43:01',\n ),\n 56 => \n array (\n 'id' => 4057,\n 'name' => 'herd',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:43:07',\n 'updated_at' => '2019-03-12 06:43:07',\n ),\n 57 => \n array (\n 'id' => 4058,\n 'name' => 'entertain',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:43:08',\n 'updated_at' => '2019-03-12 06:43:08',\n ),\n 58 => \n array (\n 'id' => 4059,\n 'name' => 'spectator',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:43:10',\n 'updated_at' => '2019-03-12 06:43:10',\n ),\n 59 => \n array (\n 'id' => 4060,\n 'name' => 'chanel',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:43:12',\n 'updated_at' => '2019-03-12 06:43:12',\n ),\n 60 => \n array (\n 'id' => 4061,\n 'name' => 'photography',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:43:13',\n 'updated_at' => '2019-03-12 06:43:13',\n ),\n 61 => \n array (\n 'id' => 4062,\n 'name' => 'favorites',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:43:20',\n 'updated_at' => '2019-03-12 06:43:20',\n ),\n 62 => \n array (\n 'id' => 4063,\n 'name' => 'rolling',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:43:20',\n 'updated_at' => '2019-03-12 06:43:20',\n ),\n 63 => \n array (\n 'id' => 4064,\n 'name' => 'collection',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:43:21',\n 'updated_at' => '2019-03-12 06:43:21',\n ),\n 64 => \n array (\n 'id' => 4065,\n 'name' => 'gal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:43:22',\n 'updated_at' => '2019-03-12 06:43:22',\n ),\n 65 => \n array (\n 'id' => 4066,\n 'name' => 'wilderness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:43:23',\n 'updated_at' => '2019-03-12 06:43:23',\n ),\n 66 => \n array (\n 'id' => 4067,\n 'name' => 'windows',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:43:25',\n 'updated_at' => '2019-03-12 06:43:25',\n ),\n 67 => \n array (\n 'id' => 4068,\n 'name' => 'ok',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:43:27',\n 'updated_at' => '2019-03-12 06:43:27',\n ),\n 68 => \n array (\n 'id' => 4069,\n 'name' => 'while',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:43:38',\n 'updated_at' => '2019-03-12 06:43:38',\n ),\n 69 => \n array (\n 'id' => 4070,\n 'name' => 'brazil',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:43:38',\n 'updated_at' => '2019-03-12 06:43:38',\n ),\n 70 => \n array (\n 'id' => 4071,\n 'name' => 'improvisation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:43:39',\n 'updated_at' => '2019-03-12 06:43:39',\n ),\n 71 => \n array (\n 'id' => 4072,\n 'name' => 'cooperation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:43:47',\n 'updated_at' => '2019-03-12 06:43:47',\n ),\n 72 => \n array (\n 'id' => 4073,\n 'name' => 'mayor',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:43:50',\n 'updated_at' => '2019-03-12 06:43:50',\n ),\n 73 => \n array (\n 'id' => 4074,\n 'name' => 'frost',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:43:55',\n 'updated_at' => '2019-03-12 06:43:55',\n ),\n 74 => \n array (\n 'id' => 4075,\n 'name' => 'willing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:00',\n 'updated_at' => '2019-03-12 06:44:00',\n ),\n 75 => \n array (\n 'id' => 4076,\n 'name' => 'skates',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:02',\n 'updated_at' => '2019-03-12 06:44:02',\n ),\n 76 => \n array (\n 'id' => 4077,\n 'name' => 'alienation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:03',\n 'updated_at' => '2019-03-12 06:44:03',\n ),\n 77 => \n array (\n 'id' => 4078,\n 'name' => 'everything changes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:04',\n 'updated_at' => '2019-03-12 06:44:04',\n ),\n 78 => \n array (\n 'id' => 4079,\n 'name' => 'vampires',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:04',\n 'updated_at' => '2019-03-12 06:44:04',\n ),\n 79 => \n array (\n 'id' => 4080,\n 'name' => 'metaphors',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:04',\n 'updated_at' => '2019-03-12 06:44:04',\n ),\n 80 => \n array (\n 'id' => 4081,\n 'name' => 'iceberg',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:06',\n 'updated_at' => '2019-03-12 06:44:06',\n ),\n 81 => \n array (\n 'id' => 4082,\n 'name' => 'timeless',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:06',\n 'updated_at' => '2019-03-12 06:44:06',\n ),\n 82 => \n array (\n 'id' => 4083,\n 'name' => 'tap',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:06',\n 'updated_at' => '2019-03-12 06:44:06',\n ),\n 83 => \n array (\n 'id' => 4084,\n 'name' => 'progressive',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:07',\n 'updated_at' => '2019-03-12 06:44:07',\n ),\n 84 => \n array (\n 'id' => 4085,\n 'name' => 'tamed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:09',\n 'updated_at' => '2019-03-12 06:44:09',\n ),\n 85 => \n array (\n 'id' => 4086,\n 'name' => 'subdued',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:09',\n 'updated_at' => '2019-03-12 06:44:09',\n ),\n 86 => \n array (\n 'id' => 4087,\n 'name' => 'steel',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:13',\n 'updated_at' => '2019-03-12 06:44:13',\n ),\n 87 => \n array (\n 'id' => 4088,\n 'name' => 'privileged',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:15',\n 'updated_at' => '2019-03-12 06:44:15',\n ),\n 88 => \n array (\n 'id' => 4089,\n 'name' => 'two people',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:16',\n 'updated_at' => '2019-03-12 06:44:16',\n ),\n 89 => \n array (\n 'id' => 4090,\n 'name' => 'cope',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:17',\n 'updated_at' => '2019-03-12 06:44:17',\n ),\n 90 => \n array (\n 'id' => 4091,\n 'name' => 'timing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:17',\n 'updated_at' => '2019-03-12 06:44:17',\n ),\n 91 => \n array (\n 'id' => 4092,\n 'name' => 'rugged',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:17',\n 'updated_at' => '2019-03-12 06:44:17',\n ),\n 92 => \n array (\n 'id' => 4093,\n 'name' => 'outer space',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:18',\n 'updated_at' => '2019-03-12 06:44:18',\n ),\n 93 => \n array (\n 'id' => 4094,\n 'name' => 'great things',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:19',\n 'updated_at' => '2019-03-12 06:44:19',\n ),\n 94 => \n array (\n 'id' => 4095,\n 'name' => 'cities',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:21',\n 'updated_at' => '2019-03-12 06:44:21',\n ),\n 95 => \n array (\n 'id' => 4096,\n 'name' => 'nicest',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:21',\n 'updated_at' => '2019-03-12 06:44:21',\n ),\n 96 => \n array (\n 'id' => 4097,\n 'name' => 'backpack',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:23',\n 'updated_at' => '2019-03-12 06:44:23',\n ),\n 97 => \n array (\n 'id' => 4098,\n 'name' => 'gravity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:23',\n 'updated_at' => '2019-03-12 06:44:23',\n ),\n 98 => \n array (\n 'id' => 4099,\n 'name' => 'fortune',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:26',\n 'updated_at' => '2019-03-12 06:44:26',\n ),\n 99 => \n array (\n 'id' => 4100,\n 'name' => 'skill',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:26',\n 'updated_at' => '2019-03-12 06:44:26',\n ),\n 100 => \n array (\n 'id' => 4101,\n 'name' => 'shore',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:27',\n 'updated_at' => '2019-03-12 06:44:27',\n ),\n 101 => \n array (\n 'id' => 4102,\n 'name' => 'elsewhere',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:29',\n 'updated_at' => '2019-03-12 06:44:29',\n ),\n 102 => \n array (\n 'id' => 4103,\n 'name' => 'favour',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:31',\n 'updated_at' => '2019-03-12 06:44:31',\n ),\n 103 => \n array (\n 'id' => 4104,\n 'name' => 'bore',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:32',\n 'updated_at' => '2019-03-12 06:44:32',\n ),\n 104 => \n array (\n 'id' => 4105,\n 'name' => 'embarrassment',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:32',\n 'updated_at' => '2019-03-12 06:44:32',\n ),\n 105 => \n array (\n 'id' => 4106,\n 'name' => 'grass',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:32',\n 'updated_at' => '2019-03-12 06:44:32',\n ),\n 106 => \n array (\n 'id' => 4107,\n 'name' => 'resolve',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:33',\n 'updated_at' => '2019-03-12 06:44:33',\n ),\n 107 => \n array (\n 'id' => 4108,\n 'name' => 'classic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:34',\n 'updated_at' => '2019-03-12 06:44:34',\n ),\n 108 => \n array (\n 'id' => 4109,\n 'name' => 'labour',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:35',\n 'updated_at' => '2019-03-12 06:44:35',\n ),\n 109 => \n array (\n 'id' => 4110,\n 'name' => 'private',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:35',\n 'updated_at' => '2019-03-12 06:44:35',\n ),\n 110 => \n array (\n 'id' => 4111,\n 'name' => 'underestimated',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:35',\n 'updated_at' => '2019-03-12 06:44:35',\n ),\n 111 => \n array (\n 'id' => 4112,\n 'name' => 'doth',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:39',\n 'updated_at' => '2019-03-12 06:44:39',\n ),\n 112 => \n array (\n 'id' => 4113,\n 'name' => 'broadcasting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:40',\n 'updated_at' => '2019-03-12 06:44:40',\n ),\n 113 => \n array (\n 'id' => 4114,\n 'name' => 'illiterate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:44',\n 'updated_at' => '2019-03-12 06:44:44',\n ),\n 114 => \n array (\n 'id' => 4115,\n 'name' => 'repartee',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:44',\n 'updated_at' => '2019-03-12 06:44:44',\n ),\n 115 => \n array (\n 'id' => 4116,\n 'name' => 'inhuman',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:44',\n 'updated_at' => '2019-03-12 06:44:44',\n ),\n 116 => \n array (\n 'id' => 4117,\n 'name' => 'speeches',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:45',\n 'updated_at' => '2019-03-12 06:44:45',\n ),\n 117 => \n array (\n 'id' => 4118,\n 'name' => 'thinker',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:46',\n 'updated_at' => '2019-03-12 06:44:46',\n ),\n 118 => \n array (\n 'id' => 4119,\n 'name' => 'math',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:46',\n 'updated_at' => '2019-03-12 06:44:46',\n ),\n 119 => \n array (\n 'id' => 4120,\n 'name' => 'real estate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:48',\n 'updated_at' => '2019-03-12 06:44:48',\n ),\n 120 => \n array (\n 'id' => 4121,\n 'name' => 'farmer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:50',\n 'updated_at' => '2019-03-12 06:44:50',\n ),\n 121 => \n array (\n 'id' => 4122,\n 'name' => 'real thing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:53',\n 'updated_at' => '2019-03-12 06:44:53',\n ),\n 122 => \n array (\n 'id' => 4123,\n 'name' => 'kite',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:54',\n 'updated_at' => '2019-03-12 06:44:54',\n ),\n 123 => \n array (\n 'id' => 4124,\n 'name' => 'accepting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:55',\n 'updated_at' => '2019-03-12 06:44:55',\n ),\n 124 => \n array (\n 'id' => 4125,\n 'name' => 'love yourself',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:56',\n 'updated_at' => '2019-03-12 06:44:56',\n ),\n 125 => \n array (\n 'id' => 4126,\n 'name' => 'frequency',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:56',\n 'updated_at' => '2019-03-12 06:44:56',\n ),\n 126 => \n array (\n 'id' => 4127,\n 'name' => 'tuned',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:56',\n 'updated_at' => '2019-03-12 06:44:56',\n ),\n 127 => \n array (\n 'id' => 4128,\n 'name' => 'greatest gift',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:56',\n 'updated_at' => '2019-03-12 06:44:56',\n ),\n 128 => \n array (\n 'id' => 4129,\n 'name' => 'punishing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:44:58',\n 'updated_at' => '2019-03-12 06:44:58',\n ),\n 129 => \n array (\n 'id' => 4130,\n 'name' => 'says',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:02',\n 'updated_at' => '2019-03-12 06:45:02',\n ),\n 130 => \n array (\n 'id' => 4131,\n 'name' => 'paragraph',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:06',\n 'updated_at' => '2019-03-12 06:45:06',\n ),\n 131 => \n array (\n 'id' => 4132,\n 'name' => 'e-mails',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:07',\n 'updated_at' => '2019-03-12 06:45:07',\n ),\n 132 => \n array (\n 'id' => 4133,\n 'name' => 'rush',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:09',\n 'updated_at' => '2019-03-12 06:45:09',\n ),\n 133 => \n array (\n 'id' => 4134,\n 'name' => 'remembering',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:11',\n 'updated_at' => '2019-03-12 06:45:11',\n ),\n 134 => \n array (\n 'id' => 4135,\n 'name' => 'circumstance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:11',\n 'updated_at' => '2019-03-12 06:45:11',\n ),\n 135 => \n array (\n 'id' => 4136,\n 'name' => 'rifle',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:12',\n 'updated_at' => '2019-03-12 06:45:12',\n ),\n 136 => \n array (\n 'id' => 4137,\n 'name' => 'list',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:13',\n 'updated_at' => '2019-03-12 06:45:13',\n ),\n 137 => \n array (\n 'id' => 4138,\n 'name' => 'technological',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:14',\n 'updated_at' => '2019-03-12 06:45:14',\n ),\n 138 => \n array (\n 'id' => 4139,\n 'name' => 'improving',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:19',\n 'updated_at' => '2019-03-12 06:45:19',\n ),\n 139 => \n array (\n 'id' => 4140,\n 'name' => 'sadly',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:20',\n 'updated_at' => '2019-03-12 06:45:20',\n ),\n 140 => \n array (\n 'id' => 4141,\n 'name' => 'accidents',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:21',\n 'updated_at' => '2019-03-12 06:45:21',\n ),\n 141 => \n array (\n 'id' => 4142,\n 'name' => 'outsider',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:27',\n 'updated_at' => '2019-03-12 06:45:27',\n ),\n 142 => \n array (\n 'id' => 4143,\n 'name' => 'calendar',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:31',\n 'updated_at' => '2019-03-12 06:45:31',\n ),\n 143 => \n array (\n 'id' => 4144,\n 'name' => 'temple',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:34',\n 'updated_at' => '2019-03-12 06:45:34',\n ),\n 144 => \n array (\n 'id' => 4145,\n 'name' => 'aesthetic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:37',\n 'updated_at' => '2019-03-12 06:45:37',\n ),\n 145 => \n array (\n 'id' => 4146,\n 'name' => 'intimidated',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:39',\n 'updated_at' => '2019-03-12 06:45:39',\n ),\n 146 => \n array (\n 'id' => 4147,\n 'name' => 'tv show',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:43',\n 'updated_at' => '2019-03-12 06:45:43',\n ),\n 147 => \n array (\n 'id' => 4148,\n 'name' => 'happier',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:43',\n 'updated_at' => '2019-03-12 06:45:43',\n ),\n 148 => \n array (\n 'id' => 4149,\n 'name' => 'mercy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:43',\n 'updated_at' => '2019-03-12 06:45:43',\n ),\n 149 => \n array (\n 'id' => 4150,\n 'name' => 'disappointed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:44',\n 'updated_at' => '2019-03-12 06:45:44',\n ),\n 150 => \n array (\n 'id' => 4151,\n 'name' => 'cancelled',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:44',\n 'updated_at' => '2019-03-12 06:45:44',\n ),\n 151 => \n array (\n 'id' => 4152,\n 'name' => 'whites',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:44',\n 'updated_at' => '2019-03-12 06:45:44',\n ),\n 152 => \n array (\n 'id' => 4153,\n 'name' => 'hugely',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:45',\n 'updated_at' => '2019-03-12 06:45:45',\n ),\n 153 => \n array (\n 'id' => 4154,\n 'name' => 'comic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:46',\n 'updated_at' => '2019-03-12 06:45:46',\n ),\n 154 => \n array (\n 'id' => 4155,\n 'name' => 'spiders',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:47',\n 'updated_at' => '2019-03-12 06:45:47',\n ),\n 155 => \n array (\n 'id' => 4156,\n 'name' => 'poke',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:48',\n 'updated_at' => '2019-03-12 06:45:48',\n ),\n 156 => \n array (\n 'id' => 4157,\n 'name' => 'cafe',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:52',\n 'updated_at' => '2019-03-12 06:45:52',\n ),\n 157 => \n array (\n 'id' => 4158,\n 'name' => 'full-time',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:45:59',\n 'updated_at' => '2019-03-12 06:45:59',\n ),\n 158 => \n array (\n 'id' => 4159,\n 'name' => 'symphonies',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:46:16',\n 'updated_at' => '2019-03-12 06:46:16',\n ),\n 159 => \n array (\n 'id' => 4160,\n 'name' => 'shut',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:46:19',\n 'updated_at' => '2019-03-12 06:46:19',\n ),\n 160 => \n array (\n 'id' => 4161,\n 'name' => 'criminal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:46:21',\n 'updated_at' => '2019-03-12 06:46:21',\n ),\n 161 => \n array (\n 'id' => 4162,\n 'name' => 'freedom of speech',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:46:22',\n 'updated_at' => '2019-03-12 06:46:22',\n ),\n 162 => \n array (\n 'id' => 4163,\n 'name' => 'damage',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:46:23',\n 'updated_at' => '2019-03-12 06:46:23',\n ),\n 163 => \n array (\n 'id' => 4164,\n 'name' => 'candor',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:46:38',\n 'updated_at' => '2019-03-12 06:46:38',\n ),\n 164 => \n array (\n 'id' => 4165,\n 'name' => 'series',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:46:48',\n 'updated_at' => '2019-03-12 06:46:48',\n ),\n 165 => \n array (\n 'id' => 4166,\n 'name' => 'worship',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:46:49',\n 'updated_at' => '2019-03-12 06:46:49',\n ),\n 166 => \n array (\n 'id' => 4167,\n 'name' => 'anthropology',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:46:51',\n 'updated_at' => '2019-03-12 06:46:51',\n ),\n 167 => \n array (\n 'id' => 4168,\n 'name' => 'context',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:46:52',\n 'updated_at' => '2019-03-12 06:46:52',\n ),\n 168 => \n array (\n 'id' => 4169,\n 'name' => 'disregard',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:46:58',\n 'updated_at' => '2019-03-12 06:46:58',\n ),\n 169 => \n array (\n 'id' => 4170,\n 'name' => 'discussion',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:47:06',\n 'updated_at' => '2019-03-12 06:47:06',\n ),\n 170 => \n array (\n 'id' => 4171,\n 'name' => 'forbidden',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:47:07',\n 'updated_at' => '2019-03-12 06:47:07',\n ),\n 171 => \n array (\n 'id' => 4172,\n 'name' => 'folklore',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:47:08',\n 'updated_at' => '2019-03-12 06:47:08',\n ),\n 172 => \n array (\n 'id' => 4173,\n 'name' => 'outlet',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:47:09',\n 'updated_at' => '2019-03-12 06:47:09',\n ),\n 173 => \n array (\n 'id' => 4174,\n 'name' => 'principal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:47:12',\n 'updated_at' => '2019-03-12 06:47:12',\n ),\n 174 => \n array (\n 'id' => 4175,\n 'name' => 'legend',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:47:13',\n 'updated_at' => '2019-03-12 06:47:13',\n ),\n 175 => \n array (\n 'id' => 4176,\n 'name' => 'myth',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:47:14',\n 'updated_at' => '2019-03-12 06:47:14',\n ),\n 176 => \n array (\n 'id' => 4177,\n 'name' => 'superstition',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:47:14',\n 'updated_at' => '2019-03-12 06:47:14',\n ),\n 177 => \n array (\n 'id' => 4178,\n 'name' => 'atmosphere',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:47:17',\n 'updated_at' => '2019-03-12 06:47:17',\n ),\n 178 => \n array (\n 'id' => 4179,\n 'name' => 'moscow',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:47:17',\n 'updated_at' => '2019-03-12 06:47:17',\n ),\n 179 => \n array (\n 'id' => 4180,\n 'name' => 'life changes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:47:18',\n 'updated_at' => '2019-03-12 06:47:18',\n ),\n 180 => \n array (\n 'id' => 4181,\n 'name' => 'havana',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:47:27',\n 'updated_at' => '2019-03-12 06:47:27',\n ),\n 181 => \n array (\n 'id' => 4182,\n 'name' => 'mysteries',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:47:30',\n 'updated_at' => '2019-03-12 06:47:30',\n ),\n 182 => \n array (\n 'id' => 4183,\n 'name' => 'west side',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:47:37',\n 'updated_at' => '2019-03-12 06:47:37',\n ),\n 183 => \n array (\n 'id' => 4184,\n 'name' => 'heroic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:47:38',\n 'updated_at' => '2019-03-12 06:47:38',\n ),\n 184 => \n array (\n 'id' => 4185,\n 'name' => 'situations',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:47:38',\n 'updated_at' => '2019-03-12 06:47:38',\n ),\n 185 => \n array (\n 'id' => 4186,\n 'name' => 'invented',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:47:40',\n 'updated_at' => '2019-03-12 06:47:40',\n ),\n 186 => \n array (\n 'id' => 4187,\n 'name' => 'fishing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:47:56',\n 'updated_at' => '2019-03-12 06:47:56',\n ),\n 187 => \n array (\n 'id' => 4188,\n 'name' => 'loathe',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:48:09',\n 'updated_at' => '2019-03-12 06:48:09',\n ),\n 188 => \n array (\n 'id' => 4189,\n 'name' => 'crowds',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:48:10',\n 'updated_at' => '2019-03-12 06:48:10',\n ),\n 189 => \n array (\n 'id' => 4190,\n 'name' => 'complacency',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:48:32',\n 'updated_at' => '2019-03-12 06:48:32',\n ),\n 190 => \n array (\n 'id' => 4191,\n 'name' => 'lulled',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:48:32',\n 'updated_at' => '2019-03-12 06:48:32',\n ),\n 191 => \n array (\n 'id' => 4192,\n 'name' => 'life-changing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:48:36',\n 'updated_at' => '2019-03-12 06:48:36',\n ),\n 192 => \n array (\n 'id' => 4193,\n 'name' => '1960s',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:48:36',\n 'updated_at' => '2019-03-12 06:48:36',\n ),\n 193 => \n array (\n 'id' => 4194,\n 'name' => 'families',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:48:38',\n 'updated_at' => '2019-03-12 06:48:38',\n ),\n 194 => \n array (\n 'id' => 4195,\n 'name' => 'programming',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:48:43',\n 'updated_at' => '2019-03-12 06:48:43',\n ),\n 195 => \n array (\n 'id' => 4196,\n 'name' => 'weapon',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:48:43',\n 'updated_at' => '2019-03-12 06:48:43',\n ),\n 196 => \n array (\n 'id' => 4197,\n 'name' => 'anything is possible',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:48:46',\n 'updated_at' => '2019-03-12 06:48:46',\n ),\n 197 => \n array (\n 'id' => 4198,\n 'name' => 'stock market',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:48:52',\n 'updated_at' => '2019-03-12 06:48:52',\n ),\n 198 => \n array (\n 'id' => 4199,\n 'name' => 'forecast',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:48:53',\n 'updated_at' => '2019-03-12 06:48:53',\n ),\n 199 => \n array (\n 'id' => 4200,\n 'name' => 'trail',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:48:54',\n 'updated_at' => '2019-03-12 06:48:54',\n ),\n 200 => \n array (\n 'id' => 4201,\n 'name' => 'fraud',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:48:55',\n 'updated_at' => '2019-03-12 06:48:55',\n ),\n 201 => \n array (\n 'id' => 4202,\n 'name' => 'probability',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:49:03',\n 'updated_at' => '2019-03-12 06:49:03',\n ),\n 202 => \n array (\n 'id' => 4203,\n 'name' => 'misunderstood',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:49:06',\n 'updated_at' => '2019-03-12 06:49:06',\n ),\n 203 => \n array (\n 'id' => 4204,\n 'name' => 'psychologist',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:49:21',\n 'updated_at' => '2019-03-12 06:49:21',\n ),\n 204 => \n array (\n 'id' => 4205,\n 'name' => 'string',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:49:30',\n 'updated_at' => '2019-03-12 06:49:30',\n ),\n 205 => \n array (\n 'id' => 4206,\n 'name' => 'rewards',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:49:32',\n 'updated_at' => '2019-03-12 06:49:32',\n ),\n 206 => \n array (\n 'id' => 4207,\n 'name' => 'score',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:49:40',\n 'updated_at' => '2019-03-12 06:49:40',\n ),\n 207 => \n array (\n 'id' => 4208,\n 'name' => 'euro',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:49:55',\n 'updated_at' => '2019-03-12 06:49:55',\n ),\n 208 => \n array (\n 'id' => 4209,\n 'name' => 'kinds',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:50:10',\n 'updated_at' => '2019-03-12 06:50:10',\n ),\n 209 => \n array (\n 'id' => 4210,\n 'name' => 'regarded',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:50:12',\n 'updated_at' => '2019-03-12 06:50:12',\n ),\n 210 => \n array (\n 'id' => 4211,\n 'name' => 'depressing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:50:14',\n 'updated_at' => '2019-03-12 06:50:14',\n ),\n 211 => \n array (\n 'id' => 4212,\n 'name' => 'passport',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:50:21',\n 'updated_at' => '2019-03-12 06:50:21',\n ),\n 212 => \n array (\n 'id' => 4213,\n 'name' => 'pandemic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:50:24',\n 'updated_at' => '2019-03-12 06:50:24',\n ),\n 213 => \n array (\n 'id' => 4214,\n 'name' => 'pace',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:50:27',\n 'updated_at' => '2019-03-12 06:50:27',\n ),\n 214 => \n array (\n 'id' => 4215,\n 'name' => 'rail',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:50:27',\n 'updated_at' => '2019-03-12 06:50:27',\n ),\n 215 => \n array (\n 'id' => 4216,\n 'name' => 'bottom',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:50:32',\n 'updated_at' => '2019-03-12 06:50:32',\n ),\n 216 => \n array (\n 'id' => 4217,\n 'name' => 'horn',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:50:32',\n 'updated_at' => '2019-03-12 06:50:32',\n ),\n 217 => \n array (\n 'id' => 4218,\n 'name' => 'cape',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:50:32',\n 'updated_at' => '2019-03-12 06:50:32',\n ),\n 218 => \n array (\n 'id' => 4219,\n 'name' => 'frontier',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:50:35',\n 'updated_at' => '2019-03-12 06:50:35',\n ),\n 219 => \n array (\n 'id' => 4220,\n 'name' => 'mix',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:50:35',\n 'updated_at' => '2019-03-12 06:50:35',\n ),\n 220 => \n array (\n 'id' => 4221,\n 'name' => 'zone',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:50:39',\n 'updated_at' => '2019-03-12 06:50:39',\n ),\n 221 => \n array (\n 'id' => 4222,\n 'name' => 'lit',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:50:42',\n 'updated_at' => '2019-03-12 06:50:42',\n ),\n 222 => \n array (\n 'id' => 4223,\n 'name' => 'gas',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:50:42',\n 'updated_at' => '2019-03-12 06:50:42',\n ),\n 223 => \n array (\n 'id' => 4224,\n 'name' => 'good time',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:50:46',\n 'updated_at' => '2019-03-12 06:50:46',\n ),\n 224 => \n array (\n 'id' => 4225,\n 'name' => 'products',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:50:47',\n 'updated_at' => '2019-03-12 06:50:47',\n ),\n 225 => \n array (\n 'id' => 4226,\n 'name' => 'inherently',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:50:51',\n 'updated_at' => '2019-03-12 06:50:51',\n ),\n 226 => \n array (\n 'id' => 4227,\n 'name' => 'enjoying',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:51:03',\n 'updated_at' => '2019-03-12 06:51:03',\n ),\n 227 => \n array (\n 'id' => 4228,\n 'name' => 'enjoying life',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:51:03',\n 'updated_at' => '2019-03-12 06:51:03',\n ),\n 228 => \n array (\n 'id' => 4229,\n 'name' => 'coughing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:51:26',\n 'updated_at' => '2019-03-12 06:51:26',\n ),\n 229 => \n array (\n 'id' => 4230,\n 'name' => 'ailment',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:51:27',\n 'updated_at' => '2019-03-12 06:51:27',\n ),\n 230 => \n array (\n 'id' => 4231,\n 'name' => 'lack',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:51:27',\n 'updated_at' => '2019-03-12 06:51:27',\n ),\n 231 => \n array (\n 'id' => 4232,\n 'name' => 'flop',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:51:30',\n 'updated_at' => '2019-03-12 06:51:30',\n ),\n 232 => \n array (\n 'id' => 4233,\n 'name' => 'schedule',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:51:32',\n 'updated_at' => '2019-03-12 06:51:32',\n ),\n 233 => \n array (\n 'id' => 4234,\n 'name' => 'rubber',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:51:38',\n 'updated_at' => '2019-03-12 06:51:38',\n ),\n 234 => \n array (\n 'id' => 4235,\n 'name' => 'wash',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:51:41',\n 'updated_at' => '2019-03-12 06:51:41',\n ),\n 235 => \n array (\n 'id' => 4236,\n 'name' => 'staircase',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:51:45',\n 'updated_at' => '2019-03-12 06:51:45',\n ),\n 236 => \n array (\n 'id' => 4237,\n 'name' => 'iq',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:51:59',\n 'updated_at' => '2019-03-12 06:51:59',\n ),\n 237 => \n array (\n 'id' => 4238,\n 'name' => 'points',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:51:59',\n 'updated_at' => '2019-03-12 06:51:59',\n ),\n 238 => \n array (\n 'id' => 4239,\n 'name' => 'professor',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:52:17',\n 'updated_at' => '2019-03-12 06:52:17',\n ),\n 239 => \n array (\n 'id' => 4240,\n 'name' => 'bureaucracy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:52:25',\n 'updated_at' => '2019-03-12 06:52:25',\n ),\n 240 => \n array (\n 'id' => 4241,\n 'name' => 'toilet',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:52:40',\n 'updated_at' => '2019-03-12 06:52:40',\n ),\n 241 => \n array (\n 'id' => 4242,\n 'name' => 'comeback',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:52:45',\n 'updated_at' => '2019-03-12 06:52:45',\n ),\n 242 => \n array (\n 'id' => 4243,\n 'name' => 'hall',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:52:46',\n 'updated_at' => '2019-03-12 06:52:46',\n ),\n 243 => \n array (\n 'id' => 4244,\n 'name' => 'carnegie hall',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:52:47',\n 'updated_at' => '2019-03-12 06:52:47',\n ),\n 244 => \n array (\n 'id' => 4245,\n 'name' => 'ma',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:52:47',\n 'updated_at' => '2019-03-12 06:52:47',\n ),\n 245 => \n array (\n 'id' => 4246,\n 'name' => 'wit',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:52:51',\n 'updated_at' => '2019-03-12 06:52:51',\n ),\n 246 => \n array (\n 'id' => 4247,\n 'name' => 'shirley',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:52:55',\n 'updated_at' => '2019-03-12 06:52:55',\n ),\n 247 => \n array (\n 'id' => 4248,\n 'name' => 'acquire',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:53:02',\n 'updated_at' => '2019-03-12 06:53:02',\n ),\n 248 => \n array (\n 'id' => 4249,\n 'name' => 'scenery',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:53:03',\n 'updated_at' => '2019-03-12 06:53:03',\n ),\n 249 => \n array (\n 'id' => 4250,\n 'name' => 'let down',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:53:05',\n 'updated_at' => '2019-03-12 06:53:05',\n ),\n 250 => \n array (\n 'id' => 4251,\n 'name' => 'better man',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:53:10',\n 'updated_at' => '2019-03-12 06:53:10',\n ),\n 251 => \n array (\n 'id' => 4252,\n 'name' => 'beast',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:53:16',\n 'updated_at' => '2019-03-12 06:53:16',\n ),\n 252 => \n array (\n 'id' => 4253,\n 'name' => 'impress',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:53:16',\n 'updated_at' => '2019-03-12 06:53:16',\n ),\n 253 => \n array (\n 'id' => 4254,\n 'name' => 'movie star',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:53:22',\n 'updated_at' => '2019-03-12 06:53:22',\n ),\n 254 => \n array (\n 'id' => 4255,\n 'name' => 'dummy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:53:22',\n 'updated_at' => '2019-03-12 06:53:22',\n ),\n 255 => \n array (\n 'id' => 4256,\n 'name' => 'trained',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:53:23',\n 'updated_at' => '2019-03-12 06:53:23',\n ),\n 256 => \n array (\n 'id' => 4257,\n 'name' => 'alan',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:53:25',\n 'updated_at' => '2019-03-12 06:53:25',\n ),\n 257 => \n array (\n 'id' => 4258,\n 'name' => 'failing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:53:30',\n 'updated_at' => '2019-03-12 06:53:30',\n ),\n 258 => \n array (\n 'id' => 4259,\n 'name' => 'waste',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:53:31',\n 'updated_at' => '2019-03-12 06:53:31',\n ),\n 259 => \n array (\n 'id' => 4260,\n 'name' => 'priorities',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:53:31',\n 'updated_at' => '2019-03-12 06:53:31',\n ),\n 260 => \n array (\n 'id' => 4261,\n 'name' => 'rugby',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:53:38',\n 'updated_at' => '2019-03-12 06:53:38',\n ),\n 261 => \n array (\n 'id' => 4262,\n 'name' => 'referee',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:53:41',\n 'updated_at' => '2019-03-12 06:53:41',\n ),\n 262 => \n array (\n 'id' => 4263,\n 'name' => 'climate change',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:54:01',\n 'updated_at' => '2019-03-12 06:54:01',\n ),\n 263 => \n array (\n 'id' => 4264,\n 'name' => 'hong kong',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:54:06',\n 'updated_at' => '2019-03-12 06:54:06',\n ),\n 264 => \n array (\n 'id' => 4265,\n 'name' => 'influenced',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:54:07',\n 'updated_at' => '2019-03-12 06:54:07',\n ),\n 265 => \n array (\n 'id' => 4266,\n 'name' => 'establishment',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:54:08',\n 'updated_at' => '2019-03-12 06:54:08',\n ),\n 266 => \n array (\n 'id' => 4267,\n 'name' => 'cops',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:54:09',\n 'updated_at' => '2019-03-12 06:54:09',\n ),\n 267 => \n array (\n 'id' => 4268,\n 'name' => 'public trust',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:54:11',\n 'updated_at' => '2019-03-12 06:54:11',\n ),\n 268 => \n array (\n 'id' => 4269,\n 'name' => 'good day',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:54:19',\n 'updated_at' => '2019-03-12 06:54:19',\n ),\n 269 => \n array (\n 'id' => 4270,\n 'name' => 'nihilism',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:54:22',\n 'updated_at' => '2019-03-12 06:54:22',\n ),\n 270 => \n array (\n 'id' => 4271,\n 'name' => 'shaving',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:54:23',\n 'updated_at' => '2019-03-12 06:54:23',\n ),\n 271 => \n array (\n 'id' => 4272,\n 'name' => 'arisen',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:54:26',\n 'updated_at' => '2019-03-12 06:54:26',\n ),\n 272 => \n array (\n 'id' => 4273,\n 'name' => 'be true',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:54:33',\n 'updated_at' => '2019-03-12 06:54:33',\n ),\n 273 => \n array (\n 'id' => 4274,\n 'name' => 'can-do',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:54:37',\n 'updated_at' => '2019-03-12 06:54:37',\n ),\n 274 => \n array (\n 'id' => 4275,\n 'name' => 'efficiency',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:54:38',\n 'updated_at' => '2019-03-12 06:54:38',\n ),\n 275 => \n array (\n 'id' => 4276,\n 'name' => 'automobile',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:54:40',\n 'updated_at' => '2019-03-12 06:54:40',\n ),\n 276 => \n array (\n 'id' => 4277,\n 'name' => 'moved',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:54:40',\n 'updated_at' => '2019-03-12 06:54:40',\n ),\n 277 => \n array (\n 'id' => 4278,\n 'name' => 'our lives',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:54:41',\n 'updated_at' => '2019-03-12 06:54:41',\n ),\n 278 => \n array (\n 'id' => 4279,\n 'name' => 'flu',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:54:42',\n 'updated_at' => '2019-03-12 06:54:42',\n ),\n 279 => \n array (\n 'id' => 4280,\n 'name' => 'serving',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:54:44',\n 'updated_at' => '2019-03-12 06:54:44',\n ),\n 280 => \n array (\n 'id' => 4281,\n 'name' => 'efficient',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:54:49',\n 'updated_at' => '2019-03-12 06:54:49',\n ),\n 281 => \n array (\n 'id' => 4282,\n 'name' => 'contribute',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:54:53',\n 'updated_at' => '2019-03-12 06:54:53',\n ),\n 282 => \n array (\n 'id' => 4283,\n 'name' => 'transparency',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:54:56',\n 'updated_at' => '2019-03-12 06:54:56',\n ),\n 283 => \n array (\n 'id' => 4284,\n 'name' => 'no regrets',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:54:59',\n 'updated_at' => '2019-03-12 06:54:59',\n ),\n 284 => \n array (\n 'id' => 4285,\n 'name' => 'cast',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:01',\n 'updated_at' => '2019-03-12 06:55:01',\n ),\n 285 => \n array (\n 'id' => 4286,\n 'name' => 'bankers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:02',\n 'updated_at' => '2019-03-12 06:55:02',\n ),\n 286 => \n array (\n 'id' => 4287,\n 'name' => 'unemployment',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:03',\n 'updated_at' => '2019-03-12 06:55:03',\n ),\n 287 => \n array (\n 'id' => 4288,\n 'name' => 'benefits',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:03',\n 'updated_at' => '2019-03-12 06:55:03',\n ),\n 288 => \n array (\n 'id' => 4289,\n 'name' => 'black-and-white',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:09',\n 'updated_at' => '2019-03-12 06:55:09',\n ),\n 289 => \n array (\n 'id' => 4290,\n 'name' => 'death penalty',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:10',\n 'updated_at' => '2019-03-12 06:55:10',\n ),\n 290 => \n array (\n 'id' => 4291,\n 'name' => 'views',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:14',\n 'updated_at' => '2019-03-12 06:55:14',\n ),\n 291 => \n array (\n 'id' => 4292,\n 'name' => 'fascist',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:17',\n 'updated_at' => '2019-03-12 06:55:17',\n ),\n 292 => \n array (\n 'id' => 4293,\n 'name' => 'physically',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:19',\n 'updated_at' => '2019-03-12 06:55:19',\n ),\n 293 => \n array (\n 'id' => 4294,\n 'name' => 'hard job',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:19',\n 'updated_at' => '2019-03-12 06:55:19',\n ),\n 294 => \n array (\n 'id' => 4295,\n 'name' => 'echo',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:21',\n 'updated_at' => '2019-03-12 06:55:21',\n ),\n 295 => \n array (\n 'id' => 4296,\n 'name' => 'boxes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:21',\n 'updated_at' => '2019-03-12 06:55:21',\n ),\n 296 => \n array (\n 'id' => 4297,\n 'name' => 'folk',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:22',\n 'updated_at' => '2019-03-12 06:55:22',\n ),\n 297 => \n array (\n 'id' => 4298,\n 'name' => 'robotics',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:23',\n 'updated_at' => '2019-03-12 06:55:23',\n ),\n 298 => \n array (\n 'id' => 4299,\n 'name' => 'introduction',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:24',\n 'updated_at' => '2019-03-12 06:55:24',\n ),\n 299 => \n array (\n 'id' => 4300,\n 'name' => 'dark side',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:30',\n 'updated_at' => '2019-03-12 06:55:30',\n ),\n 300 => \n array (\n 'id' => 4301,\n 'name' => 'involvement',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:31',\n 'updated_at' => '2019-03-12 06:55:31',\n ),\n 301 => \n array (\n 'id' => 4302,\n 'name' => 'who am i',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:34',\n 'updated_at' => '2019-03-12 06:55:34',\n ),\n 302 => \n array (\n 'id' => 4303,\n 'name' => 'south africa',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:36',\n 'updated_at' => '2019-03-12 06:55:36',\n ),\n 303 => \n array (\n 'id' => 4304,\n 'name' => 'expedient',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:38',\n 'updated_at' => '2019-03-12 06:55:38',\n ),\n 304 => \n array (\n 'id' => 4305,\n 'name' => 'broke',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:40',\n 'updated_at' => '2019-03-12 06:55:40',\n ),\n 305 => \n array (\n 'id' => 4306,\n 'name' => 'national debt',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:43',\n 'updated_at' => '2019-03-12 06:55:43',\n ),\n 306 => \n array (\n 'id' => 4307,\n 'name' => 'seeking',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:44',\n 'updated_at' => '2019-03-12 06:55:44',\n ),\n 307 => \n array (\n 'id' => 4308,\n 'name' => 'modern art',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:48',\n 'updated_at' => '2019-03-12 06:55:48',\n ),\n 308 => \n array (\n 'id' => 4309,\n 'name' => 'first job',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:49',\n 'updated_at' => '2019-03-12 06:55:49',\n ),\n 309 => \n array (\n 'id' => 4310,\n 'name' => 'thomas',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:50',\n 'updated_at' => '2019-03-12 06:55:50',\n ),\n 310 => \n array (\n 'id' => 4311,\n 'name' => 'deficits',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:54',\n 'updated_at' => '2019-03-12 06:55:54',\n ),\n 311 => \n array (\n 'id' => 4312,\n 'name' => 'justification',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:54',\n 'updated_at' => '2019-03-12 06:55:54',\n ),\n 312 => \n array (\n 'id' => 4313,\n 'name' => 'code',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:54',\n 'updated_at' => '2019-03-12 06:55:54',\n ),\n 313 => \n array (\n 'id' => 4314,\n 'name' => 'addictive',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:56',\n 'updated_at' => '2019-03-12 06:55:56',\n ),\n 314 => \n array (\n 'id' => 4315,\n 'name' => 'investments',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:58',\n 'updated_at' => '2019-03-12 06:55:58',\n ),\n 315 => \n array (\n 'id' => 4316,\n 'name' => 'advent',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:55:59',\n 'updated_at' => '2019-03-12 06:55:59',\n ),\n 316 => \n array (\n 'id' => 4317,\n 'name' => 'venture capital',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:03',\n 'updated_at' => '2019-03-12 06:56:03',\n ),\n 317 => \n array (\n 'id' => 4318,\n 'name' => 'delivery',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:04',\n 'updated_at' => '2019-03-12 06:56:04',\n ),\n 318 => \n array (\n 'id' => 4319,\n 'name' => 'precede',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:06',\n 'updated_at' => '2019-03-12 06:56:06',\n ),\n 319 => \n array (\n 'id' => 4320,\n 'name' => 'early bird',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:08',\n 'updated_at' => '2019-03-12 06:56:08',\n ),\n 320 => \n array (\n 'id' => 4321,\n 'name' => 'works',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:09',\n 'updated_at' => '2019-03-12 06:56:09',\n ),\n 321 => \n array (\n 'id' => 4322,\n 'name' => 'computer science',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:10',\n 'updated_at' => '2019-03-12 06:56:10',\n ),\n 322 => \n array (\n 'id' => 4323,\n 'name' => 'variable',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:12',\n 'updated_at' => '2019-03-12 06:56:12',\n ),\n 323 => \n array (\n 'id' => 4324,\n 'name' => 'another',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:13',\n 'updated_at' => '2019-03-12 06:56:13',\n ),\n 324 => \n array (\n 'id' => 4325,\n 'name' => 'toast',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:15',\n 'updated_at' => '2019-03-12 06:56:15',\n ),\n 325 => \n array (\n 'id' => 4326,\n 'name' => 'programmer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:15',\n 'updated_at' => '2019-03-12 06:56:15',\n ),\n 326 => \n array (\n 'id' => 4327,\n 'name' => 'cliches',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:18',\n 'updated_at' => '2019-03-12 06:56:18',\n ),\n 327 => \n array (\n 'id' => 4328,\n 'name' => 'program',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:19',\n 'updated_at' => '2019-03-12 06:56:19',\n ),\n 328 => \n array (\n 'id' => 4329,\n 'name' => 'procedure',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:22',\n 'updated_at' => '2019-03-12 06:56:22',\n ),\n 329 => \n array (\n 'id' => 4330,\n 'name' => 'parameters',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:22',\n 'updated_at' => '2019-03-12 06:56:22',\n ),\n 330 => \n array (\n 'id' => 4331,\n 'name' => 'soap',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:25',\n 'updated_at' => '2019-03-12 06:56:25',\n ),\n 331 => \n array (\n 'id' => 4332,\n 'name' => 'vice',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:26',\n 'updated_at' => '2019-03-12 06:56:26',\n ),\n 332 => \n array (\n 'id' => 4333,\n 'name' => 'fit',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:26',\n 'updated_at' => '2019-03-12 06:56:26',\n ),\n 333 => \n array (\n 'id' => 4334,\n 'name' => 'correct',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:27',\n 'updated_at' => '2019-03-12 06:56:27',\n ),\n 334 => \n array (\n 'id' => 4335,\n 'name' => 'orphan',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:29',\n 'updated_at' => '2019-03-12 06:56:29',\n ),\n 335 => \n array (\n 'id' => 4336,\n 'name' => 'thousand',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:29',\n 'updated_at' => '2019-03-12 06:56:29',\n ),\n 336 => \n array (\n 'id' => 4337,\n 'name' => 'translate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:31',\n 'updated_at' => '2019-03-12 06:56:31',\n ),\n 337 => \n array (\n 'id' => 4338,\n 'name' => 'childlike',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:32',\n 'updated_at' => '2019-03-12 06:56:32',\n ),\n 338 => \n array (\n 'id' => 4339,\n 'name' => 'coca-cola',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:41',\n 'updated_at' => '2019-03-12 06:56:41',\n ),\n 339 => \n array (\n 'id' => 4340,\n 'name' => 'boats',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:42',\n 'updated_at' => '2019-03-12 06:56:42',\n ),\n 340 => \n array (\n 'id' => 4341,\n 'name' => 'tender',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:43',\n 'updated_at' => '2019-03-12 06:56:43',\n ),\n 341 => \n array (\n 'id' => 4342,\n 'name' => 'scent',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:44',\n 'updated_at' => '2019-03-12 06:56:44',\n ),\n 342 => \n array (\n 'id' => 4343,\n 'name' => 'indecision',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:47',\n 'updated_at' => '2019-03-12 06:56:47',\n ),\n 343 => \n array (\n 'id' => 4344,\n 'name' => 'trampoline',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:50',\n 'updated_at' => '2019-03-12 06:56:50',\n ),\n 344 => \n array (\n 'id' => 4345,\n 'name' => 'passive',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:52',\n 'updated_at' => '2019-03-12 06:56:52',\n ),\n 345 => \n array (\n 'id' => 4346,\n 'name' => 'love-hate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:56',\n 'updated_at' => '2019-03-12 06:56:56',\n ),\n 346 => \n array (\n 'id' => 4347,\n 'name' => 'idiots',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:56:57',\n 'updated_at' => '2019-03-12 06:56:57',\n ),\n 347 => \n array (\n 'id' => 4348,\n 'name' => 'thanks',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:57:00',\n 'updated_at' => '2019-03-12 06:57:00',\n ),\n 348 => \n array (\n 'id' => 4349,\n 'name' => 'nerves',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:57:02',\n 'updated_at' => '2019-03-12 06:57:02',\n ),\n 349 => \n array (\n 'id' => 4350,\n 'name' => 'leverage',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:57:13',\n 'updated_at' => '2019-03-12 06:57:13',\n ),\n 350 => \n array (\n 'id' => 4351,\n 'name' => 'fair play',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:57:13',\n 'updated_at' => '2019-03-12 06:57:13',\n ),\n 351 => \n array (\n 'id' => 4352,\n 'name' => 'little children',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:57:14',\n 'updated_at' => '2019-03-12 06:57:14',\n ),\n 352 => \n array (\n 'id' => 4353,\n 'name' => 'unions',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:57:17',\n 'updated_at' => '2019-03-12 06:57:17',\n ),\n 353 => \n array (\n 'id' => 4354,\n 'name' => 'art form',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:57:31',\n 'updated_at' => '2019-03-12 06:57:31',\n ),\n 354 => \n array (\n 'id' => 4355,\n 'name' => 'shining',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:57:55',\n 'updated_at' => '2019-03-12 06:57:55',\n ),\n 355 => \n array (\n 'id' => 4356,\n 'name' => 'fragile',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:58:05',\n 'updated_at' => '2019-03-12 06:58:05',\n ),\n 356 => \n array (\n 'id' => 4357,\n 'name' => 'redundant',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:58:07',\n 'updated_at' => '2019-03-12 06:58:07',\n ),\n 357 => \n array (\n 'id' => 4358,\n 'name' => 'duck',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:58:14',\n 'updated_at' => '2019-03-12 06:58:14',\n ),\n 358 => \n array (\n 'id' => 4359,\n 'name' => 'superpower',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:58:36',\n 'updated_at' => '2019-03-12 06:58:36',\n ),\n 359 => \n array (\n 'id' => 4360,\n 'name' => 'meme',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:58:39',\n 'updated_at' => '2019-03-12 06:58:39',\n ),\n 360 => \n array (\n 'id' => 4361,\n 'name' => 'provide',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:58:42',\n 'updated_at' => '2019-03-12 06:58:42',\n ),\n 361 => \n array (\n 'id' => 4362,\n 'name' => 'user',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:58:42',\n 'updated_at' => '2019-03-12 06:58:42',\n ),\n 362 => \n array (\n 'id' => 4363,\n 'name' => 'ultimately',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:58:43',\n 'updated_at' => '2019-03-12 06:58:43',\n ),\n 363 => \n array (\n 'id' => 4364,\n 'name' => 'images',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:59:23',\n 'updated_at' => '2019-03-12 06:59:23',\n ),\n 364 => \n array (\n 'id' => 4365,\n 'name' => 'photos',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:59:25',\n 'updated_at' => '2019-03-12 06:59:25',\n ),\n 365 => \n array (\n 'id' => 4366,\n 'name' => 'ran',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:59:50',\n 'updated_at' => '2019-03-12 06:59:50',\n ),\n 366 => \n array (\n 'id' => 4367,\n 'name' => 'photo',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:59:53',\n 'updated_at' => '2019-03-12 06:59:53',\n ),\n 367 => \n array (\n 'id' => 4368,\n 'name' => 'trophy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:59:57',\n 'updated_at' => '2019-03-12 06:59:57',\n ),\n 368 => \n array (\n 'id' => 4369,\n 'name' => 'cheer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 06:59:58',\n 'updated_at' => '2019-03-12 06:59:58',\n ),\n 369 => \n array (\n 'id' => 4370,\n 'name' => 'scoring',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:00:01',\n 'updated_at' => '2019-03-12 07:00:01',\n ),\n 370 => \n array (\n 'id' => 4371,\n 'name' => 'kick',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:00:07',\n 'updated_at' => '2019-03-12 07:00:07',\n ),\n 371 => \n array (\n 'id' => 4372,\n 'name' => 'accusation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:00:08',\n 'updated_at' => '2019-03-12 07:00:08',\n ),\n 372 => \n array (\n 'id' => 4373,\n 'name' => 'butterflies',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:00:25',\n 'updated_at' => '2019-03-12 07:00:25',\n ),\n 373 => \n array (\n 'id' => 4374,\n 'name' => 'england',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:00:26',\n 'updated_at' => '2019-03-12 07:00:26',\n ),\n 374 => \n array (\n 'id' => 4375,\n 'name' => 'tunnel',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:00:27',\n 'updated_at' => '2019-03-12 07:00:27',\n ),\n 375 => \n array (\n 'id' => 4376,\n 'name' => 'spare time',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:00:32',\n 'updated_at' => '2019-03-12 07:00:32',\n ),\n 376 => \n array (\n 'id' => 4377,\n 'name' => 'spare',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:00:33',\n 'updated_at' => '2019-03-12 07:00:33',\n ),\n 377 => \n array (\n 'id' => 4378,\n 'name' => 'regrets',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:00:42',\n 'updated_at' => '2019-03-12 07:00:42',\n ),\n 378 => \n array (\n 'id' => 4379,\n 'name' => 'recess',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:00:55',\n 'updated_at' => '2019-03-12 07:00:55',\n ),\n 379 => \n array (\n 'id' => 4380,\n 'name' => 'odds',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:01:07',\n 'updated_at' => '2019-03-12 07:01:07',\n ),\n 380 => \n array (\n 'id' => 4381,\n 'name' => 'landing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:01:10',\n 'updated_at' => '2019-03-12 07:01:10',\n ),\n 381 => \n array (\n 'id' => 4382,\n 'name' => 'challenged',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:01:11',\n 'updated_at' => '2019-03-12 07:01:11',\n ),\n 382 => \n array (\n 'id' => 4383,\n 'name' => 'cabin',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:01:12',\n 'updated_at' => '2019-03-12 07:01:12',\n ),\n 383 => \n array (\n 'id' => 4384,\n 'name' => 'excitement',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:01:13',\n 'updated_at' => '2019-03-12 07:01:13',\n ),\n 384 => \n array (\n 'id' => 4385,\n 'name' => 'extinction',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:01:35',\n 'updated_at' => '2019-03-12 07:01:35',\n ),\n 385 => \n array (\n 'id' => 4386,\n 'name' => 'championship',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:01:36',\n 'updated_at' => '2019-03-12 07:01:36',\n ),\n 386 => \n array (\n 'id' => 4387,\n 'name' => 'finals',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:01:40',\n 'updated_at' => '2019-03-12 07:01:40',\n ),\n 387 => \n array (\n 'id' => 4388,\n 'name' => 'pluto',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:01:50',\n 'updated_at' => '2019-03-12 07:01:50',\n ),\n 388 => \n array (\n 'id' => 4389,\n 'name' => 'solar',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:01:53',\n 'updated_at' => '2019-03-12 07:01:53',\n ),\n 389 => \n array (\n 'id' => 4390,\n 'name' => 'back up',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:01:56',\n 'updated_at' => '2019-03-12 07:01:56',\n ),\n 390 => \n array (\n 'id' => 4391,\n 'name' => 'mars',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:01:58',\n 'updated_at' => '2019-03-12 07:01:58',\n ),\n 391 => \n array (\n 'id' => 4392,\n 'name' => 'surface',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:02:01',\n 'updated_at' => '2019-03-12 07:02:01',\n ),\n 392 => \n array (\n 'id' => 4393,\n 'name' => 'solar system',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:02:19',\n 'updated_at' => '2019-03-12 07:02:19',\n ),\n 393 => \n array (\n 'id' => 4394,\n 'name' => 'mesmerized',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:02:22',\n 'updated_at' => '2019-03-12 07:02:22',\n ),\n 394 => \n array (\n 'id' => 4395,\n 'name' => 'printing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:02:27',\n 'updated_at' => '2019-03-12 07:02:27',\n ),\n 395 => \n array (\n 'id' => 4396,\n 'name' => 'hustling',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:02:30',\n 'updated_at' => '2019-03-12 07:02:30',\n ),\n 396 => \n array (\n 'id' => 4397,\n 'name' => 'bottle',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:02:31',\n 'updated_at' => '2019-03-12 07:02:31',\n ),\n 397 => \n array (\n 'id' => 4398,\n 'name' => 'housewife',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:02:37',\n 'updated_at' => '2019-03-12 07:02:37',\n ),\n 398 => \n array (\n 'id' => 4399,\n 'name' => 'commercial',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:02:37',\n 'updated_at' => '2019-03-12 07:02:37',\n ),\n 399 => \n array (\n 'id' => 4400,\n 'name' => 'proper',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:02:41',\n 'updated_at' => '2019-03-12 07:02:41',\n ),\n 400 => \n array (\n 'id' => 4401,\n 'name' => 'hands-on',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:02:42',\n 'updated_at' => '2019-03-12 07:02:42',\n ),\n 401 => \n array (\n 'id' => 4402,\n 'name' => 'status',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:02:47',\n 'updated_at' => '2019-03-12 07:02:47',\n ),\n 402 => \n array (\n 'id' => 4403,\n 'name' => 'staging',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:02:51',\n 'updated_at' => '2019-03-12 07:02:51',\n ),\n 403 => \n array (\n 'id' => 4404,\n 'name' => 'david',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:02:59',\n 'updated_at' => '2019-03-12 07:02:59',\n ),\n 404 => \n array (\n 'id' => 4405,\n 'name' => 'bad boy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:03:29',\n 'updated_at' => '2019-03-12 07:03:29',\n ),\n 405 => \n array (\n 'id' => 4406,\n 'name' => 'sense of humor',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:03:36',\n 'updated_at' => '2019-03-12 07:03:36',\n ),\n 406 => \n array (\n 'id' => 4407,\n 'name' => 'honeymoon',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:03:53',\n 'updated_at' => '2019-03-12 07:03:53',\n ),\n 407 => \n array (\n 'id' => 4408,\n 'name' => 'offense',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:03:59',\n 'updated_at' => '2019-03-12 07:03:59',\n ),\n 408 => \n array (\n 'id' => 4409,\n 'name' => 'casual',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:04:19',\n 'updated_at' => '2019-03-12 07:04:19',\n ),\n 409 => \n array (\n 'id' => 4410,\n 'name' => 'geeky',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:04:32',\n 'updated_at' => '2019-03-12 07:04:32',\n ),\n 410 => \n array (\n 'id' => 4411,\n 'name' => 'necessarily',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:04:38',\n 'updated_at' => '2019-03-12 07:04:38',\n ),\n 411 => \n array (\n 'id' => 4412,\n 'name' => 'improviser',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:04:40',\n 'updated_at' => '2019-03-12 07:04:40',\n ),\n 412 => \n array (\n 'id' => 4413,\n 'name' => 'pirate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:04:49',\n 'updated_at' => '2019-03-12 07:04:49',\n ),\n 413 => \n array (\n 'id' => 4414,\n 'name' => 'rogue',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:04:58',\n 'updated_at' => '2019-03-12 07:04:58',\n ),\n 414 => \n array (\n 'id' => 4415,\n 'name' => 'con',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:05:03',\n 'updated_at' => '2019-03-12 07:05:03',\n ),\n 415 => \n array (\n 'id' => 4416,\n 'name' => 'district',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:05:07',\n 'updated_at' => '2019-03-12 07:05:07',\n ),\n 416 => \n array (\n 'id' => 4417,\n 'name' => 'not interested',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:05:12',\n 'updated_at' => '2019-03-12 07:05:12',\n ),\n 417 => \n array (\n 'id' => 4418,\n 'name' => 'believing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:05:13',\n 'updated_at' => '2019-03-12 07:05:13',\n ),\n 418 => \n array (\n 'id' => 4419,\n 'name' => 'condition',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:05:14',\n 'updated_at' => '2019-03-12 07:05:14',\n ),\n 419 => \n array (\n 'id' => 4420,\n 'name' => 'equation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:05:14',\n 'updated_at' => '2019-03-12 07:05:14',\n ),\n 420 => \n array (\n 'id' => 4421,\n 'name' => 'fingerprints',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:05:22',\n 'updated_at' => '2019-03-12 07:05:22',\n ),\n 421 => \n array (\n 'id' => 4422,\n 'name' => 'holland',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:05:23',\n 'updated_at' => '2019-03-12 07:05:23',\n ),\n 422 => \n array (\n 'id' => 4423,\n 'name' => 'sculptures',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:05:24',\n 'updated_at' => '2019-03-12 07:05:24',\n ),\n 423 => \n array (\n 'id' => 4424,\n 'name' => 'getting better',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:05:32',\n 'updated_at' => '2019-03-12 07:05:32',\n ),\n 424 => \n array (\n 'id' => 4425,\n 'name' => 'classical music',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:05:36',\n 'updated_at' => '2019-03-12 07:05:36',\n ),\n 425 => \n array (\n 'id' => 4426,\n 'name' => 'phone call',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:05:42',\n 'updated_at' => '2019-03-12 07:05:42',\n ),\n 426 => \n array (\n 'id' => 4427,\n 'name' => 'youtube',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:05:47',\n 'updated_at' => '2019-03-12 07:05:47',\n ),\n 427 => \n array (\n 'id' => 4428,\n 'name' => 'sensitive',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:05:55',\n 'updated_at' => '2019-03-12 07:05:55',\n ),\n 428 => \n array (\n 'id' => 4429,\n 'name' => 'teeth',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:00',\n 'updated_at' => '2019-03-12 07:06:00',\n ),\n 429 => \n array (\n 'id' => 4430,\n 'name' => 'illusions',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:04',\n 'updated_at' => '2019-03-12 07:06:04',\n ),\n 430 => \n array (\n 'id' => 4431,\n 'name' => 'rorschach',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:06',\n 'updated_at' => '2019-03-12 07:06:06',\n ),\n 431 => \n array (\n 'id' => 4432,\n 'name' => 'identify',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:08',\n 'updated_at' => '2019-03-12 07:06:08',\n ),\n 432 => \n array (\n 'id' => 4433,\n 'name' => 'differentiation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:08',\n 'updated_at' => '2019-03-12 07:06:08',\n ),\n 433 => \n array (\n 'id' => 4434,\n 'name' => 'holding on',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:10',\n 'updated_at' => '2019-03-12 07:06:10',\n ),\n 434 => \n array (\n 'id' => 4435,\n 'name' => 'increases',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:13',\n 'updated_at' => '2019-03-12 07:06:13',\n ),\n 435 => \n array (\n 'id' => 4436,\n 'name' => 'bone',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:15',\n 'updated_at' => '2019-03-12 07:06:15',\n ),\n 436 => \n array (\n 'id' => 4437,\n 'name' => 'idle',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:17',\n 'updated_at' => '2019-03-12 07:06:17',\n ),\n 437 => \n array (\n 'id' => 4438,\n 'name' => 'marathon',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:24',\n 'updated_at' => '2019-03-12 07:06:24',\n ),\n 438 => \n array (\n 'id' => 4439,\n 'name' => 'destroyed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:25',\n 'updated_at' => '2019-03-12 07:06:25',\n ),\n 439 => \n array (\n 'id' => 4440,\n 'name' => 'bench',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:25',\n 'updated_at' => '2019-03-12 07:06:25',\n ),\n 440 => \n array (\n 'id' => 4441,\n 'name' => 'judges',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:25',\n 'updated_at' => '2019-03-12 07:06:25',\n ),\n 441 => \n array (\n 'id' => 4442,\n 'name' => 'idols',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:28',\n 'updated_at' => '2019-03-12 07:06:28',\n ),\n 442 => \n array (\n 'id' => 4443,\n 'name' => 'improve',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:32',\n 'updated_at' => '2019-03-12 07:06:32',\n ),\n 443 => \n array (\n 'id' => 4444,\n 'name' => 'pamphlet',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:32',\n 'updated_at' => '2019-03-12 07:06:32',\n ),\n 444 => \n array (\n 'id' => 4445,\n 'name' => 'compliment',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:35',\n 'updated_at' => '2019-03-12 07:06:35',\n ),\n 445 => \n array (\n 'id' => 4446,\n 'name' => 'indeed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:35',\n 'updated_at' => '2019-03-12 07:06:35',\n ),\n 446 => \n array (\n 'id' => 4447,\n 'name' => 'surfing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:37',\n 'updated_at' => '2019-03-12 07:06:37',\n ),\n 447 => \n array (\n 'id' => 4448,\n 'name' => 'people change',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:42',\n 'updated_at' => '2019-03-12 07:06:42',\n ),\n 448 => \n array (\n 'id' => 4449,\n 'name' => 'bitterness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:43',\n 'updated_at' => '2019-03-12 07:06:43',\n ),\n 449 => \n array (\n 'id' => 4450,\n 'name' => 'resentment',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:43',\n 'updated_at' => '2019-03-12 07:06:43',\n ),\n 450 => \n array (\n 'id' => 4451,\n 'name' => 'in fact',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:44',\n 'updated_at' => '2019-03-12 07:06:44',\n ),\n 451 => \n array (\n 'id' => 4452,\n 'name' => 'gracefully',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:45',\n 'updated_at' => '2019-03-12 07:06:45',\n ),\n 452 => \n array (\n 'id' => 4453,\n 'name' => 'elected',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:45',\n 'updated_at' => '2019-03-12 07:06:45',\n ),\n 453 => \n array (\n 'id' => 4454,\n 'name' => 'divorce',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:46',\n 'updated_at' => '2019-03-12 07:06:46',\n ),\n 454 => \n array (\n 'id' => 4455,\n 'name' => 'glamorous',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:50',\n 'updated_at' => '2019-03-12 07:06:50',\n ),\n 455 => \n array (\n 'id' => 4456,\n 'name' => 'marriages',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:52',\n 'updated_at' => '2019-03-12 07:06:52',\n ),\n 456 => \n array (\n 'id' => 4457,\n 'name' => 'political views',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:54',\n 'updated_at' => '2019-03-12 07:06:54',\n ),\n 457 => \n array (\n 'id' => 4458,\n 'name' => 'monster',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:55',\n 'updated_at' => '2019-03-12 07:06:55',\n ),\n 458 => \n array (\n 'id' => 4459,\n 'name' => 'fascinating',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:55',\n 'updated_at' => '2019-03-12 07:06:55',\n ),\n 459 => \n array (\n 'id' => 4460,\n 'name' => 'peace of mind',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:56',\n 'updated_at' => '2019-03-12 07:06:56',\n ),\n 460 => \n array (\n 'id' => 4461,\n 'name' => 'minutes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:06:56',\n 'updated_at' => '2019-03-12 07:06:56',\n ),\n 461 => \n array (\n 'id' => 4462,\n 'name' => 'good man',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:00',\n 'updated_at' => '2019-03-12 07:07:00',\n ),\n 462 => \n array (\n 'id' => 4463,\n 'name' => 'recommend',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:01',\n 'updated_at' => '2019-03-12 07:07:01',\n ),\n 463 => \n array (\n 'id' => 4464,\n 'name' => 'sarcasm',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:05',\n 'updated_at' => '2019-03-12 07:07:05',\n ),\n 464 => \n array (\n 'id' => 4465,\n 'name' => 'keep going',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:05',\n 'updated_at' => '2019-03-12 07:07:05',\n ),\n 465 => \n array (\n 'id' => 4466,\n 'name' => 'invention',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:08',\n 'updated_at' => '2019-03-12 07:07:08',\n ),\n 466 => \n array (\n 'id' => 4467,\n 'name' => 'plastic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:08',\n 'updated_at' => '2019-03-12 07:07:08',\n ),\n 467 => \n array (\n 'id' => 4468,\n 'name' => 'instincts',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:13',\n 'updated_at' => '2019-03-12 07:07:13',\n ),\n 468 => \n array (\n 'id' => 4469,\n 'name' => 'began',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:13',\n 'updated_at' => '2019-03-12 07:07:13',\n ),\n 469 => \n array (\n 'id' => 4470,\n 'name' => 'professionally',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:13',\n 'updated_at' => '2019-03-12 07:07:13',\n ),\n 470 => \n array (\n 'id' => 4471,\n 'name' => 'owl',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:15',\n 'updated_at' => '2019-03-12 07:07:15',\n ),\n 471 => \n array (\n 'id' => 4472,\n 'name' => 'mental illness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:22',\n 'updated_at' => '2019-03-12 07:07:22',\n ),\n 472 => \n array (\n 'id' => 4473,\n 'name' => 'happy childhood',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:23',\n 'updated_at' => '2019-03-12 07:07:23',\n ),\n 473 => \n array (\n 'id' => 4474,\n 'name' => 'highly',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:24',\n 'updated_at' => '2019-03-12 07:07:24',\n ),\n 474 => \n array (\n 'id' => 4475,\n 'name' => 'partly',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:26',\n 'updated_at' => '2019-03-12 07:07:26',\n ),\n 475 => \n array (\n 'id' => 4476,\n 'name' => 'thick',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:32',\n 'updated_at' => '2019-03-12 07:07:32',\n ),\n 476 => \n array (\n 'id' => 4477,\n 'name' => 'decline',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:33',\n 'updated_at' => '2019-03-12 07:07:33',\n ),\n 477 => \n array (\n 'id' => 4478,\n 'name' => 'cloning',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:34',\n 'updated_at' => '2019-03-12 07:07:34',\n ),\n 478 => \n array (\n 'id' => 4479,\n 'name' => 'nuclear war',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:39',\n 'updated_at' => '2019-03-12 07:07:39',\n ),\n 479 => \n array (\n 'id' => 4480,\n 'name' => 'bothered',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:39',\n 'updated_at' => '2019-03-12 07:07:39',\n ),\n 480 => \n array (\n 'id' => 4481,\n 'name' => 'threat',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:39',\n 'updated_at' => '2019-03-12 07:07:39',\n ),\n 481 => \n array (\n 'id' => 4482,\n 'name' => 'right-wing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:40',\n 'updated_at' => '2019-03-12 07:07:40',\n ),\n 482 => \n array (\n 'id' => 4483,\n 'name' => 'fond',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:40',\n 'updated_at' => '2019-03-12 07:07:40',\n ),\n 483 => \n array (\n 'id' => 4484,\n 'name' => 'employment',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:42',\n 'updated_at' => '2019-03-12 07:07:42',\n ),\n 484 => \n array (\n 'id' => 4485,\n 'name' => 'victorian',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:43',\n 'updated_at' => '2019-03-12 07:07:43',\n ),\n 485 => \n array (\n 'id' => 4486,\n 'name' => 'created',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:44',\n 'updated_at' => '2019-03-12 07:07:44',\n ),\n 486 => \n array (\n 'id' => 4487,\n 'name' => 'clinical',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:45',\n 'updated_at' => '2019-03-12 07:07:45',\n ),\n 487 => \n array (\n 'id' => 4488,\n 'name' => 'premiere',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:45',\n 'updated_at' => '2019-03-12 07:07:45',\n ),\n 488 => \n array (\n 'id' => 4489,\n 'name' => 'complaining',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:50',\n 'updated_at' => '2019-03-12 07:07:50',\n ),\n 489 => \n array (\n 'id' => 4490,\n 'name' => 'velvet',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:51',\n 'updated_at' => '2019-03-12 07:07:51',\n ),\n 490 => \n array (\n 'id' => 4491,\n 'name' => 'mighty',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:53',\n 'updated_at' => '2019-03-12 07:07:53',\n ),\n 491 => \n array (\n 'id' => 4492,\n 'name' => 'servant',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:53',\n 'updated_at' => '2019-03-12 07:07:53',\n ),\n 492 => \n array (\n 'id' => 4493,\n 'name' => 'insecure',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:54',\n 'updated_at' => '2019-03-12 07:07:54',\n ),\n 493 => \n array (\n 'id' => 4494,\n 'name' => 'upside down',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:55',\n 'updated_at' => '2019-03-12 07:07:55',\n ),\n 494 => \n array (\n 'id' => 4495,\n 'name' => 'son-in-law',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:57',\n 'updated_at' => '2019-03-12 07:07:57',\n ),\n 495 => \n array (\n 'id' => 4496,\n 'name' => 'widow',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:07:57',\n 'updated_at' => '2019-03-12 07:07:57',\n ),\n 496 => \n array (\n 'id' => 4497,\n 'name' => 'rash',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:06',\n 'updated_at' => '2019-03-12 07:08:06',\n ),\n 497 => \n array (\n 'id' => 4498,\n 'name' => 'right and wrong',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:08',\n 'updated_at' => '2019-03-12 07:08:08',\n ),\n 498 => \n array (\n 'id' => 4499,\n 'name' => 'doll',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:10',\n 'updated_at' => '2019-03-12 07:08:10',\n ),\n 499 => \n array (\n 'id' => 4500,\n 'name' => 'grasp',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:14',\n 'updated_at' => '2019-03-12 07:08:14',\n ),\n ));\n \\DB::table('tags')->insert(array (\n 0 => \n array (\n 'id' => 4501,\n 'name' => 'causes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:16',\n 'updated_at' => '2019-03-12 07:08:16',\n ),\n 1 => \n array (\n 'id' => 4502,\n 'name' => 'be thankful',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:17',\n 'updated_at' => '2019-03-12 07:08:17',\n ),\n 2 => \n array (\n 'id' => 4503,\n 'name' => 'obey',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:18',\n 'updated_at' => '2019-03-12 07:08:18',\n ),\n 3 => \n array (\n 'id' => 4504,\n 'name' => 'screwed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:19',\n 'updated_at' => '2019-03-12 07:08:19',\n ),\n 4 => \n array (\n 'id' => 4505,\n 'name' => 'sweaters',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:21',\n 'updated_at' => '2019-03-12 07:08:21',\n ),\n 5 => \n array (\n 'id' => 4506,\n 'name' => 'visit',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:21',\n 'updated_at' => '2019-03-12 07:08:21',\n ),\n 6 => \n array (\n 'id' => 4507,\n 'name' => 'kashmir',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:21',\n 'updated_at' => '2019-03-12 07:08:21',\n ),\n 7 => \n array (\n 'id' => 4508,\n 'name' => 'planting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:32',\n 'updated_at' => '2019-03-12 07:08:32',\n ),\n 8 => \n array (\n 'id' => 4509,\n 'name' => 'claiming',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:33',\n 'updated_at' => '2019-03-12 07:08:33',\n ),\n 9 => \n array (\n 'id' => 4510,\n 'name' => 'westward',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:33',\n 'updated_at' => '2019-03-12 07:08:33',\n ),\n 10 => \n array (\n 'id' => 4511,\n 'name' => 'massachusetts',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:33',\n 'updated_at' => '2019-03-12 07:08:33',\n ),\n 11 => \n array (\n 'id' => 4512,\n 'name' => 'pacific',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:33',\n 'updated_at' => '2019-03-12 07:08:33',\n ),\n 12 => \n array (\n 'id' => 4513,\n 'name' => 'labor',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:34',\n 'updated_at' => '2019-03-12 07:08:34',\n ),\n 13 => \n array (\n 'id' => 4514,\n 'name' => 'colonial',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:35',\n 'updated_at' => '2019-03-12 07:08:35',\n ),\n 14 => \n array (\n 'id' => 4515,\n 'name' => 'settlers',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:37',\n 'updated_at' => '2019-03-12 07:08:37',\n ),\n 15 => \n array (\n 'id' => 4516,\n 'name' => 'caused',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:38',\n 'updated_at' => '2019-03-12 07:08:38',\n ),\n 16 => \n array (\n 'id' => 4517,\n 'name' => 'thrown',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:38',\n 'updated_at' => '2019-03-12 07:08:38',\n ),\n 17 => \n array (\n 'id' => 4518,\n 'name' => 'colonization',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:39',\n 'updated_at' => '2019-03-12 07:08:39',\n ),\n 18 => \n array (\n 'id' => 4519,\n 'name' => 'lands',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:39',\n 'updated_at' => '2019-03-12 07:08:39',\n ),\n 19 => \n array (\n 'id' => 4520,\n 'name' => 'governing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:39',\n 'updated_at' => '2019-03-12 07:08:39',\n ),\n 20 => \n array (\n 'id' => 4521,\n 'name' => 'rivals',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:40',\n 'updated_at' => '2019-03-12 07:08:40',\n ),\n 21 => \n array (\n 'id' => 4522,\n 'name' => 'indispensable',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:42',\n 'updated_at' => '2019-03-12 07:08:42',\n ),\n 22 => \n array (\n 'id' => 4523,\n 'name' => 'orange',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:42',\n 'updated_at' => '2019-03-12 07:08:42',\n ),\n 23 => \n array (\n 'id' => 4524,\n 'name' => 'resolutions',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:43',\n 'updated_at' => '2019-03-12 07:08:43',\n ),\n 24 => \n array (\n 'id' => 4525,\n 'name' => 'leaf',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:44',\n 'updated_at' => '2019-03-12 07:08:44',\n ),\n 25 => \n array (\n 'id' => 4526,\n 'name' => 'autumn',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:45',\n 'updated_at' => '2019-03-12 07:08:45',\n ),\n 26 => \n array (\n 'id' => 4527,\n 'name' => 'bend',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:45',\n 'updated_at' => '2019-03-12 07:08:45',\n ),\n 27 => \n array (\n 'id' => 4528,\n 'name' => 'vulgar',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:52',\n 'updated_at' => '2019-03-12 07:08:52',\n ),\n 28 => \n array (\n 'id' => 4529,\n 'name' => 'inventory',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:54',\n 'updated_at' => '2019-03-12 07:08:54',\n ),\n 29 => \n array (\n 'id' => 4530,\n 'name' => 'yesterday',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:08:55',\n 'updated_at' => '2019-03-12 07:08:55',\n ),\n 30 => \n array (\n 'id' => 4531,\n 'name' => 'keep moving',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:02',\n 'updated_at' => '2019-03-12 07:09:02',\n ),\n 31 => \n array (\n 'id' => 4532,\n 'name' => 'lame',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:05',\n 'updated_at' => '2019-03-12 07:09:05',\n ),\n 32 => \n array (\n 'id' => 4533,\n 'name' => 'largely',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:13',\n 'updated_at' => '2019-03-12 07:09:13',\n ),\n 33 => \n array (\n 'id' => 4534,\n 'name' => 'manner',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:14',\n 'updated_at' => '2019-03-12 07:09:14',\n ),\n 34 => \n array (\n 'id' => 4535,\n 'name' => 'unfair',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:15',\n 'updated_at' => '2019-03-12 07:09:15',\n ),\n 35 => \n array (\n 'id' => 4536,\n 'name' => 'motives',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:16',\n 'updated_at' => '2019-03-12 07:09:16',\n ),\n 36 => \n array (\n 'id' => 4537,\n 'name' => 'self-esteem',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:19',\n 'updated_at' => '2019-03-12 07:09:19',\n ),\n 37 => \n array (\n 'id' => 4538,\n 'name' => 'psychoanalysis',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:19',\n 'updated_at' => '2019-03-12 07:09:19',\n ),\n 38 => \n array (\n 'id' => 4539,\n 'name' => 'irrational',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:20',\n 'updated_at' => '2019-03-12 07:09:20',\n ),\n 39 => \n array (\n 'id' => 4540,\n 'name' => 'unrealistic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:20',\n 'updated_at' => '2019-03-12 07:09:20',\n ),\n 40 => \n array (\n 'id' => 4541,\n 'name' => 'inefficiency',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:21',\n 'updated_at' => '2019-03-12 07:09:21',\n ),\n 41 => \n array (\n 'id' => 4542,\n 'name' => 'seat',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:22',\n 'updated_at' => '2019-03-12 07:09:22',\n ),\n 42 => \n array (\n 'id' => 4543,\n 'name' => 'saddle',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:22',\n 'updated_at' => '2019-03-12 07:09:22',\n ),\n 43 => \n array (\n 'id' => 4544,\n 'name' => 'alabama',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:23',\n 'updated_at' => '2019-03-12 07:09:23',\n ),\n 44 => \n array (\n 'id' => 4545,\n 'name' => 'enter',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:24',\n 'updated_at' => '2019-03-12 07:09:24',\n ),\n 45 => \n array (\n 'id' => 4546,\n 'name' => 'entered',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:24',\n 'updated_at' => '2019-03-12 07:09:24',\n ),\n 46 => \n array (\n 'id' => 4547,\n 'name' => 'impressed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:30',\n 'updated_at' => '2019-03-12 07:09:30',\n ),\n 47 => \n array (\n 'id' => 4548,\n 'name' => 'reckoning',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:37',\n 'updated_at' => '2019-03-12 07:09:37',\n ),\n 48 => \n array (\n 'id' => 4549,\n 'name' => 'temper',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:38',\n 'updated_at' => '2019-03-12 07:09:38',\n ),\n 49 => \n array (\n 'id' => 4550,\n 'name' => 'inherited',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:38',\n 'updated_at' => '2019-03-12 07:09:38',\n ),\n 50 => \n array (\n 'id' => 4551,\n 'name' => 'rock music',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:39',\n 'updated_at' => '2019-03-12 07:09:39',\n ),\n 51 => \n array (\n 'id' => 4552,\n 'name' => 'dot',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:42',\n 'updated_at' => '2019-03-12 07:09:42',\n ),\n 52 => \n array (\n 'id' => 4553,\n 'name' => 'beautiful woman',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:45',\n 'updated_at' => '2019-03-12 07:09:45',\n ),\n 53 => \n array (\n 'id' => 4554,\n 'name' => 'latin',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:51',\n 'updated_at' => '2019-03-12 07:09:51',\n ),\n 54 => \n array (\n 'id' => 4555,\n 'name' => '1930s',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:52',\n 'updated_at' => '2019-03-12 07:09:52',\n ),\n 55 => \n array (\n 'id' => 4556,\n 'name' => 'populist',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:52',\n 'updated_at' => '2019-03-12 07:09:52',\n ),\n 56 => \n array (\n 'id' => 4557,\n 'name' => 'troubled',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:52',\n 'updated_at' => '2019-03-12 07:09:52',\n ),\n 57 => \n array (\n 'id' => 4558,\n 'name' => 'prince',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:53',\n 'updated_at' => '2019-03-12 07:09:53',\n ),\n 58 => \n array (\n 'id' => 4559,\n 'name' => 'prepared',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:53',\n 'updated_at' => '2019-03-12 07:09:53',\n ),\n 59 => \n array (\n 'id' => 4560,\n 'name' => 'belgium',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:54',\n 'updated_at' => '2019-03-12 07:09:54',\n ),\n 60 => \n array (\n 'id' => 4561,\n 'name' => 'stomach',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:54',\n 'updated_at' => '2019-03-12 07:09:54',\n ),\n 61 => \n array (\n 'id' => 4562,\n 'name' => 'as far as',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:55',\n 'updated_at' => '2019-03-12 07:09:55',\n ),\n 62 => \n array (\n 'id' => 4563,\n 'name' => 'testimony',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:57',\n 'updated_at' => '2019-03-12 07:09:57',\n ),\n 63 => \n array (\n 'id' => 4564,\n 'name' => 'forgetting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:58',\n 'updated_at' => '2019-03-12 07:09:58',\n ),\n 64 => \n array (\n 'id' => 4565,\n 'name' => 'von',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:59',\n 'updated_at' => '2019-03-12 07:09:59',\n ),\n 65 => \n array (\n 'id' => 4566,\n 'name' => 'immortality',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:09:59',\n 'updated_at' => '2019-03-12 07:09:59',\n ),\n 66 => \n array (\n 'id' => 4567,\n 'name' => 'socialism',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:04',\n 'updated_at' => '2019-03-12 07:10:04',\n ),\n 67 => \n array (\n 'id' => 4568,\n 'name' => 'autobiography',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:06',\n 'updated_at' => '2019-03-12 07:10:06',\n ),\n 68 => \n array (\n 'id' => 4569,\n 'name' => 'precision',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:09',\n 'updated_at' => '2019-03-12 07:10:09',\n ),\n 69 => \n array (\n 'id' => 4570,\n 'name' => 'verbal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:10',\n 'updated_at' => '2019-03-12 07:10:10',\n ),\n 70 => \n array (\n 'id' => 4571,\n 'name' => 'composition',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:10',\n 'updated_at' => '2019-03-12 07:10:10',\n ),\n 71 => \n array (\n 'id' => 4572,\n 'name' => 'miniature',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:14',\n 'updated_at' => '2019-03-12 07:10:14',\n ),\n 72 => \n array (\n 'id' => 4573,\n 'name' => 'cheerful',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:17',\n 'updated_at' => '2019-03-12 07:10:17',\n ),\n 73 => \n array (\n 'id' => 4574,\n 'name' => 'dynamic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:18',\n 'updated_at' => '2019-03-12 07:10:18',\n ),\n 74 => \n array (\n 'id' => 4575,\n 'name' => 'begins',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:18',\n 'updated_at' => '2019-03-12 07:10:18',\n ),\n 75 => \n array (\n 'id' => 4576,\n 'name' => 'sovereignty',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:19',\n 'updated_at' => '2019-03-12 07:10:19',\n ),\n 76 => \n array (\n 'id' => 4577,\n 'name' => 'egg',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:27',\n 'updated_at' => '2019-03-12 07:10:27',\n ),\n 77 => \n array (\n 'id' => 4578,\n 'name' => 'st. louis',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:28',\n 'updated_at' => '2019-03-12 07:10:28',\n ),\n 78 => \n array (\n 'id' => 4579,\n 'name' => 'pitching',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:37',\n 'updated_at' => '2019-03-12 07:10:37',\n ),\n 79 => \n array (\n 'id' => 4580,\n 'name' => 'flame',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:38',\n 'updated_at' => '2019-03-12 07:10:38',\n ),\n 80 => \n array (\n 'id' => 4581,\n 'name' => 'wonderful people',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:40',\n 'updated_at' => '2019-03-12 07:10:40',\n ),\n 81 => \n array (\n 'id' => 4582,\n 'name' => 'overcome',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:41',\n 'updated_at' => '2019-03-12 07:10:41',\n ),\n 82 => \n array (\n 'id' => 4583,\n 'name' => 'devils',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:41',\n 'updated_at' => '2019-03-12 07:10:41',\n ),\n 83 => \n array (\n 'id' => 4584,\n 'name' => 'recognize',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:41',\n 'updated_at' => '2019-03-12 07:10:41',\n ),\n 84 => \n array (\n 'id' => 4585,\n 'name' => 'first step',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:42',\n 'updated_at' => '2019-03-12 07:10:42',\n ),\n 85 => \n array (\n 'id' => 4586,\n 'name' => 'reverence',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:45',\n 'updated_at' => '2019-03-12 07:10:45',\n ),\n 86 => \n array (\n 'id' => 4587,\n 'name' => 'saint',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:48',\n 'updated_at' => '2019-03-12 07:10:48',\n ),\n 87 => \n array (\n 'id' => 4588,\n 'name' => 'wherever',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:49',\n 'updated_at' => '2019-03-12 07:10:49',\n ),\n 88 => \n array (\n 'id' => 4589,\n 'name' => 'dues',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:50',\n 'updated_at' => '2019-03-12 07:10:50',\n ),\n 89 => \n array (\n 'id' => 4590,\n 'name' => 'radiation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:52',\n 'updated_at' => '2019-03-12 07:10:52',\n ),\n 90 => \n array (\n 'id' => 4591,\n 'name' => 'hydrogen',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:53',\n 'updated_at' => '2019-03-12 07:10:53',\n ),\n 91 => \n array (\n 'id' => 4592,\n 'name' => 'biological',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:54',\n 'updated_at' => '2019-03-12 07:10:54',\n ),\n 92 => \n array (\n 'id' => 4593,\n 'name' => 'maintenance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:54',\n 'updated_at' => '2019-03-12 07:10:54',\n ),\n 93 => \n array (\n 'id' => 4594,\n 'name' => 'combustion',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:10:58',\n 'updated_at' => '2019-03-12 07:10:58',\n ),\n 94 => \n array (\n 'id' => 4595,\n 'name' => 'democrats',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:11:00',\n 'updated_at' => '2019-03-12 07:11:00',\n ),\n 95 => \n array (\n 'id' => 4596,\n 'name' => 'gm',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:11:02',\n 'updated_at' => '2019-03-12 07:11:02',\n ),\n 96 => \n array (\n 'id' => 4597,\n 'name' => 'resignation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:11:08',\n 'updated_at' => '2019-03-12 07:11:08',\n ),\n 97 => \n array (\n 'id' => 4598,\n 'name' => 'terrorists',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:11:11',\n 'updated_at' => '2019-03-12 07:11:11',\n ),\n 98 => \n array (\n 'id' => 4599,\n 'name' => 'expense',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:11:11',\n 'updated_at' => '2019-03-12 07:11:11',\n ),\n 99 => \n array (\n 'id' => 4600,\n 'name' => 'imply',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:11:12',\n 'updated_at' => '2019-03-12 07:11:12',\n ),\n 100 => \n array (\n 'id' => 4601,\n 'name' => 'peru',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:11:12',\n 'updated_at' => '2019-03-12 07:11:12',\n ),\n 101 => \n array (\n 'id' => 4602,\n 'name' => 'commit',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:11:12',\n 'updated_at' => '2019-03-12 07:11:12',\n ),\n 102 => \n array (\n 'id' => 4603,\n 'name' => 'discover',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:11:16',\n 'updated_at' => '2019-03-12 07:11:16',\n ),\n 103 => \n array (\n 'id' => 4604,\n 'name' => 'obsession',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:11:22',\n 'updated_at' => '2019-03-12 07:11:22',\n ),\n 104 => \n array (\n 'id' => 4605,\n 'name' => 'candid',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:11:23',\n 'updated_at' => '2019-03-12 07:11:23',\n ),\n 105 => \n array (\n 'id' => 4606,\n 'name' => 'committee',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:11:27',\n 'updated_at' => '2019-03-12 07:11:27',\n ),\n 106 => \n array (\n 'id' => 4607,\n 'name' => 'judiciary',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:11:27',\n 'updated_at' => '2019-03-12 07:11:27',\n ),\n 107 => \n array (\n 'id' => 4608,\n 'name' => 'senate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:11:27',\n 'updated_at' => '2019-03-12 07:11:27',\n ),\n 108 => \n array (\n 'id' => 4609,\n 'name' => 'apply',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:11:29',\n 'updated_at' => '2019-03-12 07:11:29',\n ),\n 109 => \n array (\n 'id' => 4610,\n 'name' => 'determine',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:11:30',\n 'updated_at' => '2019-03-12 07:11:30',\n ),\n 110 => \n array (\n 'id' => 4611,\n 'name' => 'investigation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:11:31',\n 'updated_at' => '2019-03-12 07:11:31',\n ),\n 111 => \n array (\n 'id' => 4612,\n 'name' => 'consequences',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:11:32',\n 'updated_at' => '2019-03-12 07:11:32',\n ),\n 112 => \n array (\n 'id' => 4613,\n 'name' => 'investment',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:11:32',\n 'updated_at' => '2019-03-12 07:11:32',\n ),\n 113 => \n array (\n 'id' => 4614,\n 'name' => 'promote',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:11:38',\n 'updated_at' => '2019-03-12 07:11:38',\n ),\n 114 => \n array (\n 'id' => 4615,\n 'name' => 'real world',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:11:46',\n 'updated_at' => '2019-03-12 07:11:46',\n ),\n 115 => \n array (\n 'id' => 4616,\n 'name' => 'inheritance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:11:51',\n 'updated_at' => '2019-03-12 07:11:51',\n ),\n 116 => \n array (\n 'id' => 4617,\n 'name' => 'peek',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:11:52',\n 'updated_at' => '2019-03-12 07:11:52',\n ),\n 117 => \n array (\n 'id' => 4618,\n 'name' => 'runners',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:11:57',\n 'updated_at' => '2019-03-12 07:11:57',\n ),\n 118 => \n array (\n 'id' => 4619,\n 'name' => 'medals',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:00',\n 'updated_at' => '2019-03-12 07:12:00',\n ),\n 119 => \n array (\n 'id' => 4620,\n 'name' => 'intense',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:01',\n 'updated_at' => '2019-03-12 07:12:01',\n ),\n 120 => \n array (\n 'id' => 4621,\n 'name' => 'arrogant',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:03',\n 'updated_at' => '2019-03-12 07:12:03',\n ),\n 121 => \n array (\n 'id' => 4622,\n 'name' => 'february',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:03',\n 'updated_at' => '2019-03-12 07:12:03',\n ),\n 122 => \n array (\n 'id' => 4623,\n 'name' => 'sociology',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:09',\n 'updated_at' => '2019-03-12 07:12:09',\n ),\n 123 => \n array (\n 'id' => 4624,\n 'name' => 'sum',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:09',\n 'updated_at' => '2019-03-12 07:12:09',\n ),\n 124 => \n array (\n 'id' => 4625,\n 'name' => 'overwhelmed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:10',\n 'updated_at' => '2019-03-12 07:12:10',\n ),\n 125 => \n array (\n 'id' => 4626,\n 'name' => 'madness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:10',\n 'updated_at' => '2019-03-12 07:12:10',\n ),\n 126 => \n array (\n 'id' => 4627,\n 'name' => 'single man',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:11',\n 'updated_at' => '2019-03-12 07:12:11',\n ),\n 127 => \n array (\n 'id' => 4628,\n 'name' => 'wrath',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:16',\n 'updated_at' => '2019-03-12 07:12:16',\n ),\n 128 => \n array (\n 'id' => 4629,\n 'name' => 'religions',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:19',\n 'updated_at' => '2019-03-12 07:12:19',\n ),\n 129 => \n array (\n 'id' => 4630,\n 'name' => 'gaza',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:23',\n 'updated_at' => '2019-03-12 07:12:23',\n ),\n 130 => \n array (\n 'id' => 4631,\n 'name' => 'borders',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:24',\n 'updated_at' => '2019-03-12 07:12:24',\n ),\n 131 => \n array (\n 'id' => 4632,\n 'name' => 'middle east',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:24',\n 'updated_at' => '2019-03-12 07:12:24',\n ),\n 132 => \n array (\n 'id' => 4633,\n 'name' => 'wise men',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:28',\n 'updated_at' => '2019-03-12 07:12:28',\n ),\n 133 => \n array (\n 'id' => 4634,\n 'name' => 'athens',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:28',\n 'updated_at' => '2019-03-12 07:12:28',\n ),\n 134 => \n array (\n 'id' => 4635,\n 'name' => 'pretending',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:34',\n 'updated_at' => '2019-03-12 07:12:34',\n ),\n 135 => \n array (\n 'id' => 4636,\n 'name' => 'wrap',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:36',\n 'updated_at' => '2019-03-12 07:12:36',\n ),\n 136 => \n array (\n 'id' => 4637,\n 'name' => 'foreigner',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:40',\n 'updated_at' => '2019-03-12 07:12:40',\n ),\n 137 => \n array (\n 'id' => 4638,\n 'name' => 'respectful',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:41',\n 'updated_at' => '2019-03-12 07:12:41',\n ),\n 138 => \n array (\n 'id' => 4639,\n 'name' => 'work ethic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:46',\n 'updated_at' => '2019-03-12 07:12:46',\n ),\n 139 => \n array (\n 'id' => 4640,\n 'name' => 'slave',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:48',\n 'updated_at' => '2019-03-12 07:12:48',\n ),\n 140 => \n array (\n 'id' => 4641,\n 'name' => 'geese',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:50',\n 'updated_at' => '2019-03-12 07:12:50',\n ),\n 141 => \n array (\n 'id' => 4642,\n 'name' => 'belonging',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:51',\n 'updated_at' => '2019-03-12 07:12:51',\n ),\n 142 => \n array (\n 'id' => 4643,\n 'name' => 'cog',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:52',\n 'updated_at' => '2019-03-12 07:12:52',\n ),\n 143 => \n array (\n 'id' => 4644,\n 'name' => 'ethically',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:53',\n 'updated_at' => '2019-03-12 07:12:53',\n ),\n 144 => \n array (\n 'id' => 4645,\n 'name' => 'pragmatic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:54',\n 'updated_at' => '2019-03-12 07:12:54',\n ),\n 145 => \n array (\n 'id' => 4646,\n 'name' => 'beholder',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:12:58',\n 'updated_at' => '2019-03-12 07:12:58',\n ),\n 146 => \n array (\n 'id' => 4647,\n 'name' => 'teaches',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:00',\n 'updated_at' => '2019-03-12 07:13:00',\n ),\n 147 => \n array (\n 'id' => 4648,\n 'name' => 'ignored',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:01',\n 'updated_at' => '2019-03-12 07:13:01',\n ),\n 148 => \n array (\n 'id' => 4649,\n 'name' => 'cease',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:01',\n 'updated_at' => '2019-03-12 07:13:01',\n ),\n 149 => \n array (\n 'id' => 4650,\n 'name' => 'dull',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:02',\n 'updated_at' => '2019-03-12 07:13:02',\n ),\n 150 => \n array (\n 'id' => 4651,\n 'name' => 'every man',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:03',\n 'updated_at' => '2019-03-12 07:13:03',\n ),\n 151 => \n array (\n 'id' => 4652,\n 'name' => 'cookie',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:04',\n 'updated_at' => '2019-03-12 07:13:04',\n ),\n 152 => \n array (\n 'id' => 4653,\n 'name' => 'offended',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:06',\n 'updated_at' => '2019-03-12 07:13:06',\n ),\n 153 => \n array (\n 'id' => 4654,\n 'name' => 'yell',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:07',\n 'updated_at' => '2019-03-12 07:13:07',\n ),\n 154 => \n array (\n 'id' => 4655,\n 'name' => 'grown-ups',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:07',\n 'updated_at' => '2019-03-12 07:13:07',\n ),\n 155 => \n array (\n 'id' => 4656,\n 'name' => 'comment',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:08',\n 'updated_at' => '2019-03-12 07:13:08',\n ),\n 156 => \n array (\n 'id' => 4657,\n 'name' => 'priority',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:11',\n 'updated_at' => '2019-03-12 07:13:11',\n ),\n 157 => \n array (\n 'id' => 4658,\n 'name' => 'defend',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:11',\n 'updated_at' => '2019-03-12 07:13:11',\n ),\n 158 => \n array (\n 'id' => 4659,\n 'name' => 'ripple',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:12',\n 'updated_at' => '2019-03-12 07:13:12',\n ),\n 159 => \n array (\n 'id' => 4660,\n 'name' => 'silicon valley',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:15',\n 'updated_at' => '2019-03-12 07:13:15',\n ),\n 160 => \n array (\n 'id' => 4661,\n 'name' => 'microsoft',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:15',\n 'updated_at' => '2019-03-12 07:13:15',\n ),\n 161 => \n array (\n 'id' => 4662,\n 'name' => 'computer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:15',\n 'updated_at' => '2019-03-12 07:13:15',\n ),\n 162 => \n array (\n 'id' => 4663,\n 'name' => 'foolish',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:17',\n 'updated_at' => '2019-03-12 07:13:17',\n ),\n 163 => \n array (\n 'id' => 4664,\n 'name' => 'follows',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:18',\n 'updated_at' => '2019-03-12 07:13:18',\n ),\n 164 => \n array (\n 'id' => 4665,\n 'name' => 'camel',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:19',\n 'updated_at' => '2019-03-12 07:13:19',\n ),\n 165 => \n array (\n 'id' => 4666,\n 'name' => 'martini',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:21',\n 'updated_at' => '2019-03-12 07:13:21',\n ),\n 166 => \n array (\n 'id' => 4667,\n 'name' => 'talents',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:23',\n 'updated_at' => '2019-03-12 07:13:23',\n ),\n 167 => \n array (\n 'id' => 4668,\n 'name' => 'ordinary',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:23',\n 'updated_at' => '2019-03-12 07:13:23',\n ),\n 168 => \n array (\n 'id' => 4669,\n 'name' => 'martyrs',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:24',\n 'updated_at' => '2019-03-12 07:13:24',\n ),\n 169 => \n array (\n 'id' => 4670,\n 'name' => 'intolerance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:25',\n 'updated_at' => '2019-03-12 07:13:25',\n ),\n 170 => \n array (\n 'id' => 4671,\n 'name' => 'impotence',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:25',\n 'updated_at' => '2019-03-12 07:13:25',\n ),\n 171 => \n array (\n 'id' => 4672,\n 'name' => 'wholesome',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:27',\n 'updated_at' => '2019-03-12 07:13:27',\n ),\n 172 => \n array (\n 'id' => 4673,\n 'name' => 'faces',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:27',\n 'updated_at' => '2019-03-12 07:13:27',\n ),\n 173 => \n array (\n 'id' => 4674,\n 'name' => 'suck',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:27',\n 'updated_at' => '2019-03-12 07:13:27',\n ),\n 174 => \n array (\n 'id' => 4675,\n 'name' => 'thou',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:29',\n 'updated_at' => '2019-03-12 07:13:29',\n ),\n 175 => \n array (\n 'id' => 4676,\n 'name' => 'wilt',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:29',\n 'updated_at' => '2019-03-12 07:13:29',\n ),\n 176 => \n array (\n 'id' => 4677,\n 'name' => 'magical',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:29',\n 'updated_at' => '2019-03-12 07:13:29',\n ),\n 177 => \n array (\n 'id' => 4678,\n 'name' => 'falsehood',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:29',\n 'updated_at' => '2019-03-12 07:13:29',\n ),\n 178 => \n array (\n 'id' => 4679,\n 'name' => 'wild animals',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:31',\n 'updated_at' => '2019-03-12 07:13:31',\n ),\n 179 => \n array (\n 'id' => 4680,\n 'name' => 'rural',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:37',\n 'updated_at' => '2019-03-12 07:13:37',\n ),\n 180 => \n array (\n 'id' => 4681,\n 'name' => 'affection',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:44',\n 'updated_at' => '2019-03-12 07:13:44',\n ),\n 181 => \n array (\n 'id' => 4682,\n 'name' => 'craziness',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:47',\n 'updated_at' => '2019-03-12 07:13:47',\n ),\n 182 => \n array (\n 'id' => 4683,\n 'name' => 'individualism',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:54',\n 'updated_at' => '2019-03-12 07:13:54',\n ),\n 183 => \n array (\n 'id' => 4684,\n 'name' => 'dali',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:54',\n 'updated_at' => '2019-03-12 07:13:54',\n ),\n 184 => \n array (\n 'id' => 4685,\n 'name' => 'mona',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:55',\n 'updated_at' => '2019-03-12 07:13:55',\n ),\n 185 => \n array (\n 'id' => 4686,\n 'name' => 'prohibition',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:56',\n 'updated_at' => '2019-03-12 07:13:56',\n ),\n 186 => \n array (\n 'id' => 4687,\n 'name' => 'conscious',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:56',\n 'updated_at' => '2019-03-12 07:13:56',\n ),\n 187 => \n array (\n 'id' => 4688,\n 'name' => 'daughters',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:57',\n 'updated_at' => '2019-03-12 07:13:57',\n ),\n 188 => \n array (\n 'id' => 4689,\n 'name' => 'themselves',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:57',\n 'updated_at' => '2019-03-12 07:13:57',\n ),\n 189 => \n array (\n 'id' => 4690,\n 'name' => 'marvelous',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:58',\n 'updated_at' => '2019-03-12 07:13:58',\n ),\n 190 => \n array (\n 'id' => 4691,\n 'name' => 'sensation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:13:58',\n 'updated_at' => '2019-03-12 07:13:58',\n ),\n 191 => \n array (\n 'id' => 4692,\n 'name' => 'bag',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:14:06',\n 'updated_at' => '2019-03-12 07:14:06',\n ),\n 192 => \n array (\n 'id' => 4693,\n 'name' => 'eight',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:14:07',\n 'updated_at' => '2019-03-12 07:14:07',\n ),\n 193 => \n array (\n 'id' => 4694,\n 'name' => 'relevant',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:14:08',\n 'updated_at' => '2019-03-12 07:14:08',\n ),\n 194 => \n array (\n 'id' => 4695,\n 'name' => 'babysitting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:14:08',\n 'updated_at' => '2019-03-12 07:14:08',\n ),\n 195 => \n array (\n 'id' => 4696,\n 'name' => 'visuals',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:14:10',\n 'updated_at' => '2019-03-12 07:14:10',\n ),\n 196 => \n array (\n 'id' => 4697,\n 'name' => 'review',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:14:12',\n 'updated_at' => '2019-03-12 07:14:12',\n ),\n 197 => \n array (\n 'id' => 4698,\n 'name' => 'nonfiction',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:14:21',\n 'updated_at' => '2019-03-12 07:14:21',\n ),\n 198 => \n array (\n 'id' => 4699,\n 'name' => 'superiority',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:14:22',\n 'updated_at' => '2019-03-12 07:14:22',\n ),\n 199 => \n array (\n 'id' => 4700,\n 'name' => 'nato',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:14:31',\n 'updated_at' => '2019-03-12 07:14:31',\n ),\n 200 => \n array (\n 'id' => 4701,\n 'name' => 'eu',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:14:34',\n 'updated_at' => '2019-03-12 07:14:34',\n ),\n 201 => \n array (\n 'id' => 4702,\n 'name' => 'wanderer',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:14:40',\n 'updated_at' => '2019-03-12 07:14:40',\n ),\n 202 => \n array (\n 'id' => 4703,\n 'name' => 'drove',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:14:40',\n 'updated_at' => '2019-03-12 07:14:40',\n ),\n 203 => \n array (\n 'id' => 4704,\n 'name' => 'totalitarian',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:14:43',\n 'updated_at' => '2019-03-12 07:14:43',\n ),\n 204 => \n array (\n 'id' => 4705,\n 'name' => 'regime',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:14:43',\n 'updated_at' => '2019-03-12 07:14:43',\n ),\n 205 => \n array (\n 'id' => 4706,\n 'name' => 'contempt',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:14:44',\n 'updated_at' => '2019-03-12 07:14:44',\n ),\n 206 => \n array (\n 'id' => 4707,\n 'name' => 'forty',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:14:45',\n 'updated_at' => '2019-03-12 07:14:45',\n ),\n 207 => \n array (\n 'id' => 4708,\n 'name' => 'good and evil',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:14:51',\n 'updated_at' => '2019-03-12 07:14:51',\n ),\n 208 => \n array (\n 'id' => 4709,\n 'name' => 'concealed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:14:54',\n 'updated_at' => '2019-03-12 07:14:54',\n ),\n 209 => \n array (\n 'id' => 4710,\n 'name' => '20th century',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:14:57',\n 'updated_at' => '2019-03-12 07:14:57',\n ),\n 210 => \n array (\n 'id' => 4711,\n 'name' => 'sole',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:15:01',\n 'updated_at' => '2019-03-12 07:15:01',\n ),\n 211 => \n array (\n 'id' => 4712,\n 'name' => 'abundance',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:15:02',\n 'updated_at' => '2019-03-12 07:15:02',\n ),\n 212 => \n array (\n 'id' => 4713,\n 'name' => 'respond',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:15:03',\n 'updated_at' => '2019-03-12 07:15:03',\n ),\n 213 => \n array (\n 'id' => 4714,\n 'name' => 'violin',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:15:05',\n 'updated_at' => '2019-03-12 07:15:05',\n ),\n 214 => \n array (\n 'id' => 4715,\n 'name' => 'regular',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:15:06',\n 'updated_at' => '2019-03-12 07:15:06',\n ),\n 215 => \n array (\n 'id' => 4716,\n 'name' => 'sweets',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:15:14',\n 'updated_at' => '2019-03-12 07:15:14',\n ),\n 216 => \n array (\n 'id' => 4717,\n 'name' => 'shapes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:15:15',\n 'updated_at' => '2019-03-12 07:15:15',\n ),\n 217 => \n array (\n 'id' => 4718,\n 'name' => 'feeling good',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:15:16',\n 'updated_at' => '2019-03-12 07:15:16',\n ),\n 218 => \n array (\n 'id' => 4719,\n 'name' => 'once a week',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:15:20',\n 'updated_at' => '2019-03-12 07:15:20',\n ),\n 219 => \n array (\n 'id' => 4720,\n 'name' => 'tiny',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:15:23',\n 'updated_at' => '2019-03-12 07:15:23',\n ),\n 220 => \n array (\n 'id' => 4721,\n 'name' => 'popcorn',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:15:23',\n 'updated_at' => '2019-03-12 07:15:23',\n ),\n 221 => \n array (\n 'id' => 4722,\n 'name' => 'butt',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:15:24',\n 'updated_at' => '2019-03-12 07:15:24',\n ),\n 222 => \n array (\n 'id' => 4723,\n 'name' => 'nerds',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:15:27',\n 'updated_at' => '2019-03-12 07:15:27',\n ),\n 223 => \n array (\n 'id' => 4724,\n 'name' => 'free spirit',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:15:29',\n 'updated_at' => '2019-03-12 07:15:29',\n ),\n 224 => \n array (\n 'id' => 4725,\n 'name' => 'monaco',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:15:32',\n 'updated_at' => '2019-03-12 07:15:32',\n ),\n 225 => \n array (\n 'id' => 4726,\n 'name' => 'squad',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:15:32',\n 'updated_at' => '2019-03-12 07:15:32',\n ),\n 226 => \n array (\n 'id' => 4727,\n 'name' => 'hilarious',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:15:36',\n 'updated_at' => '2019-03-12 07:15:36',\n ),\n 227 => \n array (\n 'id' => 4728,\n 'name' => 'gucci',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:15:38',\n 'updated_at' => '2019-03-12 07:15:38',\n ),\n 228 => \n array (\n 'id' => 4729,\n 'name' => 'notes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:15:38',\n 'updated_at' => '2019-03-12 07:15:38',\n ),\n 229 => \n array (\n 'id' => 4730,\n 'name' => 'capability',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:15:46',\n 'updated_at' => '2019-03-12 07:15:46',\n ),\n 230 => \n array (\n 'id' => 4731,\n 'name' => 'bled',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:15:51',\n 'updated_at' => '2019-03-12 07:15:51',\n ),\n 231 => \n array (\n 'id' => 4732,\n 'name' => 'grown',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:15:56',\n 'updated_at' => '2019-03-12 07:15:56',\n ),\n 232 => \n array (\n 'id' => 4733,\n 'name' => 'fanatic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:15:56',\n 'updated_at' => '2019-03-12 07:15:56',\n ),\n 233 => \n array (\n 'id' => 4734,\n 'name' => 'accents',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:15:57',\n 'updated_at' => '2019-03-12 07:15:57',\n ),\n 234 => \n array (\n 'id' => 4735,\n 'name' => 'converse',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:15:59',\n 'updated_at' => '2019-03-12 07:15:59',\n ),\n 235 => \n array (\n 'id' => 4736,\n 'name' => 'internal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:16:00',\n 'updated_at' => '2019-03-12 07:16:00',\n ),\n 236 => \n array (\n 'id' => 4737,\n 'name' => 'not good enough',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:16:00',\n 'updated_at' => '2019-03-12 07:16:00',\n ),\n 237 => \n array (\n 'id' => 4738,\n 'name' => 'reminder',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:16:05',\n 'updated_at' => '2019-03-12 07:16:05',\n ),\n 238 => \n array (\n 'id' => 4739,\n 'name' => 'refugees',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:16:13',\n 'updated_at' => '2019-03-12 07:16:13',\n ),\n 239 => \n array (\n 'id' => 4740,\n 'name' => 'lots',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:16:14',\n 'updated_at' => '2019-03-12 07:16:14',\n ),\n 240 => \n array (\n 'id' => 4741,\n 'name' => 'optimism',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:16:16',\n 'updated_at' => '2019-03-12 07:16:16',\n ),\n 241 => \n array (\n 'id' => 4742,\n 'name' => 'james bond',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:16:18',\n 'updated_at' => '2019-03-12 07:16:18',\n ),\n 242 => \n array (\n 'id' => 4743,\n 'name' => 'jack',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:16:18',\n 'updated_at' => '2019-03-12 07:16:18',\n ),\n 243 => \n array (\n 'id' => 4744,\n 'name' => 'accounting',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:16:18',\n 'updated_at' => '2019-03-12 07:16:18',\n ),\n 244 => \n array (\n 'id' => 4745,\n 'name' => 'human body',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:16:19',\n 'updated_at' => '2019-03-12 07:16:19',\n ),\n 245 => \n array (\n 'id' => 4746,\n 'name' => 'trauma',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:16:19',\n 'updated_at' => '2019-03-12 07:16:19',\n ),\n 246 => \n array (\n 'id' => 4747,\n 'name' => 'fed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:16:24',\n 'updated_at' => '2019-03-12 07:16:24',\n ),\n 247 => \n array (\n 'id' => 4748,\n 'name' => 'bankruptcy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:16:25',\n 'updated_at' => '2019-03-12 07:16:25',\n ),\n 248 => \n array (\n 'id' => 4749,\n 'name' => 'anonymity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:16:29',\n 'updated_at' => '2019-03-12 07:16:29',\n ),\n 249 => \n array (\n 'id' => 4750,\n 'name' => 'breed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:16:34',\n 'updated_at' => '2019-03-12 07:16:34',\n ),\n 250 => \n array (\n 'id' => 4751,\n 'name' => 'helps',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:16:34',\n 'updated_at' => '2019-03-12 07:16:34',\n ),\n 251 => \n array (\n 'id' => 4752,\n 'name' => 'hardest',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:16:39',\n 'updated_at' => '2019-03-12 07:16:39',\n ),\n 252 => \n array (\n 'id' => 4753,\n 'name' => 'the hardest thing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:16:41',\n 'updated_at' => '2019-03-12 07:16:41',\n ),\n 253 => \n array (\n 'id' => 4754,\n 'name' => 'norms',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:16:47',\n 'updated_at' => '2019-03-12 07:16:47',\n ),\n 254 => \n array (\n 'id' => 4755,\n 'name' => 'intent',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:16:54',\n 'updated_at' => '2019-03-12 07:16:54',\n ),\n 255 => \n array (\n 'id' => 4756,\n 'name' => 'deliberately',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:16:55',\n 'updated_at' => '2019-03-12 07:16:55',\n ),\n 256 => \n array (\n 'id' => 4757,\n 'name' => 'phenomenon',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:17:33',\n 'updated_at' => '2019-03-12 07:17:33',\n ),\n 257 => \n array (\n 'id' => 4758,\n 'name' => 'convince',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:17:46',\n 'updated_at' => '2019-03-12 07:17:46',\n ),\n 258 => \n array (\n 'id' => 4759,\n 'name' => 'traitor',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:17:47',\n 'updated_at' => '2019-03-12 07:17:47',\n ),\n 259 => \n array (\n 'id' => 4760,\n 'name' => 'tolerate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:17:47',\n 'updated_at' => '2019-03-12 07:17:47',\n ),\n 260 => \n array (\n 'id' => 4761,\n 'name' => 'float',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:17:48',\n 'updated_at' => '2019-03-12 07:17:48',\n ),\n 261 => \n array (\n 'id' => 4762,\n 'name' => 'taiwan',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:17:50',\n 'updated_at' => '2019-03-12 07:17:50',\n ),\n 262 => \n array (\n 'id' => 4763,\n 'name' => 'designed',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:17:53',\n 'updated_at' => '2019-03-12 07:17:53',\n ),\n 263 => \n array (\n 'id' => 4764,\n 'name' => 'communist',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:17:58',\n 'updated_at' => '2019-03-12 07:17:58',\n ),\n 264 => \n array (\n 'id' => 4765,\n 'name' => 'atheists',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:18:02',\n 'updated_at' => '2019-03-12 07:18:02',\n ),\n 265 => \n array (\n 'id' => 4766,\n 'name' => 'chastity',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:18:05',\n 'updated_at' => '2019-03-12 07:18:05',\n ),\n 266 => \n array (\n 'id' => 4767,\n 'name' => 'meal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:18:06',\n 'updated_at' => '2019-03-12 07:18:06',\n ),\n 267 => \n array (\n 'id' => 4768,\n 'name' => 'policeman',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:18:08',\n 'updated_at' => '2019-03-12 07:18:08',\n ),\n 268 => \n array (\n 'id' => 4769,\n 'name' => 'english language',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:18:08',\n 'updated_at' => '2019-03-12 07:18:08',\n ),\n 269 => \n array (\n 'id' => 4770,\n 'name' => 'shakespeare',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:18:08',\n 'updated_at' => '2019-03-12 07:18:08',\n ),\n 270 => \n array (\n 'id' => 4771,\n 'name' => 'studies',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:18:09',\n 'updated_at' => '2019-03-12 07:18:09',\n ),\n 271 => \n array (\n 'id' => 4772,\n 'name' => 'particularly',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:18:10',\n 'updated_at' => '2019-03-12 07:18:10',\n ),\n 272 => \n array (\n 'id' => 4773,\n 'name' => 'prime',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:18:10',\n 'updated_at' => '2019-03-12 07:18:10',\n ),\n 273 => \n array (\n 'id' => 4774,\n 'name' => 'shot',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:18:15',\n 'updated_at' => '2019-03-12 07:18:15',\n ),\n 274 => \n array (\n 'id' => 4775,\n 'name' => 'nicaragua',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:18:15',\n 'updated_at' => '2019-03-12 07:18:15',\n ),\n 275 => \n array (\n 'id' => 4776,\n 'name' => 'time goes by',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:18:17',\n 'updated_at' => '2019-03-12 07:18:17',\n ),\n 276 => \n array (\n 'id' => 4777,\n 'name' => 'spanish',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:18:19',\n 'updated_at' => '2019-03-12 07:18:19',\n ),\n 277 => \n array (\n 'id' => 4778,\n 'name' => 'based',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:18:19',\n 'updated_at' => '2019-03-12 07:18:19',\n ),\n 278 => \n array (\n 'id' => 4779,\n 'name' => 'loves',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:18:23',\n 'updated_at' => '2019-03-12 07:18:23',\n ),\n 279 => \n array (\n 'id' => 4780,\n 'name' => 'smiling',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:18:25',\n 'updated_at' => '2019-03-12 07:18:25',\n ),\n 280 => \n array (\n 'id' => 4781,\n 'name' => 'applaud',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:18:42',\n 'updated_at' => '2019-03-12 07:18:42',\n ),\n 281 => \n array (\n 'id' => 4782,\n 'name' => 'draw',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:18:45',\n 'updated_at' => '2019-03-12 07:18:45',\n ),\n 282 => \n array (\n 'id' => 4783,\n 'name' => 'members',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:18:50',\n 'updated_at' => '2019-03-12 07:18:50',\n ),\n 283 => \n array (\n 'id' => 4784,\n 'name' => 'trophies',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:18:51',\n 'updated_at' => '2019-03-12 07:18:51',\n ),\n 284 => \n array (\n 'id' => 4785,\n 'name' => 'pinnacle',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:18:51',\n 'updated_at' => '2019-03-12 07:18:51',\n ),\n 285 => \n array (\n 'id' => 4786,\n 'name' => 'angles',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:18:56',\n 'updated_at' => '2019-03-12 07:18:56',\n ),\n 286 => \n array (\n 'id' => 4787,\n 'name' => 'someday',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:18:58',\n 'updated_at' => '2019-03-12 07:18:58',\n ),\n 287 => \n array (\n 'id' => 4788,\n 'name' => 'journalist',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:19:05',\n 'updated_at' => '2019-03-12 07:19:05',\n ),\n 288 => \n array (\n 'id' => 4789,\n 'name' => 'intend',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:19:06',\n 'updated_at' => '2019-03-12 07:19:06',\n ),\n 289 => \n array (\n 'id' => 4790,\n 'name' => 'attached',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:19:09',\n 'updated_at' => '2019-03-12 07:19:09',\n ),\n 290 => \n array (\n 'id' => 4791,\n 'name' => 'subversive',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:19:11',\n 'updated_at' => '2019-03-12 07:19:11',\n ),\n 291 => \n array (\n 'id' => 4792,\n 'name' => 'film school',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:19:12',\n 'updated_at' => '2019-03-12 07:19:12',\n ),\n 292 => \n array (\n 'id' => 4793,\n 'name' => 'do the right thing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:19:14',\n 'updated_at' => '2019-03-12 07:19:14',\n ),\n 293 => \n array (\n 'id' => 4794,\n 'name' => 'torture',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:19:19',\n 'updated_at' => '2019-03-12 07:19:19',\n ),\n 294 => \n array (\n 'id' => 4795,\n 'name' => 'documentaries',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:19:23',\n 'updated_at' => '2019-03-12 07:19:23',\n ),\n 295 => \n array (\n 'id' => 4796,\n 'name' => 'filmmaker',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:19:23',\n 'updated_at' => '2019-03-12 07:19:23',\n ),\n 296 => \n array (\n 'id' => 4797,\n 'name' => 'prized',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:19:37',\n 'updated_at' => '2019-03-12 07:19:37',\n ),\n 297 => \n array (\n 'id' => 4798,\n 'name' => 'knife',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:19:41',\n 'updated_at' => '2019-03-12 07:19:41',\n ),\n 298 => \n array (\n 'id' => 4799,\n 'name' => 'princess',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:19:41',\n 'updated_at' => '2019-03-12 07:19:41',\n ),\n 299 => \n array (\n 'id' => 4800,\n 'name' => 'herbs',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:19:43',\n 'updated_at' => '2019-03-12 07:19:43',\n ),\n 300 => \n array (\n 'id' => 4801,\n 'name' => 'eggs',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:19:48',\n 'updated_at' => '2019-03-12 07:19:48',\n ),\n 301 => \n array (\n 'id' => 4802,\n 'name' => 'roast',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:19:49',\n 'updated_at' => '2019-03-12 07:19:49',\n ),\n 302 => \n array (\n 'id' => 4803,\n 'name' => 'cookbook',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:19:49',\n 'updated_at' => '2019-03-12 07:19:49',\n ),\n 303 => \n array (\n 'id' => 4804,\n 'name' => 'cauliflower',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:19:51',\n 'updated_at' => '2019-03-12 07:19:51',\n ),\n 304 => \n array (\n 'id' => 4805,\n 'name' => 'spice',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:19:52',\n 'updated_at' => '2019-03-12 07:19:52',\n ),\n 305 => \n array (\n 'id' => 4806,\n 'name' => 'link',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:19:54',\n 'updated_at' => '2019-03-12 07:19:54',\n ),\n 306 => \n array (\n 'id' => 4807,\n 'name' => 'saga',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:19:57',\n 'updated_at' => '2019-03-12 07:19:57',\n ),\n 307 => \n array (\n 'id' => 4808,\n 'name' => 'bell',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:20:02',\n 'updated_at' => '2019-03-12 07:20:02',\n ),\n 308 => \n array (\n 'id' => 4809,\n 'name' => 'apples',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:20:02',\n 'updated_at' => '2019-03-12 07:20:02',\n ),\n 309 => \n array (\n 'id' => 4810,\n 'name' => 'gangster',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:20:30',\n 'updated_at' => '2019-03-12 07:20:30',\n ),\n 310 => \n array (\n 'id' => 4811,\n 'name' => 'persecuted',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:20:31',\n 'updated_at' => '2019-03-12 07:20:31',\n ),\n 311 => \n array (\n 'id' => 4812,\n 'name' => 'consumerism',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:20:35',\n 'updated_at' => '2019-03-12 07:20:35',\n ),\n 312 => \n array (\n 'id' => 4813,\n 'name' => 'cheerleader',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:20:36',\n 'updated_at' => '2019-03-12 07:20:36',\n ),\n 313 => \n array (\n 'id' => 4814,\n 'name' => 'supplements',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:20:40',\n 'updated_at' => '2019-03-12 07:20:40',\n ),\n 314 => \n array (\n 'id' => 4815,\n 'name' => 'hook',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:20:41',\n 'updated_at' => '2019-03-12 07:20:41',\n ),\n 315 => \n array (\n 'id' => 4816,\n 'name' => 'sandy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:20:41',\n 'updated_at' => '2019-03-12 07:20:41',\n ),\n 316 => \n array (\n 'id' => 4817,\n 'name' => 'synthetic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:20:41',\n 'updated_at' => '2019-03-12 07:20:41',\n ),\n 317 => \n array (\n 'id' => 4818,\n 'name' => 'mafia',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:20:43',\n 'updated_at' => '2019-03-12 07:20:43',\n ),\n 318 => \n array (\n 'id' => 4819,\n 'name' => 'adventurous',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:20:44',\n 'updated_at' => '2019-03-12 07:20:44',\n ),\n 319 => \n array (\n 'id' => 4820,\n 'name' => 'venom',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:20:44',\n 'updated_at' => '2019-03-12 07:20:44',\n ),\n 320 => \n array (\n 'id' => 4821,\n 'name' => 'wacky',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:20:45',\n 'updated_at' => '2019-03-12 07:20:45',\n ),\n 321 => \n array (\n 'id' => 4822,\n 'name' => 'beans',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:20:45',\n 'updated_at' => '2019-03-12 07:20:45',\n ),\n 322 => \n array (\n 'id' => 4823,\n 'name' => 'locker',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:20:46',\n 'updated_at' => '2019-03-12 07:20:46',\n ),\n 323 => \n array (\n 'id' => 4824,\n 'name' => 'bloody',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:20:46',\n 'updated_at' => '2019-03-12 07:20:46',\n ),\n 324 => \n array (\n 'id' => 4825,\n 'name' => 'mcdonalds',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:20:47',\n 'updated_at' => '2019-03-12 07:20:47',\n ),\n 325 => \n array (\n 'id' => 4826,\n 'name' => 'hierarchy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:20:47',\n 'updated_at' => '2019-03-12 07:20:47',\n ),\n 326 => \n array (\n 'id' => 4827,\n 'name' => 'critic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:20:51',\n 'updated_at' => '2019-03-12 07:20:51',\n ),\n 327 => \n array (\n 'id' => 4828,\n 'name' => 'attractive',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:20:55',\n 'updated_at' => '2019-03-12 07:20:55',\n ),\n 328 => \n array (\n 'id' => 4829,\n 'name' => 'fickle',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:20:55',\n 'updated_at' => '2019-03-12 07:20:55',\n ),\n 329 => \n array (\n 'id' => 4830,\n 'name' => 'pivotal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:20:59',\n 'updated_at' => '2019-03-12 07:20:59',\n ),\n 330 => \n array (\n 'id' => 4831,\n 'name' => 'rooted',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:21:03',\n 'updated_at' => '2019-03-12 07:21:03',\n ),\n 331 => \n array (\n 'id' => 4832,\n 'name' => 'muscles',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:21:05',\n 'updated_at' => '2019-03-12 07:21:05',\n ),\n 332 => \n array (\n 'id' => 4833,\n 'name' => 'cynicism',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:21:08',\n 'updated_at' => '2019-03-12 07:21:08',\n ),\n 333 => \n array (\n 'id' => 4834,\n 'name' => 'british',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:21:08',\n 'updated_at' => '2019-03-12 07:21:08',\n ),\n 334 => \n array (\n 'id' => 4835,\n 'name' => 'patronizing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:21:08',\n 'updated_at' => '2019-03-12 07:21:08',\n ),\n 335 => \n array (\n 'id' => 4836,\n 'name' => 'offering',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:21:14',\n 'updated_at' => '2019-03-12 07:21:14',\n ),\n 336 => \n array (\n 'id' => 4837,\n 'name' => 'welsh',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:21:17',\n 'updated_at' => '2019-03-12 07:21:17',\n ),\n 337 => \n array (\n 'id' => 4838,\n 'name' => 'ipad',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:21:17',\n 'updated_at' => '2019-03-12 07:21:17',\n ),\n 338 => \n array (\n 'id' => 4839,\n 'name' => 'levels',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:21:19',\n 'updated_at' => '2019-03-12 07:21:19',\n ),\n 339 => \n array (\n 'id' => 4840,\n 'name' => 'guitarist',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:21:30',\n 'updated_at' => '2019-03-12 07:21:30',\n ),\n 340 => \n array (\n 'id' => 4841,\n 'name' => 'climber',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:21:38',\n 'updated_at' => '2019-03-12 07:21:38',\n ),\n 341 => \n array (\n 'id' => 4842,\n 'name' => 'vine',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:21:40',\n 'updated_at' => '2019-03-12 07:21:40',\n ),\n 342 => \n array (\n 'id' => 4843,\n 'name' => 'wither',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:21:40',\n 'updated_at' => '2019-03-12 07:21:40',\n ),\n 343 => \n array (\n 'id' => 4844,\n 'name' => 'culmination',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:21:40',\n 'updated_at' => '2019-03-12 07:21:40',\n ),\n 344 => \n array (\n 'id' => 4845,\n 'name' => 'doing good',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:21:42',\n 'updated_at' => '2019-03-12 07:21:42',\n ),\n 345 => \n array (\n 'id' => 4846,\n 'name' => 'species',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:21:47',\n 'updated_at' => '2019-03-12 07:21:47',\n ),\n 346 => \n array (\n 'id' => 4847,\n 'name' => 'tease',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:21:48',\n 'updated_at' => '2019-03-12 07:21:48',\n ),\n 347 => \n array (\n 'id' => 4848,\n 'name' => 'practical',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:21:49',\n 'updated_at' => '2019-03-12 07:21:49',\n ),\n 348 => \n array (\n 'id' => 4849,\n 'name' => 'homophobic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:21:49',\n 'updated_at' => '2019-03-12 07:21:49',\n ),\n 349 => \n array (\n 'id' => 4850,\n 'name' => 'immortal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:21:51',\n 'updated_at' => '2019-03-12 07:21:51',\n ),\n 350 => \n array (\n 'id' => 4851,\n 'name' => 'goalkeeper',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:22:13',\n 'updated_at' => '2019-03-12 07:22:13',\n ),\n 351 => \n array (\n 'id' => 4852,\n 'name' => 'secretary',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:22:33',\n 'updated_at' => '2019-03-12 07:22:33',\n ),\n 352 => \n array (\n 'id' => 4853,\n 'name' => 'boston',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:22:39',\n 'updated_at' => '2019-03-12 07:22:39',\n ),\n 353 => \n array (\n 'id' => 4854,\n 'name' => 'soviet',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:22:50',\n 'updated_at' => '2019-03-12 07:22:50',\n ),\n 354 => \n array (\n 'id' => 4855,\n 'name' => 'box office',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:22:53',\n 'updated_at' => '2019-03-12 07:22:53',\n ),\n 355 => \n array (\n 'id' => 4856,\n 'name' => 'radical',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:22:55',\n 'updated_at' => '2019-03-12 07:22:55',\n ),\n 356 => \n array (\n 'id' => 4857,\n 'name' => 'relate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:22:55',\n 'updated_at' => '2019-03-12 07:22:55',\n ),\n 357 => \n array (\n 'id' => 4858,\n 'name' => 'scores',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:22:55',\n 'updated_at' => '2019-03-12 07:22:55',\n ),\n 358 => \n array (\n 'id' => 4859,\n 'name' => 'composing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:22:56',\n 'updated_at' => '2019-03-12 07:22:56',\n ),\n 359 => \n array (\n 'id' => 4860,\n 'name' => 'kazan',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:22:56',\n 'updated_at' => '2019-03-12 07:22:56',\n ),\n 360 => \n array (\n 'id' => 4861,\n 'name' => 'giving back',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:22:57',\n 'updated_at' => '2019-03-12 07:22:57',\n ),\n 361 => \n array (\n 'id' => 4862,\n 'name' => 'goose',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:23:03',\n 'updated_at' => '2019-03-12 07:23:03',\n ),\n 362 => \n array (\n 'id' => 4863,\n 'name' => 'trout',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:23:09',\n 'updated_at' => '2019-03-12 07:23:09',\n ),\n 363 => \n array (\n 'id' => 4864,\n 'name' => 'mail',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:23:13',\n 'updated_at' => '2019-03-12 07:23:13',\n ),\n 364 => \n array (\n 'id' => 4865,\n 'name' => 'underwear',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:23:13',\n 'updated_at' => '2019-03-12 07:23:13',\n ),\n 365 => \n array (\n 'id' => 4866,\n 'name' => 'vaccines',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:23:14',\n 'updated_at' => '2019-03-12 07:23:14',\n ),\n 366 => \n array (\n 'id' => 4867,\n 'name' => 'minnesota',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:23:16',\n 'updated_at' => '2019-03-12 07:23:16',\n ),\n 367 => \n array (\n 'id' => 4868,\n 'name' => 'liberals',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:23:16',\n 'updated_at' => '2019-03-12 07:23:16',\n ),\n 368 => \n array (\n 'id' => 4869,\n 'name' => 'earned',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:23:17',\n 'updated_at' => '2019-03-12 07:23:17',\n ),\n 369 => \n array (\n 'id' => 4870,\n 'name' => 'organized',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:23:20',\n 'updated_at' => '2019-03-12 07:23:20',\n ),\n 370 => \n array (\n 'id' => 4871,\n 'name' => 'applause',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:23:20',\n 'updated_at' => '2019-03-12 07:23:20',\n ),\n 371 => \n array (\n 'id' => 4872,\n 'name' => 'traveling',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:23:26',\n 'updated_at' => '2019-03-12 07:23:26',\n ),\n 372 => \n array (\n 'id' => 4873,\n 'name' => 'planes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:23:27',\n 'updated_at' => '2019-03-12 07:23:27',\n ),\n 373 => \n array (\n 'id' => 4874,\n 'name' => 'post office',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:23:34',\n 'updated_at' => '2019-03-12 07:23:34',\n ),\n 374 => \n array (\n 'id' => 4875,\n 'name' => 'post',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:23:34',\n 'updated_at' => '2019-03-12 07:23:34',\n ),\n 375 => \n array (\n 'id' => 4876,\n 'name' => 'peter',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:23:41',\n 'updated_at' => '2019-03-12 07:23:41',\n ),\n 376 => \n array (\n 'id' => 4877,\n 'name' => 'red sox',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:23:44',\n 'updated_at' => '2019-03-12 07:23:44',\n ),\n 377 => \n array (\n 'id' => 4878,\n 'name' => 'humbled',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:23:56',\n 'updated_at' => '2019-03-12 07:23:56',\n ),\n 378 => \n array (\n 'id' => 4879,\n 'name' => 'reception',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:23:56',\n 'updated_at' => '2019-03-12 07:23:56',\n ),\n 379 => \n array (\n 'id' => 4880,\n 'name' => 'play baseball',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:23:58',\n 'updated_at' => '2019-03-12 07:23:58',\n ),\n 380 => \n array (\n 'id' => 4881,\n 'name' => 'guts',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:23:58',\n 'updated_at' => '2019-03-12 07:23:58',\n ),\n 381 => \n array (\n 'id' => 4882,\n 'name' => 'babe',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:23:59',\n 'updated_at' => '2019-03-12 07:23:59',\n ),\n 382 => \n array (\n 'id' => 4883,\n 'name' => 'ruth',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:23:59',\n 'updated_at' => '2019-03-12 07:23:59',\n ),\n 383 => \n array (\n 'id' => 4884,\n 'name' => 'hispanic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:01',\n 'updated_at' => '2019-03-12 07:24:01',\n ),\n 384 => \n array (\n 'id' => 4885,\n 'name' => 'scholarship',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:04',\n 'updated_at' => '2019-03-12 07:24:04',\n ),\n 385 => \n array (\n 'id' => 4886,\n 'name' => 'entire life',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:05',\n 'updated_at' => '2019-03-12 07:24:05',\n ),\n 386 => \n array (\n 'id' => 4887,\n 'name' => 'judgmental',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:06',\n 'updated_at' => '2019-03-12 07:24:06',\n ),\n 387 => \n array (\n 'id' => 4888,\n 'name' => 'drawn',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:08',\n 'updated_at' => '2019-03-12 07:24:08',\n ),\n 388 => \n array (\n 'id' => 4889,\n 'name' => 'york',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:11',\n 'updated_at' => '2019-03-12 07:24:11',\n ),\n 389 => \n array (\n 'id' => 4890,\n 'name' => 'decade',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:12',\n 'updated_at' => '2019-03-12 07:24:12',\n ),\n 390 => \n array (\n 'id' => 4891,\n 'name' => 'closure',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:13',\n 'updated_at' => '2019-03-12 07:24:13',\n ),\n 391 => \n array (\n 'id' => 4892,\n 'name' => 'compensation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:13',\n 'updated_at' => '2019-03-12 07:24:13',\n ),\n 392 => \n array (\n 'id' => 4893,\n 'name' => 'travels',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:15',\n 'updated_at' => '2019-03-12 07:24:15',\n ),\n 393 => \n array (\n 'id' => 4894,\n 'name' => 'continents',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:15',\n 'updated_at' => '2019-03-12 07:24:15',\n ),\n 394 => \n array (\n 'id' => 4895,\n 'name' => 'encountered',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:15',\n 'updated_at' => '2019-03-12 07:24:15',\n ),\n 395 => \n array (\n 'id' => 4896,\n 'name' => 'dispose',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:21',\n 'updated_at' => '2019-03-12 07:24:21',\n ),\n 396 => \n array (\n 'id' => 4897,\n 'name' => 'plumbing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:22',\n 'updated_at' => '2019-03-12 07:24:22',\n ),\n 397 => \n array (\n 'id' => 4898,\n 'name' => 'self-confidence',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:25',\n 'updated_at' => '2019-03-12 07:24:25',\n ),\n 398 => \n array (\n 'id' => 4899,\n 'name' => 'good times',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:26',\n 'updated_at' => '2019-03-12 07:24:26',\n ),\n 399 => \n array (\n 'id' => 4900,\n 'name' => 'responses',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:27',\n 'updated_at' => '2019-03-12 07:24:27',\n ),\n 400 => \n array (\n 'id' => 4901,\n 'name' => 'emails',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:29',\n 'updated_at' => '2019-03-12 07:24:29',\n ),\n 401 => \n array (\n 'id' => 4902,\n 'name' => 'trustworthy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:31',\n 'updated_at' => '2019-03-12 07:24:31',\n ),\n 402 => \n array (\n 'id' => 4903,\n 'name' => 'tough times',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:38',\n 'updated_at' => '2019-03-12 07:24:38',\n ),\n 403 => \n array (\n 'id' => 4904,\n 'name' => 'transportation',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:41',\n 'updated_at' => '2019-03-12 07:24:41',\n ),\n 404 => \n array (\n 'id' => 4905,\n 'name' => 'activism',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:46',\n 'updated_at' => '2019-03-12 07:24:46',\n ),\n 405 => \n array (\n 'id' => 4906,\n 'name' => 'innovate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:51',\n 'updated_at' => '2019-03-12 07:24:51',\n ),\n 406 => \n array (\n 'id' => 4907,\n 'name' => 'classroom',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:51',\n 'updated_at' => '2019-03-12 07:24:51',\n ),\n 407 => \n array (\n 'id' => 4908,\n 'name' => 'larger',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:51',\n 'updated_at' => '2019-03-12 07:24:51',\n ),\n 408 => \n array (\n 'id' => 4909,\n 'name' => 'well-educated',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:56',\n 'updated_at' => '2019-03-12 07:24:56',\n ),\n 409 => \n array (\n 'id' => 4910,\n 'name' => 'be grateful',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:24:57',\n 'updated_at' => '2019-03-12 07:24:57',\n ),\n 410 => \n array (\n 'id' => 4911,\n 'name' => 'length',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:01',\n 'updated_at' => '2019-03-12 07:25:01',\n ),\n 411 => \n array (\n 'id' => 4912,\n 'name' => 'face-to-face',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:03',\n 'updated_at' => '2019-03-12 07:25:03',\n ),\n 412 => \n array (\n 'id' => 4913,\n 'name' => 'pop culture',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:05',\n 'updated_at' => '2019-03-12 07:25:05',\n ),\n 413 => \n array (\n 'id' => 4914,\n 'name' => 'minimize',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:12',\n 'updated_at' => '2019-03-12 07:25:12',\n ),\n 414 => \n array (\n 'id' => 4915,\n 'name' => 'spider',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:13',\n 'updated_at' => '2019-03-12 07:25:13',\n ),\n 415 => \n array (\n 'id' => 4916,\n 'name' => 'experts',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:16',\n 'updated_at' => '2019-03-12 07:25:16',\n ),\n 416 => \n array (\n 'id' => 4917,\n 'name' => 'niches',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:16',\n 'updated_at' => '2019-03-12 07:25:16',\n ),\n 417 => \n array (\n 'id' => 4918,\n 'name' => 'frank',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:19',\n 'updated_at' => '2019-03-12 07:25:19',\n ),\n 418 => \n array (\n 'id' => 4919,\n 'name' => 'frank sinatra',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:20',\n 'updated_at' => '2019-03-12 07:25:20',\n ),\n 419 => \n array (\n 'id' => 4920,\n 'name' => 'died',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:20',\n 'updated_at' => '2019-03-12 07:25:20',\n ),\n 420 => \n array (\n 'id' => 4921,\n 'name' => 'speaks',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:21',\n 'updated_at' => '2019-03-12 07:25:21',\n ),\n 421 => \n array (\n 'id' => 4922,\n 'name' => 'cabinet',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:25',\n 'updated_at' => '2019-03-12 07:25:25',\n ),\n 422 => \n array (\n 'id' => 4923,\n 'name' => 'pedal',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:26',\n 'updated_at' => '2019-03-12 07:25:26',\n ),\n 423 => \n array (\n 'id' => 4924,\n 'name' => 'kicking',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:26',\n 'updated_at' => '2019-03-12 07:25:26',\n ),\n 424 => \n array (\n 'id' => 4925,\n 'name' => 'crowd',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:27',\n 'updated_at' => '2019-03-12 07:25:27',\n ),\n 425 => \n array (\n 'id' => 4926,\n 'name' => 'ben',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:27',\n 'updated_at' => '2019-03-12 07:25:27',\n ),\n 426 => \n array (\n 'id' => 4927,\n 'name' => 'ben affleck',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:27',\n 'updated_at' => '2019-03-12 07:25:27',\n ),\n 427 => \n array (\n 'id' => 4928,\n 'name' => 'collaborations',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:28',\n 'updated_at' => '2019-03-12 07:25:28',\n ),\n 428 => \n array (\n 'id' => 4929,\n 'name' => 'soundtrack',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:35',\n 'updated_at' => '2019-03-12 07:25:35',\n ),\n 429 => \n array (\n 'id' => 4930,\n 'name' => 'blast',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:36',\n 'updated_at' => '2019-03-12 07:25:36',\n ),\n 430 => \n array (\n 'id' => 4931,\n 'name' => 'some things',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:36',\n 'updated_at' => '2019-03-12 07:25:36',\n ),\n 431 => \n array (\n 'id' => 4932,\n 'name' => 'needy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:37',\n 'updated_at' => '2019-03-12 07:25:37',\n ),\n 432 => \n array (\n 'id' => 4933,\n 'name' => 'sets',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:37',\n 'updated_at' => '2019-03-12 07:25:37',\n ),\n 433 => \n array (\n 'id' => 4934,\n 'name' => 'van',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:40',\n 'updated_at' => '2019-03-12 07:25:40',\n ),\n 434 => \n array (\n 'id' => 4935,\n 'name' => 'van halen',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:40',\n 'updated_at' => '2019-03-12 07:25:40',\n ),\n 435 => \n array (\n 'id' => 4936,\n 'name' => 'halen',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:40',\n 'updated_at' => '2019-03-12 07:25:40',\n ),\n 436 => \n array (\n 'id' => 4937,\n 'name' => 'regroup',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:41',\n 'updated_at' => '2019-03-12 07:25:41',\n ),\n 437 => \n array (\n 'id' => 4938,\n 'name' => 'denying',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:41',\n 'updated_at' => '2019-03-12 07:25:41',\n ),\n 438 => \n array (\n 'id' => 4939,\n 'name' => 'volatile',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:42',\n 'updated_at' => '2019-03-12 07:25:42',\n ),\n 439 => \n array (\n 'id' => 4940,\n 'name' => 'ten',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:47',\n 'updated_at' => '2019-03-12 07:25:47',\n ),\n 440 => \n array (\n 'id' => 4941,\n 'name' => 'endings',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:50',\n 'updated_at' => '2019-03-12 07:25:50',\n ),\n 441 => \n array (\n 'id' => 4942,\n 'name' => 'charlie',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:51',\n 'updated_at' => '2019-03-12 07:25:51',\n ),\n 442 => \n array (\n 'id' => 4943,\n 'name' => 'chaplin',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:51',\n 'updated_at' => '2019-03-12 07:25:51',\n ),\n 443 => \n array (\n 'id' => 4944,\n 'name' => 'carpenter',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:25:57',\n 'updated_at' => '2019-03-12 07:25:57',\n ),\n 444 => \n array (\n 'id' => 4945,\n 'name' => 'themes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:26:06',\n 'updated_at' => '2019-03-12 07:26:06',\n ),\n 445 => \n array (\n 'id' => 4946,\n 'name' => 'renegade',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:26:11',\n 'updated_at' => '2019-03-12 07:26:11',\n ),\n 446 => \n array (\n 'id' => 4947,\n 'name' => 'coppola',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:26:15',\n 'updated_at' => '2019-03-12 07:26:15',\n ),\n 447 => \n array (\n 'id' => 4948,\n 'name' => 'videos',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:26:16',\n 'updated_at' => '2019-03-12 07:26:16',\n ),\n 448 => \n array (\n 'id' => 4949,\n 'name' => 'commercials',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:26:16',\n 'updated_at' => '2019-03-12 07:26:16',\n ),\n 449 => \n array (\n 'id' => 4950,\n 'name' => 'cowboy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:26:19',\n 'updated_at' => '2019-03-12 07:26:19',\n ),\n 450 => \n array (\n 'id' => 4951,\n 'name' => 'sparkle',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:26:26',\n 'updated_at' => '2019-03-12 07:26:26',\n ),\n 451 => \n array (\n 'id' => 4952,\n 'name' => 'mic',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:26:29',\n 'updated_at' => '2019-03-12 07:26:29',\n ),\n 452 => \n array (\n 'id' => 4953,\n 'name' => 'inclusive',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:26:32',\n 'updated_at' => '2019-03-12 07:26:32',\n ),\n 453 => \n array (\n 'id' => 4954,\n 'name' => 'winner',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:26:34',\n 'updated_at' => '2019-03-12 07:26:34',\n ),\n 454 => \n array (\n 'id' => 4955,\n 'name' => 'overlooked',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:26:35',\n 'updated_at' => '2019-03-12 07:26:35',\n ),\n 455 => \n array (\n 'id' => 4956,\n 'name' => 'suits',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:26:36',\n 'updated_at' => '2019-03-12 07:26:36',\n ),\n 456 => \n array (\n 'id' => 4957,\n 'name' => 'allergy',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:26:39',\n 'updated_at' => '2019-03-12 07:26:39',\n ),\n 457 => \n array (\n 'id' => 4958,\n 'name' => 'neat',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:26:39',\n 'updated_at' => '2019-03-12 07:26:39',\n ),\n 458 => \n array (\n 'id' => 4959,\n 'name' => 'shared',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:26:41',\n 'updated_at' => '2019-03-12 07:26:41',\n ),\n 459 => \n array (\n 'id' => 4960,\n 'name' => 'exists',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:26:41',\n 'updated_at' => '2019-03-12 07:26:41',\n ),\n 460 => \n array (\n 'id' => 4961,\n 'name' => 'perfume',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:26:42',\n 'updated_at' => '2019-03-12 07:26:42',\n ),\n 461 => \n array (\n 'id' => 4962,\n 'name' => 'jagger',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:26:45',\n 'updated_at' => '2019-03-12 07:26:45',\n ),\n 462 => \n array (\n 'id' => 4963,\n 'name' => 'houses',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:26:50',\n 'updated_at' => '2019-03-12 07:26:50',\n ),\n 463 => \n array (\n 'id' => 4964,\n 'name' => 'guests',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:26:53',\n 'updated_at' => '2019-03-12 07:26:53',\n ),\n 464 => \n array (\n 'id' => 4965,\n 'name' => 'lease',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:26:53',\n 'updated_at' => '2019-03-12 07:26:53',\n ),\n 465 => \n array (\n 'id' => 4966,\n 'name' => 'start-up',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:26:53',\n 'updated_at' => '2019-03-12 07:26:53',\n ),\n 466 => \n array (\n 'id' => 4967,\n 'name' => 'terms',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:26:53',\n 'updated_at' => '2019-03-12 07:26:53',\n ),\n 467 => \n array (\n 'id' => 4968,\n 'name' => 'nose',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:26:58',\n 'updated_at' => '2019-03-12 07:26:58',\n ),\n 468 => \n array (\n 'id' => 4969,\n 'name' => 'going home',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:00',\n 'updated_at' => '2019-03-12 07:27:00',\n ),\n 469 => \n array (\n 'id' => 4970,\n 'name' => 'dress-up',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:01',\n 'updated_at' => '2019-03-12 07:27:01',\n ),\n 470 => \n array (\n 'id' => 4971,\n 'name' => 'wigs',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:01',\n 'updated_at' => '2019-03-12 07:27:01',\n ),\n 471 => \n array (\n 'id' => 4972,\n 'name' => 'hips',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:02',\n 'updated_at' => '2019-03-12 07:27:02',\n ),\n 472 => \n array (\n 'id' => 4973,\n 'name' => 'sisters',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:03',\n 'updated_at' => '2019-03-12 07:27:03',\n ),\n 473 => \n array (\n 'id' => 4974,\n 'name' => 'consider',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:03',\n 'updated_at' => '2019-03-12 07:27:03',\n ),\n 474 => \n array (\n 'id' => 4975,\n 'name' => 'annoying',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:04',\n 'updated_at' => '2019-03-12 07:27:04',\n ),\n 475 => \n array (\n 'id' => 4976,\n 'name' => 'easygoing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:06',\n 'updated_at' => '2019-03-12 07:27:06',\n ),\n 476 => \n array (\n 'id' => 4977,\n 'name' => 'expenses',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:18',\n 'updated_at' => '2019-03-12 07:27:18',\n ),\n 477 => \n array (\n 'id' => 4978,\n 'name' => 'prosecutor',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:22',\n 'updated_at' => '2019-03-12 07:27:22',\n ),\n 478 => \n array (\n 'id' => 4979,\n 'name' => 'sweden',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:26',\n 'updated_at' => '2019-03-12 07:27:26',\n ),\n 479 => \n array (\n 'id' => 4980,\n 'name' => 'north',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:26',\n 'updated_at' => '2019-03-12 07:27:26',\n ),\n 480 => \n array (\n 'id' => 4981,\n 'name' => 'objective',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:28',\n 'updated_at' => '2019-03-12 07:27:28',\n ),\n 481 => \n array (\n 'id' => 4982,\n 'name' => 'opponent',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:31',\n 'updated_at' => '2019-03-12 07:27:31',\n ),\n 482 => \n array (\n 'id' => 4983,\n 'name' => 'intentions',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:31',\n 'updated_at' => '2019-03-12 07:27:31',\n ),\n 483 => \n array (\n 'id' => 4984,\n 'name' => 'enormous',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:36',\n 'updated_at' => '2019-03-12 07:27:36',\n ),\n 484 => \n array (\n 'id' => 4985,\n 'name' => 'motions',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:37',\n 'updated_at' => '2019-03-12 07:27:37',\n ),\n 485 => \n array (\n 'id' => 4986,\n 'name' => 'compose',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:37',\n 'updated_at' => '2019-03-12 07:27:37',\n ),\n 486 => \n array (\n 'id' => 4987,\n 'name' => 'forms',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:37',\n 'updated_at' => '2019-03-12 07:27:37',\n ),\n 487 => \n array (\n 'id' => 4988,\n 'name' => 'shocking',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:42',\n 'updated_at' => '2019-03-12 07:27:42',\n ),\n 488 => \n array (\n 'id' => 4989,\n 'name' => 'occurrence',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:42',\n 'updated_at' => '2019-03-12 07:27:42',\n ),\n 489 => \n array (\n 'id' => 4990,\n 'name' => 'occurs',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:42',\n 'updated_at' => '2019-03-12 07:27:42',\n ),\n 490 => \n array (\n 'id' => 4991,\n 'name' => 'great man',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:43',\n 'updated_at' => '2019-03-12 07:27:43',\n ),\n 491 => \n array (\n 'id' => 4992,\n 'name' => 'including',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:44',\n 'updated_at' => '2019-03-12 07:27:44',\n ),\n 492 => \n array (\n 'id' => 4993,\n 'name' => 'generalizations',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:44',\n 'updated_at' => '2019-03-12 07:27:44',\n ),\n 493 => \n array (\n 'id' => 4994,\n 'name' => 'remain',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:45',\n 'updated_at' => '2019-03-12 07:27:45',\n ),\n 494 => \n array (\n 'id' => 4995,\n 'name' => 'maine',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:48',\n 'updated_at' => '2019-03-12 07:27:48',\n ),\n 495 => \n array (\n 'id' => 4996,\n 'name' => 'editor',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:50',\n 'updated_at' => '2019-03-12 07:27:50',\n ),\n 496 => \n array (\n 'id' => 4997,\n 'name' => 'iowa',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:56',\n 'updated_at' => '2019-03-12 07:27:56',\n ),\n 497 => \n array (\n 'id' => 4998,\n 'name' => 'hotels',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:58',\n 'updated_at' => '2019-03-12 07:27:58',\n ),\n 498 => \n array (\n 'id' => 4999,\n 'name' => 'soldier',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:59',\n 'updated_at' => '2019-03-12 07:27:59',\n ),\n 499 => \n array (\n 'id' => 5000,\n 'name' => 'assassin',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:59',\n 'updated_at' => '2019-03-12 07:27:59',\n ),\n ));\n \\DB::table('tags')->insert(array (\n 0 => \n array (\n 'id' => 5001,\n 'name' => 'advocate',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:27:59',\n 'updated_at' => '2019-03-12 07:27:59',\n ),\n 1 => \n array (\n 'id' => 5002,\n 'name' => 'thailand',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:28:00',\n 'updated_at' => '2019-03-12 07:28:00',\n ),\n 2 => \n array (\n 'id' => 5003,\n 'name' => 'badge',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:28:03',\n 'updated_at' => '2019-03-12 07:28:03',\n ),\n 3 => \n array (\n 'id' => 5004,\n 'name' => 'attempt',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:28:04',\n 'updated_at' => '2019-03-12 07:28:04',\n ),\n 4 => \n array (\n 'id' => 5005,\n 'name' => 'frequent',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:28:04',\n 'updated_at' => '2019-03-12 07:28:04',\n ),\n 5 => \n array (\n 'id' => 5006,\n 'name' => 'grit',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:28:05',\n 'updated_at' => '2019-03-12 07:28:05',\n ),\n 6 => \n array (\n 'id' => 5007,\n 'name' => 'sailing',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:28:05',\n 'updated_at' => '2019-03-12 07:28:05',\n ),\n 7 => \n array (\n 'id' => 5008,\n 'name' => 'luckiest',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:28:06',\n 'updated_at' => '2019-03-12 07:28:06',\n ),\n 8 => \n array (\n 'id' => 5009,\n 'name' => 'humans',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:28:06',\n 'updated_at' => '2019-03-12 07:28:06',\n ),\n 9 => \n array (\n 'id' => 5010,\n 'name' => 'industrial revolution',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:28:08',\n 'updated_at' => '2019-03-12 07:28:08',\n ),\n 10 => \n array (\n 'id' => 5011,\n 'name' => 'minister',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:28:19',\n 'updated_at' => '2019-03-12 07:28:19',\n ),\n 11 => \n array (\n 'id' => 5012,\n 'name' => 'aspiring',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:28:19',\n 'updated_at' => '2019-03-12 07:28:19',\n ),\n 12 => \n array (\n 'id' => 5013,\n 'name' => 'historians',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:28:20',\n 'updated_at' => '2019-03-12 07:28:20',\n ),\n 13 => \n array (\n 'id' => 5014,\n 'name' => 'tide',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:28:22',\n 'updated_at' => '2019-03-12 07:28:22',\n ),\n 14 => \n array (\n 'id' => 5015,\n 'name' => 'pearl harbor',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:28:22',\n 'updated_at' => '2019-03-12 07:28:22',\n ),\n 15 => \n array (\n 'id' => 5016,\n 'name' => 'pearl',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:28:22',\n 'updated_at' => '2019-03-12 07:28:22',\n ),\n 16 => \n array (\n 'id' => 5017,\n 'name' => 'cooperative',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:28:25',\n 'updated_at' => '2019-03-12 07:28:25',\n ),\n 17 => \n array (\n 'id' => 5018,\n 'name' => 'remove',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:28:25',\n 'updated_at' => '2019-03-12 07:28:25',\n ),\n 18 => \n array (\n 'id' => 5019,\n 'name' => 'dear',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:28:26',\n 'updated_at' => '2019-03-12 07:28:26',\n ),\n 19 => \n array (\n 'id' => 5020,\n 'name' => 'evangelical',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:28:26',\n 'updated_at' => '2019-03-12 07:28:26',\n ),\n 20 => \n array (\n 'id' => 5021,\n 'name' => 'finds',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:28:28',\n 'updated_at' => '2019-03-12 07:28:28',\n ),\n 21 => \n array (\n 'id' => 5022,\n 'name' => 'coral',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:28:29',\n 'updated_at' => '2019-03-12 07:28:29',\n ),\n 22 => \n array (\n 'id' => 5023,\n 'name' => 'skydiving',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:28:33',\n 'updated_at' => '2019-03-12 07:28:33',\n ),\n 23 => \n array (\n 'id' => 5024,\n 'name' => 'closes',\n 'link' => NULL,\n 'source' => NULL,\n 'isActive' => 1,\n 'created_at' => '2019-03-12 07:28:39',\n 'updated_at' => '2019-03-12 07:28:39',\n ),\n ));\n \n \n }" ]
[ "0.6447588", "0.64017206", "0.63884073", "0.62439686", "0.60140556", "0.5923934", "0.5857348", "0.58508986", "0.58268416", "0.5801555", "0.57913256", "0.57354474", "0.57277703", "0.57088965", "0.57057345", "0.5690902", "0.56822616", "0.5652188", "0.5635843", "0.5626283", "0.56190556", "0.5589374", "0.5585759", "0.55842465", "0.5582936", "0.5575002", "0.5574895", "0.5567336", "0.55669546", "0.5563764" ]
0.6964929
0
/ Delete tag relationships to a row/object $data = array( 'table' => 'posts',//Name of the table row_id is from 'row_id' => 23, 'siteID' => null//Optional only delete rows for siteID );
public function delete_tag_ref($data) { //If there is no table or row_id if (!$data['table'] || !$data['row_id']) { return; } //If a user is set - only delete tags for that user if (isset($data['siteID']) && $data['siteID']) { $this->CI->db->where('siteID', $data['siteID']); } //Delete all tags_ref where this table and row are found $this->CI->db->where('table', $data['table']); $this->CI->db->where('row_id', $data['row_id']); $this->CI->db->delete($this->tags_ref); //return the rows deleted $rows = $this->CI->db->affected_rows(); //Delete tags that are no-longer referenced by any row $this->delete_tags(); return $rows; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function delete_user_tags($data)\n {\n //If there is no table or row_id\n if (!$data['table'] || !$data['siteID']) {\n return;\n }\n\n //Where the tag is used by this user\n $this->CI->db->where('siteID', $data['siteID']);\n\n //Delete all tags_ref where this table and row are found\n $this->CI->db->delete($this->tags_ref);\n\n //return the rows deleted\n $rows = $this->CI->db->affected_rows();\n\n //Delete tags that are no-longer referenced by any row\n $this->delete_tags();\n\n return $rows;\n }", "function delete($data){\n\t\t$this->EE->db->select('entry_id');\n\t\t$this->EE->db->where('product_id', $data[\"product_id\"]); \n\t\t$this->EE->db->where('site_id', $this->EE->config->item('site_id')); \n\t\t$this->EE->db->from($this->EE->db->dbprefix('ndg_brilliant_bridge_lookup'));\n\t\n\t\t$query = $this->EE->db->get();\n\n\t\tif ($query->num_rows() > 0)\n\t\t{\n\t\t\n\t\t\t$entry_id = $query->row()->entry_id;\n\t\t\t\n\t\t\t// Delete primary data\n\t\t\t$this->EE->db->where_in('entry_id', $entry_id);\n\t\t\t$this->EE->db->delete(array('channel_titles', 'channel_data', 'category_posts'));\n\t\t\t\n\t\t}\n\t\t\n\t\t$this->EE->db->where('product_id', $data[\"product_id\"]);\n\t\t$this->EE->db->delete($this->EE->db->dbprefix('ndg_brilliant_bridge_lookup')); \n\t\t\n\t\t\n\t\treturn $data;\n\t\t\t\n\t}", "public function delete_posting($data=array())\n {\n $this->db->delete('delete', $data);\n }", "function delete($table, $data);", "function deleteRelations($id){}", "public function delete()\n\t{\n\t\t$db = PearDatabase::getInstance();\n\t\t$db->pquery('DELETE FROM vtiger_freetagged_objects WHERE tag_id = ? AND object_id = ?', array($this->get('tag_id'), $this->get('record')));\n\t}", "protected function _delete()\n { \n $id = (int) $this->id;\n \n //Check if there is a user account associated with this\n \n if ($user = $this->user_id) {\n $user->delete();\n }\n \n $db = get_db();\n \n //Remove all taggings associated with this entity\n $taggings = $db->getTable('Taggings')->findBy(array('entity' => $id));\n \n foreach ($taggings as $tagging) {\n $tagging->delete();\n }\n \n $update_join = \"\n UPDATE $db->EntitiesRelations \n SET entity_id = NULL \n WHERE entity_id = ?\";\n \n $db->exec($update_join, array($id)); \n }", "public function delete()\n\t{\n\t\tDB::delete('posts')->where('id', '=', $this->get('id'))->execute($this->_db);\n\t}", "public function deleteOrphans()\n\t{\n\t\t$this->query(\"\n\t\tdelete from tags\n\t\twhere\n\t\t\tnot exists (select * from articles_tags where articles_tags.tag_id = tags.id)\n\t\t\tand\tnot exists (select * from adventures_tags where adventures_tags.tag_id = tags.id)\"\n\t\t);\n\t}", "public function post_delete()\n\t\t\t\t{\n\t\t\t\t\t$id=$_REQUEST['id'];\n\t\t\t\t\t$this->db->where('id', $id);\n\t\t\t\t\t$this->db->delete('post'); \n\n\t\t\t\t}", "static function delete_post($data)\n\t\t{\n\t\t\tself::delete_posts(array('post_ids' => array($data['post_id'])));\n\t\t}", "function deleteRelation($table_name)\n{\n $check_query = \"select * from \".$table_name.\" where \".$this->tab_name_index[$table_name].\"=\".$this->id;\n $check_result=$this->db->query($check_query);\n $num_rows = $this->db->num_rows($check_result);\n\n if($num_rows == 1)\n {\n $del_query = \"DELETE from \".$table_name.\" where \".$this->tab_name_index[$table_name].\"=\".$this->id;\n $this->db->query($del_query);\n }\n\n}", "function delete_article($article_id)\n{\n global $dbh;\n //On supprime d'abord les tags eventuellement associés à cet article dans la table pivot 'article_has_tag'.\n $query_01 = 'DELETE FROM article_has_tag\n WHERE article_has_tag.article_id = :id';\n $req = $dbh->prepare($query_01);\n $req->execute(['id' => $article_id]);\n\n //Puis on supprime l'article concerné.\n $query_02 = 'DELETE FROM article WHERE article.id = :id';\n $req = $dbh->prepare($query_02);\n\n //execute() retourne TRUE ou FALSE.\n return $req->execute(['id' => $article_id]);\n}", "function deleteData($table,$data)\r\n\t{\r\n\t\t$this->db->delete($table, $data);\r\n\t}", "public function delete() {\n foreach ($this->getTaxaImageColl()->getItems() as $image) {\n $image->delete();\n }\n $this->deleteAllTaxaAttributes();\n foreach ($this->getAddDicoColl()->getItems() as $addDico) {\n $addDico->delete();\n }\n $this->db->query('DELETE FROM `taxa_region` \n WHERE `taxa_id`=' . intval($this->data['id'])\n , \\Zend\\Db\\Adapter\\Adapter::QUERY_MODE_EXECUTE);\n $this->db->query('UPDATE `dico_item` SET `taxa_id`=NULL \n WHERE `taxa_id`=' . intval($this->data['id'])\n , \\Zend\\Db\\Adapter\\Adapter::QUERY_MODE_EXECUTE);\n $this->deleteSearch();\n parent::delete();\n \n }", "public function delete(array $data) {\n $idcol = $this->tablename . \"_id\";\n $val = $data[$idcol];\n return $this->db->exec(\"DELETE FROM \".($this->tablename).\" WHERE `$idcol`=$val\");\n }", "public function delete($data){ \n $idPost = $this->hashids->decode($data->idPost)[0];\n $idUser = $this->hashids->decode($data->idUser)[0];\n $result = null;\n /* 2. encriptar IDs */\n if($this->checkPermission($idUser)){\n /* A. consulta with FluentPDO */\n $conex = $this->pdo;\n $sql = 'SELECT\n u.idUser, p.idPost, u.first_name,\n u.last_name, p.title, p.content, p.summary,\n g.idGalery, g.urlImage\n FROM user_post AS up\n INNER JOIN user AS u\n ON up.userId = u.idUser\n INNER JOIN post AS p\n ON up.postId = p.idPost\n INNER JOIN galery AS g\n ON p.galeryId = g.idGalery\n WHERE up.postId = ?\n ORDER BY p.idPost DESC';\n $query = $conex->prepare($sql);\n $query->execute(\n array(\n intval($idPost)\n )\n );\n if($query->rowCount() != 0){\n /*** A. Eliminar post_user ***/\n $result = $query->fetchObject();\n $image = new GaleryModel();\n $where = array(\n 'userId' => intval($result->idUser),\n 'postId' => intval($result->idPost),\n );\n $query = $this->fpdo->deleteFrom('user_post')->where($where);\n $query->execute();\n \n /*** B. Eliminar Post ***/\n $where = array(\n 'idPost' => intval($result->idPost),\n );\n $query = $this->fpdo->deleteFrom('post')->where($where);\n $query->execute();\n\n /*** C. Eliminar Imagen ***/\n $image->deleteImage($result->idGalery,$result->urlImage);\n\n $status = true;\n $message = \"Eliminado con éxito\";\n }else{\n $result = null;\n $status = false;\n $message = \"El post no existe\";\n }\n }\n else{\n $result = -1;\n $message = \"Usted esta deshabilitado, no puede eliminar\";\n $status = false;\n }\n\n /* 3. retornar valores en un array */\n return $this->response->send(\n $result,\n $status,\n $message,\n []\n );\n }", "public function delete(){\n $tid = $this->id;\n\n // delete view counter\n Counter::where(\"[entityId] = ? AND [entityTypeId] = ?\",[$tid,Topic::ENTITY_TYPE])->delete();\n Rating::where(\"[entityId] = ? AND [entityType] = ?\",[$tid,Topic::ENTITY_TYPE])->delete();\n RatingStatistic::where(\"[entityId] = ? AND [entityType] = ?\",[$tid,Topic::ENTITY_TYPE])->delete();\n Comment::where(\"[topicId] = ?\", $tid)->delete();\n\n parent::delete();\n }", "static function DeleteInstancesFor($obj){\n\t\t$dbmole = IobjectLink::GetDbmole();\n\t\t$dbmole->doQuery(\"DELETE FROM iobject_links WHERE linked_table=:table_name AND linked_record_id=:record_id\",array(\n\t\t\t\":table_name\" => $obj->getTableName(),\n\t\t\t\":record_id\" => $obj,\n\t\t));\n\t}", "public function clean_tags(){\n $status = $this->Connect->set(\"DELETE FROM relation_tag WHERE post = $this->id\");\n return $status;\n }", "function delete($id) {\n $condicion =array('`Photo`.`generic_id`'=>$id, '`Photo`.`key`' => \"3\");\n $photos_related = $this->Photo->find('all',array('conditions' => $condicion, 'order' => array('name ASC')));\n foreach ($photos_related as $photo) {\n \tif(!empty($photo['Photo']['name'])){\n \t if ($this->Image->delete_image($photo['Photo']['name'],'/')){\n \t$this->Photo->delete($photo['Photo']['id']);\n }\n } \n }\n \n\t\t$this->{$this->model}->delete($id);\n $this->Session->setflash('El tag ha sido eliminado.','default',array(\"class\"=>\"success\"));\n\t $this->redirect($this->directorio);\n\t}", "public function delete($postData){\n\n $this->mySql->delete(\"Cecos\",\" Id = '\".$postData['id'].\"'\");\n\n }", "function removeRelation($pid){\n $queryArray = [\"DELETE FROM Prayer_Tags WHERE prayid = $pid\",\n \"DELETE FROM Prayer_Religions WHERE prayid = $pid\",\n \"DELETE FROM Comments WHERE prayid = $pid\",\n \"DELETE FROM Likes WHERE prayid = $pid\"];\n foreach($queryArray as $i) {\n $this->db->deleteQuery($i);\n }\n }", "public function delete(array $data)\n {\n // $sql = \"DELETE FROM mygtukai WHERE mygtukai.id= 88 OR 1;\"; id nera prilyginamas 88 arba 1 o yra paverciamas i true arba false 1 = true;\n // $sql = \"DELETE FROM mygtukai WHERE mygtukai.id = ? ;\";\n // $stmt = $this->pdo->prepare($sql);\n // $stmt->execute([$data['id']]);\n //$this->pdo->query($sql); // naudoti query tik tada kai 100% patikima parasyta paciu rankomis\n\n }", "function publish_data_delete_db($params) {\n\t\t// Remove existing\n\t\t\n\t}", "public function bulkDelete($blogId, array $posts);", "public function processDelete() {\r\n\t\t$this->model->delete($this->table, $this->id);\r\n\t}", "abstract protected function deleteData($data);", "function delete(){\n\t\t\tif(count($this->image_sets)==0) $this->get_images();\n\t\t\tfor($i=0;$i<count($this->image_sets);$i++){\n\t\t\t\t$this->image_sets[$i]->delete();\n\t\t\t}\n\n\t\t\t// DELETE ASSOCIATED DATA\n\t\t\t$associated_tables = array('plant_flowering_season_plants','plant_flower_attribute_plants','plant_garden_style_plants','plant_growth_habit_plants','plant_landscape_use_plants','plant_problem_solution_plants','plant_special_feature_plants','plant_sunset_zones','plant_sun_exposure_plants','plant_type_plants','videos_plants','wish_list_items');\n\n\t\t\tfor($i=0;$i<count($associated_tables);$i++){\n\t\t\t\tmysql_query('DELETE FROM '.$associated_tables[$i].' WHERE plant_id=' . $this->info['id']);\n\t\t\t}\n\n\t\t\t// DELETE RECORD ITSELF\n\t\t\tparent::delete();\n\t\t}", "function question_follow_delete($data)\n {\n $this->db->where($data);\n $this->db->delete('question_collect');\n }" ]
[ "0.68103755", "0.6670099", "0.6551799", "0.6392675", "0.628091", "0.61916226", "0.61572963", "0.615185", "0.6125463", "0.60180026", "0.5991414", "0.5980351", "0.59716403", "0.59432197", "0.5924338", "0.592129", "0.59150827", "0.5901892", "0.5893549", "0.5889704", "0.5876441", "0.5821831", "0.57989603", "0.5780728", "0.57738465", "0.5765635", "0.57614493", "0.5756026", "0.5753155", "0.57515854" ]
0.717503
0
/ Delete all tags from a given user $data = array( 'table' => 'posts',//Name of the table row_id is from 'siteID' = > null,//Optional only delete rows for siteID );
public function delete_user_tags($data) { //If there is no table or row_id if (!$data['table'] || !$data['siteID']) { return; } //Where the tag is used by this user $this->CI->db->where('siteID', $data['siteID']); //Delete all tags_ref where this table and row are found $this->CI->db->delete($this->tags_ref); //return the rows deleted $rows = $this->CI->db->affected_rows(); //Delete tags that are no-longer referenced by any row $this->delete_tags(); return $rows; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function delete_tag_ref($data)\n {\n //If there is no table or row_id\n if (!$data['table'] || !$data['row_id']) {\n return;\n }\n\n //If a user is set - only delete tags for that user\n if (isset($data['siteID']) && $data['siteID']) {\n $this->CI->db->where('siteID', $data['siteID']);\n }\n\n //Delete all tags_ref where this table and row are found\n $this->CI->db->where('table', $data['table']);\n $this->CI->db->where('row_id', $data['row_id']);\n $this->CI->db->delete($this->tags_ref);\n\n //return the rows deleted\n $rows = $this->CI->db->affected_rows();\n\n //Delete tags that are no-longer referenced by any row\n $this->delete_tags();\n\n return $rows;\n }", "public static function ADMIN_CLASSIFY_DELETE_USER_TAGS(){\n\t $SQL_String = \"DELETE FROM user_tags WHERE owner=:user AND utno=:term_id;\";\n\t return $SQL_String;\n\t}", "public function actionDeleteAll(){\n isAdminAjaxRequest();\n $this->_model->query(parse_tbprefix(\"DELETE FROM <sysuser>\"));\n $this->_model->query(parse_tbprefix(\"UPDATE <post> SET uid = 0\"));\n exitWithResponse(200);\n }", "function delete_flag($post, $userid)\n{\n\n \n delete_records_select('extendedforum_flags', \"userid = $userid and postid = $post->id \"); \n \n}", "function delete_all_flags($discussion, $userid)\n{\nglobal $CFG;\n$where_sql = \"userid = $userid and postid in (select id from {$CFG->prefix}extendedforum_posts where discussion = $discussion->id)\" ;\n \n \n delete_records_select('extendedforum_flags', $where_sql );\n\n\n}", "public function delete_posting($data=array())\n {\n $this->db->delete('delete', $data);\n }", "function delete($table, $data);", "function deleteuser_kiss($user_id) {\r\n\tglobal $database;\r\n\r\n\t// DELETE USER ACTIONS\r\n\t$database->database_query(\"DELETE FROM se_actions WHERE action_user_id='$user_id'\");\r\n\t// DELETE USER NOTIFICATIONS\r\n\t$database->database_query(\"DELETE FROM se_notifys WHERE notify_user_id='$user_id' OR notify_object_id='$user_id'\");\r\n\t// DELETE INCOMING AND OUTGOING kiss\r\n\t$database->database_query(\"DELETE FROM sp_kiss WHERE kiss_owner_id='$user_id' OR kiss_sender_id='$user_id'\");\r\n\r\n}", "static function nev_delete_tags(){\n $nonce = $_POST['nonce'];\n if( !wp_verify_nonce($nonce, 'nev_nonce') ){\n header(\"HTTP/1.0 403 Security Check.\");\n exit;\n }\n \n if (!is_user_logged_in()){\n header(\"HTTP/1.0 403 Security Check.\");\n exit;\n\t\t\t}\n\t\t\t\n $tags = $_POST['tags'];\n \n if( empty( $_POST[ 'tags' ] ) ){\n echo json_encode( array( 'success' => true, 'tags' => 'none' ) );\n exit;\n }\n else{\n \tglobal $wpdb;\n \t$tableName = $wpdb->prefix . 'nev_tags';\n \t$tags = explode(\",\", $tags);\n \t$tagsDeleted = array(); $tagsDontExist = array();\n \tfor ($x = 0; $x < sizeof($tags); $x++){\n \t\t$tags[$x] = trim($tags[$x]);\n \t\t$result = $wpdb->get_row($wpdb->prepare(\"SELECT tag FROM $tableName WHERE tag ='\". $tags[$x] . \"'\"));\n \t\tif (isset($result)){\n \t\t\t$wpdb->delete($tableName, array('tag' => $tags[$x]));\n \t\t\tarray_push($tagsDeleted, $tags[$x]);\n \t\t\t$wpdb->query(\"UPDATE wp_nev_videos SET tags = REPLACE(tags, ' \" . $tags[$x] . \" ,', '');\");\n \t\t}\n \t\telse{\n \t\t\tarray_push($tagsDontExist, $tags[$x]);\n \t\t}\n \t}\n \techo json_encode( array( 'tags' => $tagsDeleted, 'notags' => $tagsDontExist) );\n }\n exit();\n }", "function publish_data_delete_db($params) {\n\t\t// Remove existing\n\t\t\n\t}", "public function post_delete()\n\t\t\t\t{\n\t\t\t\t\t$id=$_REQUEST['id'];\n\t\t\t\t\t$this->db->where('id', $id);\n\t\t\t\t\t$this->db->delete('post'); \n\n\t\t\t\t}", "public function clean_tags(){\n $status = $this->Connect->set(\"DELETE FROM relation_tag WHERE post = $this->id\");\n return $status;\n }", "function deleteaccount($userid)\n{\n global $pdo;\n $pdo->run(\"DELETE FROM users WHERE id = $userid\");\n $pdo->run(\"DELETE FROM warnings WHERE userid = $userid\");\n $pdo->run(\"DELETE FROM ratings WHERE user = $userid\");\n $pdo->run(\"DELETE FROM peers WHERE userid = $userid\");\n $pdo->run(\"DELETE FROM completed WHERE userid = $userid\");\n $pdo->run(\"DELETE FROM reports WHERE addedby = $userid\");\n $pdo->run(\"DELETE FROM reports WHERE votedfor = $userid AND type = 'user'\");\n $pdo->run(\"DELETE FROM forum_readposts WHERE userid = $userid\");\n $pdo->run(\"DELETE FROM pollanswers WHERE userid = $userid\");\n // snatch\n $pdo->run(\"DELETE FROM `snatched` WHERE `uid` = '$userid'\");\n}", "public function deleteUserMetadata( $id, $tags );", "public function delete($data){ \n $idPost = $this->hashids->decode($data->idPost)[0];\n $idUser = $this->hashids->decode($data->idUser)[0];\n $result = null;\n /* 2. encriptar IDs */\n if($this->checkPermission($idUser)){\n /* A. consulta with FluentPDO */\n $conex = $this->pdo;\n $sql = 'SELECT\n u.idUser, p.idPost, u.first_name,\n u.last_name, p.title, p.content, p.summary,\n g.idGalery, g.urlImage\n FROM user_post AS up\n INNER JOIN user AS u\n ON up.userId = u.idUser\n INNER JOIN post AS p\n ON up.postId = p.idPost\n INNER JOIN galery AS g\n ON p.galeryId = g.idGalery\n WHERE up.postId = ?\n ORDER BY p.idPost DESC';\n $query = $conex->prepare($sql);\n $query->execute(\n array(\n intval($idPost)\n )\n );\n if($query->rowCount() != 0){\n /*** A. Eliminar post_user ***/\n $result = $query->fetchObject();\n $image = new GaleryModel();\n $where = array(\n 'userId' => intval($result->idUser),\n 'postId' => intval($result->idPost),\n );\n $query = $this->fpdo->deleteFrom('user_post')->where($where);\n $query->execute();\n \n /*** B. Eliminar Post ***/\n $where = array(\n 'idPost' => intval($result->idPost),\n );\n $query = $this->fpdo->deleteFrom('post')->where($where);\n $query->execute();\n\n /*** C. Eliminar Imagen ***/\n $image->deleteImage($result->idGalery,$result->urlImage);\n\n $status = true;\n $message = \"Eliminado con éxito\";\n }else{\n $result = null;\n $status = false;\n $message = \"El post no existe\";\n }\n }\n else{\n $result = -1;\n $message = \"Usted esta deshabilitado, no puede eliminar\";\n $status = false;\n }\n\n /* 3. retornar valores en un array */\n return $this->response->send(\n $result,\n $status,\n $message,\n []\n );\n }", "public function delete()\n\t{\n\t\tDB::delete('posts')->where('id', '=', $this->get('id'))->execute($this->_db);\n\t}", "function deleteDemoData(){\r\n\t\t/*** SETTINGS ***/\r\n\t\t$result = doQuery(\"DELETE FROM settings WHERE session_id!=''\") or die(\"err 1\");\r\n\t\t\r\n\t\t/*** ADMIN USERS ***/\r\n\t\t$result = doQuery(\"DELETE FROM admin WHERE session_id!=''\") or die(\"err 2\");\r\n\t\t\t\r\n\t\t/*** CMS ***/\r\n\t\t$result = doQuery(\"DELETE FROM pages WHERE session_id!=''\") or die(\"err 3\");\r\n\t\t$result = doQuery(\"DELETE FROM content WHERE session_id!=''\") or die(\"err 4\");\r\n\t\t\r\n\t\t//$result = doQuery(\"DELETE FROM blog WHERE session_id!=''\") or die(\"err 5\");\r\n\t\t//$result = doQuery(\"DELETE FROM blog_alert WHERE session_id!=''\") or die(\"err 6\");\r\n\t\t//$result = doQuery(\"DELETE FROM blog_comment WHERE session_id!=''\") or die(\"err 7\");\r\n\t\t//$result = doQuery(\"DELETE FROM blog_category WHERE session_id!=''\") or die(\"err 8\");\r\n\t\t//$result = doQuery(\"DELETE FROM blog_category_relational WHERE session_id!=''\") or die(\"err 9\");\r\n\t}", "public function deleteUserData()\n {\n $query = DB::query( Database::SELECT, 'SELECT delete_user(:id)');\n $query->parameters( array( \":id\" => ( int ) $this->id ) );\n $query->execute();\n }", "function usr_delete($id)\n{\n\t$tbl = $GLOBALS['DBHOST_TBL_PREFIX'];\n\n\tif (!db_locked()) {\n\t\t$ll = 1;\n\t\tdb_lock($tbl .'msg_store WRITE, '. $tbl .'forum WRITE, '. $tbl .'msg WRITE, '. $tbl .'group_members WRITE, '. $tbl .'poll_opt_track WRITE, '. $tbl .'users WRITE, '. $tbl .'pmsg WRITE, '. $tbl .'attach WRITE, '. $tbl .'mod WRITE, '. $tbl .'custom_tags WRITE, '. $tbl .'thread_notify WRITE, '. $tbl .'forum_notify WRITE, '. $tbl .'read WRITE, '. $tbl .'forum_read WRITE, '. $tbl .'thread_rate_track WRITE, '. $tbl .'user_ignore WRITE, '. $tbl .'buddy WRITE, '. $tbl .'mod mm WRITE, '. $tbl .'users u WRITE, '. $tbl .'forum f WRITE');\n\t}\n\n\tif (!is_array($id)) {\n\t\t$id = array($id);\n\t}\n\n\tq('DELETE FROM '. $tbl .'mod WHERE user_id IN('. implode(',', $id) .')');\n\tif (db_affected()) {\n\t\trebuildmodlist();\n\t}\n\n\tq('DELETE FROM '. $tbl .'custom_tags WHERE user_id IN('. implode(',', $id) .')');\n\tq('DELETE FROM '. $tbl .'thread_notify WHERE user_id IN('. implode(',', $id) .')');\n\tq('DELETE FROM '. $tbl .'forum_notify WHERE user_id IN('. implode(',', $id) .')');\n\tq('DELETE FROM '. $tbl .'read WHERE user_id IN('. implode(',', $id) .')');\n\tq('DELETE FROM '. $tbl .'forum_read WHERE user_id IN('. implode(',', $id) .')');\n\tq('DELETE FROM '. $tbl .'thread_rate_track WHERE user_id IN('. implode(',', $id) .')');\n\tq('DELETE FROM '. $tbl .'user_ignore WHERE user_id IN('. implode(',', $id) .')');\n\tq('DELETE FROM '. $tbl .'user_ignore WHERE ignore_id IN('. implode(',', $id) .')');\n\tq('DELETE FROM '. $tbl .'buddy WHERE user_id IN('. implode(',', $id) .')');\n\tq('DELETE FROM '. $tbl .'buddy WHERE bud_id IN('. implode(',', $id) .')');\n\tq('DELETE FROM '. $tbl .'poll_opt_track WHERE user_id IN('. implode(',', $id) .')');\n\tq('DELETE FROM '. $tbl .'group_members WHERE user_id IN('. implode(',', $id) .')');\n\tq('UPDATE '. $tbl .'msg SET poster_id=0 WHERE poster_id IN('. implode(',', $id) .')');\n\n\t/* Delete the private messages of this user. */\n\t$c = q('SELECT id FROM '. $tbl .'pmsg WHERE duser_id IN('. implode(',', $id) .')');\n\twhile ($r = db_rowarr($c)) {\n\t\tif (!function_exists('pmsg_del')) {\n\t\t\tfud_use('private.inc');\n\t\t}\n\t\tpmsg_del($r[0], 5);\n\t}\n\tq('UPDATE '. $tbl .'pmsg SET ouser_id=0, read_stamp=post_stamp WHERE ouser_id IN('. implode(',', $id) .')');\n\tq('DELETE FROM '. $tbl .'users WHERE id IN('. implode(',', $id) .')');\n\n\tif (isset($ll)) {\n\t\tdb_unlock();\n\t}\n}", "function tc_custom_remove_user_from_blog( $user_id ) {\nglobal $wpdb;\n$updated = $wpdb->query(\"Update wp_users set deleted=1 where ID=\" . $user_id); \n}", "public function delete() :void {\n $hashes = HashLinkModel::select(\n Where::and()\n ->set('user_id', Where::OperatorEq, $this->getUserId())\n ->set('type', Where::OperatorEq, $this->type)\n );\n\n foreach ($hashes as $hash) {\n /**\n * @var HashLinkModel $hash\n */\n $hash->delete(true);\n }\n }", "public function bulkDelete($blogId, array $posts);", "function deleteData($table,$data)\r\n\t{\r\n\t\t$this->db->delete($table, $data);\r\n\t}", "public function delete($postData){\n\n $this->mySql->delete(\"Cecos\",\" Id = '\".$postData['id'].\"'\");\n\n }", "function deleteFromDatabase(){\r\n\t\t$sql = \"DELETE FROM ilmo_users WHERE id = $this->userId\";\r\n\t\t$this->database->doQuery($sql);\r\n\r\n\t\t$sql = \"DELETE FROM ilmo_answers WHERE user_id = $this->userId\";\r\n\t\t$this->database->doQuery($sql);\r\n\t}", "function XoaDuLieu($data,$table,$where,$query=\"\") \n { \n if($query!=\"\")\n {\n $this->db->query($query);\n }else{\n for($i=0;$i<count($data);$i++)\n {\n $this->db->delete($table, array(\"$where\" => $data[$i]));\n }\n }\n }", "function delete($data){\n\t\t$this->EE->db->select('entry_id');\n\t\t$this->EE->db->where('product_id', $data[\"product_id\"]); \n\t\t$this->EE->db->where('site_id', $this->EE->config->item('site_id')); \n\t\t$this->EE->db->from($this->EE->db->dbprefix('ndg_brilliant_bridge_lookup'));\n\t\n\t\t$query = $this->EE->db->get();\n\n\t\tif ($query->num_rows() > 0)\n\t\t{\n\t\t\n\t\t\t$entry_id = $query->row()->entry_id;\n\t\t\t\n\t\t\t// Delete primary data\n\t\t\t$this->EE->db->where_in('entry_id', $entry_id);\n\t\t\t$this->EE->db->delete(array('channel_titles', 'channel_data', 'category_posts'));\n\t\t\t\n\t\t}\n\t\t\n\t\t$this->EE->db->where('product_id', $data[\"product_id\"]);\n\t\t$this->EE->db->delete($this->EE->db->dbprefix('ndg_brilliant_bridge_lookup')); \n\t\t\n\t\t\n\t\treturn $data;\n\t\t\t\n\t}", "public function deleteAll()\n {\n\n if (Auth::check()) {\n $user_id = Auth::user()->id;\n DB::table('tasks')->where('user_id', $user_id)->delete();\n\n }\n\n\n }", "function delete_user($filter=false,$table=false)\n\t{\n\t\t$this->db->delete($table, $filter); \n\t}", "function deleteUsers($connection, $id)\n{\n\n $sql = \"DELETE FROM user WHERE Id={$id}\";\n $result = $connection->query($sql);\n}" ]
[ "0.68923056", "0.6718427", "0.6716098", "0.6410221", "0.6391674", "0.62973076", "0.6201174", "0.6138392", "0.60531133", "0.6042639", "0.600945", "0.5967121", "0.59491473", "0.5942949", "0.59420115", "0.593338", "0.5914161", "0.5898616", "0.5893706", "0.5892418", "0.588972", "0.58868426", "0.58812004", "0.5874605", "0.5873901", "0.58581847", "0.5853976", "0.58447045", "0.5838459", "0.5836986" ]
0.7884311
0