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
Get url of product from requisition list item.
Получить URL продукта из элемента списка требований.
public function getProductUrlByItem() { try { $product = $this->requisitionListItemProduct->getProduct($this->getItem()); return $product->getProductUrl(); } catch (\Magento\Framework\Exception\NoSuchEntityException $e) { return null; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProductUrl()\n {\n return $this->product_url;\n }", "public function getItemLinkUrl()\n {\n return $this->escapeXssInUrl($this->getEntity()->getData('list_item_url'));\n }", "public function getPreviewUrlProduct()\n {\n return $this->previewUrlProduct;\n ...
[ "0.7300924", "0.7049564", "0.6983294", "0.69303465", "0.69221705", "0.6816373", "0.6531234", "0.64716697", "0.64118266", "0.63201624", "0.6317475", "0.63108444", "0.6169243", "0.6126387", "0.6057942", "0.59772193", "0.59584177", "0.595419", "0.5931885", "0.59088624", "0.59067...
0.8234946
0
Get url to configure product from requisition list item.
Получить URL для настройки продукта из элемента списка требований.
public function getItemConfigureUrl() { return $this->getUrl( 'requisition_list/item/configure', [ 'item_id' => $this->getItem()->getItemId(), 'id' => $this->requisitionListItemProduct->getProduct($this->getItem())->getId(), 'requisitio...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getItemConfigureUrl($product)\n {\n return $this->_getHelper()->getConfigureUrl($product);\n }", "public function getItemConfigureUrl($product)\n {\n if ($product instanceof Mage_Catalog_Model_Product) {\n $id = $product->getWishlistItemId();\n } else {\n ...
[ "0.7723346", "0.7564959", "0.6841327", "0.68005544", "0.65632576", "0.6536653", "0.6358535", "0.62868065", "0.62833065", "0.6245681", "0.612436", "0.6101099", "0.609221", "0.6083258", "0.60686195", "0.6068067", "0.6031743", "0.60050434", "0.59548825", "0.5950263", "0.5944878"...
0.84013385
0
Check if we should display in catalog prices including tax.
Проверьте, следует ли отображать в каталоге цены с налогом.
private function displayPriceIncludingTax() { try { $product = $this->requisitionListItemProduct->getProduct($this->getItem()); $adjustment = $product->getPriceInfo()->getAdjustment(\Magento\Tax\Pricing\Adjustment::ADJUSTMENT_CODE); return $adjustment->isIncludedInDisplay...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function display_prices_including_tax() {\n\t\treturn apply_filters( 'woocommerce_cart_' . __FUNCTION__, 'incl' === $this->tax_display_cart );\n\t}", "public static function IncludesTax()\n {\n if (class_exists('Catalogue')) {\n return Catalogue::config()->price_includes_tax;\n ...
[ "0.8262366", "0.74416184", "0.7408404", "0.7166296", "0.6952421", "0.68623674", "0.6811821", "0.6735747", "0.66961867", "0.66566974", "0.6611707", "0.6577467", "0.65625834", "0.65200484", "0.6487844", "0.6478302", "0.6474772", "0.64644957", "0.63921696", "0.63702923", "0.6351...
0.7505082
1
Check if edit action is available for requisition list item.
Проверьте, доступна ли действие редактирования для элемента списка заявок.
public function canEdit() { if ($this->isOptionsUpdated()) { return true; } if (!$this->getRequisitionListProduct()) { return false; } try { $product = $this->requisitionListItemProduct->getProduct($this->getItem()); return $th...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function isEditAction() {}", "public function canEdit() {\n\t\treturn $this->_perms->checkModuleItem ( $this->_tbl_module, 'edit' );\n\t}", "public function is_editing() {\n\n\t\tif ( 'edit' !== Param::get( 'action' ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn Param::get( 'redirection', false, FILTER...
[ "0.79520655", "0.71333873", "0.71045935", "0.7041456", "0.7024523", "0.69859695", "0.6926228", "0.6911825", "0.6830541", "0.6802585", "0.67959243", "0.67450035", "0.67311007", "0.6724287", "0.6688579", "0.6687988", "0.6664347", "0.66216284", "0.6613428", "0.64559114", "0.6450...
0.7536797
1
Check if product quantity can be changed for requisition list item.
Проверьте, можно ли изменить количество товара для элемента списка заявок.
public function canEditQty() { $item = $this->getItem(); try { $product = $this->requisitionListItemProduct->getProduct($item); return $this->requisitionListItemProduct->isProductAttached($item) || $this->productChangesAvailabilityChecker->isQtyChangeAvailabl...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function hasQuantity(): bool;", "function _isEligibleQuantity()\r\n {\r\n $item = $this->find('first', array(\r\n 'conditions' => array(\r\n 'Item.id' => (!empty($this->data[$this->name]['sub_item_id']) ? $this->data[$this->name]['sub_item_id'] : $this->data[$this->name...
[ "0.6764691", "0.673956", "0.66375494", "0.65451854", "0.6446102", "0.63228095", "0.6305335", "0.63023", "0.6268382", "0.62070704", "0.61835706", "0.6155921", "0.6138934", "0.6136667", "0.61262864", "0.61260843", "0.6124021", "0.6091039", "0.6064079", "0.6063692", "0.6062066",...
0.8113494
0
Check if product options were updated and product should be reconfigured.
Проверьте, были ли обновлены опции продукта и требуется ли переконфигурация продукта.
public function isOptionsUpdated() { return !empty($this->itemErrors[SkuValidator::ERROR_OPTIONS_UPDATED]); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function maybe_update_options() {\n $current_version = get_option( 'laterpay_version' );\n\n if ( version_compare( $current_version, '0.9.8.1', '>=' ) ) {\n delete_option( 'laterpay_plugin_is_activated' );\n }\n }", "public function checkProductsList() {\n if (...
[ "0.6474731", "0.6241679", "0.62250805", "0.6125108", "0.61233383", "0.60871303", "0.60608554", "0.59921587", "0.59701514", "0.59683233", "0.5952581", "0.5933096", "0.59172446", "0.58891433", "0.58717823", "0.58657277", "0.5854258", "0.58346915", "0.58300817", "0.5800073", "0....
0.73831457
0
Get validation error for requisition list item.
Получить ошибку валидации для элемента списка требований.
public function getItemError() { return !empty($this->itemErrors) ? reset($this->itemErrors) : null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getValidationFailed();", "public function getItemErrors()\n {\n return $this->itemErrors;\n }", "public function validAndGetErrorMsg() {\r\n require_once 'Samus/Samus_CRUD/Samus_CRUD_RequestValidator.php';\r\n $req = new Samus_CRUD_RequestValidator($this->object);\r\n...
[ "0.6752288", "0.6694718", "0.6636317", "0.6516256", "0.63484013", "0.63078785", "0.63068503", "0.627811", "0.6273213", "0.6273213", "0.62609226", "0.6254787", "0.6251489", "0.62473446", "0.62469167", "0.6222354", "0.6218007", "0.6213141", "0.6213141", "0.6211441", "0.6210214"...
0.7163328
0
Returns whatever is at the requested index in the config, or the default. Supports nested lookups in the form of `toplevel.secondlevel.third.etc`.
Возвращает то, что находится по указанному индексу в конфигурации, или значение по умолчанию. Поддерживает вложенные поиски в виде `toplevel.secondlevel.third.etc`.
public function get(string $index, $default = null) { $config = $this->config; foreach (explode('.', $index) as $part) { if (!isset($config[$part])) { return $default; } $config = $config[$part]; } return $config; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static public function get($key, $default = null)\n {\n $keys = explode('.', $key);\n \n // Root search\n $k = array_shift($keys);\n $opt = isset(self::$_config[$k]) ? self::$_config[$k] : null;\n \n // Iterative search\n foreach ($keys as $k) {\n if (!isset($opt[$k])) {\n ...
[ "0.63780624", "0.57980704", "0.57965416", "0.57569724", "0.5741964", "0.57314354", "0.5694477", "0.56235623", "0.557671", "0.5565098", "0.55596787", "0.5535319", "0.55043674", "0.54763716", "0.54748565", "0.545499", "0.54519135", "0.5427305", "0.5426175", "0.541085", "0.53979...
0.72324896
0
Displays homepage with subscribe form.
Показывает домашнюю страницу с формой подписки.
public function actionIndex() { $model = new SubscribeForm(); if ($model->load(Yii::$app->request->post()) && $model->validate()) { $subscriptionRes = $model->subscribe(); $alertType = 'error'; if ($subscriptionRes['success']) { $alertType = 'succe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function renderSubscribe() {\n $this->checkAccess('user',true,true);\n\n $template = new Template;\n echo $template->render('header.html');\n echo $template->render('user/subscribe.html');\n echo $template->render('footer.html');\n\n //clear error status\n $this->f3...
[ "0.7276655", "0.7073377", "0.70501876", "0.68676126", "0.6732297", "0.6614577", "0.6589703", "0.6555597", "0.6544836", "0.6492394", "0.64808077", "0.6476228", "0.6472942", "0.64710534", "0.646384", "0.6409613", "0.6364468", "0.6317738", "0.6297542", "0.62316954", "0.6191095",...
0.7324951
0
Lists all Translation models.
Перечисляет все модели перевода.
public function actionIndex() { $searchModel = new TranslationSearch(); $dataProvider = $searchModel->search(Yii::$app->request->queryParams); return $this->render('index', [ 'searchModel' => $searchModel, 'dataProvider' => $dataProvider, ]); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getAllTranslationByLanguage();", "public function all()\n {\n if (!$this->isLogged()) exit;\n $this->oUtil->getModel('Todo');\n $this->oModel = new \\TestProject\\Model\\Todo;\n\n $this->oUtil->oTodos = $this->oModel->getAll();\n\n $this->oUtil->getView('inde...
[ "0.69217163", "0.6458665", "0.64199346", "0.6289615", "0.6281847", "0.6244652", "0.6226401", "0.61709076", "0.6156837", "0.61156905", "0.61128527", "0.6043248", "0.603396", "0.60320675", "0.60320675", "0.60320675", "0.6008351", "0.6000441", "0.5987006", "0.5972911", "0.596001...
0.7127692
0
Creates a new Translation model. If creation is successful, the browser will be redirected to the 'view' page.
Создает новый модель перевода. Если создание успешно, браузер будет перенаправлен на страницу 'view'.
public function actionCreate() { $modelTranslation = new Translation(); $modelForm = [new TranslationForm()]; $postData = Yii::$app->request->post(); if($modelTranslation->load(Yii::$app->request->post())){ // var_dump($postData); // exit(0); // var...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function actionCreate()\n {\n $model = new SiteLang();\n\n if ($model->load(Yii::$app->request->post()) && $model->save()) {\n return $this->redirect(['index', 'id' => $model->code]);\n }\n\n return $this->render('create', [\n 'model' => $model,\n ...
[ "0.72838825", "0.7103566", "0.7078396", "0.69854474", "0.6955206", "0.6947849", "0.68317866", "0.67851686", "0.6779535", "0.67777663", "0.67545015", "0.6725318", "0.6706785", "0.6706722", "0.66982156", "0.66455597", "0.6644263", "0.6637502", "0.6600439", "0.6593564", "0.65928...
0.768136
0
Finds the Translation model based on its primary key value. If the model is not found, a 404 HTTP exception will be thrown.
Находит модель Translation по её первичному ключу. Если модель не найдена, будет выброшено исключение 404 HTTP.
protected function findModel($id) { if (($model = Translation::findOne($id)) !== null) { return $model; } else { throw new NotFoundHttpException('The requested page does not exist.'); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function findModel($id)\n {\n if (($model = SiteLang::findOne($id)) !== null) {\n return $model;\n }\n\n throw new NotFoundHttpException(Yii::t('app', 'The requested page does not exist.'));\n }", "public function findTranslation($id = null)\n {\n $transl...
[ "0.6525654", "0.65245676", "0.64824724", "0.62532085", "0.6221152", "0.6210304", "0.6202681", "0.61950564", "0.61713636", "0.6145507", "0.6123291", "0.608246", "0.6076774", "0.60763246", "0.60386664", "0.60299957", "0.6025671", "0.6023787", "0.6016291", "0.5995148", "0.598470...
0.7032146
0
Hook into any filters specific to this provider (optional) NOTE: This is only necessary if you are modifying the default values of parameters used throughout the OAuth process
Привязаться к любым фильтрам, специфичным для этого провайдера (опционально) Заметка: Это необходимо только в случае, если вы изменяете значения параметров, используемых на протяжении всего процесса OAuth
function filters(){ add_filter( 'oauth_authorization_parameters', array( $this, 'authorization_parameters'), 1, 1 ); // add_filter( 'oauth_token_parameters', array( $this, 'token_parameters'), 1, 1 ); add_filter( 'oauth_token_response', array( $this, 'token_response'), 1, 1 ); // add_fil...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function filterParams()\n {\n }", "private function setFilter()\n\t{\n\t\t// get filter values\n\t\t$this->filter['language'] = ($this->getParameter('language', 'array') != '') ? $this->getParameter('language', 'array') : BL::getWorkingLanguage();\n\t\t$this->filter['application'] = $this->getParamet...
[ "0.6806034", "0.66748375", "0.6660204", "0.6493581", "0.6409542", "0.6367624", "0.63666517", "0.6336618", "0.6278512", "0.6229136", "0.61479896", "0.6129562", "0.6121858", "0.60543346", "0.6048319", "0.6001944", "0.5987084", "0.59701437", "0.59506077", "0.59416765", "0.594127...
0.7995475
0
Modify/extend the token response parameters
Измените/расширьте параметры ответа токена
public function token_response($params){ $params['refresh_token'] = 'refresh_token'; $params['issued_at'] = 'issued_at'; $params['signature'] = 'signature'; $params['scope'] = 'scope'; $params['id_token'] = 'id_token'; $params['instance_url'...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function prepareResponse(Request $request, Context $context, EditToken $token)\n {\n }", "public function consume_token($params, $response){\n $this->set_field('refresh_token', $response[ $params['refresh_token'] ]);\n $this->set_field('issues_at', date(\"m/d/Y H:i:s\", time...
[ "0.591842", "0.5907348", "0.58628803", "0.58532226", "0.5827852", "0.579404", "0.57329625", "0.5703282", "0.5674975", "0.5632077", "0.5592673", "0.5556023", "0.55466163", "0.5541266", "0.5538847", "0.5522178", "0.5514899", "0.5469473", "0.5468599", "0.5432297", "0.54010373", ...
0.7234298
0
Modify/extend the identity response parameters
Измените/расширьте параметры ответа об идентичности
public function identity_response($params){ $params['organization_id'] = 'organization_id'; $params['first_name'] = 'first_name'; $params['last_name'] = 'last_name'; $params['display_name'] = 'display_name'; $params['username'] = 'username'; $params['timezone'] = 'timezone'...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function consume_identity($params, $response){\n $this->set_identity('email', $response[ $params['email'] ]);\n \t}", "protected function addAdditionalIdentityPropertiesIfNeeded() {}", "protected function renderAdditionalIdentityFields() {}", "public function testUpdateIdentity()\n {\...
[ "0.6189711", "0.60505384", "0.5880731", "0.5470973", "0.5435229", "0.5422168", "0.537931", "0.53289026", "0.53173834", "0.52720857", "0.5215146", "0.51864904", "0.5133742", "0.5113357", "0.5082144", "0.50382614", "0.4978597", "0.49695802", "0.49638098", "0.49555233", "0.49391...
0.7512239
0
Creates a new Service model. If creation is successful, the browser will be redirected to the 'view' page.
Создает новый модель Service. Если создание успешно, браузер будет перенаправлен на страницу 'view'.
public function actionCreate() { $model = new Service(); if ($model->load(Yii::$app->request->post()) && $model->save()) { $cities = Yii::$app->getRequest()->post('cities'); $model->attachCities($cities); $requestTypes = Yii::$app->getRequest()->post('request_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function actionCreate()\n {\n $model = new Service();\n if($model->load(Yii::$app->request->post()) ){\n $model->created_by=Yii::$app->user->id;\n $model->created_at=time();\n if ( $model->save()) {\n\n return $this->redirect(['view', 'id' => $m...
[ "0.8270163", "0.7342793", "0.7199805", "0.7099891", "0.70834446", "0.7038947", "0.700515", "0.68822306", "0.67976403", "0.67974836", "0.6780933", "0.67523503", "0.6712019", "0.66456413", "0.6640352", "0.6621828", "0.6611626", "0.66072965", "0.6601782", "0.65978086", "0.658811...
0.7840252
1
/ lookup_id_by_name Lookup A Build ID By Its Name Usage Build.lookup_id_by_name Parameters ParameterData TypeComments namestringCannot be null or empty string Return build_id
/ lookup_id_by_name Поиск идентификатора сборки по его имени Использование Build.lookup_id_by_name Параметры Параметр Данные Тип Комментарии name строка Не может быть null или пустой строкой Возвращаемое значение build_id
function Build_lookup_id_by_name($name) { // Create call $call = new xmlrpcmsg('Build.lookup_id_by_name', array(new xmlrpcval($name, "string"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function Build_lookup_name_by_id($build_id) {\n\t// Create call\n\t$call = new xmlrpcmsg('Build.lookup_name_by_id', array(new xmlrpcval($build_id, \"int\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "function Product_lookup_id_by_name($name) {\n\t// Create call\n\t$call = new xmlrpcmsg('P...
[ "0.74283135", "0.59765315", "0.57461715", "0.5650516", "0.5380674", "0.53715914", "0.5328323", "0.53106856", "0.51278037", "0.5115059", "0.5076167", "0.5026887", "0.49832076", "0.49530965", "0.49248132", "0.49172297", "0.49029005", "0.48915276", "0.48795432", "0.48644692", "0...
0.7034429
1
/ list Get A List of Environments Based on A Query Usage Environment.list Parameters ParameterData TypeComments queryhashmapCan not be null. Result Array [0] Array [environment_id] [product_id] [name] [isactive] [1] Array ...
/ список Получение списка сред на основе запроса Использование Environment.list Параметры Параметр Данные Тип Комментарии query hashmap Не может быть null. Результат Массив [0] Массив [environment_id] [product_id] [name] [isactive] [1] Массив ...
function Environment_list($query) { // Create array foreach($query as $key => $val) { switch($key) { case "environment_id": case "isactive": case "product_id": $type = "int"; break; case "name": default: $type = "string"; } $qarray[$key] = new xmlrpcval($val, $type); } // Create ca...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function listEnvironments()\n {\n\t\t$data = $this->call(array(), \"GET\", \"environments.json\");\n\t\treturn $data;\n\t\t\n\t\t$data = $this->call(array(), \"GET\", \"environments.json\");\n\t\t$data = $data->{'environments'};\n\t\t$environmentArray = new ArrayObject();\n\t\tfor($i = 0; $i<count($data)...
[ "0.67900246", "0.5865405", "0.55461425", "0.5476065", "0.5473012", "0.54705113", "0.5460561", "0.54512", "0.5412727", "0.5261058", "0.5215349", "0.5213895", "0.5211306", "0.5208484", "0.51280516", "0.5113795", "0.50970286", "0.5087016", "0.5047194", "0.50347304", "0.50072527"...
0.75356394
0
/ update Update An Existing Environment Usage Environment.update Parameters ParameterData TypeComments environment_idinteger new_valueshashmapenvironment_id can not be modified. Result Array [environment_id] [product_id] [isactive] [name]
/ обновление Обновление существующей среды Использование среда.обновление Параметры Параметр Данные Тип Комментарии environment_id целое число new_values хэш-карта environment_id не может быть изменен. Результат Массив [environment_id] [product_id] [isactive] [name]
function Environment_update($environment_id, $isactive, $product_id = NULL, $name = NULL) { $varray = array("isactive" => "int", "product_id" => "int", "name" => "string"); foreach($varray as $key => $val) { if (isset(${$key})) { $carray[$key] = new xmlrpcval(${$key}, $val); } } // Create call $call = new x...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function updateEnvironment($id, $name)\n {\n\t\t$data = $this->call(array(\"name\"=>$name), \"PUT\", \"environments/\".$id.\".json\");\n\t\treturn $data;\n }", "function update_product($product_info) {\r\n try {\r\n $params = array(\r\n array('name' => ':product_id',...
[ "0.5957238", "0.5590864", "0.5563672", "0.5559229", "0.5531152", "0.5480236", "0.53883547", "0.5376321", "0.53376335", "0.5328483", "0.53188425", "0.53093684", "0.5306204", "0.52796876", "0.52737284", "0.524651", "0.5224582", "0.5222799", "0.522058", "0.52197003", "0.52173316...
0.7230824
0
/ get_runs Get A List of TestRuns For An Existing Environment Usage Environment.get_runs Parameters ParameterData Type environment_idinteger Result Array [0] Array [build_id] [plan_text_version] [manager_id] [stop_date] [run_id] [plan_id] [product_version] [environment_id] [summary] [notes] [start_date] [1] Array ...
/ get_runs Получить список тестовых запусков для существующей среды Использование Environment.get_runs Параметры Параметр Данные Тип environment_id целое число Результат Массив [0] Массив [build_id] [plan_text_version] [manager_id] [stop_date] [run_id] [plan_id] [product_version] [environment_id] [summary] [notes] [sta...
function Environment_get_runs($environment_id) { // Create call $call = new xmlrpcmsg('Environment.get_runs', array(new xmlrpcval($environment_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getRuns() {\n\t\tif(!$data = $this->getNikePlusFile('http://nikerunning.nike.com/nikeplus/v2/services/app/run_list.jsp?_plus=true')) {\n\t\t\tthrow new ErrorException($this->feedErrorMessage);\n\t\t}\n\t\treturn $data->runList;\n\t}", "function TestRun_get_test_case_runs($run_id) {\n\t// Create c...
[ "0.66514456", "0.6530732", "0.6352171", "0.62279356", "0.5635294", "0.5561226", "0.55493635", "0.54905957", "0.54762316", "0.5294503", "0.52178794", "0.5175206", "0.51585954", "0.510961", "0.51091856", "0.5073981", "0.5069371", "0.50624406", "0.49796304", "0.49647915", "0.495...
0.7151789
0
/ lookup_name_by_id Lookup A Product Name By Its ID Usage Product.lookup_name_by_id Parameters ParameterData TypeComments product_idintegerCannot be 0 Return name
/ lookup_name_by_id Поиск названия продукта по его идентификатору Использование Product.lookup_name_by_id Параметры Параметр Данные Тип Комментарии product_id целое число Не может быть 0 Возвращаемое значение name
function Product_lookup_name_by_id($product_id) { // Create call $call = new xmlrpcmsg('Product.lookup_name_by_id', array(new xmlrpcval($product_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function Product_lookup_id_by_name($name) {\n\t// Create call\n\t$call = new xmlrpcmsg('Product.lookup_id_by_name', array(new xmlrpcval($name, \"string\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "function getProductNameFromId($dbc, $id)\n{\n\t$id = cleanString($dbc, $id);\n\t\n\t$q = \...
[ "0.7178362", "0.66577846", "0.6485393", "0.6482692", "0.6375426", "0.62492466", "0.62138605", "0.61443514", "0.61374253", "0.6128023", "0.6103813", "0.6097341", "0.60834724", "0.6050711", "0.6010956", "0.59964454", "0.5903476", "0.5893793", "0.5862327", "0.58465964", "0.58406...
0.82212865
0
/ get_milestones Get a list of milestones for the given Product Usage Product.get_milestones Parameters ParameterData TypeComments product_idintegerCannot be 0 Result Array [0] Array [name] [id] [1] Array ...
/ get_milestones Получить список мильстонов для заданного Product Usage Product.get_milestones Параметры Параметр Данные Тип Комментарии product_id целое число Не может быть 0 Результат Массив [0] Массив [name] [id] [1] Массив ...
function Product_get_milestones($product_id) { // Create call $call = new xmlrpcmsg('Product.get_milestones', array(new xmlrpcval($product_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getMilestones()\n\t{\n\t\tif ($this->milestones == null) {\n\t\t\t$this->milestones = $this->getProjects(false, 1);\n\t\t}\n\n\t\treturn $this->milestones;\n\t}", "private function _get_milestones( $project ) {\n\n\t\t$request = new Gitlab();\n\t\t$gitlab = $request->init_request();\n\n\t\t$mile...
[ "0.6835149", "0.6470424", "0.62225914", "0.6153769", "0.61184657", "0.5972696", "0.5938339", "0.5881205", "0.56848204", "0.5615282", "0.5485549", "0.54305017", "0.53756505", "0.5338885", "0.5283532", "0.5132731", "0.51034516", "0.5058648", "0.49429423", "0.4931226", "0.492171...
0.7951722
0
/ lookup_login_by_id Lookup A Login By Its ID Usage User.lookup_login_by_id Parameters ParameterData TypeComments user_idintegerCannot be 0 Return login
/ lookup_login_by_id Поиск входа по его ID Использование User.lookup_login_by_id Параметры Параметр Данные Тип Комментарии user_id целое число Не может быть 0 Возвращаемое значение login
function User_lookup_login_by_id($user_id) { // Create call $call = new xmlrpcmsg('User.lookup_login_by_id', array(new xmlrpcval($user_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function User_lookup_id_by_login($login) {\n\t// Create call\n\t$call = new xmlrpcmsg('User.lookup_id_by_login', array(new xmlrpcval($login, \"string\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "public function login($data) {\n $query = $this->get_by($data, TRUE);\n\n if (...
[ "0.7167765", "0.6750275", "0.6593426", "0.64549726", "0.64490974", "0.64006805", "0.63803285", "0.6372195", "0.63387126", "0.63269997", "0.63049275", "0.6251948", "0.6170427", "0.6160253", "0.6155888", "0.6150391", "0.61252797", "0.6121571", "0.6091345", "0.6085696", "0.60825...
0.771242
0
/ list Get A List of TestPlans Based on A Query Usage TestPlan.list Parameters ParameterData TypeComments queryhashmapCan not be null. See Query Examples. See Return Array [0] Array [author_id] => 4813 [name] => Testopia phplib Testplan3 [default_product_version] => Alpha 2 [plan_id] => 543 [product_id] => 332 [creatio...
/ список Получить список тестовых планов на основе запроса Использование TestPlan.list Параметры Параметр Данные Тип Комментарии query hashmap Не может быть null. См. Примеры запроса. См. Возвращаемый массив [0] массив [author_id] => 4813 [name] => Testopia phplib Testplan3 [default_product_version] => Alpha 2 [plan_id...
function TestPlan_list($query) { // Create array foreach($query as $key => $val) { switch($key) { case "author_id": case "isactive": case "plan_id": case "product_id": case "type_id": $type = "int"; break; case "default_product_version": case "creation_date": case "name": default:...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function list_plan($parameters){\n try {\n $planList = Plan::all(array_filter($parameters), $this->_api_context); \n $returnArray['RESULT'] = 'Success';\n $returnArray['PLANS'] = $planList->toArray();\n $returnArray['RAWRE...
[ "0.7136406", "0.67542243", "0.67111814", "0.64812684", "0.637033", "0.6253718", "0.60476285", "0.603434", "0.6025123", "0.6012494", "0.6008581", "0.5982291", "0.594686", "0.5917289", "0.5886587", "0.58222854", "0.5779504", "0.5763884", "0.575542", "0.57278067", "0.5724589", ...
0.7754514
0
/ update Update An Existing TestPlan Usage TestPlan.update Parameters ParameterData TypeComments plan_idinteger new_valueshashmapplan_id can not be modified. Result Array [author_id] [test_case_count] [name] [default_product_version] [test_run_count] [plan_id] [product_id] [creation_date] [type_id] [isactive] [product]...
Обновление существующего TestPlan Использование TestPlan.update Параметры ParameterData Тип Комментарии plan_idinteger new_valueshashmapplan_id не может быть изменен. Результат Массив [author_id] [test_case_count] [name] [default_product_version] [test_run_count] [plan_id] [product_id] [creation_date] [type_id] [isacti...
function TestPlan_update($plan_id, $author_id, $product_id = NULL, $default_product_version = NULL, $type_id = NULL, $name = NULL, $creation_date = NULL, $isactive = TRUE) { $varray = array("author_id" => "int", "product_id" => "int", "default_product_version" => "string", "type_id" => "int", "name" => "string", "crea...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function update_plan() {\n if (empty($this->user->admin)) {\n Router::redirect('/');\n die();\n }\n\n # Set up query\n $q = \"UPDATE plans SET\n\t\t\t description='\".$_POST['description'].\"', time='\".$_POST['time'].\"', public='\".(!empty($_POST['public'...
[ "0.6166466", "0.6118606", "0.60295296", "0.5886314", "0.58602405", "0.5843375", "0.5680671", "0.5615461", "0.5605777", "0.5561695", "0.5532795", "0.55183804", "0.55179137", "0.5506187", "0.54960245", "0.54194474", "0.5358295", "0.5357298", "0.5343264", "0.5324659", "0.5319459...
0.7121966
0
/ get_categories Get A List of Categories For An Existing Test Plan Usage TestPlan.get_categories Parameters ParameterData TypeComments plan_idinteger Return Array [0] Array [category_id] [product_id] [name] [description] [1] Array ...
/ get_categories Получить список категорий для существующего плана тестирования Использование TestPlan.get_categories Параметры Параметр Данные Тип Комментарии plan_id целое число Возвращаемый массив [0] Массив [category_id] [product_id] [name] [description] [1] Массив ...
function TestPlan_get_categories($plan_id) { // Create call $call = new xmlrpcmsg('TestPlan.get_categories', array(new xmlrpcval($plan_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getCategories(){\n\t\t// preapres the request\n\t\t$ch = curl_init();\n\t\tcurl_setopt($ch, CURLOPT_HTTPHEADER, array('Authorization: ' . TOKEN));\n\t\tcurl_setopt($ch, CURLOPT_URL, \"http://\" . IP . \"/bde_site/api/category/\");\n\t\tcurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n\n\t\t// send the...
[ "0.7023594", "0.70183516", "0.6910598", "0.68797314", "0.68406343", "0.6793022", "0.6789604", "0.67532563", "0.67532563", "0.6706946", "0.6667311", "0.6618062", "0.65233845", "0.65219927", "0.6498289", "0.6494239", "0.6490908", "0.64651865", "0.64576906", "0.64351", "0.641004...
0.7539736
0
/ get_builds Get A List of Builds For An Existing Test Plan Usage TestPlan.get_builds Parameters ParameterData TypeComments plan_idinteger Result Array [0] Array [build_id] [product_id] [name] [milestone] [isactive] [description] [1] Array ...
/ get_builds Получить список сборок для существующего плана тестирования Использование TestPlan.get_builds Параметры Параметр Данные Тип Комментарии plan_id целое число Результат Массив [0] Массив [build_id] [product_id] [name] [milestone] [isactive] [description] [1] Массив ...
function TestPlan_get_builds($plan_id) { // Create call $call = new xmlrpcmsg('TestPlan.get_builds', array(new xmlrpcval($plan_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getBuilds()\n {\n return $this->builds;\n }", "private function apiGetBuild($data)\n {\n $output = array();\n for($i=0; $i<count($data); $i++){\n $output = array(\n\n );\n }\n\n return $output;\n }", "function rest_get()\n{\n ...
[ "0.6970138", "0.6321939", "0.60619986", "0.5916022", "0.580895", "0.54925334", "0.54792744", "0.54359037", "0.54095626", "0.54090226", "0.53863144", "0.53846043", "0.53477234", "0.5313178", "0.528326", "0.5213525", "0.51795745", "0.51718163", "0.5078645", "0.506695", "0.50527...
0.75121933
0
/ get_components Get A List of Components For An Existing Test Plan Usage TestPlan.get_components Parameters ParameterData TypeComments plan_idinteger Result Array [0] Array [initialowner] [disallownew] [product_id] [name] [id] [description] [initialqacontact] [1] Array ...
/ get_components Получить список компонентов для существующего плана тестирования Использование TestPlan.get_components Параметры Параметр Данные Тип Комментарии plan_id целое число Результат Массив [0] Массив [initialowner] [disallownew] [product_id] [name] [id] [description] [initialqacontact] [1] Массив ...
function TestPlan_get_components($plan_id) { // Create call $call = new xmlrpcmsg('TestPlan.get_components', array(new xmlrpcval($plan_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getComponents()\n {\n return $this->result->getComponents();\n }", "function TestCase_get_components($case_id) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestCase.get_components', array(new xmlrpcval($case_id, \"int\")));\n\n\t// Do call and return value\n\treturn do_call($call);\...
[ "0.6494637", "0.6238811", "0.6187192", "0.61047935", "0.60542053", "0.605051", "0.605051", "0.59817153", "0.59047675", "0.5894762", "0.58025056", "0.57242537", "0.5719642", "0.5705561", "0.5677475", "0.56536394", "0.5619825", "0.56045634", "0.559661", "0.55813766", "0.5545727...
0.7225317
0
/ get_test_cases Get A List of Test Cases For An Existing Test Plan Usage TestPlan.get_test_cases Parameters ParameterData TypeComments plan_idinteger Result Array [0] Array [author_id] [script] [sortkey] [case_id] [estimated_time] [case_status_id] [default_tester_id] [priority_id] [requirement] [category_id] [creation...
/ get_test_cases Получить список тестовых случаев для существующего плана тестирования Использование TestPlan.get_test_cases Параметры Параметр Данные Тип Комментарии plan_id целое число Результат Массив [0] Массив [author_id] [script] [sortkey] [case_id] [estimated_time] [case_status_id] [default_tester_id] [priority_...
function TestPlan_get_test_cases($plan_id) { // Create call $call = new xmlrpcmsg('TestPlan.get_test_cases', array(new xmlrpcval($plan_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function getTestCaseData($testCaseID, $theSubjectID, $roundID, $studyID, $clientID) {\n global $definitions;\n\n $testCaseParentTestCategoryPropertyID = getClientPropertyID_RelatedWith_byName($definitions['testcasesFolderID'], $clientID);\n\n $theTestCase = array();\n $theTestCase['TC_ID'] = $testCaseI...
[ "0.6492425", "0.64314806", "0.6285868", "0.58160394", "0.5789204", "0.56480044", "0.5642701", "0.5549096", "0.5523325", "0.5502683", "0.5456672", "0.5411015", "0.53852075", "0.53776026", "0.53773576", "0.53762895", "0.5369151", "0.5355081", "0.53198475", "0.53126186", "0.5309...
0.71293825
0
/ get_test_runs Get A List of Test Runs For An Existing Test Plan Usage TestPlan.get_test_runs Parameters ParameterData Type plan_idinteger Result Array [0] Array [build_id] [plan_text_version] [manager_id] [stop_date] [run_id] [plan_id] [product_version] [environment_id] [summary] [notes] [start_date] [1] Array ...
/ get_test_runs Получить список тестовых запусков для существующего плана тестирования Использование TestPlan.get_test_runs Параметры Параметр Данные Тип plan_id целое число Результат Массив [0] Массив [build_id] [plan_text_version] [manager_id] [stop_date] [run_id] [plan_id] [product_version] [environment_id] [summary...
function TestPlan_get_test_runs($plan_id) { // Create call $call = new xmlrpcmsg('TestPlan.get_test_runs', array(new xmlrpcval($plan_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestRun_get_test_case_runs($run_id) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestRun.get_test_case_runs', array(new xmlrpcval($run_id, \"int\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "function TestRun_list($query) {\n\t// Create array\n\tforeach($query as $key => $val) {...
[ "0.70765567", "0.6252271", "0.6214779", "0.6209625", "0.6151228", "0.6066624", "0.60599697", "0.59579855", "0.5889547", "0.5845966", "0.57033396", "0.5693012", "0.56823015", "0.566761", "0.5627117", "0.5614166", "0.5563458", "0.54918855", "0.54554266", "0.5428114", "0.5391957...
0.78091127
0
/ add_tag Add a tag to the given TestPlan Usage TestPlan.add_tag Parameters ParameterData TypeComments plan_idinteger tag_namestringCreates tag if it does not exist Result !== FALSE
/ add_tag Добавить тег к заданному TestPlan Использование TestPlan.add_tag Параметры Параметр Данные Тип Комментарии plan_id целое число tag_name строка Создает тег, если он не существует Результат !== FALSE
function TestPlan_add_tag($plan_id, $tag_name) { // Create call $call = new xmlrpcmsg('TestPlan.add_tag', array(new xmlrpcval($plan_id, "int"), new xmlrpcval($tag_name, "string")), "array"); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestRun_add_tag($run_id, $tag_name) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestRun.add_tag', array(new xmlrpcval($run_id, \"int\"), new xmlrpcval($tag_name, \"string\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "function TestCase_add_tag($case_id, $tag_name) {\n\t// Creat...
[ "0.7013257", "0.69613725", "0.6899585", "0.6730745", "0.64557195", "0.63438064", "0.6153227", "0.6112832", "0.60972506", "0.60134345", "0.59356517", "0.5838106", "0.5820083", "0.5806055", "0.5781202", "0.57768214", "0.5764412", "0.57588005", "0.57407546", "0.57354724", "0.573...
0.75357324
0
/ remove_tag Remove a tag from the given TestPlan Usage TestPlan.remove_tag Parameters ParameterData Type plan_idinteger tag_namestring Result 0
/ remove_tag Удалить тег из заданного TestPlan Использование TestPlan.remove_tag Параметры Параметр Данные Тип plan_id целое число tag_name строка Результат 0
function TestPlan_remove_tag($plan_id, $tag_name) { // Create call // $call = new xmlrpcmsg('TestPlan.remove_tag', array(new xmlrpcval(array("plan_id" => new xmlrpcval($plan_id, "int"), "tag_name" => new xmlrpcval($tag_name, "string")), "struct"))); $call = new xmlrpcmsg('TestPlan.remove_tag', array(new xmlrpcval($pl...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestRun_remove_tag($run_id, $tag_name) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestRun.remove_tag', array(new xmlrpcval($run_id, \"int\"), new xmlrpcval($tag_name, \"string\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "function TestCase_remove_tag($case_id, $tag_name) {\n\...
[ "0.75707465", "0.7439514", "0.7064744", "0.6694994", "0.66887045", "0.6523577", "0.6402688", "0.6340344", "0.6178724", "0.615465", "0.6148705", "0.60942864", "0.60791975", "0.60257965", "0.59780383", "0.59307677", "0.59295577", "0.5886967", "0.58473504", "0.58473504", "0.5835...
0.81295854
0
/ get_tags Get a list of tags for the given TestPlan Usage TestPlan.get_tags Parameters ParameterData Type plan_idinteger Result Array [0] [plan_count] [tag_name] [case_count] [run_count] [tag_id] [1] Array ...
/ get_tags Получить список тегов для заданного TestPlan Использование TestPlan.get_tags Параметры Параметр Данные Тип plan_id целое число Результат Массив [0] [plan_count] [tag_name] [case_count] [run_count] [tag_id] [1] Массив ...
function TestPlan_get_tags($plan_id) { // Create call $call = new xmlrpcmsg('TestPlan.get_tags', array(new xmlrpcval($plan_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestCase_get_tags($case_id) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestCase.get_tags', array(new xmlrpcval($case_id, \"int\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "function TestRun_get_tags($run_id) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestRun.get_tags', arr...
[ "0.67220074", "0.6638129", "0.64278823", "0.64063376", "0.6349138", "0.6349138", "0.6349138", "0.6349138", "0.6349138", "0.627948", "0.62348557", "0.6130197", "0.6099638", "0.6064537", "0.6059622", "0.60344124", "0.6018167", "0.6015275", "0.59855944", "0.59855944", "0.5967371...
0.7773918
0
/ lookup_type_id_by_name Lookup A TestPlan Type ID By Its Name Usage TestPlan.lookup_type_id_by_name Parameters ParameterData TypeComments namestringCannot be null or empty string Result type_id
/ lookup_type_id_by_name Поиск идентификатора типа TestPlan по его имени Использование TestPlan.lookup_type_id_by_name Параметры Параметр Данные Тип Комментарии name строка Не может быть null или пустой строкой Результат type_id
function TestPlan_lookup_type_id_by_name($name) { // Create call $call = new xmlrpcmsg('TestPlan.lookup_type_id_by_name', array(new xmlrpcval($name, "string"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestPlan_lookup_type_name_by_id($type_id) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestPlan.lookup_type_name_by_id', array(new xmlrpcval($type_id, \"int\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "function getResourceTypeId($name){\n return sqlSelectOne(\"SELECT * FROM...
[ "0.7421397", "0.6190803", "0.59614736", "0.5895053", "0.5858142", "0.57572645", "0.57376987", "0.56600744", "0.5582025", "0.55709976", "0.5565953", "0.55370265", "0.5520199", "0.5491447", "0.54888475", "0.54776335", "0.5468804", "0.5457587", "0.5452804", "0.54514426", "0.5427...
0.7782259
0
/ lookup_type_name_by_id Lookup A TestPlan Type Name By Its ID Usage TestPlan.lookup_type_name_by_id Parameters ParameterData TypeComments idintegerCannot be 0 Result name
/ lookup_type_name_by_id Поиск названия типа TestPlan по его ID Использование TestPlan.lookup_type_name_by_id Параметры Параметр Данные Тип Комментарии id целое число Не может быть 0 Результат name
function TestPlan_lookup_type_name_by_id($type_id) { // Create call $call = new xmlrpcmsg('TestPlan.lookup_type_name_by_id', array(new xmlrpcval($type_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestPlan_lookup_type_id_by_name($name) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestPlan.lookup_type_id_by_name', array(new xmlrpcval($name, \"string\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "function getTypeName($id){\n return sqlSelectOne(\"SELECT * FROM types WHER...
[ "0.7389198", "0.67203516", "0.64954567", "0.6297093", "0.6145256", "0.6142308", "0.6095954", "0.60878116", "0.60630536", "0.60397166", "0.5975286", "0.5875637", "0.58328414", "0.577685", "0.57606", "0.5742371", "0.5734694", "0.5706241", "0.56936705", "0.5679431", "0.5664206",...
0.81439537
0
/ list Get A List of TestCases Based on A Query Usage TestCase.list Parameters ParameterData TypeComments queryhashmapCan not be null. See Query Examples. Other attributes available for use with query include: run_id Result Array [0] Array [author_id] [script] [sortkey] [case_id] [estimated_time] [case_status_id] [defa...
/ список Получить список тестовых случаев на основе запроса Использование TestCase.list Параметры Параметр Тип Данные Комментарии query hashmap Не может быть null. См. Примеры запроса. Другие атрибуты, доступные для использования в запросе: run_id Результат массив [0] массив [author_id] [script] [sortkey] [case_id] [es...
function TestCase_list($query) { // Create array foreach($query as $key => $val) { switch($key) { case "plans": unset($va); foreach($key as $k => $v) { $va[$k] = new xmlrpcval($v, "string"); } $val = $va; $type = "struct"; break; case "author_id": case "canview": case "case_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestCaseRun_list($query) {\n\t// Create array\n\tforeach($query as $key => $val) {\n\t\tswitch($key) {\n\t\t\tcase \"assignee\":\n\t\t\tcase \"build_id\":\n\t\t\tcase \"canview\":\n\t\t\tcase \"case_id\":\n\t\t\tcase \"case_run_id\":\n\t\t\tcase \"case_run_status_id\":\n\t\t\tcase \"case_text_version\":\n...
[ "0.73588735", "0.6700278", "0.609043", "0.58794177", "0.5794498", "0.5709883", "0.5706995", "0.54925615", "0.54916203", "0.5437936", "0.540896", "0.5393096", "0.5361569", "0.5312176", "0.52716345", "0.5269639", "0.52318835", "0.5198291", "0.5198043", "0.5192719", "0.5170799",...
0.7259313
1
/ create Create A New TestCase Usage TestCase.create Parameters ParameterData TypeComments new_valueshashmapSee required attributes list below. Required attributes: author_id, case_status_id, category_id, isautomated, and plan_id. Result case_id
/ создать Создать новый TestCase Использование TestCase.create Параметры Параметр Данные Тип Комментарии new_values hashmap См. список необходимых атрибутов ниже. Обязательные атрибуты: author_id, case_status_id, category_id, isautomated и plan_id. Результат case_id
function TestCase_create($author_id, $case_status_id, $category_id, $isautomated, $plan_id, $alias = NULL, $arguments = NULL, $canview = NULL, $creation_date = NULL, $default_tester_id = NULL, $priority_id = NULL, $requirement = NULL, $script = NULL, $summary = NULL, $sortkey = NULL) { $varray = array("author_id" => "...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestCaseRun_create($assignee, $build_id, $case_id, $case_text_version, $environment_id, $run_id, $canview = NULL, $close_date = NULL, $iscurrent = NULL, $notes = NULL, $sortkey = NULL, $testedby = NULL) {\n\t$varray = array(\"assignee\" => \"int\", \"build_id\" => \"int\", \"case_id\" => \"int\", \"case_t...
[ "0.63676244", "0.6100476", "0.60443294", "0.5995129", "0.5654538", "0.5654538", "0.56476873", "0.55578876", "0.5553562", "0.5500357", "0.54719555", "0.54484975", "0.5436853", "0.54297185", "0.5414682", "0.5357996", "0.5353401", "0.53182584", "0.53149956", "0.5291626", "0.5265...
0.70292515
0
/ update Update An Existing TestCase Usage TestCase.update Parameters ParameterData TypeComments case_idinteger new_valueshashmapauthor_id and case_id can not be modified. Result Array [case_id] [case_status_id] [default_tester_id] [plan_id] [priority_id] [category_id] [summary] [creation_date] [isautomated]
Обновление существующего тест-кейса. Использование TestCase.update. Параметры. Параметр Данные Тип Комментарии case_id целое число new_values хэш-карта author_id и case_id не могут быть изменены. Результат Массив [case_id] [case_status_id] [default_tester_id] [plan_id] [priority_id] [category_id] [summary] [creation_da...
function TestCase_update($case_id, $case_status_id, $category_id, $isautomated, $alias = NULL, $arguments = NULL, $default_tester_id = NULL, $priority_id = NULL, $requirement = NULL, $script = NULL, $summary = NULL, $sortkey = NULL) { $varray = array("case_id" => "int", "case_status_id" => "int", "category_id" => "int...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestCaseRun_update($run_id, $case_id, $build_id, $environment_id, $assignee = NULL, $case_run_status_id = NULL, $notes = NULL, $update_bugs = NULL) {\n\t$varray = array(\"assignee\" => \"int\", \"case_run_status_id\" => \"int\", \"notes\" => \"string\", \"update_bugs\" => \"int\");\n\tforeach($varray as $...
[ "0.6722942", "0.632598", "0.6219471", "0.6124479", "0.59990466", "0.57119644", "0.5664092", "0.565906", "0.56297535", "0.5605479", "0.55991024", "0.5564807", "0.5548596", "0.5547686", "0.5542058", "0.55404466", "0.55161804", "0.5507624", "0.5500474", "0.54761904", "0.5453469"...
0.740405
0
/ store_text Add A New TestCase Action/Effect Document Usage TestCase.store_text Parameters ParameterData Type case_idinteger author_idinteger actionstring effectstring setupstring breakdownstring Result version
/ store_text Добавить новый документ действия/результата TestCase Использование TestCase.store_text Параметры Параметр Данные Тип case_id целое число author_id целое число action строка effect строка setup строка breakdown строка Результат version
function TestCase_store_text($case_id, $author_id = NULL, $action = NULL, $effect = NULL, $setup = NULL, $breakdown = NULL) { // Create call $call = new xmlrpcmsg('TestCase.store_text', array(new xmlrpcval($case_id, "int"), new xmlrpcval($author_id, "int"), new xmlrpcval($action, "string"), new xmlrpcval($effect, "st...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function writeToFile($text) {\n return $this->getScenario()->runStep(new \\Codeception\\Step\\Action('writeToFile', func_get_args()));\n }", "function updateTestSuite(&$tsuiteMgr,&$argsObj,$container,&$hash)\r\n{\r\n $msg = 'ok';\r\n $ret = $tsuiteMgr->update($argsObj->testsuiteID,$container['...
[ "0.56957084", "0.5582253", "0.54377145", "0.5406256", "0.53799206", "0.52853596", "0.5223548", "0.5188291", "0.51837397", "0.51555973", "0.51511234", "0.51382744", "0.51119083", "0.5089855", "0.50552285", "0.50433093", "0.50107825", "0.5003055", "0.49742386", "0.49674568", "0...
0.72202
0
/ get_bugs Get a list of bugs for the given TestCase Usage TestCase.get_bugs Parameters ParameterData TypeComments case_idinteger Result Array [0] Array [priority] [cf_nts_priority] [bug_id] [qa_contact_id] [cclist_accessible] [cf_foundby] [infoprovider_id] [short_desc] [everconfirmed] [bug_severity] [isunconfirmed] [c...
/ get_bugs Получить список ошибок для заданного TestCase Использование TestCase.get_bugs Параметры Параметр Данные Тип Комментарии case_id целое число Результат Массив [0] Массив [приоритет] [cf_nts_priority] [bug_id] [qa_contact_id] [cclist_accessible] [cf_foundby] [infoprovider_id] [short_desc] [everconfirmed] [bug_s...
function TestCase_get_bugs($case_id) { // Create call $call = new xmlrpcmsg('TestCase.get_bugs', array(new xmlrpcval($case_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestCaseRun_get_bugs($case_run_id) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestCaseRun.get_bugs', array(new xmlrpcval($case_run_id, \"int\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "function printBugData($bugData){\r\n\t//echo \"build = \", $bugData->build;\r\n\t//echo \...
[ "0.72148156", "0.6197531", "0.61807907", "0.58833885", "0.5693056", "0.56701475", "0.54894394", "0.5483322", "0.5463169", "0.54592943", "0.54367006", "0.5390502", "0.533141", "0.531662", "0.5144456", "0.5137915", "0.50853443", "0.5059517", "0.50571764", "0.505424", "0.5047713...
0.72335374
0
/ add_component Add a component to the given TestCase Usage TestCase.add_component Parameters ParameterData TypeComments case_idinteger component_idinteger Result 0
/ add_component Добавить компонент к заданному TestCase Использование TestCase.add_component Параметры Параметр Данные Тип Комментарии case_id целое число component_id целое число Результат 0
function TestCase_add_component($case_id, $component_id) { // Create call $call = new xmlrpcmsg('TestCase.add_component', array(new xmlrpcval($case_id, "int"), new xmlrpcval($component_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function addComponent($data);", "public function addComponent($component);", "public function add_component($p_itservice_id, $p_component_id)\n {\n if ($this->get_assigned_object($p_itservice_id, $p_component_id)\n ->num_rows() <= 0\n )\n {\n return $this->crea...
[ "0.73572206", "0.7240562", "0.6543635", "0.6334305", "0.6200288", "0.6167846", "0.61632276", "0.61606604", "0.6036006", "0.59674", "0.5959234", "0.58870053", "0.58458203", "0.5838367", "0.58226794", "0.5755679", "0.5675369", "0.5536426", "0.5518403", "0.54784036", "0.53902584...
0.787598
0
/ remove_component Remove a component from the given TestCase Usage TestCase.remove_component Parameters ParameterData TypeComments case_idinteger component_idinteger Result O
/ удалить_компонент Удалить компонент из заданного TestCase Использование TestCase.remove_component Параметры Параметр Данные Тип Комментарии case_id целое число component_id целое число Результат O
function TestCase_remove_component($case_id, $component_id) { // Create call $call = new xmlrpcmsg('TestCase.remove_component', array(new xmlrpcval($case_id, "int"), new xmlrpcval($component_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function deleteComponent( $component )\r\n\t{\r\n\t\t$this->debug->guard( );\r\n\r\n\r\n\t\t$sql = \"DELETE FROM game_components WHERE component_id='\" . $component . \"'\";\r\n\t\t$res = $this->database->query( $sql );\r\n\t\tif ( !$res )\r\n\t\t{\r\n\t\t\t$this->debug->write( 'Problem deleting component: ...
[ "0.6643116", "0.66267246", "0.6484359", "0.64223915", "0.6389927", "0.6244896", "0.60293466", "0.59798956", "0.5687217", "0.5681282", "0.5623479", "0.5537693", "0.54159874", "0.5347666", "0.5068751", "0.5057937", "0.49938563", "0.499214", "0.49784014", "0.49515176", "0.491209...
0.7962813
0
/ get_components Get a list of components for the given TestCase Usage TestCase.get_components Parameters ParameterData TypeComments case_idinteger Result [0] Array [disallownew] [name] [description] [initialqacontact] [initialowner] [product_id] [id] [product_name] [1] Array ...
/ get_components Получить список компонентов для заданного TestCase Использование TestCase.get_components Параметры Параметр Данные Тип Комментарии case_id целое число Результат [0] Массив [disallownew] [name] [description] [initialqacontact] [initialowner] [product_id] [id] [product_name] [1] Массив ...
function TestCase_get_components($case_id) { // Create call $call = new xmlrpcmsg('TestCase.get_components', array(new xmlrpcval($case_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestPlan_get_components($plan_id) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestPlan.get_components', array(new xmlrpcval($plan_id, \"int\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "public function getComponents()\n {\n return $this->result->getComponents();\n ...
[ "0.6280599", "0.61939204", "0.6064108", "0.6061863", "0.59492856", "0.59365493", "0.59077984", "0.59077984", "0.5857067", "0.5852395", "0.5740613", "0.56816244", "0.5629186", "0.56114566", "0.55614805", "0.55325663", "0.55216295", "0.5505523", "0.5504567", "0.5465273", "0.543...
0.7088103
0
/ add_tag Add a tag to the given TestCase Usage TestCase.add_tag Parameters ParameterData TypeComments case_idinteger tag_namestringCreates tag if it does not exist Result 0
/ добавить_тег Добавить тег к заданному TestCase Использование TestCase.add_tag Параметры Параметр Данные Тип Комментарии case_id целое число tag_name строка Создает тег, если он не существует Результат 0
function TestCase_add_tag($case_id, $tag_name) { // Create call $call = new xmlrpcmsg('TestCase.add_tag', array(new xmlrpcval($case_id, "int"), new xmlrpcval($tag_name, "string"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestRun_add_tag($run_id, $tag_name) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestRun.add_tag', array(new xmlrpcval($run_id, \"int\"), new xmlrpcval($tag_name, \"string\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "private function addTag()\n {\n $params ...
[ "0.7205172", "0.7026904", "0.6807183", "0.6741576", "0.6458758", "0.6184237", "0.6107188", "0.61002827", "0.60792", "0.6046511", "0.604646", "0.6045151", "0.60332066", "0.6028586", "0.60108775", "0.60029495", "0.5978484", "0.59694946", "0.59231997", "0.5879363", "0.5875255", ...
0.7798072
0
/ remove_tag Remove a tag from the given TestCase Usage TestCase.remove_tag Parameters ParameterData TypeComments case_idinteger tag_namestring Result 0
/ удалить_тег Удалить тег из заданного TestCase Использование TestCase.remove_tag Параметры Параметр Данные Тип Комментарии case_id целое число tag_name строка Результат 0
function TestCase_remove_tag($case_id, $tag_name) { // Create call $call = new xmlrpcmsg('TestCase.remove_tag', array(new xmlrpcval($case_id, "int"), new xmlrpcval($tag_name, "string"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestRun_remove_tag($run_id, $tag_name) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestRun.remove_tag', array(new xmlrpcval($run_id, \"int\"), new xmlrpcval($tag_name, \"string\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "public function delete_tag($tag);", "function TestPl...
[ "0.7552478", "0.7444143", "0.6979681", "0.6720517", "0.6682423", "0.6610774", "0.66077524", "0.65597653", "0.65393895", "0.64629847", "0.61659944", "0.61081994", "0.60849184", "0.60739094", "0.60364014", "0.6021707", "0.5998572", "0.5995792", "0.59446037", "0.5868411", "0.586...
0.8024185
0
/ get_tags Get a list of tags for the given TestCase Usage TestCase.get_tags Parameters ParameterData TypeComments case_idinteger Result [0] Array [plan_count] [tag_name] [case_count] [run_count] [tag_id] [1] Array ...
/ get_tags Получить список тегов для заданного TestCase Использование TestCase.get_tags Параметры Параметр Данные Тип Комментарии case_id целое число Результат [0] Массив [plan_count] [tag_name] [case_count] [run_count] [tag_id] [1] Массив ...
function TestCase_get_tags($case_id) { // Create call $call = new xmlrpcmsg('TestCase.get_tags', array(new xmlrpcval($case_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestRun_get_tags($run_id) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestRun.get_tags', array(new xmlrpcval($run_id, \"int\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "public function getTags() {}", "public function getTags();", "public function getTags();", "public fu...
[ "0.67127764", "0.6656249", "0.66115916", "0.66115916", "0.66115916", "0.66115916", "0.66115916", "0.6575484", "0.6560344", "0.6529912", "0.6464139", "0.64217526", "0.64037085", "0.63616747", "0.63390094", "0.6327005", "0.63245773", "0.62942845", "0.626255", "0.6215496", "0.62...
0.73537296
0
/ get_plans Get a list of TestPlans for the given TestCase Usage TestCase.get_plans Parameters ParameterData TypeComments case_idinteger Result [0] Array [author_id] [name] [default_product_version] [plan_id] [product_id] [creation_date] [type_id] [isactive] [1] Array ...
/ get_plans Получить список TestPlans для заданного TestCase Использование TestCase.get_plans Параметры Параметр Данные Тип Комментарии case_id целое число Результат [0] Массив [author_id] [name] [default_product_version] [plan_id] [product_id] [creation_date] [type_id] [isactive] [1] Массив ...
function TestCase_get_plans($case_id) { // Create call $call = new xmlrpcmsg('TestCase.get_plans', array(new xmlrpcval($case_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getsAListOfPlans()\n {\n // Arrange\n // Act\n $plans = Ezypay::getPlans();\n\n // Assert\n //$this->assertEquals(3, sizeof($plans->data)); // Causing issues as there are aditional plans\n $this->assertNotNull($plans);\n\n $this->plans = $plans;\n...
[ "0.7138137", "0.6970016", "0.66493464", "0.66306055", "0.6586662", "0.6571491", "0.64354855", "0.640759", "0.63740456", "0.63374037", "0.63153744", "0.62836945", "0.6252519", "0.6251668", "0.6228654", "0.62095773", "0.61987257", "0.61944085", "0.61515206", "0.6140581", "0.610...
0.7417273
0
/ lookup_category_id_by_name Lookup A TestCase Category ID By Its Name Usage TestCase.lookup_category_id_by_name Parameters ParameterData TypeComments namestringCannot be null or empty string Result category_id
/ lookup_category_id_by_name Поиск идентификатора категории тестового случая по его имени Использование TestCase.lookup_category_id_by_name Параметры Параметр Данные Тип Комментарии name строка Не может быть null или пустой строкой Результат category_id
function TestCase_lookup_category_id_by_name($name) { // Create call $call = new xmlrpcmsg('TestCase.lookup_category_id_by_name', array(new xmlrpcval($name, "string"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestCase_lookup_category_name_by_id($category_id) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestCase.lookup_category_name_by_id', array(new xmlrpcval($category_id, \"int\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "public function find_category_id($category_name)\n {\n ...
[ "0.7160179", "0.6867353", "0.6342754", "0.5949888", "0.5941568", "0.58853006", "0.5867522", "0.57617426", "0.56686515", "0.56031376", "0.5567174", "0.55584663", "0.552631", "0.54595035", "0.54547024", "0.5447088", "0.5429014", "0.5405734", "0.54014707", "0.53637546", "0.53620...
0.75927955
0
/ lookup_category_name_by_id Lookup A TestCase Category Name By Its ID Usage TestCase.lookup_category_name_by_id Parameters ParameterData TypeComments category_idintegerCannot be 0 Result name
/ lookup_category_name_by_id Поиск названия категории тестового случая по его ID Использование TestCase.lookup_category_name_by_id Параметры Параметр Данные Тип Комментарии category_id целое число Не может быть 0 Результат name
function TestCase_lookup_category_name_by_id($category_id) { // Create call $call = new xmlrpcmsg('TestCase.lookup_category_name_by_id', array(new xmlrpcval($category_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestCase_lookup_category_id_by_name($name) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestCase.lookup_category_id_by_name', array(new xmlrpcval($name, \"string\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "function getCategoryNameById($id = null){\n\t}", "public function fi...
[ "0.71113163", "0.6772378", "0.6366587", "0.6259872", "0.6182745", "0.6145261", "0.6110528", "0.602032", "0.59891933", "0.59827125", "0.59341234", "0.59138685", "0.5904187", "0.5866459", "0.58642334", "0.58339703", "0.57989204", "0.57778704", "0.5769718", "0.5725404", "0.57159...
0.7798885
0
/ lookup_priority_id_by_name Lookup A TestCase Priority ID By Its Name Usage TestCase.lookup_priority_id_by_name Parameters ParameterData TypeComments namestringCannot be null or empty string Result priority_id
lookup_priority_id_by_name Поиск идентификатора приоритета тестового случая по его имени Использование TestCase.lookup_priority_id_by_name Параметры Параметр Данные Тип Комментарии name строка Не может быть null или пустой строкой Результат priority_id
function TestCase_lookup_priority_id_by_name($name) { // Create call $call = new xmlrpcmsg('TestCase.lookup_priority_id_by_name', array(new xmlrpcval($name, "string"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestCase_lookup_priority_name_by_id($priority_id) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestCase.lookup_priority_name_by_id', array(new xmlrpcval($priority_id, \"int\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "function TestCase_lookup_status_id_by_name($name) {\n\t// C...
[ "0.74880236", "0.5550067", "0.55420035", "0.5514388", "0.550246", "0.5467389", "0.5428711", "0.5361302", "0.53130263", "0.5226204", "0.5208256", "0.5127456", "0.5092752", "0.508328", "0.5060286", "0.50571", "0.50480455", "0.50480455", "0.50480455", "0.5046017", "0.5045915", ...
0.7493331
0
/ lookup_priority_name_by_id Lookup A TestCase Priority Name By Its ID Usage TestCase.lookup_priority_name_by_id Parameters ParameterData TypeComments priority_idintegerCannot be 0 Result name
/ lookup_priority_name_by_id Поиск названия приоритета тестового случая по его ID Использование TestCase.lookup_priority_name_by_id Параметры Параметр Данные Тип Комментарии priority_id целое число Не может быть 0 Результат name
function TestCase_lookup_priority_name_by_id($priority_id) { // Create call $call = new xmlrpcmsg('TestCase.lookup_priority_name_by_id', array(new xmlrpcval($priority_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestCase_lookup_priority_id_by_name($name) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestCase.lookup_priority_id_by_name', array(new xmlrpcval($name, \"string\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "function TestCaseRun_lookup_status_name_by_id($case_run_status_id) {\n...
[ "0.7091863", "0.5818098", "0.579789", "0.5691586", "0.5626334", "0.554008", "0.551978", "0.5509931", "0.5509931", "0.5509931", "0.550792", "0.5507821", "0.5507821", "0.5507821", "0.55009854", "0.5491311", "0.5397507", "0.5397507", "0.5397507", "0.5397507", "0.5397507", "0.5...
0.8019638
0
/ lookup_status_id_by_name Lookup A TestCase Status ID By Its Name Usage TestCase.lookup_status_id_by_name Parameters ParameterData TypeComments namestringCannot be null or empty string Result status_id
/ lookup_status_id_by_name Поиск идентификатора статуса тестового случая по его имени Использование TestCase.lookup_status_id_by_name Параметры Параметр Данные Тип Комментарии name строка Не может быть null или пустой строкой Результат status_id
function TestCase_lookup_status_id_by_name($name) { // Create call $call = new xmlrpcmsg('TestCase.lookup_status_id_by_name', array(new xmlrpcval($name, "string"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestCaseRun_lookup_status_id_by_name($name) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestCaseRun.lookup_status_id_by_name', array(new xmlrpcval($name, \"string\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "function TestCaseRun_lookup_status_name_by_id($case_run_status_id) {...
[ "0.72671807", "0.69712067", "0.68878657", "0.5651208", "0.5644942", "0.5605518", "0.54085344", "0.53071254", "0.52922577", "0.52910477", "0.5279066", "0.5242971", "0.51980835", "0.51956415", "0.5146298", "0.51402485", "0.5137758", "0.51347125", "0.5112385", "0.50892514", "0.5...
0.7244214
1
/ lookup_status_name_by_id Lookup A TestCase Status Name By Its ID Usage TestCase.lookup_status_name_by_id Parameters ParameterData TypeComments status_idintegerCannot be 0 Result name
/ lookup_status_name_by_id Поиск названия статуса тестового случая по его идентификатору Использование TestCase.lookup_status_name_by_id Параметры Параметр Данные Тип Комментарии status_id целое число Не может быть равно 0 Результат name
function TestCase_lookup_status_name_by_id($status_id) { // Create call $call = new xmlrpcmsg('TestCase.lookup_status_name_by_id', array(new xmlrpcval($status_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestCaseRun_lookup_status_name_by_id($case_run_status_id) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestCaseRun.lookup_status_name_by_id', array(new xmlrpcval($case_run_status_id, \"int\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "function TestCase_lookup_status_id_by_name(...
[ "0.76614773", "0.698635", "0.6968066", "0.6022031", "0.6020799", "0.58990073", "0.5832179", "0.5750568", "0.57501787", "0.56781036", "0.5666294", "0.5635948", "0.5621425", "0.5470583", "0.5439635", "0.5389677", "0.53892606", "0.538207", "0.5377719", "0.5342773", "0.5320948", ...
0.760871
1
/ link_plan Link A TestPlan To An Existing TestCase Usage TestCase.link_plan Parameters ParameterData Type case_idinteger plan_idinteger Result Array [0] Array [author_id] [name] [default_product_version] [plan_id] [product_id] [creation_date] [type_id] [isactive] [1] Array ...
Связать план с существующим тестовым случаем Использование TestCase.link_plan Параметры Параметр Данные Тип case_id целое число plan_id целое число Результат Массив [0] Массив [author_id] [name] [default_product_version] [plan_id] [product_id] [creation_date] [type_id] [isactive] [1] Массив ...
function TestCase_link_plan($case_id, $plan_id) { // Create call $call = new xmlrpcmsg('TestCase.link_plan', array(new xmlrpcval($case_id, "int"), new xmlrpcval($plan_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function list_plan($parameters){\n try {\n $planList = Plan::all(array_filter($parameters), $this->_api_context); \n $returnArray['RESULT'] = 'Success';\n $returnArray['PLANS'] = $planList->toArray();\n $returnArray['RAWRE...
[ "0.5994216", "0.5923225", "0.5799302", "0.5647582", "0.5645016", "0.5526816", "0.55247986", "0.55002356", "0.5411066", "0.54051507", "0.53483784", "0.53231686", "0.5297678", "0.52940696", "0.52838415", "0.52699685", "0.5261083", "0.52534527", "0.5241447", "0.5235863", "0.5208...
0.724028
0
/ unlink_plan Unlink A TestPlan From An Existing TestCase Usage TestCase.unlink_plan Parameters ParameterData Type case_idinteger plan_idinteger Result Array [0] Array [author_id] [name] [default_product_version] [plan_id] [product_id] [creation_date] [type_id] [isactive] [1] Array ...
/ unlink_plan Открепить TestPlan от существующего TestCase Использование TestCase.unlink_plan Параметры Параметр Данные Тип case_id целое число plan_id целое число Результат Массив [0] Массив [author_id] [name] [default_product_version] [plan_id] [product_id] [creation_date] [type_id] [isactive] [1] Массив ...
function TestCase_unlink_plan($case_id, $plan_id) { // Create call $call = new xmlrpcmsg('TestCase.unlink_plan', array(new xmlrpcval($case_id, "int"), new xmlrpcval($plan_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function delete_plan()\n {\n #check user access\n check_user_access($this, 'delete_procurement_plan', 'redirect');\n\n # Get the passed details into the url data array if any\n $urldata = $this->uri->uri_to_assoc(3, array('m', 's'));\n\n # Pick all assigned data\n $data...
[ "0.672213", "0.65318334", "0.64861697", "0.6306115", "0.6221673", "0.6219117", "0.61291367", "0.6031907", "0.5879718", "0.58651936", "0.5819393", "0.58004856", "0.5777704", "0.57648826", "0.5710311", "0.56762874", "0.5674677", "0.563229", "0.56199324", "0.5553361", "0.5544881...
0.77160954
0
/ list Get A List of TestRuns Based on A Query Usage TestRun.list Parameters ParameterData TypeComments queryhashmapCan not be null. See Query Examples. Result Array [0] Array [build_id] [plan_text_version] [manager_id] [stop_date] [run_id] [plan_id] [product_version] [environment_id] [summary] [notes] [start_date] [1]...
/ список Получить список запусков тестов на основе запроса Использование TestRun.list Параметры Параметр Данные Тип Комментарии query hashMap Не может быть null. См. Примеры запросов. Результат Массив [0] Массив [build_id] [plan_text_version] [manager_id] [stop_date] [run_id] [plan_id] [product_version] [environment_id...
function TestRun_list($query) { // Create array foreach($query as $key => $val) { switch($key) { case "plan": unset($va); foreach($key as $k => $v) { $va[$k] = new xmlrpcval($v, "string"); } $val = $va; $type = "struct"; break; case "build_id": case "environment_id": case "m...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestCaseRun_list($query) {\n\t// Create array\n\tforeach($query as $key => $val) {\n\t\tswitch($key) {\n\t\t\tcase \"assignee\":\n\t\t\tcase \"build_id\":\n\t\t\tcase \"canview\":\n\t\t\tcase \"case_id\":\n\t\t\tcase \"case_run_id\":\n\t\t\tcase \"case_run_status_id\":\n\t\t\tcase \"case_text_version\":\n...
[ "0.73226017", "0.6624948", "0.6336134", "0.58861375", "0.55306727", "0.5504608", "0.54939806", "0.54709995", "0.54501486", "0.5442788", "0.5413821", "0.5352903", "0.5348716", "0.52224696", "0.5195745", "0.5179562", "0.5159386", "0.5152746", "0.50465554", "0.50460404", "0.5044...
0.7515194
0
/ update Update An Existing TestRun Usage TestRun.update Parameters ParameterData TypeComments run_idinteger new_valueshashmapplan_id can not be modified. Result Array [build_id] [environment_id] [manager_id] [plan_text_version] [summary] [notes] [start_date] [stop_date] [run_id]
Обновление существующего TestRun Использование TestRun.update Параметры Параметр Данные Тип Комментарии run_id целое число new_values хэш-карта plan_id не может быть изменен. Результат Массив [build_id] [environment_id] [manager_id] [plan_text_version] [summary] [notes] [start_date] [stop_date] [run_id]
function TestRun_update($run_id, $build_id, $environment_id, $manager_id, $plan_text_version, $summary, $notes = NULL, $start_date = NULL, $stop_date = NULL) { $varray = array("build_id" => "int", "environment_id" => "int", "manager_id" => "int", "plan_text_version" => "int", "summary" => "string", "notes" => "string"...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestCaseRun_update($run_id, $case_id, $build_id, $environment_id, $assignee = NULL, $case_run_status_id = NULL, $notes = NULL, $update_bugs = NULL) {\n\t$varray = array(\"assignee\" => \"int\", \"case_run_status_id\" => \"int\", \"notes\" => \"string\", \"update_bugs\" => \"int\");\n\tforeach($varray as $...
[ "0.65834326", "0.5835751", "0.5814857", "0.57833564", "0.5730617", "0.57079107", "0.5692114", "0.56317407", "0.56041014", "0.56041014", "0.5541747", "0.55277973", "0.5524074", "0.54558575", "0.5401181", "0.5373391", "0.5366769", "0.5303786", "0.5301441", "0.52495235", "0.5226...
0.71290076
0
/ get_test_cases Get A List of TestCases For An Existing Test Run Usage TestRun.get_test_cases Parameters ParameterData Type run_idinteger Result ? FIXME
/ get_test_cases Получить список тестовых случаев для существующего тестового запуска Использование TestRun.get_test_cases Параметры Параметр Данные Тип run_id целое число Результат ? FIXME
function TestRun_get_test_cases($run_id) { // Create call // FIXME: not working $call = new xmlrpcmsg('TestRun.get_test_cases', array(new xmlrpcval($run_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestRun_get_test_case_runs($run_id) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestRun.get_test_case_runs', array(new xmlrpcval($run_id, \"int\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "function TestPlan_get_test_cases($plan_id) {\n\t// Create call\n\t$call = new xmlrpcmsg...
[ "0.72527474", "0.7165374", "0.6962424", "0.6728685", "0.66380197", "0.6450637", "0.6154032", "0.61522484", "0.6142634", "0.61293393", "0.6099982", "0.5939742", "0.5939434", "0.5923006", "0.5910579", "0.590026", "0.587145", "0.5856608", "0.5835159", "0.5753841", "0.5726204", ...
0.7916793
0
/ get_test_case_runs Get A List of TestCase Runs For An Existing Test Run Usage TestRun.get_test_case_runs Parameters ParameterData Type run_idinteger Result Array [0] Array [build_id] [case_text_version] [running_date] [sortkey] [case_id] [run_id] [testedby] [assignee] [environment_id] [close_date] [notes] [case_run_i...
/ get_test_case_runs Получить список запусков тест-кейсов для существующего запуска теста Использование TestRun.get_test_case_runs Параметры Параметр Данные Тип run_id integer Результат Массив [0] Массив [build_id] [case_text_version] [running_date] [sortkey] [case_id] [run_id] [testedby] [assignee] [environment_id] [c...
function TestRun_get_test_case_runs($run_id) { // Create call $call = new xmlrpcmsg('TestRun.get_test_case_runs', array(new xmlrpcval($run_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestRun_get_test_cases($run_id) {\n\t// Create call\n\t// FIXME: not working\n\t$call = new xmlrpcmsg('TestRun.get_test_cases', array(new xmlrpcval($run_id, \"int\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "function TestPlan_get_test_runs($plan_id) {\n\t// Create call\n\t$call...
[ "0.7123005", "0.693919", "0.6542017", "0.6291592", "0.6216954", "0.6189323", "0.61443627", "0.6084027", "0.598333", "0.59583414", "0.5842502", "0.573529", "0.5719392", "0.56678206", "0.5650013", "0.5589184", "0.5556902", "0.5556358", "0.5491285", "0.5486298", "0.54728687", ...
0.78560793
0
/ get_test_plan Get A TestPlan For An Existing Test Run Usage TestRun.get_test_plan Parameters ParameterData Type run_idinteger Result Array [author_id] [name] [default_product_version] [plan_id] [product_id] [creation_date] [type_id] [isactive]
/ get_test_plan Получить TestPlan для существующего тестового запуска Использование TestRun.get_test_plan Параметры Параметр Данные Тип run_id целое число Результат Массив [author_id] [name] [default_product_version] [plan_id] [product_id] [creation_date] [type_id] [isactive]
function TestRun_get_test_plan($run_id) { // Create call $call = new xmlrpcmsg('TestRun.get_test_plan', array(new xmlrpcval($run_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestPlan_get($plan_id) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestPlan.get', array(new xmlrpcval($plan_id, \"int\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "function TestPlan_get_test_runs($plan_id) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestPlan.get_test_runs', ...
[ "0.69550097", "0.67222714", "0.6709729", "0.6598955", "0.6455806", "0.6390643", "0.63711905", "0.63473874", "0.61049956", "0.6069276", "0.6054704", "0.60382026", "0.59320384", "0.59257025", "0.5884979", "0.58683634", "0.5850909", "0.5818289", "0.5796774", "0.5796225", "0.5774...
0.7561008
0
/ add_tag Add a tag to the given TestRun Usage TestRun.add_tag Parameters ParameterData TypeComments run_idinteger tag_namestringCreates tag if it does not exist Result 0
/ добавить_тег Добавить тег к заданному TestRun Использование TestRun.add_tag Параметры Параметр Данные Тип Комментарии run_id целое число tag_name строка Создает тег, если он не существует Результат 0
function TestRun_add_tag($run_id, $tag_name) { // Create call $call = new xmlrpcmsg('TestRun.add_tag', array(new xmlrpcval($run_id, "int"), new xmlrpcval($tag_name, "string"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestCase_add_tag($case_id, $tag_name) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestCase.add_tag', array(new xmlrpcval($case_id, \"int\"), new xmlrpcval($tag_name, \"string\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "private function addTag()\n {\n $params ...
[ "0.6969201", "0.6676304", "0.66190755", "0.6460874", "0.610306", "0.58920234", "0.58771515", "0.585326", "0.58420634", "0.572708", "0.57108265", "0.5700662", "0.5656746", "0.5651504", "0.5651366", "0.5620343", "0.55968434", "0.5571145", "0.555633", "0.5535619", "0.54798764", ...
0.78020364
0
/ remove_tag Remove a tag from the given TestRun Usage TestRun.remove_tag Parameters ParameterData Type run_idinteger tag_namestring Result 0
/ remove_tag Удалить метку из заданного TestRun Использование TestRun.remove_tag Параметры Параметр Данные Тип run_id целое число tag_name строка Результат 0
function TestRun_remove_tag($run_id, $tag_name) { // Create call $call = new xmlrpcmsg('TestRun.remove_tag', array(new xmlrpcval($run_id, "int"), new xmlrpcval($tag_name, "string"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestCase_remove_tag($case_id, $tag_name) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestCase.remove_tag', array(new xmlrpcval($case_id, \"int\"), new xmlrpcval($tag_name, \"string\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "public function delete_tag($tag);", "function Te...
[ "0.7491802", "0.7126419", "0.7113409", "0.6707196", "0.6679919", "0.66228145", "0.65400183", "0.6472691", "0.639579", "0.635502", "0.6342848", "0.6305746", "0.6287674", "0.62789804", "0.6258274", "0.6055902", "0.60417897", "0.5992248", "0.59338874", "0.59190786", "0.5877083",...
0.83461714
0
/ get_tags Get a list of tags for the given TestRun Usage TestRun.get_tags Parameters ParameterData Type run_idinteger Result Array [0] Array [plan_count] [tag_name] [case_count] [run_count] [tag_id] [0] Array ...
/ get_tags Получить список тегов для заданного TestRun Использование TestRun.get_tags Параметры Параметр Данные Тип run_id целое число Результат Массив [0] Массив [plan_count] [tag_name] [case_count] [run_count] [tag_id] [0] Массив ...
function TestRun_get_tags($run_id) { // Create call $call = new xmlrpcmsg('TestRun.get_tags', array(new xmlrpcval($run_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestCase_get_tags($case_id) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestCase.get_tags', array(new xmlrpcval($case_id, \"int\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "function TestPlan_get_tags($plan_id) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestPlan.get_tags', ...
[ "0.70891887", "0.6987806", "0.6734621", "0.6729092", "0.66611713", "0.66611713", "0.66611713", "0.66611713", "0.66611713", "0.6512545", "0.65051067", "0.64806515", "0.6450118", "0.64104825", "0.6373134", "0.6365282", "0.6264207", "0.6216087", "0.62074816", "0.62074816", "0.61...
0.7788141
0
/ lookup_environment_id_by_name Lookup A TestRun Environment ID By Its Name Usage TestRun.lookup_environment_id_by_name Parameters ParameterData TypeComments namestringCannot be null or empty string Result environment_id
/ lookup_environment_id_by_name Поиск идентификатора тестового окружения TestRun по его имени Использование TestRun.lookup_environment_id_by_name Параметры Параметр Данные Тип Комментарии name string Не может быть null или пустой строкой Результат environment_id
function TestRun_lookup_environment_id_by_name($name) { // Create call $call = new xmlrpcmsg('TestRun.lookup_environment_id_by_name', array(new xmlrpcval($name, "string"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestRun_lookup_environment_name_by_id($environment_id) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestRun.lookup_environment_name_by_id', array(new xmlrpcval($environment_id, \"int\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "function TestCaseRun_lookup_status_id_by_name($na...
[ "0.7341836", "0.5491031", "0.53437054", "0.53384835", "0.5277239", "0.5240223", "0.5085258", "0.50455886", "0.5004854", "0.49922806", "0.49776092", "0.493115", "0.49287912", "0.48000243", "0.47797826", "0.47797504", "0.4757412", "0.47368905", "0.47246414", "0.46949783", "0.46...
0.7888443
0
/ lookup_environment_name_by_id Lookup A TestRun Environment Name By Its ID Usage TestRun.lookup_environment_name_by_id Parameters ParameterData TypeComments environment_idintegerCannot be 0 Result name
lookup_environment_name_by_id Поиск названия тестового окружения TestRun по его ID Использование TestRun.lookup_environment_name_by_id Параметры Параметр Данные Тип Комментарии environment_id integer Не может быть 0 Результат name
function TestRun_lookup_environment_name_by_id($environment_id) { // Create call $call = new xmlrpcmsg('TestRun.lookup_environment_name_by_id', array(new xmlrpcval($environment_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestRun_lookup_environment_id_by_name($name) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestRun.lookup_environment_id_by_name', array(new xmlrpcval($name, \"string\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "function TestCaseRun_lookup_status_name_by_id($case_run_status_id)...
[ "0.7265099", "0.6008571", "0.573965", "0.5554055", "0.5449047", "0.54386", "0.5351696", "0.53135264", "0.51485956", "0.50864285", "0.5069792", "0.4970468", "0.49632627", "0.49519473", "0.49369222", "0.4918284", "0.48865286", "0.4803193", "0.48028404", "0.4768613", "0.4766832"...
0.800287
0
/ list Get A List of TestCaseRuns Based on A Query Usage TestCaseRun.list Parameters ParameterData TypeComments queryhashmapCan not be null. See Query Examples. Result Array [0] Array [build_id] [case_text_version] [running_date] [sortkey] [case_id] [run_id] [testedby] [assignee] [environment_id] [close_date] [notes] [...
/ список Получить список TestCaseRuns на основе запроса Использование TestCaseRun.list Параметры Параметр Тип Данные Комментарии query hashmap Не может быть null. См. Примеры запроса. Результат Массив [0] Массив [build_id] [case_text_version] [running_date] [sortkey] [case_id] [run_id] [testedby] [assignee] [environmen...
function TestCaseRun_list($query) { // Create array foreach($query as $key => $val) { switch($key) { case "assignee": case "build_id": case "canview": case "case_id": case "case_run_id": case "case_run_status_id": case "case_text_version": case "environment_id": case "iscurrent": case ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestRun_list($query) {\n\t// Create array\n\tforeach($query as $key => $val) {\n\t\tswitch($key) {\n\t\t\tcase \"plan\":\n\t\t\t\tunset($va);\n\t\t\t\tforeach($key as $k => $v) {\n\t\t\t\t\t$va[$k] = new xmlrpcval($v, \"string\");\n\t\t\t\t}\n\t\t\t\t$val = $va;\n\t\t\t\t$type = \"struct\";\n\t\t\t\tbreak...
[ "0.73265195", "0.68062705", "0.6181923", "0.6087728", "0.5976985", "0.5707804", "0.5639907", "0.56284094", "0.5595147", "0.5523965", "0.53909624", "0.5373161", "0.5351092", "0.5342368", "0.53377175", "0.52156097", "0.5123363", "0.51168174", "0.5115156", "0.5083085", "0.506672...
0.7687766
0
/ create Create A New TestCaseRun Usage TestCaseRun.create Parameters ParameterData TypeComments new_valueshashmapSee required attributes list below. Required attributes: assignee, build_id, case_id, case_text_version, environment_id, and run_id case_run_status_id always set to 1 (IDLE) on create Result case_run_id
/ создать Создать новый TestCaseRun Использование TestCaseRun.create Параметры Параметр Данные Тип Комментарии new_values hashmap См. список необходимых атрибутов ниже. Обязательные атрибуты: assignee, build_id, case_id, case_text_version, environment_id и run_id case_run_status_id всегда устанавливается в 1 (IDLE) при...
function TestCaseRun_create($assignee, $build_id, $case_id, $case_text_version, $environment_id, $run_id, $canview = NULL, $close_date = NULL, $iscurrent = NULL, $notes = NULL, $sortkey = NULL, $testedby = NULL) { $varray = array("assignee" => "int", "build_id" => "int", "case_id" => "int", "case_text_version" => "int...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestRun_create($build_id, $environment_id, $manager_id, $plan_id, $plan_text_version, $summary, $notes = NULL, $start_date = NULL, $stop_date = NULL) {\n\t$varray = array(\"build_id\" => \"int\", \"environment_id\" => \"int\", \"manager_id\" => \"int\", \"plan_id\" => \"int\", \"plan_text_version\" => \"i...
[ "0.6833543", "0.644762", "0.5480053", "0.5480053", "0.5433984", "0.54091", "0.52801603", "0.5175006", "0.5173832", "0.51413697", "0.5137737", "0.5114321", "0.50976753", "0.5084257", "0.50793225", "0.5077945", "0.50688946", "0.50452644", "0.50251186", "0.50251037", "0.50192827...
0.71738714
0
/ update Update An Existing TestCaseRun Usage TestCaseRun.update Parameters ParameterData TypeComments run_idinteger case_idinteger build_idinteger environment_idinteger new_valueshashmapSee attributes list modifiable fields. The notes attribute can be used to append a new note to the respective TestCaseRun. To automat...
/ обновление Обновление существующего TestCaseRun Использование TestCaseRun.update Параметры Параметр Тип Данные Комментарии run_id целое число case_id целое число build_id целое число environment_id целое число new_values хэш-карта См. список атрибутов изменяемых полей. Атрибут notes может использоваться для добавлени...
function TestCaseRun_update($run_id, $case_id, $build_id, $environment_id, $assignee = NULL, $case_run_status_id = NULL, $notes = NULL, $update_bugs = NULL) { $varray = array("assignee" => "int", "case_run_status_id" => "int", "notes" => "string", "update_bugs" => "int"); foreach($varray as $key => $val) { if (isse...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestRun_update($run_id, $build_id, $environment_id, $manager_id, $plan_text_version, $summary, $notes = NULL, $start_date = NULL, $stop_date = NULL) {\n\t$varray = array(\"build_id\" => \"int\", \"environment_id\" => \"int\", \"manager_id\" => \"int\", \"plan_text_version\" => \"int\", \"summary\" => \"st...
[ "0.72085124", "0.63875085", "0.58997685", "0.58223915", "0.58223915", "0.5813928", "0.5687551", "0.5665595", "0.5658336", "0.5649307", "0.55900604", "0.55828863", "0.5574427", "0.55630726", "0.55532473", "0.5532501", "0.54705703", "0.5466088", "0.54200923", "0.54177296", "0.5...
0.74207836
0
/ get_bugs Get a list of bugs for the given TestCaseRun Usage TestCaseRun.get_bugs Parameters ParameterData Type case_run_idinteger Result Array [0] Array [priority] [cf_nts_priority] [bug_id] [qa_contact_id] [cclist_accessible] [cf_foundby] [infoprovider_id] [short_desc] [everconfirmed] [bug_severity] [isunconfirmed] ...
/ get_bugs Получить список ошибок для заданного TestCaseRun Использование TestCaseRun.get_bugs Параметры Параметр Данные Тип case_run_idinteger Результат Массив [0] Массив [приоритет] [cf_nts_priority] [bug_id] [qa_contact_id] [cclist_accessible] [cf_foundby] [infoprovider_id] [short_desc] [everconfirmed] [bug_severity...
function TestCaseRun_get_bugs($case_run_id) { // Create call $call = new xmlrpcmsg('TestCaseRun.get_bugs', array(new xmlrpcval($case_run_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestCase_get_bugs($case_id) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestCase.get_bugs', array(new xmlrpcval($case_id, \"int\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "function printBugData($bugData){\r\n\t//echo \"build = \", $bugData->build;\r\n\t//echo \"platform = \"...
[ "0.7077948", "0.60726243", "0.5944839", "0.5852173", "0.5734443", "0.56766623", "0.5576862", "0.55423635", "0.5403327", "0.5361169", "0.5290842", "0.5262798", "0.52421105", "0.5121908", "0.51086473", "0.5082014", "0.50685513", "0.5062318", "0.5052352", "0.50369895", "0.501703...
0.77573705
0
/ lookup_status_id_by_name Lookup A TestCaseRun Status ID By Its Name Usage TestCaseRun.lookup_status_id_by_name Parameters ParameterData TypeComments namestringCannot be null or empty string Result case_run_status_id
/ lookup_status_id_by_name Поиск идентификатора статуса TestCaseRun по его имени Использование TestCaseRun.lookup_status_id_by_name Параметры Параметр Данные Тип Комментарии name строка Не может быть null или пустой строкой Результат case_run_status_id
function TestCaseRun_lookup_status_id_by_name($name) { // Create call $call = new xmlrpcmsg('TestCaseRun.lookup_status_id_by_name', array(new xmlrpcval($name, "string"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestCaseRun_lookup_status_name_by_id($case_run_status_id) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestCaseRun.lookup_status_name_by_id', array(new xmlrpcval($case_run_status_id, \"int\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "function TestCase_lookup_status_id_by_name(...
[ "0.7550667", "0.72613513", "0.6684604", "0.59730536", "0.5820756", "0.55670285", "0.5477339", "0.5448773", "0.5435215", "0.54205036", "0.54103726", "0.53434443", "0.5335045", "0.5330921", "0.5311985", "0.5286628", "0.5278489", "0.5141154", "0.51359195", "0.5087306", "0.504324...
0.7601995
0
/ lookup_status_name_by_id Lookup A TestCaseRun Status Name By Its ID Usage TestCaseRun.lookup_status_name_by_id Parameters ParameterData TypeComments case_run_status_idintegerCannot be 0 Result name
/ lookup_status_name_by_id Поиск названия статуса TestCaseRun по его идентификатору Использование TestCaseRun.lookup_status_name_by_id Параметры Параметр Данные Тип Комментарии case_run_status_id целое число Не может быть 0 Результат имя
function TestCaseRun_lookup_status_name_by_id($case_run_status_id) { // Create call $call = new xmlrpcmsg('TestCaseRun.lookup_status_name_by_id', array(new xmlrpcval($case_run_status_id, "int"))); // Do call and return value return do_call($call); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function TestCase_lookup_status_name_by_id($status_id) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestCase.lookup_status_name_by_id', array(new xmlrpcval($status_id, \"int\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}", "function TestCaseRun_lookup_status_id_by_name($name) {\n\t// Create...
[ "0.7446978", "0.7315528", "0.7035691", "0.62101525", "0.5962972", "0.58992463", "0.5756113", "0.5662879", "0.5661188", "0.5574996", "0.55725473", "0.55450577", "0.55131763", "0.5489959", "0.548433", "0.543253", "0.54274935", "0.5415003", "0.5399905", "0.5371492", "0.5364881",...
0.8158918
0
__construct Show companies index page
__construct Показать страницу индекса компаний
function index() { if($this->request->isApiCall()) { $this->serveData(Companies::findByIds($this->logged_user->visibleCompanyIds()), 'companies'); } else { $page = (integer) $this->request->get('page'); if($page < 1) { $page = 1; } // if list($compa...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function index(Company $company)\n {\n //\n }", "public function index(Company $company)\n {\n //\n }", "public function index()\n {\n $order = $this->get->get('order', 'ASC');\n $by = $this->get->get('by', 'name');\n $companies = $this->company->orderBy...
[ "0.7762682", "0.7762682", "0.77060956", "0.7678966", "0.76700133", "0.7649519", "0.75377256", "0.7502622", "0.7497743", "0.7491244", "0.7483215", "0.74753475", "0.7462112", "0.7460038", "0.7414851", "0.7401081", "0.7400681", "0.7393722", "0.73518795", "0.7341648", "0.7325599"...
0.77739507
0
Restore the original branch, e.g. after a successful land or a failed pull.
Восстановите исходную ветку, например, после успешной публикации или неудачного слияния.
private function restoreBranch() { $repository_api = $this->getRepositoryAPI(); $repository_api->execxLocal( 'checkout %s', $this->oldBranch); if ($this->isGit) { $repository_api->execxLocal( 'submodule update --init --recursive'); } echo phutil_console_format( "Switc...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function restore() {}", "public function restore()\n {\n }", "public function restore()\n {\n //\n }", "public function restore();", "function restore()\n {\n }", "protected static function restore() {}", "public function restore(): void\n\t{\n\t\t$this->processor->resto...
[ "0.6645313", "0.6603883", "0.6588765", "0.64372236", "0.6393038", "0.6312822", "0.6238128", "0.61670756", "0.6081092", "0.6018621", "0.59939134", "0.59879", "0.5964721", "0.5964721", "0.5959783", "0.592793", "0.5911783", "0.59020823", "0.590133", "0.5900006", "0.5880558", "...
0.82019234
0
Traverse all roles and view role permissions get permissions.
Проходите по всем ролям и просматривайте разрешения ролей, получите разрешения.
public function getPermissionsViaRole() { return $this->roles->map(function (Role $role) { return $role->getAllPermissions(); })->flatten(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static function getAll()\n {\n return Role::with(['permissions'])->get();\n }", "protected function getPermissions()\n {\n return Permission::with('roles')->get();\n }", "public function getRolePermissions()\n {\n $headers = ['Ability', 'Role'];\n\n $role_name ...
[ "0.74469596", "0.73511004", "0.72663933", "0.7091406", "0.6979009", "0.69606924", "0.682855", "0.68099684", "0.68049467", "0.6751602", "0.6751602", "0.67238224", "0.6661425", "0.6647527", "0.66462815", "0.66439813", "0.66318744", "0.6621978", "0.6610668", "0.6602613", "0.6583...
0.73654485
1
Forget the cached permissions.
Забудьте кэшированные разрешения.
protected function forgetCachedPermissions() { app(PermissionRegistrar::class)->forgetCachedPermissions(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function forgetCachedPermissions()\n {\n app(PermissionRegistrar::class)->forgetCachedPermissions();\n }", "function clean_permissions_cache() {\n cache_remove_by_pattern('visible_types_filter_for_*');\n \tcache_remove_by_pattern('visible_project_types_filter_for_*');\n \tcache_remove_by...
[ "0.79305166", "0.73567146", "0.70969707", "0.7075493", "0.7075493", "0.6791435", "0.6790494", "0.6771382", "0.6742042", "0.66986614", "0.65345216", "0.649843", "0.64202464", "0.63616586", "0.6360138", "0.62653506", "0.62577385", "0.62295735", "0.6200456", "0.6200456", "0.6179...
0.7856477
1
retrieve server timestamp for further updates.
получить временная метка сервера для дальнейших обновлений.
public function retrieveServerTime(){ //http://www.thetvdb.com/api/Updates.php?type=none if(!$this->t_mirrors){ $this->retrieveMirrors; } $url = $this->t_mirrors[0].'/api/Updates.php?type=none'; //$xmlStr=$this->curl_get_file_contents($url); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getServerTimestamp();", "public function getTimestamp()\n {\n return $this->server['REQUEST_TIME'];\n }", "public function servertime() {\n\t\tif(is_null($this->sync))\n\t\t\t$this->synchronize();\n\t\treturn (int) (microtime(true) * 1000) + $this->sync;\n\t}", "function getUTCTi...
[ "0.8083645", "0.7416652", "0.7390121", "0.71988434", "0.71400994", "0.7135814", "0.7113937", "0.7109287", "0.7052115", "0.70433325", "0.70233834", "0.7015609", "0.70124596", "0.6988069", "0.69764644", "0.69247085", "0.68964005", "0.6883119", "0.6879705", "0.6875884", "0.68653...
0.77584285
1
Make a new change model.
Создайте новый модель изменения.
protected function makeChangeModel() { return new Change([ 'recorded_at' => Carbon::now(), ]); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function makeModel()\n {\n new MakeModel($this, $this->files);\n }", "protected function createModel()\n {\n $this->call('make:model', array_filter([\n 'name' => $this->getNameInput(),\n '--factory' => $this->option('factory'),\n '--migration' => ...
[ "0.7015311", "0.6959926", "0.66230065", "0.6453481", "0.63983315", "0.6353436", "0.6351739", "0.63483256", "0.63456106", "0.6329074", "0.6309134", "0.6198854", "0.6191518", "0.6168604", "0.61266106", "0.6106725", "0.6032546", "0.6018646", "0.5982048", "0.5936128", "0.59248096...
0.7168489
0
Required. The Challenge to be created. Currently this field can be empty as all the Challenge fields are set by the server. Generated from protobuf field .google.cloud.confidentialcomputing.v1.Challenge challenge = 2 [(.google.api.field_behavior) = REQUIRED];
Обязательно. Создаваемый Challenge. В настоящее время это поле может быть пустым, так как все поля Challenge устанавливаются сервером. Сгенерировано из поля protobuf .google.cloud.confidentialcomputing.v1.Challenge challenge = 2 [(.google.api.field_behavior) = REQUIRED];
public function setChallenge($var) { GPBUtil::checkMessage($var, \Google\Cloud\ConfidentialComputing\V1\Challenge::class); $this->challenge = $var; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getChallenge()\n {\n return $this->challenge;\n }", "public function getChallenge()\n\t{\n\t}", "public function testCreateChallenge()\n {\n }", "public function getChallengeType()\n {\n return $this->challengeType;\n }", "public function getC...
[ "0.6847814", "0.63765246", "0.61719203", "0.61321056", "0.60971135", "0.5871734", "0.58568376", "0.58467454", "0.5785025", "0.5718659", "0.5683063", "0.5652916", "0.55694854", "0.5549106", "0.55468005", "0.5517524", "0.55059373", "0.5437075", "0.53689975", "0.5235044", "0.521...
0.8294287
0
find all ideas of a user with ID $id
найдите все идеи пользователя с ID $id
private function findAllIdeasOfAUser($id) { $statement = "SELECT * FROM IDEAS WHERE ownerId='$id';"; try { $db=new databaseController(); $statement= $db->getConnection()->query($statement); $statement->execute(); $result = $statement->fetchAll(\PDO::FETCH_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function listAllbyUser($id){\n try{\n $sql = 'select * from user u inner join person p on u.id_person = p.id_person where id_user = ?';\n $stm = $this->pdo->prepare($sql);\n $stm->execute([$id]);\n $result = $stm->fetch();\n\n } catch (Exception $e){...
[ "0.65527195", "0.64556557", "0.63239026", "0.630819", "0.62854147", "0.6195247", "0.6113063", "0.6053571", "0.60389334", "0.60319406", "0.60319406", "0.6026635", "0.60074747", "0.59705746", "0.59643584", "0.5931559", "0.59122354", "0.59068537", "0.5884626", "0.58829373", "0.5...
0.78558385
0
add a new project
Добавить новый проект
public function addproject() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function add_project()\n {\n \t$helperPluginManager = $this->getServiceLocator();\n \t$serviceManager = $helperPluginManager->getServiceLocator();\n \t$projects = $serviceManager->get('PM/Model/Projects');\n \t$result = $projects->getProjectById($this->pk);\t\n \t\n \tif($result)\n ...
[ "0.79544044", "0.73665214", "0.7301382", "0.72370356", "0.7012695", "0.6977973", "0.69482344", "0.6944496", "0.6913056", "0.68292886", "0.6819881", "0.6776193", "0.6769321", "0.6765227", "0.6763805", "0.6711746", "0.6675014", "0.66111183", "0.65342015", "0.6446773", "0.638629...
0.8548666
0
get a thread vote by an user returning false if not found any vote, else return the vote (1 or 1)
получить голос пользователя за тему, возвращая false, если не найдено голосов, иначе вернуть голос (1 или 1)
public static function getUserThreadVote($threadId, $userId) { $userThreadVoteRow = (new \yii\db\Query()) ->select('vote') ->from('thread_vote') ->where(['thread_id' => $threadId, 'user_id' => $userId]) ->one(); return ($userThreadVoteRow['vote'] === false) ? false : in...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function find_vote($event_id, $user_id);", "public static function get_user_vote_status( $user_id, $post_id )\n\t{\n\t\tglobal $wpdb;\n\n\t\t$table_name = $wpdb->prefix . 'helpful';\n\t\t$sql = \"\n\t\tSELECT pro, contra\n\t\tFROM {$table_name}\n\t\tWHERE user = %s AND post_id = %d\n\t\tLIMIT 1\n\t...
[ "0.6362719", "0.62776726", "0.6258979", "0.6132392", "0.610553", "0.6068166", "0.6052946", "0.60454583", "0.60251033", "0.59802157", "0.5852954", "0.5843388", "0.5833628", "0.5812672", "0.57950073", "0.57832783", "0.5774494", "0.575157", "0.57390714", "0.57352614", "0.5732828...
0.7438728
0
Lists all Pembelian models.
Список всех моделей Pembelian.
public function actionIndex() { $searchModel = new PembelianSearch(); $dataProvider = $searchModel->search(Yii::$app->request->queryParams); return $this->render('index', [ 'searchModel' => $searchModel, 'dataProvider' => $dataProvider, ]); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getModels();", "public function getModels();", "public function index()\n {\n return $this->model->all();\n }", "public function index()\n {\n return $this->model->getAll();\n }", "public function index(){\n return $this->model->all();\n }", "public fun...
[ "0.6869612", "0.6869612", "0.68342996", "0.6782839", "0.67683893", "0.6610495", "0.6562074", "0.6445544", "0.64185447", "0.641637", "0.641334", "0.64064187", "0.63826144", "0.6380286", "0.6377825", "0.6342017", "0.6336884", "0.63076735", "0.6298295", "0.6298295", "0.6298295",...
0.7322044
0
Creates a new Pembelian model. If creation is successful, the browser will be redirected to the 'view' page.
Создает новый объект Pembelian. Если создание успешно, браузер будет перенаправлен на страницу 'view'.
public function actionCreate() { $model = new Pembelian(); if ($model->load(Yii::$app->request->post())) { $transaction = Yii::$app->db->beginTransaction(); try { $model->jenis_ppn = 'NON-PPN'; $model->listPembelian = Yii::$app->reques...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function actionCreate()\n {\n $model = new Persyaratan();\n\n if ($model->load(Yii::$app->request->post()) && $model->save()) {\n return $this->redirect(['view', 'id' => $model->id_persyaratan]);\n }\n\n return $this->render('create', [\n 'model' => $mode...
[ "0.78397715", "0.7741215", "0.74765384", "0.7461382", "0.7427895", "0.7397413", "0.731991", "0.7284997", "0.72713697", "0.7240015", "0.7238803", "0.7231888", "0.72233236", "0.7216643", "0.7209881", "0.7200267", "0.71842486", "0.71814114", "0.71788794", "0.71778655", "0.715921...
0.8056516
0
returns a 5 character CAPTCHA code
возвращает 5-символьный код CAPTCHA
public function generate_code() { $code = ""; $count = 0; while ($count < $this->num_characters) { $code .= substr($this->captcha_characters, mt_rand(0, strlen($this->captcha_characters)-1), 1); $count++; } return $code; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getCaptcha()\n {\n $random = str_random(5);\n\n return $random;\n }", "private function generate_code()\n\t\t{\n\t\t\t$code = \"\";\n\t\t\tfor ($i = 0; $i < 5; ++$i) \n\t\t\t{\n\t\t\t\tif (mt_rand() % 2 == 0) \n\t\t\t\t{\n\t\t\t\t\t$code .= mt_rand(0,9);\n\t\t\t\t} else \n\t\...
[ "0.7179355", "0.68717086", "0.6802135", "0.6753556", "0.64977455", "0.6493676", "0.645707", "0.64249986", "0.641172", "0.64023215", "0.6392648", "0.6365354", "0.63628817", "0.63618964", "0.6351258", "0.6344867", "0.63184226", "0.63137287", "0.6283493", "0.6280058", "0.6276933...
0.7436703
0
Show the form for creating a new LlamadoConcursos.
Показать форму для создания нового LlamadoConcursos.
public function create() { $llamados = Llamado::pluck('codigo' , 'id'); $concursos = Concurso::pluck('referenciaGeneral' , 'id'); return view('llamado_concursos.create' , compact ('llamados' , 'concursos')); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function create()\n {\n return view('concurs.create');\n }", "public function create()\n {\n //\n \n return view('colaboradores.create');\n \n }", "public function create()\n {\n return view('cursos.create');\n }", "public function create...
[ "0.71485156", "0.7128669", "0.71147907", "0.71147907", "0.7087562", "0.7058187", "0.7051203", "0.70177805", "0.7006103", "0.7003732", "0.70011294", "0.69860744", "0.6970205", "0.6954094", "0.6933205", "0.6928592", "0.6908054", "0.69043434", "0.6903634", "0.68950284", "0.68834...
0.75176454
0
Registers shortcodes for the Unique theme.
Регистрирует короткоды для темы Unique.
function unique_register_shortcodes() { /* Adds the [entry-mood] shortcode. */ add_shortcode( 'entry-mood', 'unique_entry_mood_shortcode' ); /* Adds the [entry-views] shortcode. */ add_shortcode( 'entry-views', 'unique_entry_views_shortcode' ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function add_short_code()\n {\n add_shortcode('colorYourLife', array($this, 'generate_short_code_content'));\n }", "function register_shortcodes(){\n\n\t\t$this->shortcodes = new WordpressConnectShortCodes();\n\n\t}", "function wpestate_tiny_short_codes_register() {\n if (!current_user_c...
[ "0.6750078", "0.6704431", "0.6597113", "0.658506", "0.6479715", "0.64111596", "0.6391342", "0.6358114", "0.6242137", "0.62169844", "0.6155596", "0.60888356", "0.60664046", "0.6013778", "0.5989631", "0.596018", "0.5953796", "0.59449446", "0.5912664", "0.59015334", "0.58883536"...
0.7469642
0
Outputs the result message
Выводит сообщение с результатом
function outputResultMessage() { global $application; if (!is_array($this -> _Errors) && $this -> _Errors != 'Success') return ''; $template_contents = array( 'ResultMessage' => (($this -> _Errors == 'Success') ? getMsg('CTL'...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function printResult() {\n $this->result->path = $this->getType() . 's/' . $this->getName() . '#tmp';\n\n // text/plain is used to support IE\n header('Cache-Control: no-cache');\n header('Content-Type: text/plain; charset=utf-8');\n\n print $this->getResult();\n }", "public function execu...
[ "0.710279", "0.6851841", "0.6701738", "0.66912717", "0.6670904", "0.66609025", "0.66597205", "0.6645348", "0.661057", "0.6569985", "0.6569985", "0.6569985", "0.6569985", "0.6569985", "0.6563406", "0.64988124", "0.6444088", "0.64242", "0.641651", "0.6391485", "0.6374949", "0...
0.74765766
0
Outputs reload parent js code if needed
Выводы перезагружают родительский код js при необходимости
function outputReloadParentCode() { global $application; if ($this -> _ReloadParentWindow != 1) return ''; return $this -> mTmplFiller -> fill( 'catalog/product_group_edit/', 'reload-parent-js.tpl.html', array() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function override()\n {\n $js_file_path = $this->getUrl('js/script.js'); //Override js file\n $survey_link = $this->getSurveyLink(); //URI to redirect to\n $finance_data = $this->fetchCostData();\n\n print \"<div id='redirect-uri' class='hidden' redirect-uri=$survey_link ></di...
[ "0.67696005", "0.6097358", "0.60453385", "0.5954629", "0.59542966", "0.5831523", "0.58305675", "0.5822325", "0.5815946", "0.5806752", "0.5761933", "0.575633", "0.5750368", "0.5748817", "0.5702869", "0.5696371", "0.56439495", "0.5639237", "0.5634104", "0.5617629", "0.5614638",...
0.7931202
0
Outputs the update button if the list of products is not empty
Выводит кнопку обновления, если список продуктов не пустой
function outputUpdateButton() { if (empty($this -> _Prod_IDs)) return ''; return $this -> mTmplFiller -> fill( 'catalog/product_group_edit/', 'update-button.tpl.html', array() ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function update(){\n $this->product->id = $_POST['id'];\n $this->product->name = $_POST['name'];\n $this->product->price = $_POST['price'];\n $this->product->description = $_POST['description'];\n $this->product->category_id = $_POST['category_id'];\n\n\n\n // updat...
[ "0.6298469", "0.61847484", "0.6184212", "0.6053899", "0.6024869", "0.59990823", "0.5994417", "0.59657896", "0.5930495", "0.5897815", "0.58926475", "0.5879835", "0.5875972", "0.58609253", "0.5853236", "0.5842559", "0.58393115", "0.577704", "0.5773899", "0.5750344", "0.57425916...
0.7309782
0
Outputs the list of products
Выводит список продуктов
function outputProductList() { global $application; if (empty($this -> _Prod_IDs)) { $template_contents = array( 'ColumnNumber' => count($this -> _attrs) + (empty($this -> _Errors) ? 0 : 1) ); $this -> _Te...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function all_products()\n\t{\n\t\t$data['product_list']=$this->tbl_product->get_all_product();\n\t\t$data['page']='All Products';\n\t\t$view = 'Admin/collection/admin_all_product_list';\n\t\techo Modules::run('Template/admin_template', $view, $data);\t\n\t}", "public function list()\n {\n // réc...
[ "0.7442964", "0.74038714", "0.728424", "0.7139025", "0.7134931", "0.704659", "0.69980955", "0.6976413", "0.6958485", "0.69405764", "0.69257104", "0.69238544", "0.6906843", "0.6905059", "0.68831456", "0.68801326", "0.6868503", "0.68186694", "0.68041736", "0.6802763", "0.677042...
0.75149626
0
Outputs the product errors
Выводит ошибки продукта
function outputError($index, $prod_id) { global $application; if (!isset($this -> _Errors[$prod_id]) || !is_array($this -> _Errors[$prod_id]) || empty($this -> _Errors[$prod_id])) return ''; $error_msg = join('<br />', $this -> _Errors[$prod_id]); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function displayError(){\n\t\tprint \"<div class=\\\"validationerror\\\">\";\n\t\tfor ($i=0;$i<count($this->error);$i++){\n\t\t\tprintln($this->error[$i]);\n\t\t}\n\t\tprint \"</div>\";\n\t}", "public static function displayErrors(){\n $ec = new EmailLabsConfig();\n if( $ec->getMode() == true && !e...
[ "0.69864553", "0.6887595", "0.68670964", "0.677114", "0.67257035", "0.67224574", "0.6598896", "0.6594689", "0.6568849", "0.6485919", "0.6482635", "0.64701897", "0.64606285", "0.6451554", "0.64378977", "0.6428408", "0.6392482", "0.63794786", "0.63601696", "0.63540494", "0.6354...
0.70973444
0
Show the form for creating a new P3aulac1m1.
Показать форму для создания нового P3aulac1m1.
public function create() { return view('p3aulac1m1s.create'); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function create()\n {\n return view('lab1.create1');\n }", "public function formNew() {\n $this->data->options = array(\n 'RJ' => 'Rio de Janeiro',\n 'MG' => 'Minas Gerais',\n 'SP' => 'São Paulo',\n 'ES' => 'Espírito Santo',\n 'BA'...
[ "0.68355674", "0.6822541", "0.6812756", "0.6728504", "0.6696109", "0.6676282", "0.66380996", "0.6620125", "0.6604906", "0.6581523", "0.6553126", "0.65424645", "0.6539133", "0.6530648", "0.652768", "0.6518312", "0.6500799", "0.6500242", "0.6498663", "0.6491362", "0.648746", ...
0.72551197
0
Store a newly created P3aulac1m1 in storage.
Храните только что созданного P3aulac1m1 в хранилище.
public function store(CreateP3aulac1m1Request $request) { $input = $request->all(); $p3aulac1m1 = $this->p3aulac1m1Repository->create($input); Flash::success('P3Aulac1M1 saved successfully.'); return redirect(route('p3aulac1m1s.index')); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function store(CreateAp3aulac3m2Request $request)\n {\n $input = $request->all();\n\n $ap3aulac3m2 = $this->ap3aulac3m2Repository->create($input);\n\n Flash::success('Ap3Aulac3M2 saved successfully.');\n\n return redirect(route('ap3aulac3m2s.index'));\n }", "public functi...
[ "0.6225431", "0.6027362", "0.6027362", "0.6027362", "0.60272264", "0.60272264", "0.60272264", "0.6017176", "0.60047895", "0.5984905", "0.596173", "0.5958403", "0.5958403", "0.5958403", "0.595702", "0.5950628", "0.5950628", "0.5950628", "0.5950628", "0.5950628", "0.5950628", ...
0.7254907
0
Show the form for editing the specified P3aulac1m1.
Показать форму для редактирования указанного P3aulac1m1.
public function edit($id) { $p3aulac1m1 = $this->p3aulac1m1Repository->find($id); if (empty($p3aulac1m1)) { Flash::error('P3Aulac1M1 not found'); return redirect(route('p3aulac1m1s.index')); } return view('p3aulac1m1s.edit')->with('p3aulac1m1', $p3aulac1m1)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function edit(Form1 $form1)\n {\n //\n }", "public function editformAction(){\n\t\t$this->loadLayout();\n $this->renderLayout();\n\t}", "public function edit1()\n\t{\n \t// $table_form5->tanggapan_audit = $request->auditi;\n \t// $table_form5->rencana_perbaikan = $request->perb...
[ "0.7484721", "0.66990536", "0.6521784", "0.6461161", "0.6450398", "0.64309794", "0.6428513", "0.6421189", "0.6417232", "0.6414706", "0.63931143", "0.6373821", "0.6338717", "0.6332682", "0.6316739", "0.6297674", "0.6295381", "0.6256658", "0.6251438", "0.62425023", "0.6229714",...
0.7089358
1
Count all players in the users table
Посчитать всех игроков в таблице users
public function countTotalPlayers() { $sql = "SELECT count(*) FROM `users`"; $result = $this->pdo->prepare($sql); $result->execute(); // store the number of rows in a variable $number_of_rows = $result->fetchColumn(); return $number_of_rows; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getCountPlayers(): int;", "function countUsers(){\n\t\n\t}", "public function countAll() : int\n {\n $result = $this->em->createQueryBuilder()->select('count(u.username)')\n ->from(User::class, 'u')\n ->getQuery()->getSingleScalarResult();...
[ "0.7470783", "0.71570593", "0.7076483", "0.7029009", "0.6973847", "0.6901268", "0.68177783", "0.6783146", "0.6761919", "0.6759528", "0.66989195", "0.6680426", "0.6680426", "0.6678694", "0.6665485", "0.6631754", "0.6629896", "0.65914035", "0.6572604", "0.6571653", "0.6567479",...
0.7767385
0
Gets the chain for the task
Получает цепочку для задачи
public function getChain() { return $this->chain; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function get_chain()\n {\n return $this->_chain;\n }", "public function chain() {\n\t\t\treturn $this->chain;\n\t\t}", "public function chain($tasks) \n {\n return new Chain($tasks);\n }", "public function chain()\n {\n $response = SubstrateBase::APIHandler('syste...
[ "0.72851616", "0.71652704", "0.6131776", "0.60779554", "0.59972864", "0.5897607", "0.5897607", "0.5863068", "0.5863068", "0.5861416", "0.5784574", "0.5784574", "0.57444346", "0.5614221", "0.555363", "0.5541112", "0.5541112", "0.54808325", "0.5436687", "0.53471863", "0.5345166...
0.73174363
0
Returns the maximum level of containers.
Возвращает максимальный уровень контейнеров.
public function computeMaxLevel($level = 0) { $this->GetContainer(); $maxLevel = $level; $containerChildList = $this->GetChildContainerList(); if (count($containerChildList) > 0) { $level++; foreach ($containerChildList as $cName => $childContainer) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getDepthMaximum(): PositiveInteger;", "public function getMaxNesting()\n {\n return $this->maxNesting;\n }", "public function getMaximumDepth()\n\t{\n\t\tglobal $ilDB;\n\t\t\n\t\t$query = 'SELECT MAX(depth) depth FROM '.$this->table_tree;\n\t\t$res = $ilDB->query($query);\t\t\n\t\t...
[ "0.7198032", "0.7151124", "0.699007", "0.69733405", "0.6883715", "0.6867958", "0.6867958", "0.68655103", "0.6685317", "0.6674382", "0.6532583", "0.64575744", "0.6439754", "0.6391976", "0.63853997", "0.6373736", "0.63664", "0.6342863", "0.63155377", "0.62109643", "0.6207189", ...
0.7196478
1
Get the format's id.
Получите идентификатор формата.
public function getId() : FormatId { return $this->id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getFormatId() : FormatId\n\t{\n\t\treturn $this->formatId;\n\t}", "public function id($format = 'N')\n {\n return $this->getVar('imgset_id', $format);\n }", "public function getID()\n {\n return $this->formattedData['id'];\n }", "public function imgset_id($format = '...
[ "0.846736", "0.7381673", "0.73241794", "0.71253", "0.6908983", "0.688962", "0.6798856", "0.6750246", "0.672604", "0.66546667", "0.6608332", "0.6608332", "0.6589153", "0.658753", "0.6586679", "0.6586679", "0.6576638", "0.654186", "0.64991105", "0.64991105", "0.64688575", "0....
0.87433904
0
Get the format's field size.
Получите размер поля формата.
public function getFieldSize() : int { return $this->fieldSize; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getFormatSize() {}", "function _get_field_size() \n {\n if (isset($this->attribs['size'])) {\n return $this->attribs['size'];\n }\n elseif ($this->attribs['maxlength'] > $this->max_size) {\n return $this->max_size;\n }\n else {\n ...
[ "0.8430468", "0.78774667", "0.75984144", "0.7120926", "0.7011472", "0.6995463", "0.6951911", "0.6915207", "0.6913422", "0.6908509", "0.6908509", "0.6908509", "0.6908509", "0.6908509", "0.6908509", "0.6908509", "0.6908509", "0.68897176", "0.68783164", "0.6877252", "0.68643475"...
0.8206506
1
Get the format's Smogon dex identifier.
Получите идентификатор dex Smogon формата.
public function getSmogonDexIdentifier() : string { return $this->smogonDexIdentifier; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getFormatId() : FormatId\n\t{\n\t\treturn $this->formatId;\n\t}", "public function getId() : FormatId\n\t{\n\t\treturn $this->id;\n\t}", "public function getFormatName();", "public function getFormat(): int;", "public function id($format = 'N')\n {\n return $this->getVar('imgset_i...
[ "0.644611", "0.61967593", "0.58986276", "0.5820077", "0.5729863", "0.57200944", "0.56906164", "0.56569505", "0.561363", "0.5612573", "0.5612573", "0.561227", "0.5611996", "0.5611996", "0.5611996", "0.5611996", "0.5611996", "0.5595931", "0.55783284", "0.55783284", "0.55783284"...
0.76524717
0