query
stringlengths
7
5.25k
document
stringlengths
15
1.06M
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Get the suspension motif.
public function getSuspensionMotif() { return $this->suspensionMotif; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setSuspensionMotif($suspensionMotif) {\n $this->suspensionMotif = $suspensionMotif;\n return $this;\n }", "public function getMotif()\n {\n return $this->motif;\n }", "private function getPlayback() {\n\t\treturn $this->socketSend('playback');\n\t}", "public func...
[ "0.6076829", "0.5718892", "0.5703779", "0.5661769", "0.56431335", "0.56431335", "0.5598952", "0.5459187", "0.53669477", "0.53464985", "0.53318924", "0.5304171", "0.51613164", "0.51145524", "0.51145524", "0.5083021", "0.5077428", "0.50711846", "0.50604934", "0.5057615", "0.505...
0.7695198
0
Get the travail temp.
public function getTravailTemp() { return $this->travailTemp; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getTempLink()\n {\n return $this->temp_loc;\n }", "public function getCodeUniteTempsTravail() {\n return $this->codeUniteTempsTravail;\n }", "private function getCurrentTemp() {\n $statement = $this->db->prepare('SELECT * FROM \"temperature\" ORDER BY \"created...
[ "0.6748049", "0.66022974", "0.6425537", "0.6398941", "0.6396713", "0.6345167", "0.6250627", "0.62267524", "0.6151169", "0.60739034", "0.602443", "0.6012342", "0.6008299", "0.5965899", "0.59576935", "0.5947864", "0.59262604", "0.5858319", "0.5849059", "0.5817639", "0.58110064"...
0.84011436
0
Get the type attestation.
public function getTypeAttestation() { return $this->typeAttestation; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function get_type()\n {\n }", "public function get_type()\n {\n }", "public function get_type()\n {\n }", "public function get_type()\n {\n }", "public function get_type()\n {\n }", "function _get_type() {\n\t\treturn $this->typ...
[ "0.7098099", "0.7097878", "0.7097821", "0.7097821", "0.7097083", "0.7037731", "0.6992977", "0.6922783", "0.69054574", "0.68294924", "0.6812601", "0.67897886", "0.6783906", "0.6773932", "0.6771674", "0.6771674", "0.6771674", "0.6768191", "0.6751322", "0.6732734", "0.6732734", ...
0.86887246
0
Set the cas general.
public function setCasGeneral($casGeneral) { $this->casGeneral = $casGeneral; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getCasGeneral() {\n return $this->casGeneral;\n }", "public function setGeneral() // Attribuer une valeur générale à un attaquant\n {\n $this->_general = round($this->attaqueCalcul());\n }", "private function cas_init()\n {\n session_name((isset($this->config[ 'session_...
[ "0.6339077", "0.56195015", "0.5608804", "0.5055983", "0.47993225", "0.47356996", "0.47322875", "0.46985862", "0.46602115", "0.4656535", "0.46100768", "0.45420977", "0.4532391", "0.4520497", "0.45156774", "0.4508978", "0.45078292", "0.4470023", "0.4463007", "0.446197", "0.4461...
0.65141845
0
Set the cas particulier.
public function setCasParticulier($casParticulier) { $this->casParticulier = $casParticulier; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function setSorpresa($_caja){\r\n $this->sorpresa=$_caja;\r\n }", "public function setCC()\n {\n }", "public function getCasParticulier() {\n return $this->casParticulier;\n }", "abstract public function set();", "public function set_cidade($cidade) : void\n {\n ...
[ "0.56581694", "0.5586182", "0.5514884", "0.54723096", "0.54310167", "0.5376648", "0.534794", "0.53461814", "0.53399163", "0.52470607", "0.51738524", "0.5165805", "0.5121851", "0.5117559", "0.51152843", "0.5096076", "0.5047848", "0.5046917", "0.50407034", "0.5036099", "0.50027...
0.58338654
0
Set the categorie sal.
public function setCategorieSal($categorieSal) { $this->categorieSal = $categorieSal; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function set_categorie($categorie){\n if($categorie == \"vin\" || $categorie == \"eau\" || $categorie == \"jus\"){\n $this->categorie = $categorie;\n }else{\n $this->erreur(\"La categorie doit être : vin, eau ou jus. Or c'est : \".$categorie.\"<br>\");\n }\n }", "pu...
[ "0.73704594", "0.6372971", "0.6353671", "0.62727827", "0.62563443", "0.6228173", "0.61624515", "0.59612256", "0.5882725", "0.58469105", "0.5788867", "0.5752363", "0.56909734", "0.5604994", "0.55942947", "0.5524895", "0.5523681", "0.5487802", "0.54799265", "0.5461424", "0.5461...
0.58229893
10
Set the code etablissement.
public function setCodeEtablissement($codeEtablissement) { $this->codeEtablissement = $codeEtablissement; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setCode($code);", "public function setCode($code);", "public function setCode($code)\n {\n $this->code = $code;\n }", "public function setCode($code)\n {\n // set the code\n $this->_code = $code;\n \n // reset the strings\n $this->trans = arr...
[ "0.7755713", "0.7755713", "0.74788314", "0.74504834", "0.7243256", "0.7135392", "0.71273434", "0.7114547", "0.6889257", "0.68691427", "0.6833201", "0.6807466", "0.6799851", "0.67494434", "0.6709172", "0.66769475", "0.66764724", "0.66380304", "0.659861", "0.6585336", "0.654156...
0.6107189
74
Set the date debut paternite.
public function setDateDebutPaternite(DateTime $dateDebutPaternite = null) { $this->dateDebutPaternite = $dateDebutPaternite; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static function setDateFormatDay()\n {\n self::$settings[0] = 'Y-m-d';\n }", "public function setDate($date);", "private function set_date()\r\n\t{\r\n\t\tif ($this->month > 12)\r\n\t\t{\r\n\t\t\t$this->month=1;\r\n\t\t\t$this->year++;\r\n\t\t}\r\n\r\n\t\tif ($this->month < 1)\r\n\t\t{\r\n\...
[ "0.72494143", "0.71314543", "0.71057945", "0.7058785", "0.70165825", "0.69737184", "0.69503087", "0.692148", "0.6881239", "0.67546695", "0.6751658", "0.6705154", "0.67023784", "0.67023784", "0.6698466", "0.6694255", "0.6662851", "0.6624011", "0.6572274", "0.6541395", "0.65178...
0.65738904
18
Set the date dern j mens.
public function setDateDernJMens(DateTime $dateDernJMens = null) { $this->dateDernJMens = $dateDernJMens; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function set_date()\r\n\t{\r\n\t\tif ($this->month > 12)\r\n\t\t{\r\n\t\t\t$this->month=1;\r\n\t\t\t$this->year++;\r\n\t\t}\r\n\r\n\t\tif ($this->month < 1)\r\n\t\t{\r\n\t\t\t$this->month=12;\r\n\t\t\t$this->year--;\r\n\t\t}\r\n\r\n\t\tif ($this->year > 2037) $this->year = 2037;\r\n\t\tif ($this->year < 19...
[ "0.7707061", "0.72616184", "0.7190156", "0.71417964", "0.713163", "0.7131001", "0.70884126", "0.70672816", "0.70632863", "0.70632863", "0.69408566", "0.6872899", "0.6851489", "0.6840197", "0.68193805", "0.6796673", "0.6758024", "0.6731103", "0.6729875", "0.67038304", "0.66786...
0.0
-1
Set the date naissance employe.
public function setDateNaissanceEmploye(DateTime $dateNaissanceEmploye = null) { $this->dateNaissanceEmploye = $dateNaissanceEmploye; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function set_date()\r\n\t{\r\n\t\tif ($this->month > 12)\r\n\t\t{\r\n\t\t\t$this->month=1;\r\n\t\t\t$this->year++;\r\n\t\t}\r\n\r\n\t\tif ($this->month < 1)\r\n\t\t{\r\n\t\t\t$this->month=12;\r\n\t\t\t$this->year--;\r\n\t\t}\r\n\r\n\t\tif ($this->year > 2037) $this->year = 2037;\r\n\t\tif ($this->year < 19...
[ "0.72519827", "0.6952645", "0.6942366", "0.69341314", "0.6900791", "0.68350714", "0.6785719", "0.6775258", "0.6772178", "0.6772178", "0.6631212", "0.65668344", "0.64628696", "0.6452138", "0.64067966", "0.6366432", "0.6279073", "0.6247718", "0.62279093", "0.6193304", "0.617799...
0.69560844
1
Set the date naissance enfant.
public function setDateNaissanceEnfant(DateTime $dateNaissanceEnfant = null) { $this->dateNaissanceEnfant = $dateNaissanceEnfant; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setFecha($n)\n {\n $this->c_fecha=$n;\n }", "public function setDateDuJour()\n{\n$this->setDateSysteme(date(\"Y-m-d\"));\n$this->setDateUtilisateur(date(\"d/m/Y\"));\n}", "public function setDate($date);", "protected function setDateUtilisateur($date)\n{\n$this->dateUtilisateur =...
[ "0.7808628", "0.76014775", "0.73596144", "0.7293775", "0.72299474", "0.7221829", "0.71103597", "0.7086874", "0.7086874", "0.70699203", "0.69747514", "0.6901402", "0.68776083", "0.68331146", "0.6762945", "0.6733524", "0.6708349", "0.6687354", "0.6683494", "0.66243535", "0.6582...
0.7120383
6
Set the dern j.
public function setDernJ(DateTime $dernJ = null) { $this->dernJ = $dernJ; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getDernJ() {\n return $this->dernJ;\n }", "private function j() {\n }", "function setDay($d)\r\n {\r\n if($d > 31 || $d < 1) {\r\n $this->dia = 1;\r\n } else {\r\n $this->dia = $d;\r\n }\r\n }", "public function setJadwalDimulai($jad...
[ "0.63446367", "0.5508329", "0.5375601", "0.5297958", "0.5174965", "0.5123468", "0.508628", "0.50707984", "0.5031361", "0.49863082", "0.4960327", "0.49498767", "0.4912852", "0.4892309", "0.48799276", "0.48575872", "0.48490658", "0.4788467", "0.47795036", "0.47523853", "0.47343...
0.5926831
1
Set the dispense travail.
public function setDispenseTravail($dispenseTravail) { $this->dispenseTravail = $dispenseTravail; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getDispenseTravail() {\n return $this->dispenseTravail;\n }", "public function testSetNumeroCarteTravail() {\n\n $obj = new Employes();\n\n $obj->setNumeroCarteTravail(\"numeroCarteTravail\");\n $this->assertEquals(\"numeroCarteTravail\", $obj->getNumeroCarteTravail...
[ "0.6029165", "0.5676616", "0.554448", "0.54712135", "0.5416176", "0.54128075", "0.53842825", "0.52919513", "0.52437794", "0.51896507", "0.51812536", "0.5155434", "0.5078486", "0.50613695", "0.50536484", "0.50536484", "0.504719", "0.50356364", "0.5023263", "0.50230664", "0.500...
0.708766
0
Set the etbl adresse1.
public function setEtblAdresse1($etblAdresse1) { $this->etblAdresse1 = $etblAdresse1; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function setStreet1( &$value )\n {\n $this->Street1 = $value;\n }", "public function getEtblAdresse1() {\n return $this->etblAdresse1;\n }", "public function getEtblAdresse1() {\n return $this->etblAdresse1;\n }", "public function setAddress1($address1)\r\n {\r\n $t...
[ "0.64310783", "0.6414345", "0.6414345", "0.6348597", "0.6345011", "0.6345011", "0.6284593", "0.6205155", "0.6126692", "0.58637524", "0.5651736", "0.5651736", "0.56123877", "0.55980545", "0.5577241", "0.5565588", "0.5526708", "0.552035", "0.5511832", "0.5448438", "0.5430502", ...
0.74971974
1
Set the etbl adresse2.
public function setEtblAdresse2($etblAdresse2) { $this->etblAdresse2 = $etblAdresse2; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function setStreet2( &$value )\n {\n $this->Street2 = $value;\n }", "public function setEtblAdresse1($etblAdresse1) {\n $this->etblAdresse1 = $etblAdresse1;\n return $this;\n }", "public function setEtblAdresse1($etblAdresse1) {\n $this->etblAdresse1 = $etblAdresse1;\n ...
[ "0.68240243", "0.66204965", "0.66204965", "0.6612199", "0.6602968", "0.66026497", "0.66026497", "0.644116", "0.62798226", "0.61825335", "0.59780204", "0.5875645", "0.5875645", "0.57634723", "0.5741063", "0.5695427", "0.5545948", "0.553791", "0.5530153", "0.5529806", "0.551549...
0.74391973
1
Set the etbl adresse3.
public function setEtblAdresse3($etblAdresse3) { $this->etblAdresse3 = $etblAdresse3; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getEtblAdresse3() {\n return $this->etblAdresse3;\n }", "public function setEtblAdresse1($etblAdresse1) {\n $this->etblAdresse1 = $etblAdresse1;\n return $this;\n }", "public function setEtblAdresse1($etblAdresse1) {\n $this->etblAdresse1 = $etblAdresse1;\n ...
[ "0.64634407", "0.5929654", "0.5929654", "0.56583685", "0.56583685", "0.5626059", "0.53908724", "0.5274686", "0.52228135", "0.5222413", "0.5213579", "0.5201986", "0.516101", "0.5155293", "0.50844854", "0.5083218", "0.50007576", "0.49835464", "0.49835464", "0.4975157", "0.49181...
0.7314218
0
Set the etbl raison sociale.
public function setEtblRaisonSociale($etblRaisonSociale) { $this->etblRaisonSociale = $etblRaisonSociale; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setUry($ury) {}", "public function setR($r) {}", "public function getEtblRaisonSociale() {\n return $this->etblRaisonSociale;\n }", "public function getEtblRaisonSociale() {\n return $this->etblRaisonSociale;\n }", "public function setRdate($rdate) {\n $this->rdat...
[ "0.6086399", "0.5993933", "0.58973724", "0.58973724", "0.5655131", "0.5647879", "0.56254107", "0.55026907", "0.5475808", "0.5467594", "0.53350335", "0.532129", "0.52988094", "0.5240007", "0.52399606", "0.5178686", "0.51748174", "0.5141888", "0.51304823", "0.51167506", "0.5098...
0.59500504
3
Set the etbl tel.
public function setEtblTel($etblTel) { $this->etblTel = $etblTel; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setTel($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->tel !== $v) {\n $this->tel = $v;\n $this->modifiedColumns[] = EventPeer::TEL;\n }\n\n\n return $this;\n }", "public function set_tel($_tel)\n {\n...
[ "0.68898445", "0.66195256", "0.6604832", "0.6604832", "0.6494497", "0.626511", "0.626511", "0.626511", "0.61205685", "0.6105368", "0.6092171", "0.6055104", "0.6030813", "0.6030813", "0.6030813", "0.6030813", "0.5964175", "0.5950645", "0.5936094", "0.57648075", "0.56926656", ...
0.7437214
1
Set the intitule compte.
public function setIntituleCompte($intituleCompte) { $this->intituleCompte = $intituleCompte; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getIntituleCompte() {\n return $this->intituleCompte;\n }", "public function testSetCompteComptable() {\n\n $obj = new Collaborateurs();\n\n $obj->setCompteComptable(\"compteComptable\");\n $this->assertEquals(\"compteComptable\", $obj->getCompteComptable());\n }...
[ "0.5896986", "0.56563413", "0.563226", "0.55655843", "0.5520414", "0.55167305", "0.54682654", "0.5367164", "0.5305057", "0.52277005", "0.52263707", "0.51864254", "0.5179039", "0.5158214", "0.51547754", "0.5149708", "0.5136741", "0.51331097", "0.51210594", "0.51080793", "0.510...
0.63653183
0
Set the lien document.
public function setLienDocument($lienDocument) { $this->lienDocument = $lienDocument; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function setDocument() \n\t{\n\t\t$isNew = $this->item->id == 0;\n\t\t$document = JFactory::getDocument();\n\t\t$document->setTitle($isNew ? JText::_('COM_HELLOWORLD_HELLOWORLD_CREATING') : JText::_('COM_HELLOWORLD_HELLOWORLD_EDITING'));\n\t\t$document->addScript(JURI::root() . $this->script);\n\t\t$docu...
[ "0.69454867", "0.68084556", "0.67812395", "0.6767501", "0.6765976", "0.66636884", "0.66559184", "0.65910226", "0.64469105", "0.63934296", "0.63872635", "0.62832487", "0.6121061", "0.60397047", "0.6028623", "0.59924865", "0.5944835", "0.5913729", "0.58659846", "0.58619297", "0...
0.57789713
23
Set the montant general.
public function setMontantGeneral($montantGeneral) { $this->montantGeneral = $montantGeneral; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setGeneral() // Attribuer une valeur générale à un attaquant\n {\n $this->_general = round($this->attaqueCalcul());\n }", "public function getMontantGeneral() {\n return $this->montantGeneral;\n }", "abstract public function setMetas();", "public function setMontantTva($montant...
[ "0.685194", "0.6477238", "0.6166996", "0.5914994", "0.5870595", "0.5870595", "0.5731733", "0.56869847", "0.56565326", "0.56565326", "0.5487709", "0.5443953", "0.5443069", "0.5423828", "0.54011595", "0.5303867", "0.53034526", "0.52806675", "0.52732784", "0.5203123", "0.5164673...
0.70181245
0
Set the montant particulier.
public function setMontantParticulier($montantParticulier) { $this->montantParticulier = $montantParticulier; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testSetMontant() {\n\n $obj = new PointBonTrav();\n\n $obj->setMontant(10.092018);\n $this->assertEquals(10.092018, $obj->getMontant());\n }", "public function testSetMontant1() {\n\n $obj = new Employes();\n\n $obj->setMontant1(10.092018);\n $this->as...
[ "0.6530693", "0.6303402", "0.6228058", "0.609951", "0.609951", "0.60048246", "0.5965888", "0.5962873", "0.5949494", "0.586956", "0.5866632", "0.57987094", "0.5763293", "0.5721387", "0.5648978", "0.5648978", "0.5597043", "0.5581409", "0.5566849", "0.5545622", "0.5543306", "0...
0.64189845
1
Set the mt cg euro ou franc.
public function setMtCgEuroOuFranc($mtCgEuroOuFranc) { $this->mtCgEuroOuFranc = $mtCgEuroOuFranc; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getMtCgEuroOuFranc() {\n return $this->mtCgEuroOuFranc;\n }", "public function getMtCpEuroOuFranc() {\n return $this->mtCpEuroOuFranc;\n }", "function getUTM()\r\n\t{\r\n\t\t// get UTM letter\r\n\t\tif ( $this->nLat <= 84.0 && $this->nLat >= 72.0 )\r\n\t\t\t$utmLetter = 'X';...
[ "0.68803185", "0.6214315", "0.54466486", "0.5380652", "0.5363453", "0.5346744", "0.52931046", "0.52660614", "0.52432215", "0.5242173", "0.51806986", "0.5153001", "0.51450866", "0.5100916", "0.503469", "0.5032983", "0.50122964", "0.5003443", "0.4996376", "0.49860215", "0.49691...
0.610418
2
Set the mt cp euro ou franc.
public function setMtCpEuroOuFranc($mtCpEuroOuFranc) { $this->mtCpEuroOuFranc = $mtCpEuroOuFranc; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getMtCpEuroOuFranc() {\n return $this->mtCpEuroOuFranc;\n }", "public function setCP($cp) {\n\t\t$this->cp = $cp;\n\t}", "public function getMtCgEuroOuFranc() {\n return $this->mtCgEuroOuFranc;\n }", "function sapi_windows_cp_set(int $cp): bool {}", "public function setC...
[ "0.6561021", "0.61093473", "0.60807765", "0.5537584", "0.5362319", "0.5359126", "0.53511244", "0.5285817", "0.5281944", "0.5276307", "0.52614063", "0.5159761", "0.51539123", "0.5145291", "0.5144673", "0.5135426", "0.5125458", "0.51205313", "0.5103345", "0.506436", "0.5059493"...
0.5743844
3
Set the mt sal brut moins150 h.
public function setMtSalBrutMoins150H($mtSalBrutMoins150H) { $this->mtSalBrutMoins150H = $mtSalBrutMoins150H; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getMtSalBrutMoins150H() {\n return $this->mtSalBrutMoins150H;\n }", "public function setMtSalBrutMoins600H($mtSalBrutMoins600H) {\n $this->mtSalBrutMoins600H = $mtSalBrutMoins600H;\n return $this;\n }", "public function getMtSalBrutMoins600H() {\n return $this-...
[ "0.7519646", "0.7187335", "0.7039643", "0.56109107", "0.5544254", "0.55417585", "0.54365575", "0.54143035", "0.51407146", "0.50958455", "0.5071692", "0.50693405", "0.50625235", "0.5032684", "0.5008575", "0.49877858", "0.49852535", "0.4948779", "0.49440333", "0.4935389", "0.48...
0.74409014
1
Set the mt sal brut moins600 h.
public function setMtSalBrutMoins600H($mtSalBrutMoins600H) { $this->mtSalBrutMoins600H = $mtSalBrutMoins600H; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getMtSalBrutMoins600H() {\n return $this->mtSalBrutMoins600H;\n }", "public function getMtSalBrutMoins150H() {\n return $this->mtSalBrutMoins150H;\n }", "public function setMtSalBrutMoins150H($mtSalBrutMoins150H) {\n $this->mtSalBrutMoins150H = $mtSalBrutMoins150H;\n ...
[ "0.74902856", "0.69387895", "0.6385285", "0.5665022", "0.5544806", "0.536009", "0.52975214", "0.52848774", "0.5239685", "0.5216829", "0.5107758", "0.5077674", "0.50608146", "0.50416905", "0.501744", "0.5001427", "0.49728447", "0.4927287", "0.48747626", "0.4868808", "0.4868528...
0.7526913
0
Set the nb enfants a charge.
public function setNbEnfantsACharge($nbEnfantsACharge) { $this->nbEnfantsACharge = $nbEnfantsACharge; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getNbEnfantsACharge() {\n return $this->nbEnfantsACharge;\n }", "public function setNbHt(?float $nbHt): ChargesPaie {\n $this->nbHt = $nbHt;\n return $this;\n }", "function setNiveau($niveau) { $niveau = (int) $niveau;\r\n if ($niveau >= 1 && $niveau <= ...
[ "0.625188", "0.5971702", "0.5909876", "0.5869632", "0.57938373", "0.55552125", "0.55450517", "0.5531046", "0.5510818", "0.5505596", "0.545007", "0.5437025", "0.5385211", "0.537321", "0.5366477", "0.5346514", "0.5336223", "0.5321567", "0.5321108", "0.53200847", "0.5312196", ...
0.57006013
5
Set the nb h cas part.
public function setNbHCasPart($nbHCasPart) { $this->nbHCasPart = $nbHCasPart; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setH($value)\n {\n $this->setParam('h', $value);\n }", "public function setNbHComp(?float $nbHComp): PrepaPaie {\n $this->nbHComp = $nbHComp;\n return $this;\n }", "public function setNbHBase(?float $nbHBase): ChargesPaie {\n $this->nbHBase = $nbHBase;\n retu...
[ "0.5510395", "0.5505417", "0.5429941", "0.54222", "0.5390879", "0.53864753", "0.52583617", "0.51332086", "0.5039268", "0.48939627", "0.4891923", "0.48875803", "0.48654112", "0.48627493", "0.48129302", "0.48080555", "0.4804824", "0.47774792", "0.47706866", "0.47350848", "0.473...
0.6317895
0
Set the nb h general.
public function setNbHGeneral($nbHGeneral) { $this->nbHGeneral = $nbHGeneral; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getNbHGeneral() {\n return $this->nbHGeneral;\n }", "public function setNumberOfHMetrics($value) {}", "public function setH($value)\n {\n $this->setParam('h', $value);\n }", "public function getNbHn(): ?float {\n return $this->nbHn;\n }", "public function setNbreH(?...
[ "0.68551844", "0.62782705", "0.560459", "0.5466795", "0.5428369", "0.5373916", "0.53461426", "0.5289319", "0.5253452", "0.52494055", "0.52249455", "0.51957285", "0.5159444", "0.51197094", "0.510041", "0.5099026", "0.5084571", "0.5079496", "0.50769275", "0.50484216", "0.504834...
0.703059
0
Set the nom employe.
public function setNomEmploye($nomEmploye) { $this->nomEmploye = $nomEmploye; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setNom($nom){\n if(empty($nom)){\n //on redirige\n header(\"Location:../vu/formulaire_inscription.php\");\n return;\n\n }\n //on declare de la variable nom puis on appelle la varibale prive nom\n $this->_nom = $nom;\n }", "public function setNom($value)\n\t{\n\t\t...
[ "0.7084568", "0.7038877", "0.6918272", "0.6835988", "0.68253696", "0.6779115", "0.6755676", "0.6601818", "0.656953", "0.64854044", "0.6459416", "0.6459416", "0.63839495", "0.63839495", "0.63710505", "0.6339373", "0.6321955", "0.6274037", "0.62723845", "0.6261735", "0.6261485"...
0.6080575
31
Set the nom marital.
public function setNomMarital($nomMarital) { $this->nomMarital = $nomMarital; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testSetNomMarital() {\n\n $obj = new AttestationCacm();\n\n $obj->setNomMarital(\"nomMarital\");\n $this->assertEquals(\"nomMarital\", $obj->getNomMarital());\n }", "public function testSetNomMarital() {\n\n $obj = new Employes();\n\n $obj->setNomMarital(\"no...
[ "0.6962476", "0.68306285", "0.6810426", "0.670402", "0.6604578", "0.6409496", "0.63891613", "0.6377793", "0.63755137", "0.6363655", "0.634634", "0.62914294", "0.62914294", "0.6280248", "0.62223494", "0.60001725", "0.5956149", "0.5922789", "0.5922789", "0.5919287", "0.590084",...
0.6494307
5
Set the non repris.
public function setNonRepris($nonRepris) { $this->nonRepris = $nonRepris; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getNonRepris() {\n return $this->nonRepris;\n }", "public function not() {\n\t\t$this->not = '!';\n\t\treturn $this;\n\t}", "public function setNe($x) { $this->ne = $x; }", "public function setNoexec($ne)\n {\n $this->noexec = (boolean) $ne;\n }", "public function set...
[ "0.6789798", "0.66197675", "0.6381324", "0.5944018", "0.59153557", "0.5843811", "0.5836054", "0.5829398", "0.58257836", "0.5818445", "0.5817638", "0.5809363", "0.57627314", "0.5710994", "0.5710994", "0.56978965", "0.5690516", "0.5686984", "0.5660401", "0.5624591", "0.5619352"...
0.71935844
0
Set the numero attestation.
public function setNumeroAttestation($numeroAttestation) { $this->numeroAttestation = $numeroAttestation; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testSetNumeroAttestation() {\n\n $obj = new AttestationCacm();\n\n $obj->setNumeroAttestation(\"numeroAttestation\");\n $this->assertEquals(\"numeroAttestation\", $obj->getNumeroAttestation());\n }", "function setNota_num($inota_num = '')\n {\n $this->inota_num =...
[ "0.7269072", "0.6971353", "0.68026376", "0.65445244", "0.6496827", "0.6386084", "0.6370564", "0.63603365", "0.6334254", "0.6205171", "0.6151522", "0.6151522", "0.61320525", "0.6095881", "0.6055644", "0.6046729", "0.60197306", "0.59876096", "0.5970618", "0.5964431", "0.5964431...
0.66018647
4
Set the numero employe.
public function setNumeroEmploye($numeroEmploye) { $this->numeroEmploye = $numeroEmploye; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testSetNumeroEmploye() {\n\n $obj = new AttestationCacm();\n\n $obj->setNumeroEmploye(\"numeroEmploye\");\n $this->assertEquals(\"numeroEmploye\", $obj->getNumeroEmploye());\n }", "public function testSetNumero() {\n\n $obj = new Employes();\n\n $obj->setNume...
[ "0.71420723", "0.70451", "0.6846336", "0.6846336", "0.6846336", "0.66757107", "0.66350424", "0.65173405", "0.6441297", "0.6436283", "0.6435224", "0.6433659", "0.6415191", "0.62938696", "0.62887955", "0.6266699", "0.62031996", "0.618896", "0.61657405", "0.61638904", "0.6120768...
0.6642303
8
Set the paiement en euro.
public function setPaiementEnEuro($paiementEnEuro) { $this->paiementEnEuro = $paiementEnEuro; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getPaiementEnEuro() {\n return $this->paiementEnEuro;\n }", "public function setPesoArea($peso) {\n $this->_peso = $peso; \n }", "function setEstanteria($_codigoEstanteria){\r\n $this->estanteria=$_codigoEstanteria;\r\n }", "public function getPeriodeAu() {\n ...
[ "0.6726171", "0.6121081", "0.58242524", "0.5794459", "0.5791253", "0.5775971", "0.57461715", "0.5732518", "0.5646602", "0.5635794", "0.56346846", "0.5630907", "0.5614467", "0.5587414", "0.5572525", "0.5565851", "0.55516565", "0.55393535", "0.5536037", "0.5513375", "0.5464269"...
0.6318065
1
Set the periode au.
public function setPeriodeAu(DateTime $periodeAu = null) { $this->periodeAu = $periodeAu; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function setEpoca($iepoca = '')\n {\n $this->iepoca = $iepoca;\n }", "public function getPeriodeAu() {\n return $this->periodeAu;\n }", "public function setPesoArea($peso) {\n $this->_peso = $peso; \n }", "function setAdmin() {\n\t\t$this->_extension_high = \"\";\n\t\t$this...
[ "0.58586884", "0.58577055", "0.57261205", "0.56620455", "0.5537341", "0.5429177", "0.53952545", "0.5386963", "0.5375958", "0.536093", "0.53569627", "0.53023034", "0.5296972", "0.52951145", "0.5238498", "0.52192307", "0.52105576", "0.5207513", "0.51985854", "0.51975507", "0.51...
0.5661623
4
Set the periode du.
public function setPeriodeDu(DateTime $periodeDu = null) { $this->periodeDu = $periodeDu; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getPeriodeDu() {\n return $this->periodeDu;\n }", "function CPerfil($dper){\t$this->dper = $dper;\t}", "protected function setVida() {\n $this->vida = 200;\n }", "public function testSetPeriode() {\n\n // Set a Date/time mock.\n $periode = new DateTime(\"2018...
[ "0.6219781", "0.57568026", "0.5625337", "0.55510277", "0.5498643", "0.5462768", "0.54609346", "0.5460492", "0.5460492", "0.54181355", "0.5345777", "0.53418845", "0.5317055", "0.52955896", "0.5281206", "0.5244703", "0.52120703", "0.51887196", "0.5143903", "0.5142232", "0.51412...
0.570453
2
Set the periode subr au.
public function setPeriodeSubrAu(DateTime $periodeSubrAu = null) { $this->periodeSubrAu = $periodeSubrAu; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getPeriodeSubrAu() {\n return $this->periodeSubrAu;\n }", "function setRestarPais(){\n\t\t$this->cantidad_paises--;\n\t}", "public function getPeriodeSubrDu() {\n return $this->periodeSubrDu;\n }", "function set_parent($parent)\r\n {\r\n $this->parent = $parent;\...
[ "0.5791211", "0.5400335", "0.5337396", "0.53221637", "0.52510077", "0.52428615", "0.51784086", "0.5160976", "0.510818", "0.5089068", "0.5055793", "0.5019125", "0.50155056", "0.49956346", "0.4995259", "0.49816465", "0.49749538", "0.49707505", "0.49570417", "0.49516904", "0.493...
0.56920934
1
Set the periode subr du.
public function setPeriodeSubrDu(DateTime $periodeSubrDu = null) { $this->periodeSubrDu = $periodeSubrDu; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getPeriodeSubrDu() {\n return $this->periodeSubrDu;\n }", "public function getPeriodeSubrAu() {\n return $this->periodeSubrAu;\n }", "public function setPeriodeSubrAu(DateTime $periodeSubrAu = null) {\n $this->periodeSubrAu = $periodeSubrAu;\n return $this;\n ...
[ "0.5936033", "0.5472491", "0.53441644", "0.5271361", "0.5267191", "0.52468234", "0.5229783", "0.5168123", "0.5159658", "0.50777733", "0.50657064", "0.50412333", "0.50323623", "0.5029432", "0.49274123", "0.49197626", "0.49152356", "0.49123108", "0.48600665", "0.4846196", "0.48...
0.59841317
0
Set the prenom employe.
public function setPrenomEmploye($prenomEmploye) { $this->prenomEmploye = $prenomEmploye; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setNumeroEmploye(?string $numeroEmploye): PrepaPaie {\n $this->numeroEmploye = $numeroEmploye;\n return $this;\n }", "public function testSetPrenom() {\n\n $obj = new Employes();\n\n $obj->setPrenom(\"prenom\");\n $this->assertEquals(\"prenom\", $obj->getPren...
[ "0.64211816", "0.6336441", "0.6193238", "0.61533844", "0.6150885", "0.6082781", "0.5976428", "0.594993", "0.58826363", "0.5880677", "0.5866691", "0.58579713", "0.58394736", "0.5808791", "0.5795179", "0.57919085", "0.5760322", "0.57584465", "0.57496285", "0.5696624", "0.568357...
0.63876516
1
Set the reprise motif med.
public function setRepriseMotifMed($repriseMotifMed) { $this->repriseMotifMed = $repriseMotifMed; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getRepriseMotifMed() {\n return $this->repriseMotifMed;\n }", "public function setRise($rise) {}", "public function testSetMotifRupture() {\n\n $obj = new AttestationCacm();\n\n $obj->setMotifRupture(\"motifRupture\");\n $this->assertEquals(\"motifRupture\", $obj-...
[ "0.61284965", "0.5820954", "0.5367605", "0.5340308", "0.5266526", "0.52644074", "0.52555054", "0.5242494", "0.51762193", "0.51636565", "0.5039836", "0.5039836", "0.5039836", "0.49996296", "0.49843413", "0.4964447", "0.49579167", "0.4952581", "0.49348414", "0.49043378", "0.490...
0.661334
0
Set the reprise raison pers.
public function setRepriseRaisonPers($repriseRaisonPers) { $this->repriseRaisonPers = $repriseRaisonPers; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function set_persR($_persR)\n {\n $this->_persR = $_persR;\n\n return $this;\n }", "public function getRepriseRaisonPers() {\n return $this->repriseRaisonPers;\n }", "public function setPR($r) {}", "public function setRealations(){\n\n }", "public function setRis...
[ "0.67494875", "0.6448145", "0.62792486", "0.58824193", "0.5712311", "0.56753546", "0.55229974", "0.5493988", "0.5284306", "0.5235466", "0.5194359", "0.51708", "0.5138197", "0.50563765", "0.50434816", "0.5022134", "0.50184816", "0.49817193", "0.49693915", "0.49584255", "0.4956...
0.67442745
1
Set the signature date.
public function setSignatureDate(DateTime $signatureDate = null) { $this->signatureDate = $signatureDate; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setDate($date);", "private function _setDate(){\n\t\tif($this->_year>=1970&&$this->_year<=2038){\n\t\t\t$this->_day = date('d', $this->_timestamp);\n\t\t\t$this->_month = date('m', $this->_timestamp);\n\t\t\t$this->_year = date('Y', $this->_timestamp);\n\t\t} else {\n\t\t\t$dateParts = self::_get...
[ "0.6909436", "0.6663818", "0.6610339", "0.65995985", "0.65995985", "0.65993595", "0.65898025", "0.6589389", "0.6589389", "0.6571134", "0.6508739", "0.63443655", "0.6335881", "0.63342345", "0.6319506", "0.63190424", "0.61906254", "0.6176249", "0.6162845", "0.61507285", "0.6148...
0.71012825
1
Set the signature nom.
public function setSignatureNom($signatureNom) { $this->signatureNom = $signatureNom; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function setSignature($signature)\n {\n $this->_signature = $signature;\n }", "public function setSignature($var)\n {\n GPBUtil::checkString($var, False);\n $this->signature = $var;\n }", "protected function setSignature( $data ){\n $this->signature = $data;\n }", "public...
[ "0.69108033", "0.6769624", "0.67439985", "0.6633301", "0.65520185", "0.65520185", "0.6438699", "0.6408092", "0.6312609", "0.63100636", "0.63100636", "0.6043043", "0.60353273", "0.5914921", "0.5829719", "0.58012414", "0.5785282", "0.5766921", "0.5722799", "0.5718464", "0.56698...
0.6658335
4
Set the signature qualite.
public function setSignatureQualite($signatureQualite) { $this->signatureQualite = $signatureQualite; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function setSignature($signature)\n {\n $this->_signature = $signature;\n }", "public function SetSignatureParameter() {\n $signature_text = $this->signature->build_signature($this->request, $this->consumer, $this->token);\n $this->request->set_parameter('signature', $signature_text);\n ret...
[ "0.68597966", "0.6698528", "0.66283333", "0.66129583", "0.65129846", "0.65129846", "0.64959246", "0.63993406", "0.6354599", "0.6199017", "0.6166662", "0.61617255", "0.61617255", "0.61406803", "0.6127692", "0.6059226", "0.5842635", "0.58299285", "0.5742746", "0.57163054", "0.5...
0.7103444
1
Set the signature ville.
public function setSignatureVille($signatureVille) { $this->signatureVille = $signatureVille; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function setSignature( $data ){\n $this->signature = $data;\n }", "function setSignature($signature)\n {\n $this->_signature = $signature;\n }", "public function SetSignatureParameter() {\n $signature_text = $this->signature->build_signature($this->request, $this->consumer, $this-...
[ "0.6864862", "0.67513925", "0.6582091", "0.65801716", "0.65205884", "0.64514726", "0.64514726", "0.64172405", "0.63131857", "0.62962157", "0.61627716", "0.6137811", "0.6005786", "0.6005786", "0.5990562", "0.58488834", "0.58160585", "0.5807098", "0.5639753", "0.56099945", "0.5...
0.7040498
1
Set the subrogation constantes.
public function setSubrogationConstantes($subrogationConstantes) { $this->subrogationConstantes = $subrogationConstantes; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getSubrogationConstantes() {\n return $this->subrogationConstantes;\n }", "protected function _initSetConstants() {\n // Them file cau hinh cac hang so su dung trong project\n $config = parse_ini_file(APPLICATION_PATH . '/configs/constant.ini');\n foreach($config as...
[ "0.6075742", "0.6019924", "0.5948071", "0.5896313", "0.57862264", "0.57647413", "0.5660662", "0.56162435", "0.54969156", "0.5464344", "0.54320496", "0.5307176", "0.5259188", "0.52374816", "0.51791286", "0.51719314", "0.5167643", "0.5162132", "0.5160093", "0.5110295", "0.50815...
0.69706935
0
Set the subrogation montant.
public function setSubrogationMontant($subrogationMontant) { $this->subrogationMontant = $subrogationMontant; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getSubrogationMontant() {\n return $this->subrogationMontant;\n }", "public function testSetMontant() {\n\n $obj = new PointBonTrav();\n\n $obj->setMontant(10.092018);\n $this->assertEquals(10.092018, $obj->getMontant());\n }", "function setSuperada($bsuperada ...
[ "0.5878443", "0.5383034", "0.53604084", "0.53046715", "0.5291558", "0.5291558", "0.5260345", "0.5209268", "0.52006876", "0.5165598", "0.5149714", "0.51269794", "0.5103591", "0.50887614", "0.5007486", "0.49790245", "0.4976187", "0.4975825", "0.49103114", "0.4910307", "0.490913...
0.6784718
0
Set the subrogation partielle.
public function setSubrogationPartielle($subrogationPartielle) { $this->subrogationPartielle = $subrogationPartielle; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function setSubstep($new_substep)\n\t{\n\t\t$this->activeSubstep = $new_substep;\n\t}", "public function setSubserial($v)\n\t{\n\n\t\tif ($this->subserial !== $v || $v === false) {\n\t\t\t$this->subserial = $v;\n\t\t\t$this->modifiedColumns[] = MmPeer::SUBSERIAL;\n\t\t}\n\n\t}", "public function setS...
[ "0.62581486", "0.60434854", "0.59658307", "0.5916466", "0.57746464", "0.57263976", "0.567553", "0.5668145", "0.56507933", "0.5633211", "0.55247366", "0.552281", "0.5512364", "0.5463369", "0.53553295", "0.53441674", "0.53051686", "0.52969015", "0.52481943", "0.5228681", "0.522...
0.643087
0
Set the suspension date.
public function setSuspensionDate(DateTime $suspensionDate = null) { $this->suspensionDate = $suspensionDate; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setSuspendDate($v)\n {\n $dt = PropelDateTime::newInstance($v, null, 'DateTime');\n if ($this->suspend_date !== null || $dt !== null) {\n if ($this->suspend_date === null || $dt === null || $dt->format(\"Y-m-d H:i:s.u\") !== $this->suspend_date->format(\"Y-m-d H:i:s.u\")...
[ "0.69102025", "0.6624781", "0.64760685", "0.6456377", "0.6308923", "0.63024324", "0.63024324", "0.62916654", "0.62397474", "0.62283295", "0.6111231", "0.5951811", "0.595108", "0.5932211", "0.5932211", "0.5930407", "0.5918174", "0.5811013", "0.5776216", "0.57286584", "0.571954...
0.71887213
0
Set the suspension motif.
public function setSuspensionMotif($suspensionMotif) { $this->suspensionMotif = $suspensionMotif; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getSuspensionMotif() {\n return $this->suspensionMotif;\n }", "public function setProyectorMuteado( $muteado ) {\n $this->proyector_muteatu=$muteado;\n \n\tif($muteado){\n\t $this->proyector_pizarra->mutear();\n\t}else{\n\t $this->proyector_pizarra->desmutear();\n\t}\n\t...
[ "0.5546344", "0.5532672", "0.52472496", "0.52098227", "0.51793486", "0.51688", "0.4989135", "0.4973923", "0.49666145", "0.49391243", "0.4938052", "0.49182537", "0.48981625", "0.48835284", "0.48410162", "0.48362947", "0.47903314", "0.47844258", "0.47786203", "0.47590762", "0.4...
0.64169466
0
Set the travail temp.
public function setTravailTemp($travailTemp) { $this->travailTemp = $travailTemp; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getTravailTemp() {\n return $this->travailTemp;\n }", "public function set_temp_dir() {\n\t\t$this->temp_dir = tempnam( $this->sys_temp_dir, \"RTV\" );\n\t\tunlink( $this->temp_dir );\n\t\tmkdir( $this->temp_dir );\n\t\techo \"Temporary dir: {$this->temp_dir}\" . PHP_EOL;\n\t}", "publ...
[ "0.60227126", "0.5648416", "0.5625851", "0.5614505", "0.5585015", "0.55531025", "0.54940844", "0.5488171", "0.54624474", "0.54314756", "0.53815866", "0.53402066", "0.5285139", "0.5276806", "0.52708614", "0.52237195", "0.52210206", "0.5156025", "0.5123591", "0.50986797", "0.50...
0.6356814
0
Set the type attestation.
public function setTypeAttestation($typeAttestation) { $this->typeAttestation = $typeAttestation; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function setType($type) {\n $this->type = $type;\n }", "public function setType($t){\n $this->type = $t;\n }", "public function setType($type) {}", "function setType($type) {\n\t\t$this->_type = $type;\n\t}", "function setType($type) {\n\t\t$this->_type = $type;\n\t}", "public functio...
[ "0.71422905", "0.71036786", "0.704833", "0.7044147", "0.7044147", "0.7034061", "0.7014683", "0.7014683", "0.7014683", "0.69794303", "0.69794303", "0.6978862", "0.69111586", "0.6901483", "0.6901483", "0.6901483", "0.6901483", "0.6901483", "0.6901483", "0.6901483", "0.6901483",...
0.6737146
38
Seed the application's database.
public static function likeUniqueSeeding(){ for ($i=0;$i = 10000; $i++){ try{ Like::factory()->create([ 'user_id' => User::pluck('id')->random(), 'post_id' => Post::pluck('id')->random(), 'vote_type' => 'up' ]); } catch(Exception $e){ DatabaseSeeder::likeUniqueSeeding(); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static function dbSeed(){\n\t\tif (App::runningUnitTests()) {\n\t\t\t//Turn foreign key checks off\n\t\t\tDB::statement('SET FOREIGN_KEY_CHECKS=0;');// <- USE WITH CAUTION!\n\t\t\t//Seed tables\n\t\t\tArtisan::call('db:seed');\n\t\t\t//Turn foreign key checks on\n\t\t\tDB::statement('SET FOREIGN_KEY_CHECKS=...
[ "0.8064933", "0.7848158", "0.7674873", "0.724396", "0.7216743", "0.7132209", "0.70970356", "0.70752203", "0.704928", "0.699208", "0.6987078", "0.69839287", "0.6966499", "0.68990964", "0.6868679", "0.68468624", "0.68307716", "0.68206114", "0.6803113", "0.6803113", "0.6801801",...
0.0
-1
Check is url allow for useragent
public function testIsUrlAllow(array $rules, $url, $isAllowedExpected) { $robotsTxtValidator = new RobotsTxtValidator($rules); $this->assertEquals($isAllowedExpected, $robotsTxtValidator->isUrlAllow($url)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function url_check($url) { \n $hdrs = @get_headers($url); \n return is_array($hdrs) ? preg_match('/^HTTP\\\\/\\\\d+\\\\.\\\\d+\\\\s+2\\\\d\\\\d\\\\s+.*$/',$hdrs[0]) : false; \n}", "function robots_allowed($url, $useragent=false)\n {\n // parse url to retrieve host and path\n $parsed = parse_...
[ "0.70599777", "0.7048195", "0.6899427", "0.6887448", "0.6856862", "0.68561894", "0.6817258", "0.6816445", "0.66175884", "0.66160023", "0.6560934", "0.65259635", "0.65186954", "0.645818", "0.64455366", "0.64455366", "0.643893", "0.64380145", "0.6435357", "0.643116", "0.6395582...
0.0
-1
Generate test case data
public function isUrlAllowRulesWithUrlsProvider() { return array( array( array(), '/url', true ), array( array( 'googleBot' => array( 'disallow' => array( '/url' ), ), ), '/url', true ), array( array( '*' => array(), ), '/url', true ), array( array( '*' => array( 'disallow' => array( '/url/2', ), ), ), '/url', true ), array( array( '*' => array( 'disallow' => array( '/url/2', ), ), ), '/url/2', false ), array( array( '*' => array( 'allow' => array( '/url/test2', ), 'disallow' => array( '/url', ), ), ), '/url', false ), array( array( '*' => array( 'allow' => array( '/url/test2', ), 'disallow' => array( '/url', ), ), ), '/url/any', false ), array( array( '*' => array( 'allow' => array( '/url/specificPath', ), 'disallow' => array( '/', ), ), ), '/url/specificPath', true ), ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static function createSampleData()\n\t{\n\t\tself::createSampleObject(1, \"Issue 1\", 1);\n\t\tself::createSampleObject(2, \"Issue 2\", 1);\n\t}", "public function dataProviderTestGenerate()\n {\n yield [\n [\n 'seed' => 0,\n 'min' => 0,\n ...
[ "0.74458015", "0.7135655", "0.6897274", "0.6881263", "0.68571585", "0.6828665", "0.66274965", "0.6596069", "0.65485215", "0.6547817", "0.65441424", "0.65346164", "0.6529172", "0.6521252", "0.645993", "0.64151686", "0.6414389", "0.6404725", "0.63242847", "0.63128835", "0.62972...
0.0
-1
Generate test case data
public function IsUrlAllowWithSpecificUserAgentProvider() { return array( array( array( '*' => array( 'disallow' => array( '/fr/' ), ), ), '/fr/page2', 'MyUserAgent', false ), ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static function createSampleData()\n\t{\n\t\tself::createSampleObject(1, \"Issue 1\", 1);\n\t\tself::createSampleObject(2, \"Issue 2\", 1);\n\t}", "public function dataProviderTestGenerate()\n {\n yield [\n [\n 'seed' => 0,\n 'min' => 0,\n ...
[ "0.74458015", "0.7135655", "0.6897274", "0.6881263", "0.68571585", "0.6828665", "0.66274965", "0.6596069", "0.65485215", "0.6547817", "0.65441424", "0.65346164", "0.6529172", "0.6521252", "0.645993", "0.64151686", "0.6414389", "0.6404725", "0.63242847", "0.63128835", "0.62972...
0.0
-1
Generate test case data
public function getRelativeUrlProvider() { return [ [ 'http://example.com/test', '/test', ], [ 'https://example.com/test/path', '/test/path', ], [ '/test/any/path', '/test/any/path', ], [ 'http://example.com', '/', ], [ 'http://example.com/', '/', ], [ '/', '/', ], [ '/some/path', '/some/path', ] ]; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static function createSampleData()\n\t{\n\t\tself::createSampleObject(1, \"Issue 1\", 1);\n\t\tself::createSampleObject(2, \"Issue 2\", 1);\n\t}", "public function dataProviderTestGenerate()\n {\n yield [\n [\n 'seed' => 0,\n 'min' => 0,\n ...
[ "0.74458015", "0.7135655", "0.6897274", "0.6881263", "0.68571585", "0.6828665", "0.66274965", "0.6596069", "0.65485215", "0.6547817", "0.65441424", "0.65346164", "0.6529172", "0.6521252", "0.645993", "0.64151686", "0.6414389", "0.6404725", "0.63242847", "0.63128835", "0.62972...
0.0
-1
Constructor method for InsolvencyReport
public function __construct($report_id = null, $title = null, $date = null, $is_final = null) { $this ->setReport_id($report_id) ->setTitle($title) ->setDate($date) ->setIs_final($is_final); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function __construct($report)\n {\n $this->report=$report;\n }", "public function _construct()\n {\n $this->_init('visitorreport/visitorreport', 'id_visitorreport');\n }", "public function __construct(Report $report)\n {\n $this->report = $report;\n }", "public f...
[ "0.728132", "0.7176749", "0.7088685", "0.7088685", "0.69860864", "0.68330586", "0.68112195", "0.6807271", "0.68008876", "0.66916704", "0.66848636", "0.66563165", "0.65547407", "0.648446", "0.64566165", "0.64261466", "0.6424506", "0.63843226", "0.6362328", "0.6362101", "0.6357...
0.59732383
71
Method called when an object has been exported with var_export() functions It allows to return an object instantiated with the values
public static function __set_state(array $array) { return parent::__set_state($array); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function ExportObject() {\n // Init object\n $plugin = new stdClass();\n // Set values\n $plugin->Name = $this->Name;\n $plugin->Version = $this->Version;\n $plugin->Author = $this->Author;\n $plugin->About = $this->About;\n $plugin->Root = $this->Roo...
[ "0.6951056", "0.69235533", "0.6576406", "0.6377145", "0.61438453", "0.6123597", "0.60555947", "0.60385406", "0.5922576", "0.5922576", "0.5922576", "0.5922576", "0.5922576", "0.5859328", "0.58386916", "0.58126146", "0.5800945", "0.5715804", "0.571534", "0.5712997", "0.5688761"...
0.0
-1
Method returning the class name
public function __toString() { return __CLASS__; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getClassName();", "public function getClassName();", "public function getClassName() ;", "public function getClassName() {}", "public function getClassName() {}", "public function getClassName() {}", "public function getClassName() {}", "public function getClassName()\n {\n ...
[ "0.87522393", "0.87522393", "0.8751158", "0.87397957", "0.87397957", "0.87397957", "0.87397957", "0.8731564", "0.8696754", "0.8673495", "0.8638432", "0.8615335", "0.8603119", "0.8566906", "0.8562364", "0.8555002", "0.85503733", "0.85503733", "0.85425884", "0.8533183", "0.8529...
0.0
-1
Save the object to the database
public function save(DeviceHistory $object) { $bObject = ($object->id > 0) ? R::load(self::$tbl, $object->id) : R::dispense(self::$tbl); $bObject = $this->toBean($object, $bObject); $object->id = R::store($bObject); return $object; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function save()\n {\n\n // generate all column's sql query\n $column_names = '';\n $column_values = '';\n foreach ($this->columns as $field_name => $column_obj)\n {\n if ($column_obj->columnName === null) {\n $column_names .= $field_name.', ';\...
[ "0.8131476", "0.7943055", "0.7929245", "0.7929245", "0.7929245", "0.7929245", "0.7929245", "0.7929245", "0.7929245", "0.7929245", "0.7929245", "0.7929245", "0.7929245", "0.7929245", "0.7929245", "0.7929245", "0.7929245", "0.7929245", "0.7929245", "0.7929245", "0.7824086", "...
0.0
-1
Load an object from the database
public function load($id) { $bObject = R::load(self::$tbl, $id); if ($bObject->id > 0) { $object = $this->toObject($bObject); } return isset($object) ? $object : new DeviceHistory(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private final function loadObjectFromDb()\n {\n # TODO: would be far preferable to use the objectsFromDestinations() code, possibly by refactoring into another shareable function. this is needed because otherwise we're in object A and OrmClass->load() is generating object B, instead of popula...
[ "0.8006788", "0.73985064", "0.7235853", "0.7030275", "0.7015539", "0.70094645", "0.70094645", "0.69436646", "0.6813867", "0.6802997", "0.6802997", "0.6802997", "0.6802997", "0.6802997", "0.6802997", "0.6802997", "0.6802997", "0.6802997", "0.6802997", "0.6802997", "0.6802997",...
0.0
-1
Retrieve all values for an device
public function getArrayByDevice(Device $device) { $bObjects = R::find( self::$tbl, ' deviceId = :deviceId ', array("deviceId"=>$device->id)); $objects = array(); foreach ($bObjects as $bObject) { $objects[] = $this->toObject($bObject); } return $objects; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getAllDevice(){\n $query = \"select distinct device_id from $this->basicSensorLog_tableName\";\n $result = $this->dbh->query($query);\n if($result->rowCount() > 0){\n return $result->fetchAll();\n }\n return null;\n }", "function get() \n {\n ...
[ "0.70851636", "0.69093764", "0.68112594", "0.67724496", "0.676738", "0.6767131", "0.6728665", "0.6648627", "0.6645937", "0.65865904", "0.65835595", "0.65835595", "0.65132505", "0.65132505", "0.64975464", "0.64951086", "0.6411156", "0.63590866", "0.6266051", "0.62638247", "0.6...
0.0
-1
add or update the Device History
public function addOrUpdateDeviceHistoryByDeviceAndTime(DeviceHistory $deviceHistory) { $bean = R::findOne( self::$tbl, ' deviceId = :deviceId AND time = :time ', array(':deviceId'=>$deviceHistory->deviceId, ':time' => $deviceHistory->time) ); if (!$bean){ $bean = R::dispense(self::$tbl); } $bean = $this->toBean($deviceHistory, $bean); $bean->deviceId = $deviceHistory->deviceId; $bean->time = $deviceHistory->time; $bean->amount = $deviceHistory->amount; $bean->processed = $deviceHistory->processed; $deviceHistory->id = R::store($bean); return $deviceHistory; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function updateHistory()\n {\n self::$history[] = time();\n if(30 === count(self::$history))\n {\n if(reset(self::$history) >= (time() - 30))\n {\n sleep(2);\n }\n array_shift(self::$history);\n }\n }", "protected function updateHistory() {\n self::$histo...
[ "0.6141389", "0.6108143", "0.5999649", "0.58444494", "0.5755704", "0.57429683", "0.5737426", "0.57036966", "0.5699356", "0.5697036", "0.5687135", "0.5656135", "0.5559893", "0.5518729", "0.5514207", "0.54897416", "0.54684585", "0.54410625", "0.5428704", "0.5405801", "0.5376628...
0.6487874
0
Create a new controller instance.
public function __construct() { $this->middleware('auth'); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function createController()\n {\n $this->createClass('controller');\n }", "protected function createController()\n {\n $controller = Str::studly(class_basename($this->getNameInput()));\n\n $modelName = $this->qualifyClass('Models/'.$this->getNameInput());\n\n $this-...
[ "0.82668066", "0.8173394", "0.78115296", "0.77052677", "0.7681875", "0.7659338", "0.74860525", "0.74064577", "0.7297601", "0.7252339", "0.7195181", "0.7174191", "0.70150065", "0.6989306", "0.69835985", "0.69732994", "0.6963521", "0.6935819", "0.68973273", "0.68920785", "0.687...
0.0
-1
Show the application dashboard.
public function index(Request $request) { $data = Grocery::select('name','quantity','date','status','id'); if($request->date){ $data->where('date','=',$request->date); } $data=$data->paginate(20); return view('home',['data'=>$data]); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function dashboard()\n {\n\n $pageData = (new DashboardService())->handleDashboardLandingPage();\n\n return view('application', $pageData);\n }", "function dashboard() {\r\n\t\t\tTrackTheBookView::render('dashboard');\r\n\t\t}", "public function showDashboard() { \n\t\n ...
[ "0.77850926", "0.7760142", "0.7561336", "0.75147176", "0.74653697", "0.7464913", "0.73652893", "0.7351646", "0.7346477", "0.73420244", "0.7326711", "0.7316215", "0.73072463", "0.7287626", "0.72826403", "0.727347", "0.727347", "0.727347", "0.727347", "0.7251768", "0.7251768", ...
0.0
-1
Process all incoming requests passed to this controller, checking that the file exists and passing the file through if possible.
public function handleRequest(SS_HTTPRequest $request, DataModel $model) { $response = new SS_HTTPResponse(); $filename = $request->getURL(); if (strpos($filename, 'cdnassets') === 0) { $filename = 'assets/' . substr($filename, strlen('cdnassets/')); } $file = null; if (strpos($filename, '_resampled') !== false) { $file = ContentServiceAsset::get()->filter('Filename', $filename)->first(); } else if (strpos($filename, '/_versions/') !== false) { $file = FileVersion::get()->filter('Filename', "/" . $filename)->first(); } else { $file = File::get()->filter('filename', $filename)->first(); } if ($file && $file->canView()) { if (!$file->CDNFile && !$file->FilePointer) { return $this->httpError(404); } // Permission passed redirect to file $redirectLink = ''; if ($file->getViewType() != CDNFile::ANYONE_PERM) { if ($file->hasMethod('getSecureURL')) { $redirectLink = $file->getSecureURL(180); } if (!strlen($redirectLink)) { // can we stream it? return $this->sendFile($file); } } else { $redirectLink = $file->getURL(); } if ($redirectLink && trim($redirectLink, '/') != $request->getURL()) { $response->redirect($redirectLink); } else { return $this->httpError(404); } } else { if (class_exists('SecureFileController')) { $handoff = SecureFileController::create(); return $handoff->handleRequest($request, $model); } elseif ($file instanceof File) { // Permission failure Security::permissionFailure($this, 'You are not authorised to access this resource. Please log in.'); } else { // File doesn't exist $response = new SS_HTTPResponse('File Not Found', 404); } } return $response; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function action_index()\n\t{\n\t\t// Load the configuration\n\t\t$config = Kohana::$config->load('assets');\n\n\t\t// Get the filename from current request\n\t\t$file = $this->request->param('file');\n\n\t\textract(pathinfo($file), EXTR_SKIP);\n\n\t\tif (in_array($extension, $config['ignore_exts']))\n\t\t{\...
[ "0.64384407", "0.6399136", "0.6019967", "0.5965162", "0.5957636", "0.5849406", "0.57927537", "0.5789957", "0.5722492", "0.5692433", "0.569197", "0.5668956", "0.56435895", "0.5637041", "0.560999", "0.5600878", "0.55831087", "0.5571375", "0.5566083", "0.55614144", "0.555771", ...
0.53039706
54
Output file to the browser. For performance reasons, we avoid SS_HTTPResponse and just output the contents instead.
public function sendFile($file) { $reader = $file->reader(); if (!$reader || !$reader->isReadable()) { return; } if(class_exists('SapphireTest', false) && SapphireTest::is_running_test()) { return $reader->read(); } $type = HTTP::get_mime_type($file->Filename); $disposition = strpos($type, 'image') !== false ? 'inline' : 'attachment'; header('Content-Description: File Transfer'); // Quotes needed to retain spaces (http://kb.mozillazine.org/Filenames_with_spaces_are_truncated_upon_download) header(sprintf('Content-Disposition: %s; filename="%s"', $disposition, basename($file->Filename))); header('Content-Length: ' . $file->FileSize); header('Content-Type: ' . $type); header('Content-Transfer-Encoding: binary'); // Ensure we enforce no-cache headers consistently, so that files accesses aren't cached by CDN/edge networks header('Pragma: no-cache'); header('Cache-Control: private, no-cache, no-store'); increase_time_limit_to(0); // Clear PHP buffer, otherwise the script will try to allocate memory for entire file. while (ob_get_level() > 0) { ob_end_flush(); } // Prevent blocking of the session file by PHP. Without this the user can't visit another page of the same // website during download (see http://konrness.com/php5/how-to-prevent-blocking-php-requests/) session_write_close(); echo $reader->read(); die(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected final function output ()\n\t{\n\t\tif ($this->isFailed() || !$this->isOutputSet())\n\t\t{\n\t\t\t$this->outputData();\n\t\t}\n\t\telse\n\t\t{\n\t\t\theader('Content-Description: File Download');\n\t\t\theader('Content-Type: ' . $this->outputContentType);\n\t\t\t$disposition = $this->attachResult ?\n\t\t\...
[ "0.7589871", "0.74656993", "0.7374851", "0.73515546", "0.70269644", "0.6875979", "0.68403023", "0.6798319", "0.6770095", "0.66800004", "0.6676733", "0.666618", "0.6660265", "0.65708005", "0.64666605", "0.6411454", "0.6400285", "0.63420564", "0.63388956", "0.6320997", "0.62677...
0.5638829
69
Display a listing of the resource.
public function index() { $categories=category::get_all(); return view('admin.category.index',compact('categories')); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function indexAction()\n {\n $limit = $this->Request()->getParam('limit', 1000);\n $offset = $this->Request()->getParam('start', 0);\n $sort = $this->Request()->getParam('sort', array());\n $filter = $this->Request()->getParam('filter', array());\n\n $result = $this->re...
[ "0.7446777", "0.736227", "0.73005503", "0.72478926", "0.71631265", "0.71489686", "0.7131636", "0.7105969", "0.71029514", "0.7101372", "0.70508176", "0.6995128", "0.69890636", "0.6934895", "0.6900203", "0.6899281", "0.6891734", "0.6887235", "0.68670005", "0.6849741", "0.683052...
0.0
-1
Show the form for creating a new resource.
public function create() { return view('admin.category.create'); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function create()\n {\n return $this->showForm('create');\n }", "public function create()\n {\n return $this->showForm('create');\n }", "public function create()\n {\n return view('admin.resources.create');\n }", "public function create(){\n\n return view(...
[ "0.75948673", "0.75948673", "0.75863165", "0.7577412", "0.75727344", "0.7500887", "0.7434847", "0.7433956", "0.73892003", "0.73531085", "0.73364776", "0.73125", "0.7296102", "0.7281891", "0.72741455", "0.72424185", "0.7229325", "0.7226713", "0.7187349", "0.7179176", "0.717428...
0.0
-1
Store a newly created resource in storage.
public function store(Request $request) { $data=$request->all(); if($request->file('img')!= null){ $path; if(request()->file('img')->isValid()){ $path = $request->file('img')->storeAs('public', time().'.jpg'); $img_name=str_replace('public/', '', $path); if(empty($path)){ return response()->json([],400); } } category::category_insert($data['name'],$data['description'],$img_name); return redirect('/admin/categories/index'); } return Redirect::back()->withErrors('The image input must not be empty'); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function store($data, Resource $resource);", "public function store()\n {\n /* Check if logged in user is authorized to make this request */\n $this->authorizeAction();\n\n if (method_exists($this, 'storeValidations')) {\n $this->request->validate($this->storeValidations...
[ "0.72865677", "0.7145327", "0.71325725", "0.6640912", "0.66209733", "0.65685713", "0.652643", "0.65095705", "0.64490104", "0.637569", "0.63736665", "0.63657933", "0.63657933", "0.63657933", "0.6342437", "0.6342437", "0.6342437", "0.6342437", "0.6342437", "0.6342437", "0.63424...
0.0
-1
Display the specified resource.
public function show(Category $category,$id) { $id=$request['id']; $category=category::get($id); return view('admin.category.show',compact('$category')); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function show(Resource $resource)\n {\n // not available for now\n }", "public function show(Resource $resource)\n {\n //\n }", "function Display($resource_name, $cache_id = null, $compile_id = null)\n {\n $this->_smarty->display($resource_name, $cache_id, $compile_id...
[ "0.8233718", "0.8190437", "0.6828712", "0.64986944", "0.6495974", "0.6469629", "0.6462615", "0.6363665", "0.6311607", "0.62817234", "0.6218966", "0.6189695", "0.61804265", "0.6171014", "0.61371076", "0.61207956", "0.61067593", "0.6105954", "0.6094066", "0.6082806", "0.6045245...
0.0
-1
Show the form for editing the specified resource.
public function edit(Category $category,$id) { $category=Category::get($id); return view('admin.category.update',compact('category')); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function edit(Resource $resource)\n {\n return view('admin.resources.edit', compact('resource'));\n }", "public function edit(Resource $resource)\n {\n //\n }", "public function edit($id)\n {\n /* Check if logged in user is authorized to make this request */\n ...
[ "0.78550774", "0.7692893", "0.7273195", "0.7242132", "0.7170847", "0.70622855", "0.7053459", "0.6982539", "0.69467914", "0.6945275", "0.6941114", "0.6928077", "0.69019294", "0.68976134", "0.68976134", "0.6877213", "0.68636996", "0.68592185", "0.68566656", "0.6844697", "0.6833...
0.0
-1
Update the specified resource in storage.
public function update(Request $request) { $id=$request['id']; $data=$request->all(); if($request->file('img')!= null){ $path; if(request()->file('img')->isValid()){ $path = $request->file('img')->storeAs('public', time().'.jpg'); $img_name=str_replace('public/', '', $path); if(empty($path)){ return response()->json([],400); } } category::category_update($id,$data['name'],$img_name); } else { $category=Category::get($id); category::category_update($id,$data['name'],$category->image); } return redirect('/admin/categories/index'); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function updateShopifyResource() {\n $this->saving();\n $this->getShopifyApi()->call([\n 'URL' => API::PREFIX . $this->getApiPathSingleResource(),\n 'METHOD' => 'PUT',\n 'DATA' => [\n static::getResourceSingularName() => $this->shopifyData\n ...
[ "0.7425105", "0.70612276", "0.70558053", "0.6896673", "0.6582159", "0.64491373", "0.6346954", "0.62114537", "0.6145042", "0.6119944", "0.61128503", "0.6099993", "0.6087866", "0.6052593", "0.6018941", "0.60060275", "0.59715486", "0.5946516", "0.59400934", "0.59377414", "0.5890...
0.0
-1
Remove the specified resource from storage.
public function destroy(Category $category) { // }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function delete($resource){\n return $this->fetch($resource, self::DELETE);\n }", "public function destroy(Resource $resource)\n {\n //\n }", "public function removeResource($resourceID)\n\t\t{\n\t\t}", "public function unpublishResource(PersistentResource $resource)\n {\n ...
[ "0.6672584", "0.6659381", "0.6635911", "0.6632799", "0.6626075", "0.65424126", "0.65416265", "0.64648265", "0.62882507", "0.6175931", "0.6129922", "0.60893893", "0.6054415", "0.60428125", "0.60064924", "0.59337646", "0.5930772", "0.59199584", "0.5919811", "0.5904504", "0.5897...
0.0
-1
Check is category created in DB or no.
public function isNewCategory(): bool { return !$this->category->exists; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function hasCategory(): bool;", "function categoryExists($cat) { // Return true if the given category exists\n\t$cat = dbEscape($cat);\n\treturn(dbResultExists(\"SELECT * FROM categories WHERE name='$cat'\"));\n}", "public function cate_exists() {\n\t\t$category_name = trim($this->input->post ( 'categor...
[ "0.7183599", "0.708187", "0.691461", "0.68026745", "0.6793626", "0.6748666", "0.67404103", "0.67289835", "0.6707681", "0.66667247", "0.6470421", "0.645172", "0.6447906", "0.6439284", "0.64307773", "0.6430055", "0.6418707", "0.64029104", "0.6365869", "0.6353941", "0.63429016",...
0.8032583
0
Get sender email name
public function getEmailSenderName() { $from = $this->scopeConfig->getValue( self::XML_ADMIN_EMAIL_SENDER, ScopeInterface::SCOPE_STORE ); $result = $this->helperData->getSenderResolver()->resolve($from); return $result['name']; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function getSenderEmailName() {}", "protected function getSenderEmailName() {}", "public function getSender()\n {\n return strtolower($this->getFrom()->getEmail());\n }", "public function getSenderName()\n {\n return $this->get(self::_SENDER_NAME);\n }", "protected funct...
[ "0.882678", "0.882678", "0.83703804", "0.8101676", "0.7755358", "0.7755358", "0.77509534", "0.77498084", "0.774379", "0.7649933", "0.76445514", "0.7634437", "0.7619233", "0.76122373", "0.75904197", "0.75385135", "0.7403543", "0.7403543", "0.7403543", "0.73950475", "0.73950475...
0.8233262
3
Get new company account approval mail template
public function getCompanyAccountApprovalEmailTemplate() { return $this->scopeConfig->getValue( self::XML_PATH_COMPANY_ACCOUNT_APPROVAL_EMAIL_TEMPLATE, ScopeInterface::SCOPE_STORE ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function getTemplate() {\n\t\treturn new Template('Premanager', 'changeEmail');\n\t}", "public function emailtemplateAction(){\n\n $this->_helper->layout->setLayout('popup'); \n\n\t $this->view->emailtemplate = $this->ModelObj->fetchemailtemplate(array('notification_id'=>$this->Request['notificatio...
[ "0.6389501", "0.6315032", "0.6273595", "0.6159711", "0.5981049", "0.587516", "0.5874638", "0.5846519", "0.5810013", "0.57817864", "0.5767022", "0.57623404", "0.5728545", "0.56925935", "0.5638121", "0.56215787", "0.56182826", "0.55675274", "0.5564303", "0.55353737", "0.5516341...
0.7334605
0
Get new company account remove mail template
public function getCompanyAccountRemoveEmailTemplate() { return $this->scopeConfig->getValue( self::XML_PATH_COMPANY_ACCOUNT_REMOVE_EMAIL_TEMPLATE, ScopeInterface::SCOPE_STORE ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function getTemplate() {\n\t\treturn new Template('Premanager', 'changeEmail');\n\t}", "function edd_pup_get_email_templates() {\r\n\r\n\t$templates = edd_get_email_templates();\r\n\t$eddpdfi_email_templates = array(\r\n\t\t'invoice_default',\r\n\t\t'blue_stripe',\r\n\t\t'lines',\r\n\t\t'minimal',\r\n\...
[ "0.5798305", "0.5718911", "0.5704611", "0.5635113", "0.55667764", "0.55327725", "0.55241877", "0.54675937", "0.5461174", "0.54481256", "0.54228723", "0.5409092", "0.534998", "0.52966416", "0.5285384", "0.5279764", "0.526521", "0.5264413", "0.5242728", "0.5201284", "0.51923186...
0.7512935
0
Get reset subuser reset password email template
public function getResetSubUserPasswordEmailTemplate() { return $this->scopeConfig->getValue( self::XML_PATH_RESET_SUBUSER_PASSWORD_EMAIL_TEMPLATE, ScopeInterface::SCOPE_STORE ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getEmail()\r\n\t{\r\n\t\t$errors = [];\r\n\t\treturn view('core::users.reset-password', compact('errors'));\r\n\t}", "function forogt_reset($post)\n{\n $data['destination'] = $post['r_email'];\n $data['subject'] = 'Pendaftaran Akun Baru Peserta Didik Portal Akademik ' . profil()->nama_sekol...
[ "0.7059658", "0.6946295", "0.6807468", "0.6792431", "0.6761867", "0.6626948", "0.6621814", "0.65793663", "0.6526518", "0.6525153", "0.6508268", "0.650287", "0.65019256", "0.64975965", "0.64916945", "0.6491627", "0.64464664", "0.6438728", "0.6426141", "0.63950115", "0.63802624...
0.8476593
0
Get approval emails copy to
public function getCaApprovalCopyToEmails() { return $this->scopeConfig->getValue( self::XML_PATH_APPROVAL_COPY_TO_EMAILS, ScopeInterface::SCOPE_STORE ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function email_approver()\n {\n \n $this->db->select('EMAIL');\n $this->db->from('APPROVERS');\n $this->db->where('UNIT',$_SESSION['div']);\n $query = $this->db->get();\n $out = $query->result_array();\n\n if ($out) {\n\n ...
[ "0.6162441", "0.6011841", "0.5951873", "0.57714725", "0.57586396", "0.57302314", "0.56895614", "0.56131744", "0.5580726", "0.5572639", "0.5560343", "0.5549953", "0.55471253", "0.5484805", "0.5482486", "0.5413496", "0.5413269", "0.5413269", "0.5401683", "0.53975135", "0.538483...
0.7495321
0
Get remove emails copy to
public function getCaRemoveCopyToEmails() { return $this->scopeConfig->getValue( self::XML_PATH_REMOVE_COPY_TO_EMAILS, ScopeInterface::SCOPE_STORE ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getEmailCopyTo()\n {\n $data = $this->getConfigValue(self::XML_PATH_EMAIL_COPY_TO, $this->getStore()->getStoreId());\n if (!empty($data)) {\n return array_map('trim', explode(',', $data));\n }\n return false;\n }", "public function removeAllEmails() {\...
[ "0.6198424", "0.6091833", "0.59340054", "0.59340054", "0.59258306", "0.570302", "0.5543972", "0.55308", "0.55225223", "0.5480271", "0.5443662", "0.5438063", "0.54346883", "0.54150647", "0.5394309", "0.5379831", "0.53772235", "0.53754187", "0.537495", "0.53720045", "0.53700393...
0.7314029
0
Register the given namespace in the passed XPath context
function xpath_register_ns($xpath_context, $prefix, $uri) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function registerNamespace ($prefix, $namespaceURI) {}", "public function registerNamespace(string $prefix, string $namespaceURI): void {\n $this->_namespaces[$prefix] = $namespaceURI;\n if (NULL !== $this->_xpath && $prefix !== '#default') {\n $this->_xpath->registerNamespace($prefix, $n...
[ "0.7240222", "0.6948519", "0.66960627", "0.6509639", "0.64782023", "0.63548946", "0.63254267", "0.61182374", "0.5955406", "0.5950569", "0.593465", "0.5925256", "0.5837292", "0.5617457", "0.5587428", "0.5489224", "0.5484517", "0.5478457", "0.5468809", "0.5454311", "0.54208034"...
0.84279853
0
Upload requirements on with cURL
public static function uploadWithCurl(array $requirements, $syncToken);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function upload_file(){\n\t\t$file_title = explode(\"/\",$_GET['url']);\n\t\t$file_name = end($file_title);\n\n\t\t$my_file = $_GET['url'];\n\t\t$handle = fopen($my_file, 'r');\n\t\t$read_file = fread($handle,filesize($my_file));\n\n\t\t$upload_url = \"https://pod-000-1126-02.backblaze.com/b2api/v2/b2_uploa...
[ "0.61543715", "0.60701174", "0.5948267", "0.5945059", "0.58919954", "0.5717904", "0.56484485", "0.56256074", "0.5514251", "0.5505587", "0.54381335", "0.54052305", "0.5356295", "0.5325793", "0.53239566", "0.5304575", "0.5302475", "0.5291958", "0.52697706", "0.52444404", "0.520...
0.65039
0
Upload requirements on with PHP sockets
public static function uploadWithSocket(array $requirements, $syncToken);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function uploadtoserver() {\r\n $targetDir = $_SERVER['DOCUMENT_ROOT'] . '/uploads/items/';\r\n\r\n //$cleanupTargetDir = false; // Remove old files\r\n //$maxFileAge = 60 * 60; // Temp file age in seconds\r\n // 5 minutes execution time\r\n @set_time_limit(5 * 60);\r\n\r\...
[ "0.60336643", "0.59345865", "0.58590835", "0.5758463", "0.5663463", "0.5640941", "0.56157595", "0.5511779", "0.54309505", "0.54103047", "0.5409403", "0.5377283", "0.53423053", "0.5334258", "0.5319031", "0.52618366", "0.524919", "0.5202482", "0.5198807", "0.5164835", "0.514834...
0.58572423
3
Use safeUp/safeDown to do migration with transaction
public function safeUp() { $this->dropForeignKey('fk_barang_diskon_barang', 'barang_diskon'); $this->alterColumn('barang_diskon', 'barang_id', 'INT(10) UNSIGNED NULL'); $this->addColumn('barang_diskon', 'semua_barang', "TINYINT NOT NULL DEFAULT 0 COMMENT 'perbarang = 0; semua = 1' AFTER `id`"); $this->addForeignKey('fk_barang_diskon_barang', 'barang_diskon', 'barang_id', 'barang', 'id', 'NO ACTION', 'NO ACTION'); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function safeUp()\n {\n $this->up();\n }", "public function safeUp()\n {\n $this->up();\n }", "public function safeUp()\r\n {\r\n $this->up();\r\n }", "public function safeUp()\n\t{\n\t\t$this->up();\n\t}", "public function safeUp()\r\n\t{\r\n\t\t$this->up();\r...
[ "0.7831747", "0.7831747", "0.77974", "0.77492934", "0.7730412", "0.76126146", "0.7103458", "0.7056744", "0.7019433", "0.686808", "0.68653876", "0.67907315", "0.67833483", "0.6779402", "0.677009", "0.6753907", "0.6714505", "0.66979295", "0.6674457", "0.66629297", "0.66621137",...
0.672025
16
send a nudge to a
function give($request_id = 0, $product_uuid = 0) { $this->loadModel('Product'); if ($product_uuid != 0) { $product = $this->Product->find('first', array( 'conditions' => array('uuid' => $product_uuid) )); $this->Nudge->create(); $this->Nudge->save(array( 'user_id' => $this->Auth->user('id'), 'product_id' => $product['Product']['id'], 'request_id' => $request_id )); return $this->redirect('/nudges/mine'); } // get the request $this->loadModel('Request'); $request = $this->Request->findById($request_id); $this->set(compact('request')); // products for that request $category = $request['Category']['name']; $products = $this->ProductManager->getProductsWithCategory($category); $this->set(compact('products')); // store the products foreach($products as $products){ // look for the uuid $product = $this->Product->find('first', array( 'conditions' => array('uuid' => $products['uuid']) )); if(!empty($product)){ // found continue; } $this->Product->create(); $this->Product->save($products); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function msgsrv_send ($target, $cmd, $content, $link) {}", "private function send_msg() {\r\n }", "function reply($id, $mobile, $message, $cost = 0);", "function vinculum_pingback__drush_send_pingback($nid, $target) {\n $node = node_load($nid);\n if (!$node) {\n drush_set_error('DRUSH_NOT_COMPLETED',...
[ "0.5716123", "0.56409943", "0.5636922", "0.55524826", "0.555141", "0.555141", "0.555141", "0.555141", "0.555141", "0.555141", "0.555141", "0.555141", "0.555141", "0.555141", "0.555141", "0.54816234", "0.54781187", "0.54010046", "0.53558046", "0.5351934", "0.5295202", "0.529...
0.0
-1
get all nudges for the request
function review($request_id = 0, $liked = '') { $nudges = $this->Nudge->find('all', array( 'conditions' => array( 'request_id' => $request_id ) )); $this->set(compact('nudges')); // get the request $this->loadModel('Request'); $request = $this->Request->findById($request_id); $this->set(compact('request')); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function find()\n\t{\n\t\t$nudges = $this->Nudge->find('all', array(\n\t\t\t'conditions' => array(\n\t\t\t\t'user_id' => '!= '.$this->Auth->user('id')\n\t\t\t),\n\t\t\t'limit' => 16\n\t\t));\n\t\t$this->set(compact('nudges'));\n\t}", "public function getAll(Request $request) {\n // later will get based on...
[ "0.6118828", "0.5599009", "0.5405369", "0.5389535", "0.53586346", "0.53586346", "0.5358125", "0.5358125", "0.5358125", "0.53495145", "0.5328417", "0.5319966", "0.52885044", "0.5278087", "0.5236082", "0.5235626", "0.52335685", "0.52308714", "0.5225743", "0.5224571", "0.5203794...
0.0
-1
get all of my nudges
function mine() { $this->Nudge->recursive = 2; $nudges = $this->Nudge->find('all', array( 'conditions' => array('Nudge.user_id' => $this->Auth->user('id')) )); $this->set(compact('nudges')); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function find()\n\t{\n\t\t$nudges = $this->Nudge->find('all', array(\n\t\t\t'conditions' => array(\n\t\t\t\t'user_id' => '!= '.$this->Auth->user('id')\n\t\t\t),\n\t\t\t'limit' => 16\n\t\t));\n\t\t$this->set(compact('nudges'));\n\t}", "public function getNursings()\n {\n $db = PDOController::getInstance...
[ "0.64481926", "0.59153277", "0.59079325", "0.5756441", "0.57472205", "0.5663118", "0.5661324", "0.56344706", "0.5593876", "0.5557899", "0.55435276", "0.55377865", "0.55298537", "0.5506458", "0.54949856", "0.5468198", "0.5434881", "0.5432605", "0.54296374", "0.54236746", "0.54...
0.53254265
28
list all requests that this user can nudge on
function find() { $nudges = $this->Nudge->find('all', array( 'conditions' => array( 'user_id' => '!= '.$this->Auth->user('id') ), 'limit' => 16 )); $this->set(compact('nudges')); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getMyRequests()\n {\n $owner= $this->getUserFromToken();\n $owner_id = $owner['id'];\n $requests= req::where('sender',$owner_id)->get();\n\n $totalReqs = array();\n foreach ($requests as $req) {\n $user = app('App\\Http\\Controllers\\usersController'...
[ "0.6572602", "0.6230596", "0.61561286", "0.60475296", "0.6036218", "0.5969133", "0.59368336", "0.59354275", "0.59335876", "0.58844167", "0.5863848", "0.58580464", "0.5836039", "0.5807121", "0.5792764", "0.576627", "0.57535744", "0.57410425", "0.5720357", "0.5703238", "0.56897...
0.5474486
39
Constructor Initialize the model needed
private function __construct() {}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function __construct()\n {\n $this ->model = $this ->makeModel($this ->model());\n }", "function __construct () {\n\t\t$this->_model = new Model();\n\t}", "public function __construct() {\n $this->porcentajesCursoModel = $this->model('PorcentajesCursoModel');\n $this->tipoModu...
[ "0.84535235", "0.8406182", "0.80041707", "0.79808205", "0.7970709", "0.7954706", "0.7887389", "0.7879194", "0.7870295", "0.78641576", "0.78473705", "0.7826628", "0.7823647", "0.7823647", "0.7819304", "0.7813882", "0.7812875", "0.7809273", "0.7794229", "0.7792893", "0.77871144...
0.0
-1
parse base URL and convert to local variables: $scheme, $host, $path
function rel2abs_img( $rel, $base ) { extract( parse_url( $base ) ); if ( strpos( $rel,"//" ) === 0 ) { return $scheme . ':' . $rel; } // return if already absolute URL if ( parse_url( $rel, PHP_URL_SCHEME ) != '' ) { return $rel; } // queries and anchors if ( $rel[0] == '#' || $rel[0] == '?' ) { return $base . $rel; } // remove non-directory element from path $path = preg_replace( '#/[^/]*$#', '', $path ); // destroy path if relative url points to root if ( $rel[0] == '/' ) { $path = ''; } // dirty absolute URL $abs = $path . "/" . $rel; // replace '//' or '/./' or '/foo/../' with '/' $abs = preg_replace( "/(\/\.?\/)/", "/", $abs ); $abs = preg_replace( "/\/(?!\.\.)[^\/]+\/\.\.\//", "/", $abs ); // absolute URL is ready! return $abs; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function parse_uri() {\n $url = \"http://localhost\" . $this->uri;\n $parsed_url = parse_url($url);\n $this->path = $parsed_url['path'];\n @$this->query = $parsed_url['query'];\n }", "private static function getUrlBase() {\n\t\tif(!isset(self::$usrBbase)) {\n\t\t\tself::$url...
[ "0.6720313", "0.67132604", "0.65448284", "0.64820665", "0.64583147", "0.64285654", "0.6420429", "0.64189893", "0.6401401", "0.638202", "0.6377883", "0.6372038", "0.63403517", "0.6315363", "0.63018614", "0.6268825", "0.62493044", "0.62312037", "0.6215672", "0.620505", "0.61900...
0.0
-1
Create a new command instance.
public function __construct() { parent::__construct(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function newCommand() {\n return newinstance(Command::class, [], '{\n public static $wasRun= false;\n public function __construct() { self::$wasRun= false; }\n public function run() { self::$wasRun= true; }\n public function wasRun() { return self::$wasRun; }\n }');\n }", "pu...
[ "0.8010746", "0.7333379", "0.72606754", "0.7164165", "0.716004", "0.7137585", "0.6748632", "0.67234164", "0.67178184", "0.6697025", "0.6677973", "0.66454077", "0.65622073", "0.65437883", "0.64838654", "0.64696646", "0.64292693", "0.6382209", "0.6378306", "0.63773245", "0.6315...
0.0
-1
/ Alter accessors to expose the query data to alter hooks. Returns a reference to the fields array for this query. Because this method returns by reference, alter hooks may edit the fields array directly to make their changes. If just adding fields, however, the use of addField() is preferred. Note that this method must be called by reference as well:
public function &getFields();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function &fields(){\n\t\t// check the cache first.\n\t\tif ( isset($this->_cache[__FUNCTION__]) ){\n\t\t\treturn $this->_cache[__FUNCTION__];\n\t\t}\n\t\t\n\t\t// it is not in the cache yet, let's calculate it.\n\t\t$out = array();\n\t\t$data = $this->_parseSQL();\n\t\t$this->_expandGlobs($data);\n\t\t$numCols = c...
[ "0.6477906", "0.6410146", "0.62329745", "0.6229084", "0.6200329", "0.6188569", "0.61614054", "0.6131418", "0.61004496", "0.6092332", "0.6090686", "0.6014096", "0.60136664", "0.6007669", "0.5997587", "0.59926087", "0.59529686", "0.5948688", "0.5902566", "0.58923537", "0.588507...
0.0
-1
Returns a reference to the expressions array for this query. Because this method returns by reference, alter hooks may edit the expressions array directly to make their changes. If just adding expressions, however, the use of addExpression() is preferred. Note that this method must be called by reference as well:
public function &getExpressions();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function expressions()\n {\n return $this->expressions;\n }", "public function getExpressions()\n {\n return $this->expressions;\n }", "public function getExpressions()\n {\n return $this->expressions;\n }", "public function getExpressions(): array;", "public f...
[ "0.73748434", "0.73160595", "0.73160595", "0.71286756", "0.6994226", "0.6463615", "0.6152274", "0.5935217", "0.5925115", "0.5913215", "0.5843989", "0.5843989", "0.58122367", "0.5542182", "0.5528032", "0.5501835", "0.5494752", "0.54066336", "0.53589207", "0.53466326", "0.53465...
0.7194113
3
Returns a reference to the order by array for this query. Because this method returns by reference, alter hooks may edit the orderby array directly to make their changes. If just adding additional ordering fields, however, the use of orderBy() is preferred. Note that this method must be called by reference as well:
public function &getOrderBy();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function orderBy() {\n $this->_orderBy = \"\";\n foreach ($this->_columns as $tableName => $table) {\n if (array_key_exists('order_bys', $table)) {\n foreach ($table['order_bys'] as $fieldName => $field) {\n $this->_orderBy[] = $field['dbAlias'];\n }\n }\n }\n $t...
[ "0.7293336", "0.71407413", "0.7022439", "0.6812046", "0.6811274", "0.67910445", "0.6767974", "0.67637426", "0.67394114", "0.67394114", "0.67394114", "0.6726352", "0.67256206", "0.6532762", "0.6524524", "0.6491508", "0.64861536", "0.6437179", "0.64101696", "0.64101696", "0.641...
0.7101915
2
Returns a reference to the groupby array for this query. Because this method returns by reference, alter hooks may edit the groupby array directly to make their changes. If just adding additional grouping fields, however, the use of groupBy() is preferred. Note that this method must be called by reference as well:
public function &getGroupBy();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getGroupBy() {\n return $this->_groupBy;\n }", "public function getGroupBy()\n {\n return $this->groupby;\n }", "public function get_group_by()\n\t{\n\t\treturn NULL;\n\t}", "public function groupBy()\n {\n $this->groupBy = func_get_args();\n return $th...
[ "0.72182965", "0.715938", "0.71469796", "0.7092013", "0.70834625", "0.70159763", "0.70145315", "0.7004815", "0.69843936", "0.698029", "0.6934954", "0.6729857", "0.66268206", "0.6608978", "0.6604372", "0.65205103", "0.6488903", "0.6477456", "0.64724326", "0.64724326", "0.64526...
0.7076395
5
Returns a reference to the tables array for this query. Because this method returns by reference, alter hooks may edit the tables array directly to make their changes. If just adding tables, however, the use of the join() methods is preferred. Note that this method must be called by reference as well:
public function &getTables();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static function tables()\n {\n $tables = false;\n //\n $Tables = Driver::read('SHOW TABLES', Driver::INDEX);\n // die(var_dump($Tables));\n //\n foreach ($Tables as $row) {\n $target_tables[] = $row[0];\n }\n //\n if ($tables !== f...
[ "0.70117694", "0.69593287", "0.6937593", "0.69193596", "0.69101226", "0.69101226", "0.69101226", "0.69101226", "0.69101226", "0.67669576", "0.6760109", "0.67502767", "0.67005366", "0.66204053", "0.661038", "0.6552361", "0.6534775", "0.6532648", "0.6446319", "0.64217865", "0.6...
0.69344884
3
Returns a reference to the union queries for this query. This include queries for UNION, UNION ALL, and UNION DISTINCT. Because this method returns by reference, alter hooks may edit the tables array directly to make their changes. If just adding union queries, however, the use of the union() method is preferred. Note that this method must be called by reference as well:
public function &getUnion();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function unionAll($query, $overwrite = false);", "public function union($sql)\n\t{\n\t\t$this->query->union[] = $sql;\n\t\treturn $this->query;\n\t}", "public function union($query, $overwrite = false);", "public function union($query, $all);", "function union($table){\n\t\t$this->union[] = $table;\...
[ "0.6691476", "0.66648906", "0.666265", "0.6531545", "0.63905555", "0.6286931", "0.61385226", "0.6132889", "0.6113083", "0.60344726", "0.57593054", "0.57313883", "0.5631599", "0.5596455", "0.55864215", "0.55716914", "0.54574275", "0.543442", "0.52706957", "0.5212289", "0.51728...
0.5916609
10