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
Returns the entity type base table.
Возвращает базовую таблицу типа сущности.
public function baseTable();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getTableBase();", "protected function getRemoteBaseTable()\n {\n return ClassInfo::baseDataClass($this->targetClass);\n }", "public static function table()\n\t{\n\t\treturn self::em()->getRepository(static::class)->getMetadata()->getTable();\n\t}", "public function return_table()...
[ "0.762818", "0.69418216", "0.6905454", "0.6705941", "0.66315657", "0.6628264", "0.6614556", "0.65805405", "0.65343356", "0.6481191", "0.646019", "0.64578867", "0.6394278", "0.63212734", "0.63109297", "0.6308335", "0.6305048", "0.62915933", "0.6284635", "0.6258438", "0.6258438...
0.7428233
1
Returns the entity type revisions table.
Возвращает таблицу ревизий типа сущности.
public function revisionsTable();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function dataRevisionsTable();", "public function revisions()\n {\n return $this->morphMany(Revision::class, 'revisionable');\n }", "public static function get_builder_revisions( $type, $id ) {\n\t\tglobal $wpdb;\n\t\t$sql = \"SELECT id, date FROM {$wpdb->base_prefix}pp_revisions WHERE type...
[ "0.6526298", "0.6415932", "0.62002546", "0.61456585", "0.59876466", "0.58352643", "0.5828402", "0.5791258", "0.57609683", "0.56897426", "0.5686662", "0.56655467", "0.561128", "0.5604651", "0.5570486", "0.5569256", "0.5508668", "0.5506596", "0.54828995", "0.54489136", "0.53803...
0.74001515
0
Returns the entity type data revisions table.
Возвращает таблицу данных ревизий типа сущности.
public function dataRevisionsTable();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function revisionsTable();", "public static function get_builder_revisions( $type, $id ) {\n\t\tglobal $wpdb;\n\t\t$sql = \"SELECT id, date FROM {$wpdb->base_prefix}pp_revisions WHERE type = '$type' AND parent_id = '$id' ORDER BY date DESC LIMIT 5\";\n\n\t\treturn $wpdb->get_results( $sql, 'ARRAY_A' );\n...
[ "0.71663254", "0.6094174", "0.6084606", "0.5919242", "0.58746207", "0.5855526", "0.58448315", "0.5818261", "0.5800099", "0.57355577", "0.572042", "0.5665161", "0.565517", "0.5615022", "0.55670714", "0.55593795", "0.5557784", "0.5529407", "0.5460172", "0.5439604", "0.5437454",...
0.73154044
0
Returns whether this entity type is dependant of others.
Возвращает, зависим ли этот тип сущности от других.
public function isDependant();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function hasDependent()\n {\n return (1 == $this->_hasDependent);\n }", "public function isDependant() {\n return $this->isDependant;\n }", "public static function has_dependents(){\n\t\treturn false;\n\t}", "public function hasReferencedEntityType() {\n return $this->_has(...
[ "0.7279247", "0.7069746", "0.6728893", "0.66606885", "0.65832543", "0.61246425", "0.59874505", "0.59271175", "0.5898414", "0.5818258", "0.580324", "0.5772632", "0.5735649", "0.5697407", "0.5668247", "0.5654845", "0.560931", "0.5583314", "0.557505", "0.5550791", "0.55505425", ...
0.75035536
0
Creates a Redis connection using a DSN configuration. Example DSN: redis://localhost redis://example.com:1234
Создает соединение с Redis с использованием конфигурации DSN. Пример DSN: redis://localhost redis://example.com:1234
public static function createConnection($dsn, array $options = array()) { if (0 !== strpos($dsn, 'redis://')) { throw new InvalidArgumentException(sprintf('Invalid Redis DSN: %s does not start with "redis://"', $dsn)); } $params = preg_replace_callback('#^redis://(?:([^@]*)@)?#',...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static function getConnection($config = null) {\n if (null == $config || is_string($config)) {\n $c = ConfigHandler::get('redis');\n if (null == $config || !isset($c[$config])) {\n $config = $c['__default__'];\n }\n\n if (!isset($c[$config]))...
[ "0.70119196", "0.66885364", "0.66511256", "0.6602379", "0.65823936", "0.64792466", "0.64182305", "0.6219143", "0.6119151", "0.5923608", "0.5897824", "0.58667344", "0.58556324", "0.5827382", "0.5788167", "0.5771875", "0.57365716", "0.56752", "0.5641419", "0.563202", "0.5555109...
0.82265466
0
A basic feature test can fetch media using GET.
Базовый тест на функцию может получить медиа с использованием GET.
public function test_can_fetch_media() { $response = $this->get('v1/media'); $response ->assertStatus(200) ->assertJson([ 'success' => true, ]); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function test_can_fetch_a_media()\n { \n $data =$this->mediaDataHelper(); \n $response = $this->postJson('v1/media', $data);\n \n $media = Media::first();\n $response = $this->get('v1/media/'.$media->id);\n $response->assertStatus(200)\n ...
[ "0.73244786", "0.72228265", "0.69091755", "0.6829818", "0.6617826", "0.6590476", "0.6508456", "0.6499609", "0.64783955", "0.63709515", "0.6332084", "0.63144064", "0.629056", "0.6165984", "0.61328083", "0.61266977", "0.6086531", "0.6049853", "0.59751225", "0.59703666", "0.5961...
0.79278463
0
A basic feature test can store media using POST.
Базовый тест функции может сохранять медиа с использованием POST.
public function test_can_store_media() { $data =$this->mediaDataHelper(); $response = $this->postJson('v1/media', $data); $response ->assertStatus(201) ->assertJson([ 'success' => true, ]); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testPostImage()\n {\n }", "public function test_webcam_upload() {\n global $CFG, $DB;\n list(, , $talkpoint) = $this->_setup_single_user_in_single_talkpoint();\n // request the page\n $client = new Client($this->_app);\n $crawler = $client->request('GET', ...
[ "0.70763546", "0.6864997", "0.6638267", "0.65520865", "0.6533923", "0.6526807", "0.6508114", "0.6424412", "0.64086384", "0.63990384", "0.6390634", "0.63664454", "0.6364845", "0.63583964", "0.62935954", "0.6278074", "0.62456375", "0.62344074", "0.6219868", "0.6217787", "0.6214...
0.8162593
0
A basic feature test can fetch a media using GET.
Базовый тест на функцию может получить медиа с использованием GET.
public function test_can_fetch_a_media() { $data =$this->mediaDataHelper(); $response = $this->postJson('v1/media', $data); $media = Media::first(); $response = $this->get('v1/media/'.$media->id); $response->assertStatus(200) ->assert...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function test_can_fetch_media()\n {\n $response = $this->get('v1/media');\n $response\n ->assertStatus(200)\n ->assertJson([\n 'success' => true,\n ]);\n }", "public function testMediaFilesGet()\n {\n $client = static::createClient();...
[ "0.8065455", "0.7245446", "0.69515026", "0.668717", "0.66685206", "0.66014844", "0.6574251", "0.6424335", "0.6333648", "0.6326668", "0.62928563", "0.6286825", "0.62657255", "0.6251054", "0.62262094", "0.61262876", "0.60465324", "0.5921665", "0.59188944", "0.5907081", "0.58795...
0.7530729
1
A basic feature test can update a media using PUT/PATCH.
Базовый тест функции может обновить медиа с использованием PUT/PATCH.
public function test_can_update_media() { $data = $this->mediaDataHelper(); $media = $this->postJson('v1/media', $data); $media = Media::first(); $response = $this->json('PATCH', 'v1/media/'.$media->id, $data); $response->assertStatus(200) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testUpdateExistingMedium()\n {\n $id = Medium::where('name','MediumWithCustomSlug')->firstOrFail()->id;\n $this->put('/api/v1/medium/'.$id, ['name' => 'UpdatedMedium'], ['HTTP_X-Requested-With' => 'XMLHttpRequest'])\n ->assertJson([\n 'slug' => 'customsl...
[ "0.6966219", "0.6853105", "0.6853105", "0.66621774", "0.66487134", "0.6488632", "0.6482624", "0.64707065", "0.6382471", "0.6303618", "0.62613577", "0.62613577", "0.6232241", "0.6224105", "0.6224105", "0.6177663", "0.61688966", "0.6102164", "0.60974205", "0.6060381", "0.605817...
0.8380894
0
A basic feature test can delete media using DELETE.
Базовый тест на функции может удалить медиа с использованием DELETE.
public function test_can_delete_a_media() { $data =$this->mediaDataHelper(); $response = $this->postJson('v1/media', $data); $media = Media::first(); $response = $this->json('DELETE', 'v1/media/'.$media->id); $response->assertStatus(200) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testDeleteUrlUsingDELETE()\n {\n }", "public function testRemoveMedium() {\n $id = Medium::where('slug','mediumwithdefaultslug')->firstOrFail()->id;\n $this->delete('/api/v1/medium/'.$id, ['HTTP_X-Requested-With' => 'XMLHttpRequest']);\n $this->assertDatabaseMissing('me...
[ "0.7524326", "0.7491383", "0.7335212", "0.73264617", "0.73157513", "0.72784877", "0.7217691", "0.7178624", "0.71583754", "0.70662045", "0.70011526", "0.6948025", "0.69327736", "0.6913248", "0.6897492", "0.6889555", "0.6886547", "0.6851042", "0.681782", "0.681782", "0.6814095"...
0.83321184
0
//////////////////////////////////////////////// Add the specified issuer to this country
//////////////////////////////////////////////// Добавить указанный издателя в эту страну
public function add_issuer( Pronamic_WP_Pay_Gateways_IDealAdvancedV3_Issuer $issuer ) { $this->issuers[] = $issuer; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setIssuer($var)\n {\n GPBUtil::checkString($var, True);\n $this->issuer = $var;\n\n return $this;\n }", "public function setIssuer(string $issuer): self\n {\n $this->issuer = $issuer;\n\n return $this;\n }", "public function setIssuer($issuer)\n ...
[ "0.6237412", "0.59141856", "0.5895737", "0.5835071", "0.5835071", "0.556948", "0.5412844", "0.50816554", "0.5046559", "0.49735072", "0.4943245", "0.48923784", "0.48733947", "0.48541135", "0.4832582", "0.4824974", "0.48107293", "0.47956267", "0.47414428", "0.47414428", "0.4711...
0.71651274
0
Opens a new "AND HAVING (...)" grouping.
Открывает новый "И ИМЕЮЩИЙ (...)" группировку.
public function and_having_open(){ $this->_having[] = array('AND' => '('); return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function and_having_close(){\n $this->_having[] = array('AND' => ')');\n\n return $this;\n }", "public function and_having_open()\n {\n $this->_having[] = array('AND' => '(');\n\n return $this;\n }", "public function and_having_close()\n {\n $this->_having[...
[ "0.70159924", "0.6979375", "0.69328344", "0.6401764", "0.6330792", "0.62047505", "0.5933339", "0.5897824", "0.5870306", "0.57794654", "0.57579195", "0.57388294", "0.5718168", "0.570332", "0.5678985", "0.5660401", "0.5652586", "0.5612135", "0.560259", "0.5601197", "0.55922794"...
0.7119925
0
Opens a new "OR HAVING (...)" grouping.
Открывает новый "ИЛИ ИМЕЮЩИЙ (...)" группировку.
public function or_having_open(){ $this->_having[] = array('OR' => '('); return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function or_having_close(){\n $this->_having[] = array('OR' => ')');\n\n return $this;\n }", "public function or_having_close()\n {\n $this->_having[] = array('OR' => ')');\n\n return $this;\n }", "public function or_having_open()\n {\n $this->_having[] = a...
[ "0.72750556", "0.7185829", "0.7163762", "0.66931117", "0.6669901", "0.6550744", "0.6435976", "0.6408759", "0.6390715", "0.6225178", "0.5943714", "0.5932674", "0.5915837", "0.5880581", "0.5876737", "0.5799324", "0.57954067", "0.57793206", "0.57755524", "0.57078767", "0.5701178...
0.73064834
0
Closes an open "AND HAVING (...)" grouping.
Закрывает открытую группировку "AND HAVING (...)"
public function and_having_close(){ $this->_having[] = array('AND' => ')'); return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function and_having_close()\n {\n $this->_having[] = array('AND' => ')');\n\n return $this;\n }", "function close_group_where()\n {\n return $this->close_bracket(); \n }", "public function or_having_close(){\n $this->_having[] = array('OR' => ')');\n\n return $t...
[ "0.698887", "0.69158286", "0.66630757", "0.65888625", "0.63431245", "0.62942463", "0.6241182", "0.6156378", "0.61495036", "0.610572", "0.60846436", "0.60828066", "0.5954495", "0.5731825", "0.5545281", "0.53212124", "0.527317", "0.5232673", "0.5213915", "0.50762534", "0.507142...
0.7085307
0
Closes an open "OR HAVING (...)" grouping.
Закрывает открытую группировку "OR HAVING (...)"
public function or_having_close(){ $this->_having[] = array('OR' => ')'); return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function or_having_close()\n {\n $this->_having[] = array('OR' => ')');\n\n return $this;\n }", "function close_group_where()\n {\n return $this->close_bracket(); \n }", "public function or_having_open(){\n $this->_having[] = array('OR' => '(');\n\n return $this...
[ "0.73330575", "0.70185673", "0.6637085", "0.6554915", "0.6476664", "0.63373303", "0.6131929", "0.60770947", "0.60728216", "0.60385317", "0.603326", "0.588991", "0.5815295", "0.56406385", "0.56326574", "0.5571924", "0.54701376", "0.54509217", "0.54349977", "0.5425591", "0.5399...
0.7404727
0
Gets the get variables
Получает переменные get
public function getGetVariables();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getGetVariables() {}", "public function getVars()\n {\n return [\n 'get' => $this->get,\n 'session' => $this->session,\n ];\n }", "public function getVars() {\r\n return $this->VARS;\r\n }", "function getVars() {\n return $this->vars;...
[ "0.86888915", "0.7798004", "0.751408", "0.74763143", "0.74686587", "0.74603003", "0.7433468", "0.73732144", "0.73656106", "0.7324894", "0.7308029", "0.7308029", "0.7286116", "0.7285303", "0.7283552", "0.7279719", "0.7264955", "0.7264955", "0.7263194", "0.7253207", "0.7194789"...
0.8605493
1
Gets the post variables
Получает переменные запроса
public function getPostVariables();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getPostVars() {\n return $this->postvars;\n }", "protected function getPostValues() {}", "public function getPostParams()\n {\n return $this->post;\n }", "public function paramsPost()\r\n {\r\n return $this->params_post;\r\n }", "private static function g...
[ "0.82429945", "0.78802294", "0.7856315", "0.78335893", "0.7833334", "0.75557184", "0.74842167", "0.7391407", "0.7205408", "0.71921235", "0.71829575", "0.71737933", "0.71515155", "0.7125435", "0.7088643", "0.70749956", "0.7064939", "0.7018775", "0.69678015", "0.69646645", "0.6...
0.90843064
0
Gets the cookie variables
Получает переменные куки
public function getCookieVariables();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function getCookies(){\n\t\treturn $this->_HTTPCookies;\n\t}", "public function getCookieParams() {}", "public function get_cookies()\n {\n }", "function getCookies() {\n\t\treturn $this->cookies;\n\t}", "public function getCookieParams(): array;", "public function getCookies()\n {\n...
[ "0.7789763", "0.77570325", "0.77070004", "0.75693357", "0.756291", "0.7556373", "0.7552132", "0.75283396", "0.75179845", "0.7509013", "0.74863744", "0.7419193", "0.74177", "0.7416854", "0.74037945", "0.7400954", "0.73850757", "0.73850757", "0.7345056", "0.73276794", "0.729695...
0.92533267
0
Check whether the connection is over SSL
Проверьте, используется ли соединение по протоколу SSL
public function isSsl();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function is_ssl()\n {\n }", "protected function sslCheck()\n {\n $ssl_port = '443'; // default\n if(\n isset($_SERVER['OPENSSL_CONF'])\n || isset($_SERVER['SSL_PROTOCOL'])\n || preg_match('~SSL~',$_SERVER['SERVER_SOFTWARE']))\n {\n try {\n...
[ "0.82092345", "0.8182231", "0.8145835", "0.8054645", "0.80546284", "0.80087376", "0.78854007", "0.78761363", "0.7842425", "0.77842104", "0.77661717", "0.7760019", "0.7706007", "0.7670712", "0.7645937", "0.7609111", "0.7542551", "0.7525892", "0.7520415", "0.7504304", "0.746995...
0.8220581
0
/ recuperer les slug de tous les post_type
Получить слаги всех post_type
function tab_slug_post_type() { $tab = get_post_types(); $tab_slug_post_type = FALSE; if ($tab) { foreach ($tab as $key => $value) { if ($key != 'post' && $key != 'page' && $key != 'attachment' && $key != 'revision' && $key != 'nav_menu_item' && $key != 'custom_css' && $key != 'custom...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function get_post_format_slugs()\n {\n }", "public function get_post_type() {\n\n\t\treturn array(\n\t\t\tPost_Type_Movie::SLUG,\n\t\t);\n\n\t}", "function _find_post_by_old_slug($post_type)\n {\n }", "public function get_post_slugs()\n\t{\n\t\t// assign the slugs to the $options...\n\t\t$options...
[ "0.73461115", "0.68135667", "0.6740245", "0.6628007", "0.6617143", "0.6574095", "0.6523427", "0.6375108", "0.6369105", "0.636195", "0.6351898", "0.63368857", "0.632172", "0.6296464", "0.62912714", "0.6259233", "0.62297547", "0.6225797", "0.62186015", "0.62186015", "0.6214047"...
0.7260038
1
/ nom post short_code
/ nom post short_code
function wh_post_short_code() { return 'wh_post_filtres'; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getShortcode();", "function wh_short_code() {\n\n return 'waouh_filtres';\n}", "public function add_short_code()\n {\n add_shortcode('colorYourLife', array($this, 'generate_short_code_content'));\n }", "function shortCodeMagic($att, $content = NULL)\n {\n\n }", "public...
[ "0.8043155", "0.7116798", "0.67970794", "0.6705804", "0.66351026", "0.66053796", "0.6603492", "0.6416695", "0.630837", "0.63062066", "0.6289044", "0.6278923", "0.62605554", "0.62538403", "0.62153244", "0.6172217", "0.61566734", "0.60817283", "0.6068292", "0.59941655", "0.5983...
0.77173245
1
Returns a new page based in the given index in the form of an associative array
Возвращает новую страницу на основе заданного индекса в виде ассоциативного массива
private function getNewPage(int $index) { return [ 'index' => $index, 'current_page' => $index === $this->page, 'url' => Str::interpolate($this->url_format, [ self::PLACEHOLDER => $index ]) ]; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected function createPages($count = 10): array;", "public function getPage($index)\n {\n // redefine\n $index = (int) $index;\n\n // does the index exists\n if (isset($this->pages[$index])) {\n return $this->pages[$index];\n }\n\n // fallback\n...
[ "0.6203422", "0.61110276", "0.6062797", "0.59437937", "0.59155416", "0.59155416", "0.5870615", "0.58664405", "0.5733514", "0.56838036", "0.56838036", "0.56838036", "0.56838036", "0.56838036", "0.56838036", "0.56838036", "0.56838036", "0.56838036", "0.56838036", "0.56838036", ...
0.71707827
0
Send Post Create New Notifications //
Отправить POST Создать новые уведомления //
public function sendPostCreateNewNotifications(ApiTester $I) { $data = [ 'entityClass' => 'user', 'entityId' => 1, 'category' => 'info', 'message' => fake::create()->text(20), 'userId' => 1 ]; $I->saveNotifications([ $d...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function sendPostNotification() {\n\t\t$getNotificatin = \\DB::table('notification')\n\t\t\t->where('type', 'post_added')\n\t\t\t->where('push_status', '0')\n\t\t\t->where('receiver', '0')\n\t\t\t->orderBy('id', 'ASC')\n\t\t\t->get();\n\t\tif (count($getNotificatin) > 0) {\n\t\t\tforeach ($getNotificatin as...
[ "0.73519987", "0.71036756", "0.7089835", "0.6928745", "0.6866518", "0.67283946", "0.6713178", "0.6605995", "0.6589332", "0.65629554", "0.6463305", "0.6427629", "0.64174455", "0.6410852", "0.6407069", "0.63896674", "0.63686794", "0.63565326", "0.6356404", "0.63492584", "0.6343...
0.7529013
0
Send Put Modify Notifications BY ID //
Отправить уведомления о изменении BY ID //
public function sendPutModifyNotificationByID(ApiTester $I) { $data = [ 'entityClass' => 'host', 'entityId' => fake::create()->randomNumber(2), 'category' => 'info', 'message' => fake::create()->text(20) ]; $I->sendPUT($this->route.'/'.$this->...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function send_put()\n { \n $send = new send($this->put('id'));\n\n $send->date_modified = date('Y-m-d H:i:s');\n $send->modifiedbypk = $this->get_user()->user_id;\n\n $this->response($this->_update_save($send, 'put'));\n }", "function updateNotification(){\n $id...
[ "0.6957656", "0.6457796", "0.62425923", "0.61960053", "0.6175308", "0.60886216", "0.6079104", "0.6019709", "0.5985276", "0.5961694", "0.5935272", "0.5863733", "0.58179533", "0.57935745", "0.5792005", "0.5765984", "0.568658", "0.56774676", "0.56664354", "0.5664368", "0.5648079...
0.7340649
0
Send Get Listing of Notifications //
Отправить Получение списка уведомлений //
public function sendGetListingOfNotifications(ApiTester $I) { $I->sendGET($this->route); $I->seeResponseCodeIs(200); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function listNotifications()\r\n { \t \r\n \r\n \t$data = $this->call(array(), \"GET\", \"notifications.json\");\r\n \t$data = $data->{'notifications'};\r\n \t$notificationArray = new ArrayObject();\r\n \tfor($i = 0; $i<count($data);$i++){\r\n \t\t$notificationArray->append(new Notific...
[ "0.75187534", "0.7398107", "0.70383793", "0.68646187", "0.68323225", "0.6820366", "0.67416596", "0.6695569", "0.6685912", "0.66428727", "0.66261584", "0.6614419", "0.6601943", "0.65743536", "0.65289617", "0.6497615", "0.64921004", "0.64499056", "0.6437774", "0.64300054", "0.6...
0.74642646
1
Send Get Show of Notifications By ID //
Отправить Получить Показать уведомлений по ID //
public function sendGetShowOfNotificationsByID(ApiTester $I) { $I->sendGET($this->route.'/'.$this->userID[0]); $I->seeResponseCodeIs(200); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function show($id)\n {\n return response()->json(request()->user()->notifications()->find($id));\n }", "public function getNotificationById($id);", "public function show($id)\n\t{\n\t\tlog::info('inside show method of user-notifications controller');\n\t}", "public function show($id) {\n ...
[ "0.7514999", "0.7457679", "0.72461617", "0.70166934", "0.6999582", "0.6971271", "0.6957881", "0.6839756", "0.67651784", "0.6638308", "0.66189814", "0.66063863", "0.660159", "0.6563233", "0.65034115", "0.6502493", "0.64752585", "0.6469015", "0.6450013", "0.64295197", "0.641505...
0.7910439
0
Return the passport used in the initial authentication process.
Верните паспорт, использованный в процессе начальной аутентификации.
public function getPassport(): Passport;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getPassport()\n {\n return $this->passport;\n }", "function rest_get_authenticated_app_password()\n {\n }", "public function getAuthPassword()\n {\n return $this->user_pass;\n }", "public function getAuthPassword()\n {\n return $this->user_pass;\n ...
[ "0.76919824", "0.6760764", "0.6649596", "0.6649596", "0.6628412", "0.65386283", "0.64054614", "0.63853055", "0.6346028", "0.6319823", "0.62879235", "0.62879235", "0.62879235", "0.62879235", "0.62879235", "0.62879235", "0.62879235", "0.62879235", "0.62879235", "0.62879235", "0...
0.737628
1
Return the firewall name.
Верните имя брандмауэра.
public function getFirewallName(): string;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getName() {\n\n list(,$name) = URLUtil::splitPath($this->principalInfo['uri']);\n return $name;\n\n }", "protected function getNameInput()\n {\n return preg_replace('/Endpoint$/', '', trim($this->argument('name'))) . \"Endpoint\";\n }", "public function getName(): ...
[ "0.62287647", "0.61304575", "0.60981256", "0.6041116", "0.5972441", "0.5870096", "0.58608615", "0.5857751", "0.5831202", "0.58224976", "0.58195996", "0.58059675", "0.5799386", "0.57820415", "0.57800186", "0.5775974", "0.5773148", "0.57689506", "0.5768239", "0.5753528", "0.575...
0.8320788
0
functions for handling DB's internal histogram ID : ID for an histogram set is an integer number (hsid) ID for a single histogram is / (hid) a generic id can be either an hsid or an hid
функции для обработки внутреннего идентификатора гистограммы БД: идентификатор набора гистограмм — это целое число (hsid), идентификатор отдельной гистограммы — это / (hid). Общий идентификатор может быть либо hsid, либо hid
function HistoSet($histogram) { // get histo set id from generic id return preg_replace("/\/.*$/","",$histogram); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getHistorialID($id)\n {\n }", "abstract public function HighId();", "public function getHCID_dumps($hcIDs,$dbhandle = false){\r\r\n\t\t\tif($dbhandle == false){\r\r\n\t\t\t\t$dbhandle = $this->dbhandleSQLI();\r\r\n\t\t\t}\r\r\n\t\t\t$hcid = false;\r\r\n\t\t\tif ($this->dbfound()){\r\r\n\t\t\t...
[ "0.64352983", "0.59674895", "0.5852165", "0.56680167", "0.5411906", "0.5322044", "0.528043", "0.5209565", "0.51385933", "0.5120941", "0.509359", "0.509009", "0.5072491", "0.50496805", "0.5016924", "0.501526", "0.5014446", "0.49603206", "0.4942373", "0.49387202", "0.49354708",...
0.7010396
0
////////////////Career applied sql Ends ////////////////Gallery sql Starts
////////////////Career applied sql Ends ////////////////Gallery sql Starts
function gallery_view_sql() { $view_gallery=mysqli_query($this->con,"SELECT * FROM gallery where status=1 order by id desc"); return $view_gallery; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function gallery_view_sql()\n\t{\n\t\t$view_gallery=mysqli_query($this->con,\"SELECT * FROM gallery order by id desc\");\n\t\treturn $view_gallery;\n\t}", "public function get_sql()\n {\n }", "function mediatag_album() {\r\n\tglobal $photo_query, $tag_query, $owner, $user;\r\n\r\n\tif($photo_quer...
[ "0.70241904", "0.62312084", "0.62263256", "0.61997104", "0.6146773", "0.5933034", "0.590555", "0.588458", "0.5860586", "0.58568496", "0.5850086", "0.57926416", "0.5789266", "0.5750964", "0.57376665", "0.5675884", "0.56758654", "0.5673013", "0.5647344", "0.5647344", "0.5637503...
0.7114857
0
Sign header by using endpoint, parameters and the API secret.
Подписать заголовок с использованием конечной точки, параметров и секретного ключа API.
private function _signHeader($endpoint, $authMethod, $params) { if (!is_array($params)) { $params = array(); } if ($authMethod) { list($key, $value) = explode('=', substr($authMethod, 1), 2); $params[$key] = $value; } $baseString = '/' . $e...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function makeAuthHeader() {\r\n\t\t$this->timestamp = $this->timestamp ? $this->timestamp : $this->getEdgeGridTimestamp();\r\n\t\t$this->nonce = $this->nonce ? $this->nonce : $this->makeNonce();\r\n\r\n\t\t$auth_header = 'EG1-HMAC-SHA256 ' .\r\n\t\t\t\t'client_token=' . $this->client_token . ';' .\r\n\t\t\t...
[ "0.6592681", "0.6187056", "0.614321", "0.61342126", "0.6097972", "0.6062847", "0.5971045", "0.58408827", "0.58408827", "0.57589763", "0.57464516", "0.5733774", "0.5717075", "0.5703019", "0.5696659", "0.5694396", "0.568041", "0.56628186", "0.56505996", "0.5645762", "0.56406647...
0.72689396
0
API Callback URL Setter.
Настройщик URL-адреса API-обратного вызова.
public function setApiCallback($apiCallback) { $this->_callbackurl = $apiCallback; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getApiCallback()\n {\n return $this->_callbackurl;\n }", "public function get_callback_url(){\n\t\treturn $this->callback_url;\n\t}", "public function setCallBackUrl($callback_url) {\n\t\t$this->callback_url = $callback_url;\n\t}", "public function getHttpCallbackUrl()\n {\n ...
[ "0.74852335", "0.7215951", "0.70378476", "0.7034945", "0.69980675", "0.69303304", "0.68413264", "0.6830159", "0.682622", "0.67570376", "0.6734947", "0.6633161", "0.6630818", "0.6618157", "0.6579171", "0.6543385", "0.6499774", "0.6460846", "0.6456863", "0.63636553", "0.6359798...
0.7285973
1
API Callback URL Getter.
Получатель URL-адреса API-запроса.
public function getApiCallback() { return $this->_callbackurl; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function get_callback_url(){\n\t\treturn $this->callback_url;\n\t}", "public function getHttpCallbackUrl()\n {\n return $this->httpCallbackUrl;\n }", "public function getCallbackUrl()\r\n {\r\n return $this->callback_url;\r\n }", "public function getCallbackUrl()\n {\n ...
[ "0.793329", "0.7874057", "0.7679158", "0.7672242", "0.762673", "0.7564069", "0.75212735", "0.707786", "0.705824", "0.7039393", "0.6976404", "0.69527465", "0.68937546", "0.6835994", "0.68048745", "0.6747127", "0.6721934", "0.6659464", "0.66394246", "0.6637844", "0.6637844", ...
0.8551255
0
TODO: Implement onWorkerExit() method.
TODO: Реализовать метод onWorkerExit().
public function onWorkerExit(Server $server, int $worker_id) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function finalize(): void\n {\n $this->fire(WorkerDoneEvent::class);\n\n Log::debug(sprintf('Worker [%s] finalized.', $this->getAttribute('id')));\n }", "public function unregisterWorker()\n\t{\n\t\tif (is_object($this->currentJob)) {\n\t\t\t$this->currentJob->fail(new DirtyExitExce...
[ "0.667466", "0.65686893", "0.6427497", "0.6397492", "0.63160527", "0.63160527", "0.6294163", "0.6291541", "0.6273173", "0.621396", "0.6199087", "0.61455643", "0.6145339", "0.6144957", "0.614383", "0.614383", "0.614383", "0.614383", "0.614383", "0.6143506", "0.6114335", "0.6...
0.70008487
0
Set directly html type of input
Установите прямой тип html для ввода
public function setHtmlType(string $type): self;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setType($type) {\n\t\tif($type == self::TYPE_TEXT){\n\t\t\t$this->type = self::TYPE_TEXT;\n\t\t} else {\n\t\t\t$this->type = self::TYPE_HTML;\n\t\t}\n\t}", "abstract protected function getInputHtml();", "public function setHtml();", "protected function onBeforeInputHtml()\n {\n }", "p...
[ "0.6897879", "0.6765418", "0.656557", "0.6484194", "0.6476929", "0.6461162", "0.62176156", "0.6212632", "0.6150826", "0.61498404", "0.61223716", "0.61191255", "0.6092496", "0.6076674", "0.6072367", "0.60650504", "0.60574657", "0.6036434", "0.60134935", "0.5997644", "0.5977814...
0.7188438
0
Set export value callback
Установить обратный вызов значения экспорта
public function setExportCellValueCallback(?callable $exportValueCallback): self;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function init__user_export()\n{\n define('USER_EXPORT_ENABLED', false);\n define('USER_EXPORT_MINUTES', 60 * 24);\n\n define('USER_EXPORT_DELIM', ',');\n\n define('USER_EXPORT_PATH', 'data_custom/modules/user_export/out.csv');\n\n define('USER_EXPORT_IPC_AUTO_REEXPORT', false);\n define('USER_EXP...
[ "0.5986563", "0.58854383", "0.5847719", "0.583771", "0.5803843", "0.5701336", "0.5640769", "0.56368065", "0.5635588", "0.5629657", "0.5628253", "0.5608723", "0.55762583", "0.5551875", "0.5551875", "0.5551875", "0.5551875", "0.5551875", "0.55319035", "0.5448765", "0.54306036",...
0.7552469
0
Set edit cell value callback
Установить обратный вызов изменения значения ячейки
public function setEditCellValueCallback(?callable $editCellValueCallback): self;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setCellValueCallback(?callable $cellValueCallback): self;", "public function setCellEdit($val=false)\n {\n $this->_cellEdit = $val;\n }", "public function setFormValue($cellValue): void;", "public function setEditable($value);", "public function getEditCellValue($row);", "fun...
[ "0.72829103", "0.6908332", "0.674056", "0.66181076", "0.6583739", "0.6095638", "0.6074743", "0.59747946", "0.5949769", "0.5930762", "0.57975036", "0.57631415", "0.5729809", "0.5698165", "0.5661139", "0.5629301", "0.55773526", "0.55761176", "0.55681837", "0.55632466", "0.55300...
0.850845
0
Get data col template styling data col
Получить данные колонки шаблона стилизации данных колонки
public function getDataColTemplate(): DataColTemplate;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getDataColTemplateForRendering($row, $primary): DataColTemplate;", "public function getHeadFilterColTemplate(): HeadFilterColTemplate;", "public function getTitleColTemplate(): TitleColTemplate;", "public function GetColumnFormatCSSClass()\n {\n return 'THTMLTableColumnText';\n }...
[ "0.6984672", "0.6632066", "0.66071826", "0.6347303", "0.6177573", "0.5975183", "0.59455836", "0.59357715", "0.58787274", "0.5803002", "0.5705946", "0.55935615", "0.5517067", "0.5514194", "0.54842985", "0.54699194", "0.5457307", "0.5441517", "0.54246503", "0.53674185", "0.5330...
0.79948175
0
Set data col template callback (for edit/style data element)
Шаблон обратного вызова для данных колонки (для редактирования/стиля элемента данных)
public function setDataColTemplateCallback(?callable $callback): self;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getDataColTemplate(): DataColTemplate;", "public function getDataColTemplateForRendering($row, $primary): DataColTemplate;", "function DataColumn($title, $template, $sortable = true, $style = null, $typeHint = null, $onExport = null, $sortFormat = null)\r\n\t{\r\n\t\t$this->template = $template...
[ "0.74306667", "0.6843955", "0.6038062", "0.5992583", "0.59610933", "0.5837321", "0.58006465", "0.5581498", "0.5562566", "0.54677576", "0.5446866", "0.5438937", "0.5432789", "0.54157996", "0.54072887", "0.5376047", "0.5363101", "0.5354936", "0.5340214", "0.5313397", "0.5293012...
0.74808276
0
Set cell value callback (for edit cell value) could return \Nette\Utils\Html
Колбэк установки значения ячейки (для редактирования значения ячейки) может вернуть \Nette\Utils\Html
public function setCellValueCallback(?callable $cellValueCallback): self;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setEditCellValueCallback(?callable $editCellValueCallback): self;", "public function setFormValue($cellValue): void;", "public function getEditCellValue($row);", "private function setValue(Cell $cell, $value, $style) {\n\t\t$cell->appendToClass($style);\n\t\t$cell->setValue('<span>' . $value ...
[ "0.7685449", "0.674392", "0.66030955", "0.65873647", "0.6490983", "0.637363", "0.6180679", "0.60606104", "0.6048079", "0.60326636", "0.59793055", "0.5949435", "0.593503", "0.5934465", "0.585134", "0.58467615", "0.5817733", "0.57970214", "0.5690889", "0.5678625", "0.5678625", ...
0.7521927
1
Get head filter col template styling head filter
Получить шаблон стилизации заголовка фильтра колонки заголовок фильтра
public function getHeadFilterColTemplate(): HeadFilterColTemplate;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getGridHeadings() {\n return [ StringLiterals::GRIDHEADING => [ [ 'name' => trans ( 'cms::latestnews.title' ),StringLiterals::VALUE => 'name','sort' => false ],[ 'name' => trans ( 'cms::latestnews.post_creator' ),StringLiterals::VALUE => '','sort' => false ],[ 'name' => trans ( 'cms::latestn...
[ "0.59941804", "0.5880928", "0.5862977", "0.5855106", "0.58331686", "0.58186466", "0.57742095", "0.5739216", "0.55720764", "0.55694467", "0.55692935", "0.55383545", "0.5528777", "0.5503966", "0.55003023", "0.5479115", "0.5456931", "0.5439787", "0.54255146", "0.5384065", "0.537...
0.8124702
0
Get title col template (for edit/style title elemtn)
Получить шаблон колонки заголовка (для редактирования/стиля элемента заголовка)
public function getTitleColTemplate(): TitleColTemplate;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function column_title($title, $type) {\n\t\tif($type === 'no-divider')\n\t\t\treturn \"<h2 class='column-title'>$title</h2>\";\n\n\t\treturn WPV_Text_Divider::shortcode(array(\n\t\t\t'more' => '',\n\t\t\t'type' => $type,\n\t\t), $title);\n\t}", "function column_title($item){\n return sprintf('%1$s'...
[ "0.73146343", "0.711883", "0.7058337", "0.6977467", "0.69722116", "0.6893722", "0.68511176", "0.6736613", "0.6701273", "0.6641207", "0.6631934", "0.66100496", "0.648467", "0.6479454", "0.6448565", "0.64301497", "0.64257544", "0.639868", "0.63881254", "0.6387385", "0.63784254"...
0.858342
0
Set this column as primary
Установите эту колонку как первичную
public function setAsPrimaryColumn(): self;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setPrimary(column &$col) {\n\t\t$name = $col['name'];\n\t\t$this->$name->primary = true;\n\t\treturn $this->_alter();\n\t}", "public function setPrimary($primaryCol){\n $this->primaryKey=$primaryCol;\n return $this;\n }", "public function get_primary_column()\n {\n ...
[ "0.7410792", "0.7213717", "0.7015255", "0.69516695", "0.683618", "0.6824141", "0.6758266", "0.6747979", "0.67405283", "0.6734945", "0.67135054", "0.66752875", "0.6663139", "0.6663139", "0.66392714", "0.66392714", "0.663783", "0.6625489", "0.6616705", "0.6613298", "0.65876275"...
0.84279287
0
Set this column sortable
Установить сортировку для этого столбца
public function setSortable(bool $sortable=true): self;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function SetSortable($bolSortable)\n\t{\n\t\t$this->_bolSortable = $bolSortable;\n\t}", "function allowColumnReorder($val){\n\t\t$this->headerSortable=$val;\n\t}", "protected function get_sortable_columns()\n {\n }", "protected function get_sortable_columns()\n {\n }", "protecte...
[ "0.7048038", "0.691139", "0.6841401", "0.68411016", "0.68411016", "0.6654444", "0.64904314", "0.6453662", "0.64478964", "0.6391297", "0.6311529", "0.6307883", "0.62490165", "0.62290525", "0.62163913", "0.62163574", "0.6210013", "0.619547", "0.61874354", "0.6140117", "0.613789...
0.7165212
0
Set editable in column
Установить редактируемое в столбце
public function setEditableInColumn(bool $editableInColumn=true): self;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setEditable($value);", "public function isEditable() {}", "public function setEditable($editable = true, $setDefaultValue = true) {}", "public function setEditable(bool $editable=true): self;", "public function isEditable();", "public function isEditable();", "public function is_editabl...
[ "0.7713804", "0.7418659", "0.73077", "0.72552365", "0.7238955", "0.7238955", "0.72276884", "0.7009894", "0.6895914", "0.68498963", "0.6786613", "0.6746235", "0.6575681", "0.65510285", "0.6540773", "0.6532592", "0.64270043", "0.6364016", "0.63452935", "0.6300414", "0.6279984",...
0.74194556
1
INTERNAL Get original cell value
ВНУТРЕННИЙ Получить исходное значение ячейки
public function getCellValue($row);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getEditCellValue($row);", "public function getCellValue()\n {\n return $this->get('CellValue');\n }", "public function getCellValue()\n {\n return $this->get('CellValue');\n }", "public function get_value() {\n\t\t$row = $this->get_row();\n\t\tif ($row) {\n\t\t\tretu...
[ "0.76016235", "0.7444287", "0.7444287", "0.67254424", "0.6691012", "0.6618833", "0.66050166", "0.6370878", "0.6345368", "0.6297317", "0.6266403", "0.61678606", "0.61669725", "0.61625516", "0.61110187", "0.6001928", "0.5996705", "0.59471124", "0.5932178", "0.58618957", "0.5859...
0.7554266
1
Get edit cell value
Получить значение ячейки для редактирования
public function getEditCellValue($row);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function get_value_edit()\n\t{\n\t\treturn $this->value;\n\t}", "public function getCellValue()\n {\n return $this->get('CellValue');\n }", "public function getCellValue()\n {\n return $this->get('CellValue');\n }", "public function getCellValue($row);", "public function get_value...
[ "0.7507805", "0.7240889", "0.7240889", "0.70803213", "0.6492999", "0.6476929", "0.645569", "0.64271146", "0.63710654", "0.6302237", "0.6296378", "0.6210242", "0.6169068", "0.6080343", "0.6037396", "0.6034238", "0.6033994", "0.59847677", "0.5967209", "0.5935966", "0.592711", ...
0.8716563
0
Set column link callback
Установить обратный вызов для связывания столбца
public function setColumnLinkCallback(?callable $columnLinkCallback): self;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setColumnLink($link){\n $this->addVar('COL_LINK', $link);\n }", "public function column_url($link)\n {\n }", "public function column_rel($link)\n {\n }", "public function getColumnLink(): HrefElement;", "public function column_name($link)\n ...
[ "0.7428478", "0.7244429", "0.69928735", "0.682359", "0.64359826", "0.6298796", "0.60787296", "0.5913931", "0.5913931", "0.5913931", "0.5913746", "0.5912063", "0.59101814", "0.59101814", "0.59101814", "0.5806081", "0.57368743", "0.570678", "0.56962705", "0.56442106", "0.559390...
0.8489017
0
Get filter input to styling
Получить входные данные фильтра для стилизации
public function getFilterInput();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getInputFilter();", "public function getFilter(): string;", "public function getInputFilter(){\n\t\t/*\n\t\t * validate data:\n\t\t * -id\n\t\t * -svg1\n\t\t * -image1\n\t\t * -svg2\n\t\t * -image2\n\t\t * -svg3\n\t\t * -image3\n\t\t **/\n\n\t\tif(!$this->inputFilter){\n\t\t\t$inputFilter = new...
[ "0.7282514", "0.66436595", "0.6566229", "0.6479173", "0.6479173", "0.6456367", "0.6390313", "0.63723487", "0.62619174", "0.6189358", "0.6172785", "0.617029", "0.617029", "0.617029", "0.617029", "0.617029", "0.617029", "0.617029", "0.617029", "0.617029", "0.617029", "0.61702...
0.742461
0
Get edit input to styling
Получить редактируемый ввод для стилистики
public function getEditInput();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected function renderEdit();", "public function getEditForm();", "public function getEditRaw();", "public function get_media_edit_input()\n {\n }", "public function getEdit()\n\t{\n\t}", "protected function _edit(){\n\t\treturn $this->_editForm();\n\t}", "protected function get_url_t...
[ "0.6568104", "0.65663326", "0.6519496", "0.64998984", "0.64946735", "0.64149153", "0.63810086", "0.63780445", "0.62917155", "0.60022914", "0.5994592", "0.59842426", "0.5961574", "0.5925164", "0.5881603", "0.5871432", "0.58594835", "0.5858118", "0.5853411", "0.5849335", "0.584...
0.75989246
0
Get column link for styling make sense only if you set this column as link
Получение ссылки на столбец для стилизации имеет смысл только в том случае, если вы установите этот столбец как ссылку
public function getColumnLink(): HrefElement;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function column_url($link)\n {\n }", "public function column_rel($link)\n {\n }", "public function setColumnLink($link){\n $this->addVar('COL_LINK', $link);\n }", "public function column_name($link)\n {\n }", "function render_cell($column, ...
[ "0.74938214", "0.7122406", "0.6500793", "0.6415579", "0.6294685", "0.62675565", "0.6164886", "0.60597473", "0.6057673", "0.6003019", "0.5996709", "0.5915732", "0.5853934", "0.5815106", "0.5799769", "0.5795315", "0.5783671", "0.5693112", "0.56905955", "0.56827164", "0.5681176"...
0.78739965
0
Get the mimetype for this response
Получите mimetype для этого ответа
public function getMIMEType() { return $this->mimetype; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getMimeType() {\n return explode('/', $this->contentType)[0];\n }", "public function getMimeType()\n {\n return $this->mime_type;\n }", "public function getMimeType()\n {\n return $this->mime_type;\n }", "public function getMimeType()\n {\n return $this...
[ "0.79766226", "0.7947798", "0.7947798", "0.7947798", "0.7931094", "0.7894963", "0.7880397", "0.78541005", "0.78499055", "0.7830328", "0.77955055", "0.77955055", "0.77955055", "0.77955055", "0.77955055", "0.7755969", "0.77530575", "0.77530575", "0.77530575", "0.77530575", "0.7...
0.81057537
0
Get current Attachment File Name setted.
Получить текущее имя файла прикрепления, установленного.
public function getAttachmentFilename() { return $this->attachment_filename; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function get_file_name() {\n\t\treturn $this->file;\n\t}", "public function getAttachFileName() {\n return $this->attachFileName;\n }", "function GetFileName() {\n \treturn $this->FilePost[$this->ObjClientSide]['name'];\n }", "public function get_file_name(){\n return $this...
[ "0.79543835", "0.7887537", "0.78810996", "0.77349323", "0.77247536", "0.76464534", "0.76080954", "0.7602987", "0.758209", "0.758209", "0.7561209", "0.75545883", "0.75488734", "0.75488734", "0.75488734", "0.75488734", "0.75488734", "0.7541515", "0.7525852", "0.752312", "0.7521...
0.8127618
0
Get the current Render for this response.
Получить текущий Render для этого ответа.
public function getRender() { if ($this->render_factory !== null) { $retval = $this->render_factory->getInterface(); } else { $retval = $this->render; } return $retval; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static function getRendered()\n {\n if (isset(self::$rendered) == false) {\n self::$rendered = new Rendered();\n }\n\n return self::$rendered;\n }", "public function renderer()\n {\n return $this->renderer;\n }", "public function getRender(){\r\n ...
[ "0.7084286", "0.6976605", "0.69733953", "0.6926109", "0.6884163", "0.6874169", "0.6838116", "0.67980695", "0.6783099", "0.67717385", "0.6731953", "0.6722605", "0.65863276", "0.644224", "0.6434893", "0.63992673", "0.63725346", "0.63524246", "0.63101596", "0.62760013", "0.62448...
0.7785901
0
Get the current Render Factory for this response.
Получите текущий Render Factory для этого ответа.
public function getRenderFactory() { return $this->render_factory; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getRender()\n {\n if ($this->render_factory !== null) {\n $retval = $this->render_factory->getInterface();\n } else {\n $retval = $this->render;\n }\n\n return $retval;\n }", "public function getResponseFactory()\n {\n return $this...
[ "0.7908513", "0.6976658", "0.68377054", "0.6837374", "0.67751527", "0.67730534", "0.6769376", "0.6761611", "0.6755569", "0.6754384", "0.6709016", "0.666476", "0.6584702", "0.6568241", "0.6566319", "0.6464213", "0.6464213", "0.6464213", "0.6464213", "0.6464213", "0.6464213", ...
0.8567883
0
Get the current Render Transform Factory for this response.
Получите текущий Render Transform Factory для этого ответа.
public function getTransformFactory() { return $this->transform_factory; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getRenderFactory()\n {\n return $this->render_factory;\n }", "public function getRender()\n {\n if ($this->render_factory !== null) {\n $retval = $this->render_factory->getInterface();\n } else {\n $retval = $this->render;\n }\n\n ...
[ "0.7501604", "0.6898944", "0.63975435", "0.6038367", "0.5969553", "0.5967258", "0.5947166", "0.59419775", "0.59419775", "0.59419775", "0.59419775", "0.59419775", "0.59419775", "0.59419775", "0.59419775", "0.5937068", "0.5919519", "0.5877552", "0.5868668", "0.5865284", "0.5854...
0.7590193
0
Get Notification entity repository
Получить репозиторий сущности Notification
public function getNotificationRepo() { if ($this->_notificationsRepo === null || !$this->_notificationsRepo) { $this->_notificationsRepo = $this->getEntityRepository(Notification::class); } return $this->_notificationsRepo; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getNotificationById($id);", "public function getNotificationAction()\n {\n $em = $this->getDoctrine()->getManager();\n \n $qb = $em->createQueryBuilder();\n $result = $qb->select('n.id, n.type, n.levelCode, n.levelDescription,'\n . 'n.prio...
[ "0.65116835", "0.64629674", "0.644479", "0.63705117", "0.6318913", "0.6311605", "0.6279176", "0.6268928", "0.6085435", "0.6085435", "0.6064779", "0.6050639", "0.6000442", "0.59926933", "0.5992507", "0.59777594", "0.59602344", "0.5956904", "0.5956882", "0.59509665", "0.5911875...
0.7824581
0
Operation brandsGet Returns list of all available preinstalled software set.
Operation brandsGet возвращает список всех доступных предустановленных программных наборов.
public function brandsGet() { list($response) = $this->brandsGetWithHttpInfo(); return $response; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getBrands()\n {\n return $this->brands;\n }", "public function get_brands()\n\t{\n\t\t$brands = Mage::getModel('catalog/product')->getCollection()->addAttributeToSelect(array('brand', 'name'))->groupByAttribute('brand')->getColumnValues('brand');\n\t\tunset($brands[0]);\n\t\tksort($b...
[ "0.73360854", "0.7282515", "0.71625227", "0.7144944", "0.6551265", "0.65163916", "0.64849436", "0.6400177", "0.63658345", "0.63637626", "0.6284565", "0.6177105", "0.59712744", "0.5965886", "0.59507656", "0.5943669", "0.59316397", "0.5889237", "0.5879632", "0.5863697", "0.5853...
0.7638622
0
Operation brandsGetWithHttpInfo Returns list of all available preinstalled software set.
Operation brandsGetWithHttpInfo возвращает список всех доступных предустановленных программных наборов.
public function brandsGetWithHttpInfo() { $returnType = '\Fozzy\WinVPS\Api\Models\BrandsListResponse'; $request = $this->brandsGetRequest(); try { $options = $this->createHttpClientOption(); try { $response = $this->client->send($request, $options); } cat...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function brandsGet()\n {\n list($response) = $this->brandsGetWithHttpInfo();\n return $response;\n }", "public function brandsGetAsyncWithHttpInfo()\n {\n $returnType = '\\Fozzy\\WinVPS\\Api\\Models\\BrandsListResponse';\n $request = $this->brandsGetReq...
[ "0.7608301", "0.69444776", "0.6172699", "0.5986478", "0.58795524", "0.5863108", "0.582278", "0.57801145", "0.5779433", "0.57791054", "0.5545219", "0.5526269", "0.54849875", "0.54678565", "0.5458648", "0.54525614", "0.54519254", "0.5442522", "0.5398463", "0.53880996", "0.53745...
0.794337
0
Operation brandsGetAsyncWithHttpInfo Returns list of all available preinstalled software set.
Operation brandsGetAsyncWithHttpInfo возвращает список всех доступных предустановленных программных наборов.
public function brandsGetAsyncWithHttpInfo() { $returnType = '\Fozzy\WinVPS\Api\Models\BrandsListResponse'; $request = $this->brandsGetRequest(); return $this->client ->sendAsync($request, $this->createHttpClientOption()) ->then( function ($response) use ($return...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function brandsGetWithHttpInfo()\n {\n $returnType = '\\Fozzy\\WinVPS\\Api\\Models\\BrandsListResponse';\n $request = $this->brandsGetRequest();\n\n try {\n $options = $this->createHttpClientOption();\n try {\n $response = $this->client->send($request, $optio...
[ "0.7444923", "0.7178454", "0.7164172", "0.5845189", "0.56708866", "0.55921286", "0.5546151", "0.54488", "0.54414654", "0.53943855", "0.5375178", "0.5328549", "0.53180945", "0.53121805", "0.53033537", "0.52752656", "0.5254876", "0.5245439", "0.52026904", "0.5161615", "0.512661...
0.76873064
0
Create request for operation 'brandsGet'
Создать запрос для операции 'brandsGet'
protected function brandsGetRequest() { $resourcePath = '/brands'; $formParams = []; $queryParams = [ 'page' => $this->paginationCurrentPage, 'limit' => $this->paginationLimit, ]; $headerParams = []; $httpBody = ''; $multipart = false; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getBrandsApi($request);", "public function test_get_brands()\n {\n $response = $this->get('/api/brands', $this->defaultHeaders);\n\n $response->assertStatus(200);\n }", "public function testGetBrandsUsingGET()\n {\n }", "public function actionGetbrands(){\n $b...
[ "0.7706884", "0.6783403", "0.6705657", "0.6510601", "0.6373278", "0.60667855", "0.60552955", "0.5955819", "0.59201044", "0.5853535", "0.58524245", "0.58475167", "0.58328134", "0.58218896", "0.5805619", "0.57875586", "0.57730925", "0.57501304", "0.57184845", "0.57136476", "0.5...
0.8092084
0
since we have "rich form", additional scripts and stylesheets are needed
так как у нас есть "форма с богатыми возможностями", требуется дополнительные скрипты и стили CSS
private function add_rich_form_scripts() { $this->template->libs_js = array( "http://code.jquery.com/jquery-1.8.2.js", "http://code.jquery.com/ui/1.9.1/jquery-ui.js", "jquery-ui-timepicker-addon.js", "http://cdn.aloha-editor.org/latest/lib/require.js" ); $this->template->libs_css = array...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function form_css(){\n\t\twp_register_style( 'lead_gen_plugin', plugin_dir_url( __FILE__ ) . 'css/style.css', false );\n\t\twp_enqueue_style( 'lead_gen_plugin' );\n\t}", "function use_stylesheets_and_javascripts_for_form(sfForm $form)\n{\n use_javascripts_for_form($form);\n use_stylesheets_for_form($for...
[ "0.68781304", "0.6736449", "0.66608983", "0.6618741", "0.65859437", "0.65859437", "0.65410185", "0.65029585", "0.64847", "0.6456641", "0.64478654", "0.64386773", "0.6404974", "0.6375292", "0.6342397", "0.63262194", "0.63227564", "0.63179106", "0.629035", "0.62848544", "0.6280...
0.8119492
0
Radium bbPress layout control If you set a specific layout for a forum, that will be used for that forum and it's topics. If you set one in the RadiumbbPress setting, that gets checked next. Otherwise bbPress will display itself in Radium default layout.
Управление макетом bbPress в Radium Если вы установите конкретный макет для форума, он будет использоваться для этого форума и его тем. Если вы установите его в настройках RadiumbbPress, это будет проверено следующим образом. В противном случае bbPress отобразится в стандартном макете Radium.
function radium_bbress_layout( $layout ) { if ( ! is_bbpress() ) return $layout; // Set some defaults $forum_id = bbp_get_forum_id(); $layout = radium_get_option( 'content_sidebar_layout' ); $parent = false; // Check and see if a layout has been set for the parent forum if ( ! em...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function fanwood_plugin_layouts( $layout ) {\n\n\tif ( current_theme_supports( 'theme-layouts' ) ) {\n\t\n\t\t$global_layout = hybrid_get_setting( 'fanwood_global_layout' );\n\t\t$buddypress_layout = hybrid_get_setting( 'fanwood_buddypress_layout' );\n\n\t\tif ( function_exists( 'bp_loaded' ) && !bp_is_blog_page()...
[ "0.6731798", "0.6372871", "0.6220595", "0.6155039", "0.6067293", "0.6047127", "0.6015854", "0.5993555", "0.5980488", "0.58143544", "0.57613885", "0.57525694", "0.5736083", "0.5731186", "0.57059973", "0.56984556", "0.56897557", "0.5676654", "0.5636341", "0.56358284", "0.563381...
0.7492997
0
Setup lookup filters of a field
Настройка фильтров поиска для поля
function SetupLookupFilters($fld) { global $gsLanguage; switch ($fld->FldVar) { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function SetupLookupFilters($fld, $pageId = null) {\r\n\t\tglobal $gsLanguage;\r\n\t\t$pageId = $pageId ?: $this->PageID;\r\n\t\tswitch ($fld->FldVar) {\r\n\t\t}\r\n\t}", "function SetupLookupFilters($fld, $pageId = null) {\n\t\tglobal $gsLanguage;\n\t\t$pageId = $pageId ?: $this->PageID;\n\t\tswitch ($fld->FldV...
[ "0.78009534", "0.7793232", "0.7793232", "0.7793232", "0.7793232", "0.7793232", "0.7793232", "0.7793232", "0.7793232", "0.7793232", "0.7793232", "0.76604855", "0.76604855", "0.75719875", "0.75587285", "0.75573546", "0.7517113", "0.7458288", "0.7423638", "0.7373194", "0.7268946...
0.8202938
0
Setup AutoSuggest filters of a field
Настройка фильтров AutoSuggest поля
function SetupAutoSuggestFilters($fld) { global $gsLanguage; switch ($fld->FldVar) { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function SetupAutoSuggestFilters($fld) {\n\t\tglobal $grLanguage;\n\t\tswitch ($fld->FldVar) {\n\t\t}\n\t}", "function SetupAutoSuggestFilters($fld, $pageId = null) {\r\n\t\tglobal $gsLanguage;\r\n\t\t$pageId = $pageId ?: $this->PageID;\r\n\t\tswitch ($fld->FldVar) {\r\n\t\tcase \"x_Serie_Equipo\":\r\n\t\t\t$sSq...
[ "0.79950917", "0.7341881", "0.7284358", "0.7237325", "0.7237006", "0.7237006", "0.7235865", "0.7235865", "0.7235865", "0.7235865", "0.7235865", "0.7235865", "0.7235865", "0.7235865", "0.7235865", "0.7235865", "0.7235865", "0.7235865", "0.7235865", "0.7235865", "0.7210664", ...
0.80122644
0
Page Filter Validated event
Событие Фильтрации страницы, подтвержденной
function Page_FilterValidated() { // Example: //$this->MyField1->SearchValue = "your search criteria"; // Search value }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function Page_FilterValidated() {\n\n\t\t// Example:\n\t\t//global $MyTable;\n\t\t//$MyTable->MyField1->SearchValue = \"your search criteria\"; // Search value\n\n\t}", "function Page_FilterValidated() {\n\n\t\t// Example:\n\t\t//global $MyTable;\n\t\t//$MyTable->MyField1->SearchValue = \"your search criteria\";...
[ "0.75285935", "0.75285935", "0.6569364", "0.6460507", "0.6100119", "0.6073535", "0.5889451", "0.5889451", "0.5813859", "0.58027166", "0.5757468", "0.5704214", "0.5654849", "0.5654849", "0.5646634", "0.564627", "0.56447905", "0.56422627", "0.564125", "0.5614257", "0.55620635",...
0.7723713
1
Creates a new Country entity.
Создаёт новую сущность Country.
public function createAction(Request $request) { $entity = new Country(); $form = $this->createCreateForm($entity); $form->handleRequest($request); if ($form->isValid()) { $em = $this->getDoctrine()->getManager(); $em->persist($entity); $em->flush...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function create($name, $country);", "public function store(CountryRequest $request)\n {\n return Country::create($request->all());\n }", "public function created(Country $country)\n {\n //\n }", "public function create(array $attributes): Country\n {\n return $this-...
[ "0.75442404", "0.72429603", "0.72082514", "0.66420716", "0.6562555", "0.6549287", "0.6503145", "0.6475842", "0.64429", "0.640019", "0.63955075", "0.6390879", "0.63377833", "0.63187087", "0.622564", "0.6208444", "0.6190775", "0.6190142", "0.6174033", "0.61543393", "0.61543393"...
0.7254879
1
Creates a form to create a Country entity.
Создает форму для создания сущности Country.
private function createCreateForm(Country $entity) { $form = $this->createForm(new CountryType($this->get('doctrine.orm.entity_manager')->getRepository('OrkestroLocaleBundle:Locale')), $entity, array( 'action' => $this->generateUrl('orkestro_backend_country_create'), 'method' => 'POS...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function create()\n {\n return view('backend.constants.countries.add_country');\n }", "public function create()\n {\n return view('admin.country.create');\n }", "public function create(){\n return view('admin.countries.create' , ['title'=>trans('admin.create_new_country'...
[ "0.7350358", "0.731594", "0.7309911", "0.7288845", "0.7239006", "0.7236432", "0.71770537", "0.7171488", "0.7153517", "0.7150519", "0.71419126", "0.7086315", "0.7084704", "0.7084704", "0.7004832", "0.7004832", "0.70022124", "0.69149464", "0.68891823", "0.6886677", "0.68593633"...
0.7807334
0
Creates a form to edit a Country entity.
Создает форму для редактирования сущности Country.
private function createEditForm(Country $entity) { $form = $this->createForm(new CountryType($this->get('doctrine.orm.entity_manager')->getRepository('OrkestroLocaleBundle:Locale')), $entity, array( 'action' => $this->generateUrl('orkestro_backend_country_update', array('iso_code' => $entity->ge...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function edit(Country $country)\n {\n \n }", "public function editAction(Request $request, Country $country) {\n $deleteForm = $this->createDeleteForm($country);\n $editForm = $this->createForm('B2bBundle\\Form\\CountryType', $country);\n $editForm->handleRequest($request...
[ "0.7340562", "0.68097675", "0.6756027", "0.67385674", "0.66866356", "0.6677091", "0.6572027", "0.65279096", "0.64822394", "0.6404308", "0.63620865", "0.63159245", "0.628284", "0.62416863", "0.6227831", "0.614549", "0.6106558", "0.61024624", "0.6099881", "0.6087307", "0.608064...
0.7757421
0
Creates a form to delete a Country entity by iso code.
Создает форму для удаления сущности Country по коду iso.
private function createDeleteForm($iso_code) { return $this->createFormBuilder() ->setAction($this->generateUrl('orkestro_backend_country_delete', array('iso_code' => $iso_code))) ->setMethod('DELETE') ->add('submit', 'submit', array('label' => 'Delete')) ->ge...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function createDeleteForm(Country $country) {\n return $this->createFormBuilder()\n ->setAction($this->generateUrl('backoffice_country_delete', array('id' => $country->getId())))\n ->setMethod('DELETE')\n ->getForm()\n ;\n }", "public function deleteActio...
[ "0.6820028", "0.6340223", "0.62885606", "0.61027944", "0.6061625", "0.5997109", "0.58878285", "0.5844093", "0.58374065", "0.5790742", "0.57819825", "0.5777765", "0.5774466", "0.5756324", "0.5753759", "0.5733529", "0.5728282", "0.572425", "0.5632718", "0.5582893", "0.5576666",...
0.8031092
0
Returns whether the TTL functionality is supported by the backend.
Возвращает, поддерживает ли бэкенд функциональность TTL.
public function isTtlSupported() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function isSupported()\n\t{\n\t\treturn $this->isSupported;\n\t}", "public function isSupported()\n {\n return $this->supported;\n }", "public function hasTls()\n {\n return $this->tls !== null;\n }", "public function isSupported() {\n return is_array($this->_quotausag...
[ "0.6416676", "0.6259351", "0.6237633", "0.6223871", "0.6203225", "0.6154374", "0.6137328", "0.6120323", "0.60980344", "0.60872704", "0.60785764", "0.6076251", "0.60154235", "0.60154235", "0.5997639", "0.59716845", "0.59213245", "0.5920109", "0.5920109", "0.5920109", "0.591173...
0.8188659
0
Builds $this>activities and $this>activitysortedindex
Создает $this>activities и $this>activitysortedindex
protected function initialize_activities(){ $this->initialize_activities_recursive($this->gtree->top_element); //initialize activitysortedindex switch($this->sort) { case self::SORT_COURSE : foreach ($this->activities as $key => $value) { $this-...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function build()\n\t{\n\t\tif ($this->process_count() > 1)\n\t\t\treturn;\n\t\t\n\t\t$this->build_index_content();\n\t\t$this->build_index_companies();\n\t}", "private function buildBuildHistory()\n {\n foreach ($this->xml->entry as $entry) {\n $infos = $this->extractBuildInfos((strin...
[ "0.6092088", "0.58347017", "0.55980223", "0.5419416", "0.5387364", "0.53233355", "0.52945673", "0.5236878", "0.51794755", "0.51572526", "0.51094985", "0.51024806", "0.50999665", "0.50998366", "0.5092504", "0.5059645", "0.5051139", "0.5047872", "0.50279343", "0.50230515", "0.5...
0.7127032
0
Test connect() with an invalid driver
Тестирование connect() с неверным драйвером
public function testConnectInvalidDriver() { PDB::connect('Fake'); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testConnectBadDriver()\n {\n PDB::connect('ExceptionThrower');\n }", "#[@test, @expect('rdbms.SQLConnectException')]\n public function connectFailedThrowsException() {\n DriverManager::getConnection(str_replace(\n ':'.$this->db(FALSE)->dsn->getPassword().'@', \n ...
[ "0.816074", "0.7450419", "0.7035409", "0.6686785", "0.6498031", "0.63880086", "0.6383726", "0.6379777", "0.6369326", "0.6366468", "0.6321297", "0.6309126", "0.63077086", "0.6243383", "0.6224664", "0.6216356", "0.61921537", "0.61702245", "0.6168327", "0.615385", "0.6151029", ...
0.82580024
0
Test connect() with a bad driver
Тестирование connect() с неправильным драйвером
public function testConnectBadDriver() { PDB::connect('ExceptionThrower'); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testConnectInvalidDriver()\n {\n PDB::connect('Fake');\n }", "public function testConnection() {\n //Set the connection string.\n $success = $this->setConnection();\n if ($success === true) {\n $this->connect();\n }\n }", "#[@test, @expect(...
[ "0.8134996", "0.7340987", "0.72113156", "0.67492366", "0.6654418", "0.6623108", "0.65964013", "0.65964013", "0.65964013", "0.65694004", "0.65580046", "0.6470403", "0.64518166", "0.64322627", "0.64322627", "0.64322627", "0.64322627", "0.64322627", "0.64322627", "0.64322627", "...
0.8159476
0
Function : create($p_filelist, $p_add_dir="", $p_remove_dir="") create($p_filelist, $p_option, $p_option_value, ...) Description : This method supports two different synopsis. The first one is historical. This method creates a Zip Archive. The Zip file is created in the filesystem. The files and directories indicated i...
Функция : create($p_filelist, $p_add_dir="", $p_remove_dir="") create($p_filelist, $p_option, $p_option_value, ...) Описание : Этот метод поддерживает два различных синтаксиса. Первый из них исторический. Этот метод создаёт архив ZIP. Файл ZIP создаётся в файловой системе. Файлы и директории, указанные в $p_filelist, д...
function create($p_filelist) { $v_result=1; // ----- Reset the error handler $this->privErrorReset(); // ----- Set default values $v_options = array(); $v_options[PCLZIP_OPT_NO_COMPRESSION] = FALSE; // ----- Look for variable options arguments $v_size = func_num_args(); // ----...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function add($p_filelist)\n {\n $v_result=1;\n\n // ----- Reset the error handler\n $this->privErrorReset();\n\n // ----- Set default values\n $v_options = array();\n $v_options[PCLZIP_OPT_NO_COMPRESSION] = FALSE;\n\n // ----- Look for variable options arguments\n $v_size = func_num_args()...
[ "0.7610565", "0.6991703", "0.67088866", "0.655303", "0.65493834", "0.65193003", "0.65193003", "0.6436753", "0.6429263", "0.6415955", "0.6409118", "0.63930136", "0.63890207", "0.6358517", "0.6331198", "0.62530845", "0.6236702", "0.6150097", "0.6129168", "0.6102193", "0.6091729...
0.80351114
0
Function : add($p_filelist, $p_add_dir="", $p_remove_dir="") add($p_filelist, $p_option, $p_option_value, ...) Description : This method supports two synopsis. The first one is historical. This methods add the list of files in an existing archive. If a file with the same name already exists, it is added at the end of t...
Функция : add($p_filelist, $p_add_dir="", $p_remove_dir="") add($p_filelist, $p_option, $p_option_value, ...) Описание : Этот метод поддерживает два синтаксиса. Первый является историческим. Этот метод добавляет список файлов в существующий архив. Если файл с таким же именем уже существует, он добавляется в конец архив...
function add($p_filelist) { $v_result=1; // ----- Reset the error handler $this->privErrorReset(); // ----- Set default values $v_options = array(); $v_options[PCLZIP_OPT_NO_COMPRESSION] = FALSE; // ----- Look for variable options arguments $v_size = func_num_args(); // ----- L...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function add($p_filelist)\n {\n }", "function privAddFileList($p_filedescr_list, &$p_result_list, &$p_options)\n {\n $v_result=1;\n $v_header = array();\n\n // ----- Recuperate the current number of elt in list\n $v_nb = sizeof($p_result_list);\n\n // ----- Loop on the files\n fo...
[ "0.6647848", "0.64937997", "0.6476063", "0.63785493", "0.6343003", "0.5904505", "0.5590337", "0.5556958", "0.5491568", "0.54111487", "0.5408734", "0.5378486", "0.53180796", "0.5222162", "0.5216861", "0.51976085", "0.49222296", "0.49222296", "0.49049696", "0.4886439", "0.48841...
0.8067333
0
Function : listContent() Description : This public method, gives the list of the files and directories, with their properties. The properties of each entries in the list are (used also in other functions) : filename : Name of the file. For a create or add action it is the filename given by the user. For an extract func...
Функция : listContent() Описание : Этот публичный метод предоставляет список файлов и директорий с их свойствами. Свойства каждого элемента списка (используются также в других функциях) : filename : имя файла. Для действий создания или добавления это имя файла, указанное пользователем. Для функции извлечения это имя из...
function listContent() { $v_result=1; // ----- Reset the error handler $this->privErrorReset(); // ----- Check archive if (!$this->privCheckFormat()) { return(0); } // ----- Call the extracting fct $p_list = array(); if (($v_result = $this->privList($p_list)) != 1) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function listContent()\n\t{\n\t\tif (!$this->isOpen)\n\t\t\treturn false;\n\n\t\t$content = array();\n\n\t\t$i = 0;\n\t\twhile ($curFile = $this->zip->statIndex($i++))\n\t\t\t$content[] = $curFile['name'];\n\t\treturn $content;\n\t}", "public function listContent()\n {\n return $this->tarArchive->listC...
[ "0.71899915", "0.6805034", "0.6722589", "0.62617904", "0.6206917", "0.6187309", "0.61813056", "0.61219794", "0.61219794", "0.61219794", "0.6120567", "0.61199254", "0.60946476", "0.6024958", "0.59635735", "0.59576344", "0.5956341", "0.5955806", "0.592538", "0.5924012", "0.5924...
0.76603574
0
Function : extract($p_path="./", $p_remove_path="") extract([$p_option, $p_option_value, ...]) Description : This method supports two synopsis. The first one is historical. This method extract all the files / directories from the archive to the folder indicated in $p_path. If you want to ignore the 'root' part of path ...
Функция: extract($p_path="./", $p_remove_path="") extract([$p_option, $p_option_value, ...]) Описание: Этот метод поддерживает два синтаксиса. Первый из них исторический. Этот метод извлекает все файлы / директории из архива в указанную в $p_path папку. Если вы хотите игнорировать часть пути 'root' запомненных файлов, ...
function extract() { $v_result=1; // ----- Reset the error handler $this->privErrorReset(); // ----- Check archive if (!$this->privCheckFormat()) { return(0); } // ----- Set default values $v_options = array(); // $v_path = "./"; $v_path = ''; $v_remove_path = ""; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function privExtractFile(&$p_entry, $p_path, $p_remove_path, $p_remove_all_path, &$p_options)\n {\n $v_result=1;\n\n // ----- Read the file header\n if (($v_result = $this->privReadFileHeader($v_header)) != 1)\n {\n // ----- Return\n return $v_result;\n }\n\n\n // ----- Check that the ...
[ "0.7773103", "0.72289413", "0.6706052", "0.6660812", "0.66264534", "0.65472394", "0.6443525", "0.6432356", "0.6167215", "0.61433876", "0.59538573", "0.59509045", "0.58903736", "0.5834904", "0.5723218", "0.56916255", "0.568283", "0.5557828", "0.55268574", "0.54962486", "0.5466...
0.79419196
0
Function : extractByIndex($p_index, $p_path="./", $p_remove_path="") extractByIndex($p_index, [$p_option, $p_option_value, ...]) Description : This method supports two synopsis. The first one is historical. This method is doing a partial extract of the archive. The extracted files or folders are identified by their ind...
Функция : extractByIndex($p_index, $p_path="./", $p_remove_path="") extractByIndex($p_index, [$p_option, $p_option_value, ...]) Описание : Этот метод поддерживает два синтаксиса. Первый из них исторический. Этот метод производит частичную извлечение архива. Извлеченные файлы или папки определяются их индексом в архиве ...
function extractByIndex($p_index) { $v_result=1; // ----- Reset the error handler $this->privErrorReset(); // ----- Check archive if (!$this->privCheckFormat()) { return(0); } // ----- Set default values $v_options = array(); // $v_path = "./"; $v_path = ''; $v_remo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function extractByIndex($p_index)\n {\n }", "function extract()\n {\n $v_result=1;\n\n // ----- Reset the error handler\n $this->privErrorReset();\n\n // ----- Check archive\n if (!$this->privCheckFormat()) {\n return(0);\n }\n\n // ----- Set default values\n $v_option...
[ "0.7053193", "0.6625993", "0.6121702", "0.601353", "0.5835487", "0.5570398", "0.54398966", "0.53558135", "0.53073186", "0.5282142", "0.52460814", "0.5235897", "0.51743907", "0.51451653", "0.51002204", "0.501312", "0.4966151", "0.4958056", "0.49557683", "0.4879637", "0.4812384...
0.8520198
0
Function : delete([$p_option, $p_option_value, ...]) Description : This method removes files from the archive. If no parameters are given, then all the archive is emptied. Parameters : None or optional arguments. Options : PCLZIP_OPT_BY_INDEX : PCLZIP_OPT_BY_NAME : PCLZIP_OPT_BY_EREG : PCLZIP_OPT_BY_PREG : Return Value...
Функция: delete([$p_option, $p_option_value, ...]) Описание: Этот метод удаляет файлы из архива. Если параметры не указаны, то весь архив очищается. Параметры: Нет или опциональные аргументы. Опции: PCLZIP_OPT_BY_INDEX : PCLZIP_OPT_BY_NAME : PCLZIP_OPT_BY_EREG : PCLZIP_OPT_BY_PREG : Значения возвращаемые функцией: 0 пр...
function delete() { $v_result=1; // ----- Reset the error handler $this->privErrorReset(); // ----- Check archive if (!$this->privCheckFormat()) { return(0); } // ----- Set default values $v_options = array(); // ----- Look for variable options arguments $v_size = fun...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function deleteByIndex($p_index)\n {\n\n $p_list = $this->delete(PCLZIP_OPT_BY_INDEX, $p_index);\n\n // ----- Return\n return $p_list;\n }", "public function removeAll() {\r\n for ($i = 0; $i < $this->zip->numFiles; $i++) {\r\n $this->zip->deleteIndex($i);\r\n }\r\n }", "public function ...
[ "0.62952644", "0.6052286", "0.58743215", "0.57536733", "0.5596419", "0.556119", "0.55577254", "0.5546517", "0.552666", "0.5516958", "0.54009324", "0.5362075", "0.5319621", "0.5300563", "0.5254167", "0.5197166", "0.5189041", "0.51877004", "0.5156594", "0.5154206", "0.51211387"...
0.7245908
0
Function : deleteByIndex() Description : Deprecated delete(PCLZIP_OPT_BY_INDEX, $p_index) should be prefered.
Функция : deleteByIndex() Описание : устаревший delete(PCLZIP_OPT_BY_INDEX, $p_index) следует предпочитать.
function deleteByIndex($p_index) { $p_list = $this->delete(PCLZIP_OPT_BY_INDEX, $p_index); // ----- Return return $p_list; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function deleteByIndex($p_index)\n {\n }", "function delete($index = '',$xss_clean=FALSE)\n\t{\n\t\treturn $this->_fetch_from_array($this->delete_var, $index, $xss_clean);\n\t}", "public function remove(int $index);", "public function remove(int $index);", "public function remove($index);", ...
[ "0.81003404", "0.6709598", "0.6483228", "0.6483228", "0.6476416", "0.6322745", "0.6287374", "0.62752455", "0.62593555", "0.62370014", "0.6202086", "0.61746424", "0.6162397", "0.6124055", "0.6097197", "0.60340214", "0.59992254", "0.59840375", "0.5943758", "0.58117145", "0.5787...
0.8575041
0
Function : properties() Description : This method gives the properties of the archive. The properties are : nb : Number of files in the archive comment : Comment associated with the archive file status : not_exist, ok Parameters : None Return Values : 0 on failure, An array with the archive properties.
Функция: properties() Описание: Этот метод возвращает свойства архива. Свойства: nb: количество файлов в архиве comment: комментарий, связанный с архивом file status: not_exist, ok Параметры: Нет Возвращаемые значения: 0 при ошибке, массив с свойствами архива.
function properties() { // ----- Reset the error handler $this->privErrorReset(); // ----- Magic quotes trick $this->privDisableMagicQuotes(); // ----- Check archive if (!$this->privCheckFormat()) { $this->privSwapBackMagicQuotes(); return(0); } // ----- Default propert...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProperties()\n {\n $unitMultiple = 1024 * 1024;\n\n $info = [\n 'version' => null,\n 'engine' => null,\n 'dbsize' => 0,\n 'rows' => 0,\n 'datafree' => 0,\n 'indexsize' => 0\n ];\n /*\n * Get ...
[ "0.5862185", "0.57445025", "0.56044567", "0.56044567", "0.56044567", "0.56044567", "0.55599105", "0.55573064", "0.55573064", "0.55573064", "0.54820293", "0.54495776", "0.54459", "0.5444931", "0.54365355", "0.5405767", "0.53581846", "0.5320641", "0.5265063", "0.52605087", "0.5...
0.71244794
0
Function : duplicate() Description : This method creates an archive by copying the content of an other one. If the archive already exist, it is replaced by the new one without any warning. Parameters : $p_archive : The filename of a valid archive, or a valid PclZip object. Return Values : 1 on success. 0 or a negative ...
Функция: duplicate() Описание: Этот метод создаёт архив, копируя содержимое другого архива. Если архив уже существует, он заменяется новым без каких-либо предупреждений. Параметры: $p_archive: Имя файла с действительным архивом или действительный объект PclZip. Значения возвращаемые: 1 при успехе. 0 или отрицательное з...
function duplicate($p_archive) { $v_result = 1; // ----- Reset the error handler $this->privErrorReset(); // ----- Look if the $p_archive is a PclZip object if ((is_object($p_archive)) && (get_class($p_archive) == 'pclzip')) { // ----- Duplicate the archive $v_result = $this->pr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function privDuplicate($p_archive_filename)\n {\n $v_result=1;\n\n // ----- Look if the $p_archive_filename exists\n if (!is_file($p_archive_filename))\n {\n\n // ----- Nothing to duplicate, so duplicate is a success.\n $v_result = 1;\n\n // ----- Return\n return $v_result;\n }\...
[ "0.81009036", "0.78201413", "0.67186815", "0.66514605", "0.6142791", "0.53871304", "0.5317579", "0.5244763", "0.5147204", "0.5144842", "0.5084149", "0.5065198", "0.50414544", "0.5026449", "0.497963", "0.497557", "0.4871896", "0.48433363", "0.48362166", "0.48256543", "0.481746...
0.8757225
0
Function : merge() Description : This method merge the $p_archive_to_add archive at the end of the current one ($this). If the archive ($this) does not exist, the merge becomes a duplicate. If the $p_archive_to_add archive does not exist, the merge is a success. Parameters : $p_archive_to_add : It can be directly the f...
Функция: merge() Описание: Этот метод объединяет $p_archive_to_add архив в конце текущего ($this). Если архив ($this) не существует, объединение становится дублированием. Если архив $p_archive_to_add не существует, объединение успешно. Параметры: $p_archive_to_add: Может быть непосредственно именем файла действительног...
function merge($p_archive_to_add) { $v_result = 1; // ----- Reset the error handler $this->privErrorReset(); // ----- Check archive if (!$this->privCheckFormat()) { return(0); } // ----- Look if the $p_archive_to_add is a PclZip object if ((is_object($p_archive_to_add)) && (ge...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function privMerge(&$p_archive_to_add)\n {\n $v_result=1;\n\n // ----- Look if the archive_to_add exists\n if (!is_file($p_archive_to_add->zipname))\n {\n\n // ----- Nothing to merge, so merge is a success\n $v_result = 1;\n\n // ----- Return\n return $v_result;\n }\n\n // --...
[ "0.7329871", "0.70744735", "0.6159668", "0.5920843", "0.55926645", "0.4772514", "0.46481013", "0.45294833", "0.445776", "0.43211856", "0.4320299", "0.43093812", "0.43075106", "0.42188168", "0.42109278", "0.4176512", "0.41754973", "0.41718882", "0.41632178", "0.41289085", "0.4...
0.82267416
0
UNDER THIS LINE ARE DEFINED PRIVATE INTERNAL FUNCTIONS THESES FUNCTIONS MUST NOT BE USED DIRECTLY Function : privCheckFormat() Description : This method check that the archive exists and is a valid zip archive. Several level of check exists. (futur) Parameters : $p_level : Level of check. Default 0. 0 : Check the first...
ПОД ЭТИМ СТРОКОЙ ОПРЕДЕЛЕНЫ ВНУТРЕННИЕ ПРИВАТНЫЕ ФУНКЦИИ. ЭТИ ФУНКЦИИ НЕ ДОЛЖНЫ ИСПОЛЬЗОВАТЬСЯ ПРЯМО. Функция : privCheckFormat() Описание : Этот метод проверяет, существует ли архив и является ли он допустимым архивом ZIP. Существует несколько уровней проверки. (будущее) Параметры : $p_level : Уровень проверки. По умо...
function privCheckFormat($p_level=0) { $v_result = true; // ----- Reset the file system cache clearstatcache(); // ----- Reset the error handler $this->privErrorReset(); // ----- Look if the file exits if (!is_file($this->zipname)) { // ----- Error log PclZip::privErrorLog(PCLZ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function privCheckFormat($p_level = 0)\n {\n }", "function checkZipData(&$data) \n {\n if (strpos($data, $this->_fileHeader) === false) {\n return VWP::raiseWarning(\"Invalid zip file!\",get_class($this),null,false);\n }\n return true;\n }", "public function ...
[ "0.5976033", "0.5849409", "0.5765459", "0.5637146", "0.5624541", "0.55311394", "0.54410756", "0.5425719", "0.54108065", "0.5371291", "0.5357893", "0.53450066", "0.5337512", "0.5317038", "0.5301459", "0.5229163", "0.52240527", "0.50999993", "0.50963116", "0.5066507", "0.506013...
0.86326
0
Function : privParseOptions() Description : This internal methods reads the variable list of arguments ($p_options_list, $p_size) and generate an array with the options and values ($v_result_list). $v_requested_options contains the options that can be present and those that must be present. $v_requested_options is an a...
Функция : privParseOptions() Описание : Этот внутренний метод считывает переменный список аргументов ($p_options_list, $p_size) и формирует массив с параметрами и их значениями ($v_result_list). $v_requested_options содержит параметры, которые могут присутствовать и те, которые обязательно должны присутствовать. $v_req...
function privParseOptions(&$p_options_list, $p_size, &$v_result_list, $v_requested_options=false) { $v_result=1; // ----- Read the options $i=0; while ($i<$p_size) { // ----- Check if the option is supported if (!isset($v_requested_options[$p_options_list[$i]])) { // ----- Error ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function privParseOptions(&$p_options_list, $p_size, &$v_result_list, $v_requested_options = \\false)\n {\n }", "public function processOptions()\n {\n $sShortOptions = '';\n $aLongOptions = [];\n\n foreach ($this->hOptionList as $hOption)\n {\n $sOptionValueMod = '';\n\n if ...
[ "0.88021207", "0.6540564", "0.60831684", "0.59075975", "0.5724236", "0.5569145", "0.55623436", "0.553336", "0.55212295", "0.54978395", "0.5478432", "0.5470514", "0.54243064", "0.5390087", "0.5368621", "0.53647906", "0.5361342", "0.53535867", "0.5349023", "0.5348302", "0.53479...
0.77564824
1
Function : privOptionDefaultThreshold() Description : Parameters : Return Values :
Функция: privOptionDefaultThreshold() Описание: Параметры: Значения возвращаемые:
function privOptionDefaultThreshold(&$p_options) { $v_result=1; if (isset($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD]) || isset($p_options[PCLZIP_OPT_TEMP_FILE_OFF])) { return $v_result; } // ----- Get 'memory_limit' configuration value $v_memory_limit = ini_get('memory_limit'); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function privOptionDefaultThreshold(&$p_options)\n {\n }", "public function getDefaultLevel()\n {\n return 5; # level binh thuong\n }", "public function getDefaultOptions();", "public function getDefaultOptions();", "public function getThreshold()\n {\n return 5000;\n ...
[ "0.87550205", "0.6048812", "0.5959962", "0.5959962", "0.58622044", "0.5858259", "0.58467084", "0.5839094", "0.57967424", "0.57599497", "0.5732836", "0.5635118", "0.55493337", "0.5480354", "0.5449027", "0.542899", "0.5407482", "0.54014146", "0.54014146", "0.54014146", "0.53906...
0.762515
1
Function : privFileDescrParseAtt() Description : Parameters : Return Values : 1 on success. 0 on failure.
Функция: privFileDescrParseAtt() Описание: Параметры: Значения возвращаемые: 1 при успешном выполнении. 0 при неудаче.
function privFileDescrParseAtt(&$p_file_list, &$p_filedescr, $v_options, $v_requested_options=false) { $v_result=1; // ----- For each file in the list check the attributes foreach ($p_file_list as $v_key => $v_value) { // ----- Check if the option is supported if (!isset($v_requested_options...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function privFileDescrParseAtt(&$p_file_list, &$p_filedescr, $v_options, $v_requested_options = \\false)\n {\n }", "protected function _parseDescTag() {}", "public function getFile_att()\n {\n return $this->file_att;\n }", "function _parseAttributes($attr)\n\t{\n\t\t$attribs = \"\"...
[ "0.81099844", "0.5189412", "0.49601766", "0.47835752", "0.4712436", "0.468788", "0.4687677", "0.46648723", "0.46551532", "0.463304", "0.45780143", "0.45418224", "0.45370737", "0.4479383", "0.44743294", "0.44361368", "0.44053513", "0.43945357", "0.43646172", "0.4348035", "0.43...
0.70332766
1
Function : privFileDescrExpand() Description : This method look for each item of the list to see if its a file, a folder or a string to be added as file. For any other type of files (link, other) just ignore the item. Then prepare the information that will be stored for that file. When its a folder, expand the folder w...
Функция: privFileDescrExpand() Описание: Этот метод проверяет каждый элемент списка, чтобы определить, является ли он файлом, папкой или строкой, которая должна быть добавлена как файл. Для любого другого типа файлов (ссылка, другой) элемент игнорируется. Затем готовится информация, которая будет сохранена для этого фа...
function privFileDescrExpand(&$p_filedescr_list, &$p_options) { $v_result=1; // ----- Create a result list $v_result_list = array(); // ----- Look each entry for ($i=0; $i<sizeof($p_filedescr_list); $i++) { // ----- Get filedescr $v_descr = $p_filedescr_list[$i]; // ----- Red...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function privFileDescrExpand(&$p_filedescr_list, &$p_options)\n {\n }", "function expand()\r\n\t{\r\n\t\t$this->subfoldersCollection = new Collection ( );\r\n\r\n\t\tif( $handle = opendir( $this->path ) )\r\n\t\t{\r\n\r\n\t\t\twhile($file = readdir($handle))\r\n\t\t\t{\r\n\t\t\t\tif( !is_file( $thi...
[ "0.7847886", "0.5466186", "0.509477", "0.5089237", "0.5048138", "0.50059354", "0.49665073", "0.49323842", "0.49024263", "0.48731747", "0.48489645", "0.4842086", "0.4835455", "0.48044074", "0.47982985", "0.47931036", "0.4784112", "0.4756112", "0.47400108", "0.47362137", "0.472...
0.7391274
1
Function : privCloseFd() Description : Parameters :
Функция : privCloseFd() Описание : Параметры :
function privCloseFd() { $v_result=1; if ($this->zip_fd != 0) @fclose($this->zip_fd); $this->zip_fd = 0; // ----- Return return $v_result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function privCloseFd()\n {\n }", "function privOpenFd($p_mode)\n {\n }", "protected function _closeFile() {}", "protected function _closeFile() {}", "function _close() {}", "public function __destruct()\n {\n if ( $this->fd )\n {\n fclose( $this->fd...
[ "0.9424037", "0.70847887", "0.6530112", "0.6530112", "0.6287884", "0.62003213", "0.6130137", "0.6108563", "0.60418874", "0.60133356", "0.59578526", "0.59578526", "0.59578526", "0.59578526", "0.59578526", "0.5951303", "0.5893035", "0.5887451", "0.5846441", "0.58381784", "0.581...
0.7990071
1
Function : privAddList() Description : $p_add_dir and $p_remove_dir will give the ability to memorize a path which is different from the real path of the file. This is usefull if you want to have PclTar running in any directory, and memorize relative path from an other directory. Parameters : $p_list : An array contain...
Функция: privAddList() Описание: $p_add_dir и $p_remove_dir позволят запомнить путь, который отличается от реального пути файла. Это полезно, если вы хотите запускать PclTar из любой директории и запоминать относительный путь от другой директории. Параметры: $p_list: массив, содержащий имена файлов или директорий для д...
function privAddList($p_filedescr_list, &$p_result_list, &$p_options) { $v_result=1; // ----- Add the files $v_header_list = array(); if (($v_result = $this->privAddFileList($p_filedescr_list, $v_header_list, $p_options)) != 1) { // ----- Return return $v_result; } // ----- S...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function privAddFileList($p_filedescr_list, &$p_result_list, &$p_options)\n {\n $v_result=1;\n $v_header = array();\n\n // ----- Recuperate the current number of elt in list\n $v_nb = sizeof($p_result_list);\n\n // ----- Loop on the files\n for ($j=0; ($j<sizeof($p_filedescr_list)) && ($v_result...
[ "0.76001054", "0.7499672", "0.7382831", "0.7214512", "0.7169059", "0.70676136", "0.6493461", "0.6285729", "0.61640203", "0.6114925", "0.61112577", "0.60184747", "0.60089785", "0.59778684", "0.5622994", "0.55325705", "0.5514019", "0.54074854", "0.5399447", "0.5305398", "0.5269...
0.7697543
0
Function : privAddFileList() Description : Parameters : $p_filedescr_list : An array containing the file description or directory names to add in the zip $p_result_list : list of added files with their properties (specially the status field) Return Values :
Функция: privAddFileList() Описание: Параметры: $p_filedescr_list: массив, содержащий описание файла или имена директорий для добавления в zip $p_result_list: список добавленных файлов с их свойствами (особенно поле статуса) Значения возвращаемые:
function privAddFileList($p_filedescr_list, &$p_result_list, &$p_options) { $v_result=1; $v_header = array(); // ----- Recuperate the current number of elt in list $v_nb = sizeof($p_result_list); // ----- Loop on the files for ($j=0; ($j<sizeof($p_filedescr_list)) && ($v_result==1); $j++) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function privAddFileList($p_filedescr_list, &$p_result_list, &$p_options)\n {\n }", "function privAddList($p_filedescr_list, &$p_result_list, &$p_options)\n {\n $v_result=1;\n\n // ----- Add the files\n $v_header_list = array();\n if (($v_result = $this->privAddFileList($p_filedescr_li...
[ "0.83963203", "0.8138741", "0.77027345", "0.73331004", "0.72627383", "0.6971666", "0.68766594", "0.6714904", "0.671136", "0.6585921", "0.6263651", "0.59754485", "0.5950883", "0.59473586", "0.587551", "0.55790573", "0.55493903", "0.5547883", "0.5462232", "0.53865206", "0.53613...
0.85905623
0
Function : privCalculateStoredFilename() Description : Based on file descriptor properties and global options, this method calculate the filename that will be stored in the archive. Parameters : Return Values :
Функция : privCalculateStoredFilename() Описание : На основе свойств дескриптора файла и глобальных параметров этот метод вычисляет имя файла, которое будет сохранено в архиве. Параметры : Значения возвращаемые:
function privCalculateStoredFilename(&$p_filedescr, &$p_options) { $v_result=1; // ----- Working variables $p_filename = $p_filedescr['filename']; if (isset($p_options[PCLZIP_OPT_ADD_PATH])) { $p_add_dir = $p_options[PCLZIP_OPT_ADD_PATH]; } else { $p_add_dir = ''; } if (is...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function privCalculateStoredFilename(&$p_filedescr, &$p_options)\n {\n }", "function get_stored_file_name()\n\t{\n\t\tglobal $log;\n\t\t$log->debug(\"Entering get_stored_file_name() method ...\");\n\t\t$log->debug(\"Exiting get_stored_file_name method ...\");\n\t\treturn $this->stored_file_name;\n\...
[ "0.7757541", "0.69363034", "0.65019435", "0.6346255", "0.63144624", "0.62790036", "0.62790036", "0.6187613", "0.61027884", "0.61027884", "0.61027884", "0.6073576", "0.6058989", "0.6047511", "0.60472536", "0.6044619", "0.6012366", "0.6000486", "0.5938293", "0.5933432", "0.5929...
0.7206574
1
Function : privWriteCentralFileHeader() Description : Parameters : Return Values :
Функция: privWriteCentralFileHeader() Описание: Параметры: Значения возвращаемые:
function privWriteCentralFileHeader(&$p_header) { $v_result=1; // TBC //for(reset($p_header); $key = key($p_header); next($p_header)) { //} // ----- Transform UNIX mtime to DOS format mdate/mtime $v_date = getdate($p_header['mtime']); $v_mtime = ($v_date['hours']<<11) + ($v_date['minutes...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function privWriteCentralFileHeader(&$p_header)\n {\n }", "function privWriteCentralHeader($p_nb_entries, $p_size, $p_offset, $p_comment)\n {\n $v_result=1;\n\n // ----- Packed data\n $v_binary_data = pack(\"VvvvvVVv\", 0x06054b50, 0, 0, $p_nb_entries,\n\t $p_nb_entri...
[ "0.8328342", "0.7438683", "0.7429543", "0.7248362", "0.70280993", "0.6894251", "0.6507168", "0.64625573", "0.63687366", "0.6270312", "0.61993295", "0.61520624", "0.5922622", "0.58756185", "0.58418024", "0.5810178", "0.5775231", "0.573236", "0.56777346", "0.5672246", "0.560215...
0.7732477
1
Function : privConvertHeader2FileInfo() Description : This function takes the file informations from the central directory entries and extract the interesting parameters that will be given back. The resulting file infos are set in the array $p_info $p_info['filename'] : Filename with full path. Given by user (add), ext...
Функция: privConvertHeader2FileInfo() Описание: Эта функция получает информацию о файле из записей центральной директории и извлекает интересующие параметры, которые будут возвращены. Полученные сведения о файле устанавливаются в массив $p_info $p_info['filename'] : Имя файла с полным путем. Предоставляется пользовател...
function privConvertHeader2FileInfo($p_header, &$p_info) { $v_result=1; // ----- Get the interesting attributes $v_temp_path = PclZipUtilPathReduction($p_header['filename']); $p_info['filename'] = $v_temp_path; $v_temp_path = PclZipUtilPathReduction($p_header['stored_filename']); $p_info['sto...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function privConvertHeader2FileInfo($p_header, &$p_info)\n {\n }", "function privReadCentralFileHeader(&$p_header)\n {\n $v_result=1;\n\n // ----- Read the 4 bytes signature\n $v_binary_data = @fread($this->zip_fd, 4);\n $v_data = unpack('Vid', $v_binary_data);\n\n // ----- Check si...
[ "0.8352103", "0.65080076", "0.6379437", "0.62060595", "0.62006116", "0.6163433", "0.6156869", "0.6146675", "0.61191404", "0.6061295", "0.6007735", "0.59331673", "0.59032226", "0.577679", "0.57577395", "0.57150227", "0.5695612", "0.5669198", "0.564941", "0.5643859", "0.5604558...
0.85069656
0
Function : privExtractByRule() Description : Extract a file or directory depending of rules (by index, by name, ...) Parameters : $p_file_list : An array where will be placed the properties of each extracted file $p_path : Path to add while writing the extracted files $p_remove_path : Path to remove (from the file memo...
Функция: privExtractByRule() Описание: Извлечение файла или директории в зависимости от правил (по индексу, по имени и т.д.) Параметры: $p_file_list: Массив, в который будут помещены свойства каждого извлеченного файла $p_path: Путь, который будет добавлен при записи извлеченных файлов $p_remove_path: Путь, который буд...
function privExtractByRule(&$p_file_list, $p_path, $p_remove_path, $p_remove_all_path, &$p_options) { $v_result=1; // ----- Magic quotes trick $this->privDisableMagicQuotes(); // ----- Check the path if ( ($p_path == "") || ( (substr($p_path, 0, 1) != "/") && (substr($p_path, 0, 3...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function privExtractByRule(&$p_file_list, $p_path, $p_remove_path, $p_remove_all_path, &$p_options)\n {\n }", "function privDeleteByRule(&$p_result_list, &$p_options)\n {\n $v_result=1;\n $v_list_detail = array();\n\n // ----- Open the zip file\n if (($v_result=$this->privOpenFd('rb'))...
[ "0.8489867", "0.70130414", "0.61407214", "0.599712", "0.5695881", "0.5361477", "0.5254468", "0.5250733", "0.51502836", "0.5073127", "0.50641173", "0.5007814", "0.49479762", "0.49298295", "0.48828158", "0.4677085", "0.46131825", "0.45976803", "0.45455936", "0.45129007", "0.447...
0.794669
1
Function : privExtractFile() Description : Parameters : Return Values : 1 : ... ? PCLZIP_ERR_USER_ABORTED(2) : User ask for extraction stop in callback
Функция: privExtractFile() Описание: Параметры: Значения возвращаемые: 1: ... ? PCLZIP_ERR_USER_ABORTED(2) : Пользователь запросил остановку извлечения в callback
function privExtractFile(&$p_entry, $p_path, $p_remove_path, $p_remove_all_path, &$p_options) { $v_result=1; // ----- Read the file header if (($v_result = $this->privReadFileHeader($v_header)) != 1) { // ----- Return return $v_result; } // ----- Check that the file header is co...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function privExtractFileInOutput(&$p_entry, &$p_options)\n {\n $v_result=1;\n\n // ----- Read the file header\n if (($v_result = $this->privReadFileHeader($v_header)) != 1) {\n return $v_result;\n }\n\n\n // ----- Check that the file header is coherent with $p_entry info\n if ($this->privCh...
[ "0.7999149", "0.75025535", "0.7480575", "0.73845756", "0.6959664", "0.68677527", "0.65653676", "0.6485389", "0.6401533", "0.6280915", "0.62489426", "0.62033767", "0.6052156", "0.6036367", "0.59835607", "0.59694606", "0.58742887", "0.5867084", "0.57091796", "0.5696901", "0.565...
0.7556415
1
Function : privExtractFileUsingTempFile() Description : Parameters : Return Values :
Функция: privExtractFileUsingTempFile() Описание: Параметры: Значения возвращаемые:
function privExtractFileUsingTempFile(&$p_entry, &$p_options) { $v_result=1; // ----- Creates a temporary file $v_gzip_temp_name = PCLZIP_TEMPORARY_DIR.uniqid('pclzip-').'.gz'; if (($v_dest_file = @fopen($v_gzip_temp_name, "wb")) == 0) { fclose($v_file); PclZip::privErrorLog(PCLZIP_ERR_WR...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function privExtractFileUsingTempFile(&$p_entry, &$p_options)\n {\n }", "private function createTemporaryFile()\n {\n return $this->temp[] = tempnam(sys_get_temp_dir(), 'sqon-');\n }", "public function getConvertedTempFile()\n\t{\n\n\t\t$file = array(\"name\" => StringHelper::sub...
[ "0.819732", "0.67595655", "0.6683417", "0.6497811", "0.64864326", "0.6457809", "0.6440806", "0.63782537", "0.6373941", "0.6361485", "0.63537806", "0.6335085", "0.625971", "0.6213689", "0.6165956", "0.61020416", "0.6039099", "0.59871274", "0.5958871", "0.5941236", "0.5940884",...
0.7213107
1
Function : privExtractFileInOutput() Description : Parameters : Return Values :
Функция: privExtractFileInOutput() Описание: Параметры: Значения возвращаемые:
function privExtractFileInOutput(&$p_entry, &$p_options) { $v_result=1; // ----- Read the file header if (($v_result = $this->privReadFileHeader($v_header)) != 1) { return $v_result; } // ----- Check that the file header is coherent with $p_entry info if ($this->privCheckFileHeaders($...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function privExtractFileInOutput(&$p_entry, &$p_options)\n {\n }", "function privExtractFile(&$p_entry, $p_path, $p_remove_path, $p_remove_all_path, &$p_options)\n {\n }", "function privExtractFile(&$p_entry, $p_path, $p_remove_path, $p_remove_all_path, &$p_options)\n {\n $v_res...
[ "0.7689114", "0.7043727", "0.66559786", "0.6572085", "0.64576477", "0.63243204", "0.62147814", "0.6213415", "0.6145779", "0.60656255", "0.6051212", "0.5849641", "0.58430815", "0.5742561", "0.57366306", "0.5715376", "0.5698106", "0.5679446", "0.5673311", "0.56674033", "0.56511...
0.71009284
1
Function : privReadCentralFileHeader() Description : Parameters : Return Values :
Функция : privReadCentralFileHeader() Описание : Параметры : Значения возвращаемые:
function privReadCentralFileHeader(&$p_header) { $v_result=1; // ----- Read the 4 bytes signature $v_binary_data = @fread($this->zip_fd, 4); $v_data = unpack('Vid', $v_binary_data); // ----- Check signature if ($v_data['id'] != 0x02014b50) { // ----- Error log PclZip::privEr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function privReadCentralFileHeader(&$p_header)\n {\n }", "function privWriteCentralFileHeader(&$p_header)\n {\n }", "function privCheckFileHeaders(&$p_local_header, &$p_central_header)\n {\n }", "function privWriteCentralFileHeader(&$p_header)\n {\n $v_result=1;\...
[ "0.84444565", "0.6897418", "0.6753987", "0.6690093", "0.664934", "0.6491208", "0.6484998", "0.6225779", "0.62245464", "0.62241626", "0.62232167", "0.6214149", "0.61838204", "0.6178649", "0.6113943", "0.60330486", "0.6002821", "0.5941355", "0.59376884", "0.5866967", "0.5852289...
0.7267489
1