query stringlengths 11 3.13k | ru_query stringlengths 9 3.91k | document stringlengths 18 71k | metadata dict | negatives listlengths 0 100 | negative_scores listlengths 0 100 | document_score stringlengths 5 10 | document_rank stringclasses 2
values |
|---|---|---|---|---|---|---|---|
Sets a new marketingSegmentationCluster | Устанавливает новый маркетинговый сегментация кластер | public function setMarketingSegmentationCluster($marketingSegmentationCluster)
{
$this->marketingSegmentationCluster = $marketingSegmentationCluster;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setClusterer($useClusterer,$gridSize=100,$maxZoom=9,$clustererLibraryPath='mappable/javascript/clusterer.js') \n {\n $this->useClusterer = $useClusterer;\n $this->gridSize = $gridSize;\n $this->maxZoom = $maxZoom;\n\t\t$this->clustererLibraryPath = $clustererLibraryPath;\n ... | [
"0.5653478",
"0.5164914",
"0.48551226",
"0.48385093",
"0.48279274",
"0.48031995",
"0.47880548",
"0.47753778",
"0.47013405",
"0.46182123",
"0.4612843",
"0.46013314",
"0.45893177",
"0.4579936",
"0.45761222",
"0.4517445",
"0.45050016",
"0.44975144",
"0.44433197",
"0.43755126",
"... | 0.7034093 | 0 |
Sets a new minorityOwned | Устанавливает новый minorityOwned | public function setMinorityOwned($minorityOwned)
{
$this->minorityOwned = $minorityOwned;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setOwnership($ownership) {\n\n if (!($this->ownership = filter_var($ownership, FILTER_VALIDATE_INT))) {\n\n $this->ownership = filter_var($ownership, FILTER_SANITIZE_NUMBER_INT);\n $this->valid = false;\n\n }\n\n }",
"public function setWomenOwned($womenOw... | [
"0.5568411",
"0.5088452",
"0.5076567",
"0.5075132",
"0.5012017",
"0.49893576",
"0.49788305",
"0.4898333",
"0.4897077",
"0.48752004",
"0.48590747",
"0.48384306",
"0.48097035",
"0.47985032",
"0.47377345",
"0.4735048",
"0.47182578",
"0.46957672",
"0.46635398",
"0.46316603",
"0.4... | 0.76541454 | 0 |
Sets a new nationalIdType | Устанавливает новый тип национального идентификатора | public function setNationalIdType($nationalIdType)
{
$this->nationalIdType = $nationalIdType;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setIdNational($id_national)\n {\n $this->id_national = $id_national;\n\n return $this;\n }",
"public function setNationalId($nationalId)\n {\n $this->nationalId = $nationalId;\n return $this;\n }",
"public function getIdNational()\n {\n return $... | [
"0.7173378",
"0.6705533",
"0.6127541",
"0.6066681",
"0.6027703",
"0.5908208",
"0.5907292",
"0.5815878",
"0.5793129",
"0.5722374",
"0.5702743",
"0.5530016",
"0.54692554",
"0.54151255",
"0.5391746",
"0.5335874",
"0.5309851",
"0.5294578",
"0.52476746",
"0.52351326",
"0.52351326"... | 0.70359576 | 1 |
Sets a new outOfBusiness | Устанавливает новый outOfBusiness | public function setOutOfBusiness($outOfBusiness)
{
$this->outOfBusiness = $outOfBusiness;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function __construct($business_id)\r\n {\r\n $this->business_id = $business_id;\r\n }",
"public function create(Business $business)\n {\n //\n }",
"public function setBusinessId($id)\n {\n $this->id = $id;\n }",
"public function __construct($businessListing)\n ... | [
"0.5592274",
"0.5460084",
"0.5400861",
"0.5358153",
"0.52921784",
"0.52921784",
"0.52921784",
"0.52921784",
"0.52921784",
"0.51696754",
"0.51559466",
"0.51504695",
"0.51334953",
"0.5088957",
"0.5083819",
"0.5063938",
"0.50396657",
"0.5025719",
"0.50119287",
"0.50119287",
"0.5... | 0.80229753 | 0 |
Sets a new ownOrRent | Устанавливает новый ownOrRent | public function setOwnOrRent($ownOrRent)
{
$this->ownOrRent = $ownOrRent;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected function setOwner($owner) {\r\n $this->owner = $this->create($owner);\r\n }",
"public function setOwner($owner) {\n\t\t$this->owner = $owner;\n\t}",
"public function setOwner($owner) {\n\t\t$this->owner = $owner;\n\t}",
"function set_owner($owner)\n {\n $this->set_default_property(sel... | [
"0.5939666",
"0.5522865",
"0.5522865",
"0.5477167",
"0.5378015",
"0.5278591",
"0.51876676",
"0.5171984",
"0.51443714",
"0.51213545",
"0.51152486",
"0.5087786",
"0.5069523",
"0.50679576",
"0.5058796",
"0.5047063",
"0.50458646",
"0.50449055",
"0.50290954",
"0.50290954",
"0.4995... | 0.73358977 | 0 |
Sets a new parentOrHqBusinessName | Устанавливает новый parentOrHqBusinessName | public function setParentOrHqBusinessName($parentOrHqBusinessName)
{
$this->parentOrHqBusinessName = $parentOrHqBusinessName;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function setParent(IBabylonModel $parent);",
"function set_parent($parent)\r\n {\r\n $this->parent = $parent;\r\n }",
"public function setParent($parent) {\n\t\t$this->parent = $parent;\n\t}",
"function set_parent($value) {\n $this->set_mapped_property('parent', $value);\n }",
"publi... | [
"0.6225286",
"0.6001623",
"0.5811859",
"0.57931507",
"0.5735966",
"0.5735966",
"0.57171535",
"0.5693631",
"0.5600681",
"0.5589282",
"0.5574171",
"0.5529197",
"0.54818183",
"0.54424024",
"0.54392916",
"0.54172516",
"0.5402122",
"0.5371001",
"0.5334637",
"0.53083867",
"0.530055... | 0.7086807 | 0 |
Sets a new parentOrHqDunsNumber | Устанавливает новый parentOrHqDunsNumber | public function setParentOrHqDunsNumber($parentOrHqDunsNumber)
{
$this->parentOrHqDunsNumber = $parentOrHqDunsNumber;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private function tree_setOneDim( $uid_parent )\n {\n // Prompt the expired time to devlog\n $debugTrailLevel = 1;\n $this->pObj->timeTracking_log( $debugTrailLevel, 'begin' );\n\n switch ( true )\n {\n case( count( $this->arr_rowsTablefield ) == 1 ):\n $this->tree_setOneDimOneRow( $uid_... | [
"0.6109265",
"0.61030173",
"0.6040533",
"0.6002149",
"0.59792936",
"0.5890304",
"0.5877364",
"0.5855279",
"0.58517325",
"0.58371425",
"0.58268726",
"0.57633287",
"0.5762783",
"0.5762783",
"0.57503885",
"0.57486343",
"0.5721653",
"0.5721653",
"0.5686597",
"0.5610881",
"0.55659... | 0.7466413 | 0 |
Sets a new premisesMeasure | Устанавливает новый параметр premisesMeasure | public function setPremisesMeasure($premisesMeasure)
{
$this->premisesMeasure = $premisesMeasure;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setPremisesMeasureUnit($premisesMeasureUnit)\n {\n $this->premisesMeasureUnit = $premisesMeasureUnit;\n return $this;\n }",
"public function setPremisesMeasureReliability($premisesMeasureReliability)\n {\n $this->premisesMeasureReliability = $premisesMeasureReliabili... | [
"0.69272995",
"0.65412086",
"0.510179",
"0.5100301",
"0.48552102",
"0.48399565",
"0.4821578",
"0.47778106",
"0.47413504",
"0.46685368",
"0.46363193",
"0.45882097",
"0.45609245",
"0.45580637",
"0.45328054",
"0.4484229",
"0.43451232",
"0.43408054",
"0.43253562",
"0.43088368",
"... | 0.77174675 | 0 |
Sets a new premisesMeasureReliability | Устанавливает новое значение надежности измерения предпосылок | public function setPremisesMeasureReliability($premisesMeasureReliability)
{
$this->premisesMeasureReliability = $premisesMeasureReliability;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setPremisesMeasure($premisesMeasure)\n {\n $this->premisesMeasure = $premisesMeasure;\n return $this;\n }",
"public function setPremisesMeasureUnit($premisesMeasureUnit)\n {\n $this->premisesMeasureUnit = $premisesMeasureUnit;\n return $this;\n }",
"publi... | [
"0.56372285",
"0.52334625",
"0.50027645",
"0.4711265",
"0.46591723",
"0.44992554",
"0.44557333",
"0.44224715",
"0.44060114",
"0.44055894",
"0.4330695",
"0.4328525",
"0.43161988",
"0.4311946",
"0.425563",
"0.42369878",
"0.42104182",
"0.41926163",
"0.41780633",
"0.41775838",
"0... | 0.7887913 | 0 |
Sets a new premisesMeasureUnit | Устанавливает новый параметр измерения условий | public function setPremisesMeasureUnit($premisesMeasureUnit)
{
$this->premisesMeasureUnit = $premisesMeasureUnit;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setPremisesMeasure($premisesMeasure)\n {\n $this->premisesMeasure = $premisesMeasure;\n return $this;\n }",
"public function setPremisesMeasureReliability($premisesMeasureReliability)\n {\n $this->premisesMeasureReliability = $premisesMeasureReliability;\n ret... | [
"0.63797",
"0.5750551",
"0.555204",
"0.5467182",
"0.53539175",
"0.52079606",
"0.5081587",
"0.50549734",
"0.50549734",
"0.5002197",
"0.4986904",
"0.49780434",
"0.4966296",
"0.49642596",
"0.49444273",
"0.4934776",
"0.49298888",
"0.48923627",
"0.48620078",
"0.48226276",
"0.48061... | 0.7282878 | 0 |
Sets a new primaryNaics | Устанавливает новый primaryNaics | public function setPrimaryNaics($primaryNaics)
{
$this->primaryNaics = $primaryNaics;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setPrimary_key($a_id = '')\n {\n if (is_array($a_id)) {\n $this->aPrimary_key = $a_id;\n foreach ($a_id as $nom_id => $val_id) {\n if (($nom_id == 'id_ubi') && $val_id !== '') $this->iid_ubi = (int)$val_id;\n if (($nom_id == 'id_tarifa')... | [
"0.6902431",
"0.68567044",
"0.6801095",
"0.67270964",
"0.67219967",
"0.6644073",
"0.6639468",
"0.65761596",
"0.65542215",
"0.6551662",
"0.6551662",
"0.654393",
"0.649749",
"0.6280669",
"0.61089766",
"0.60261273",
"0.6022505",
"0.60003895",
"0.59794974",
"0.58615166",
"0.58297... | 0.7489245 | 0 |
Sets a new primaryNaicsDesc | Устанавливает новый primaryNaicsDesc | public function setPrimaryNaicsDesc($primaryNaicsDesc)
{
$this->primaryNaicsDesc = $primaryNaicsDesc;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setPrimarySicDesc($primarySicDesc)\n {\n $this->primarySicDesc = $primarySicDesc;\n return $this;\n }",
"public function setPrimarySic8Desc($primarySic8Desc)\n {\n $this->primarySic8Desc = $primarySic8Desc;\n return $this;\n }",
"public function setPrimar... | [
"0.7217717",
"0.6208528",
"0.6081736",
"0.5778133",
"0.57369566",
"0.56018025",
"0.55034894",
"0.54450524",
"0.5417989",
"0.53042275",
"0.53042275",
"0.52236134",
"0.5220057",
"0.52008235",
"0.5148716",
"0.51411617",
"0.51059747",
"0.5088182",
"0.50687176",
"0.5057377",
"0.50... | 0.77708596 | 0 |
Sets a new primarySic | Устанавливает новый primarySic | public function setPrimarySic($primarySic)
{
$this->primarySic = $primarySic;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setPrimarySicDesc($primarySicDesc)\n {\n $this->primarySicDesc = $primarySicDesc;\n return $this;\n }",
"public function setPrimarySic8($primarySic8)\n {\n $this->primarySic8 = $primarySic8;\n return $this;\n }",
"public function setPrimary_key($a_id = ''... | [
"0.6933255",
"0.6837546",
"0.65172416",
"0.64237696",
"0.6380638",
"0.6334598",
"0.6223633",
"0.617128",
"0.61530876",
"0.611405",
"0.6109212",
"0.61030376",
"0.61030376",
"0.6027182",
"0.6000929",
"0.5823573",
"0.5736621",
"0.572854",
"0.5681587",
"0.56425315",
"0.5547883",
... | 0.7989673 | 0 |
Sets a new primarySic8 | Устанавливает новый primarySic8 | public function setPrimarySic8($primarySic8)
{
$this->primarySic8 = $primarySic8;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setPrimarySic8Desc($primarySic8Desc)\n {\n $this->primarySic8Desc = $primarySic8Desc;\n return $this;\n }",
"public function setPrimarySic($primarySic)\n {\n $this->primarySic = $primarySic;\n return $this;\n }",
"public function setPrimarySicDesc($primar... | [
"0.7363444",
"0.674155",
"0.61505544",
"0.6131228",
"0.60005295",
"0.59208995",
"0.58153963",
"0.58062667",
"0.5717431",
"0.57127905",
"0.56732863",
"0.56588817",
"0.55536646",
"0.5518635",
"0.5423923",
"0.5389783",
"0.53710747",
"0.5356612",
"0.5284947",
"0.52670336",
"0.526... | 0.81939954 | 0 |
Sets a new primarySic8Desc | Устанавливает новый primarySic8Desc | public function setPrimarySic8Desc($primarySic8Desc)
{
$this->primarySic8Desc = $primarySic8Desc;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setPrimarySicDesc($primarySicDesc)\n {\n $this->primarySicDesc = $primarySicDesc;\n return $this;\n }",
"public function setPrimarySic8($primarySic8)\n {\n $this->primarySic8 = $primarySic8;\n return $this;\n }",
"public function setSecondSic8Desc($second... | [
"0.7554351",
"0.6967046",
"0.6603273",
"0.5976941",
"0.5937638",
"0.59373236",
"0.59082484",
"0.58420384",
"0.56834185",
"0.550915",
"0.5361404",
"0.5343124",
"0.5186265",
"0.5174306",
"0.5123167",
"0.5058055",
"0.50528103",
"0.4964059",
"0.4937046",
"0.4915118",
"0.49052697"... | 0.82396185 | 0 |
Sets a new primarySicDesc | Устанавливает новый primarySicDesc | public function setPrimarySicDesc($primarySicDesc)
{
$this->primarySicDesc = $primarySicDesc;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setPrimarySic8Desc($primarySic8Desc)\n {\n $this->primarySic8Desc = $primarySic8Desc;\n return $this;\n }",
"public function setPrimarySic($primarySic)\n {\n $this->primarySic = $primarySic;\n return $this;\n }",
"public function setPrimaryNaicsDesc($prim... | [
"0.69653064",
"0.64143133",
"0.60106516",
"0.589186",
"0.58173156",
"0.5653602",
"0.5526518",
"0.5519839",
"0.54529476",
"0.5394656",
"0.537875",
"0.5357011",
"0.5303452",
"0.5303452",
"0.52923673",
"0.5274362",
"0.5271603",
"0.52404445",
"0.5236765",
"0.5189602",
"0.51817125... | 0.81736434 | 0 |
Sets a new priorYearEmployees | Устанавливает новый priorYearEmployees | public function setPriorYearEmployees($priorYearEmployees)
{
$this->priorYearEmployees = $priorYearEmployees;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function setYear($y)\r\n {\r\n if($y < 0 || $y > 9999) {\r\n $this->ano = 0;\r\n } else {\r\n $this->ano = $y;\r\n }\r\n }",
"public function setPriorYearRevenue($priorYearRevenue)\n {\n $this->priorYearRevenue = $priorYearRevenue;\n return $this;... | [
"0.5941207",
"0.5645244",
"0.5644638",
"0.5618228",
"0.54982746",
"0.5476051",
"0.5432465",
"0.5430704",
"0.5429595",
"0.54132605",
"0.5399877",
"0.53845656",
"0.53645015",
"0.5353706",
"0.5265063",
"0.5265063",
"0.5265063",
"0.52439183",
"0.5243075",
"0.5233788",
"0.51887685... | 0.7984485 | 0 |
Sets a new priorYearRevenue | Устанавливает новый priorYearRevenue | public function setPriorYearRevenue($priorYearRevenue)
{
$this->priorYearRevenue = $priorYearRevenue;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setPriorYearEmployees($priorYearEmployees)\n {\n $this->priorYearEmployees = $priorYearEmployees;\n return $this;\n }",
"public function fixYears() {\n\t\t$this->setFromyear($this->fixYear($this->fromyear));\n\t\t$this->setThroughyear($this->fixYear($this->throughyear));\n\t}"... | [
"0.6251808",
"0.5532701",
"0.54287374",
"0.53614765",
"0.5358455",
"0.52978146",
"0.52793574",
"0.5247568",
"0.51199234",
"0.50966156",
"0.5087935",
"0.5079436",
"0.50510085",
"0.5040398",
"0.5038532",
"0.49934822",
"0.49465677",
"0.49457264",
"0.49224284",
"0.49224284",
"0.4... | 0.77719206 | 0 |
Sets a new publicIndicator | Устанавливает новый publicIndicator | public function setPublicIndicator($publicIndicator)
{
$this->publicIndicator = $publicIndicator;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setIndicator($val)\n {\n $this->_propDict[\"indicator\"] = $val;\n return $this;\n }",
"public function setIndicator($indicator)\n {\n $this->indicator = $indicator;\n return $this;\n }",
"function getIndicator() ;",
"public function setFormattedIndicat... | [
"0.71236926",
"0.68681747",
"0.57008487",
"0.55463874",
"0.5499899",
"0.5431483",
"0.53956795",
"0.5224716",
"0.5182071",
"0.5098797",
"0.5094994",
"0.5087549",
"0.5086573",
"0.49404824",
"0.49332306",
"0.49332306",
"0.48686484",
"0.4845189",
"0.47880483",
"0.4776498",
"0.473... | 0.79443985 | 0 |
Sets a new salesTurnoverGrowthRate | Устанавливает новый salesTurnoverGrowthRate | public function setSalesTurnoverGrowthRate($salesTurnoverGrowthRate)
{
$this->salesTurnoverGrowthRate = $salesTurnoverGrowthRate;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function setBlowdownRate($blowdownRate){\n $this->blowdownRate = $blowdownRate;\n $this->feedwater->setMassFlow(\n $this->outletSteam->massFlow / (1 - $this->blowdownRate));\n $this->blowdown->setMassFlow(\n $this->feedwater->massFlow * $this->blowdownRate); \n ... | [
"0.5461143",
"0.54543954",
"0.5277177",
"0.52108485",
"0.5175879",
"0.51656985",
"0.5128039",
"0.5118224",
"0.5030621",
"0.5019478",
"0.50175804",
"0.5010048",
"0.49911088",
"0.4989494",
"0.4968712",
"0.49528158",
"0.49109307",
"0.49109307",
"0.4888895",
"0.48810104",
"0.4881... | 0.7148053 | 0 |
Sets a new salesVolumeReliability | Устанавливает новый salesVolumeReliability | public function setSalesVolumeReliability($salesVolumeReliability)
{
$this->salesVolumeReliability = $salesVolumeReliability;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setVolume($vol) {\n\t\t$x = exec(\"amixer sset Volume $vol%\"); // set Volume\n\t\t$x = trim(substr($x,-5,3),\" [\"); // trim result from exec result \"Front Right: 20 [100%]\"\n\t\tif (debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS,2)[1]['function'] == 'invokeMethod') Flight::json(array('Status' => ... | [
"0.55592996",
"0.54562366",
"0.54067016",
"0.53729516",
"0.52422225",
"0.5186545",
"0.5057661",
"0.49506098",
"0.48268133",
"0.4764111",
"0.47359148",
"0.47264874",
"0.4720113",
"0.46928293",
"0.46514833",
"0.46475908",
"0.45813948",
"0.45534188",
"0.4552676",
"0.45524174",
"... | 0.7360894 | 0 |
Sets a new secondNaicsDesc | Устанавливает новый secondNaicsDesc | public function setSecondNaicsDesc($secondNaicsDesc)
{
$this->secondNaicsDesc = $secondNaicsDesc;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setSecondSicDesc($secondSicDesc)\n {\n $this->secondSicDesc = $secondSicDesc;\n return $this;\n }",
"public function setSecondSic8Desc($secondSic8Desc)\n {\n $this->secondSic8Desc = $secondSic8Desc;\n return $this;\n }",
"public function setDescription($s... | [
"0.72113234",
"0.6258895",
"0.61670804",
"0.6117875",
"0.5929303",
"0.5905691",
"0.58603704",
"0.5829508",
"0.5720451",
"0.5708995",
"0.56883615",
"0.5635404",
"0.56315595",
"0.5630451",
"0.5619675",
"0.55942976",
"0.5572455",
"0.55218947",
"0.5493017",
"0.5493017",
"0.546980... | 0.7735393 | 0 |
Sets a new secondSic | Устанавливает новый secondSic | public function setSecondSic($secondSic)
{
$this->secondSic = $secondSic;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setSecondSicDesc($secondSicDesc)\n {\n $this->secondSicDesc = $secondSicDesc;\n return $this;\n }",
"public function setSecondSic8($secondSic8)\n {\n $this->secondSic8 = $secondSic8;\n return $this;\n }",
"public function setSecond($second)\n {\n ... | [
"0.695554",
"0.6579885",
"0.6443778",
"0.61483324",
"0.57197934",
"0.5681288",
"0.5438534",
"0.5384892",
"0.5346057",
"0.5259838",
"0.51754856",
"0.51543593",
"0.51495034",
"0.51420474",
"0.5128357",
"0.50523406",
"0.5048082",
"0.5003835",
"0.496708",
"0.49244687",
"0.4912224... | 0.7776964 | 0 |
Sets a new secondSic8 | Устанавливает новый secondSic8 | public function setSecondSic8($secondSic8)
{
$this->secondSic8 = $secondSic8;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setSecondSic8Desc($secondSic8Desc)\n {\n $this->secondSic8Desc = $secondSic8Desc;\n return $this;\n }",
"public function setSecondSic($secondSic)\n {\n $this->secondSic = $secondSic;\n return $this;\n }",
"public function setPrimarySic8Desc($primarySic8De... | [
"0.7484623",
"0.6427916",
"0.63318884",
"0.6279147",
"0.6247291",
"0.6237639",
"0.61774397",
"0.6051061",
"0.5912254",
"0.5867085",
"0.5637332",
"0.560018",
"0.53334934",
"0.52927136",
"0.5133845",
"0.49587178",
"0.4890347",
"0.4878536",
"0.48285744",
"0.47816026",
"0.4767075... | 0.8070739 | 0 |
Sets a new secondSic8Desc | Устанавливает новый secondSic8Desc | public function setSecondSic8Desc($secondSic8Desc)
{
$this->secondSic8Desc = $secondSic8Desc;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setSecondSicDesc($secondSicDesc)\n {\n $this->secondSicDesc = $secondSicDesc;\n return $this;\n }",
"public function setSecondSic8($secondSic8)\n {\n $this->secondSic8 = $secondSic8;\n return $this;\n }",
"public function setPrimarySic8Desc($primarySic8De... | [
"0.7533515",
"0.7052681",
"0.6635904",
"0.64374256",
"0.64272225",
"0.6241632",
"0.61996984",
"0.61961746",
"0.60275424",
"0.59833217",
"0.5960865",
"0.58394706",
"0.5600813",
"0.5554164",
"0.55422604",
"0.55044514",
"0.5476252",
"0.5456835",
"0.5440643",
"0.5424225",
"0.5416... | 0.8216921 | 0 |
Sets a new secondSicDesc | Устанавливает новый secondSicDesc | public function setSecondSicDesc($secondSicDesc)
{
$this->secondSicDesc = $secondSicDesc;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setSecondSic8Desc($secondSic8Desc)\n {\n $this->secondSic8Desc = $secondSic8Desc;\n return $this;\n }",
"public function setSecondNaicsDesc($secondNaicsDesc)\n {\n $this->secondNaicsDesc = $secondNaicsDesc;\n return $this;\n }",
"public function setSecond... | [
"0.71977854",
"0.68760127",
"0.6749305",
"0.67417055",
"0.62047535",
"0.6199897",
"0.6133656",
"0.61318815",
"0.61139643",
"0.609859",
"0.6069869",
"0.6061059",
"0.60503036",
"0.5966249",
"0.5940226",
"0.5920335",
"0.5816525",
"0.58102506",
"0.5796923",
"0.5796923",
"0.576563... | 0.8227163 | 0 |
Sets a new sixthNaics | Устанавливает новый sixthNaics | public function setSixthNaics($sixthNaics)
{
$this->sixthNaics = $sixthNaics;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setSixthSic($sixthSic)\n {\n $this->sixthSic = $sixthSic;\n return $this;\n }",
"public function setSixthNaicsDesc($sixthNaicsDesc)\n {\n $this->sixthNaicsDesc = $sixthNaicsDesc;\n return $this;\n }",
"public function setSixthSic8($sixthSic8)\n {\n ... | [
"0.66661245",
"0.6357626",
"0.62358576",
"0.62338257",
"0.5750204",
"0.56704694",
"0.5636167",
"0.55464846",
"0.54033643",
"0.5400793",
"0.52534175",
"0.51987064",
"0.51113224",
"0.51094574",
"0.5096135",
"0.50088",
"0.4998244",
"0.48907298",
"0.48491803",
"0.48474756",
"0.48... | 0.7223306 | 0 |
Sets a new sixthNaicsDesc | Устанавливает новый sixthNaicsDesc | public function setSixthNaicsDesc($sixthNaicsDesc)
{
$this->sixthNaicsDesc = $sixthNaicsDesc;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setSixthSicDesc($sixthSicDesc)\n {\n $this->sixthSicDesc = $sixthSicDesc;\n return $this;\n }",
"public function setFifthNaicsDesc($fifthNaicsDesc)\n {\n $this->fifthNaicsDesc = $fifthNaicsDesc;\n return $this;\n }",
"public function setSixthSic8Desc($six... | [
"0.68417174",
"0.6600263",
"0.64783126",
"0.59031385",
"0.5806057",
"0.56749165",
"0.5546784",
"0.5521004",
"0.54935294",
"0.5350057",
"0.52543986",
"0.5219109",
"0.5161816",
"0.5161204",
"0.5083337",
"0.50488156",
"0.5000038",
"0.49787372",
"0.49025264",
"0.48684713",
"0.485... | 0.75889575 | 0 |
Sets a new sixthSic | Устанавливает новый sixthSic | public function setSixthSic($sixthSic)
{
$this->sixthSic = $sixthSic;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setSixthSic8($sixthSic8)\n {\n $this->sixthSic8 = $sixthSic8;\n return $this;\n }",
"public function setSixthSicDesc($sixthSicDesc)\n {\n $this->sixthSicDesc = $sixthSicDesc;\n return $this;\n }",
"public function setFifthSic($fifthSic)\n {\n $t... | [
"0.736254",
"0.7122629",
"0.6626699",
"0.6527156",
"0.63125616",
"0.6141983",
"0.59873974",
"0.5836504",
"0.5799138",
"0.570764",
"0.57063806",
"0.5457885",
"0.54513866",
"0.5342432",
"0.5287925",
"0.5267281",
"0.5181349",
"0.5134315",
"0.5099937",
"0.5027574",
"0.49444875",
... | 0.79773015 | 0 |
Sets a new sixthSic8 | Устанавливает новый sixthSic8 | public function setSixthSic8($sixthSic8)
{
$this->sixthSic8 = $sixthSic8;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setSixthSic8Desc($sixthSic8Desc)\n {\n $this->sixthSic8Desc = $sixthSic8Desc;\n return $this;\n }",
"public function setFifthSic8($fifthSic8)\n {\n $this->fifthSic8 = $fifthSic8;\n return $this;\n }",
"public function setSecondSic8($secondSic8)\n {\n ... | [
"0.72831404",
"0.72624534",
"0.7035332",
"0.6808491",
"0.6764444",
"0.633288",
"0.6273365",
"0.62337935",
"0.61984104",
"0.5847752",
"0.58013296",
"0.5706835",
"0.5672287",
"0.53805727",
"0.532833",
"0.51873225",
"0.5116491",
"0.5069993",
"0.5032161",
"0.50142276",
"0.4973371... | 0.80134654 | 0 |
Sets a new sixthSic8Desc | Устанавливает новый sixthSic8Desc | public function setSixthSic8Desc($sixthSic8Desc)
{
$this->sixthSic8Desc = $sixthSic8Desc;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setFifthSic8Desc($fifthSic8Desc)\n {\n $this->fifthSic8Desc = $fifthSic8Desc;\n return $this;\n }",
"public function setSixthSicDesc($sixthSicDesc)\n {\n $this->sixthSicDesc = $sixthSicDesc;\n return $this;\n }",
"public function setSecondSic8Desc($second... | [
"0.74413466",
"0.73178643",
"0.7274866",
"0.6792334",
"0.6739733",
"0.6715583",
"0.66751283",
"0.66009307",
"0.63554215",
"0.6288082",
"0.5932467",
"0.5721855",
"0.5709324",
"0.56601083",
"0.5600314",
"0.53965497",
"0.5374878",
"0.5373748",
"0.5330926",
"0.5314487",
"0.519493... | 0.8065513 | 0 |
Sets a new sixthSicDesc | Устанавливает новый sixthSicDesc | public function setSixthSicDesc($sixthSicDesc)
{
$this->sixthSicDesc = $sixthSicDesc;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setSixthSic8Desc($sixthSic8Desc)\n {\n $this->sixthSic8Desc = $sixthSic8Desc;\n return $this;\n }",
"public function setFifthSicDesc($fifthSicDesc)\n {\n $this->fifthSicDesc = $fifthSicDesc;\n return $this;\n }",
"public function setFifthSic8Desc($fifthSi... | [
"0.7475091",
"0.68683386",
"0.66717416",
"0.6513207",
"0.6426781",
"0.6418322",
"0.6377755",
"0.6122689",
"0.6112484",
"0.607531",
"0.60657454",
"0.5919793",
"0.5907824",
"0.58096343",
"0.57739073",
"0.5671456",
"0.5655435",
"0.55883515",
"0.5554464",
"0.5528928",
"0.5448061"... | 0.8053114 | 0 |
Sets a new smallBusiness | Устанавливает новый smallBusiness | public function setSmallBusiness($smallBusiness)
{
$this->smallBusiness = $smallBusiness;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function create(Business $business)\n {\n //\n }",
"protected function initBusiness()\n\t{\n\t\t//TODO: replace this code with real business identification\n\t\t$business = new Business();\n\t\t$this->businessHelper = new BusinessHelper($business);\n\t}",
"public function __construct($busin... | [
"0.6150945",
"0.5840946",
"0.5827008",
"0.5820904",
"0.58145756",
"0.56381464",
"0.5439664",
"0.5432135",
"0.5404775",
"0.52869886",
"0.51897544",
"0.518402",
"0.51666635",
"0.51666635",
"0.51666635",
"0.51666635",
"0.51666635",
"0.5149998",
"0.51113516",
"0.5082488",
"0.5030... | 0.7537188 | 0 |
Sets a new stockExchange | Устанавливает новый stockExchange | public function setStockExchange($stockExchange)
{
$this->stockExchange = $stockExchange;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setStock($stock);",
"private function setStock($stock)\n {\n $article = oxNew('oxArticle');\n $article->load($this->testArticleId);\n $article->oxarticles__oxstock = new oxField($stock, oxField::T_RAW);\n $article->save();\n }",
"public function setExchangeRate... | [
"0.6492424",
"0.633647",
"0.60782063",
"0.59093934",
"0.58097863",
"0.5800589",
"0.5768564",
"0.5746479",
"0.5746479",
"0.56109834",
"0.5582171",
"0.54914576",
"0.54914576",
"0.54914576",
"0.5464324",
"0.5412606",
"0.53742504",
"0.53590465",
"0.5330684",
"0.5318997",
"0.53039... | 0.71677667 | 0 |
Sets a new thirdNaics | Устанавливает новый thirdNaics | public function setThirdNaics($thirdNaics)
{
$this->thirdNaics = $thirdNaics;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setThirdSic($thirdSic)\n {\n $this->thirdSic = $thirdSic;\n return $this;\n }",
"public function setThird($third = null)\n {\n // validation for constraint: string\n if (!is_null($third) && !is_string($third)) {\n throw new \\InvalidArgumentExceptio... | [
"0.678292",
"0.65676063",
"0.6460052",
"0.6425564",
"0.58419055",
"0.5741198",
"0.5727509",
"0.56933326",
"0.5676705",
"0.5562127",
"0.55121374",
"0.55106574",
"0.54938406",
"0.54580414",
"0.5360348",
"0.5357724",
"0.5291235",
"0.527513",
"0.52511346",
"0.5224426",
"0.5205176... | 0.74120474 | 0 |
Sets a new thirdNaicsDesc | Устанавливает новый thirdNaicsDesc | public function setThirdNaicsDesc($thirdNaicsDesc)
{
$this->thirdNaicsDesc = $thirdNaicsDesc;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setThirdSicDesc($thirdSicDesc)\n {\n $this->thirdSicDesc = $thirdSicDesc;\n return $this;\n }",
"public function setThirdSic8Desc($thirdSic8Desc)\n {\n $this->thirdSic8Desc = $thirdSic8Desc;\n return $this;\n }",
"public function setThirdNaics($thirdNaics... | [
"0.6969263",
"0.609307",
"0.5911615",
"0.56530666",
"0.5596647",
"0.5527309",
"0.5364656",
"0.533895",
"0.5293226",
"0.5248315",
"0.5245959",
"0.52362514",
"0.5206303",
"0.51898193",
"0.51898193",
"0.5176816",
"0.5166726",
"0.5143933",
"0.5112772",
"0.5088543",
"0.50571835",
... | 0.74663 | 0 |
Sets a new thirdSic | Устанавливает новый thirdSic | public function setThirdSic($thirdSic)
{
$this->thirdSic = $thirdSic;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setThirdSicDesc($thirdSicDesc)\n {\n $this->thirdSicDesc = $thirdSicDesc;\n return $this;\n }",
"public function setThirdSic8($thirdSic8)\n {\n $this->thirdSic8 = $thirdSic8;\n return $this;\n }",
"public function setThirdSic8Desc($thirdSic8Desc)\n {\n... | [
"0.6758885",
"0.66009605",
"0.5899008",
"0.5867846",
"0.5847932",
"0.5684356",
"0.55948853",
"0.5492402",
"0.53708965",
"0.5196326",
"0.51596576",
"0.5152656",
"0.515005",
"0.5068278",
"0.50019455",
"0.49789512",
"0.4966577",
"0.4953903",
"0.49461114",
"0.49447492",
"0.491182... | 0.769704 | 0 |
Sets a new thirdSic8 | Устанавливает новый thirdSic8 | public function setThirdSic8($thirdSic8)
{
$this->thirdSic8 = $thirdSic8;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setThirdSic8Desc($thirdSic8Desc)\n {\n $this->thirdSic8Desc = $thirdSic8Desc;\n return $this;\n }",
"public function setSecondSic8($secondSic8)\n {\n $this->secondSic8 = $secondSic8;\n return $this;\n }",
"public function setSixthSic8($sixthSic8)\n {\n... | [
"0.71263963",
"0.6642986",
"0.6482035",
"0.6228423",
"0.61116457",
"0.5971122",
"0.59039545",
"0.59016883",
"0.5651594",
"0.5622258",
"0.5525274",
"0.52463406",
"0.5239277",
"0.51736003",
"0.5028937",
"0.4988789",
"0.49034956",
"0.4877817",
"0.4876875",
"0.4864016",
"0.477557... | 0.7858616 | 0 |
Sets a new thirdSic8Desc | Устанавливает новый thirdSic8Desc | public function setThirdSic8Desc($thirdSic8Desc)
{
$this->thirdSic8Desc = $thirdSic8Desc;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setThirdSicDesc($thirdSicDesc)\n {\n $this->thirdSicDesc = $thirdSicDesc;\n return $this;\n }",
"public function setSecondSic8Desc($secondSic8Desc)\n {\n $this->secondSic8Desc = $secondSic8Desc;\n return $this;\n }",
"public function setSixthSic8Desc($six... | [
"0.6940201",
"0.6856226",
"0.65820855",
"0.63449",
"0.6254033",
"0.6230799",
"0.6127191",
"0.5998511",
"0.59882003",
"0.59751415",
"0.5806826",
"0.56260985",
"0.55591214",
"0.55331784",
"0.551186",
"0.54940593",
"0.54061604",
"0.54056126",
"0.5398296",
"0.53953",
"0.53262246"... | 0.77849776 | 0 |
Sets a new thirdSicDesc | Устанавливает новый thirdSicDesc | public function setThirdSicDesc($thirdSicDesc)
{
$this->thirdSicDesc = $thirdSicDesc;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setThirdSic8Desc($thirdSic8Desc)\n {\n $this->thirdSic8Desc = $thirdSic8Desc;\n return $this;\n }",
"public function setSecondSicDesc($secondSicDesc)\n {\n $this->secondSicDesc = $secondSicDesc;\n return $this;\n }",
"public function setThirdNaicsDesc($th... | [
"0.69161826",
"0.6468775",
"0.63783795",
"0.6362589",
"0.6152031",
"0.61391103",
"0.6013178",
"0.5903756",
"0.58087826",
"0.57936543",
"0.57924086",
"0.577126",
"0.5767572",
"0.56806695",
"0.56806695",
"0.5672315",
"0.5640413",
"0.56155837",
"0.56102324",
"0.56102324",
"0.555... | 0.77949166 | 0 |
Sets a new tradeStyle1 | Устанавливает новый tradeStyle1 | public function setTradeStyle1($tradeStyle1)
{
$this->tradeStyle1 = $tradeStyle1;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setStyle($style) {}",
"public function setTradeStyle2($tradeStyle2)\n {\n $this->tradeStyle2 = $tradeStyle2;\n return $this;\n }",
"public function setStyle(string $name, $style);",
"public function setTradeStyle3($tradeStyle3)\n {\n $this->tradeStyle3 = $tradeSt... | [
"0.6426642",
"0.63518244",
"0.62532365",
"0.6222825",
"0.60979396",
"0.60647804",
"0.60045207",
"0.58168083",
"0.5722949",
"0.57187116",
"0.5466853",
"0.5420216",
"0.541908",
"0.5322905",
"0.53146887",
"0.5306874",
"0.52777857",
"0.524775",
"0.52460885",
"0.5229586",
"0.52154... | 0.787363 | 0 |
Sets a new tradeStyle2 | Устанавливает новый tradeStyle2 | public function setTradeStyle2($tradeStyle2)
{
$this->tradeStyle2 = $tradeStyle2;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setTradeStyle1($tradeStyle1)\n {\n $this->tradeStyle1 = $tradeStyle1;\n return $this;\n }",
"public function setStyle($style) {}",
"public static function style_set() {\n\t\t global $I2_USER;\n\t\t if (self::$style == NULL) {\n\t\t\t if (isset($I2_USER)) {\n\t\t\t\t\t se... | [
"0.6721947",
"0.62441945",
"0.60559016",
"0.6032421",
"0.58265144",
"0.5818794",
"0.5730582",
"0.56045955",
"0.556948",
"0.5527637",
"0.54320586",
"0.541202",
"0.5379189",
"0.5322899",
"0.52720183",
"0.51656157",
"0.50706553",
"0.5056028",
"0.50266093",
"0.49819413",
"0.49273... | 0.7889181 | 0 |
Sets a new tradeStyle3 | Устанавливает новый tradeStyle3 | public function setTradeStyle3($tradeStyle3)
{
$this->tradeStyle3 = $tradeStyle3;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setTradeStyle1($tradeStyle1)\n {\n $this->tradeStyle1 = $tradeStyle1;\n return $this;\n }",
"public function setStyle($style) {}",
"private function setStyle($style){\r\n //Checks if $style is a string, if not use default light as styling\r\n if(is_string($styl... | [
"0.6434727",
"0.61883944",
"0.60269487",
"0.6009705",
"0.58306843",
"0.5715798",
"0.5705097",
"0.5688405",
"0.55657494",
"0.55100685",
"0.5503199",
"0.54940367",
"0.5478784",
"0.5423794",
"0.5420045",
"0.53567904",
"0.53400487",
"0.53289163",
"0.53255796",
"0.53055185",
"0.52... | 0.798824 | 0 |
Sets a new tradeStyle4 | Устанавливает новый tradeStyle4 | public function setTradeStyle4($tradeStyle4)
{
$this->tradeStyle4 = $tradeStyle4;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setTradeStyle3($tradeStyle3)\n {\n $this->tradeStyle3 = $tradeStyle3;\n return $this;\n }",
"public function setTradeStyle1($tradeStyle1)\n {\n $this->tradeStyle1 = $tradeStyle1;\n return $this;\n }",
"public function setStyle($style) {}",
"public funct... | [
"0.6566347",
"0.65148664",
"0.62159693",
"0.590292",
"0.57858795",
"0.5783857",
"0.5777486",
"0.57675165",
"0.5698343",
"0.5581634",
"0.5462879",
"0.5434214",
"0.5379121",
"0.53170323",
"0.5281238",
"0.52676547",
"0.52646303",
"0.52565706",
"0.5232815",
"0.5221937",
"0.521421... | 0.7099555 | 0 |
Sets a new tradeStyle5 | Устанавливает новый tradeStyle5 | public function setTradeStyle5($tradeStyle5)
{
$this->tradeStyle5 = $tradeStyle5;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setTradeStyle1($tradeStyle1)\n {\n $this->tradeStyle1 = $tradeStyle1;\n return $this;\n }",
"public function setTradeStyle3($tradeStyle3)\n {\n $this->tradeStyle3 = $tradeStyle3;\n return $this;\n }",
"public function setStyle($style) {}",
"private func... | [
"0.6329809",
"0.6162981",
"0.59914064",
"0.5753264",
"0.5639926",
"0.56251234",
"0.56099135",
"0.5567983",
"0.556501",
"0.5563773",
"0.5507826",
"0.5284737",
"0.5184085",
"0.5128589",
"0.5127215",
"0.51091367",
"0.50755024",
"0.5022113",
"0.5015567",
"0.49675617",
"0.4957396"... | 0.7610268 | 0 |
Sets a new userRecordAccess | Устанавливает новый пользовательский доступ к записям | public function setUserRecordAccess(\GoetasWebservices\Client\SalesforceEnterprise\Sobject\UserRecordAccessType $userRecordAccess)
{
$this->userRecordAccess = $userRecordAccess;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setAccess($val)\n {\n $this->_propDict[\"access\"] = $val;\n return $this;\n }",
"public function setAccess($value)\n {\n if ($value !== null) {\n $this->_params['access'] = $value;\n } else {\n unset($this->_params['access']);\n ... | [
"0.6344451",
"0.62512815",
"0.610931",
"0.5817309",
"0.5817309",
"0.56655014",
"0.5645573",
"0.5613026",
"0.55899876",
"0.5557354",
"0.55570215",
"0.55186003",
"0.5509508",
"0.5477899",
"0.54694813",
"0.54389524",
"0.5407127",
"0.5394081",
"0.5380036",
"0.5366801",
"0.5331169... | 0.75177264 | 0 |
Sets a new womenOwned | Устанавливает новое значение womenOwned | public function setWomenOwned($womenOwned)
{
$this->womenOwned = $womenOwned;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setAsWoman()\n {\n $this->getEntity()->setAsWoman();\n return $this;\n }",
"public function setMinorityOwned($minorityOwned)\n {\n $this->minorityOwned = $minorityOwned;\n return $this;\n }",
"public function setOwnership($ownership) {\n\n if (!($t... | [
"0.5646446",
"0.53419673",
"0.525968",
"0.511615",
"0.497787",
"0.48391607",
"0.48235434",
"0.47982642",
"0.47689292",
"0.47507113",
"0.46880442",
"0.46869773",
"0.46588862",
"0.4584795",
"0.45633084",
"0.45366278",
"0.45065445",
"0.44994488",
"0.44843543",
"0.44821757",
"0.4... | 0.80578226 | 0 |
Sets a new yearStarted | Устанавливает новый yearStarted | public function setYearStarted($yearStarted)
{
$this->yearStarted = $yearStarted;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setYear($year) {\n $this->_year = $year;\n }",
"public function setYear($year);",
"public function setYear($year)\n {\n $this->year = $year;\n }",
"public function setYear($year)\n\t{\n\t\t$this->year = $year;\n\t}",
"public function setStartYear($value)\n {\n ret... | [
"0.73343015",
"0.72795373",
"0.7128158",
"0.7125167",
"0.7082354",
"0.6948082",
"0.69320345",
"0.6900329",
"0.6802562",
"0.6740782",
"0.6728825",
"0.660912",
"0.6441822",
"0.6429335",
"0.6369401",
"0.63548326",
"0.63116634",
"0.62134707",
"0.6202939",
"0.6094507",
"0.6077702"... | 0.7329282 | 1 |
Sterge cookieul pentru contorizarea incercarilor de logare si redirecteaza catre > | Удалите cookie для отслеживания попыток входа и перенаправьте на > | private function _redirect ()
{
global $CALE_VIRTUALA_SERVER;
setcookie(self::$_cookieCount, "", time() - 3600, "/");
header("Location: " . $CALE_VIRTUALA_SERVER);
die();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected function handle_cookie()\n {\n }",
"public function auth(){\n if(empty($_COOKIE[\"utoken\"])){\n $cookie_value = $this->uuid();\n $this->utoken = $cookie_value;\n $this->setHeader($this->utoken);\n }else{\n $this->utoken = $_COOKIE[\"utoken\"];\n $this->setH... | [
"0.6898031",
"0.6853494",
"0.68405825",
"0.6816789",
"0.6784403",
"0.67681044",
"0.67427313",
"0.6708418",
"0.670225",
"0.6661924",
"0.6646146",
"0.6645907",
"0.6643593",
"0.66380805",
"0.66140324",
"0.65919757",
"0.65592813",
"0.6538403",
"0.6501885",
"0.64964306",
"0.644355... | 0.70337987 | 0 |
/ Get a criterion. | / Получить критерий. | function get_criterion($ad_group_id, $criterion_id) {
$selector = $this->__criteria_selector_ids(
array(array('ad_group_id' => $ad_group_id,
'criterion_id' => $criterion_id)));
$result = $this->__do_get('AdGroupCriterionService', $selector);
if (!isset... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getCriterion()\n {\n return $this->hasOne(MgfSelectionCriteria::className(), ['id' => 'criterion_id']);\n }",
"public function criterion() // phpcs:ignore\n {\n return $this->belongsTo(Criteria::class, 'criterion_id');\n }",
"public function getCriteria();",
"public ... | [
"0.6996926",
"0.6185051",
"0.60001403",
"0.5940613",
"0.5940613",
"0.5940613",
"0.5650189",
"0.56146866",
"0.5554954",
"0.5554954",
"0.5550716",
"0.54699147",
"0.54402953",
"0.5437898",
"0.54212856",
"0.5410413",
"0.5405558",
"0.53993",
"0.5362731",
"0.52750194",
"0.5265582",... | 0.7000053 | 0 |
/ Add keyword criteria for ad groups. | / Добавить критерии ключевых слов для групп объявлений. | function add_keywords($keywords) {
$operations = array();
for ($i = 0; $i < count($keywords); $i++) {
$k = $keywords[$i];
if (!isset($k['match_type']))
$k['match_type'] = AW_MATCH_TYPE_BROAD;
$keyword = '<criterion xsi:type="Keyword">
<text>'.$this-... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function add_keyword($ad_group_id, $text, $match_type = AW_MATCH_TYPE_BROAD,\n $user_status = null, $destination_url = null) {\n\n $result = $this->add_keywords(\n array(array('ad_group_id' => $ad_group_id,\n 'text' => $text,\n ... | [
"0.61568916",
"0.5743397",
"0.56181484",
"0.5420039",
"0.5399387",
"0.539838",
"0.5265918",
"0.5210051",
"0.51427674",
"0.5141144",
"0.5090773",
"0.50902915",
"0.5068592",
"0.50459844",
"0.5028834",
"0.50165045",
"0.4986797",
"0.4986797",
"0.49469212",
"0.4938137",
"0.4912826... | 0.75120157 | 0 |
/ Delete a criterion. | / Удалить критерий. | function delete_criterion($ad_group_id, $criterion_id) {
$criterion = '<criterion>
<id>'.$this->__xml($criterion_id).'</id>
</criterion>';
$operation = $this->__make_criterion_operation('REMOVE',
$ad_group_id,
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function deleteByCriterion(stubCriterion $criterion, stubBaseReflectionClass $entityClass);",
"public function byCriterion()\n {\n $mockCriterion = $this->getMock('stubCriterion');\n $mockCriterion->expects($this->any())->method('toSQL')->will($this->returnValue('example'));\n $moc... | [
"0.7167594",
"0.6842884",
"0.65339977",
"0.64865667",
"0.6458306",
"0.63793284",
"0.63793284",
"0.63221014",
"0.63060707",
"0.6263376",
"0.6256676",
"0.6245846",
"0.6194345",
"0.6176431",
"0.61446095",
"0.61258215",
"0.611551",
"0.6103804",
"0.6078032",
"0.6042396",
"0.603425... | 0.7074423 | 1 |
/ Set user status for a criterion. | / Установить статус пользователя для критерия. | function set_criterion_user_status($ad_group_id, $criterion_id,
$user_status = AW_USER_STATUS_ACTIVE) {
$criterion = '<criterion>
<id>'.$this->__xml($criterion_id).'</id>
</criterion>';
$operation = $this->__make_criterion_operation('SET... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function set_criteria_user_statuses($criteria) {\n\n $operations = array();\n\n for ($i = 0; $i < count($criteria); $i++) {\n\n $c = $criteria[$i];\n\n $criterion = '<criterion>\n <id>'.$this->__xml($c['criterion_id']).'</id>\n </criterion>';\n\n ... | [
"0.73800194",
"0.6697068",
"0.65967727",
"0.6581709",
"0.6466315",
"0.6406927",
"0.6399982",
"0.6358593",
"0.6326815",
"0.62875307",
"0.61818546",
"0.61590594",
"0.60682106",
"0.6057096",
"0.59766454",
"0.5965416",
"0.5943478",
"0.59197277",
"0.5883512",
"0.5862137",
"0.58392... | 0.7794975 | 0 |
/ Set user statuses for criteria. | / Установить статусы пользователей для критериев. | function set_criteria_user_statuses($criteria) {
$operations = array();
for ($i = 0; $i < count($criteria); $i++) {
$c = $criteria[$i];
$criterion = '<criterion>
<id>'.$this->__xml($c['criterion_id']).'</id>
</criterion>';
$operations[] ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function testUpdateStatusByUserId()\n {\n $session = $this->objectManager->create(\\Magento\\Security\\Model\\AdminSessionInfo::class);\n /** @var $session \\Magento\\Security\\Model\\AdminSessionInfo */\n $session->getResource()->updateStatusByUserId(\n \\Magento\\Securit... | [
"0.68239844",
"0.6589558",
"0.65620816",
"0.65602165",
"0.6402035",
"0.6370485",
"0.63408345",
"0.6203349",
"0.6189341",
"0.6182908",
"0.6080455",
"0.6074771",
"0.6068139",
"0.6064668",
"0.60127574",
"0.5976249",
"0.5975985",
"0.5966094",
"0.59383917",
"0.591913",
"0.5879094"... | 0.80626404 | 0 |
/ Private: do a get operation on service using selector. | Приватный: выполнить операцию get на сервисе с использованием селектора. | function __do_get($service, $selector) {
$request = '<get xmlns="'.$this->__xml($this->namespace).'">'.
$selector
.'</get>';
$result = $this->__call_service($service, $request, 'get');
/* Make sure we always return a list of result entries */
if (isset($result['entries... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function get($selector)\n {\n $arg = new ServicedAccountServiceGet($selector);\n $result = $this->__soapCall(\"get\", array($arg));\n return $result->rval;\n }",
"public function get($selector)\n {\n $arg = new TrafficEstimatorServiceGet($selector);\n $res... | [
"0.6723149",
"0.636346",
"0.62748975",
"0.62668777",
"0.59475696",
"0.5917017",
"0.5888528",
"0.58131486",
"0.56715196",
"0.5664669",
"0.5573841",
"0.5493774",
"0.54683346",
"0.5458895",
"0.54194796",
"0.53935415",
"0.53929424",
"0.53675455",
"0.5346641",
"0.53201747",
"0.530... | 0.79555976 | 0 |
Construct a where not query | Создайте запрос where not | public function whereNotEq()
{
list($field, $value) = $this->extractQueryToFieldAndValue(func_get_args());
$this->_conditions[self::WHERENOT][$field] = [self::OPERATORS['ne'] => $value];
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function orWhereNotEq()\n {\n list($field, $value) = $this->extractQueryToFieldAndValue(func_get_args());\n return $this->addOrWhereStack([$field => [self::OPERATORS['ne'] => $value]]);\n }",
"function NotWhere ($whereclause)\n\t{\n\t\t$this->clause = $whereclause;\n\t}",
"public fun... | [
"0.7748849",
"0.7424576",
"0.72896516",
"0.72624135",
"0.7227204",
"0.7203647",
"0.71726745",
"0.70374286",
"0.6973195",
"0.6969425",
"0.69341826",
"0.6891366",
"0.68681806",
"0.686666",
"0.6805657",
"0.67231625",
"0.66810256",
"0.66466206",
"0.66323954",
"0.65916324",
"0.655... | 0.78032833 | 0 |
Construct a where in query | Создайте where в запросе | public function whereIn()
{
list($field, $value) = $this->extractQueryToFieldAndValue(func_get_args());
$this->_conditions[self::WHEREIN][$field] = [self::OPERATORS['in'] => $value];
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function orWhereIn()\n {\n list($field, $value) = $this->extractQueryToFieldAndValue(func_get_args());\n if (!is_array($value)) {\n $value = [$value];\n }\n return $this->addOrWhereStack([$field => [self::OPERATORS['in'] => $value]]); \n }",
"public function ... | [
"0.6962412",
"0.681159",
"0.67868304",
"0.66559786",
"0.66363084",
"0.65737927",
"0.65525925",
"0.6550901",
"0.65079594",
"0.6501649",
"0.6443444",
"0.64195406",
"0.6402676",
"0.6396962",
"0.63628495",
"0.6343105",
"0.6339181",
"0.62995726",
"0.6289855",
"0.62853473",
"0.6258... | 0.7498451 | 0 |
Construct where not in query | Построение, где не входит в запрос | public function whereNotIn()
{
list($field, $value) = $this->extractQueryToFieldAndValue(func_get_args());
$this->_conditions[self::WHERENOTIN][$field] = [self::OPERATORS['nin'] => $value];
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function where_not_in($key = NULL, $values = NULL)\r\n\t{\r\n\t\treturn $this->_where_in($key, $values, TRUE);\r\n\t}",
"public function orWhereNotIn()\n {\n list($field, $value) = $this->extractQueryToFieldAndValue(func_get_args());\n if (!is_array($value)) {\n $value = [$value];\n ... | [
"0.70880145",
"0.70852274",
"0.7057642",
"0.70536363",
"0.68638325",
"0.68360204",
"0.6707707",
"0.66447735",
"0.66274786",
"0.6625353",
"0.66195047",
"0.6604717",
"0.6546056",
"0.65145403",
"0.65145403",
"0.650913",
"0.64973575",
"0.649199",
"0.6477398",
"0.6462594",
"0.6444... | 0.73436517 | 0 |
Construct where greater query | Построение запроса с условием "больше" | public function whereGreater()
{
list($field, $value) = $this->extractQueryToFieldAndValue(func_get_args());
$this->_conditions[self::WHEREGREATER][$field] = [self::OPERATORS['gt'] => $value];
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function whereGreaterOrEq()\n {\n list($field, $value) = $this->extractQueryToFieldAndValue(func_get_args());\n $this->_conditions[self::WHEREGTE][$field] = [self::OPERATORS['gte'] => $value];\n return $this;\n }",
"public function whereGreaterThan($field, $value) {\n\t$this->pa... | [
"0.7298317",
"0.6945824",
"0.66110915",
"0.648558",
"0.64118177",
"0.64118177",
"0.63333184",
"0.6332407",
"0.62612474",
"0.6239027",
"0.622632",
"0.610803",
"0.5995173",
"0.59688854",
"0.5934287",
"0.5849547",
"0.57961965",
"0.57866627",
"0.57598335",
"0.5734281",
"0.5710294... | 0.7807963 | 0 |
Construct where greater than or equal query | Построение запроса "больше или равно" | public function whereGreaterOrEq()
{
list($field, $value) = $this->extractQueryToFieldAndValue(func_get_args());
$this->_conditions[self::WHEREGTE][$field] = [self::OPERATORS['gte'] => $value];
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function whereGreater()\n {\n list($field, $value) = $this->extractQueryToFieldAndValue(func_get_args());\n $this->_conditions[self::WHEREGREATER][$field] = [self::OPERATORS['gt'] => $value];\n return $this;\n }",
"public function whereLessThanOrEq()\n {\n list($field,... | [
"0.7025464",
"0.66923106",
"0.65659726",
"0.6343077",
"0.6221349",
"0.61835694",
"0.61831117",
"0.6156254",
"0.61391056",
"0.61189103",
"0.6118684",
"0.602042",
"0.59787047",
"0.5959164",
"0.59118557",
"0.59029",
"0.58795875",
"0.58775556",
"0.58247185",
"0.5816867",
"0.58023... | 0.7526164 | 0 |
Construct where less than or equal query | Построение запроса "меньше или равно" | public function whereLessThanOrEq()
{
list($field, $value) = $this->extractQueryToFieldAndValue(func_get_args());
$this->_conditions[self::WHERELTE][$field] = [self::OPERATORS['lte'] => $value];
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function whereLessThan()\n {\n list($field, $value) = $this->extractQueryToFieldAndValue(func_get_args());\n $this->_conditions[self::WHERELT][$field] = [self::OPERATORS['lt'] => $value];\n return $this;\n }",
"protected function user_where_clause() {}",
"public function where... | [
"0.71028495",
"0.6675451",
"0.6525024",
"0.6402105",
"0.63842046",
"0.63454473",
"0.6318872",
"0.62178034",
"0.6196878",
"0.615039",
"0.6098593",
"0.6067524",
"0.6048903",
"0.6017188",
"0.5938354",
"0.5917192",
"0.59156716",
"0.59115297",
"0.589732",
"0.58932227",
"0.58749187... | 0.7684559 | 0 |
Construct where less than query | Построение запроса "меньше чем" | public function whereLessThan()
{
list($field, $value) = $this->extractQueryToFieldAndValue(func_get_args());
$this->_conditions[self::WHERELT][$field] = [self::OPERATORS['lt'] => $value];
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function lt(): WhereCondition\n {\n\n $this->_op = self::OP_TYPE_LT;\n\n return $this;\n\n }",
"public function whereLessThanOrEq()\n {\n list($field, $value) = $this->extractQueryToFieldAndValue(func_get_args());\n $this->_conditions[self::WHERELTE][$field] = [self::O... | [
"0.7133006",
"0.7091987",
"0.6947106",
"0.6731769",
"0.6347315",
"0.63054436",
"0.62824875",
"0.6279436",
"0.6206253",
"0.6201831",
"0.6199029",
"0.6065836",
"0.606124",
"0.6034672",
"0.6020828",
"0.59722185",
"0.58200175",
"0.57891107",
"0.5786137",
"0.57835674",
"0.57835674... | 0.79860026 | 0 |
Construct an or where query | Постройте запрос OR where | public function orWhere()
{
list($field, $value) = $this->extractQueryToFieldAndValue(func_get_args());
return $this->addOrWhereStack([$field => $value]);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function orWhere() {\r\n\t\t$args = func_get_args();\r\n\t\tif (count($this->_wheres)) {\r\n\t\t\t$criteria = call_user_func_array(array($this->_wheres[count($this->_wheres)- 1], 'orWhere'), $args);\r\n\t\t} else {\r\n\t\t\t$statement = array_shift($args);\r\n\t\t\t$criteria = new Dbi_Sql_Criteria($this, ne... | [
"0.7954858",
"0.79530424",
"0.7849825",
"0.77651227",
"0.7746528",
"0.77427214",
"0.7695908",
"0.7678046",
"0.759597",
"0.75793177",
"0.7570944",
"0.7540896",
"0.7520945",
"0.7486932",
"0.73674065",
"0.7355349",
"0.73018473",
"0.72661734",
"0.7245442",
"0.7222104",
"0.7174944... | 0.8028377 | 0 |
Construct an or where not query | Постройте запрос OR where not | public function orWhereNotEq()
{
list($field, $value) = $this->extractQueryToFieldAndValue(func_get_args());
return $this->addOrWhereStack([$field => [self::OPERATORS['ne'] => $value]]);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function orWhereNotIn()\n {\n list($field, $value) = $this->extractQueryToFieldAndValue(func_get_args());\n if (!is_array($value)) {\n $value = [$value];\n }\n return $this->addOrWhereStack([$field => [self::OPERATORS['nin'] => $value]]); \n }",
"public funct... | [
"0.75270385",
"0.7332544",
"0.7136232",
"0.7002418",
"0.6897121",
"0.66483927",
"0.6633393",
"0.6600749",
"0.65666205",
"0.64965874",
"0.64935356",
"0.64784056",
"0.6443923",
"0.63519704",
"0.6338275",
"0.63181454",
"0.6317493",
"0.63085854",
"0.6307545",
"0.63060224",
"0.630... | 0.8065344 | 0 |
Construct an or where in query | Постройте OR где в запросе | public function orWhereIn()
{
list($field, $value) = $this->extractQueryToFieldAndValue(func_get_args());
if (!is_array($value)) {
$value = [$value];
}
return $this->addOrWhereStack([$field => [self::OPERATORS['in'] => $value]]);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function orIn($column,$val);",
"public function orWhere($table,$column,$data = \"\");",
"function or_where_in($key = NULL, $values = NULL)\r\n\t{\r\n\t \treturn $this->_where_in($key, $values, FALSE, 'OR ');\r\n\t}",
"public function orWhere()\n {\n list($field, $value) = $this->extractQuery... | [
"0.7395786",
"0.71642846",
"0.7118504",
"0.7007668",
"0.6985851",
"0.6981185",
"0.69193864",
"0.69174856",
"0.68158907",
"0.6808229",
"0.68041176",
"0.6777004",
"0.6773075",
"0.67688656",
"0.66753626",
"0.6616925",
"0.6556034",
"0.6550628",
"0.65500045",
"0.6507027",
"0.65032... | 0.7923785 | 0 |
Construct an or where not in query | Создайте OR, где не входит запрос | public function orWhereNotIn()
{
list($field, $value) = $this->extractQueryToFieldAndValue(func_get_args());
if (!is_array($value)) {
$value = [$value];
}
return $this->addOrWhereStack([$field => [self::OPERATORS['nin'] => $value]]);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function orWhereNotEq()\n {\n list($field, $value) = $this->extractQueryToFieldAndValue(func_get_args());\n return $this->addOrWhereStack([$field => [self::OPERATORS['ne'] => $value]]);\n }",
"function or_where_not_in($key = NULL, $values = NULL)\r\n\t{\r\n\t\treturn $this->_where_in($... | [
"0.73380804",
"0.7020119",
"0.67747027",
"0.67467374",
"0.6695459",
"0.6682636",
"0.64655787",
"0.6410246",
"0.6410246",
"0.63942605",
"0.6376508",
"0.63399214",
"0.63297707",
"0.63136566",
"0.63123316",
"0.63121164",
"0.62418354",
"0.62342584",
"0.6229317",
"0.62115985",
"0.... | 0.75646 | 0 |
Registers Clientside Startup HTML block | Регистрация клиентской начальной HTML-блокировки | function regClientStartupHTMLBlock($html)
{
$options = ['plaintext' => true];
$startup = true;
$this->regClientScript($html, $options, $startup);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function displayStartup()\n\t{\n\t\t$this->tpl->addBlockFile(\"CONTENT\",\"content\",\"tpl.clientsetup.html\", \"setup\");\n\n\t\t$this->tpl->setVariable(\"TXT_INFO\",$this->lng->txt(\"info_text_first_client\"));\n\t\t$this->tpl->setVariable(\"TXT_HEADER\",$this->lng->txt(\"setup_first_client\"));\n\n\t\t$this->di... | [
"0.646798",
"0.64619184",
"0.61529756",
"0.5919831",
"0.577995",
"0.57573277",
"0.5740804",
"0.5698483",
"0.56889206",
"0.5682623",
"0.5663961",
"0.56138456",
"0.56121105",
"0.5602397",
"0.55637294",
"0.5557947",
"0.55544025",
"0.55543905",
"0.55468935",
"0.5545667",
"0.55376... | 0.7545117 | 0 |
Registers Clientside HTML block | Регистрация клиента HTML блока | function regClientHTMLBlock($html)
{
$options = ['plaintext' => true];
$startup = false;
$this->regClientScript($html, $options, $startup);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function regClientStartupHTMLBlock($html)\n {\n $options = ['plaintext' => true];\n $startup = true;\n $this->regClientScript($html, $options, $startup);\n }",
"function add_html () {\n //Adds a html block\n return '<div class=\"black\">Lorem ipsum dolor</div>';\n }",
... | [
"0.7070073",
"0.67314404",
"0.6527435",
"0.65221393",
"0.627672",
"0.62292427",
"0.61726594",
"0.61552167",
"0.6026339",
"0.60134935",
"0.6012321",
"0.6008448",
"0.5850561",
"0.583789",
"0.5825997",
"0.581665",
"0.581098",
"0.5800989",
"0.5793738",
"0.57930636",
"0.5791011",
... | 0.751923 | 0 |
Displays a javascript alert message in the web browser and quit | Показывает javascript-сообщение об ошибке в веб-браузере и завершает работу | function webAlertAndQuit($msg, $url = "")
{
global $modx, $modx_manager_charset;
if (strpos(strtolower($url), 'javascript:') === 0) {
$fnc = substr($url, 11);
} elseif ($url) {
$fnc = "window.location.href='" . addslashes($url) . "';";
} elseif (isset($_SESSIO... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function salida_abrupta($mensaje){\n\techo \"<script language=\\\"javascript\\\" type=\\\"text/javascript\\\">\n\t\t\t\t\t\talert(\\\"{$mensaje}\\\");\n\t\t\t\t\t\t</script>\";\t\n\techo \"<script>window.close()</script>\";\n\texit;\n}",
"function salida_abrupta($mensaje){\n\techo \"<script language=\\\"javascri... | [
"0.70045215",
"0.70045215",
"0.68733925",
"0.68723035",
"0.68596107",
"0.6816758",
"0.6810233",
"0.67842185",
"0.67819643",
"0.6738437",
"0.67040586",
"0.6663061",
"0.66056085",
"0.65932924",
"0.65637577",
"0.65620166",
"0.6549242",
"0.6547256",
"0.6547073",
"0.64923126",
"0.... | 0.7433343 | 0 |
Returns current login user type web or manager | Возвращает текущий тип пользователя web или manager | function getLoginUserType()
{
if (evo()->isFrontend() && evo()->session('webValidated')) {
return 'web';
}
if (evo()->isBackend() && evo()->session('mgrValidated')) {
return 'manager';
}
return '';
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function getType()\n {\n return self::TYPE_USER;\n }",
"public function getUserType();",
"public function getUserType();",
"public static function get_highest_current_user_type(){\n $user_type = false;\n if(current_user_can('manage_options') || current_user_can('manage_sites')){\n $us... | [
"0.725908",
"0.7220255",
"0.7220255",
"0.706746",
"0.7042781",
"0.7029175",
"0.7024973",
"0.701255",
"0.6982112",
"0.69329304",
"0.69044363",
"0.6895987",
"0.6887403",
"0.6827264",
"0.6784483",
"0.6732003",
"0.668471",
"0.66079515",
"0.6600883",
"0.6584299",
"0.6530857",
"0... | 0.8078754 | 0 |
Access the Locale object, if not set the standard Locale is loaded. | Доступ к объекту Locale, если он не задан, загружается стандартный Locale. | public static function getLocale()
{
if (isset(self::$locale) == false) {
self::setLocale(Factory::locale());
self::$locale->readFile();
}
return self::$locale;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"static function getLocale() {\n\t\treturn self::getRegistry()->get(self::REGISTRY_LOCALE);\n\t}",
"public function getLocale(){\n if (!$this->_locale instanceof Locale) {\n $this->_createLocale();\n }\n return $this->_locale;\n }",
"public function getLocale()\n {\n if( n... | [
"0.7902521",
"0.7826777",
"0.77101004",
"0.7650948",
"0.7640937",
"0.7626533",
"0.7626533",
"0.759405",
"0.75719464",
"0.7453028",
"0.7399412",
"0.7309234",
"0.7284269",
"0.72491056",
"0.7240098",
"0.7231778",
"0.72175103",
"0.72169286",
"0.71962833",
"0.7191984",
"0.71785426... | 0.7840705 | 1 |
Retrieve the citationID at the actual rendering position. | Получите идентификатор цитирования в текущей позиции отображения. | public static function getActualCitationId()
{
if (self::$context->getName() == 'citation'
&& self::getCitationItem()!== false) {
return self::getCitationItem()->get('citationID');
}
return '';
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static function getActualId()\n {\n if (self::$context->getName() == 'citation'\n && self::getCitationItem()!== false) {\n return self::getCitationItem()->get('id');\n }\n\n return self::getData()->getVariable('id');\n }",
"public function getID_C()\n {\... | [
"0.67199063",
"0.60297376",
"0.60009074",
"0.5795609",
"0.5729365",
"0.5658385",
"0.56128377",
"0.5611849",
"0.55201185",
"0.5501848",
"0.54893726",
"0.54753655",
"0.5422066",
"0.541935",
"0.5409137",
"0.54016",
"0.53985953",
"0.539188",
"0.53708595",
"0.5340397",
"0.5328963"... | 0.7664078 | 0 |
Get fields. This is a bit hacky to get around ModelAdmin limitations. Basically, if we are adding a new record, we actually want to return the fields of the specific subclass not PersonalisationVariation itself. So we look for that condition, and if we get it, we create a subclass instance and return it's fields. It wi... | Получение полей. Это немного нестандартный подход, чтобы обойти ограничения ModelAdmin. В общем случае, если мы добавляем новый запись, мы на самом деле хотим вернуть поля конкретного подкласса, а не самого PersonalisationVariation. Поэтому мы ищем этот условие, и если его получаем, создаем экземпляр подкласса и возвра... | public function getCMSFields()
{
if (isset($_REQUEST["sc"]) && !self::$called) {
// just create an instance and return getCMSFields on that
$subclass = $_REQUEST["sc"];
$inst = new $subclass;
// prevent handling this case again.
self::$called = tr... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected function __fields() {\n $Fields = array_keys(get_object_vars($this));\n if (!empty ($this->__onlyFields)) {\n $Fields = $this->__onlyFields;\n }\n $NewFields = array();\n foreach ($Fields as $field) {\n if (in_array ($field, array ('__bound', '__Data', 'cleaned_data', 'label_suff... | [
"0.631081",
"0.6257022",
"0.6131165",
"0.6086778",
"0.60293496",
"0.60164154",
"0.59862226",
"0.597105",
"0.5929277",
"0.591205",
"0.58726555",
"0.5856935",
"0.5856935",
"0.5851248",
"0.5840011",
"0.5837194",
"0.5834624",
"0.5823311",
"0.5803771",
"0.57992935",
"0.5786826",
... | 0.722812 | 0 |
This returns helper text that is displayed at the top of the editor form for a personaliation variation. Subclasses can override this function if they want to provide helper text. | Этот метод возвращает вспомогательный текст, который отображается в верхней части формы редактора для варианта персонализации. Подклассы могут переопределить этот метод, если хотят предоставить вспомогательный текст. | public function helperText()
{
return "";
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getPopup() { \n if($this->blocks) {\n return $this->desc . \"<BR /> <BR />\" . \n \"<b>Blocks\" . \n ($this->charges > 0 ? \" \" . $this->charges . \" more\" : \"\") .\n ($this->blockActionTypes != \"all\" ? $this->blockAct... | [
"0.6677828",
"0.6581941",
"0.6493362",
"0.6359914",
"0.6359838",
"0.63067025",
"0.6274921",
"0.6258289",
"0.62481594",
"0.6227092",
"0.6208692",
"0.62062275",
"0.62057537",
"0.61923385",
"0.6160397",
"0.6159553",
"0.6155585",
"0.6155146",
"0.6112251",
"0.6109298",
"0.6104047"... | 0.7375668 | 0 |
Handle the form petty cash "deleted" event. | Обработка события "удален" формы petty cash. | public function deleted(FormPettyCash $formPettyCash)
{
//
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function forceDeleted(FormPettyCash $formPettyCash)\n {\n //\n }",
"protected function _postDelete() {}",
"protected function _postDelete() {}",
"public function delete($event): void;",
"protected function _postDelete()\n\t{\n\t}",
"public static function deleted($event) {\n\n\t\t$acc... | [
"0.71561277",
"0.70281607",
"0.70276994",
"0.6816776",
"0.678963",
"0.67584026",
"0.66894794",
"0.66643804",
"0.66363555",
"0.6628042",
"0.66275156",
"0.6614629",
"0.6608218",
"0.6540334",
"0.653716",
"0.6518922",
"0.6514218",
"0.6443244",
"0.64340675",
"0.6432569",
"0.640959... | 0.79593503 | 0 |
Handle the form petty cash "restored" event. | Обработка события формы "восстановлено" petty cash. | public function restored(FormPettyCash $formPettyCash)
{
//
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function restored(TradeCancel $tradeCancel)\n {\n //\n }",
"public function restored(Credit $credit)\n {\n //\n }",
"public function restored(Stock $stock)\n {\n //\n }",
"public function restored(Ticket $ticket)\n {\n //\n }",
"public function res... | [
"0.64628756",
"0.6239626",
"0.6166108",
"0.61452836",
"0.60795826",
"0.60408854",
"0.5998097",
"0.59955025",
"0.5966077",
"0.5955913",
"0.5902839",
"0.5865471",
"0.5865471",
"0.5824403",
"0.58214957",
"0.5801774",
"0.5783558",
"0.5783558",
"0.5783558",
"0.57803905",
"0.577645... | 0.73991877 | 0 |
Handle the form petty cash "force deleted" event. | Обработка события формирования petty cash "force deleted". | public function forceDeleted(FormPettyCash $formPettyCash)
{
//
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function deleted(FormPettyCash $formPettyCash)\n {\n //\n }",
"protected function _postDelete() {}",
"protected function _postDelete() {}",
"public function onBeforeDelete();",
"public function onAfterDelete() {\n\t\tif (!$this->owner->ID || self::get_disabled() || self::version_exist($... | [
"0.74867225",
"0.7050776",
"0.7050488",
"0.7022025",
"0.6881527",
"0.67761266",
"0.67542017",
"0.6719297",
"0.67170256",
"0.670933",
"0.6681329",
"0.66731584",
"0.66262716",
"0.6572206",
"0.6556548",
"0.6546595",
"0.6520566",
"0.6512438",
"0.64923275",
"0.64800525",
"0.645433... | 0.7772792 | 0 |
add new element to the beginning of the stack | добавить новый элемент в начало стека | public function push($element)
{
array_unshift($this->stack,$element);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function push($item) {\n array_unshift($this->stack, $item);\n }",
"function push($val) \n {\n $this->stack[$this->count] = $val;\n $this->count++;\n }",
"public function push($entry) {\r\n\t\tarray_push($this->stack, $entry);\r\n\t}",
"public function push($data)\n {\... | [
"0.7412542",
"0.7158191",
"0.70189494",
"0.69399995",
"0.6914027",
"0.66990244",
"0.6684439",
"0.6643834",
"0.6643022",
"0.66406095",
"0.66197175",
"0.66197175",
"0.65769213",
"0.6501883",
"0.6458289",
"0.6432677",
"0.628264",
"0.6263359",
"0.61723965",
"0.6148468",
"0.613914... | 0.8026011 | 0 |
take first element from the stack. (return it and remove it from stack). | Взять первый элемент из стека. (вернуть его и удалить из стека). | public function pop()
{
return array_shift($this->stack);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function pop()\n\t{\n\t\treturn array_shift($this->stackArray);\n\t}",
"function pop() \n {\n if ($this->count > 0) {\n $this->count--;\n return $this->stack[$this->count];\n }\n return null;\n }",
"public function pop();",
"public function pop();",
"... | [
"0.7447621",
"0.7264525",
"0.72611487",
"0.72611487",
"0.72611487",
"0.72611487",
"0.72611487",
"0.72611487",
"0.72611487",
"0.72611487",
"0.7259976",
"0.716046",
"0.71402496",
"0.70834184",
"0.6996217",
"0.6992271",
"0.6992271",
"0.693586",
"0.69048035",
"0.6880539",
"0.6878... | 0.74822724 | 0 |
Lists all Cidades entities. | Список всех сущностей Cidades. | public function indexAction()
{
$em = $this->getDoctrine()->getManager();
$entities = $em->getRepository('MrsBlogBundle:Cidades')->findAll();
return array(
'entities' => $entities,
);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function listaCidades(){\n\t\t\t$cidades = array();\n\t\t\t$resultado = mysqli_query($this->con, \"SELECT * FROM cidades ORDER BY nome;\");\t\n\t\t\twhile($cidade_atual = mysqli_fetch_assoc($resultado)) {\n\n\t\t\t\t$cidade = new CidadeModel();\n\t\t\t\t$cidade->setId($cidade_atual['id']);\n\t\t\t\t$cidade->setNom... | [
"0.67741245",
"0.63612",
"0.6330106",
"0.6315137",
"0.6290325",
"0.6271165",
"0.6246983",
"0.6246983",
"0.6185811",
"0.6165883",
"0.6147433",
"0.6134613",
"0.6122266",
"0.6112112",
"0.6098994",
"0.6095509",
"0.6077604",
"0.6038398",
"0.6001318",
"0.5995877",
"0.5989059",
"0... | 0.71081686 | 0 |
Creates a new Cidades entity. | Создает новую сущность Cidades. | public function createAction(Request $request)
{
$entity = new Cidades();
$form = $this->createCreateForm($entity);
$form->handleRequest($request);
if ($form->isValid()) {
$em = $this->getDoctrine()->getManager();
$em->persist($entity);
$em->flush... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private function createCreateForm(Cidades $entity)\n {\n $form = $this->createForm(new CidadesType(), $entity, array(\n 'action' => $this->generateUrl('cidades_create'),\n 'method' => 'POST',\n ));\n\n $form->add('submit', 'submit', array('label' => 'Create'));\n\n ... | [
"0.6330547",
"0.6276143",
"0.62708294",
"0.6178535",
"0.593766",
"0.593352",
"0.5878397",
"0.58472115",
"0.5832485",
"0.58253366",
"0.5809063",
"0.5790443",
"0.5772021",
"0.57294124",
"0.5715839",
"0.5714258",
"0.56892484",
"0.5682275",
"0.56637347",
"0.5663155",
"0.56587297"... | 0.72477245 | 0 |
Creates a form to create a Cidades entity. | Создает форму для создания сущности Cidades. | private function createCreateForm(Cidades $entity)
{
$form = $this->createForm(new CidadesType(), $entity, array(
'action' => $this->generateUrl('cidades_create'),
'method' => 'POST',
));
$form->add('submit', 'submit', array('label' => 'Create'));
return $fo... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function newAction()\n {\n $entity = new Cidades();\n $form = $this->createCreateForm($entity);\n\n return array(\n 'entity' => $entity,\n 'form' => $form->createView(),\n );\n }",
"public function createAction(Request $request)\n {\n $... | [
"0.73134065",
"0.721857",
"0.7135711",
"0.6707229",
"0.66307425",
"0.63696104",
"0.63602865",
"0.63594764",
"0.63098085",
"0.62926704",
"0.62784284",
"0.6233424",
"0.62333524",
"0.6209619",
"0.6204107",
"0.6204107",
"0.620189",
"0.6188971",
"0.6179401",
"0.616989",
"0.6164296... | 0.77896506 | 0 |
Displays a form to create a new Cidades entity. | Показывает форму для создания новой сущности Cidades. | public function newAction()
{
$entity = new Cidades();
$form = $this->createCreateForm($entity);
return array(
'entity' => $entity,
'form' => $form->createView(),
);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function create()\n {\n $this->authorize('CADASTRAR_TABELAS_SISTEMA');\n $cidades = Cidade::all()->toArray();\n\n return view('pages.almoxarifado.form', compact('cidades'));\n }",
"public function create()\n {\n $data = [\n 'model' => null,\n 'tit... | [
"0.7512822",
"0.71869767",
"0.715301",
"0.7114539",
"0.7111177",
"0.7043725",
"0.702437",
"0.69397515",
"0.6923555",
"0.6923555",
"0.69062114",
"0.68641776",
"0.6858348",
"0.6852543",
"0.6799413",
"0.6786673",
"0.6785915",
"0.6778325",
"0.67757624",
"0.6763323",
"0.67510206",... | 0.7947627 | 0 |
Creates a form to edit a Cidades entity. | Создает форму для редактирования сущности Cidades. | private function createEditForm(Cidades $entity)
{
$form = $this->createForm(new CidadesType(), $entity, array(
'action' => $this->generateUrl('cidades_update', array('id' => $entity->getId())),
'method' => 'PUT',
));
$form->add('submit', 'submit', array('label' => '... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private function createCreateForm(Cidades $entity)\n {\n $form = $this->createForm(new CidadesType(), $entity, array(\n 'action' => $this->generateUrl('cidades_create'),\n 'method' => 'POST',\n ));\n\n $form->add('submit', 'submit', array('label' => 'Create'));\n\n ... | [
"0.67269886",
"0.6566338",
"0.65491956",
"0.64339715",
"0.6417245",
"0.63687986",
"0.6294263",
"0.62681925",
"0.6267154",
"0.6259663",
"0.6239106",
"0.6210387",
"0.619732",
"0.6189673",
"0.61814314",
"0.6151288",
"0.6142107",
"0.6120789",
"0.61020553",
"0.6093032",
"0.6088592... | 0.78958917 | 0 |
use this function when using ajax validation. use "echo site_url('index.php/verifyregistration/ajax_check');" for example and type must be 'post'. | используйте эту функцию при использовании ajax-валидации. используйте, например, "echo site_url('index.php/verifyregistration/ajax_check');", и тип должен быть 'post'. | function ajax_check() {
if($this->input->post('ajax') == '1') {
if($this->form_validation->run('signup') == FALSE){
//Field validation failed.
echo validation_errors();
}
else
{
//Go to loginpage
echo 'registration successful';
}
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function verify_ajax()\n {\n }",
"public function ajax_email(){\n\t\t//loading the form validation library\n\t\t$this->load->library('form_validation');\n\t\t//validation rules\n\t\t$this->form_validation->set_rules('em', 'Email', 'valid_email');\n\t\t//check the validation throws any errors\n\t\tif ($this... | [
"0.7436906",
"0.7203843",
"0.6922891",
"0.68779236",
"0.6875938",
"0.68634826",
"0.6848096",
"0.67020994",
"0.6529594",
"0.64906675",
"0.6389977",
"0.63008565",
"0.6286353",
"0.62582296",
"0.625472",
"0.6223805",
"0.62031406",
"0.61962134",
"0.6190451",
"0.61737174",
"0.61645... | 0.8316113 | 0 |
test options with definition | тестирование опций с определением | public function testDefinition(){
$message = null;
$go = new Getopt(null, function($msg)use(&$message){ $message = $msg;}, function(){});
//test default
$testOpt = array(
'arg'=>'test1',
'default'=>'this is my default'
);
$go->setOption($testOpt)... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"abstract function options();",
"function testOptionsFunction(){\n\t\t#mdx:OptionsFunction\n\t\t$choice = new SimpleChoice(\"category\");\n\t\t$choice->options(function(){\n\t\t\t// pretend this was fetched from the db\n\t\t\t$rows = [\n\t\t\t\t['id'=>1,'name'=>'Action'],\n\t\t\t\t['id'=>2,'name'=>'Drama'],\n\t\t... | [
"0.72716814",
"0.6932055",
"0.6844424",
"0.6732211",
"0.6649207",
"0.6641077",
"0.6641077",
"0.6641077",
"0.6641077",
"0.6641077",
"0.6624014",
"0.6591309",
"0.6590474",
"0.65593404",
"0.6553684",
"0.65303004",
"0.6525806",
"0.65160817",
"0.65061706",
"0.64950675",
"0.6483652... | 0.78310275 | 0 |
Test Prompt and capturing input | Тестовый запрос и захват ввода | public function testPrompt(){
$message = null;
$input = 'hello';
$go = new Getopt(null, function($msg)use(&$message){ $message = $msg;}, function(){}, function()use(&$input){return $input;});
//test default
$testOpt = array(
'arg'=>'test1',
'prompt'=>true,... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function promptInput()\n {\n while ($this->run) {\n $this->valid = true;\n $input = readline('Enter a command : ');\n $this->handleInput($input);\n }\n }",
"public function getPrompt();",
"function readline($prompt) {}",
"private function waitPrompt... | [
"0.7595125",
"0.73279214",
"0.65537614",
"0.6486193",
"0.645348",
"0.6423474",
"0.64214766",
"0.64081985",
"0.618071",
"0.61102015",
"0.60875034",
"0.60806453",
"0.60572296",
"0.6049816",
"0.60049117",
"0.5999751",
"0.5999751",
"0.59837836",
"0.59720707",
"0.58567053",
"0.574... | 0.73488015 | 1 |
Test showing help message | Тест, демонстрирующий сообщение помощи | public function testHelp(){
$message = null;
$go = new Getopt(null, function($msg)use(&$message){ $message = $msg;}, function(){});
//test default
$testOpt = array(
'arg'=>'test1',
'help'=>'this is a test parameter',
'promptMsg'=>'please enter'
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function test_cli_help() {\n $this->resetAfterTest();\n $this->setAdminUser();\n $clihelper = $this->construct_helper([\"--help\"]);\n ob_start();\n $clihelper->print_help();\n $output = ob_get_contents();\n ob_end_clean();\n\n // Basically a test that... | [
"0.8074303",
"0.79509556",
"0.7780717",
"0.7686749",
"0.76062363",
"0.75640845",
"0.7502446",
"0.74413055",
"0.7430784",
"0.73353964",
"0.7172566",
"0.7133525",
"0.70622426",
"0.70572335",
"0.70372444",
"0.70169586",
"0.69797623",
"0.69389594",
"0.6875459",
"0.68640316",
"0.6... | 0.8051205 | 1 |
DbSimple_Generic connect(mixed $dsn) Universal static function to connect ANY database using DSN syntax. Choose database driver according to DSN. Return new instance of this driver. | DbSimple_Generic connect(mixed $dsn) Универсальная статическая функция для подключения к любой базе данных с использованием синтаксиса DSN. Выбор драйвера базы данных в зависимости от DSN. Возвращает новый экземпляр этого драйвера. | function connect($dsn)
{
// Load database driver and create its instance.
$parsed = DbSimple_Generic::parseDSN($dsn);
if (!$parsed) {
$dummy = null;
return $dummy;
}
$class = 'DbSimple_'.ucfirst($parsed['scheme']);
if (!class_exists($class)) {
$file = dirname(__FILE__).'/'.ucfirst($parsed['scheme'... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static function getConnection($dsn) {\n\t\tif (isset(self::$_instances[$dsn]))\n\t\t\treturn self::$_instances[$dsn];\n\t\t$driver = false !== ($i = strpos($dsn, ':')) ? substr($dsn, 0, $i) : $dsn;\n\t\t$class = Doggy_Util_Inflector::doggyClassify('Doggy_Dba_Adapter_'.$driver);\n\t\tif(!class_exists($class)... | [
"0.7514684",
"0.7219774",
"0.7160116",
"0.7060068",
"0.70524806",
"0.691846",
"0.6800764",
"0.6759194",
"0.6695464",
"0.6660473",
"0.66386765",
"0.6550106",
"0.6527539",
"0.6499086",
"0.64670086",
"0.64666885",
"0.6466193",
"0.6448918",
"0.6432699",
"0.64319086",
"0.64274436"... | 0.83546454 | 0 |
array parseDSN(mixed $dsn) Parse a data source name. See parse_url() for details. | array parseDSN(mixed $dsn) Парсирование имени источника данных. См. parse_url() для деталей. | function parseDSN($dsn)
{
if (is_array($dsn)) return $dsn;
$parsed = parse_url($dsn);
if (!$parsed) return null;
$params = null;
if (!empty($parsed['query'])) {
parse_str($parsed['query'], $params);
$parsed += $params;
}
$parsed['dsn'] = $dsn;
return $parsed;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected function parseDsn($dsn)\n{\n\tif (stripos($dsn,'pdo_') === 0) {\n\t\t$pdo = true;\n\t\t$dsn = substr($dsn, 4);\n\t}\n\t\n\t$dsa = parse_url($dsn);\n\tif (!isset($dsa['scheme'])) return [];\n\n\t$path = explode('/', $dsa['path']);\n\tif (!$path[0]) array_shift($path);\n\n\t$dsarray = array(\n\t 'driver' =... | [
"0.81870687",
"0.7916514",
"0.7910751",
"0.7698612",
"0.7661596",
"0.75826544",
"0.7407188",
"0.72988707",
"0.6713619",
"0.64197254",
"0.63908017",
"0.5933298",
"0.58351713",
"0.5617509",
"0.55118513",
"0.5477779",
"0.5409842",
"0.5408573",
"0.5334635",
"0.5320761",
"0.524408... | 0.8190268 | 0 |
Sets the Topic for the webhook. | Устанавливает Тему для вебхука. | public function setTopic($topic); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setTopic($topic)\n {\n $this->_topic = $topic;\n }",
"public function onTopic( $sTopic )\n\t{\n\t\t$this -> m_sTopic = $sTopic;\n\t}",
"public function setTopic($topic, $updateFirstPost = true) {\n\t\tif ($topic == $this->topic) return;\n\t\t\n\t\t$this->topic = $topic;\n\t\t$sql = \"UPDAT... | [
"0.7314651",
"0.6767509",
"0.6601319",
"0.6542222",
"0.6442246",
"0.63248175",
"0.6253989",
"0.6156011",
"0.613227",
"0.60255665",
"0.58016074",
"0.57755744",
"0.5762756",
"0.5703247",
"0.5646678",
"0.5629637",
"0.5544239",
"0.55431736",
"0.55317813",
"0.54878247",
"0.5422138... | 0.7460304 | 0 |
Generate input for property | Создать входные данные для свойства | protected function input()
{
return '<input type="' . $this->property->input_type . '" placeholder="Значение" ' .
'name="property[' . $this->property->id . ']" class="form-control">';
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getInputProperty($key);",
"public function fillInput($property, $value ){\n\t\t//Logger::log(\"fill input $property $value\");\n\t\t\t\t\n\t\tif(!empty($value)){\n\t\t//if($value){\t\n\n\t\t\t$input = $this->getComponentById($property);\n\t\t\tif($input!=null){\n\t\t\t\t//$value = $input->formatV... | [
"0.6920156",
"0.606283",
"0.6027036",
"0.6006559",
"0.5986752",
"0.595909",
"0.59463483",
"0.5837301",
"0.5826387",
"0.5748506",
"0.5670903",
"0.5593021",
"0.55726314",
"0.5534757",
"0.55342937",
"0.55079824",
"0.54906374",
"0.5470135",
"0.5441459",
"0.54141855",
"0.5406647",... | 0.73867685 | 0 |
given the portfolio type id, return the name | по заданному идентификатору типа портфеля, вернуть название | public function getPortfolioTypeName($id) {
$query = "SELECT name FROM portfolio_type WHERE id = :id;";
$statement = $this->adapter->createStatement($query);
$statement->prepare($query);
$result = $statement->execute(array('id' => $id));
$resultSet = new ResultSet();
$resultSet = $resultSet->initialize($re... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getNameProjectType()\n {\n return $this->name_project_type;\n }",
"public function getName($type) {\n return $this->load($type)->getName();\n }",
"function project_type($id)\n{\n\t$name=mysql_fetch_array(mysql_query(\"select type_name from manage_property_type where ptype... | [
"0.6280026",
"0.62121654",
"0.62025005",
"0.61815685",
"0.6103575",
"0.60968155",
"0.6077926",
"0.60596806",
"0.60529464",
"0.6039715",
"0.60151833",
"0.5996683",
"0.59826225",
"0.59707105",
"0.596476",
"0.59472406",
"0.5940997",
"0.59381425",
"0.59137124",
"0.59065825",
"0.5... | 0.8049791 | 0 |
Load forgot password form | Загрузить форму восстановления пароля | public function forgot_password()
{
$this->load->view('admin/forgot_password/forgot_password_form');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function forgotpass() {\r\n load_admin_view('forgot_password_view');\r\n }",
"public function forgot_password(){\n\n $this->data[\"title_tag\"]=\"Lobster | Accounts | Forgot Password\";\n\n $this->view(\"accounts/forgot_password\",$this->data);\n }",
"function forgot_pass... | [
"0.77135223",
"0.7688447",
"0.76002896",
"0.7598821",
"0.7529165",
"0.74963117",
"0.74640757",
"0.74448514",
"0.7416488",
"0.73946285",
"0.7365918",
"0.7313697",
"0.7310886",
"0.7278015",
"0.7274749",
"0.72726226",
"0.7259854",
"0.7259854",
"0.72268826",
"0.721534",
"0.721124... | 0.7732739 | 0 |
Operation addParcelInvoiceAudit Add new audit for a parcelInvoice | Операция addParcelInvoiceAudit Добавить новый аудит для parcelInvoice | public function addParcelInvoiceAudit($parcel_invoice_id, $parcel_invoice_audit)
{
$this->addParcelInvoiceAuditWithHttpInfo($parcel_invoice_id, $parcel_invoice_audit);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected function addParcelInvoiceAuditRequest($parcel_invoice_id, $parcel_invoice_audit)\n {\n // verify the required parameter 'parcel_invoice_id' is set\n if ($parcel_invoice_id === null) {\n throw new \\InvalidArgumentException(\n 'Missing the required parameter $par... | [
"0.71259695",
"0.6919914",
"0.65639883",
"0.58304656",
"0.51957166",
"0.50917894",
"0.49483654",
"0.48610884",
"0.4853185",
"0.48153242",
"0.4808599",
"0.4779473",
"0.47735298",
"0.4771601",
"0.47501698",
"0.47354957",
"0.47192273",
"0.46528342",
"0.4648028",
"0.46307373",
"0... | 0.7272587 | 0 |
Operation addParcelInvoiceAuditWithHttpInfo Add new audit for a parcelInvoice | Операция addParcelInvoiceAuditWithHttpInfo Добавление нового аудита для parcelInvoice | public function addParcelInvoiceAuditWithHttpInfo($parcel_invoice_id, $parcel_invoice_audit)
{
$returnType = '';
$request = $this->addParcelInvoiceAuditRequest($parcel_invoice_id, $parcel_invoice_audit);
try {
$options = $this->createHttpClientOption();
try {
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected function addParcelInvoiceAuditRequest($parcel_invoice_id, $parcel_invoice_audit)\n {\n // verify the required parameter 'parcel_invoice_id' is set\n if ($parcel_invoice_id === null) {\n throw new \\InvalidArgumentException(\n 'Missing the required parameter $par... | [
"0.69659853",
"0.6253601",
"0.62133825",
"0.5974607",
"0.5806305",
"0.5604716",
"0.5536823",
"0.517287",
"0.4956355",
"0.49270624",
"0.48737228",
"0.47456455",
"0.4716449",
"0.46702936",
"0.4628149",
"0.4600378",
"0.45325544",
"0.45273975",
"0.43490013",
"0.43384612",
"0.4337... | 0.7650314 | 0 |
Operation addParcelInvoiceAuditAsyncWithHttpInfo Add new audit for a parcelInvoice | Операция addParcelInvoiceAuditAsyncWithHttpInfo Добавление нового аудита для parcelInvoice | public function addParcelInvoiceAuditAsyncWithHttpInfo($parcel_invoice_id, $parcel_invoice_audit)
{
$returnType = '';
$request = $this->addParcelInvoiceAuditRequest($parcel_invoice_id, $parcel_invoice_audit);
return $this->client
->sendAsync($request, $this->createHttpClientOpti... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected function addParcelInvoiceAuditRequest($parcel_invoice_id, $parcel_invoice_audit)\n {\n // verify the required parameter 'parcel_invoice_id' is set\n if ($parcel_invoice_id === null) {\n throw new \\InvalidArgumentException(\n 'Missing the required parameter $par... | [
"0.67416114",
"0.65649724",
"0.63805914",
"0.60123503",
"0.5328803",
"0.49833408",
"0.4950599",
"0.47960612",
"0.47836834",
"0.4729671",
"0.4625944",
"0.4609568",
"0.46058023",
"0.4474889",
"0.43866932",
"0.4379173",
"0.437791",
"0.43592143",
"0.4312691",
"0.42951444",
"0.429... | 0.7022883 | 0 |
Create request for operation 'addParcelInvoiceAudit' | Создать запрос для операции 'addParcelInvoiceAudit' | protected function addParcelInvoiceAuditRequest($parcel_invoice_id, $parcel_invoice_audit)
{
// verify the required parameter 'parcel_invoice_id' is set
if ($parcel_invoice_id === null) {
throw new \InvalidArgumentException(
'Missing the required parameter $parcel_invoice... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function invoiceCreate(Request $request)\n {\n $invoice_request = $invoice_data = $request->all();\n\n $response = BilldeskHmac::invoiceCreate($invoice_request);\n }",
"public function createAuditLog($request)\n {\n return $this->start()->uri(\"/api/system/audit-log\")\n ->b... | [
"0.5875501",
"0.5871193",
"0.5641807",
"0.5424745",
"0.54186624",
"0.5380432",
"0.5378431",
"0.5357984",
"0.5339347",
"0.52463484",
"0.5244569",
"0.5223366",
"0.52214843",
"0.51903695",
"0.51862776",
"0.51763785",
"0.5171534",
"0.5160332",
"0.51117265",
"0.5031806",
"0.499654... | 0.76693815 | 0 |
Operation addParcelInvoiceFileWithHttpInfo Attach a file to a parcelInvoice | Операция addParcelInvoiceFileWithHttpInfo Прикрепить файл к parcelInvoice | public function addParcelInvoiceFileWithHttpInfo($parcel_invoice_id, $file_name)
{
$returnType = '';
$request = $this->addParcelInvoiceFileRequest($parcel_invoice_id, $file_name);
try {
$options = $this->createHttpClientOption();
try {
$response = $th... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected function addParcelInvoiceFileRequest($parcel_invoice_id, $file_name)\n {\n // verify the required parameter 'parcel_invoice_id' is set\n if ($parcel_invoice_id === null) {\n throw new \\InvalidArgumentException(\n 'Missing the required parameter $parcel_invoice_... | [
"0.6693933",
"0.6632587",
"0.6402677",
"0.6353266",
"0.5930807",
"0.5924777",
"0.59062606",
"0.56116736",
"0.53677124",
"0.52059984",
"0.5154207",
"0.51471233",
"0.5119043",
"0.4954204",
"0.49518952",
"0.4908139",
"0.48643136",
"0.4820786",
"0.47928923",
"0.47916675",
"0.4739... | 0.75128233 | 0 |
Operation addParcelInvoiceFileAsyncWithHttpInfo Attach a file to a parcelInvoice | Операция addParcelInvoiceFileAsyncWithHttpInfo Прикрепление файла к parcelInvoice | public function addParcelInvoiceFileAsyncWithHttpInfo($parcel_invoice_id, $file_name)
{
$returnType = '';
$request = $this->addParcelInvoiceFileRequest($parcel_invoice_id, $file_name);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
->then... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected function addParcelInvoiceFileRequest($parcel_invoice_id, $file_name)\n {\n // verify the required parameter 'parcel_invoice_id' is set\n if ($parcel_invoice_id === null) {\n throw new \\InvalidArgumentException(\n 'Missing the required parameter $parcel_invoice_... | [
"0.663656",
"0.65492433",
"0.62417763",
"0.60966337",
"0.5961029",
"0.58341604",
"0.57970494",
"0.5313046",
"0.5192968",
"0.51482093",
"0.51451784",
"0.5033244",
"0.49887276",
"0.49764404",
"0.49693692",
"0.49588645",
"0.49465525",
"0.4941935",
"0.4933194",
"0.4929889",
"0.49... | 0.7067819 | 0 |