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
Load a feed group.
Загрузить группу источников.
function feed_group_load($fgid, $reload = FALSE) { $feed_groups = &drupal_static(__FUNCTION__); if (!isset($feed_groups)) { $feed_groups = array(); } if ($reload || !isset($feed_groups[$fgid])) { $feed_groups[$fgid] = db_query('SELECT * FROM {feed_group} WHERE fgid = :fgid', array(':fgid' => $...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function load($group, $namespace = null)\n {\n\n }", "public function load($object, $group);", "function feed_group_load_all($reload = FALSE) {\r\n $feed_groups = drupal_static(__FUNCTION__);\r\n\r\n if ($reload || !isset($feed_groups)) {\r\n $feed_groups = db_query('SELECT * FROM {feed_group...
[ "0.67313045", "0.6652382", "0.66042864", "0.6578467", "0.6343336", "0.6253781", "0.6127191", "0.6037675", "0.6028909", "0.5994464", "0.59204555", "0.58157235", "0.5750111", "0.5672107", "0.5640423", "0.5553457", "0.5553457", "0.5504977", "0.54481965", "0.53728586", "0.5315029...
0.7103404
0
Save a feed group.
Сохранить группу источников.
function feed_group_save(&$feed_group, DatabaseTransaction $transaction = NULL) { if (!$transaction) { $transaction = db_transaction(); } try { if (!$status = drupal_write_record('feed_group', $feed_group, isset($feed_group->fgid) ? 'fgid' : array())) { throw new Exception('Could not save fe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function saveGroup($group) {\n\t\t$link = $this->getLink();\n\t\t$link->set($this->prefix, $group);\n\t}", "public function saveEditedGroupData($group) {\n\t\t\t$info = getRequest('data');\n\n\t\t\t$title = getArrayKey($info, 'title');\n\t\t\t$name = getArrayKey($info, 'name');\n\t\t\t$is_visible = get...
[ "0.70296246", "0.6836482", "0.63710254", "0.61832815", "0.6159039", "0.6128358", "0.602537", "0.60178167", "0.599285", "0.5972469", "0.5964935", "0.58654183", "0.5822486", "0.58191466", "0.5808867", "0.58084476", "0.57926273", "0.5737147", "0.5736116", "0.5722932", "0.5691452...
0.75596416
0
Deletes a feed group from the database.
Удаляет группу подачи из базы данных.
function feed_group_delete($feed_group, DatabaseTransaction $transaction = NULL) { if (!$transaction) { $transaction = db_transaction(); } try { if (isset($feed_group->fgid)) { db_delete('feed_user_group') ->condition('fgid', $feed_group->fgid) ->execute(); d...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function delete() {\r\n\r\n // Does the Group object have an ID?\r\n if ( is_null( $this->id ) ) trigger_error ( \"Group::delete(): Attempt to delete a Group object that does not have it's ID property set.\", E_USER_ERROR );\r\n\r\n // Delete the Group\r\n $conn = new PDO( DB_DSN, DB_USERNAME, D...
[ "0.7404678", "0.73116165", "0.7164848", "0.7118741", "0.7073291", "0.70474994", "0.7047259", "0.7014664", "0.7010885", "0.6934376", "0.68701065", "0.6827015", "0.6763026", "0.6722931", "0.66928047", "0.66266817", "0.6604109", "0.6596553", "0.6595823", "0.6564019", "0.65456647...
0.78564787
0
Configure feed group object/ensure defaults
Настройка объекта группы источников/обеспечение значений по умолчанию
function feed_group_defaults($feed_group = NULL) { $feed_group = (object) $feed_group; if (!isset($feed_group->name)) $feed_group->name = ''; if (!isset($feed_group->description)) $feed_group->description = ''; return $feed_group; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function setupNewsgroups() {\n\t\t$this->setIfNot('hdr_group', 'free.pt');\n\t\t$this->setIfNot('nzb_group', 'alt.binaries.ftd');\n\t\t$this->setIfNot('comment_group', 'free.usenet');\n\t\t$this->setIfNot('report_group', 'free.willey');\n\t\t$this->setIfNot('report_group', 'free.willey');\n\t}", "protected funct...
[ "0.6332594", "0.61121285", "0.6087794", "0.60246885", "0.5971897", "0.5884989", "0.58366334", "0.5818766", "0.57180583", "0.56746507", "0.5625052", "0.5622681", "0.5597596", "0.5524353", "0.5522548", "0.55192906", "0.5510393", "0.55086046", "0.5486671", "0.5445427", "0.544268...
0.7681946
0
Test case for getMethodsForType .
Тестовый случай для getMethodsForType.
public function testGetMethodsForType() { // TODO: implement $this->markTestIncomplete('Not implemented'); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getMethods();", "public function getMethods();", "public function getMethods();", "public function testGetGetMethodType() {\n $type = new MethodEnum();\n $this->assertSame('GET', MethodEnum::GET);\n $this->assertSame('GET', $type(MethodEnum::GET));\n }", "protected s...
[ "0.68202007", "0.68202007", "0.68202007", "0.67550594", "0.65900546", "0.64413714", "0.64343625", "0.64343625", "0.6415712", "0.64050245", "0.62650466", "0.6201592", "0.61898875", "0.61770296", "0.61770296", "0.61770296", "0.61770296", "0.61770296", "0.61770296", "0.61770296", ...
0.8257954
0
Loads types. Do nothing if types are already loaded.
Загружает типы. Не делает ничего, если типы уже загружены.
private function loadTypes() { if(!empty($this->types)) return; $this->types = $this->doctrine ->getManager() ->getRepository('FenchyNoticeBundle:Type') ->getFilterTypes(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function loadPropertyTypes() {\n\t\tif (empty($this->cachedPropertyTypes)) {\n\t\t\t$completePropertyTypeConfiguration = $this->configurationManager->getConfiguration('PropertyTypes');\n\t\t\tforeach (array_keys($completePropertyTypeConfiguration) as $propertyTypeName) {\n\t\t\t\t$this->loadPropertyType(...
[ "0.70187193", "0.6883909", "0.6377457", "0.63725215", "0.6259594", "0.62545794", "0.61661005", "0.6124718", "0.60925436", "0.6086296", "0.6084011", "0.60747355", "0.6071004", "0.6054401", "0.60459906", "0.6020127", "0.5962355", "0.59580743", "0.59081197", "0.59028834", "0.586...
0.77299094
0
Returns Type with given $id if it exists in $this>types. Loads types automatically.
Возвращает тип с заданным $id, если он существует в $this>types. Загружает типы автоматически.
private function getType($id) { $this->loadTypes(); foreach ($this->types as $type) { if ($type->getId() === $id) return $type; } return NULL; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function get_type_from_id($id)\n\t{\n\t\treturn $this->types->get($id);\n\t}", "public function getType($id)\n {\n if (null === $id) {\n // The caller might call us using a row from database that contains\n // a strict null, it is useless for us to do any query since nul...
[ "0.82675725", "0.7312731", "0.7176099", "0.7089964", "0.69606286", "0.69304967", "0.67859876", "0.6773963", "0.6739206", "0.6709884", "0.67054445", "0.6672108", "0.66675943", "0.654293", "0.65428364", "0.6488677", "0.6487765", "0.6465048", "0.64216244", "0.6420363", "0.641006...
0.85471976
0
Checks if all elements of given array are array and has not 'checked' => TRUE pair.
Проверяет, являются ли все элементы заданного массива массивами и не имеют ли они пары 'checked' => TRUE.
private function allUnchecked($arr) { foreach($arr as $data) { if(is_array($data) && array_key_exists('checked', $data) && $data['checked']) return FALSE; } return TRUE; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function mswCheckedArrItem($arr,$value) {\n return (in_array($value,$arr) ? ' checked=\"checked\"' : '');\n}", "private function isTrueArray($array) {\n if (is_array($array) && isset($array) && count($array)) {\n return TRUE;\n } else {\n return FALSE;\n }\n }", "function array_is_multi(ar...
[ "0.65396506", "0.6425165", "0.6097798", "0.60836565", "0.60554713", "0.6044041", "0.6037862", "0.5992199", "0.59335625", "0.59217143", "0.5915608", "0.5915253", "0.5887036", "0.5880771", "0.58535385", "0.5828276", "0.58263665", "0.5767761", "0.5766908", "0.5752584", "0.574668...
0.7675187
0
Returns array with two elements $dateStart and $dateEnd. Dates value depends on filter['postDate']. Use list() to split result into 2 \DateTime objects.
Возвращает массив с двумя элементами $dateStart и $dateEnd. Значения дат зависят от filter['postDate']. Используйте list(), чтобы разделить результат на 2 объекта \DateTime.
private function getPostDateRange() { switch($this->validFilter['postDate']) { case 'today' : $dateStart = new \DateTime(); $dateStart->setTime(0, 0, 1); $dateEnd = new \DateTime(); $dateEnd->setTime(23, 59, 59); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function getDateFilterSelectedRange() {\n $from = $this->getAdditionalProperty('date_filter_from');\n $to = $this->getAdditionalProperty('date_filter_to');\n \n return $from && $to ? array(new DateValue($from), new DateValue($to)) : array(null, null);\n }", "public function get_dates($star...
[ "0.6635562", "0.6504175", "0.644068", "0.6388683", "0.63828176", "0.635763", "0.63317096", "0.63074416", "0.6301163", "0.6292293", "0.62516654", "0.6235101", "0.61648023", "0.61473364", "0.6127843", "0.61038303", "0.60810167", "0.6079672", "0.6071515", "0.6064179", "0.606254"...
0.84225726
0
/Devuelve la marca del Autobus
Возвращает марку автобуса
public function getMarca(){ return $this->marca;}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getMarca()\n {\n return $this->marca;\n }", "public function getMarca()\n {\n return $this->marca;\n }", "public function getMarca()\n {\n return $this->marca;\n }", "public function getMarca()\n {\n ...
[ "0.6811935", "0.6811935", "0.6811935", "0.67601126", "0.67601126", "0.66971576", "0.64140517", "0.6386389", "0.6372396", "0.63302875", "0.62471455", "0.62255996", "0.620724", "0.6165332", "0.6085181", "0.60297954", "0.5986819", "0.5952137", "0.5943297", "0.5921478", "0.590674...
0.72514796
0
Render the username not found error page
Показать страницу ошибки "пользователь не найден"
public function renderFailSearch( $username ) { $view_data[ 'page_title' ] = 'User Not Found'; $view_data[ 'username_not_found' ] = $username; $this->renderTemplate( 'templates/header.php', $view_data ); $this->renderTemplate( 'templates/error_view.php', $view_data ); $this->renderTe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function notfoundAction()\n {\n $this->render('error/notfound');\n }", "private static function get_user_not_found_error_message(string $username)\n {\n }", "public function userNotExists()\n {\n $action = __NAMESPACE__ . '\\actions\\UserNotExists';\n\n $resul...
[ "0.7291146", "0.7275868", "0.6878819", "0.6865684", "0.68165445", "0.6707152", "0.6684912", "0.66708887", "0.6639411", "0.6632302", "0.6619397", "0.65992284", "0.65365523", "0.6506427", "0.64909285", "0.648998", "0.6479759", "0.6467719", "0.6380547", "0.6378798", "0.6372335",...
0.7922799
0
Render the user id not found error page
Отобразить страницу ошибки "пользователь не найден"
public function renderUserNotExist( $id ) { $view_data[ 'page_title' ] = 'User Not Found'; $view_data[ 'user_id_not_found' ] = $id; $this->renderTemplate( 'templates/header.php', $view_data ); $this->renderTemplate( 'templates/error_view.php', $view_data ); $this->renderTemplate( 'te...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function userNotFound($id) {\n\t $this->_lahaina->setData('message', new Warning('Es wurde kein Benutzer mit der ID <b>' . $id . '</b> gefunden'));\n\t return $this->index();\n\t}", "public function notfoundAction()\n {\n $this->render('error/notfound');\n }", "function myNotFound()\...
[ "0.74836874", "0.73673636", "0.6994254", "0.69089836", "0.6872619", "0.6806226", "0.68021905", "0.678425", "0.6782104", "0.67780066", "0.6757975", "0.67383116", "0.6737125", "0.6714177", "0.66539013", "0.6603178", "0.65990436", "0.6588262", "0.6567887", "0.6554725", "0.655267...
0.7802315
0
Render the pet id not found error page
Отобразить страницу ошибки "идентификатор питомца не найден"
public function renderPetNotExist( $id ) { $view_data[ 'page_title' ] = 'Pet Not Found'; $view_data[ 'pet_id_not_found' ] = $id; $this->renderTemplate( 'templates/header.php', $view_data ); $this->renderTemplate( 'templates/error_view.php', $view_data ); $this->renderTemplate( 'templ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function notfoundAction()\n {\n $this->render('error/notfound');\n }", "public function error404() {\n\t\t$this->render('error400');\n\t}", "public function Error404() {\n\t\t$this -> Render();\n\t}", "function myNotFound()\n{\n global $app, $globalSettings;\n $app->render('error.ht...
[ "0.737055", "0.7101148", "0.7090446", "0.7048183", "0.70442426", "0.7017874", "0.7011069", "0.6978391", "0.69412637", "0.68801105", "0.6874284", "0.68722576", "0.6861826", "0.68577623", "0.68422556", "0.67687744", "0.67557913", "0.67476344", "0.67092115", "0.6704181", "0.6700...
0.78664
0
Render the pet cannot be edited error page
Страница ошибки "Питомца нельзя редактировать"
public function renderEditPetNotAllowed( $pet ) { $view_data[ 'page_title' ] = 'Pet Edit Not Allowed'; $view_data[ 'pet_edit_not_allowed' ] = $pet; $this->renderTemplate( 'templates/header.php', $view_data ); $this->renderTemplate( 'templates/error_view.php', $view_data ); $this->ren...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function renderAsError() {}", "public function actionError() {\n\t if($error=app()->errorHandler->error) {\t\t\n\t \tif(app()->request->isAjaxRequest)\n\t \t\techo $error['message'];\n\t \telse {\n\t\t\t\t$row = Pagecontent::model()->getPageContent('pagenotfound'); // get the page content f...
[ "0.7234574", "0.703384", "0.7020205", "0.68729466", "0.66936463", "0.6692455", "0.66728944", "0.66493607", "0.66428405", "0.6587598", "0.6553693", "0.65529895", "0.6515187", "0.65146846", "0.6455036", "0.6439425", "0.64365554", "0.6410373", "0.64095134", "0.64024144", "0.6399...
0.7180209
1
Retrieve the list of registered feeds
Получить список зарегистрированных фидов
public function getRegisteredFeeds(): array { return array_unique( $this->_feedUrls ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getFeeds()\n {\n /** @var WebApplication|ConsoleApplication $this */\n return $this->get('feeds');\n }", "public function getFeeds()\n {\n\n return $this->getFeedMapper()->findByAndOrderBy(array(), array('updated_at' => 'DESC'));\n }", "public function index()\n...
[ "0.731179", "0.72707325", "0.7241411", "0.7210787", "0.7124265", "0.71181834", "0.69960093", "0.69351715", "0.6891191", "0.6862064", "0.67564934", "0.6724814", "0.67048645", "0.6652914", "0.66224396", "0.6621747", "0.66036516", "0.6584511", "0.6550291", "0.65154624", "0.65063...
0.7763064
0
Process feeds and import content
Обработка потоков и импорт содержимого
public function process() { if ( empty( $this->_feedUrls ) ) { throw new \Exception( __( 'a.[FeedImporter] Please register some feeds first.' ) ); } $syn = new FeedReader(); foreach ( $this->_feedUrls as $feedUrl ) { $feed = Feed::where( 'url', $feedUrl )->f...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function _atos_esuite_process_feed($url) {\n if (!strstr($url, '://')) {\n $filename = $url;\n }\n else {\n // Given URI is an URL, download this file first.\n $filename = 'temporary://import_' . md5(time() . $url) . '.xml';\n if (!$data = drupal_http_request($url)) {\n return FALSE;\n }\n ...
[ "0.6773863", "0.6523067", "0.64305747", "0.6331776", "0.6327559", "0.63003445", "0.621136", "0.6210596", "0.6166796", "0.6166557", "0.61342883", "0.61315507", "0.61164165", "0.609474", "0.60943896", "0.6031685", "0.5974206", "0.5968423", "0.59126955", "0.5899828", "0.58471763...
0.7809229
0
Retrieve the ID for the specified tag name. Attempts to create it if it doesn't exist.
Получите ID для указанного имени тега. Попытается создать его, если он не существует.
private function __getCreateTagID( $name ) { $name = mb_convert_encoding( $name, 'utf-8', 'auto' ); $name = wp_kses( $name, [] ); $slug = Str::slug( $name ); if ( empty( $slug ) ) { return false; } if ( !Util::isUniqueTagSlug( $slug, $this->languageID, $...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static function get_tag_id($tag_name) {\n global $wpdb;\n $query = \"SELECT id FROM XTB_TAGS WHERE name = '{$tag_name}'\";\n return $wpdb->get_var($query);\n }", "public static function get_tag_id($tag_name) {\n try {\n $db = ADODB::connect();\n $row = ...
[ "0.764909", "0.74876624", "0.7186286", "0.7037453", "0.683605", "0.6737565", "0.6611945", "0.65745294", "0.6537754", "0.6530117", "0.64322436", "0.6080406", "0.60718733", "0.6035842", "0.6019279", "0.5931905", "0.5916476", "0.58820826", "0.5877107", "0.5851394", "0.5837696", ...
0.75596046
1
returns navigation menu for image view
возвращает навигационное меню для просмотра изображения
function getNavMenu() { $PView = new PView; $Appl = $PView -> getAppl(); $page = 1; global $applImages; $imagesData = $PView->sortApplImages($applImages); foreach($imagesData as $key => $dataset){ if ($dataset['imageId'] == $Appl[1]){ $currImage = $key; } } //back to list ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function getImageMenu() {\r\r\n\t$PView = new PView;\r\r\n\t$Appl = $PView -> getAppl();\r\r\n\t$ImageData = $PView -> getImageData($Appl[1]);\r\r\n\t// button for printerfriendly page\r\r\n\tif ($PView -> getPView_config(\"print\") OR (ADMIN && $PView -> getPView_config(\"admin_Mode\"))){\r\r\n\t\tif ($PView -> g...
[ "0.7137764", "0.6883012", "0.66840535", "0.66554624", "0.66487783", "0.6583704", "0.65821314", "0.65580153", "0.64436245", "0.6440568", "0.6428609", "0.64227545", "0.64122295", "0.64122295", "0.64122295", "0.64122295", "0.64122295", "0.64122295", "0.6402245", "0.63713944", "0...
0.7540437
0
returns menu for gallery view
возвращает меню для просмотра галереи
function getGalleryMenu($galType) { $PView = new PView; $Appl = $PView -> getAppl(); if ($galType == "main") { // PERMISSION!!! if ($PView -> getPermission("gallery",$Appl[1],"CreateAlbum")) { $galMenu = "<a href='".e_PLUGIN."pviewgallery/pview_actions.php?gallery=".$Appl[1]."&amp;action=newalbum'...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function getImageMenu() {\r\r\n\t$PView = new PView;\r\r\n\t$Appl = $PView -> getAppl();\r\r\n\t$ImageData = $PView -> getImageData($Appl[1]);\r\r\n\t// button for printerfriendly page\r\r\n\tif ($PView -> getPView_config(\"print\") OR (ADMIN && $PView -> getPView_config(\"admin_Mode\"))){\r\r\n\t\tif ($PView -> g...
[ "0.6978635", "0.6939718", "0.68951446", "0.6891875", "0.6868515", "0.68593395", "0.6808485", "0.6728416", "0.6674207", "0.6674012", "0.66439587", "0.66439587", "0.66439587", "0.66439587", "0.66439587", "0.66439587", "0.6642972", "0.6634253", "0.663418", "0.663418", "0.6621525...
0.7504138
0
returns menu for album view
возвращает меню для просмотра альбома
function getAlbumMenu() { $PView = new PView; $Appl = $PView -> getAppl(); $AlbumMenu.= "<form action='".e_SELF."?".e_QUERY."' method='post'>"; // PERMISSION!!! if ($PView -> getPermission("album",$Appl[1],"CreateAlbum")) { $AlbumMenu.= " <a href='".e_PLUGIN."pviewgallery/pview_actions.php?album=...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function albums_menu( $request ) {\r\n // so we have a menu item if we have both a user, and are in the first sub\r\n // once we decend in to albums, we don't show this button\r\n $user = \\Profile\\profileHandler::getProfileId( $request );\r\n\r\n if ($user) {\r\n $path = $request->getRequestVa...
[ "0.7718681", "0.72037363", "0.6858056", "0.6618823", "0.65329456", "0.6445399", "0.64071065", "0.64066535", "0.64066535", "0.64066535", "0.64066535", "0.64066535", "0.64066535", "0.64056534", "0.639246", "0.63882715", "0.6377902", "0.6318225", "0.62773496", "0.6269042", "0.62...
0.75210834
1
returns menu for image view
возвращает меню для просмотра изображения
function getImageMenu() { $PView = new PView; $Appl = $PView -> getAppl(); $ImageData = $PView -> getImageData($Appl[1]); // button for printerfriendly page if ($PView -> getPView_config("print") OR (ADMIN && $PView -> getPView_config("admin_Mode"))){ if ($PView -> getPermission("config","permPrint",...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getMenu();", "function getNavMenu() {\r\r\n\t$PView = new PView;\r\r\n\t$Appl = $PView -> getAppl();\r\r\n\t$page = 1;\r\r\n\r\r\n\tglobal $applImages;\r\r\n\t$imagesData = $PView->sortApplImages($applImages);\r\r\n\t\r\r\n\tforeach($imagesData as $key => $dataset){\r\r\n\t\tif ($dataset['imageId...
[ "0.694878", "0.6871494", "0.6787756", "0.67719877", "0.67649305", "0.67649305", "0.67649305", "0.67649305", "0.67649305", "0.67649305", "0.6547389", "0.649532", "0.6394339", "0.63663834", "0.63622326", "0.6347615", "0.63466394", "0.6346005", "0.63335", "0.62522346", "0.622553...
0.772378
0
Redirect to the upgrader script.
Перенаправить на скрипт обновления.
public function upgrader() { $keep = symbol_tempcode('KEEP', array('1')); $url = get_base_url() . '/upgrader.php' . $keep->evaluate(); return redirect_screen($this->title, $url); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function redirect() {\n if (!$this->programmed && !$this->request['rebuild'] && $this->destination) {\n if (drupal_installation_attempted()) {\n install_goto($this->destination['path']);\n }\n else {\n drupal_goto($this->destination['path'], $this->destination['options'], $this->des...
[ "0.65981495", "0.622325", "0.62131727", "0.6173048", "0.6007056", "0.6003846", "0.5881189", "0.58613384", "0.5834397", "0.58260167", "0.5765357", "0.5740897", "0.5634279", "0.5572324", "0.55358815", "0.55140656", "0.5459196", "0.54312086", "0.5424311", "0.5423", "0.54123604",...
0.7448566
0
Redirect to the backend script.
Перенаправить на скрипт бэкенда.
public function backend() { $keep = symbol_tempcode('KEEP', array('1')); $url = get_base_url() . '/backend.php' . $keep->evaluate(); return redirect_screen($this->title, $url); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function sendRedirect() {}", "abstract protected function redirect();", "public function redirect();", "public function redirect();", "public function redirect();", "abstract protected function redirectTo();", "public function redirect(): void\n {\n $this->admin->redirect($this->redire...
[ "0.693655", "0.69027394", "0.68969053", "0.68969053", "0.68969053", "0.6834222", "0.68227184", "0.67585796", "0.67166036", "0.6680101", "0.6555122", "0.6532885", "0.65186024", "0.6511052", "0.64852154", "0.64746964", "0.6470729", "0.64696914", "0.6469141", "0.63933694", "0.63...
0.7257553
0
Redirect to the code_editor script.
Перенаправить в скрипт code_editor.
public function code_editor() { $keep = symbol_tempcode('KEEP', array('1')); $url = get_base_url() . '/code_editor.php' . $keep->evaluate(); return redirect_screen($this->title, $url); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function redirectToTool() {}", "public function code_editor()\n\t{\n\t\tif($this->isLoggedIn())\n\t\t{\n\t\t\t$group = $this->session->userdata['role'];\n\t\t\t$data['menu'] = $this->Menu_model->getMenuItems($group);\n\t\t\t$data['company_info'] = $this->Settings_model->get_company_info();\n\t\t\t$data...
[ "0.6185251", "0.6163389", "0.6055935", "0.5611285", "0.55194056", "0.5370947", "0.53404224", "0.5321617", "0.52789664", "0.52786124", "0.5239575", "0.5188341", "0.5186184", "0.5158668", "0.51316524", "0.51308805", "0.51072204", "0.51020634", "0.5093273", "0.508281", "0.507908...
0.7205829
0
The UI actualiser edit the breadcrumbs XML file.
UI-актуализатор изменяет файл XML с хлебными крошками.
public function _xml_breadcrumbs() { require_code('files'); $full_path = get_custom_file_base() . '/data_custom/xml_config/breadcrumbs.xml'; $xml = post_param_string('xml'); cms_file_put_contents_safe($full_path, $xml, FILE_WRITE_FIX_PERMISSIONS | FILE_WRITE_SYNC_FILE); log_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function _update_breadcrumb_line()\n {\n $tmp = Array();\n\n $tmp[] = Array\n (\n MIDCOM_NAV_URL => \"/\",\n MIDCOM_NAV_NAME => $this->_l10n->get('index'),\n );\n\n $_MIDCOM->set_custom_context_data('midcom.helper.nav.breadcrumb', $tmp);\n }", "publi...
[ "0.6723038", "0.629831", "0.57835776", "0.56935936", "0.56269324", "0.5485952", "0.54342514", "0.5389251", "0.5370227", "0.53471285", "0.5335589", "0.5324313", "0.52483255", "0.52436435", "0.5203396", "0.5188656", "0.518837", "0.5184141", "0.5181983", "0.5150806", "0.5126344"...
0.7512586
0
purpose:display process action buttons according to object and wfstate of object params:$item (player,lineup,team),$processstate(1..6) returns:HTML TABLE with lsdb_buttons and comment field
purpose: отображать кнопки действий процесса в зависимости от объекта и wfstate параметров объекта:$item (player,lineup,team),$processstate(1..6) returns:HTML TABLE с lsdb_buttons и полем комментария
function _show_process_buttons($item,&$obj){ global $usertoken; #debug($usertoken); $adm=0; $processstate=$obj['wfstate_id']; switch($usertoken['usertype_id']){ case 4: #TODO replace by Access Lookup ... ==> Message Group Membership !! #TODO is member of ligaadmin level 3 ??? break...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function show_process_table(&$processes_list_data, $total_number)\n\t\t{\n\t\t\t//this is necessary for sorting\n\t\t\t$header_array = array(\n\t\t\t\t'wf_name'\t=> lang('Name'),\n\t\t\t\t'wf_is_active'\t=> lang('active'),\n\t\t\t\t'wf_is_valid'\t=> lang('valid'),\n\t\t\t\t\t\t);\n\t\t\t\t\t \t$this->fill_nextmatc...
[ "0.6354478", "0.5667821", "0.5635167", "0.5483081", "0.54670674", "0.5412134", "0.5389719", "0.53797734", "0.5336655", "0.53296256", "0.5322294", "0.53181916", "0.5306685", "0.5298468", "0.5290997", "0.5257139", "0.5247801", "0.52352405", "0.52223724", "0.52113646", "0.521119...
0.8063172
0
table_format is as seen above, table_data is a two dimensional array of data meta vars are: alt_class, caption, class, extra_html, init_sort_column, no_data, sortable, totals init_sort_column is an array of the format col => dir where dir is 0 for ASC and 1 for DESC
Формат таблицы такой, как показано выше, table_data — это двумерный массив данных. Мета-переменные: alt_class, caption, class, extra_html, init_sort_column, no_data, sortable, totals. init_sort_column — это массив в формате col => dir, где dir — 0 для ASC и 1 для DESC.
function get_table($table_format, $table_data, $meta = null) { $meta_defaults = [ 'alt_class' => 'alt', 'caption' => '', 'class' => 'datatable', 'extra_html' => '', 'init_sort_column' => null, 'no_data' => 'There is no data', 'sortable' => false, 'totals' => false, ]; $opts = array_merge($meta_defau...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function FancyTable($data, $type, $sortby) {\r\n $this->SetFillColor(255, 0, 0);\r\n $this->SetTextColor(255);\r\n // $this->SetDrawColor(128, 0, 0);\r\n $this->SetLineWidth(.3);\r\n $this->SetFont('Arial', 'B', 14);\r\n\r\n // Color and font restoration\r\n $this-...
[ "0.65543604", "0.65489554", "0.6508396", "0.644584", "0.641802", "0.6283547", "0.6251675", "0.6245454", "0.623587", "0.62232435", "0.6123278", "0.609869", "0.60980976", "0.6086762", "0.60740215", "0.6063776", "0.5997484", "0.5964761", "0.5963681", "0.5957714", "0.59347636", ...
0.7824955
0
Tests that a doc comment that contains a single annotation with no parameters is parsed correctly.
Тестирование того, что комментарий документации, содержащий один аннотацию без параметров, правильно парсится.
public function testOneAnnotationNoParams() { $comment = <<<'EOT' /** * This is a comment that contains a single annotation with no parameters. * * @Entity */ EOT; $annotations = new Annotations($comment); $msg = print_r($annotations, true); $this->assertTrue(isset($annotations['entity']), $ms...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testMultipleAnnotationsNoParams() {\n $comment = <<<'EOT'\n/**\n * This is a comment that contains multiple annotations with no parameters.\n *\n * @Hotdog\n * @Hamburger\n * @KraftDinner\n */\nEOT;\n\n $annotations = new Annotations($comment);\n $msg = print_r($annotations, true);\n\n ...
[ "0.7755996", "0.6712396", "0.65154815", "0.64968884", "0.648539", "0.63804257", "0.6305871", "0.62619567", "0.6252548", "0.6204334", "0.61584747", "0.61499614", "0.6134811", "0.6069879", "0.60310376", "0.6025069", "0.5986479", "0.595504", "0.58874184", "0.5748959", "0.5731712...
0.80708104
0
Tests that a doc comment that contains a single annotation with only a single value defined without a name works correctly.
Тестирование того, что комментарий документации, содержащий один аннотацию с одним определенным значением без имени, работает корректно.
public function testSingleValueAnnotation() { $comment = <<<'EOT' /** * This is a comment that contains a single annotation with a single value * * @Entity is awesome! */ EOT; $annotations = new Annotations($comment); $msg = print_r($annotations, true); $this->assertTrue(isset($annotations['en...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testOneAnnotationNoParams() {\n $comment = <<<'EOT'\n/**\n * This is a comment that contains a single annotation with no parameters.\n *\n * @Entity\n */\nEOT;\n \n $annotations = new Annotations($comment);\n $msg = print_r($annotations, true);\n\n $this->assertTrue(isset($annotation...
[ "0.7409249", "0.7374483", "0.732919", "0.6906859", "0.6860895", "0.66689634", "0.6584603", "0.6512684", "0.6286376", "0.6221715", "0.6139793", "0.6000735", "0.5880084", "0.5806989", "0.5745675", "0.56036234", "0.5582655", "0.5559879", "0.5469661", "0.54484254", "0.5427421", ...
0.75230974
0
Tests that a doc comment containing an annotation with a single value defined as an array works as expected.
Тестирование того, что комментарий к документации, содержащий аннотацию с одним значением, определенным как массив, работает как ожидается.
public function testSingleValueAsArray() { $comment = <<<'EOT' /** * This is a comment that contains a single annotation with a single value * * @LikesToEat [ cheese, kraft dinner, hot dogs ] */ EOT; $annotations = new Annotations($comment); $msg = print_r($annotations, true); $this->assertTru...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testArrayValue() {\n $comment = <<<'EOT'\n/**\n * This is a comment to test that array value are parsed properly.\n *\n * @HasArray(array = [ one, two, three ])\n * @HasTwoArrays(array1 = [ four, five, six ], array2 = [ seven, eight, nine ])\n * @HasThreeArrays(array1 = [ ten, eleven, twelve ], ...
[ "0.7632477", "0.7135872", "0.69760156", "0.68387336", "0.6761262", "0.6665294", "0.6533855", "0.64231384", "0.64026374", "0.62756836", "0.5943194", "0.5938545", "0.5641347", "0.56312", "0.561094", "0.5553559", "0.5528646", "0.5519364", "0.5508704", "0.5479493", "0.5398848", ...
0.8767673
0
Tests that a doc comment that contains a single annotation with one parameter is parsed correctly.
Тестирование того, что комментарий документации, содержащий один аннотацию с одним параметром, правильно парсится.
public function testOneAnnotationOneParam() { $comment = <<<'EOT' /** * This is a comment that contains a single annotation with one parameter. * * @Entity(name = table) */ EOT; $annotations = new Annotations($comment); $msg = print_r($annotations, true); $this->assertTrue(isset($annotations['enti...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testOneAnnotationMultipleParams() {\n $comment = <<<'EOT'\n/**\n * This is a comment that contains a single annotations with multiple parameters\n *\n * @Entity(name = table, desc = Entity that represents a table, parent = database)\n */\nEOT;\n\n $annotations = new Annotations($comment);\n ...
[ "0.7481231", "0.74765766", "0.74717754", "0.73315763", "0.7166983", "0.7120709", "0.68365824", "0.6714237", "0.6610566", "0.6234154", "0.6183756", "0.6183588", "0.61807233", "0.61590415", "0.6142764", "0.6091448", "0.608595", "0.59278834", "0.5874026", "0.57142276", "0.567207...
0.78820276
0
Tests that a doc comment that contains a single annotation with two parameters is parsed correctly.
Тестирование того, что комментарий к документации, содержащий один аннотацию с двумя параметрами, правильно парсится.
public function testOneAnnotationTwoParams() { $comment = <<<'EOT' /** * This is a comment that contains a single annotation with two parameters. * * @Entity(name = table, desc = Entity that represents a table) */ EOT; $annotations = new Annotations($comment); $msg = print_r($annotations, true); $...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testOneAnnotationMultipleParams() {\n $comment = <<<'EOT'\n/**\n * This is a comment that contains a single annotations with multiple parameters\n *\n * @Entity(name = table, desc = Entity that represents a table, parent = database)\n */\nEOT;\n\n $annotations = new Annotations($comment);\n ...
[ "0.7638339", "0.76106733", "0.76005524", "0.73207116", "0.7224668", "0.6934421", "0.6493168", "0.64424443", "0.64278024", "0.6389129", "0.61978817", "0.61869264", "0.6176195", "0.60520536", "0.60492563", "0.59011775", "0.571101", "0.5673137", "0.5589663", "0.5580799", "0.5528...
0.81975085
0
Tests that a doc comment that contains a single annotation with multiple parameters is parsed correctly.
Тестирование того, что комментарий документации, содержащий один аннотацию с несколькими параметрами, правильно парсится.
public function testOneAnnotationMultipleParams() { $comment = <<<'EOT' /** * This is a comment that contains a single annotations with multiple parameters * * @Entity(name = table, desc = Entity that represents a table, parent = database) */ EOT; $annotations = new Annotations($comment); $msg = print_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testMultipleAnnotationsMultipleParams() {\n $comment = <<<'EOT'\n/**\n * This is a comment that contains multiple annotations with multiple parameters\n *\n * @Hotdog(brand = Maple Leaf, bun = true, cooking_method = BBQ)\n * @Hamburger(brand = Home Made, bun = true, cooking_method = BBQ)\n * @Kr...
[ "0.80830234", "0.7968671", "0.7653421", "0.75781614", "0.6917904", "0.67238563", "0.648352", "0.6470511", "0.6232269", "0.59850305", "0.58978283", "0.58685637", "0.57912874", "0.5734268", "0.57196003", "0.56181616", "0.5581388", "0.5563849", "0.552754", "0.5476184", "0.546808...
0.80845606
0
Tests that a doc comment that contains a multiple annotations with no parameters is parsed correctly.
Тестирование того, что комментарий документации, содержащий несколько аннотаций без параметров, правильно парсится.
public function testMultipleAnnotationsNoParams() { $comment = <<<'EOT' /** * This is a comment that contains multiple annotations with no parameters. * * @Hotdog * @Hamburger * @KraftDinner */ EOT; $annotations = new Annotations($comment); $msg = print_r($annotations, true); $this->assertTrue(i...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testMultipleAnnotationsMultipleParams() {\n $comment = <<<'EOT'\n/**\n * This is a comment that contains multiple annotations with multiple parameters\n *\n * @Hotdog(brand = Maple Leaf, bun = true, cooking_method = BBQ)\n * @Hamburger(brand = Home Made, bun = true, cooking_method = BBQ)\n * @Kr...
[ "0.7440626", "0.73735696", "0.73657715", "0.7147487", "0.6742943", "0.62883687", "0.62286", "0.621379", "0.6197911", "0.6134538", "0.6037343", "0.6015813", "0.598373", "0.59114194", "0.5897569", "0.57998765", "0.57974166", "0.5779939", "0.5769959", "0.5677985", "0.56704766", ...
0.8525672
0
Tests that a doc comment that contains multiple annotations with multiple parameters is parsed correctly.
Тесты, проверяющие корректное парсинга документационного комментария, содержащего несколько аннотаций с несколькими параметрами.
public function testMultipleAnnotationsMultipleParams() { $comment = <<<'EOT' /** * This is a comment that contains multiple annotations with multiple parameters * * @Hotdog(brand = Maple Leaf, bun = true, cooking_method = BBQ) * @Hamburger(brand = Home Made, bun = true, cooking_method = BBQ) * @KraftDinner(br...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testMultipleAnnotationsWithSameName() {\n $comment = <<<EOT\n/**\n * This is a comment that contains multiple annotations with the same\n * name\n *\n * @param Value1\n * @param Value2\n */\nEOT;\n\n $annotations = new Annotations($comment);\n $msg = print_r($annotations, true);\n\n $th...
[ "0.8134202", "0.8072672", "0.7647048", "0.7470834", "0.6458198", "0.6427816", "0.6324422", "0.6215833", "0.60881275", "0.60561234", "0.56599194", "0.56125057", "0.55689883", "0.5513995", "0.5492043", "0.547718", "0.541688", "0.5392878", "0.53783184", "0.534539", "0.5302646", ...
0.8229782
0
Saves brew methods to cafe
Сохраняет методы приготовления напитков для кафе
private function saveBrewMethods( $cafe ) { $brewMethodsArr = explode(',', $this->data['brew_methods']); $cafe->brewMethods()->sync( $brewMethodsArr ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function save():void;", "function save()\n {\n }", "function save()\n {\n }", "function saveVister()\n {\n \n }", "function save();", "function save();", "public function save()\n {\n // For V2.0\n }", "public final function save()\n {\n }", "public ...
[ "0.6076542", "0.5821292", "0.5821292", "0.5672806", "0.5612276", "0.5612276", "0.56122375", "0.5601585", "0.5587516", "0.5587482", "0.5587482", "0.5578131", "0.5561795", "0.5547208", "0.5547208", "0.5542923", "0.5542923", "0.55195194", "0.5504227", "0.5497462", "0.54846853", ...
0.7740802
0
Returns a list of event names that are used by active reaction rules.
Возвращает список имен событий, используемых активными реакционными правилами.
protected function getRegisteredEvents() { $events = []; foreach ($this->loadMultiple() as $rules_config) { foreach ($rules_config->getEventNames() as $event_name) { $event_name = $this->eventManager->getEventBaseName($event_name); if (!isset($events[$event_name])) { $events[$eve...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getEventNames()\n {\n return array_keys($this->events);\n }", "public static function getEventNames()\n {\n return array(\n self::CREATE_CONNECTION,\n self::DEPLOY_COMMAND_COMPLETE,\n self::DEPLOY_RELEASE,\n self::DEPLOY_RELEASE_C...
[ "0.71104246", "0.69190603", "0.678223", "0.6742146", "0.6684459", "0.66030616", "0.6587373", "0.6578648", "0.65778625", "0.6505223", "0.6504563", "0.6462609", "0.64537483", "0.63968897", "0.6392234", "0.63835955", "0.6360455", "0.63583267", "0.6323112", "0.6294227", "0.625325...
0.72139955
0
Function is reposponsible for checking the email address entered in If NO fault reports were fond for that email addres then the user is forwarded to the form to report a fault If faults WERE found then user is forwarded to the
Функция отвечает за проверку введённого адреса электронной почты. Если не было найдено отчётов об ошибках для этого адреса электронной почты, пользователь перенаправляется на форму для сообщения об ошибке. Если были найдены ошибки, пользователь перенаправляется на
function reportFaultEmailCheck() { # need to to make the email address globally accessible $faultReportEmail=null; $faultReportArr=array(); # array off faults # variable to allow user access to page $allowed=false; # user can access this page in two ways. By POST or by SESSION # check if register butt...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function isEmail($email){\n \n if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {\n \n header(\"Location: ..\\Graduate_form.html?error=\"); \n \n }else{\n return $value;\n }\n}", "function invalidDetails($email, $msg){\n\t$url = '/index.php?'.'msg='.$msg.'&email='.$email;\n\thead...
[ "0.6150384", "0.61442465", "0.6138801", "0.59956086", "0.5985815", "0.5951003", "0.5944868", "0.5924976", "0.5897311", "0.58748454", "0.58643", "0.5856071", "0.584384", "0.5780255", "0.5749953", "0.5742975", "0.57368577", "0.57360214", "0.57145554", "0.57061994", "0.56966114"...
0.77960044
0
Returns mock directory's path
Возвращает путь к промокеру директории
public function getMockDirPath(): string { return dirname(__DIR__) . '/mock'; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getTestDirectory();", "public function getMockDataPath()\n {\n return base_path('tests/js/mocks/');\n }", "public function getDir(): string;", "function dirPath() { return (\"../\"); }", "protected function getTestPath(): string\n {\n return $this->getPackageRootPath(...
[ "0.72572327", "0.7247505", "0.6978487", "0.69431126", "0.691591", "0.6879408", "0.6858465", "0.68501073", "0.6846965", "0.68218124", "0.6816145", "0.67982477", "0.6771406", "0.6763733", "0.67527306", "0.6742035", "0.6697681", "0.6697681", "0.66716933", "0.6658974", "0.6642248...
0.8566118
0
Methode zum Vergleichen der LoginEingaben mit der Datenbank
Метод для сравнения ввода логина с базой данных
public function login(){ if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST["Anmelden"]) && $_POST["Anmelden"] == "Anmelden") { if ($this->error == false) { $datenbank = new DatenbankAufrufe; #Prüfung ob der Benutzer bereits existiert $result = $datenbank->existBenutzer...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function login(){\n \n }", "public function login();", "public function login();", "public function login(){\n\n }", "public function login()\n {\n }", "public function login()\n {\n }", "public function executeLogin()\n {\n }", "abstract protected function doLo...
[ "0.7883395", "0.77494216", "0.77494216", "0.7634353", "0.75354177", "0.75354177", "0.7519875", "0.750064", "0.7437509", "0.7352241", "0.73004776", "0.7238433", "0.7237076", "0.72368824", "0.7233201", "0.7225432", "0.72008485", "0.71971196", "0.71903354", "0.71828914", "0.7181...
0.7930281
0
Get a folder by its id.
Получить папку по её идентификатору.
public function get($id) { return $this->_driver->get("/security/folder/$id"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function getFolder($id) { /* {{{ */\n\t\t$hits = $this->index->find('F'.$id);\n\t\treturn $hits['hits'] ? $hits['hits'][0] : false;\n\t}", "function get_folder_by_id($folder_id) {\n\t\t// Obtain a connection\n\t\t$con = $this->connection->get_pdo_connection();\n\n\t\t// Prepare insert statement\n\t\t$sql = \"SEL...
[ "0.79641527", "0.7696202", "0.7654658", "0.75770986", "0.72742414", "0.72410506", "0.7183383", "0.70785224", "0.69759095", "0.6973083", "0.69590515", "0.69590515", "0.6959014", "0.6936476", "0.6936342", "0.6831131", "0.6757353", "0.6716773", "0.6697034", "0.6551463", "0.65352...
0.83583105
0
Delete a folder by its id.
Удалить папку по её идентификатору.
public function delete($id) { return $this->_driver->delete("/security/folder/$id"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function deleteFolder($id = 0)\n {\n $folder = Folder::find($id);\n\n if ( File::findByFolder($id)->isEmpty() and Folder::findByParent($id)->isEmpty()) {\n $folder->delete($id);\n\n return $this->result(\n true,\n trans('files.folder_delet...
[ "0.81538177", "0.77676123", "0.75267816", "0.75177395", "0.7515734", "0.7280846", "0.7272689", "0.7167172", "0.7071847", "0.70312387", "0.7029242", "0.70237464", "0.6988683", "0.68246615", "0.67972916", "0.6725397", "0.6725397", "0.66943365", "0.6644368", "0.65979296", "0.655...
0.8495672
0
Holt sich den (HTTP) Status einer URL
Получает (HTTP) статус URL
private function callStatus() { try { $this->status = $this->client->request('GET', $this->url->full_url, [ 'allow_redirects' => false ]); } catch (\Exception $ex) { $this->status = $ex->getResponse(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function http_send_status($status) {}", "function checkHTTPstatus($url)\n{\n\t$http = curl_init($url);\n\tcurl_setopt($http, CURLOPT_HEADER, 0);\n\tcurl_setopt($http, CURLOPT_RETURNTRANSFER, true);\n\t//curl_setopt($http, CURLOPT_FOLLOWLOCATION , true);\n\t// do your curl thing here\n\t$result = curl_exec($http)...
[ "0.7545298", "0.720934", "0.7136527", "0.70239294", "0.7016909", "0.6986337", "0.69832516", "0.69096506", "0.6907605", "0.68219066", "0.6812063", "0.6812063", "0.6812063", "0.6812063", "0.6812063", "0.6812063", "0.6812063", "0.6812063", "0.6812063", "0.6812063", "0.674289", ...
0.7519869
1
Reads the response header and extracts the needed information
Читает заголовок ответа и извлекает необходимую информацию
private function readHeaders() { $headers = $this->status->getHeaders(); foreach ($headers as $key => $value) { switch ($key) { case "Location": $this->response['location'] = $value[0]; break; case "Content-Type": ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function _parseHeader() {}", "private function readHead() {\n\t\t$matches = array();\n\n\t\t// Read and parse status line\n\t\t$status = $this->readLine();\n\t\tif (!preg_match('!^(?:HTTP/(\\d\\.\\d)) (\\d{3})(?: (.+))?!', $status, $matches)) {\n\t\t\tthrow new MOXMAN_Http_HttpClientException(\"Malform...
[ "0.714197", "0.7006284", "0.6913127", "0.689665", "0.6877839", "0.68544304", "0.6854362", "0.6808911", "0.6783602", "0.6783602", "0.6783602", "0.67457503", "0.672478", "0.66586775", "0.6656117", "0.6529279", "0.65202856", "0.64788085", "0.64347404", "0.6425764", "0.63908505",...
0.79163855
0
Updatet den URLEintrag in der Datenbank
Обновите запись URL в базе данных
private function updateUrl(){ $this->url->status_code = $this->response['status_code']; $this->url->reason_phrase = $this->response['reason_phrase']; $this->url->location = $this->response['location']; $this->url->content_type = $this->response['content_type']; $this->url->conten...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract public function get_url_update();", "public function update(){\n foreach (the()->project->languages as $lang){\n $field=\"url_$lang\";\n if($this->urlExists($this->$field,$lang)){\n $increment=1;\n $url=$this->$field.'-'.$increment;\n ...
[ "0.7185634", "0.6776179", "0.6499556", "0.6350413", "0.6196868", "0.6146629", "0.6127523", "0.6087001", "0.6051828", "0.5965373", "0.5935229", "0.5919283", "0.576464", "0.57617325", "0.57357174", "0.5730555", "0.56844664", "0.56554353", "0.56409794", "0.5639681", "0.5609342",...
0.7296117
0
gets the fields of a csv line when there are no whitespaces between commas (e.g. ,,,,)
получает поля строки csv, когда между запятыми нет пробелов (например, ,,,,)
private function getCsvWoWhiteSpace($line) { $arr = str_split ( $line ); $retArray = array (); $index = 0; $duringField = false; for($i = 0; $i < count ( $arr ); $i ++) { if ($arr [$i] == " " && $i > count ( $arr ) - 2) { break; } if ($arr [$i] == ',') { if ($duringField) { // fie...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function parseCsvLine($line) {\n $parts = explode(\";\", $line);\n $result = array();\n\n while (!empty($parts)) {\n $elt = array_shift($parts);\n\n // handle fields starting end ending with \"\n // merge the fields that were exploded because they contain \";\"\n // and remove ...
[ "0.69221747", "0.6882095", "0.6769653", "0.6765216", "0.6565108", "0.6493079", "0.6445408", "0.6418138", "0.6361493", "0.629429", "0.6207823", "0.61948514", "0.61948514", "0.61948514", "0.6138764", "0.61242425", "0.6058334", "0.60469425", "0.6031976", "0.60303706", "0.6022934...
0.74361223
0
Runs either after a subscription is created to attempt a payment or through regular processing
Запускается либо после создания подписки с целью попытки оплаты, либо через регулярную обработку
function processSubscription(PaymentSubscription $subscription) { if ($subscription->vendor == 'paypal') return; // Done externally. Log::info("PaymentSubscription - Payment for {$subscription->id} which has a last payment date of: " . ($subscription->lastChargeAt ?? 'None')); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function record_subscription_payment() { }", "public function do_process_subscription_payment( $subscription ) {\n\t\t\t$subscription_id = $subscription;\n\t\t\tif ( is_object( $subscription ) ) {\n\t\t\t\t$subscription_id = $subscription->ID;\n\t\t\t}\n\n\t\t\t$subscription_ord = wcs_get_subscription(...
[ "0.7698623", "0.6908938", "0.68403673", "0.6649223", "0.66035503", "0.65833426", "0.65608466", "0.6514392", "0.6450667", "0.6449305", "0.63670295", "0.6346823", "0.6289831", "0.62754446", "0.6251661", "0.6248934", "0.6243732", "0.62328804", "0.6226909", "0.62224674", "0.62152...
0.70447844
1
$page>content .= abstracts(); $times is an array with keys as session numbers and values as session times
$page>content .= abstracts(); $times — это массив с ключами в виде номеров сессий и значениями в виде времени сессий
function session($times){ global $papers, $paperTimes; $ret = ""; foreach($times as $slot => $time){ $ret .= "<tr><td class='active'>$time</td>\n"; $paperTime = $slot; $papern = $paperTimes[$paperTime]; $paper = $papers[$papern]; $ret .= "<td><a class...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function get_content_html()\n {\n\n \t\t$content = '';\n\t\t$sessions = $this->sessions;\n\n\t\t//$content = '<div style=\"margin:10px;\">';\n\t\t$content .= '<h4>'.get_lang('YourSessionsList').'</h4>';\n\n\t\tif (count($sessions) > 0) {\n\t\t\t$sessions_table = '<table class=\"data_table\" width:\"95%\"...
[ "0.56718874", "0.5512966", "0.54040945", "0.53852314", "0.53109103", "0.53076106", "0.5300131", "0.52686745", "0.52507275", "0.5231544", "0.5204635", "0.51183665", "0.50764215", "0.50580454", "0.50506943", "0.5041942", "0.502078", "0.500403", "0.49459633", "0.49383703", "0.49...
0.7042207
0
Create a matrix for representing categories and FAQs.
Создайте матрицу для представления категорий и часто задаваемых вопросов.
public function getCategoryFaqsMatrix() { $matrix = []; $query = sprintf( ' SELECT fcr.category_id AS id_cat, fd.id AS id FROM %sfaqdata fd INNER JOIN %sfaqcategoryrelations fcr ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function FAQs()\n {\n \n \n if ($this->Is_Instructor) {\n $type = \" AND `type_instructor`=1\";\n $cat_field = 'categories_instructor';\n \n $this->Default_Category_Id = 0;\n \n } else {\n $type = \" AN...
[ "0.5540699", "0.54440737", "0.5384964", "0.5366879", "0.53518575", "0.5349662", "0.5266366", "0.5254398", "0.5197882", "0.51731944", "0.5139268", "0.51083684", "0.51075506", "0.50785536", "0.507394", "0.50612426", "0.50506055", "0.5047537", "0.50227886", "0.5009521", "0.50079...
0.75209
0
Get the attributes in theme mod to be shared
Получить атрибуты в теме mod для совместного использования
private function getSharedAttributes($stack = []) { $mods = get_theme_mods(); if(is_array($mods) && !empty($mods)) { foreach($mods as $key => $mod) { if(in_array($key, $this->sharedModKeys)) { $stack[$key] = $mod; } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function getAdditionalAttributes() ;", "function get_theme_mods()\n {\n }", "function get_theme_info(){\n\tglobal $theme;\n\treturn $theme->get_theme_info();\n}", "static function getAttributesInfo ()\n {\n return array (\n 'section1' => array (\n 'name' => _('Argonaut mirror settings'),...
[ "0.65410465", "0.6493583", "0.63068306", "0.62421155", "0.6185309", "0.6161203", "0.6161203", "0.6161203", "0.6161203", "0.6160997", "0.6160997", "0.61609805", "0.616025", "0.6039521", "0.6025284", "0.60100263", "0.6008136", "0.60012394", "0.59952384", "0.59944504", "0.598249...
0.70706487
0
Set image sizes $sizes must be a key/value array with each item being an array containing the following keys 'width' (int) 'height' (int) 'crop' (bool)
Размеры изображения $sizes должны быть массивом ключ/значение, в котором каждый элемент является массивом, содержащим следующие ключи 'width' (int), 'height' (int), 'crop' (bool)
public static function image_sizes(array $sizes): void { if (!is_array($sizes)) { return; } add_action('after_setup_theme', function() use (&$sizes) { foreach ($sizes as $key => $values) { if (!isset($values['width']) || !isset($values['height'])) { continue; } if (!isset($values['crop']...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function intermediate_image_sizes($sizes = array())\n {\n }", "function config_image_sizes($sizes) {\n\t\tadd_image_size('feature-image', 1400, 300, true);\n\t\t\n\t\t$myimgsizes = array(\n\t\t\t\"feature-image\" => __(\"Feature Image\")\n\t\t);\n\t\t$newimgsizes = array_merge($sizes, $myimg...
[ "0.7595602", "0.72099316", "0.6955345", "0.69096035", "0.6857581", "0.68487376", "0.674952", "0.67369497", "0.6654889", "0.6603717", "0.65857404", "0.6581228", "0.65611297", "0.65371215", "0.65076876", "0.64966345", "0.64959276", "0.6486358", "0.6457865", "0.6447842", "0.6408...
0.7878119
0
Enable automatic feed links (RSS) in the wp_head() call Options: 'disable_comments_feed' (boolean) will prevent the comments feed from being included
Включите автоматические ссылки на потоки (RSS) в вызове wp_head() Варианты: 'disable_comments_feed' (boolean) предотвратит включение потока комментариев
public static function automatic_feed_links(array $opts = []): void { add_action('after_setup_theme', function() use (&$opts) { add_theme_support('automatic-feed-links'); if (isset($opts['disable_comments_feed']) && $opts['disable_comments_feed']) { add_filter('feed_links_show_comments_feed', '__return_fa...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function rss_feed_links() {\n\tadd_theme_support( 'automatic-feed-links' );\n}", "function remove_thefeeds()\r\n{\r\n remove_theme_support( 'automatic-feed-links' ); //remove feed links in head\r\n}", "function lastcomments_rssfeed() {\r\n\r\n\tglobal $SUPRESS_TEMPLATE_SHOW, $SUPRESS_MAINBLOCK_SHOW, $CurrentH...
[ "0.72580665", "0.67532945", "0.65220046", "0.64645636", "0.6456822", "0.6427024", "0.6316809", "0.63126236", "0.626703", "0.6222076", "0.62130964", "0.615852", "0.6146672", "0.6111731", "0.6109443", "0.6089993", "0.59768", "0.5970925", "0.59565717", "0.5936902", "0.5907336", ...
0.71696913
1
Add theme support for a custom logo
Добавить поддержку темы для кастомного логотипа
public static function custom_logo(): void { add_action('after_setup_theme', function() { add_theme_support('custom-logo'); }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function shadow_custom_logo_setup() {\n add_theme_support( 'custom-logo');\n}", "public function logo() {\n\n\t\t/**\n\t\t * Filter the custom logo args.\n\t\t *\n\t\t * @since 1.0.0\n\t\t *\n\t\t * @var array\n\t\t */\n\t\t$args = (array) apply_filters( 'primer_custom_logo_args',\n\t\t\tarray(\n\t\t\t\t'heig...
[ "0.853738", "0.83268666", "0.8298338", "0.8203569", "0.8203569", "0.8172516", "0.8127336", "0.8023161", "0.8013894", "0.79225945", "0.78489244", "0.77917045", "0.77727157", "0.7623836", "0.75525105", "0.7547615", "0.7347056", "0.7306832", "0.73047286", "0.7304258", "0.7290703...
0.84682167
1
Payment is still pending.
Оплата все еще ожидается.
public function unpaid(): bool { return in_array($this->status, [self::PENDING]); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function payment_status_pending()\n {\n return $this->payment_status_completed();\n }", "function isPending() {\n return $this->getStatus() == UserpointsTransaction::STATUS_PENDING;\n }", "public function isPending() : bool\n {\n return $this->getOrderStatus() == self::PENDING...
[ "0.7726705", "0.77167106", "0.75087583", "0.74601096", "0.7384588", "0.7356304", "0.7276977", "0.72664523", "0.72631305", "0.7237533", "0.7186396", "0.7184631", "0.7164791", "0.71529716", "0.71468174", "0.70909476", "0.70706826", "0.7063272", "0.7045393", "0.6980155", "0.6953...
0.78656393
0
Retrieve the log data
Получить данные лога
public function get_log() { return $this->get_file(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function log(): array\r\n {\r\n return $this->activityRepository->getLogData();\r\n }", "public function getLog(){\n\t\t$request = $this->_sendPacketToController(self::GET_LOG);\n\t\tif ($request->getState() == self::STATE_OK) // If the packet is send sucefully\n\t\t\treturn $this->_getRespon...
[ "0.71870464", "0.7178652", "0.7148726", "0.7084886", "0.7084886", "0.7081211", "0.70460546", "0.70400417", "0.6989404", "0.6967383", "0.69383633", "0.6887112", "0.68814456", "0.68764323", "0.68025404", "0.6786361", "0.6757498", "0.6745162", "0.6729146", "0.67035943", "0.65584...
0.72532064
0
Get a default length value, if any is available
Получить значение длины по умолчанию, если оно доступно
public function getDefaultLength(): float|null;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function getLength(): ?int;", "public function getMaxLength() {}", "public function getLength() {\n\t\treturn null;\n\t}", "public function getLengthLimit()\n {\n }", "public function getLength() {}", "public function getLength() {}", "public function getLength() {}", "public function getLength...
[ "0.7297098", "0.6986358", "0.6975677", "0.6920396", "0.6915075", "0.691467", "0.691467", "0.691467", "0.6854915", "0.6854915", "0.67612654", "0.6722392", "0.66776615", "0.6638955", "0.66322327", "0.66085196", "0.6605714", "0.6589195", "0.6569255", "0.6518677", "0.6509414", ...
0.70748943
1
Prints only the stacktrace of an exception
Печатает только стек-трейс исключения
function ez_print_stacktrace( Exception $e ) { echo ez_format_stacktrace($e); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function returnStackTrace() {\n\t\ttry {\n\t\t\tthrow new \\Exception();\n\t\t} catch (\\Exception $e) {\n\t\t\treturn $e->getTrace();\n\t\t}\n\t}", "function myExceptionHandler($exception) {\n\techo \"Triton: Uncaught exeption; <p>\" . $exception->getMessage() . \"<p><pre>\" . $exception->getTraceAsSt...
[ "0.69471425", "0.69258976", "0.68628985", "0.67397404", "0.6672404", "0.66517454", "0.6645127", "0.6635137", "0.6602605", "0.65900105", "0.65755093", "0.65688246", "0.653811", "0.6509567", "0.6455555", "0.6422408", "0.6357789", "0.63361585", "0.6333285", "0.6325062", "0.63074...
0.80941415
0
Returns the plugin ID of the block.
Возвращает идентификатор плагина блока.
protected function blockPluginId() { return ''; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getPluginId();", "public function getPluginId() {\n return $this->pluginId;\n }", "public function getPluginId() {\n return $this->pluginId;\n }", "function getPluginID () {return $this->getFieldValue ('plugin_id');}", "public function get_ID()\n {\n return $this->blockId;...
[ "0.7584918", "0.73887044", "0.73887044", "0.7228439", "0.71308994", "0.7087729", "0.6493501", "0.64315", "0.6360365", "0.62266433", "0.59738004", "0.59041923", "0.58015436", "0.5749869", "0.5745678", "0.5737512", "0.5737512", "0.5735681", "0.5735681", "0.5735681", "0.5735681"...
0.75256896
1
Action to load content data
Действие для загрузки данных содержимого
public function loadDataAction() { $contentService = Dm_Session::GetServiceFactory()->getContentService(); $filter = new Service_Api_Filter_Content(); $filter->id = $this->_getParam('id'); $filter->mimeType = $this->_getParam('mimeType'); $filter->limit = $this->_getParam('...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function loadContents() {}", "public function loadContents() {}", "public function loadContents() {}", "public function loadContents() {}", "function loadContents() ;", "public function load() {\n\t\t$this->init();\n\t\t$action = $this->action;\n\t\t$view = $this->$action();\n\n\t\tif ($view insta...
[ "0.76878166", "0.7686709", "0.7686709", "0.76865596", "0.7253628", "0.679944", "0.67349917", "0.66927385", "0.6563968", "0.6542406", "0.65111816", "0.64657617", "0.64657617", "0.64657617", "0.64657617", "0.64657617", "0.64657617", "0.64657617", "0.64657617", "0.64657617", "0....
0.8413951
0
Action to delete content data
Действие для удаления данных содержимого
public function deleteDataAction() { $contentService = Dm_Session::GetServiceFactory()->getContentService(); $filter = new Service_Api_Filter_Content(); $filter->id = $this->_getParam('id'); $contents = $contentService->contentsDelete($filter); $this->view->data = $contents; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function delete() {\n $this->remove_content();\n\n parent::delete();\n }", "public function actionDelete() {}", "public function actionDelete() {}", "public function delete(){\n if (isset($this->content[$this->idField])) {\n\n $sql = \"DELETE FROM {$this->table} WHER...
[ "0.80436623", "0.75644475", "0.75644475", "0.7552174", "0.74284166", "0.74149024", "0.73560315", "0.7349048", "0.7215086", "0.7215086", "0.71741605", "0.7158679", "0.71446985", "0.7131149", "0.7115482", "0.71061355", "0.7081176", "0.7078138", "0.70615757", "0.70396197", "0.70...
0.86728
0
Page de contenu audio
Страница содержимого аудио
public function audioAction() { Dm_Log::Debug('Start ' . __METHOD__); $this->getRequest()->setParam('type', 'audio'); $this->_forward('index'); Dm_Log::Debug('End ' . __METHOD__); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function type_url_form_audio()\n {\n }", "function getAudio($office,$name){\n echo '<audio controls>';\n echo ' <source src=\"../' . $office . '-audio/' . $name . '.ogg\" />';\n echo ' <source src=\"../' . $office . '-audio/' . $name . '.mp3\" />';\n echo '</audio><br ...
[ "0.67371327", "0.6727958", "0.66033846", "0.64195573", "0.6323078", "0.6307203", "0.629549", "0.6217566", "0.618679", "0.61721355", "0.6168966", "0.6161683", "0.6151181", "0.6141668", "0.6108459", "0.61081886", "0.6002269", "0.5960925", "0.5951201", "0.59362733", "0.5919569",...
0.71955895
0
Initializing JS dependencies for the content library
Инициализация JS-зависимостей для библиотеки контента
protected function _initDependencies() { // Loading jsonp library for cross-domain AJAX requests $this->view->headScript()->appendFile('/scripts/jquery/plugins/jsonp/jquery.jsonp-2.4.0.min.js?' . SCRIPT_VERSION_JS); // $this->view->headScript()->appendFile('/scripts/libraries/cont...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function addDependencies()\n {\n $this->Html->script('/attachments/js/vendor/jquery.ui.widget.js', ['block' => true]);\n $this->Html->script('/attachments/js/vendor/jquery.iframe-transport.js', ['block' => true]);\n $this->Html->script('/attachments/js/vendor/jquery.fileupload.js', [...
[ "0.7299879", "0.7105478", "0.69375366", "0.66706896", "0.6661536", "0.6653904", "0.6649974", "0.66190743", "0.6610377", "0.660263", "0.6600873", "0.65973717", "0.65679044", "0.6551592", "0.65327656", "0.6521647", "0.6509905", "0.650671", "0.6501197", "0.64889395", "0.6483099"...
0.83357793
0
Try to authenticate an user with only the given identifier. Actually, this method does not perform a real authentication but it can be used to verify that the identifier corresponds to a valid user.
Попробуйте аутентифицировать пользователя только по заданному идентификатору. На самом деле, этот метод не выполняет настоящую аутентификацию, но может быть использован для проверки того, что идентификатор соответствует действительному пользователю.
public function authenticateByAuthIdentifier(string $identifier): AuthenticableInterface;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function authenticateUserById($emailOrJblUserId);", "protected function authenticate(int|string $identifier, ?string $password, bool $force = false)\n\t{\n\t\t$user = $this->userRepository->getByIdentifier($identifier);\n\n\t\tif($user !== null)\n\t\t{\n\t\t\tif($this->options['throttling']['enabled'] && ...
[ "0.6398144", "0.6349928", "0.6338866", "0.62706304", "0.6172583", "0.61618316", "0.6155019", "0.61350095", "0.6087574", "0.6071681", "0.60680306", "0.6066389", "0.6013474", "0.6000826", "0.5995575", "0.5985074", "0.59723175", "0.597007", "0.59682125", "0.5966863", "0.59550047...
0.70793
0
Operation createLogLogentries Create a Logentries log endpoint Note: the input parameter is an associative array with the keys listed as the parameter name below This operation contains host(s) defined in the OpenAP spec. Use 'hostIndex' to select the host. URL:
Операция createLogLogentries Создать точку назначения журнала Logentries Примечание: входной параметр — ассоциативный массив с ключами, перечисленными ниже как имя параметра. Эта операция содержит хост(ы), определенные в спецификации OpenAP. Используйте 'hostIndex', чтобы выбрать хост. URL:
public function createLogLogentries($options) { list($response) = $this->createLogLogentriesWithHttpInfo($options); return $response; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function createLogLogentriesWithHttpInfo($options)\n {\n $request = $this->createLogLogentriesRequest($options);\n\n try {\n $options = $this->createHttpClientOption();\n try {\n $response = $this->client->send($request, $options);\n } catch (...
[ "0.6659424", "0.6510073", "0.5890131", "0.5801343", "0.57982886", "0.5778361", "0.5713012", "0.54597044", "0.5457172", "0.5434999", "0.5342066", "0.5333639", "0.5263492", "0.5251089", "0.5243721", "0.52162147", "0.51957023", "0.51133245", "0.50951546", "0.4998865", "0.4996566...
0.7558159
0
Operation createLogLogentriesWithHttpInfo Create a Logentries log endpoint Note: the input parameter is an associative array with the keys listed as the parameter name below This operation contains Fastly API host(s). Use 'hostIndex' to select the host. URL:
Операция createLogLogentriesWithHttpInfo Создание точки назначения Logentries для журнала Примечание: входной параметр — ассоциативный массив с ключами, перечисленными ниже как имена параметров. Эта операция содержит хосты Fastly API. Используйте 'hostIndex', чтобы выбрать хост. URL:
public function createLogLogentriesWithHttpInfo($options) { $request = $this->createLogLogentriesRequest($options); try { $options = $this->createHttpClientOption(); try { $response = $this->client->send($request, $options); } catch (RequestExcept...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getLogLogentriesWithHttpInfo($options)\n {\n $request = $this->getLogLogentriesRequest($options);\n\n try {\n $options = $this->createHttpClientOption();\n try {\n $response = $this->client->send($request, $options);\n } catch (Reques...
[ "0.7005752", "0.6986927", "0.6909045", "0.67179507", "0.6569955", "0.60309225", "0.6027862", "0.5997231", "0.58165896", "0.53387654", "0.53101224", "0.5296112", "0.52083164", "0.5188394", "0.51109326", "0.5084463", "0.49291775", "0.485103", "0.48463386", "0.48443294", "0.4844...
0.7880451
0
Operation createLogLogentriesAsync Create a Logentries log endpoint Note: the input parameter is an associative array with the keys listed as the parameter name below This operation contains host(s) defined in the OpenAP spec. Use 'hostIndex' to select the host. URL:
Операция createLogLogentriesAsync Создание точки входа Logentries для журнала Примечание: входной параметр — ассоциативный массив с ключами, перечисленными ниже как имена параметров. Эта операция содержит хост(ы), определенные в спецификации OpenAP. Используйте 'hostIndex', чтобы выбрать хост. URL:
public function createLogLogentriesAsync($options) { return $this->createLogLogentriesAsyncWithHttpInfo($options) ->then( function ($response) { return $response[0]; } ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function createLogLogentriesAsyncWithHttpInfo($options)\n {\n $returnType = '\\Fastly\\Model\\LoggingLogentriesResponse';\n $request = $this->createLogLogentriesRequest($options);\n\n return $this->client\n ->sendAsync($request, $this->createHttpClientOption())\n ...
[ "0.6707477", "0.6705381", "0.66382647", "0.6239113", "0.619608", "0.61229163", "0.5895317", "0.5779277", "0.5758597", "0.5587437", "0.5489086", "0.53481436", "0.5262911", "0.52197", "0.5180356", "0.50866103", "0.4896218", "0.48478174", "0.48267585", "0.47365078", "0.472138", ...
0.7982468
0
Operation createLogLogentriesAsyncWithHttpInfo Create a Logentries log endpoint Note: the input parameter is an associative array with the keys listed as the parameter name below This operation contains host(s) defined in the OpenAP spec. Use 'hostIndex' to select the host. URL:
Операция createLogLogentriesAsyncWithHttpInfo Создание точки назначения журнала Logentries Примечание: входной параметр — ассоциативный массив с ключами, перечисленными ниже как имена параметров. Эта операция содержит хосты, определенные в спецификации OpenAP. Используйте 'hostIndex', чтобы выбрать хост. URL:
public function createLogLogentriesAsyncWithHttpInfo($options) { $returnType = '\Fastly\Model\LoggingLogentriesResponse'; $request = $this->createLogLogentriesRequest($options); return $this->client ->sendAsync($request, $this->createHttpClientOption()) ->then( ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function createLogLogentriesAsync($options)\n {\n return $this->createLogLogentriesAsyncWithHttpInfo($options)\n ->then(\n function ($response) {\n return $response[0];\n }\n );\n }", "public function createLogLogentriesWi...
[ "0.73028123", "0.71637607", "0.7115583", "0.6996074", "0.6389835", "0.6386681", "0.63737845", "0.6370252", "0.58814657", "0.58282554", "0.57657385", "0.57386965", "0.558804", "0.5383223", "0.51179254", "0.5082929", "0.50304836", "0.4864831", "0.4848046", "0.4753132", "0.46421...
0.7853128
0
Create request for operation 'createLogLogentries' Note: the input parameter is an associative array with the keys listed as the parameter name below This operation contains host(s) defined in the OpenAP spec. Use 'hostIndex' to select the host. URL:
Создать запрос для операции 'createLogLogentries' Примечание: входной параметр — ассоциативный массив с ключами, указанными ниже как названия параметров. Эта операция содержит хосты, определенные в спецификации OpenAP. Используйте 'hostIndex', чтобы выбрать хост. URL:
public function createLogLogentriesRequest($options) { // unbox the parameters from the associative array $service_id = array_key_exists('service_id', $options) ? $options['service_id'] : null; $version_id = array_key_exists('version_id', $options) ? $options['version_id'] : null; $n...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function listLogLogentriesRequest($options)\n {\n // unbox the parameters from the associative array\n $service_id = array_key_exists('service_id', $options) ? $options['service_id'] : null;\n $version_id = array_key_exists('version_id', $options) ? $options['version_id'] : null;\n\n...
[ "0.67434126", "0.66166663", "0.6116279", "0.61083907", "0.58834094", "0.573903", "0.5555051", "0.55481946", "0.5544197", "0.54276925", "0.539848", "0.538086", "0.5261627", "0.51679224", "0.5135877", "0.51124257", "0.50862175", "0.5068435", "0.50571877", "0.5034781", "0.503097...
0.75691915
0
Operation deleteLogLogentries Delete a Logentries log endpoint Note: the input parameter is an associative array with the keys listed as the parameter name below This operation contains host(s) defined in the OpenAP spec. Use 'hostIndex' to select the host. URL:
Операция deleteLogLogentries Удаление конечной точки журнала Logentries Заметка: входной параметр — ассоциативный массив с ключами, перечисленными ниже как имя параметра. Эта операция содержит хост(ы), определенные в спецификации OpenAP. Используйте 'hostIndex', чтобы выбрать хост. URL:
public function deleteLogLogentries($options) { list($response) = $this->deleteLogLogentriesWithHttpInfo($options); return $response; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function deleteLogLogentriesRequest($options)\n {\n // unbox the parameters from the associative array\n $service_id = array_key_exists('service_id', $options) ? $options['service_id'] : null;\n $version_id = array_key_exists('version_id', $options) ? $options['version_id'] : null;\n...
[ "0.6453103", "0.63178843", "0.60881853", "0.5634717", "0.55890435", "0.54856133", "0.5428052", "0.53752863", "0.53701985", "0.53699505", "0.531432", "0.52831143", "0.5244837", "0.5234791", "0.5211829", "0.5205782", "0.51753014", "0.5156359", "0.5139852", "0.51290756", "0.5117...
0.77025306
0
Operation deleteLogLogentriesWithHttpInfo Delete a Logentries log endpoint Note: the input parameter is an associative array with the keys listed as the parameter name below This operation contains Fastly API host(s). Use 'hostIndex' to select the host. URL:
Операция deleteLogLogentriesWithHttpInfo Удаление конечной точки журнала Logentries Заметка: входной параметр — ассоциативный массив с ключами, перечисленными ниже как названия параметров. Эта операция содержит Fastly API хост(ы). Используйте 'hostIndex', чтобы выбрать хост. URL:
public function deleteLogLogentriesWithHttpInfo($options) { $request = $this->deleteLogLogentriesRequest($options); try { $options = $this->createHttpClientOption(); try { $response = $this->client->send($request, $options); } catch (RequestExcept...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function deleteLogLogentries($options)\n {\n list($response) = $this->deleteLogLogentriesWithHttpInfo($options);\n return $response;\n }", "public function deleteLogLogentriesAsyncWithHttpInfo($options)\n {\n $returnType = '\\Fastly\\Model\\InlineResponse200';\n $reque...
[ "0.7105313", "0.6652467", "0.6180374", "0.6177046", "0.6095358", "0.60807943", "0.6070005", "0.5714386", "0.5507161", "0.5501032", "0.5481676", "0.53254306", "0.5054959", "0.49474332", "0.49251562", "0.49120337", "0.48725992", "0.4792207", "0.47830212", "0.4758564", "0.471432...
0.75373775
0
Operation deleteLogLogentriesAsync Delete a Logentries log endpoint Note: the input parameter is an associative array with the keys listed as the parameter name below This operation contains host(s) defined in the OpenAP spec. Use 'hostIndex' to select the host. URL:
Операция deleteLogLogentriesAsync Удаление точки входа в логи Logentries Заметка: входной параметр — ассоциативный массив с ключами, перечисленными ниже как имена параметров. Эта операция содержит определенные в OpenAP спецификации хосты. Используйте 'hostIndex', чтобы выбрать хост. URL:
public function deleteLogLogentriesAsync($options) { return $this->deleteLogLogentriesAsyncWithHttpInfo($options) ->then( function ($response) { return $response[0]; } ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function deleteLogLogentriesAsyncWithHttpInfo($options)\n {\n $returnType = '\\Fastly\\Model\\InlineResponse200';\n $request = $this->deleteLogLogentriesRequest($options);\n\n return $this->client\n ->sendAsync($request, $this->createHttpClientOption())\n ->then...
[ "0.66359615", "0.6375701", "0.6276313", "0.60244846", "0.57509524", "0.56770366", "0.5653092", "0.5616216", "0.5600269", "0.55152357", "0.5343895", "0.51494", "0.5146299", "0.4912911", "0.4872694", "0.48456046", "0.4824503", "0.47588414", "0.47446305", "0.47043836", "0.469590...
0.8017611
0
Operation deleteLogLogentriesAsyncWithHttpInfo Delete a Logentries log endpoint Note: the input parameter is an associative array with the keys listed as the parameter name below This operation contains host(s) defined in the OpenAP spec. Use 'hostIndex' to select the host. URL:
Операция deleteLogLogentriesAsyncWithHttpInfo Удаление точки доступа к журналу Logentries. Примечание: входной параметр — ассоциативный массив с ключами, перечисленными ниже как имена параметров. Эта операция содержит хост(ы), определенные в спецификации OpenAP. Используйте 'hostIndex', чтобы выбрать хост. URL:
public function deleteLogLogentriesAsyncWithHttpInfo($options) { $returnType = '\Fastly\Model\InlineResponse200'; $request = $this->deleteLogLogentriesRequest($options); return $this->client ->sendAsync($request, $this->createHttpClientOption()) ->then( ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function deleteLogLogentriesAsync($options)\n {\n return $this->deleteLogLogentriesAsyncWithHttpInfo($options)\n ->then(\n function ($response) {\n return $response[0];\n }\n );\n }", "public function deleteLogLogentriesWi...
[ "0.72924507", "0.69000506", "0.66167617", "0.6597754", "0.6391835", "0.6268386", "0.61696863", "0.5729313", "0.5658203", "0.563204", "0.5500093", "0.5466043", "0.5461165", "0.5436172", "0.53599393", "0.5322355", "0.52352685", "0.5227929", "0.52215296", "0.5196836", "0.5027903...
0.78395426
0
Create request for operation 'deleteLogLogentries' Note: the input parameter is an associative array with the keys listed as the parameter name below This operation contains host(s) defined in the OpenAP spec. Use 'hostIndex' to select the host. URL:
Создать запрос для операции 'deleteLogLogentries' Примечание: входной параметр — ассоциативный массив с ключами, перечисленными ниже как имена параметров. Эта операция содержит хосты, определенные в спецификации OpenAP. Используйте 'hostIndex', чтобы выбрать хост. URL:
public function deleteLogLogentriesRequest($options) { // unbox the parameters from the associative array $service_id = array_key_exists('service_id', $options) ? $options['service_id'] : null; $version_id = array_key_exists('version_id', $options) ? $options['version_id'] : null; $l...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function createLogLogentriesRequest($options)\n {\n // unbox the parameters from the associative array\n $service_id = array_key_exists('service_id', $options) ? $options['service_id'] : null;\n $version_id = array_key_exists('version_id', $options) ? $options['version_id'] : null;\n...
[ "0.6239214", "0.62008315", "0.6185196", "0.6046882", "0.58392584", "0.58338565", "0.5518768", "0.54404837", "0.53773916", "0.524747", "0.5240731", "0.5223651", "0.5214453", "0.51056606", "0.5090861", "0.5075021", "0.505273", "0.50019175", "0.49942178", "0.49929017", "0.498979...
0.7456746
0
Operation getLogLogentries Get a Logentries log endpoint Note: the input parameter is an associative array with the keys listed as the parameter name below This operation contains host(s) defined in the OpenAP spec. Use 'hostIndex' to select the host. URL:
Операция getLogLogentries Получить конечную точку журнала Logentries Примечание: входной параметр — ассоциативный массив с ключами, перечисленными ниже как имена параметров. Эта операция содержит хост(ы), определенные в спецификации OpenAP. Используйте 'hostIndex', чтобы выбрать хост. URL:
public function getLogLogentries($options) { list($response) = $this->getLogLogentriesWithHttpInfo($options); return $response; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function listLogLogentries($options)\n {\n list($response) = $this->listLogLogentriesWithHttpInfo($options);\n return $response;\n }", "protected function get_log_entries( $log = null ) {\n\t\tif ( $logger = $this->current_logger() ) {\n\t\t\t$logger->use_log( $log );\n\t\t\treturn (ar...
[ "0.6774597", "0.6602938", "0.65289104", "0.63904685", "0.6377055", "0.6306516", "0.62701553", "0.6264572", "0.6215784", "0.61000985", "0.6087144", "0.608549", "0.59683", "0.5929458", "0.58584946", "0.58226025", "0.57436115", "0.5735852", "0.5726749", "0.56777316", "0.5659469"...
0.73427045
0
Operation getLogLogentriesWithHttpInfo Get a Logentries log endpoint Note: the input parameter is an associative array with the keys listed as the parameter name below This operation contains Fastly API host(s). Use 'hostIndex' to select the host. URL:
Операция getLogLogentriesWithHttpInfo Получить точку входа Logentries для журнала Примечание: входной параметр — ассоциативный массив с ключами, перечисленными ниже как имена параметров. Эта операция содержит хосты Fastly API. Используйте 'hostIndex', чтобы выбрать хост. URL:
public function getLogLogentriesWithHttpInfo($options) { $request = $this->getLogLogentriesRequest($options); try { $options = $this->createHttpClientOption(); try { $response = $this->client->send($request, $options); } catch (RequestException $e...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function listLogLogentriesWithHttpInfo($options)\n {\n $request = $this->listLogLogentriesRequest($options);\n\n try {\n $options = $this->createHttpClientOption();\n try {\n $response = $this->client->send($request, $options);\n } catch (Requ...
[ "0.7478382", "0.7128834", "0.6912305", "0.6808968", "0.6424613", "0.6395766", "0.6251215", "0.6159409", "0.61031795", "0.54447544", "0.5442683", "0.54179966", "0.5357512", "0.5357086", "0.5353913", "0.5349237", "0.52851903", "0.5247112", "0.5219173", "0.52073705", "0.5168248"...
0.77958566
0
Operation getLogLogentriesAsync Get a Logentries log endpoint Note: the input parameter is an associative array with the keys listed as the parameter name below This operation contains host(s) defined in the OpenAP spec. Use 'hostIndex' to select the host. URL:
Операция getLogLogentriesAsync Получить точку входа Logentries для журнала Примечание: входной параметр — ассоциативный массив с ключами, перечисленными ниже как имя параметра Эта операция содержит хост(ы), определенные в спецификации OpenAP. Используйте 'hostIndex', чтобы выбрать хост. URL:
public function getLogLogentriesAsync($options) { return $this->getLogLogentriesAsyncWithHttpInfo($options) ->then( function ($response) { return $response[0]; } ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function listLogLogentriesAsync($options)\n {\n return $this->listLogLogentriesAsyncWithHttpInfo($options)\n ->then(\n function ($response) {\n return $response[0];\n }\n );\n }", "public function getLogLogentriesAsyncWith...
[ "0.724271", "0.6618256", "0.6432736", "0.63475156", "0.61189306", "0.6002769", "0.59949446", "0.59442437", "0.5936847", "0.5905219", "0.5808386", "0.5684412", "0.5677469", "0.5566684", "0.55293924", "0.54934484", "0.54731536", "0.5473052", "0.5467791", "0.5348206", "0.5336342...
0.77094704
0
Operation getLogLogentriesAsyncWithHttpInfo Get a Logentries log endpoint Note: the input parameter is an associative array with the keys listed as the parameter name below This operation contains host(s) defined in the OpenAP spec. Use 'hostIndex' to select the host. URL:
Операция getLogLogentriesAsyncWithHttpInfo Получить точку доступа Logentries для журнала Примечание: входной параметр — ассоциативный массив с ключами, перечисленными ниже как имена параметров Эта операция содержит хост(ы), определенные в спецификации OpenAP. Используйте 'hostIndex', чтобы выбрать хост. URL:
public function getLogLogentriesAsyncWithHttpInfo($options) { $returnType = '\Fastly\Model\LoggingLogentriesResponse'; $request = $this->getLogLogentriesRequest($options); return $this->client ->sendAsync($request, $this->createHttpClientOption()) ->then( ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function listLogLogentriesAsyncWithHttpInfo($options)\n {\n $returnType = '\\Fastly\\Model\\LoggingLogentriesResponse[]';\n $request = $this->listLogLogentriesRequest($options);\n\n return $this->client\n ->sendAsync($request, $this->createHttpClientOption())\n ...
[ "0.75959533", "0.71671337", "0.7088572", "0.70029104", "0.6849269", "0.6671753", "0.63408154", "0.6264822", "0.62041295", "0.6100606", "0.5810375", "0.5717084", "0.5699798", "0.5581654", "0.5485287", "0.524306", "0.5195564", "0.51427484", "0.509914", "0.4992744", "0.4968567",...
0.7875217
0
Operation listLogLogentries List Logentries log endpoints Note: the input parameter is an associative array with the keys listed as the parameter name below This operation contains host(s) defined in the OpenAP spec. Use 'hostIndex' to select the host. URL:
Список операций listLogLogentries Список конечных точек журнала Logentries Примечание: входной параметр представляет собой ассоциативный массив с ключами, перечисленными ниже как имя параметра. Эта операция содержит хост(ы), определенные в спецификации OpenAP. Используйте 'hostIndex', чтобы выбрать хост. URL:
public function listLogLogentries($options) { list($response) = $this->listLogLogentriesWithHttpInfo($options); return $response; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getLogLogentries($options)\n {\n list($response) = $this->getLogLogentriesWithHttpInfo($options);\n return $response;\n }", "public function listLogLogentriesWithHttpInfo($options)\n {\n $request = $this->listLogLogentriesRequest($options);\n\n try {\n ...
[ "0.6856069", "0.6644303", "0.6465", "0.620173", "0.6187667", "0.6168651", "0.6135769", "0.60812634", "0.60756546", "0.60616964", "0.59782547", "0.5903025", "0.5797351", "0.57770973", "0.573762", "0.5663207", "0.56185174", "0.55862117", "0.55618036", "0.544797", "0.5406418", ...
0.7328178
0
Operation listLogLogentriesWithHttpInfo List Logentries log endpoints Note: the input parameter is an associative array with the keys listed as the parameter name below This operation contains Fastly API host(s). Use 'hostIndex' to select the host. URL:
Список операций listLogLogentriesWithHttpInfo Список конечных точек журнала Logentries Примечание: входной параметр — ассоциативный массив с ключами, перечисленными как имена параметров ниже Эта операция содержит Fastly API hosts. Используйте 'hostIndex', чтобы выбрать host. URL:
public function listLogLogentriesWithHttpInfo($options) { $request = $this->listLogLogentriesRequest($options); try { $options = $this->createHttpClientOption(); try { $response = $this->client->send($request, $options); } catch (RequestException ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getLogLogentriesWithHttpInfo($options)\n {\n $request = $this->getLogLogentriesRequest($options);\n\n try {\n $options = $this->createHttpClientOption();\n try {\n $response = $this->client->send($request, $options);\n } catch (Reques...
[ "0.760667", "0.7351659", "0.6895024", "0.673859", "0.67144245", "0.6628649", "0.65364665", "0.63310724", "0.62145466", "0.5782607", "0.570539", "0.5651443", "0.5516315", "0.54973185", "0.54045844", "0.54005635", "0.53234184", "0.52428275", "0.5189112", "0.5180166", "0.5144744...
0.79149336
0
Operation listLogLogentriesAsync List Logentries log endpoints Note: the input parameter is an associative array with the keys listed as the parameter name below This operation contains host(s) defined in the OpenAP spec. Use 'hostIndex' to select the host. URL:
Список операций listLogLogentriesAsync Список конечных точек Logentries записей Примечание: входной параметр представляет собой ассоциативный массив с ключами, указанными как имена параметров ниже. Эта операция содержит хосты, определенные в спецификации OpenAP. Используйте 'hostIndex', чтобы выбрать хост. URL:
public function listLogLogentriesAsync($options) { return $this->listLogLogentriesAsyncWithHttpInfo($options) ->then( function ($response) { return $response[0]; } ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getLogLogentriesAsync($options)\n {\n return $this->getLogLogentriesAsyncWithHttpInfo($options)\n ->then(\n function ($response) {\n return $response[0];\n }\n );\n }", "public function listLogLogentriesAsyncWithH...
[ "0.7085379", "0.6779151", "0.642446", "0.6269435", "0.62497187", "0.61649597", "0.6124649", "0.5846774", "0.5846626", "0.57255584", "0.5695026", "0.55469275", "0.5264566", "0.5258361", "0.52500063", "0.5242042", "0.52173126", "0.51898384", "0.5173464", "0.5150327", "0.5141117...
0.7771724
0
Operation listLogLogentriesAsyncWithHttpInfo List Logentries log endpoints Note: the input parameter is an associative array with the keys listed as the parameter name below This operation contains host(s) defined in the OpenAP spec. Use 'hostIndex' to select the host. URL:
Список операций listLogLogentriesAsyncWithHttpInfo Список конечных точек журнала Logentries Примечание: входной параметр — ассоциативный массив с ключами, указанными как имена параметров ниже. Эта операция содержит хост(ы), определенные в спецификации OpenAP. Используйте 'hostIndex', чтобы выбрать хост. URL:
public function listLogLogentriesAsyncWithHttpInfo($options) { $returnType = '\Fastly\Model\LoggingLogentriesResponse[]'; $request = $this->listLogLogentriesRequest($options); return $this->client ->sendAsync($request, $this->createHttpClientOption()) ->then( ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getLogLogentriesAsyncWithHttpInfo($options)\n {\n $returnType = '\\Fastly\\Model\\LoggingLogentriesResponse';\n $request = $this->getLogLogentriesRequest($options);\n\n return $this->client\n ->sendAsync($request, $this->createHttpClientOption())\n ->th...
[ "0.75058067", "0.72183603", "0.7168633", "0.7092594", "0.67745596", "0.6642576", "0.65387887", "0.64361215", "0.62056375", "0.607338", "0.60483503", "0.59954834", "0.57628596", "0.5658434", "0.56037664", "0.5546923", "0.51023793", "0.5048111", "0.4887375", "0.48442557", "0.48...
0.7944257
0
Create request for operation 'listLogLogentries' Note: the input parameter is an associative array with the keys listed as the parameter name below This operation contains host(s) defined in the OpenAP spec. Use 'hostIndex' to select the host. URL:
Создать запрос для операции 'listLogLogentries' Примечание: входной параметр — ассоциативный массив с ключами, указанными в качестве названия параметра ниже. Эта операция содержит хост(ы), определенные в OpenAP спецификации. Используйте 'hostIndex', чтобы выбрать хост. URL:
public function listLogLogentriesRequest($options) { // unbox the parameters from the associative array $service_id = array_key_exists('service_id', $options) ? $options['service_id'] : null; $version_id = array_key_exists('version_id', $options) ? $options['version_id'] : null; // ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getLogs() {\n $logs=KapostBridgeLog::get();\n \n $filterFields=$this->LogsForm()->Fields();\n \n //Apply Called Method filter\n $var=$filterFields->dataFieldByName('CalledMethod')->Value();\n if(!empty($var)) {\n $logs=$logs->filter('Metho...
[ "0.67373216", "0.6734883", "0.6675121", "0.6602773", "0.65998363", "0.64308035", "0.6309939", "0.6248933", "0.6015046", "0.5974222", "0.58868873", "0.58334416", "0.5785739", "0.57658184", "0.5709599", "0.5681197", "0.5661802", "0.56480384", "0.56277865", "0.5588295", "0.55870...
0.7190809
0
Operation updateLogLogentries Update a Logentries log endpoint Note: the input parameter is an associative array with the keys listed as the parameter name below This operation contains host(s) defined in the OpenAP spec. Use 'hostIndex' to select the host. URL:
Операция updateLogLogentries Обновление конечной точки журнала Logentries Заметка: входной параметр — ассоциативный массив с ключами, перечисленными ниже как имя параметра. Эта операция содержит хост(ы), определенные в спецификации OpenAP. Используйте 'hostIndex', чтобы выбрать хост. URL:
public function updateLogLogentries($options) { list($response) = $this->updateLogLogentriesWithHttpInfo($options); return $response; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function updateLogLogentriesWithHttpInfo($options)\n {\n $request = $this->updateLogLogentriesRequest($options);\n\n try {\n $options = $this->createHttpClientOption();\n try {\n $response = $this->client->send($request, $options);\n } catch (...
[ "0.67564595", "0.6343605", "0.58577514", "0.57420623", "0.55046713", "0.5462311", "0.54198664", "0.5365956", "0.5351138", "0.53489965", "0.53112763", "0.5245883", "0.5243633", "0.5031549", "0.49685973", "0.4962517", "0.492723", "0.4877413", "0.48771963", "0.48130298", "0.4803...
0.74155104
0
Operation updateLogLogentriesWithHttpInfo Update a Logentries log endpoint Note: the input parameter is an associative array with the keys listed as the parameter name below This operation contains Fastly API host(s). Use 'hostIndex' to select the host. URL:
Операция updateLogLogentriesWithHttpInfo Обновление конечной точки журнала Logentries Заметка: входной параметр — ассоциативный массив с ключами, перечисленными ниже как названия параметров. Эта операция содержит хосты Fastly API. Используйте 'hostIndex', чтобы выбрать хост. URL:
public function updateLogLogentriesWithHttpInfo($options) { $request = $this->updateLogLogentriesRequest($options); try { $options = $this->createHttpClientOption(); try { $response = $this->client->send($request, $options); } catch (RequestExcept...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function updateLogLogentries($options)\n {\n list($response) = $this->updateLogLogentriesWithHttpInfo($options);\n return $response;\n }", "public function updateLogLogentriesAsyncWithHttpInfo($options)\n {\n $returnType = '\\Fastly\\Model\\LoggingLogentriesResponse';\n ...
[ "0.7180358", "0.6664837", "0.6416595", "0.6355995", "0.6229189", "0.6202464", "0.57512504", "0.5563234", "0.55580586", "0.55074626", "0.53744376", "0.508109", "0.49696773", "0.49528196", "0.48350635", "0.48349074", "0.48306826", "0.4763437", "0.4685764", "0.4662276", "0.46111...
0.76702213
0
Operation updateLogLogentriesAsync Update a Logentries log endpoint Note: the input parameter is an associative array with the keys listed as the parameter name below This operation contains host(s) defined in the OpenAP spec. Use 'hostIndex' to select the host. URL:
Операция updateLogLogentriesAsync Обновление точки назначения журнала Logentries Заметка: входной параметр — ассоциативный массив с ключами, указанными как имена параметров ниже Эта операция содержит хост(ы), определенные в спецификации OpenAP. Используйте 'hostIndex', чтобы выбрать хост. URL:
public function updateLogLogentriesAsync($options) { return $this->updateLogLogentriesAsyncWithHttpInfo($options) ->then( function ($response) { return $response[0]; } ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function updateLogLogentriesAsyncWithHttpInfo($options)\n {\n $returnType = '\\Fastly\\Model\\LoggingLogentriesResponse';\n $request = $this->updateLogLogentriesRequest($options);\n\n return $this->client\n ->sendAsync($request, $this->createHttpClientOption())\n ...
[ "0.68240875", "0.6502855", "0.6318551", "0.6075251", "0.6070481", "0.5753167", "0.5717689", "0.565441", "0.5590427", "0.5584699", "0.5303017", "0.5276254", "0.52370596", "0.5088599", "0.50519466", "0.5026414", "0.49795362", "0.4816923", "0.47428474", "0.46194923", "0.4539225"...
0.7721363
0
Operation updateLogLogentriesAsyncWithHttpInfo Update a Logentries log endpoint Note: the input parameter is an associative array with the keys listed as the parameter name below This operation contains host(s) defined in the OpenAP spec. Use 'hostIndex' to select the host. URL:
Операция updateLogLogentriesAsyncWithHttpInfo Обновление точки входа Logentries для журнала Примечание: входной параметр — ассоциативный массив с ключами, перечисленными как имена параметров ниже Эта операция содержит хост(ы), определенные в спецификации OpenAP. Используйте 'hostIndex', чтобы выбрать хост. URL:
public function updateLogLogentriesAsyncWithHttpInfo($options) { $returnType = '\Fastly\Model\LoggingLogentriesResponse'; $request = $this->updateLogLogentriesRequest($options); return $this->client ->sendAsync($request, $this->createHttpClientOption()) ->then( ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function updateLogLogentriesAsync($options)\n {\n return $this->updateLogLogentriesAsyncWithHttpInfo($options)\n ->then(\n function ($response) {\n return $response[0];\n }\n );\n }", "public function updateLogLogentriesWi...
[ "0.7289569", "0.72058874", "0.690117", "0.66978824", "0.6680291", "0.65188706", "0.63010746", "0.59979707", "0.5920442", "0.58357835", "0.5809636", "0.54986864", "0.5296414", "0.5198365", "0.5068783", "0.5050416", "0.49548125", "0.49081272", "0.4848055", "0.47397834", "0.4739...
0.7944113
0
Create request for operation 'updateLogLogentries' Note: the input parameter is an associative array with the keys listed as the parameter name below This operation contains host(s) defined in the OpenAP spec. Use 'hostIndex' to select the host. URL:
Создать запрос для операции 'updateLogLogentries' Примечание: входной параметр — ассоциативный массив с ключами, перечисленными ниже в качестве названия параметра. Эта операция содержит хост(ы), определенные в спецификации OpenAP. Используйте 'hostIndex', чтобы выбрать хост. URL:
public function updateLogLogentriesRequest($options) { // unbox the parameters from the associative array $service_id = array_key_exists('service_id', $options) ? $options['service_id'] : null; $version_id = array_key_exists('version_id', $options) ? $options['version_id'] : null; $l...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function listLogLogentriesRequest($options)\n {\n // unbox the parameters from the associative array\n $service_id = array_key_exists('service_id', $options) ? $options['service_id'] : null;\n $version_id = array_key_exists('version_id', $options) ? $options['version_id'] : null;\n\n...
[ "0.6593263", "0.6452841", "0.6356127", "0.6305711", "0.6302959", "0.56699204", "0.5514515", "0.5385787", "0.5364588", "0.52944833", "0.5185935", "0.5163817", "0.5146814", "0.5110049", "0.5083261", "0.50587815", "0.50534934", "0.49851876", "0.49364728", "0.48653132", "0.485909...
0.7275453
0
Add the default suite of context providers provided.
Добавьте стандартный набор поставщиков контекста, предоставляемых по умолчанию.
protected function _addDefaultContextProviders() { $this->addContextProvider('orm', function ($request, $data) { if (is_array($data['entity']) || $data['entity'] instanceof \Traversable) { $pass = (new Collection($data['entity']))->first() !== null; if ($pass) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function _scholar_polls_context_default_contexts() {\n $items = array();\n\n $items[] = array(\n 'namespace' => 'scholar',\n 'attribute' => 'feature',\n 'value' => 'polls',\n 'description' => 'Polls feature context',\n 'node' => array(\n '0' => 'poll',\n ),\n 'views' => array(\n '0...
[ "0.6025827", "0.591977", "0.58049315", "0.5646695", "0.5564988", "0.5559388", "0.55571705", "0.54738486", "0.54688", "0.5461041", "0.54492706", "0.54088336", "0.537454", "0.53717446", "0.53652424", "0.53611076", "0.53606355", "0.5356665", "0.5353928", "0.53533274", "0.53353",...
0.7392352
0
Add the form suite of context providers provided.
Добавьте форму набора контекстных поставщиков, предоставленную.
protected function _addFormContextProvider() { $this->addContextProvider('form', function ($request, $data) { if ($data['entity'] instanceof Form) { return new FormContext($request, $data); } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function _addDefaultContextProviders()\n {\n $this->addContextProvider('orm', function ($request, $data) {\n if (is_array($data['entity']) || $data['entity'] instanceof \\Traversable) {\n $pass = (new Collection($data['entity']))->first() !== null;\n if ...
[ "0.64506334", "0.6088335", "0.5949981", "0.58475393", "0.5847057", "0.5786872", "0.5723364", "0.56737006", "0.5581403", "0.55369526", "0.5524596", "0.55087996", "0.54720974", "0.54539275", "0.54529023", "0.54300874", "0.54185104", "0.54122335", "0.540824", "0.5351723", "0.533...
0.7133587
0
Test data for getAvailableNumbersProviders method
Тестовые данные для метода getAvailableNumbersProviders
public function getAvailableNumbersProviders(){ return [ [[1,2,3,4],[5,6,7,8,9]], [[1,1,2,2],[3,4,5,6,7,8,9]], [[1,2,3,4,5,6,7,8],[9]], [[1,2,3,4,5,6,7,8,9],[]], [[], [1,2,3,4,5,6,7,8,9]], ]; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getFirstAvailableNumberProviders(){\n\n return [\n [[1,2,3,4,5,6,7,8],9],\n [[1,2,3,4],5],\n ];\n }", "public function getRandomAvailableNumberProviders(){\n\n return [\n [[1,2,3,4],[5,6,7,8,9]],\n [[1,1,2,2],[3,4,5,6,7,8,9]],\n ...
[ "0.720887", "0.7190922", "0.7105456", "0.692324", "0.63710827", "0.61878383", "0.6127797", "0.6127797", "0.6121502", "0.60467714", "0.57652086", "0.5761224", "0.57532185", "0.57312834", "0.57058394", "0.5704815", "0.57008684", "0.5660931", "0.56567085", "0.55882746", "0.55839...
0.7797409
0
Test data for getAvailableNumbersProviders method
Тестовые данные для метода getAvailableNumbersProviders
public function getFirstAvailableNumberProviders(){ return [ [[1,2,3,4,5,6,7,8],9], [[1,2,3,4],5], ]; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getAvailableNumbersProviders(){\n\n return [\n [[1,2,3,4],[5,6,7,8,9]],\n [[1,1,2,2],[3,4,5,6,7,8,9]],\n [[1,2,3,4,5,6,7,8],[9]],\n [[1,2,3,4,5,6,7,8,9],[]],\n [[], [1,2,3,4,5,6,7,8,9]],\n ];\n }", "public function getRandomA...
[ "0.7797409", "0.7190922", "0.7105456", "0.692324", "0.63710827", "0.61878383", "0.6127797", "0.6127797", "0.6121502", "0.60467714", "0.57652086", "0.5761224", "0.57532185", "0.57312834", "0.57058394", "0.5704815", "0.57008684", "0.5660931", "0.56567085", "0.55882746", "0.5583...
0.720887
1
Check that the SampleSet model can find a record using id
Проверьте, может ли модель SampleSet найти запись по идентификатору
public function test_findId() { $data = $this->SampleSet->find('all', ['conditions' => ['id' => 1]]); $this->assertNotNull($data); $this->assertEquals(1, $data[0]['SampleSet']['id']); $this->assertEquals(1, count($data)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function test_getByRecordId_exists_executesCorrectly()\r\n\t{\r\n\t\t$recordId = \"aDummyRecordId\";\r\n\t\t\r\n\t\t$this->prepareSetRecordId($recordId);\r\n\t\t$this->prepareFind(true);\r\n\t\r\n\t\t$actual = $this->service->getByRecordId($recordId);\r\n\t\t$this->assertEquals($this->dbObjectMock, $actual)...
[ "0.6549484", "0.64105433", "0.6383089", "0.6350928", "0.63052905", "0.6254503", "0.6246764", "0.6242028", "0.6235734", "0.6235734", "0.6230672", "0.62272435", "0.6191005", "0.6191005", "0.61713254", "0.615037", "0.615037", "0.615037", "0.615037", "0.615037", "0.615037", "0....
0.74717575
0
Check that the SampleSet model can find a record using set code
Проверьте, может ли модель SampleSet найти запись с использованием кода набора
public function test_findSetCode() { $data = $this->SampleSet->find('all', ['conditions' => ['set_code' => 'ch1']]); $this->assertEquals(1, $data[0]['SampleSet']['id']); $this->assertEquals(1, count($data)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function test_findId() {\n $data = $this->SampleSet->find('all', ['conditions' => ['id' => 1]]);\n $this->assertNotNull($data);\n $this->assertEquals(1, $data[0]['SampleSet']['id']);\n $this->assertEquals(1, count($data));\n }", "public function test_findConfidential() {\n ...
[ "0.681853", "0.6406989", "0.6080322", "0.5937807", "0.592769", "0.5926949", "0.5846103", "0.5839473", "0.57665515", "0.5700971", "0.56312484", "0.5613167", "0.55955637", "0.54875445", "0.5477147", "0.54671305", "0.5443847", "0.5430166", "0.5362675", "0.53300387", "0.5327794",...
0.7281032
0
Create customer mandate with invalid signature date
Создать клиентский мандат с недействительной датой подписания
public function testCreateCustomerMandateInvalidSignatureDate() { // Mock the mandate $mandateMock = $this->getCustomerMandate(); // Create API instance $api = new Mollie('test_testapikey'); // Mock the request $requestMock = $this->createMock(Request::class); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function createPayment()\n\t{\n\n\t}", "public function setCreationDate($date) {}", "function new_token_create($billing_first_name,$billing_last_name,$card_no,$month,$year,$cvc,$billing_city,$billing_country,$billing_address_1,$billing_address_2,$billing_state,$billing_email)\n {\n \t\n \ttry ...
[ "0.57442725", "0.56340647", "0.56275845", "0.5583274", "0.5574048", "0.5570828", "0.5516525", "0.54941833", "0.5363338", "0.5330941", "0.53126323", "0.527707", "0.5265043", "0.5256435", "0.5229046", "0.516897", "0.51535136", "0.513556", "0.5123578", "0.5122006", "0.51155764",...
0.7969915
0
Fetch a set of news from local data, filtered by news categories. Raw item list is cached the returned result of the filtering should ideally be secondarily cached by calling code on a perenduser basis. Intended to be used as part of an AJAX request for the external news ticker.
Получить набор новостей из локальных данных, отфильтрованных по категориям новостей. Список сырых элементов кэшируется, результат фильтрации, который возвращается, идеально подходит для вторичного кэширования вызывающим кодом на основе каждого пользователя. Предназначен для использования в составе AJAX-запроса для внеш...
public function fetchNews($categoryIds = array()) { $params = Zend_Registry::get('params'); // Get all news items from DB, result cached with Zend_Cache, and filter/return required categories // Initialise the all items cache $frontendOptions = array( 'lifetime' => $params...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function getItems()\n\t{\n\t\tglobal $objPage;\n\t\t$objDatabase = \\Database::getInstance();\n\t\t\n\t\t$time = time();\n\t\t$strBegin;\n\t\t$strEnd;\n\t\t$arrArticles = array();\n\t\t\n\t\t// Create a new data Object\n\t\t$objDate = new \\Date();\n\t\t\n\t\t// Set scope of pagination\n\t\tif($this->pagin...
[ "0.69854647", "0.6524814", "0.63266283", "0.619326", "0.6135359", "0.6128245", "0.6104756", "0.6079235", "0.6034175", "0.59230506", "0.58493066", "0.58015436", "0.57814205", "0.5770745", "0.57294816", "0.5725657", "0.5707956", "0.568854", "0.5671523", "0.5665198", "0.56553036...
0.7304332
0
Clean up locally stored news prunes old entries and removes dead categories (and any mapping links to them) that are tagged as nonpermanent. Intended to be run as a cron task.
Очистите локально хранимые новости, удалите старые записи и уберите устаревшие категории (и любые ссылки на них) с меткой nonpermanent. Предназначен для запуска как задание cron.
public function cleanupNews() { $this->_useCategoryDatasource(); $this->_useItemDatasource(); // Delete old news items $this->_externalNewsItemDatasource->prune(); // Identify non-permanent categories that haven't been updated in a while $unusedCategories = $this->_ext...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function PruneNews()\n{\n\t$story = new NewsStory();\n\t$timestamp=intval($_POST['prune_date']);\n\t$expired= intval($_POST['expired']);\n\t$topiclist=\"\";\n\tif(isset($_POST['pruned_topics'])) {\n\t\t$topiclist=$_POST['pruned_topics'];\n\t}\n\n\tif(intval($_POST['ok'])==1) {\n\t\t$story = new NewsStory();\n\t\tx...
[ "0.6364854", "0.62530303", "0.6055948", "0.6024888", "0.5985245", "0.59526485", "0.5952359", "0.5923385", "0.59233093", "0.588966", "0.58838356", "0.58784956", "0.58729434", "0.58645004", "0.58120364", "0.5809997", "0.58050054", "0.578848", "0.57699853", "0.574636", "0.572284...
0.7968509
0
Instantiate external news source datasource. Not in constructor as not all methods in class need it this way it can be lazyloaded as appropriate.
Инстанцировать внешний источник новостей datasource. Не в конструкторе, так как не все методы класса требуют его таким образом, и это позволяет лениво загружать его по мере необходимости.
protected function _useSourceDatasource() { // Instantiate source datasource if it's not already instantiated if (is_null($this->_externalNewsSourceDatasource)) { $this->_externalNewsSourceDatasource = new Datasource_Cms_ExternalNews_Source(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function _useCategoryDatasource() {\n\n // Instantiate category datasource if it's not already instantiated\n if (is_null($this->_externalNewsCategoryDatasource)) {\n $this->_externalNewsCategoryDatasource = new Datasource_Cms_ExternalNews_Category();\n }\n }", "prote...
[ "0.70675313", "0.69137233", "0.6751257", "0.64828193", "0.63781506", "0.6356009", "0.6255158", "0.6174804", "0.61711615", "0.60412866", "0.59912664", "0.59585285", "0.591464", "0.5824373", "0.57935065", "0.57803357", "0.5779469", "0.5706903", "0.5700846", "0.56967777", "0.569...
0.8011751
0
Instantiate external news category datasource. Not in constructor as not all methods in class need it this way it can be lazyloaded as appropriate.
Создать внешний источник данных категории новостей. Не в конструкторе, так как не все методы класса нуждаются в этом, таким образом, можно загружать его по требованию.
protected function _useCategoryDatasource() { // Instantiate category datasource if it's not already instantiated if (is_null($this->_externalNewsCategoryDatasource)) { $this->_externalNewsCategoryDatasource = new Datasource_Cms_ExternalNews_Category(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function _useSourceDatasource() {\n\n // Instantiate source datasource if it's not already instantiated\n if (is_null($this->_externalNewsSourceDatasource)) {\n $this->_externalNewsSourceDatasource = new Datasource_Cms_ExternalNews_Source();\n }\n }", "protected funct...
[ "0.6938655", "0.6724003", "0.62467486", "0.61686593", "0.599822", "0.5988465", "0.5976827", "0.5863441", "0.5861431", "0.58145887", "0.5802353", "0.5718632", "0.5681811", "0.56547767", "0.56426376", "0.56290853", "0.5604109", "0.55972904", "0.557221", "0.556922", "0.5550887",...
0.81300056
0
Instantiate external news item datasource. Not in constructor as not all methods in class need it this way it can be lazyloaded as appropriate.
Создать внешний источник данных для новостей. Не в конструкторе, так как не все методы класса нуждаются в этом, таким образом, можно реализовать ленизацию загрузки в соответствии с необходимостью.
protected function _useItemDatasource() { // Instantiate item datasource if it's not already instantiated if (is_null($this->_externalNewsItemDatasource)) { $this->_externalNewsItemDatasource = new Datasource_Cms_ExternalNews_Item(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function _useSourceDatasource() {\n\n // Instantiate source datasource if it's not already instantiated\n if (is_null($this->_externalNewsSourceDatasource)) {\n $this->_externalNewsSourceDatasource = new Datasource_Cms_ExternalNews_Source();\n }\n }", "protected funct...
[ "0.6902752", "0.67422813", "0.6318153", "0.61442316", "0.60975784", "0.5943563", "0.5821911", "0.5797804", "0.57564247", "0.5750678", "0.5742037", "0.572566", "0.568456", "0.5659752", "0.5647116", "0.5646378", "0.56416154", "0.5612853", "0.55949986", "0.5587708", "0.5583087",...
0.7826441
0
End of getPostVars() FUNCTION: WRITE POST VARS TO SESSION
Конец функции getPostVars(): ЗАПИСЬ ПОСТ-ПЕРЕМЕННЫХ В СЕССИЮ
public static function writePostVarsToSession($pattern) { /* This function is just like getPostVars except that it also writes the values to the $_SESSION array. */ if (!$_POST) { // echo "The POST Array is empty<BR>"; return FALSE; } if (!$pattern || $pattern == "...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getPostVariables();", "public function setPostInSession() {\n $_SESSION ['gateway_redirect'] = array (\n 'url' => $this->getUrl (), \n 'enctype' => $this->encType, \n ...
[ "0.7042991", "0.644717", "0.64253956", "0.6260297", "0.6228074", "0.6185575", "0.617926", "0.61500835", "0.61359686", "0.61006325", "0.60316825", "0.6001508", "0.5973148", "0.5940803", "0.59366655", "0.5922353", "0.58989483", "0.5894438", "0.5890238", "0.5868156", "0.5828855"...
0.70761925
0