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
addUser Add user to online list
addUser Добавить пользователя в список онлайн-пользователей
private function addUser() { $this->online->addUser($this->user, $this->place, $this->loginTime); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function addUser(){}", "public static function addUser()\n {\n // ADD NEW DATA TO A TABLE\n // MAKE SURE TO SEND USERS TO THE /users page when a user is added\n }", "public function addUser(){\n\t}", "public function addUser($user){\n\t\t\tif(!in_array($user, $this->lobby)){\n\t\t\...
[ "0.7489906", "0.7341624", "0.7284498", "0.721324", "0.71765566", "0.6925692", "0.6894491", "0.68279076", "0.6794994", "0.675266", "0.6662102", "0.66595215", "0.6651458", "0.6646068", "0.6542056", "0.65294284", "0.6526403", "0.6525425", "0.6522657", "0.6520463", "0.65165466", ...
0.8508977
0
Build the classifications select list
Создайте список классификаций для выбора
function buildClassificationList($classifications){ $classificationList = '<select name="classificationId" id="classificationList">'; $classificationList .= "<option>Choose a Classification</option>"; foreach ($classifications as $classification) { $classificationList .= "<option value='$classifica...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function buildClassificationList($classifications)\n{\n $classificationList = '<select name=\"classificationId\" id=\"classificationList\">';\n $classificationList .= \"<option>Choose a Classification</option>\";\n foreach ($classifications as $classification) {\n $classificationList .= \"<option value=...
[ "0.78847694", "0.6640465", "0.62988997", "0.62259257", "0.616417", "0.60691726", "0.6025562", "0.5884363", "0.58370405", "0.5767028", "0.5751865", "0.5743982", "0.57101256", "0.5708095", "0.56958336", "0.5680058", "0.56152344", "0.5586126", "0.55670166", "0.55496097", "0.5511...
0.80517733
0
/ Functions for working with images Adds "tn" designation to file name
Функции для работы с изображениями Добавляет обозначение "tn" в имя файла
function makeThumbnailName($image) { $i = strrpos($image, '.'); $image_name = substr($image, 0, $i); $ext = substr($image, $i); $image = $image_name . '-tn' . $ext; return $image; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function makeThumbnailName($image)\n{\n $i = strrpos($image, '.');\n $image_name = substr($image, 0, $i);\n $ext = substr($image, $i);\n $image = $image_name . '-tn' . $ext;\n return $image;\n}", "protected function imageName() {}", "public function getImageName();", "private function createImageNa...
[ "0.76361454", "0.74944025", "0.68055826", "0.66019374", "0.6599242", "0.6576761", "0.65444136", "0.6507727", "0.6493835", "0.64035404", "0.64034975", "0.6264035", "0.6226564", "0.621767", "0.62126434", "0.61867845", "0.615337", "0.61518663", "0.6137972", "0.613783", "0.613768...
0.764747
0
Build the vehicles select list
Создать список выбора транспортных средств
function buildVehiclesSelect($vehicles) { $prodList = '<select name="invId" id="invId">'; $prodList .= "<option>Choose a Vehicle</option>"; foreach ($vehicles as $vehicle) { $prodList .= "<option value='$vehicle[invId]'>$vehicle[invMake] $vehicle[invModel]</option>"; } $prodList .= '</select>';...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function buildVehiclesSelect($vehicles)\n{\n $prodList = '<select name=\"invId\" id=\"invId\">';\n $prodList .= \"<option>Choose a Vehicle</option>\";\n foreach ($vehicles as $vehicle) {\n $prodList .= \"<option value='$vehicle[invId]'>$vehicle[invMake] $vehicle[invModel]</option>\";\n }\n $prodList...
[ "0.7584048", "0.66605157", "0.605245", "0.6036802", "0.5951677", "0.5943212", "0.5908782", "0.5883085", "0.5868457", "0.5715422", "0.570622", "0.5702444", "0.5682596", "0.5668327", "0.5666378", "0.5661099", "0.56583834", "0.5655364", "0.5651713", "0.5647812", "0.56468326", ...
0.78088266
0
Get the colPos from a content element in the database
Получить colPos из элемента содержимого в базе данных
protected function getColPosFromDatabase($contentElementUid) { $queryResult = $this->getDatabaseConnection()->sql_query( 'SELECT colPos FROM tt_content WHERE uid =' . $contentElementUid ); /** @var array $contentElement */ $contentElement = $this->getDatabaseConnection()...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getPositionColumn();", "public function columnOffset();", "protected function getPositionColumn()\n {\n return $this->positionColumn ?? 'position';\n }", "public function getColumn(){\n\n $part = substr($this->input, 0, $this->index);\n $pos = strrpos($part,\"\\n\")...
[ "0.76174587", "0.7289113", "0.68652093", "0.66942096", "0.6408288", "0.6118814", "0.6085125", "0.6034319", "0.5988009", "0.5843853", "0.58199114", "0.5746704", "0.5730189", "0.57267284", "0.57145965", "0.56802636", "0.5676263", "0.5662575", "0.5657394", "0.56508076", "0.56463...
0.73617625
1
Retrieves the Role manager to use.
Получает менеджер ролей для использования.
public static function get() { static $manager = null; if ( $manager === null ) { if ( function_exists( 'wpcom_vip_add_role' ) ) { $manager = RoleManagerVIP::get_instance(); } if ( ! function_exists( 'wpcom_vip_add_role' ) ) { $manager = RoleManagerWP::get_instance(); } } return...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getRole()\n {\n return $this->hasOne(Role::className(), ['id' => 'role_id']);\n }", "public function getManager()\n {\n return $this->manager;\n }", "public function getManager()\n {\n return $this->manager;\n }", "public function getManager()\n {\n ...
[ "0.6890441", "0.68621635", "0.68621635", "0.68621635", "0.6841516", "0.6753865", "0.6740957", "0.66282755", "0.65834385", "0.64943206", "0.6446718", "0.6436054", "0.6425184", "0.64227283", "0.6413139", "0.63930273", "0.6382889", "0.6354982", "0.6354982", "0.6354982", "0.63549...
0.8018739
0
List of Laravel model events that should be recorded public static $logModelEvents = ['created','updated'];
Список событий модели Laravel, которые следует записывать public static $logModelEvents = ['created','updated'];
public static function bootLogsModelEvents() { if (property_exists(self::class, 'logModelEvents')) { foreach (self::$logModelEvents as $eventName) { static::$eventName(function ($model) use ($eventName) { $description = $eventName; if ($ev...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected static function getModelEventsToRecord()\n {\n if (isset(static::$modelEventsToRecord)) {\n return static::$modelEventsToRecord;\n }\n\n return ['created', 'updated', 'deleted'];\n }", "protected static function recordableEvents()\n {\n if (isset(static::...
[ "0.75341773", "0.6896052", "0.6525554", "0.6388823", "0.6388823", "0.6228684", "0.621511", "0.61946315", "0.61371857", "0.6107221", "0.6067984", "0.60408044", "0.59189606", "0.58752406", "0.58464116", "0.5836131", "0.57916987", "0.577985", "0.5735789", "0.5732192", "0.5731368...
0.76568913
0
/ Query a time server (C) 19990929, Ralf D. Kloth (QRQ.software)
/ Запрос времени у сервера (C) 19990929, Ralf D. Kloth (QRQ.software)
function query_time_server($timeserver, $socket) { $fp = fsockopen($timeserver, $socket, $err, $errstr, 5); # parameters: server, socket, error code, error text, timeout if ($fp) { fputs($fp, "\n"); $timevalue = fread($fp, 49); fclose($fp); # close the con...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function retrieveServerTime(){\n //http://www.thetvdb.com/api/Updates.php?type=none\n\t \n\t if(!$this->t_mirrors){\n\t\t$this->retrieveMirrors;\n\t }\n\t \n $url = $this->t_mirrors[0].'/api/Updates.php?type=none';\n \n //$xmlStr=$this->curl_get_file_c...
[ "0.6596131", "0.64093447", "0.6295277", "0.62776715", "0.62247115", "0.6191721", "0.60731685", "0.5970149", "0.5952864", "0.5924523", "0.5846608", "0.58172303", "0.5806068", "0.5734254", "0.5654907", "0.5619656", "0.5562991", "0.5517565", "0.55126476", "0.5507908", "0.5472556...
0.7619637
0
If we didn't receive the command NTP ...
Если мы не получили команду NTP ...
function doNTP($text = null) { if (strtolower($this->input) != "ntp") { $this->ntp_message = $this->ntp_response; $this->response = $this->ntp_response; return; } // "None" agent command received. if ($this->agent_input == null) { $tok...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function send_cntdwn_msg()\n{\n $current = new DateTime();\n $current->Sub(new Dateinterval(\"PT1H\"));\n\t$sqldate = $current->format(\"Y-m-d H:i:s\");\n $ipAddress = false;\n $stopparam = new TempPredictionStopParam($this->connector);\n $stopparam->build_id = $this->stopBuild->build_id;\n $send...
[ "0.5358862", "0.52541333", "0.52417123", "0.52409226", "0.5150787", "0.5086303", "0.5082719", "0.50663257", "0.5056325", "0.5010953", "0.49747655", "0.49531448", "0.49449086", "0.49419537", "0.4931662", "0.49180624", "0.49171072", "0.4916608", "0.4885348", "0.4872519", "0.486...
0.7596663
0
Form submission handler for mongo_node_type_create_form().
Обработчик отправки формы mongo_node_type_create_form()
function mongo_node_type_create_form_submit($form, $form_state) { $label = $form_state['values']['label']; $machine_name = $form_state['values']['name']; $set = mongo_node_settings(); $set += mongo_node_type_default_settings($label, $machine_name); // @todo - redirect to entity type page mongo_node_settin...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function mongo_node_form($form, &$form_state, $entity, $entity_type) {\n $form = array();\n\n $form_state['entity_type'] = $entity_type;\n if (!isset($form_state[$entity_type])) {\n $form_state[$entity_type] = $entity;\n }\n else {\n $entity = $form_state[$entity_type];\n }\n\n // Get title label name...
[ "0.75537634", "0.7259901", "0.681234", "0.6734988", "0.66604066", "0.66321564", "0.66177344", "0.65728587", "0.64692134", "0.64574426", "0.6294301", "0.62569225", "0.61547625", "0.6117619", "0.6045405", "0.60168475", "0.6002687", "0.5941034", "0.59276116", "0.5846542", "0.582...
0.75139195
1
Form submission handler for mongo_node_type_edit_form().
Обработчик отправки формы mongo_node_type_edit_form()
function mongo_node_type_edit_form_submit($form, $form_state) { $label = $form_state['values']['label']; $machine_name = $form_state['values']['name']; $old_entity_type = $form_state['values']['entity_type']; $set = mongo_node_settings(); if ($machine_name != $old_entity_type) { $set += mongo_node_type_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function mongo_node_type_edit_form($form, $form_state, $entity_type) {\n $set = mongo_node_settings();\n $form = array();\n\n $form['label'] = array(\n '#type' => 'textfield',\n '#title' => t('Entity type'),\n '#default_value' => $set[$entity_type]['label'],\n '#description' => t('The human readable...
[ "0.75606555", "0.72743845", "0.71291107", "0.6928399", "0.68131834", "0.668602", "0.662143", "0.65089715", "0.6425825", "0.6371721", "0.63688594", "0.6361926", "0.6356016", "0.62655133", "0.6153967", "0.6112404", "0.5997931", "0.59577876", "0.5949831", "0.59267294", "0.589600...
0.72839963
1
Form submission handler for mongo_node_type_delete_form().
Обработчик отправки формы для mongo_node_type_delete_form().
function mongo_node_type_delete_form_submit($form, $form_state) { $set = mongo_node_settings(); // Remove entity type. $entity_type = $form_state['values']['entity_type']; unset($set[$entity_type]); // Drop collection that stores entities for entity type. $collection = mongodb_collection('fields_current',...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function mongo_node_type_delete_form($form, $form_state, $entity_type) {\n $form = array();\n // Send entity type.\n $form['entity_type'] = array(\n '#type' => 'value',\n '#value' => $entity_type,\n );\n $path = '/admin/structure/mongo-node';\n\n $extist_entity_content = '';\n $collection = mongodb_co...
[ "0.78526545", "0.7351332", "0.7347114", "0.7220521", "0.71068573", "0.7055229", "0.6662198", "0.6615363", "0.657397", "0.6415916", "0.63025516", "0.6188454", "0.6143792", "0.6140851", "0.6084777", "0.6066255", "0.6050293", "0.6005385", "0.59997916", "0.5976242", "0.59560156",...
0.78017473
1
Form constructor for the entity bundle creation.
Конструктор формы для создания набора сущностей.
function mongo_node_bundle_create_form($form, $form_state, $entity_type) { $form = array(); $form['label'] = array( '#type' => 'textfield', '#title' => t('Entity type'), '#description' => t('The human readable name of the entity.'), ); $form['name'] = array( '#type' => 'machine_name', '#re...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function __construct(\\Library\\Entity $entity){\n\t\t$this->setForm(new Form\\Form($entity));\n\t}", "public function __construct($form)\n\t{\n\t\t$formPackage = $form->getMergePackage();\n\t\t$this->name = $form->getName();\n\t\t$this->form = $form;\n\t\t$this->inputs = $formPackage['inputs'];\n\t\t$thi...
[ "0.7282269", "0.6783061", "0.6717208", "0.66257316", "0.65306914", "0.6512528", "0.6465536", "0.64655024", "0.64308816", "0.6401182", "0.63922143", "0.63817096", "0.63817096", "0.63507676", "0.6347384", "0.6347384", "0.6320024", "0.6294007", "0.6288342", "0.6288342", "0.62788...
0.71189916
1
Form validation handler for mongo_node_bundle_create_form().
Обработчик проверки формы mongo_node_bundle_create_form()
function mongo_node_bundle_create_form_validate($form, $form_state) { if (empty($form_state['values']['name'])) { form_set_error('name', t('Machine name @machine_name already exists', array('@machine_name' => $machine_name))); return FALSE; } $machine_name = $form_state['values']['name']; $entity_type ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function mongo_node_form_validate(&$form, &$form_state) {\n $entity_type = $form_state['entity_type'];\n $entity = $form_state[$entity_type];\n field_attach_form_validate($entity_type, $entity, $form, $form_state);\n}", "function mongo_node_type_create_form_validate($form, $form_state) {\n $set = mongo_node_...
[ "0.74918324", "0.67976105", "0.6633064", "0.6482915", "0.6348119", "0.6339121", "0.6242151", "0.60979575", "0.5983234", "0.5968238", "0.5949089", "0.594119", "0.58625954", "0.5776641", "0.5776641", "0.5740215", "0.572987", "0.57215273", "0.56918436", "0.56918436", "0.5639497"...
0.73487484
1
Form submission handler for mongo_node_bundle_create_form().
Обработчик отправки формы mongo_node_bundle_create_form()
function mongo_node_bundle_create_form_submit($form, $form_state) { $entity_type = $form_state['values']['entity_type']; $label = $form_state['values']['label']; $machine_name = $form_state['values']['name']; $description = $form_state['values']['description']; $set = mongo_node_settings(); $set[$entity_t...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function mongo_node_form_submit(&$form, &$form_state) {\n $entity_type = $form_state['entity_type'];\n $entity = entity_ui_controller($entity_type)->entityFormSubmitBuildEntity($form, $form_state);\n $insert = empty($entity->mid);\n entity_save($entity_type, $entity);\n\n $info = entity_get_info($entity_type)...
[ "0.77444345", "0.7322824", "0.7106233", "0.7082012", "0.6999719", "0.6659567", "0.6641731", "0.6170207", "0.61485773", "0.61443996", "0.61306095", "0.6128872", "0.612424", "0.6100041", "0.60700536", "0.60196453", "0.59921896", "0.5978814", "0.5967667", "0.5955421", "0.5953872...
0.7590311
1
Form submission handler for mongo_node_bundle_edit_form().
Обработчик отправки формы mongo_node_bundle_edit_form()
function mongo_node_bundle_edit_form_submit($form, $form_state) { $label = $form_state['values']['label']; $machine_name = $form_state['values']['name']; $entity_type = $form_state['values']['bundle_type']['entity_type']; $old_bundle_type = $form_state['values']['bundle_type']['bundle']; $description = $form...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function mongo_node_bundle_edit_form($form, $form_state, $entity_type, $bundle) {\n\n $set = mongo_node_settings();\n\n $form = array();\n\n $form['label'] = array(\n '#type' => 'textfield',\n '#title' => t('Entity type'),\n '#default_value' => $set[$entity_type]['bundles'][$bundle]['label'],\n '#de...
[ "0.7503424", "0.72289693", "0.66206306", "0.65316916", "0.6489455", "0.64525265", "0.64298", "0.63958144", "0.6388495", "0.6169524", "0.6124327", "0.61211413", "0.60745347", "0.6058325", "0.5982858", "0.5959377", "0.5955767", "0.5938314", "0.59210277", "0.5911633", "0.5896756...
0.75950235
0
Helper function Rename a mongo collection.
Помощь функция Переименовать коллекцию mongo.
function _mongo_node_rename_collection($old_entity_type, $new_entity_type) { $mongodb = mongodb(); // Get connection and database name by forcing call to __toString(). $m = $mongodb->connection; $database = sprintf('%s', $mongodb); $admin_db = $m->admin; $res = $admin_db->command(array( "renameCollec...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setCollectionName($name);", "protected function dropCollection($name)\n {\n if ($this->mongodb) {\n try {\n $this->mongodb->createCommand()->dropCollection($name);\n } catch (Exception $e) {\n // shut down exception\n }\n ...
[ "0.6554234", "0.5911178", "0.5841201", "0.5796181", "0.57822454", "0.57485217", "0.57028073", "0.5685802", "0.5666897", "0.5641118", "0.5636572", "0.55369127", "0.55330616", "0.5511881", "0.54671305", "0.54500496", "0.5412006", "0.53969", "0.536967", "0.53045493", "0.5280285"...
0.7404457
0
Helper function update entities type.
Помощь функция обновления типов сущностей.
function _mongo_node_update_type($old_entity_type, $entity_type) { // Update collection names. _mongo_node_rename_collection($old_entity_type, $entity_type); // Update bundle name in mongo entities. $collection = mongodb_collection('fields_current', $entity_type); $result = $collection->update( array('_t...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function update_type($new_type) { \n\n\t\tif ($this->_update_item('type',$new_type,'50')) { \n\t\t\t$this->type = $new_type;\n\t\t}\n\n\t}", "function entity_info_alter_build(&$entity_info, $entity_type) {\n}", "public function getType(): EntityType;", "public function setType(EntityType $type);", ...
[ "0.6912789", "0.65836614", "0.6572131", "0.6534108", "0.648626", "0.6399886", "0.6325793", "0.63029975", "0.6285561", "0.62635577", "0.6200354", "0.6191755", "0.6148646", "0.6144508", "0.60502535", "0.6000529", "0.5997764", "0.597976", "0.59766966", "0.59686095", "0.5955569",...
0.77196634
0
Mongo entity filter submit handler. It is used by the filter buttons in mongo_node_admin_content().
Обработчик отправки фильтра сущности MongoDB. Используется кнопками фильтра в mongo_node_admin_content().
function mongo_node_filters_submit($form, &$form_state) { $entity_type = $form_state['values']['entity_type']; $filters = mongo_node_filters($entity_type); $op = strtolower($form_state['input']['op']); if ($op == 'reset') { // Remove all filters. unset($_SESSION[$entity_type . '_filters']); } else...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function mongo_node_admin_content($form, $form_state, $entity_type) {\n $settings = mongo_node_settings();\n\n // Send entity type.\n $form['entity_type'] = array(\n '#type' => 'value',\n '#value' => $entity_type,\n );\n\n $form['filters'] = array(\n '#type' => 'fieldset',\n '#title' => t('Show on...
[ "0.6391795", "0.63402665", "0.60834455", "0.5925225", "0.58937114", "0.5856125", "0.5801112", "0.5790417", "0.5740966", "0.5717158", "0.56784385", "0.56057435", "0.5585326", "0.5578976", "0.5576083", "0.5572961", "0.55641407", "0.55086225", "0.5496539", "0.548823", "0.5483889...
0.72924733
0
Form submit handler for mongo_node_form().
Обработчик отправки формы для mongo_node_form()
function mongo_node_form_submit(&$form, &$form_state) { $entity_type = $form_state['entity_type']; $entity = entity_ui_controller($entity_type)->entityFormSubmitBuildEntity($form, $form_state); $insert = empty($entity->mid); entity_save($entity_type, $entity); $info = entity_get_info($entity_type); $bundle...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function mongo_node_operation_submit($form, &$form_state) {\n $operations = mongo_node_operations();\n $operation = $operations[$form_state['values']['operation']];\n\n $entities = array_filter($form_state['values']['entities']);\n $entity_type = $form_state['values']['entity_type'];\n if ($function = $operat...
[ "0.7229615", "0.67927057", "0.6580903", "0.6456499", "0.6303718", "0.624416", "0.6215408", "0.6187164", "0.61237925", "0.60917765", "0.6072781", "0.6052198", "0.6030238", "0.60244405", "0.5989919", "0.5971032", "0.5894369", "0.5832111", "0.58249694", "0.57996845", "0.57809097...
0.781233
0
Mongo entity delete submit handler for mongo_node_page_delete().
Обработчик отправки удаления сущности MongoDB для mongo_node_page_delete()
function mongo_node_page_delete_submit($form, &$form_state) { if ($form_state['values']['confirm']) { $entity = $form['#entity']; $entity->delete(); $entity_type = $entity->entityType(); $info = entity_get_info($entity_type); $bundle_key = $info['bundle keys']['bundle']; $bundle_label = $info...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function mongo_node_page_delete($form, $form_state, $entity_type, $entity) {\n $form['#entity'] = $entity;\n $uri = entity_uri($entity_type, $entity);\n\n return confirm_form($form,\n t('Are you sure you want to delete %title', array('%title' => $entity->title)),\n $uri['path'],\n t('This action cannot...
[ "0.71317905", "0.7057607", "0.7055268", "0.68226093", "0.67156976", "0.6710894", "0.67040217", "0.66735077", "0.642241", "0.6374308", "0.6361223", "0.63513196", "0.6340487", "0.6323407", "0.63184184", "0.6316687", "0.62518245", "0.62388307", "0.6222638", "0.6219751", "0.61835...
0.71954656
0
/ Permite copiar un directorio completo de forma recursiva
Позволяет рекурсивно скопировать целый каталог
function copiar ($desde, $hasta){ mkdir($hasta, 0777); $this_path = getcwd(); if(is_dir($desde)) { chdir($desde); $handle=opendir('.'); while(($file = readdir($handle))!==false){ if(($file != ".") && ($file != "..")){ if(is_dir($file)){ ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function recursive_copy($src, $dst): void\n{\n $dir = opendir($src);\n if (!@mkdir($dst) && !is_dir($dst)) {\n throw new RuntimeException(sprintf('Directory \"%s\" was not created', $dst));\n }\n while (($file = readdir($dir))) {\n if (($file !== '.') && ($file !== '..')) {\n i...
[ "0.6919138", "0.6891525", "0.684044", "0.6804076", "0.6776408", "0.6764926", "0.66789585", "0.6662889", "0.66518027", "0.66457427", "0.6632279", "0.6572202", "0.6561335", "0.6530037", "0.6505243", "0.64843374", "0.64732915", "0.6471976", "0.6463541", "0.6450435", "0.64069027"...
0.76319045
0
/ Permite eliminar un directorio completo
Позволяет удалить целый каталог
function eliminarDirectorio($directorio){ foreach(glob($directorio . "/*") as $archivos_carpeta){ if (is_dir($archivos_carpeta)){ eliminarDirectorio($archivos_carpeta); } else{ unlink($archivos_carpeta); } } rmdir($directorio); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function eliminarDirectorio($directorio,$rutaActual){\n\t$carpeta = @scandir($rutaActual.\"/\".$directorio);\n\tif (count($carpeta) > 2){\n\t echo \"El directorio contiene Archivos, verifique la informacion\";\n\t}else{\n\t if(rmdir($rutaActual.\"/\".$directorio)){\n\t\techo \"<script type='text/javascript'>...
[ "0.726087", "0.7205929", "0.71847975", "0.70745915", "0.6993625", "0.6987787", "0.6937795", "0.67718405", "0.6760282", "0.6746342", "0.6740512", "0.6701986", "0.6687171", "0.66768277", "0.6674728", "0.66515046", "0.6611792", "0.6610989", "0.66024506", "0.6590333", "0.6589668"...
0.7954474
0
Get the breaches request.
Получить запрос на утечки.
public function getRequest(): ?BreachesRequest { return parent::getRequest(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getReferringRequest() {}", "public function get_request()\n\t{\n\t\treturn $this->request;\n\t}", "public function get_request()\n\t{\n\t\treturn $this->request;\n\t}", "public function getRequest()\n {\n return $this->get('request');\n }", "public function getRequest()\n {\...
[ "0.6688049", "0.6590395", "0.6590395", "0.6431904", "0.6431904", "0.6431904", "0.6431904", "0.63992965", "0.6397963", "0.6397963", "0.63911855", "0.6377279", "0.6375402", "0.63612074", "0.63598", "0.63598", "0.6357312", "0.63419515", "0.63117474", "0.6308457", "0.63021797", ...
0.7318399
0
Get the breaches response.
Получить ответ о нарушениях.
public function getResponse(): ?BreachesResponse { return parent::getResponse(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function get_response()\n\t{\n\t\treturn $this->response;\n\t}", "public function get_response()\n\t{\n\t\treturn $this->response;\n\t}", "function get_response() {\n return $this->response;\n }", "public function get_response()\n {\n return $this->response; \n }", "public function getRespo...
[ "0.6645051", "0.6645051", "0.6571819", "0.6557799", "0.6464147", "0.6464147", "0.6414569", "0.6350447", "0.63103235", "0.63103235", "0.63103235", "0.6302234", "0.62934583", "0.62546796", "0.6244344", "0.6244344", "0.6244344", "0.6244344", "0.6244344", "0.6244344", "0.6244344"...
0.7667638
0
function to generate a random character of the specified type ("symbol" or "number") calls the following functions: generateRandomNumber generateRandomSymbol
Функция для генерации случайного символа указанного типа ("symbol" или "number") вызывает следующие функции: generateRandomNumber generateRandomSymbol
function generateRandomCharacter($type) { switch($type) { case 'symbol': return generateRandomSymbol(); break; case 'number': return generateRandomNumber(); break; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function generateRandomSymbol() {\n $r = mt_rand(0, 3);\n switch($r) {\n case 0: $i = mt_rand(33, 47); break;\n case 1: $i = mt_rand(58, 64); break;\n case 2: $i = mt_rand(91, 96); break;\n case 3: $i = mt_rand(123, 126); break;\n }\n return c...
[ "0.82840157", "0.7588584", "0.7123843", "0.69153625", "0.6724275", "0.66869706", "0.66380626", "0.66359055", "0.6625801", "0.6625514", "0.6595244", "0.6593437", "0.65721387", "0.65529925", "0.65500575", "0.6503184", "0.6496332", "0.6486056", "0.6480896", "0.64700735", "0.6460...
0.87992066
0
function to generate a random number based on ASCII code
функция для генерации случайного числа на основе кода ASCII
function generateRandomNumber() { return chr(mt_rand(48, 57)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function genCode()\r\n\t{\r\n\t\t$digits = 10;\r\n\t\treturn rand(pow(10, $digits-1), pow(10, $digits)-1);\r\n\t}", "function generateRandomSymbol() {\n $r = mt_rand(0, 3);\n switch($r) {\n case 0: $i = mt_rand(33, 47); break;\n case 1: $i = mt_rand(58, 64); break;\n ...
[ "0.80122215", "0.7859618", "0.76705587", "0.7569429", "0.7539996", "0.7445171", "0.7370656", "0.7368243", "0.7332235", "0.7318972", "0.72628844", "0.72602165", "0.7256367", "0.72338855", "0.7232471", "0.72289187", "0.72104394", "0.7203421", "0.7197888", "0.7185042", "0.716928...
0.84985834
0
function to generate a random symbol based on ASCII code
функция для генерации случайного символа на основе кода ASCII
function generateRandomSymbol() { $r = mt_rand(0, 3); switch($r) { case 0: $i = mt_rand(33, 47); break; case 1: $i = mt_rand(58, 64); break; case 2: $i = mt_rand(91, 96); break; case 3: $i = mt_rand(123, 126); break; } return chr($i); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function slRandomChar()\n{\n\t$char = '';\n\tfor ($i = 0; $i < 20; $i++)\n\t\t$char .= rand(0, 9);\n\treturn ($char);\n}", "function random_char($length = 16, $symbol = false)\n{\n $chars = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';\n if($symbol) {\n \t$chars .= '~!@#$%^&*()-_+?{}...
[ "0.77047366", "0.76092833", "0.75886685", "0.7489973", "0.74861985", "0.7437758", "0.7412867", "0.73086303", "0.7301061", "0.7286641", "0.728562", "0.7274973", "0.72679263", "0.7236917", "0.7218145", "0.7169612", "0.711009", "0.70662624", "0.70088685", "0.69720984", "0.695793...
0.88800955
0
Gets the creators name
Получает имя создателя
public function getCreatorName() { return $this->creator->getName(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getTaskCreatorName()\n\t{\n\t\treturn $this->first_name.' '.$this->last_name;\n\t}", "public function getCreator()\n\t{\n\t\treturn UserUtil::getUser($this->creator)->getFullName();\n\t}", "public function getCreator()\n {\n return $this->creator;\n }", "public function getCreato...
[ "0.7166159", "0.70078814", "0.6882633", "0.6882633", "0.6882633", "0.6882633", "0.6882633", "0.6882633", "0.6882633", "0.6882633", "0.6804019", "0.6770167", "0.67448646", "0.67448646", "0.6728925", "0.6703168", "0.6683953", "0.6648747", "0.663175", "0.659715", "0.659715", "...
0.79937667
0
TODO: Implement failure() method.
TODO: Реализовать метод failure().
public function failure(){ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function failed();", "public function fails();", "public function fails();", "public abstract function onFail();", "public function runFailed();", "protected function Run_Failure() {\n\t\tif (!empty($this->failure)) \n\t\t{\n\t\t\tcall_user_func_array($this->failure['function'], $this->failure['pa...
[ "0.82567525", "0.79908586", "0.79908586", "0.7699416", "0.75073", "0.7506118", "0.7493932", "0.7479181", "0.74206114", "0.73987865", "0.72376084", "0.7158024", "0.7151769", "0.71056545", "0.7096287", "0.7014697", "0.6876539", "0.6820799", "0.6810175", "0.673082", "0.67245436"...
0.8122399
1
Check either mcrypt extension available. Raise error if it is not.
Проверьте, доступна ли расширение mcrypt. Выбросите ошибку, если оно недоступно.
private final function CheckMcrypt() { if (!function_exists("mcrypt_module_open")) Core::ThrowException("Cannot call mcrypt_module_open(). Mcrypt extension not installed?", E_ERROR); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static function isMcryptAvailable()\n {\n return extension_loaded('mcrypt');\n }", "public function hasMcryptSupport()\n {\n return function_exists('mcrypt_encrypt');\n }", "private final function CheckMhash()\r\n\t\t{\r\n\t\t\tif (!function_exists(\"mhash\"))\r\n\t\t\t\tCore::...
[ "0.822372", "0.74715406", "0.69243866", "0.67649513", "0.6209602", "0.58711183", "0.58627963", "0.5846359", "0.5828315", "0.5824794", "0.5788872", "0.5763837", "0.5711021", "0.5707655", "0.56404537", "0.56126285", "0.5560324", "0.5558001", "0.55440444", "0.5479847", "0.546718...
0.8711622
0
Check either mhash extension available. Raise error if it is not.
Проверьте, доступен ли расширение mhash. Выбросите ошибку, если он недоступен.
private final function CheckMhash() { if (!function_exists("mhash")) Core::ThrowException("Cannot call mhash(). Mhash extension not installed?", E_ERROR); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private final function CheckMcrypt()\r\n\t\t{\r\n\t\t\tif (!function_exists(\"mcrypt_module_open\"))\r\n\t\t\t\tCore::ThrowException(\"Cannot call mcrypt_module_open(). Mcrypt extension not installed?\", E_ERROR);\r\n\t\t}", "public static function check_required_ext() {\r\n $shmop = extension_loaded('shmop...
[ "0.7037407", "0.67537683", "0.6377983", "0.632037", "0.6145247", "0.6110083", "0.59524125", "0.591202", "0.5854063", "0.5798832", "0.57865995", "0.57492507", "0.5705619", "0.5688724", "0.5661279", "0.56564444", "0.56506306", "0.55960387", "0.558342", "0.55797994", "0.5559096"...
0.8488658
0
Get CSV header. Usually it's a first line in file.
Получить заголовок CSV. Обычно это первая строка в файле.
public function getHeader() { $this->withHeader = true; if (ftell($this->handle) == 0) { $this->header = $this->read(); } return $this->header; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function csvHeader()\n {\n return end($this->_csvHeader);\n }", "function getQBaseHeaderLine(){\r\n\t\tglobal $LANG;\r\n\t\t$delimeter = $this->extConf['CSV_qualifier'];\r\n\t\t$parter = $delimeter.$this->extConf['CSV_parter'].$delimeter;\r\n\r\n\t\t$csvheader = $delimeter.$this->q_data['u...
[ "0.767566", "0.6901435", "0.6859122", "0.68434995", "0.68240535", "0.6823405", "0.67184794", "0.6676887", "0.66745484", "0.66723377", "0.6669941", "0.6580675", "0.65394974", "0.65358925", "0.6532634", "0.6532634", "0.6528428", "0.64533013", "0.64533013", "0.64533013", "0.6453...
0.7245194
1
Delete Role Master Data
Удалить данные о роли Master Data
public function deleteRoleMasterData() { $RoleID = $this->input->post('RoleID'); $RoleData = $this->system_structure_m->deleteRoleMasterData($RoleID); echo $RoleData; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function roleDelete(Role $role);", "function delete_role($roleid) {\n $success = true;\n\n// mdl 10149, check if this is the last active admin role\n// if we make the admin role not deletable then this part can go\n \n $systemcontext = get_context_instance(CONTEXT_SYSTEM);\n \n if ($role = get_rec...
[ "0.7020674", "0.68856496", "0.6879654", "0.6687952", "0.6565636", "0.6551272", "0.65369695", "0.6468845", "0.6405283", "0.6384726", "0.6365593", "0.635362", "0.63266987", "0.62496334", "0.62468845", "0.6219779", "0.61988425", "0.6189037", "0.61869925", "0.6175382", "0.6174534...
0.79997045
0
Delete Role Access Data
Удалить данные о доступе к роли
public function deleteRoleAccess() { $RoleAccessID = $this->input->post('RoleAccessID'); $RoleAccessData = $this->system_structure_m->deleteRoleAccess($RoleAccessID); echo $RoleAccessData; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function roleDelete(Role $role);", "public function actionDeleteRole ()\n\t\t{\n\n\t\t\t$auth = Yii::$app->getAuthManager();\n\t\t\t$role = $auth->getRole(Yii::$app->request->get('id'));\n\t\t\t$auth->remove($role);\n\t\t\t$url = Yii::$app->request->referrer . '#roles';\n\t\t\tYii::$app->response->redirect($url)...
[ "0.73920023", "0.7296694", "0.71099824", "0.7003252", "0.69234455", "0.6917699", "0.6913297", "0.6911456", "0.6872483", "0.67910755", "0.676202", "0.6743962", "0.67257106", "0.6716634", "0.6690992", "0.6663016", "0.6651142", "0.6613578", "0.6564592", "0.65533566", "0.6542743"...
0.7866396
0
Builds an XML Map used to parse listeners from an XML source
Создает XML-карту, используемую для парсинга слушателей из источника XML
protected function xmlListenersMapFactory() { $map = new Map(); $map->add( Path::factory('/fwk/listener', 'listeners') ->loop(true) ->attribute('class') ->attribute('service') ->addChildren( Path::factory('param', 'params') ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function build_xml_map() {\n $this->_create_map();\n header(\"content-type: text/xml\");\n echo $this->result;\n }", "protected function xmlServicesMapFactory()\n {\n $map = new Map();\n $map->add(\n Path::factory('/fwk/services', 'services', array())\n ...
[ "0.6444875", "0.6097816", "0.57355887", "0.5629596", "0.53465986", "0.5275113", "0.521377", "0.5208028", "0.51833755", "0.51134807", "0.5046077", "0.5019277", "0.5014572", "0.49979517", "0.49915347", "0.49905762", "0.49672246", "0.49671835", "0.49537045", "0.49379966", "0.486...
0.75873345
0
Builds an XML Map used to parse plugins from an XML source
Создает XML-карту, используемую для парсинга плагинов из XML-источника
protected function xmlPluginsMapFactory() { $map = new Map(); $map->add( Path::factory('/fwk/plugin', 'plugins') ->loop(true) ->attribute('class') ->attribute('service') ->addChildren( Path::factory('para...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function build_xml_map() {\n $this->_create_map();\n header(\"content-type: text/xml\");\n echo $this->result;\n }", "protected function xmlServicesMapFactory()\n {\n $map = new Map();\n $map->add(\n Path::factory('/fwk/services', 'services', array())\n ...
[ "0.6548875", "0.6045412", "0.5887497", "0.58413464", "0.5827318", "0.5365801", "0.52512115", "0.52498484", "0.5141279", "0.5129361", "0.510453", "0.5054593", "0.5033763", "0.50192624", "0.4980078", "0.49616188", "0.49413353", "0.49323654", "0.49303576", "0.49236235", "0.49057...
0.7538879
0
Builds an XML Map used to parse Actions from an XML source
Создает XML-карту, используемую для парсинга действий из XML-источника
protected function xmlActionMapFactory() { $map = new Map(); $map->add( Path::factory('/fwk/actions/action', 'actions') ->loop(true, '@name') ->attribute('class') ->attribute('method') ->attribute('shortcut') ); ret...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function build_xml_map() {\n $this->_create_map();\n header(\"content-type: text/xml\");\n echo $this->result;\n }", "private function _getXSIMap($actionParam){\n\t\t$arrayMap = array();\n\t\tforeach($actionParam->childNodes as $item){\n\t\t\tif($item->nodeType==1){\n\t\t\t\tif($it...
[ "0.70240086", "0.60125303", "0.555362", "0.5550691", "0.54016286", "0.5391256", "0.5335074", "0.53046703", "0.52497953", "0.5238481", "0.5210544", "0.516157", "0.507359", "0.50047517", "0.49701786", "0.49166536", "0.4909372", "0.48981518", "0.48906216", "0.48865682", "0.48664...
0.76401955
0
Builds an XML Map used to parse .ini includes
Создает XML-карту, используемую для парсинга включений .ini
protected function xmlIniMapFactory() { $map = new Map(); $map->add( Path::factory('/fwk/ini', 'ini', array()) ->loop(true) ->attribute('category') ->value('value') ); return $map; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function build_xml_map() {\n $this->_create_map();\n header(\"content-type: text/xml\");\n echo $this->result;\n }", "protected function xmlPluginsMapFactory()\n {\n $map = new Map();\n $map->add(\n Path::factory('/fwk/plugin', 'plugins')\n ...
[ "0.6298302", "0.5663068", "0.5564768", "0.53880966", "0.5346692", "0.53239864", "0.5299677", "0.5215316", "0.50380766", "0.500899", "0.50022036", "0.5001408", "0.49921328", "0.49877095", "0.4985223", "0.49799305", "0.49754384", "0.49635845", "0.49174458", "0.4886537", "0.4867...
0.7168414
0
Function that checks the data type of the first and last elements of an array, and returns false if they don't match
Функция, которая проверяет тип данных первого и последнего элементов массива, и возвращает false, если они не совпадают
private static function checkDataType($array) { if(count($array) <= 1) { return true; } $last = count($array) - 1; $type = self::getCustomDataType($array[$last]); if ($type != self::getCustomDataType($array[0])) { return false; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function strictTypeCheckForArrayElements(array $arr)\n {\n $firstType = null;\n\n foreach ($arr as $item) {\n if ($firstType == null) {\n $firstType = $this->detectType($item);\n } else {\n if ($firstType != $this->detectType($item)) {\n ...
[ "0.6298559", "0.615921", "0.5957354", "0.59457254", "0.58980423", "0.5851669", "0.5833901", "0.58093876", "0.58070546", "0.57576126", "0.5728989", "0.5707374", "0.57060564", "0.5696079", "0.5689695", "0.5674041", "0.5648677", "0.5629497", "0.558549", "0.55695766", "0.5546822"...
0.78253275
0
Return whether the given value is a valid ISODate
Вернуть, является ли заданное значение допустимой ISODate
public static function isISODate($val) { if(!is_string($val)) { return false; } // Use DateTime support to check for valid dates. try { $date = new DateTime($val); } catch(Exception $e) { return false; } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function run($value)\n {\n if ($value instanceof Date) {\n return true;\n }\n if (!is_string($value)) {\n return false;\n }\n if (preg_match(Date::ISO8601_REGEX, $value)) {\n return true;\n }\n\n return false;\n }", "p...
[ "0.74049497", "0.7397895", "0.7364437", "0.717261", "0.714827", "0.7120575", "0.7045961", "0.7041389", "0.68813264", "0.6844565", "0.68218493", "0.68178296", "0.6795506", "0.6793685", "0.678895", "0.6775554", "0.674608", "0.6706285", "0.6695407", "0.6695407", "0.6678262", "...
0.8178765
0
Combine the event name with the namespace of the package.
Объедините имя события с именем пространства имен пакета.
public function getNamespacedEventName($name) { $namespace = trim($this->namespacing(), '::'); $namespace = ! empty($namespace) ? $namespace . '.' : ''; return strtolower($namespace . $this->package . '.' . $name); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static function getEventNamespace(): string\n {\n return Components::detectClassComponent(static::class)->slug . ':' . static::class;\n }", "protected function getPackageName(PackageEvent $event)\n {\n return $this->getPackage($event)->getName();\n }", "public static function g...
[ "0.7164336", "0.636638", "0.60878617", "0.6079372", "0.6065608", "0.6060202", "0.60278594", "0.6019438", "0.59989625", "0.59707975", "0.59707975", "0.5948002", "0.594338", "0.59385395", "0.5918697", "0.5863427", "0.5863066", "0.58243495", "0.5823832", "0.5796731", "0.5767998"...
0.7438675
0
Fill members array from DB, call after save
Заполните массив members из БД, вызовите после сохранения
function fillMembers() { // select members list $trs = db_query("select , from `ugmembers` order by ,",$this->conn); while($tdata = db_fetch_numarray($trs)) { $this->members[] = array($tdata[1],$tdata[0]); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function loadMembers()\n {\n /*\n * we assume the members-array is always filled\n */\n if (!empty($this->members) && !($this->members[0] instanceof User)) {\n $response = Helper::get('group/'.$this->unique_id);\n if (isset($response->body['result']['me...
[ "0.63185906", "0.6252849", "0.62182105", "0.58949727", "0.58558077", "0.58474684", "0.58137405", "0.57514226", "0.5740742", "0.5721191", "0.56579614", "0.5626018", "0.5620895", "0.5606167", "0.5605646", "0.5579679", "0.5575196", "0.5548283", "0.5530898", "0.55300987", "0.5522...
0.7707988
0
Fill groups array from DB, call after save
Заполните массив групп из БД, вызовите после сохранения
function fillGroups() { $this->groups[] = array(-1,"<"."Admin".">"); $this->groupFullChecked[] = true; $trs = db_query("select , from `uggroups` order by ",$this->conn); while($tdata = db_fetch_numarray($trs)) { $this->groups[] = array($tdata[0],$tdata[1]); $this->groupFullChecked[] = true; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function run()\n\t{\n\t\t\\DB::table('customers_groups')->truncate();\n \n\t\t\\DB::table('customers_groups')->insert(array (\n\t\t\t0 => \n\t\t\tarray (\n\t\t\t\t'customers_groups_id' => 1,\n\t\t\t\t'groupname' => 'Allianz',\n\t\t\t\t'default' => 0,\n\t\t\t\t'created_at' => '2014-04-19 04:02:36',\n\...
[ "0.699877", "0.68180984", "0.669832", "0.6545684", "0.6545394", "0.64563257", "0.63628787", "0.6347619", "0.6304524", "0.6304524", "0.61291844", "0.6095662", "0.60956174", "0.59995973", "0.5989722", "0.59783983", "0.59105325", "0.589611", "0.58927", "0.5882657", "0.5872308", ...
0.74067
0
Get max Date history.
Получить максимальную дату из истории.
public function maxDate() { $qb = $this->createQueryBuilder('h')->select('h')->orderBy('h.date', 'DESC')->setMaxResults(1); /** @var AbstractHistory $last */ $last = $qb->getQuery()->getOneOrNullResult(); if (is_null($last)) { return; } return $last->get...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getLatestHistory() {\n $history = $this->getHistory();\n if (count($history) === 0) {\n return null;\n }\n return $history[count($history) - 1];\n }", "public function get_last_date()\n\t{\n\t\treturn \"SELECT MAX(Date) AS recentDate from HistoricalPrices...
[ "0.6784279", "0.66746044", "0.65539384", "0.63473743", "0.63310075", "0.62765956", "0.62141496", "0.6095562", "0.605567", "0.59828943", "0.5976562", "0.5956593", "0.5956593", "0.5948144", "0.5928591", "0.592095", "0.58956885", "0.58838457", "0.58695847", "0.5862871", "0.58573...
0.77326894
0
Count databases by server.
Подсчитать базы данных по серверам.
public function countDatabasesByServer(\DateTime $date, Server $server) { $qb = $this->createQueryBuilder('h') ->select('count(distinct(h.dbName)) AS nb') ->where('h.date = :date') ->setParameter('date', $date) ->andWhere('h.server = :server') ->se...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function findServersCount()\r\n {\r\n \t$query = \"select count(*) as count from `servers`\";\r\n \r\n \t$result = $this->DB->fetchColumn($query);\r\n \r\n \treturn $result;\r\n }", "public function countNameservers(): int {}", "public function getServerCountAttribute()\n {\n ...
[ "0.6889528", "0.6640621", "0.64038384", "0.6285838", "0.6276865", "0.62096363", "0.59162617", "0.58938473", "0.58740133", "0.585931", "0.5757923", "0.57197607", "0.55678326", "0.55013627", "0.5486577", "0.5465805", "0.5440619", "0.5419378", "0.53868574", "0.53843683", "0.5370...
0.74388295
0
Count tables by server.
Считать таблицы по серверам.
public function countTablesByServer(\DateTime $date, Server $server) { $qb = $this->createQueryBuilder('h') ->select('count(distinct(h.tableName)) AS nb') ->where('h.date = :date') ->setParameter('date', $date) ->andWhere('h.server = :server') ->se...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getNumTables() {}", "public function getNumTables() {}", "public function getNumTables() {}", "public function findServersCount()\r\n {\r\n \t$query = \"select count(*) as count from `servers`\";\r\n \r\n \t$result = $this->DB->fetchColumn($query);\r\n \r\n \treturn $result;...
[ "0.6838429", "0.6838429", "0.6838429", "0.68073165", "0.67963475", "0.66255975", "0.6573536", "0.65506923", "0.6436579", "0.6405971", "0.63667876", "0.63447046", "0.62474513", "0.622492", "0.6220429", "0.62158865", "0.6205093", "0.60975605", "0.6027791", "0.6019517", "0.60080...
0.7152058
0
Count index length by server.
Подсчитать длину индекса по серверу.
public function countIndexLengthByServer(\DateTime $date, Server $server) { $qb = $this->createQueryBuilder('h') ->select('sum(h.indexLength) AS nb') ->where('h.date = :date') ->setParameter('date', $date) ->andWhere('h.server = :server') ->setPara...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function countNameservers(): int {}", "public function getServerCountAttribute()\n {\n return $this->servers->count();\n }", "public function findServersCount()\r\n {\r\n \t$query = \"select count(*) as count from `servers`\";\r\n \r\n \t$result = $this->DB->fetchColumn($query);...
[ "0.70486385", "0.6739224", "0.6609436", "0.65574414", "0.65519214", "0.65519214", "0.64854103", "0.62902117", "0.62204385", "0.61674774", "0.61458224", "0.613579", "0.613579", "0.6122543", "0.60973823", "0.60973823", "0.60973823", "0.60953397", "0.60846794", "0.6083668", "0.6...
0.7009692
1
Function to remove cursor for a member
Функция для удаления курсора для члена
protected function OP_removeCursor ($es_id, $member_id) { $op = array( 'optype' => 'RemoveCursor', 'memberid' => (string) $member_id, 'reason' => 'server-idle', 'timestamp' => self::getTimeStamp() ); $this->OP_add2Db($op, $es_id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function unsetCursor(): void\n {\n $this->cursor = [];\n }", "public function unsetCursor(): void\n {\n $this->cursor = [];\n }", "public function remove();", "public function remove();", "public function remove();", "public function remove();", "public static function ...
[ "0.61880624", "0.61880624", "0.55962497", "0.55962497", "0.55962497", "0.55962497", "0.55338293", "0.5466746", "0.546618", "0.5457626", "0.54472154", "0.54234403", "0.54133487", "0.5399922", "0.53695506", "0.5363168", "0.533858", "0.5336895", "0.5275598", "0.5251874", "0.5243...
0.70319855
0
Return last member id from member table in db
Вернуть последний идентификатор члена из таблицы member в базе данных
protected function MEMBER_getLastMember() { $query = $this->db->select( self::MEMBER_TABLE, 'collab_member_id', '', __LINE__, __FILE__, false, "ORDER BY `collab_member_id` DESC LIMIT 1;" ); $last_row = $query->fetchRow(); return is_array($last_row)? $last_row['collab_member_id']: 0;...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getIdMax() {\n $maxId = myPDO()->query('SELECT MAX(member_id) FROM members');\n return $maxId->fetch()[0];\n }", "public function get_next_member($member)\n {\n $tempid = $this->connection->query_value_if_there('SELECT uid FROM ' . $this->connection->get_table_prefix() ...
[ "0.7670292", "0.7262416", "0.7063046", "0.7017604", "0.6915603", "0.6869594", "0.68215907", "0.67845875", "0.67845875", "0.6772071", "0.67696506", "0.6763802", "0.6717809", "0.6717809", "0.6717809", "0.6717809", "0.6717809", "0.6717809", "0.6717809", "0.6685689", "0.6667588",...
0.7924007
0
Add a rule in this bnf system
Добавьте правило в эту систему BNF
public function addRule(bnfRule $rule){ $this->rules[] = $rule; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function addRule( phpucInputRule $rule )\n {\n $this->rules[] = $rule;\n }", "abstract public function addRule(ValidationRule$rule);", "public function addRule(RuleIface $rule);", "public function add_rule( WP_Autoload_Rule $rule );", "public function add($name, $rule = null) {\n\t\t...
[ "0.6911536", "0.68590087", "0.6796775", "0.65818495", "0.6440216", "0.6336621", "0.62616", "0.61791986", "0.6155176", "0.6053139", "0.6032105", "0.60271925", "0.60178626", "0.5961058", "0.5932126", "0.59144264", "0.58985424", "0.5861756", "0.57716537", "0.5768053", "0.5766702...
0.7884931
0
Make it so that people pages exist. Under WordPress, almost everything publishable is a post. register_post_type() is invoked to create a particular flavor of posts that describe people.
Сделайте так, чтобы существовали страницы с информацией о людях. В WordPress почти всё, что можно опубликовать, является постом. register_post_type() вызывается для создания определённого типа постов, которые описывают людей.
static function register_post_type () { register_post_type( 'person', array( 'labels' => array( 'name' => __x( 'People', 'post type general name' ), 'singular_name' => __x( 'Person', 'post type sin...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function people() {\n\t\tregister_post_type(\n\t\t\t'people',\n\t\t\tarray(\n\t\t\t\t'labels' => array(\n\t\t\t\t\t'name' => __( 'People' ),\n\t\t\t\t\t'singular_name' => __( 'Person' ),\n\t\t\t\t),\n\t\t\t\t'public' => true,\n\t\t\t\t'has_archive' => true,\n\t\t\t\t'supports' => array...
[ "0.7855856", "0.7418234", "0.7285491", "0.71690285", "0.71198624", "0.7066123", "0.7049788", "0.70419556", "0.70292634", "0.70178294", "0.69984156", "0.6976406", "0.6975736", "0.6975736", "0.6933671", "0.68923926", "0.6869477", "0.6799266", "0.6783482", "0.6782155", "0.674670...
0.78243846
1
Set the value of id_entity
Задайте значение id_entity
public function setId_entity($id_entity) { $this->id_entity = $id_entity; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setEntity( $entity )\n {\n\n $this->entity = $entity;\n $this->rowid = $entity->getId();\n \n }", "function SetId($value) { $this->id=$value; }", "public function setEntityId($entityId) {\n $this->entityId = $entityId;\n }", "public function setEntityId(?int $entityId);", "p...
[ "0.7381502", "0.72896516", "0.7132784", "0.7095683", "0.7038721", "0.69752806", "0.6887758", "0.68150157", "0.66694915", "0.6633416", "0.66080946", "0.65963644", "0.65950745", "0.65950745", "0.6573833", "0.6572237", "0.65217113", "0.650569", "0.649681", "0.6467035", "0.646026...
0.7674024
0
Set the value of domaine
Задайте значение domaine
public function setDomaine($domaine) { $this->domaine = $domaine; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setNom($value)\n\t{\n\t\t$this -> _nom = $value;\n\t}", "public function setContenu(string $contenu): void\n {\n $this->contenu= $contenu;\n }", "function setDetalle($sdetalle = '')\n {\n $this->sdetalle = $sdetalle;\n }", "public function __set($nome, $valor) {\n ...
[ "0.670152", "0.64344215", "0.6172033", "0.614307", "0.6112591", "0.60995513", "0.60806483", "0.60806483", "0.60339695", "0.60312116", "0.59851235", "0.59814155", "0.59125835", "0.5906952", "0.5904508", "0.5878773", "0.58719325", "0.5850933", "0.5847991", "0.5809604", "0.57987...
0.7207015
0
Set the value of bp
Задайте значение bp
public function setBp($bp) { $this->bp = $bp; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function setValue ($value) {\n\t\t$this->_value = $value;\n\t}", "function setPlace( &$value )\n {\n $this->Place = $value;\n }", "function setValue($value){\r\n\t\t$this->value = $value;\r\n\t}", "function set_value($value)\n\t{\n\t\t$this->value = $value;\n\t}", "public function setValue($val...
[ "0.61799836", "0.6149069", "0.6136377", "0.6131183", "0.6059759", "0.5970114", "0.59155583", "0.59155583", "0.59155583", "0.59155583", "0.59155583", "0.59155583", "0.59155583", "0.59155583", "0.59155583", "0.59155583", "0.59155583", "0.5915305", "0.5915305", "0.5834921", "0.5...
0.7108403
0
Set the value of update_by
Задайте значение update_by
public function setUpdate_by($update_by) { $this->update_by = $update_by; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function _setUpdatedBy($updatedBy) {\n\t\t$this->_updatedBy = $updatedBy;\n\t}", "public function setBy($x) { $this->by = $x; }", "public function updateBy( array $data, $value = NULL, $field = 'id' );", "public function setUpdatedBy()\n {\n $userService = app()->make(AuthUserService::class)...
[ "0.71269834", "0.67451936", "0.6626519", "0.65955627", "0.6535593", "0.6336943", "0.618899", "0.61513186", "0.60835236", "0.6080476", "0.60582566", "0.60320497", "0.6027964", "0.60158443", "0.6012018", "0.5960064", "0.58396405", "0.5832077", "0.5820128", "0.5818278", "0.57888...
0.7710697
0
Lists all Genre entities.
Список всех сущностей жанра.
public function indexAction() { $em = $this->getDoctrine()->getManager(); $genres = $em->getRepository('SerieBundle:Genre')->findAll(); return $this->render('genre/index.html.twig', array( 'genres' => $genres, )); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function index()\n {\n return GenreResource::collection(Genre::all());\n }", "public function actionIndex()\n {\n $searchModel = new GenreSearch();\n $dataProvider = $searchModel->search(Yii::$app->request->queryParams);\n\n return $this->render('index', [\n ...
[ "0.70429295", "0.70120436", "0.6894314", "0.6893458", "0.68385917", "0.67797714", "0.67756814", "0.66557527", "0.65557504", "0.6534678", "0.6530369", "0.64410657", "0.6388792", "0.6383442", "0.6366813", "0.6326284", "0.6247234", "0.6222564", "0.6216516", "0.6213483", "0.61941...
0.70362043
1
Creates a form to delete a Genre entity.
Создает форму для удаления сущности Жанр.
private function createDeleteForm(Genre $genre) { return $this->createFormBuilder() ->setAction($this->generateUrl('genre_delete', array('id' => $genre->getId()))) ->setMethod('DELETE') ->getForm() ; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function createDeleteForm(Reglement $reglement)\n {\n return $this->createFormBuilder()\n ->setAction($this->generateUrl('reglement_delete', array('codeRegl' => $reglement->getCoderegl())))\n ->setMethod('DELETE')\n ->getForm()\n ;\n }", "private funct...
[ "0.69484854", "0.686731", "0.6823078", "0.67485756", "0.6739969", "0.6655109", "0.6602307", "0.6596271", "0.6556525", "0.655565", "0.6552498", "0.65520245", "0.6529108", "0.65102917", "0.650087", "0.64991164", "0.6472959", "0.6464222", "0.64621615", "0.64598924", "0.64330435"...
0.7664629
0
Write a function which takes any string as input, and returns it's reverse. For example,
Напишите функцию, которая принимает любую строку в качестве входных данных и возвращает её обратную. Например,
public function reverseString( $string ) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function solution($str) {\n return strrev($str);\n}", "function reverseString(&$str) {\n\t$str = strrev($str);\n}", "function reverse($string)\n{\n $r = strlen($string);\n if($r == 1)\n {\n return $string;\n }\n else\n {\n $n--;\n return reverse(substr($string,1, $r)) . substr($string, 0, 1);\n ...
[ "0.7737465", "0.7521762", "0.75001484", "0.7224193", "0.7224193", "0.7224193", "0.7224193", "0.707716", "0.7007522", "0.6929951", "0.69180924", "0.68492144", "0.67312324", "0.6600258", "0.65217924", "0.6451435", "0.63529676", "0.6351132", "0.6301745", "0.6197365", "0.61238897...
0.80795825
0
coalesce_empty PHP analogue of the SQL Coalesce() function, but testing using empty()
аналог PHP функции SQL Coalesce(), но проверяющий с помощью empty()
public static function coalesce_empty() { foreach ( func_get_args() as $arg ) { if ( ! empty($arg) ) { return $arg; } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function emptyCoalesce($data, $default = null)\n {\n return ($data === null || $data === false) ? $default : $data;\n }", "public function stdWrap_ifEmptyDeterminesEmptyValuesDataProvider() {}", "function empty2($mixed) {\n return empty($mixed);\n}", "function empty2null($value)\n{\n retur...
[ "0.6996738", "0.64395374", "0.6435617", "0.6393643", "0.62302077", "0.62040013", "0.62037736", "0.6141909", "0.61118096", "0.6110162", "0.6109612", "0.60486203", "0.5991668", "0.5989255", "0.59713304", "0.5959974", "0.5952991", "0.5934893", "0.59234565", "0.5915025", "0.58645...
0.79544985
0
Get the next day that isn't a weekend, and increment offset by 1
Получить следующий день, который не является выходным, и увеличить смещение на 1
function next_day(&$offset) { do { $offset++; } while( in_array(gmdate('D', gmmktime() + ($offset * 24 * 60 * 60)), array('Sat', 'Sun')) || in_array(gmdate('Y-m-d', gmmktime() + ($offset * 24 * 60 * 60)), $GLOBALS['config']['non-work_dates']) ); return gmdate('Y-m-d', gmmktime() + ($offset * 24...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function next_weekday($weekday) {\n global $week_names;\n $date = new DateTime();\n $i = (int)$date->format(\"w\"); // 0=Sunday\n $j = array_search($weekday, $week_names); // 0=Monday\n $diff = (($j+1) - $i + 7); // days til next $weekday [0..6]\n $diff = ($diff+6)%7+1; // days til next $weekday [1..7]\n $d...
[ "0.7612667", "0.68836385", "0.678421", "0.6588184", "0.65747416", "0.64728457", "0.64715475", "0.64234346", "0.6367625", "0.622929", "0.6223433", "0.62195903", "0.6195394", "0.61399776", "0.6133045", "0.6100721", "0.60137105", "0.5990598", "0.5947617", "0.5930861", "0.5915248...
0.80644
0
/ Checkbox image opmaken
/ Форматирование изображения чекбокса
function CheckoxImage($value) { $ckecked = "checkbox_checked.gif"; $unckeched = "checkbox_unchecked.gif"; if ( $value == 0 ) { return "<img src=\"images/".$unckeched."\" width=\"16\" height=\"16\" border=\"0\">"; } else { return "<img src=\"images/".$ckecked."\" width=\"1...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function surgeon_save_checkbox_image_field($data, $i) {\n $addon_option_image = $_POST['product_addon_option_image'][$i];\n for ( $ii = 0; $ii < sizeof( $data['options'] ); $ii++ ) {\n $image = sanitize_text_field( stripslashes( $addon_option_image[ $ii ] ) );\n $data['options'][$ii]['image'...
[ "0.6598669", "0.6596252", "0.6528963", "0.65153515", "0.63958496", "0.6358763", "0.6354054", "0.6294119", "0.62889445", "0.61716133", "0.6163863", "0.60828614", "0.6028327", "0.6000511", "0.59055394", "0.5900837", "0.58353907", "0.5830131", "0.5828242", "0.58257085", "0.57927...
0.73031205
0
Removes the routing cache each time there is a change in page so that the new routes get cached
Удаляет кэш маршрутизации каждый раз, когда происходит изменение страницы, чтобы новые маршруты попали в кэш
public function clearRouteCache() { $isSuccess = $this->removeRoutingCache(); $this->addRemoveNotification($isSuccess); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static function clearRouteCache() { \n self::$_cache = [];\n }", "protected function clearRewriteCache()\n {\n $cache = (int) Shopware()->Config()->routerCache;\n $cache = $cache < 360 ? 86400 : $cache;\n\n $sql = \"SELECT `id` FROM `s_core_config_elements` WHERE `name` L...
[ "0.79029155", "0.69259477", "0.6717992", "0.6717992", "0.6548481", "0.6507365", "0.65009224", "0.64128596", "0.6369026", "0.63547254", "0.63236314", "0.63236314", "0.62545705", "0.62499845", "0.62346107", "0.62163705", "0.62129873", "0.62043697", "0.61919767", "0.6161796", "0...
0.7894451
1
Get the [prod_id] column value.
Получите значение столбца [prod_id].
public function getProdId() { return $this->prod_id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function getProdId($product){\r\n require '../../model/dbconnect.php';\r\n $prod = $db->quote($product);\r\n $rows_prod = $db->query(\"SELECT id FROM product WHERE name = $prod\");\r\n if ($rows_prod) {\r\n foreach($rows_prod as $row)\r\n return $row['id'];\r\n }\r\n }", "public funct...
[ "0.73035824", "0.69820976", "0.6949236", "0.6908819", "0.6898615", "0.6853161", "0.6833888", "0.67703784", "0.67697114", "0.67697114", "0.67697114", "0.6722221", "0.66953254", "0.6691161", "0.6691161", "0.6691161", "0.6690784", "0.66845405", "0.6667453", "0.6627047", "0.65908...
0.7903942
0
Get the [prod_price_id] column value.
Получите значение столбца [prod_price_id].
public function getProdPriceId() { return $this->prod_price_id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProdId()\n {\n return $this->prod_id;\n }", "public function getProductId()\n {\n $value = $this->get(self::product_id);\n return $value === null ? (integer)$value : $value;\n }", "private function getPriceAttributeId()\n {\n if (!$this->priceAttrib...
[ "0.7352852", "0.69665", "0.68221", "0.6768231", "0.669076", "0.669076", "0.669076", "0.66472805", "0.6647117", "0.66364694", "0.6608908", "0.65955067", "0.65955067", "0.65955067", "0.65907025", "0.65622246", "0.65622246", "0.6549087", "0.6509767", "0.64932376", "0.6485814", ...
0.819803
0
Get the [prod_name] column value.
Получите значение столбца [prod_name].
public function getProdName() { return $this->prod_name; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProduct_name () {\n\t$preValue = $this->preGetValue(\"product_name\"); \n\tif($preValue !== null && !\\Pimcore::inAdmin()) { \n\t\treturn $preValue;\n\t}\n\t$data = $this->product_name;\n\treturn $data;\n}", "public function getProductName() {\n //return the value product name\n ...
[ "0.73609793", "0.73025787", "0.69124365", "0.68912", "0.6861022", "0.683174", "0.6813809", "0.66766363", "0.66518664", "0.6434648", "0.6411795", "0.6391148", "0.63107395", "0.63107395", "0.63107395", "0.6301035", "0.6291906", "0.6282099", "0.6253907", "0.62482584", "0.6181825...
0.77092487
0
Get the [prod_alt1] column value.
Получите значение столбца [prod_alt1].
public function getProdAlt1() { return $this->prod_alt1; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProdAlt2()\n {\n return $this->prod_alt2;\n }", "public function setProdAlt1($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_alt1 !== $v) {\n $this->prod_alt1 = $v;\n $this->modifiedColumns[TblProdIn...
[ "0.693212", "0.6838282", "0.64445156", "0.6274969", "0.56699014", "0.55439097", "0.55326116", "0.54882497", "0.5472325", "0.5453856", "0.53777385", "0.5346117", "0.5280656", "0.5278605", "0.52767426", "0.5213206", "0.51875067", "0.51318526", "0.51313627", "0.5121668", "0.5113...
0.800319
0
Get the [prod_alt2] column value.
Получите значение столбца [prod_alt2].
public function getProdAlt2() { return $this->prod_alt2; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProdAlt1()\n {\n return $this->prod_alt1;\n }", "public function setProdAlt2($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_alt2 !== $v) {\n $this->prod_alt2 = $v;\n $this->modifiedColumns[TblProdIn...
[ "0.7162106", "0.6817994", "0.6595363", "0.62658614", "0.6155384", "0.57799315", "0.5756571", "0.5624732", "0.55749595", "0.55123776", "0.54806703", "0.53976256", "0.53962004", "0.5386562", "0.5372085", "0.53507113", "0.5317736", "0.5285686", "0.52729803", "0.52345175", "0.519...
0.7935492
0
Get the [prod_alt3] column value.
Получите значение столбца [prod_alt3].
public function getProdAlt3() { return $this->prod_alt3; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdAlt3($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_alt3 !== $v) {\n $this->prod_alt3 = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_ALT3] = true;\n }\n\n return $this;\n }", "...
[ "0.6773512", "0.66009206", "0.6473621", "0.6386664", "0.59449494", "0.56074005", "0.5577009", "0.5562584", "0.5513693", "0.5492104", "0.54364216", "0.539802", "0.5391844", "0.53265613", "0.53190905", "0.5295672", "0.5286534", "0.5243338", "0.5226241", "0.5189013", "0.5187751"...
0.7954392
0
Get the [prod_alt4] column value.
Получите значение столбца [prod_alt4].
public function getProdAlt4() { return $this->prod_alt4; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProdAlt3()\n {\n return $this->prod_alt3;\n }", "public function setProdAlt4($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_alt4 !== $v) {\n $this->prod_alt4 = $v;\n $this->modifiedColumns[TblProdIn...
[ "0.6830606", "0.68163145", "0.6669471", "0.6263033", "0.5547978", "0.5535405", "0.5524351", "0.5515742", "0.5514858", "0.546568", "0.5439236", "0.5426851", "0.54183006", "0.5360734", "0.53241444", "0.5271889", "0.52682793", "0.52449316", "0.5231102", "0.52244246", "0.52027315...
0.7901901
0
Get the [prod_code] column value.
Получите значение столбца [prod_code].
public function getProdCode() { return $this->prod_code; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProduct_code () {\n\t$preValue = $this->preGetValue(\"product_code\"); \n\tif($preValue !== null && !\\Pimcore::inAdmin()) { \n\t\treturn $preValue;\n\t}\n\t$data = $this->product_code;\n\treturn $data;\n}", "public function getProductCode()\n {\n if (array_key_exists(\"productCode\"...
[ "0.7673927", "0.72473294", "0.7006389", "0.6916624", "0.6466807", "0.6464332", "0.63460916", "0.6270903", "0.6258426", "0.6233503", "0.6193467", "0.61709696", "0.61593795", "0.61585677", "0.61318225", "0.61248577", "0.6121542", "0.61152744", "0.6090303", "0.6081627", "0.60629...
0.8045544
0
Get the [prod_category] column value.
Получите значение столбца [prod_category].
public function getProdCategory() { return $this->prod_category; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProduct_category () {\n\t$preValue = $this->preGetValue(\"product_category\"); \n\tif($preValue !== null && !\\Pimcore::inAdmin()) { \n\t\treturn $preValue;\n\t}\n\t$data = $this->getClass()->getFieldDefinition(\"product_category\")->preGetData($this);\n\treturn $data;\n}", "public function ge...
[ "0.7472611", "0.65053254", "0.6380111", "0.6347475", "0.63456774", "0.6323605", "0.6313287", "0.62840873", "0.62840873", "0.62840873", "0.62840873", "0.62840873", "0.62840873", "0.62840873", "0.62840873", "0.62840873", "0.62840873", "0.62840873", "0.62840873", "0.62840873", "...
0.7681955
0
Get the [prod_category_shipping] column value.
Получите значение столбца [prod_category_shipping].
public function getProdCategoryShipping() { return $this->prod_category_shipping; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getShippingCategoryId();", "protected function getShippingCity()\n {\n $formatter = new \\Dotpay\\Tool\\StringFormatter\\Name();\n return $this->checkoutSession->getLastRealOrder()->getShippingAddress() ? $formatter->format($this->checkoutSession->getLastRealOrder()->getShippingA...
[ "0.6467912", "0.63609004", "0.6302341", "0.62680554", "0.6178654", "0.61362493", "0.61239505", "0.6115321", "0.6115321", "0.6115321", "0.6075325", "0.6036468", "0.5938521", "0.5933263", "0.590516", "0.5889088", "0.5855242", "0.58290136", "0.5825828", "0.58234787", "0.5716927"...
0.82064396
0
Get the [prod_writeup] column value.
Получите значение столбца [prod_writeup].
public function getProdWriteup() { return $this->prod_writeup; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdWriteup($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_writeup !== $v) {\n $this->prod_writeup = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_WRITEUP] = true;\n }\n\n return $this;\...
[ "0.60206604", "0.5464475", "0.5196237", "0.48941946", "0.4861912", "0.48147532", "0.4788214", "0.47757304", "0.47574437", "0.46825048", "0.46481758", "0.46395206", "0.46394047", "0.4621653", "0.4621204", "0.4612771", "0.46043685", "0.4603395", "0.4593313", "0.45583618", "0.45...
0.7585709
0
Get the [prod_length] column value.
Получите значение столбца [prod_length].
public function getProdLength() { return $this->prod_length; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdLength($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_length !== $v) {\n $this->prod_length = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_LENGTH] = true;\n }\n\n return $this;\n ...
[ "0.6777339", "0.64025635", "0.631446", "0.61475265", "0.61475265", "0.61475265", "0.61475265", "0.61475265", "0.61475265", "0.61475265", "0.61475265", "0.60917467", "0.60769767", "0.60654753", "0.6032441", "0.60309994", "0.59982646", "0.5995489", "0.5982477", "0.59772617", "0...
0.808475
0
Get the [prod_wingspan] column value.
Получите значение столбца [prod_wingspan].
public function getProdWingspan() { return $this->prod_wingspan; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdWingspan($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_wingspan !== $v) {\n $this->prod_wingspan = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_WINGSPAN] = true;\n }\n\n return $th...
[ "0.67590576", "0.56630665", "0.5634274", "0.5549128", "0.51754206", "0.51175356", "0.5055865", "0.50526583", "0.5034041", "0.49946502", "0.4941673", "0.4923966", "0.48230496", "0.48179525", "0.4815563", "0.47526273", "0.4736553", "0.4713514", "0.4695064", "0.46734354", "0.464...
0.8273792
0
Get the [prod_height] column value.
Получите значение столбца [prod_height].
public function getProdHeight() { return $this->prod_height; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function height()\n {\n return $this->setRightOperand(PVar::HEIGHT);\n }", "public function getHeight()\n {\n return $this->getProperty(\"Height\");\n }", "public function getHeight()\n {\n if (array_key_exists(\"height\", $this->_propDict)) {\n return $thi...
[ "0.6729948", "0.6722317", "0.6676694", "0.66436493", "0.66036385", "0.6543087", "0.6349073", "0.6321409", "0.63086915", "0.63086915", "0.63086915", "0.63086915", "0.63086915", "0.63086915", "0.63086915", "0.63086915", "0.63086915", "0.63086915", "0.63078684", "0.6292543", "0....
0.80150294
0
Get the [prod_scale] column value.
Получите значение столбца [prod_scale].
public function getProdScale() { return $this->prod_scale; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getScale()\n {\n return $this->scale;\n }", "public function getScale()\n {\n return $this->scale;\n }", "public function getScale()\n\t{\n\t\treturn $this->scale;\n\t}", "public function setProdScale($v)\n {\n if ($v !== null) {\n $v = (string) ...
[ "0.67325586", "0.67325586", "0.6703614", "0.6552015", "0.6480752", "0.6480752", "0.6425339", "0.6169297", "0.61030984", "0.5690525", "0.5670635", "0.56556165", "0.56259245", "0.5586447", "0.54192877", "0.5414554", "0.5381439", "0.53204477", "0.5285388", "0.527065", "0.5250110...
0.8041914
0
Get the [prod_links] column value.
Получите значение столбца [prod_links].
public function getProdLinks() { return $this->prod_links; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function getProductLinkField()\n {\n return $this->metadataPool->getMetadata(ProductInterface::class)->getLinkField();\n }", "public function getProdLinkdescription()\n {\n return $this->prod_linkdescription;\n }", "public function getProductEntityLinkField()\n {\n r...
[ "0.67851394", "0.6463802", "0.6350494", "0.61769235", "0.6084353", "0.5959329", "0.58454585", "0.57841164", "0.5718209", "0.56869537", "0.5650311", "0.56126696", "0.55887437", "0.55419314", "0.5527909", "0.54618555", "0.54607004", "0.54516107", "0.5442987", "0.5419095", "0.54...
0.7131735
0
Get the [prod_linkdescription] column value.
Получите значение столбца [prod_linkdescription].
public function getProdLinkdescription() { return $this->prod_linkdescription; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProdDescription()\n {\n return $this->prod_description;\n }", "private function getProductLinkField()\n {\n return $this->metadataPool->getMetadata(ProductInterface::class)->getLinkField();\n }", "public function getProductDescription()\n\t{\n\t\treturn $this->getK...
[ "0.70448965", "0.67213416", "0.667102", "0.6542438", "0.64229894", "0.6326362", "0.6288594", "0.62489736", "0.62165356", "0.6150391", "0.61021763", "0.6057581", "0.6010874", "0.5968445", "0.5968445", "0.5968445", "0.5968445", "0.5968445", "0.5968445", "0.5968445", "0.5968445"...
0.81548584
0
Get the [prod_front] column value.
Получите значение столбца [prod_front].
public function getProdFront() { return $this->prod_front; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdFront($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_front !== $v) {\n $this->prod_front = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_FRONT] = true;\n }\n\n return $this;\n }",...
[ "0.64133525", "0.6372073", "0.5874847", "0.55258954", "0.5494779", "0.53923446", "0.5351454", "0.5240376", "0.5237982", "0.52220356", "0.52051556", "0.5170742", "0.5153934", "0.5147479", "0.51456606", "0.5111522", "0.5097187", "0.50857294", "0.5075551", "0.5074687", "0.504360...
0.7472384
0
Get the [prod_keywords] column value.
Получите значение столбца [prod_keywords].
public function getProdKeywords() { return $this->prod_keywords; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProdKeywordsWriteup()\n {\n return $this->prod_keywords_writeup;\n }", "public function getKeywords(): string\n {\n return $this->keywords;\n }", "public function setProdKeywords($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n ...
[ "0.66214246", "0.62831146", "0.6212205", "0.6202259", "0.619665", "0.6194092", "0.6194092", "0.6150816", "0.6150816", "0.61369926", "0.60610133", "0.59511876", "0.5928699", "0.5916661", "0.5900351", "0.5859274", "0.58412457", "0.5835565", "0.58313364", "0.58313364", "0.583133...
0.762905
0
Get the [prod_keywords_writeup] column value.
Получите значение столбца [prod_keywords_writeup].
public function getProdKeywordsWriteup() { return $this->prod_keywords_writeup; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdKeywordsWriteup($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_keywords_writeup !== $v) {\n $this->prod_keywords_writeup = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_KEYWORDS_WRITEUP] = true;\n...
[ "0.65811", "0.63263136", "0.5767484", "0.5136061", "0.50741744", "0.500916", "0.5000207", "0.5000207", "0.49774393", "0.49774393", "0.49627987", "0.4952085", "0.48945317", "0.4880492", "0.4848219", "0.48303983", "0.4823714", "0.4823714", "0.47777602", "0.4702512", "0.4691676"...
0.7703854
0
Get the [prod_title] column value.
Получите значение столбца [prod_title].
public function getProdTitle() { return $this->prod_title; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function dispProductTitle()\n\t{\n\t\t$prodid=$_SESSION['prodid']; \n\t\t\n\t\t$sqltitle = \"SELECT title FROM products_table WHERE product_id ='\".$prodid.\"'\";\n\t\t\n\t\t$query = new Bin_Query();\n\t\t\n\t\tif($query->executeQuery($sqltitle))\n\t\t{\n\t\t\treturn Display_DManageProducts::dispProductTitle($quer...
[ "0.68553627", "0.68498135", "0.6784682", "0.6636052", "0.66342473", "0.65820044", "0.657589", "0.65646785", "0.65497863", "0.6536441", "0.6532097", "0.6489137", "0.6471736", "0.6444135", "0.6438259", "0.64323366", "0.6417218", "0.63861555", "0.63861555", "0.6385018", "0.63774...
0.792739
0
Get the [prod_description] column value.
Получите значение столбца [prod_description].
public function getProdDescription() { return $this->prod_description; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProduct_desc () {\n\t$preValue = $this->preGetValue(\"product_desc\"); \n\tif($preValue !== null && !\\Pimcore::inAdmin()) { \n\t\treturn $preValue;\n\t}\n\t$data = $this->getClass()->getFieldDefinition(\"product_desc\")->preGetData($this);\n\treturn $data;\n}", "public function getProductDes...
[ "0.7461744", "0.7452807", "0.72895485", "0.6891244", "0.686145", "0.6734821", "0.6701732", "0.65901726", "0.65527546", "0.645832", "0.64294565", "0.64294565", "0.64294565", "0.64294565", "0.64294565", "0.64294565", "0.64294565", "0.64294565", "0.64294565", "0.64294565", "0.64...
0.8036535
0
Get the [prod_general] column value.
Получите значение столбца [prod_general].
public function getProdGeneral() { return $this->prod_general; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdGeneral($v)\n {\n if ($v !== null) {\n $v = (int) $v;\n }\n\n if ($this->prod_general !== $v) {\n $this->prod_general = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_GENERAL] = true;\n }\n\n if ($this->aTblGe...
[ "0.64083344", "0.5757285", "0.56836575", "0.56682986", "0.56022656", "0.54463154", "0.5435061", "0.5416214", "0.540648", "0.53547364", "0.53053606", "0.5299206", "0.52659315", "0.52460337", "0.52223754", "0.5218671", "0.5204163", "0.5204163", "0.5169946", "0.51241773", "0.510...
0.77391404
0
Get the [prod_era] column value.
Получите значение столбца [prod_era].
public function getProdEra() { return $this->prod_era; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getDocumentProductEan()\n {\n return (string) $this->document_product_ean;\n }", "public function setProdEra($v)\n {\n if ($v !== null) {\n $v = (int) $v;\n }\n\n if ($this->prod_era !== $v) {\n $this->prod_era = $v;\n $this->m...
[ "0.5740236", "0.5581799", "0.5446066", "0.5446066", "0.5446066", "0.5366086", "0.5366086", "0.529994", "0.5252882", "0.52039737", "0.5183803", "0.51609564", "0.51285684", "0.5128119", "0.5110731", "0.50968665", "0.5089454", "0.5074302", "0.5060015", "0.5052776", "0.50447977",...
0.7863487
0
Get the [prod_company] column value.
Получите значение столбца [prod_company].
public function getProdCompany() { return $this->prod_company; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getCompanyValue()\n {\n return $this->CompanyValue;\n }", "public function company(): string\n {\n return $this->getData('CompanyName');\n }", "public function getCompanyId()\n\t{\n\t\t$column = self::COL_COMPANY_ID;\n\t\t$v = $this->$column;\n\n\t\tif( $v !== null){\n...
[ "0.69439805", "0.6641938", "0.64975184", "0.642026", "0.6382302", "0.6278197", "0.62756866", "0.6245016", "0.62391084", "0.6225223", "0.61779565", "0.6164254", "0.6149343", "0.61454195", "0.61253214", "0.6094947", "0.609472", "0.609472", "0.608427", "0.6049034", "0.59151477",...
0.76824564
0
Get the [prod_related] column value.
Получите значение столбца [prod_related].
public function getProdRelated() { return $this->prod_related; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProdRelated2()\n {\n return $this->prod_related2;\n }", "public function getProdRelatedPa()\n {\n return $this->prod_related_pa;\n }", "public function setProdRelated($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($th...
[ "0.68726206", "0.64084405", "0.6190881", "0.5949044", "0.5945941", "0.5834201", "0.57762355", "0.5718912", "0.56880474", "0.5659954", "0.5657465", "0.5543816", "0.55207604", "0.5515525", "0.54667014", "0.5452311", "0.5321481", "0.5315701", "0.53066546", "0.527686", "0.5265047...
0.7774425
0
Get the [prod_related_pa] column value.
Получите значение столбца [prod_related_pa].
public function getProdRelatedPa() { return $this->prod_related_pa; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProdRelated()\n {\n return $this->prod_related;\n }", "public function setProdRelatedPa($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_related_pa !== $v) {\n $this->prod_related_pa = $v;\n $this->mo...
[ "0.70613486", "0.6141458", "0.6135137", "0.582457", "0.5773666", "0.57014686", "0.5696823", "0.552517", "0.5504893", "0.5472273", "0.5452239", "0.5416829", "0.5397572", "0.5355227", "0.53499776", "0.53248036", "0.53041506", "0.5296495", "0.5285842", "0.5243668", "0.51948", ...
0.7920244
0
Get the [prod_related_m3] column value.
Получите значение столбца [prod_related_m3].
public function getProdRelatedM3() { return $this->prod_related_m3; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdRelatedM3($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_related_m3 !== $v) {\n $this->prod_related_m3 = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_RELATED_M3] = true;\n }\n\n ret...
[ "0.665403", "0.6173712", "0.599795", "0.59316546", "0.5800028", "0.5560859", "0.55192137", "0.53414327", "0.53336835", "0.5324943", "0.5291588", "0.52813375", "0.52590287", "0.5242515", "0.5226886", "0.5200016", "0.51214665", "0.5041952", "0.50236434", "0.50145686", "0.500629...
0.80634874
0
Get the [prod_related2] column value.
Получите значение столбца [prod_related2].
public function getProdRelated2() { return $this->prod_related2; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProdRelated()\n {\n return $this->prod_related;\n }", "public function setProdRelated2($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_related2 !== $v) {\n $this->prod_related2 = $v;\n $this->modifie...
[ "0.68929267", "0.6697329", "0.64396703", "0.6073547", "0.58474195", "0.5828501", "0.5799311", "0.5697055", "0.55656576", "0.5549174", "0.55155736", "0.5512123", "0.54855615", "0.5469979", "0.5427511", "0.5406815", "0.53962827", "0.53939426", "0.5386874", "0.53689206", "0.5364...
0.8154724
0
Get the [prod_aircraftreg] column value.
Получите значение столбца [prod_aircraftreg].
public function getProdAircraftreg() { return $this->prod_aircraftreg; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProduct_code () {\n\t$preValue = $this->preGetValue(\"product_code\"); \n\tif($preValue !== null && !\\Pimcore::inAdmin()) { \n\t\treturn $preValue;\n\t}\n\t$data = $this->product_code;\n\treturn $data;\n}", "public function getProdCode()\n {\n return $this->prod_code;\n }", "pu...
[ "0.55193996", "0.54365224", "0.5284347", "0.5085287", "0.5083368", "0.5048481", "0.5035778", "0.5034762", "0.49865147", "0.49640322", "0.4954516", "0.49132788", "0.489967", "0.48987478", "0.4898491", "0.48643905", "0.48569196", "0.48234445", "0.48186368", "0.4804307", "0.4803...
0.72287625
0
Get the [m3] column value.
Получите значение столбца [m3].
public function getM3() { return $this->m3; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getAttr3(){\r\n\t\treturn $this->attr3;\r\n\t}", "public function getThird()\n {\n return isset($this->third) ? $this->third : null;\n }", "public function getC3()\r\n {\r\n return $this->C3;\r\n }", "public function getVolPondasiM3()\n {\n return $this->vo...
[ "0.6373233", "0.63342357", "0.63031006", "0.6284794", "0.62509793", "0.6193938", "0.60760117", "0.6063072", "0.5980403", "0.59717166", "0.59104234", "0.5855225", "0.5824797", "0.57830477", "0.57789826", "0.5734393", "0.5727807", "0.57263476", "0.57253385", "0.57196", "0.56810...
0.7438391
0
setProdAlt1() Set the value of [prod_alt2] column.
setProdAlt1() Установить значение столбца [prod_alt2].
public function setProdAlt2($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_alt2 !== $v) { $this->prod_alt2 = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_ALT2] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdAlt1($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_alt1 !== $v) {\n $this->prod_alt1 = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_ALT1] = true;\n }\n\n return $this;\n }", "...
[ "0.7776202", "0.7136761", "0.66220325", "0.6023549", "0.56174666", "0.55277437", "0.5434818", "0.53381836", "0.52828383", "0.52592254", "0.5098499", "0.5059096", "0.50057876", "0.49232057", "0.48664072", "0.4824234", "0.47598723", "0.4753642", "0.4729912", "0.46856177", "0.46...
0.7140115
1
setProdKeywords() Set the value of [prod_keywords_writeup] column.
setProdKeywords() Устанавливает значение столбца [prod_keywords_writeup].
public function setProdKeywordsWriteup($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_keywords_writeup !== $v) { $this->prod_keywords_writeup = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_KEYWORDS_WRITEUP] = true; } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdKeywords($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_keywords !== $v) {\n $this->prod_keywords = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_KEYWORDS] = true;\n }\n\n return $th...
[ "0.70644057", "0.64567083", "0.6108269", "0.602328", "0.5781163", "0.5770702", "0.5770089", "0.5766622", "0.5761055", "0.5748266", "0.57237107", "0.5694472", "0.56857413", "0.56722146", "0.56080747", "0.559631", "0.55493444", "0.5544019", "0.5402991", "0.52204406", "0.5212338...
0.8035094
0
setProdRelatedPa() Set the value of [prod_related_m3] column.
setProdRelatedPa() Устанавливает значение столбца [prod_related_m3].
public function setProdRelatedM3($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_related_m3 !== $v) { $this->prod_related_m3 = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_RELATED_M3] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProdRelatedM3()\n {\n return $this->prod_related_m3;\n }", "public function setProdRelatedPa($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_related_pa !== $v) {\n $this->prod_related_pa = $v;\n $thi...
[ "0.6565166", "0.64982957", "0.5982139", "0.53901494", "0.52000916", "0.5100894", "0.48719493", "0.47665218", "0.47338653", "0.4715882", "0.4633002", "0.45733258", "0.45598158", "0.45519248", "0.45097595", "0.45083198", "0.4500966", "0.44987512", "0.44761905", "0.44567454", "0...
0.70077443
0
Generic method to set the primary key (prod_id column).
Общий метод для установки первичного ключа (столбец prod_id).
public function setPrimaryKey($key) { $this->setProdId($key); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function product_id($product_id=null)\n {\n if (isset($product_id)) $this->product_id = $product_id;\n return $this->product_id;\n }", "public function getPrimaryKey()\n {\n return $this->getProdId();\n }", "public function setPrimaryKey($key)\n\t{\n\t\t$this->setId($key);\n\t}...
[ "0.6696248", "0.6689001", "0.6688477", "0.6688477", "0.6688477", "0.6688477", "0.6688477", "0.6688477", "0.6688477", "0.6688477", "0.6633477", "0.66040504", "0.66040504", "0.66040504", "0.66040504", "0.66040504", "0.65759486", "0.650717", "0.64487755", "0.64487755", "0.639928...
0.7543459
0
Get the associated ChildTblProdPhotos object
Получить связанный объект ChildTblProdPhotos
public function getTblProdPhotos(ConnectionInterface $con = null) { if ($this->aTblProdPhotos === null && ($this->prod_id !== null)) { $this->aTblProdPhotos = ChildTblProdPhotosQuery::create()->findPk($this->prod_id, $con); // Because this foreign key represents a one-to-one relation...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function photos() {\n return $this->hasMany('App\\Models\\ProductPhoto');\n }", "public function getPhoto() {\n return $this->hasOne(Photo::className(), ['id' => 'photo_id']);\n }", "public function photo_product()\n {\n return $this->belongsTo(Photo_product::class);\n }", "...
[ "0.63446426", "0.6282922", "0.62145877", "0.62004745", "0.6195938", "0.61836874", "0.618317", "0.61496836", "0.6145557", "0.6032552", "0.60284215", "0.6003343", "0.5901852", "0.58515775", "0.58360404", "0.5822309", "0.5792609", "0.5789036", "0.57851845", "0.5773946", "0.57700...
0.7099568
0
Get the associated ChildTblProdPrices object
Получить связанный объект ChildTblProdPrices
public function getTblProdPrices(ConnectionInterface $con = null) { if ($this->aTblProdPrices === null && ($this->prod_id !== null)) { $this->aTblProdPrices = ChildTblProdPricesQuery::create()->findPk($this->prod_id, $con); // Because this foreign key represents a one-to-one relation...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getTblProdPricing(ConnectionInterface $con = null)\n {\n if ($this->aTblProdPricing === null && ($this->prod_price_id !== null)) {\n $this->aTblProdPricing = ChildTblProdPricingQuery::create()->findPk($this->prod_price_id, $con);\n /* The following can be used additi...
[ "0.6941069", "0.6823047", "0.6805496", "0.6513882", "0.6431518", "0.6427587", "0.63864625", "0.6214919", "0.6198193", "0.6152482", "0.60753256", "0.5975118", "0.59222186", "0.5812921", "0.57905215", "0.5766011", "0.5751223", "0.57447857", "0.5741802", "0.57308674", "0.5725751...
0.7106863
0