query
stringlengths
11
3.13k
ru_query
stringlengths
9
3.91k
document
stringlengths
18
71k
metadata
dict
negatives
listlengths
0
100
negative_scores
listlengths
0
100
document_score
stringlengths
5
10
document_rank
stringclasses
2 values
Returns the enable shrinking for picture image upload.
Возвращает возможность уменьшения изображения при загрузке изображения.
public function getEnableShrinkingForPictureImageUpload() { return $this->enableShrinkingForPictureImageUpload; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getEnableShrinkingForAvatarAvatarUpload()\n {\n return $this->enableShrinkingForAvatarAvatarUpload;\n }", "public function getShrinkWidthPictureImageUpload()\n {\n return $this->shrinkWidthPictureImageUpload;\n }", "public function get_allow_jpg() {\n return $th...
[ "0.79721135", "0.7449605", "0.6892022", "0.68445104", "0.6765386", "0.6685839", "0.6639067", "0.65028405", "0.6356651", "0.62920624", "0.6091758", "0.6084595", "0.6052409", "0.60162616", "0.600114", "0.59801483", "0.5961674", "0.5901935", "0.5889426", "0.5868393", "0.5865876"...
0.88829964
0
Sets the enable shrinking for picture image upload.
Устанавливает возможность сжатия для загрузки изображения.
public function setEnableShrinkingForPictureImageUpload($enableShrinkingForPictureImageUpload) { if (boolval($this->enableShrinkingForPictureImageUpload) !== boolval($enableShrinkingForPictureImageUpload)) { $this->enableShrinkingForPictureImageUpload = boolval($enableShrinkingForPictureImageUpl...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getEnableShrinkingForPictureImageUpload()\n {\n return $this->enableShrinkingForPictureImageUpload;\n }", "public function setEnableShrinkingForAvatarAvatarUpload($enableShrinkingForAvatarAvatarUpload)\n {\n if (boolval($this->enableShrinkingForAvatarAvatarUpload) !== boolv...
[ "0.72670937", "0.7095434", "0.6785578", "0.6373392", "0.63385916", "0.62582695", "0.61361945", "0.60908204", "0.60348195", "0.5929071", "0.59247404", "0.58813345", "0.5815504", "0.57951146", "0.57168317", "0.56902", "0.56850374", "0.55981785", "0.55323005", "0.5467075", "0.54...
0.75122017
0
Returns the shrink width picture image upload.
Возвращает изображение с уменьшенной шириной для загрузки.
public function getShrinkWidthPictureImageUpload() { return $this->shrinkWidthPictureImageUpload; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getShrinkWidthAvatarAvatarUpload()\n {\n return $this->shrinkWidthAvatarAvatarUpload;\n }", "public function getShrinkHeightPictureImageUpload()\n {\n return $this->shrinkHeightPictureImageUpload;\n }", "public function getThumbnailWidthPictureImageUploadEdit()\n {\...
[ "0.7927171", "0.75169027", "0.74490976", "0.7084288", "0.7043732", "0.6969372", "0.69005746", "0.6862842", "0.68522376", "0.68427753", "0.68360204", "0.6817236", "0.6706101", "0.6704538", "0.6636019", "0.6634741", "0.6604482", "0.65902877", "0.65398663", "0.6519503", "0.65081...
0.87495476
0
Sets the shrink width picture image upload.
Устанавливает ширину сжатия изображения загрузки.
public function setShrinkWidthPictureImageUpload($shrinkWidthPictureImageUpload) { if (intval($this->shrinkWidthPictureImageUpload) !== intval($shrinkWidthPictureImageUpload)) { $this->shrinkWidthPictureImageUpload = intval($shrinkWidthPictureImageUpload); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setShrinkWidthAvatarAvatarUpload($shrinkWidthAvatarAvatarUpload)\n {\n if (intval($this->shrinkWidthAvatarAvatarUpload) !== intval($shrinkWidthAvatarAvatarUpload)) {\n $this->shrinkWidthAvatarAvatarUpload = intval($shrinkWidthAvatarAvatarUpload);\n }\n }", "public f...
[ "0.73545575", "0.68303716", "0.6823721", "0.67544246", "0.6739945", "0.67380255", "0.66731733", "0.66300315", "0.6613179", "0.6492168", "0.646582", "0.6433827", "0.63240105", "0.63186944", "0.62125397", "0.621249", "0.6211763", "0.6188035", "0.61876297", "0.61540514", "0.6146...
0.77329713
0
Returns the shrink height picture image upload.
Возвращает изображение с уменьшенной высотой для загрузки.
public function getShrinkHeightPictureImageUpload() { return $this->shrinkHeightPictureImageUpload; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getShrinkHeightAvatarAvatarUpload()\n {\n return $this->shrinkHeightAvatarAvatarUpload;\n }", "public function getThumbnailHeightPictureImageUploadEdit()\n {\n return $this->thumbnailHeightPictureImageUploadEdit;\n }", "public function getShrinkWidthPictureImageUpload(...
[ "0.81806934", "0.77926844", "0.7735154", "0.74782574", "0.7439435", "0.735075", "0.7294867", "0.7290222", "0.7263895", "0.72132736", "0.71793884", "0.71658975", "0.7136301", "0.71291625", "0.71239936", "0.7123077", "0.71085507", "0.7101482", "0.70737225", "0.7063003", "0.7048...
0.89752334
0
Sets the shrink height picture image upload.
Устанавливает сжатую высоту изображения загрузки.
public function setShrinkHeightPictureImageUpload($shrinkHeightPictureImageUpload) { if (intval($this->shrinkHeightPictureImageUpload) !== intval($shrinkHeightPictureImageUpload)) { $this->shrinkHeightPictureImageUpload = intval($shrinkHeightPictureImageUpload); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setShrinkHeightAvatarAvatarUpload($shrinkHeightAvatarAvatarUpload)\n {\n if (intval($this->shrinkHeightAvatarAvatarUpload) !== intval($shrinkHeightAvatarAvatarUpload)) {\n $this->shrinkHeightAvatarAvatarUpload = intval($shrinkHeightAvatarAvatarUpload);\n }\n }", "pu...
[ "0.7598043", "0.7040691", "0.692852", "0.6874033", "0.68601567", "0.6719497", "0.6712276", "0.6703667", "0.66855246", "0.66582334", "0.6655131", "0.6587024", "0.64853334", "0.64843994", "0.6470424", "0.6399239", "0.63535076", "0.6343356", "0.62807", "0.62328047", "0.62231296"...
0.8046243
0
Returns the thumbnail mode picture image upload.
Возвращает изображение в режиме миниатюры для загрузки.
public function getThumbnailModePictureImageUpload() { return $this->thumbnailModePictureImageUpload; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getThumbnailModeAvatarAvatarUpload()\n {\n return $this->thumbnailModeAvatarAvatarUpload;\n }", "public function getThumbnailImage()\n\t{\n\t\treturn $this->_getImagePath('thumbnail');\n\t}", "public function getThumbnailImageType()\r\n\t{\r\n\t\treturn 'large'; // change this to '...
[ "0.82834464", "0.70931065", "0.70408434", "0.6944449", "0.69302994", "0.6918576", "0.6850517", "0.68455535", "0.68068546", "0.67963415", "0.678339", "0.678339", "0.67286235", "0.6719573", "0.6695059", "0.66837955", "0.66837955", "0.66654533", "0.66528296", "0.6649559", "0.660...
0.896196
0
Sets the thumbnail mode picture image upload.
Устанавливает режим миниатюры изображения загрузки изображения.
public function setThumbnailModePictureImageUpload($thumbnailModePictureImageUpload) { if ($this->thumbnailModePictureImageUpload !== $thumbnailModePictureImageUpload) { $this->thumbnailModePictureImageUpload = isset($thumbnailModePictureImageUpload) ? $thumbnailModePictureImageUpload : ''; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setThumbnailModeAvatarAvatarUpload($thumbnailModeAvatarAvatarUpload)\n {\n if ($this->thumbnailModeAvatarAvatarUpload !== $thumbnailModeAvatarAvatarUpload) {\n $this->thumbnailModeAvatarAvatarUpload = isset($thumbnailModeAvatarAvatarUpload) ? $thumbnailModeAvatarAvatarUpload : ...
[ "0.7357123", "0.7188728", "0.6809456", "0.6790614", "0.6774415", "0.67736197", "0.6709887", "0.6641957", "0.6535323", "0.6512527", "0.64539444", "0.6420996", "0.640923", "0.63199645", "0.6296526", "0.6280925", "0.62056446", "0.6185122", "0.61786103", "0.6169662", "0.6137206",...
0.7724626
0
Returns the thumbnail width picture image upload view.
Возвращает ширину миниатюры изображения представления загрузки изображения.
public function getThumbnailWidthPictureImageUploadView() { return $this->thumbnailWidthPictureImageUploadView; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getThumbnailWidthAvatarAvatarUploadView()\n {\n return $this->thumbnailWidthAvatarAvatarUploadView;\n }", "public function getThumbnailWidthPictureImageUploadEdit()\n {\n return $this->thumbnailWidthPictureImageUploadEdit;\n }", "public function getThumbnailWidthPictur...
[ "0.85049206", "0.81979436", "0.8108196", "0.7767501", "0.76829255", "0.765314", "0.7613282", "0.7357008", "0.7253641", "0.7174719", "0.7125934", "0.6965334", "0.692417", "0.6922837", "0.687962", "0.68510777", "0.6804188", "0.6728043", "0.66686285", "0.66658515", "0.6664644", ...
0.9032338
0
Sets the thumbnail width picture image upload view.
Устанавливает ширину миниатюры изображения в представлении загрузки изображения.
public function setThumbnailWidthPictureImageUploadView($thumbnailWidthPictureImageUploadView) { if (intval($this->thumbnailWidthPictureImageUploadView) !== intval($thumbnailWidthPictureImageUploadView)) { $this->thumbnailWidthPictureImageUploadView = intval($thumbnailWidthPictureImageUploadView...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function setPhotoThumbnailWidth($width) {\n $this->photoThumbnailWidth = $width;\n }", "public function setThumbnailWidthAvatarAvatarUploadView($thumbnailWidthAvatarAvatarUploadView)\n {\n if (intval($this->thumbnailWidthAvatarAvatarUploadView) !== intval($thumbnailWidthAvatarAvatarUploadVi...
[ "0.8020022", "0.7714837", "0.76893747", "0.75013316", "0.7340868", "0.73212004", "0.7314029", "0.7204579", "0.72014076", "0.711029", "0.7028998", "0.69539213", "0.67084825", "0.66990227", "0.66642445", "0.6625748", "0.6578513", "0.6526907", "0.6453209", "0.63804716", "0.63719...
0.7763982
1
Returns the thumbnail height picture image upload view.
Возвращает высоту миниатюры изображения представления загрузки изображения.
public function getThumbnailHeightPictureImageUploadView() { return $this->thumbnailHeightPictureImageUploadView; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getThumbnailHeightAvatarAvatarUploadView()\n {\n return $this->thumbnailHeightAvatarAvatarUploadView;\n }", "public function getThumbnailHeightPictureImageUploadEdit()\n {\n return $this->thumbnailHeightPictureImageUploadEdit;\n }", "public function getThumbnailHeightP...
[ "0.87189126", "0.8627747", "0.85932994", "0.82510084", "0.8212044", "0.8074057", "0.77915984", "0.77419806", "0.7718831", "0.7648905", "0.76328456", "0.7538162", "0.74836844", "0.74099374", "0.7373634", "0.73537344", "0.73374575", "0.7322932", "0.73098093", "0.7286797", "0.72...
0.9201128
0
Sets the thumbnail height picture image upload view.
Устанавливает высоту миниатюры изображения в представлении загрузки изображения.
public function setThumbnailHeightPictureImageUploadView($thumbnailHeightPictureImageUploadView) { if (intval($this->thumbnailHeightPictureImageUploadView) !== intval($thumbnailHeightPictureImageUploadView)) { $this->thumbnailHeightPictureImageUploadView = intval($thumbnailHeightPictureImageUplo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setThumbnailHeightAvatarAvatarUploadView($thumbnailHeightAvatarAvatarUploadView)\n {\n if (intval($this->thumbnailHeightAvatarAvatarUploadView) !== intval($thumbnailHeightAvatarAvatarUploadView)) {\n $this->thumbnailHeightAvatarAvatarUploadView = intval($thumbnailHeightAvatarAv...
[ "0.80003345", "0.77398527", "0.768029", "0.76291114", "0.7549101", "0.7479112", "0.7478153", "0.741221", "0.73466825", "0.73235065", "0.69506645", "0.69006264", "0.68469495", "0.67403543", "0.6693138", "0.6623248", "0.66026527", "0.6557864", "0.65461177", "0.6540995", "0.6474...
0.81251854
0
Returns the thumbnail width picture image upload display.
Возвращает ширину миниатюры изображения при загрузке отображения.
public function getThumbnailWidthPictureImageUploadDisplay() { return $this->thumbnailWidthPictureImageUploadDisplay; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getThumbnailWidthAvatarAvatarUploadDisplay()\n {\n return $this->thumbnailWidthAvatarAvatarUploadDisplay;\n }", "public function getThumbnailWidthPictureImageUploadView()\n {\n return $this->thumbnailWidthPictureImageUploadView;\n }", "public function getThumbnailWidth...
[ "0.8498734", "0.84677964", "0.83881015", "0.80289197", "0.7895865", "0.7881563", "0.78108174", "0.7802781", "0.77052873", "0.7694921", "0.7533009", "0.74945414", "0.74793214", "0.74200696", "0.739719", "0.73505354", "0.7340516", "0.7335899", "0.73320377", "0.7326793", "0.7318...
0.90074944
0
Sets the thumbnail width picture image upload display.
Устанавливает ширину миниатюры изображения при загрузке и отображении.
public function setThumbnailWidthPictureImageUploadDisplay($thumbnailWidthPictureImageUploadDisplay) { if (intval($this->thumbnailWidthPictureImageUploadDisplay) !== intval($thumbnailWidthPictureImageUploadDisplay)) { $this->thumbnailWidthPictureImageUploadDisplay = intval($thumbnailWidthPicture...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function setPhotoThumbnailWidth($width) {\n $this->photoThumbnailWidth = $width;\n }", "public function setThumbWidth($data) { $this->thumbWidth = $data; }", "public function setThumbnailWidthAvatarAvatarUploadDisplay($thumbnailWidthAvatarAvatarUploadDisplay)\n {\n if (intval($this->thumb...
[ "0.7981845", "0.77211076", "0.75899786", "0.7282618", "0.72714585", "0.7185448", "0.71129805", "0.70916957", "0.7051386", "0.69605494", "0.695746", "0.69511753", "0.68147147", "0.6795101", "0.67112535", "0.66933554", "0.6652223", "0.66417927", "0.65520483", "0.6528199", "0.65...
0.77229095
1
Returns the thumbnail height picture image upload display.
Возвращает высоту миниатюры изображения при загрузке отображения.
public function getThumbnailHeightPictureImageUploadDisplay() { return $this->thumbnailHeightPictureImageUploadDisplay; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getThumbnailHeightAvatarAvatarUploadDisplay()\n {\n return $this->thumbnailHeightAvatarAvatarUploadDisplay;\n }", "public function getThumbnailHeightPictureImageUploadEdit()\n {\n return $this->thumbnailHeightPictureImageUploadEdit;\n }", "public function getThumbnailH...
[ "0.8605949", "0.8579631", "0.8558645", "0.82656044", "0.8139648", "0.80958116", "0.80622", "0.8058409", "0.79805416", "0.7944581", "0.783002", "0.77646846", "0.772158", "0.77191347", "0.7698102", "0.7697454", "0.76847833", "0.76833194", "0.7645576", "0.7616275", "0.7586691", ...
0.90831965
0
Sets the thumbnail height picture image upload display.
Устанавливает высоту миниатюры изображения при загрузке и отображении.
public function setThumbnailHeightPictureImageUploadDisplay($thumbnailHeightPictureImageUploadDisplay) { if (intval($this->thumbnailHeightPictureImageUploadDisplay) !== intval($thumbnailHeightPictureImageUploadDisplay)) { $this->thumbnailHeightPictureImageUploadDisplay = intval($thumbnailHeightP...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setThumbHeight($data) { $this->thumbHeight = $data; }", "public function setThumbnailHeightAvatarAvatarUploadDisplay($thumbnailHeightAvatarAvatarUploadDisplay)\n {\n if (intval($this->thumbnailHeightAvatarAvatarUploadDisplay) !== intval($thumbnailHeightAvatarAvatarUploadDisplay)) {\n ...
[ "0.7803255", "0.7755173", "0.7724644", "0.74892396", "0.7462257", "0.7460756", "0.73626894", "0.7291614", "0.72539544", "0.7225532", "0.7021523", "0.6936739", "0.69326043", "0.68196666", "0.67861724", "0.67257", "0.6675637", "0.6671779", "0.6646011", "0.6580968", "0.6562539",...
0.79529333
0
Returns the thumbnail width picture image upload edit.
Возвращает ширину миниатюры изображения загрузки редактирования.
public function getThumbnailWidthPictureImageUploadEdit() { return $this->thumbnailWidthPictureImageUploadEdit; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getThumbnailWidthAvatarAvatarUploadEdit()\n {\n return $this->thumbnailWidthAvatarAvatarUploadEdit;\n }", "public function getThumbnailWidthPictureImageUploadView()\n {\n return $this->thumbnailWidthPictureImageUploadView;\n }", "public function getThumbnailWidthPictur...
[ "0.8603323", "0.8389112", "0.83366793", "0.7961857", "0.79021686", "0.77459955", "0.76295036", "0.75364566", "0.7433234", "0.7383377", "0.7343753", "0.72878355", "0.7271822", "0.7245358", "0.7200005", "0.7100713", "0.7071939", "0.7067724", "0.7061491", "0.7055859", "0.7050466...
0.8975529
0
Sets the thumbnail width picture image upload edit.
Устанавливает ширину миниатюры изображения загрузки редактирования.
public function setThumbnailWidthPictureImageUploadEdit($thumbnailWidthPictureImageUploadEdit) { if (intval($this->thumbnailWidthPictureImageUploadEdit) !== intval($thumbnailWidthPictureImageUploadEdit)) { $this->thumbnailWidthPictureImageUploadEdit = intval($thumbnailWidthPictureImageUploadEdit...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function setPhotoThumbnailWidth($width) {\n $this->photoThumbnailWidth = $width;\n }", "public function setThumbWidth($data) { $this->thumbWidth = $data; }", "public function setThumbnailWidthAvatarAvatarUploadEdit($thumbnailWidthAvatarAvatarUploadEdit)\n {\n if (intval($this->thumbnailWi...
[ "0.7947529", "0.78220266", "0.7743189", "0.74858576", "0.71738625", "0.716921", "0.7156942", "0.71508116", "0.7120946", "0.7086396", "0.7008255", "0.69778377", "0.6967811", "0.6799835", "0.6707976", "0.663614", "0.65713084", "0.6566323", "0.6539879", "0.6516154", "0.65021366"...
0.78740567
1
Returns the thumbnail height picture image upload edit.
Возвращает высоту миниатюры изображения загрузки редактирования.
public function getThumbnailHeightPictureImageUploadEdit() { return $this->thumbnailHeightPictureImageUploadEdit; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getThumbnailHeightAvatarAvatarUploadEdit()\n {\n return $this->thumbnailHeightAvatarAvatarUploadEdit;\n }", "public function getThumbnailHeightPictureImageUploadDisplay()\n {\n return $this->thumbnailHeightPictureImageUploadDisplay;\n }", "public function getThumbnailH...
[ "0.8748051", "0.8636268", "0.85434705", "0.8277445", "0.8114967", "0.7977326", "0.77512217", "0.77235234", "0.770877", "0.7687511", "0.7683594", "0.76610315", "0.7636253", "0.76355416", "0.76305825", "0.76135254", "0.7560703", "0.7543446", "0.7541193", "0.75310737", "0.751229...
0.91015714
0
Sets the thumbnail height picture image upload edit.
Устанавливает высоту миниатюры изображения загрузки редактирования.
public function setThumbnailHeightPictureImageUploadEdit($thumbnailHeightPictureImageUploadEdit) { if (intval($this->thumbnailHeightPictureImageUploadEdit) !== intval($thumbnailHeightPictureImageUploadEdit)) { $this->thumbnailHeightPictureImageUploadEdit = intval($thumbnailHeightPictureImageUplo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setThumbnailHeightAvatarAvatarUploadEdit($thumbnailHeightAvatarAvatarUploadEdit)\n {\n if (intval($this->thumbnailHeightAvatarAvatarUploadEdit) !== intval($thumbnailHeightAvatarAvatarUploadEdit)) {\n $this->thumbnailHeightAvatarAvatarUploadEdit = intval($thumbnailHeightAvatarAv...
[ "0.79382974", "0.78560805", "0.7550894", "0.75102335", "0.74830157", "0.73787314", "0.735965", "0.73015064", "0.7278875", "0.72734064", "0.7181205", "0.7108439", "0.7022163", "0.68388677", "0.6708019", "0.6701942", "0.6623743", "0.661059", "0.65747356", "0.6574058", "0.655734...
0.80860585
0
Returns the enable shrinking for avatar avatar upload.
Возвращает настройку включения сжатия для загрузки аватара.
public function getEnableShrinkingForAvatarAvatarUpload() { return $this->enableShrinkingForAvatarAvatarUpload; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getEnableShrinkingForPictureImageUpload()\n {\n return $this->enableShrinkingForPictureImageUpload;\n }", "public function getShrinkWidthAvatarAvatarUpload()\n {\n return $this->shrinkWidthAvatarAvatarUpload;\n }", "public function getShrinkHeightAvatarAvatarUpload()\n...
[ "0.8080267", "0.74697053", "0.6905083", "0.6845019", "0.671995", "0.6507254", "0.63672495", "0.62722707", "0.61755115", "0.60618377", "0.6032046", "0.5983634", "0.59649193", "0.5913119", "0.5895396", "0.58745223", "0.57683533", "0.5762449", "0.5761702", "0.575554", "0.5690067...
0.8894397
0
Sets the enable shrinking for avatar avatar upload.
Устанавливает возможность сжатия для загрузки аватара аватара.
public function setEnableShrinkingForAvatarAvatarUpload($enableShrinkingForAvatarAvatarUpload) { if (boolval($this->enableShrinkingForAvatarAvatarUpload) !== boolval($enableShrinkingForAvatarAvatarUpload)) { $this->enableShrinkingForAvatarAvatarUpload = boolval($enableShrinkingForAvatarAvatarUpl...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getEnableShrinkingForAvatarAvatarUpload()\n {\n return $this->enableShrinkingForAvatarAvatarUpload;\n }", "public function setEnableShrinkingForPictureImageUpload($enableShrinkingForPictureImageUpload)\n {\n if (boolval($this->enableShrinkingForPictureImageUpload) !== boolv...
[ "0.74646574", "0.6744917", "0.6687263", "0.66299844", "0.6130981", "0.61159545", "0.5744183", "0.5634751", "0.561396", "0.55725247", "0.55048984", "0.54930747", "0.5442161", "0.5434863", "0.54286015", "0.54111904", "0.5389143", "0.5300917", "0.52833414", "0.5278212", "0.52316...
0.77898705
0
Returns the shrink width avatar avatar upload.
Возвращает уменьшенную ширину аватар для загрузки аватара.
public function getShrinkWidthAvatarAvatarUpload() { return $this->shrinkWidthAvatarAvatarUpload; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getShrinkWidthPictureImageUpload()\n {\n return $this->shrinkWidthPictureImageUpload;\n }", "public function getShrinkHeightAvatarAvatarUpload()\n {\n return $this->shrinkHeightAvatarAvatarUpload;\n }", "public function getThumbnailWidthAvatarAvatarUploadEdit()\n {\...
[ "0.8039626", "0.7842874", "0.7716953", "0.7580613", "0.75578696", "0.7521301", "0.70662993", "0.70436954", "0.7020762", "0.6996789", "0.6795131", "0.67431635", "0.6712614", "0.6661772", "0.6621656", "0.65620244", "0.6540041", "0.653562", "0.6494112", "0.64550364", "0.64475846...
0.8959887
0
Sets the shrink width avatar avatar upload.
Устанавливает ширину сжатия аватар для загрузки аватара.
public function setShrinkWidthAvatarAvatarUpload($shrinkWidthAvatarAvatarUpload) { if (intval($this->shrinkWidthAvatarAvatarUpload) !== intval($shrinkWidthAvatarAvatarUpload)) { $this->shrinkWidthAvatarAvatarUpload = intval($shrinkWidthAvatarAvatarUpload); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setAvatarwidth($avatarwidth=0){\n $this->avatarwidth=$avatarwidth;\n }", "public function getShrinkWidthAvatarAvatarUpload()\n {\n return $this->shrinkWidthAvatarAvatarUpload;\n }", "public function setShrinkHeightAvatarAvatarUpload($shrinkHeightAvatarAvatarUpload)\n {...
[ "0.7409724", "0.7190071", "0.6967137", "0.65182894", "0.6366972", "0.6311696", "0.628566", "0.62573016", "0.62161696", "0.6176748", "0.6173278", "0.61503106", "0.6138228", "0.6137227", "0.6132677", "0.61120737", "0.61094874", "0.60906774", "0.602309", "0.59595394", "0.5947006...
0.78789544
0
Returns the shrink height avatar avatar upload.
Возвращает уменьшенную высоту аватар аватар загрузки.
public function getShrinkHeightAvatarAvatarUpload() { return $this->shrinkHeightAvatarAvatarUpload; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getShrinkHeightPictureImageUpload()\n {\n return $this->shrinkHeightPictureImageUpload;\n }", "public function getShrinkWidthAvatarAvatarUpload()\n {\n return $this->shrinkWidthAvatarAvatarUpload;\n }", "public function getThumbnailHeightAvatarAvatarUploadEdit()\n {...
[ "0.8309396", "0.8039909", "0.7934619", "0.7829052", "0.7821036", "0.7752898", "0.7444708", "0.71972865", "0.71727926", "0.7131205", "0.7126413", "0.68558115", "0.68427235", "0.6830483", "0.6801577", "0.67846423", "0.67843807", "0.6741995", "0.6709043", "0.6679217", "0.6678436...
0.9041299
0
Sets the shrink height avatar avatar upload.
Устанавливает сжатую высоту аватара при загрузке аватара.
public function setShrinkHeightAvatarAvatarUpload($shrinkHeightAvatarAvatarUpload) { if (intval($this->shrinkHeightAvatarAvatarUpload) !== intval($shrinkHeightAvatarAvatarUpload)) { $this->shrinkHeightAvatarAvatarUpload = intval($shrinkHeightAvatarAvatarUpload); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setAvatarheight($avatarheight=0){\n $this->avatarheight=$avatarheight;\n }", "public function getShrinkHeightAvatarAvatarUpload()\n {\n return $this->shrinkHeightAvatarAvatarUpload;\n }", "public function setShrinkHeightPictureImageUpload($shrinkHeightPictureImageUpload)\...
[ "0.73975927", "0.72821534", "0.6877879", "0.67870617", "0.668291", "0.6660781", "0.65469944", "0.64734083", "0.6461334", "0.64539444", "0.64110345", "0.6402883", "0.62811697", "0.61467487", "0.61442995", "0.6135076", "0.6087101", "0.60722935", "0.60629", "0.60097694", "0.6002...
0.81654525
0
Returns the thumbnail mode avatar avatar upload.
Возвращает режим миниатюры аватар для загрузки аватара.
public function getThumbnailModeAvatarAvatarUpload() { return $this->thumbnailModeAvatarAvatarUpload; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getThumbnailModePictureImageUpload()\n {\n return $this->thumbnailModePictureImageUpload;\n }", "public function upload_avatar()\n\t{\n\t\treturn $this->_upload_image('avatar');\n\t}", "public function getAvatarType()\n {\n return $this->avatar_type;\n }", "public fu...
[ "0.78164744", "0.72510123", "0.7208852", "0.7092683", "0.6929277", "0.6861707", "0.68253213", "0.68150663", "0.67918265", "0.67242634", "0.6720966", "0.66835105", "0.66790694", "0.66784346", "0.66626453", "0.660296", "0.6596478", "0.6587533", "0.6578837", "0.6563918", "0.6562...
0.89540076
0
Sets the thumbnail mode avatar avatar upload.
Устанавливает режим миниатюры аватар для загрузки аватара.
public function setThumbnailModeAvatarAvatarUpload($thumbnailModeAvatarAvatarUpload) { if ($this->thumbnailModeAvatarAvatarUpload !== $thumbnailModeAvatarAvatarUpload) { $this->thumbnailModeAvatarAvatarUpload = isset($thumbnailModeAvatarAvatarUpload) ? $thumbnailModeAvatarAvatarUpload : ''; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getThumbnailModeAvatarAvatarUpload()\n {\n return $this->thumbnailModeAvatarAvatarUpload;\n }", "public function setThumbnailModePictureImageUpload($thumbnailModePictureImageUpload)\n {\n if ($this->thumbnailModePictureImageUpload !== $thumbnailModePictureImageUpload) {\n ...
[ "0.76177216", "0.6425023", "0.6350101", "0.632906", "0.6301757", "0.62908435", "0.62440217", "0.6235596", "0.61627984", "0.6069186", "0.60687405", "0.6056549", "0.6050752", "0.6046404", "0.6036569", "0.60280627", "0.6007895", "0.58646584", "0.58580405", "0.5847956", "0.581326...
0.78160536
0
Returns the thumbnail width avatar avatar upload view.
Возвращает ширину миниатюры аватара представления загрузки аватара.
public function getThumbnailWidthAvatarAvatarUploadView() { return $this->thumbnailWidthAvatarAvatarUploadView; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getThumbnailWidthPictureImageUploadView()\n {\n return $this->thumbnailWidthPictureImageUploadView;\n }", "public function getThumbnailWidthAvatarAvatarUploadDisplay()\n {\n return $this->thumbnailWidthAvatarAvatarUploadDisplay;\n }", "public function getThumbnailWidth...
[ "0.8244941", "0.7988924", "0.7943629", "0.7807766", "0.7339236", "0.72919273", "0.72177905", "0.7147154", "0.7004588", "0.6962473", "0.6890453", "0.6829377", "0.67395175", "0.63863486", "0.63715315", "0.63336843", "0.6313301", "0.6292519", "0.6262864", "0.6259", "0.62559336",...
0.89878845
0
Sets the thumbnail width avatar avatar upload view.
Устанавливает ширину миниатюры аватара в представлении загрузки аватара.
public function setThumbnailWidthAvatarAvatarUploadView($thumbnailWidthAvatarAvatarUploadView) { if (intval($this->thumbnailWidthAvatarAvatarUploadView) !== intval($thumbnailWidthAvatarAvatarUploadView)) { $this->thumbnailWidthAvatarAvatarUploadView = intval($thumbnailWidthAvatarAvatarUploadView...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getThumbnailWidthAvatarAvatarUploadView()\n {\n return $this->thumbnailWidthAvatarAvatarUploadView;\n }", "public function setAvatarwidth($avatarwidth=0){\n $this->avatarwidth=$avatarwidth;\n }", "private function setPhotoThumbnailWidth($width) {\n $this->photoThumbnai...
[ "0.7879523", "0.73316216", "0.7286662", "0.724723", "0.72445875", "0.7222694", "0.7075784", "0.70659995", "0.70644087", "0.6911889", "0.66517615", "0.6542724", "0.6469069", "0.6447119", "0.6432863", "0.64317447", "0.64145106", "0.63344985", "0.6330187", "0.63018334", "0.62197...
0.7753628
1
Returns the thumbnail height avatar avatar upload view.
Возвращает высоту миниатюры аватара представления загрузки аватара.
public function getThumbnailHeightAvatarAvatarUploadView() { return $this->thumbnailHeightAvatarAvatarUploadView; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getThumbnailHeightPictureImageUploadView()\n {\n return $this->thumbnailHeightPictureImageUploadView;\n }", "public function getThumbnailHeightAvatarAvatarUploadDisplay()\n {\n return $this->thumbnailHeightAvatarAvatarUploadDisplay;\n }", "public function getThumbnailH...
[ "0.8600364", "0.8412198", "0.8327243", "0.79809344", "0.7871523", "0.78664285", "0.74501675", "0.7444277", "0.73425555", "0.7337531", "0.7254735", "0.7195157", "0.70423925", "0.6920113", "0.6869341", "0.68339974", "0.6803439", "0.6746873", "0.6746047", "0.6708457", "0.6662148...
0.91499066
0
Sets the thumbnail height avatar avatar upload view.
Устанавливает высоту миниатюры аватара в представлении загрузки аватара.
public function setThumbnailHeightAvatarAvatarUploadView($thumbnailHeightAvatarAvatarUploadView) { if (intval($this->thumbnailHeightAvatarAvatarUploadView) !== intval($thumbnailHeightAvatarAvatarUploadView)) { $this->thumbnailHeightAvatarAvatarUploadView = intval($thumbnailHeightAvatarAvatarUplo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getThumbnailHeightAvatarAvatarUploadView()\n {\n return $this->thumbnailHeightAvatarAvatarUploadView;\n }", "public function setThumbnailHeightAvatarAvatarUploadDisplay($thumbnailHeightAvatarAvatarUploadDisplay)\n {\n if (intval($this->thumbnailHeightAvatarAvatarUploadDispl...
[ "0.77781785", "0.75272197", "0.74779725", "0.7373754", "0.73120815", "0.7299982", "0.7279994", "0.72232103", "0.71323866", "0.7099481", "0.6874514", "0.68083966", "0.6749159", "0.6643415", "0.6611475", "0.6596975", "0.6587189", "0.655256", "0.6541434", "0.6538047", "0.6403014...
0.8110752
0
Returns the thumbnail width avatar avatar upload display.
Возвращает ширину миниатюры аватара аватар загрузки отображения.
public function getThumbnailWidthAvatarAvatarUploadDisplay() { return $this->thumbnailWidthAvatarAvatarUploadDisplay; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getThumbnailWidthAvatarAvatarUploadView()\n {\n return $this->thumbnailWidthAvatarAvatarUploadView;\n }", "public function getThumbnailWidthPictureImageUploadDisplay()\n {\n return $this->thumbnailWidthPictureImageUploadDisplay;\n }", "public function getThumbnailWidth...
[ "0.8572073", "0.8475187", "0.8311514", "0.7972693", "0.7962482", "0.78383434", "0.77377146", "0.76459646", "0.7606253", "0.7456118", "0.74181885", "0.74121404", "0.73188215", "0.7050487", "0.7012292", "0.69986385", "0.6994561", "0.69890106", "0.69296116", "0.6909807", "0.6902...
0.9048302
0
Sets the thumbnail width avatar avatar upload display.
Устанавливает ширину миниатюры аватар для отображения загрузки аватара.
public function setThumbnailWidthAvatarAvatarUploadDisplay($thumbnailWidthAvatarAvatarUploadDisplay) { if (intval($this->thumbnailWidthAvatarAvatarUploadDisplay) !== intval($thumbnailWidthAvatarAvatarUploadDisplay)) { $this->thumbnailWidthAvatarAvatarUploadDisplay = intval($thumbnailWidthAvatarA...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getThumbnailWidthAvatarAvatarUploadDisplay()\n {\n return $this->thumbnailWidthAvatarAvatarUploadDisplay;\n }", "public function setAvatarwidth($avatarwidth=0){\n $this->avatarwidth=$avatarwidth;\n }", "private function setPhotoThumbnailWidth($width) {\n $this->photoTh...
[ "0.7586589", "0.7392234", "0.73751515", "0.737215", "0.72113895", "0.718739", "0.7124067", "0.70670134", "0.7030993", "0.69345194", "0.6826452", "0.67039275", "0.6510371", "0.6418219", "0.64080626", "0.640098", "0.63888663", "0.6388819", "0.6380688", "0.63603115", "0.6343796"...
0.77005047
0
Returns the thumbnail height avatar avatar upload display.
Возвращает высоту миниатюры аватара аватар загрузки отображение.
public function getThumbnailHeightAvatarAvatarUploadDisplay() { return $this->thumbnailHeightAvatarAvatarUploadDisplay; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getThumbnailHeightPictureImageUploadDisplay()\n {\n return $this->thumbnailHeightPictureImageUploadDisplay;\n }", "public function getThumbnailHeightAvatarAvatarUploadView()\n {\n return $this->thumbnailHeightAvatarAvatarUploadView;\n }", "public function getThumbnailH...
[ "0.87263733", "0.8701093", "0.8557732", "0.8229369", "0.8204282", "0.8011884", "0.790272", "0.7829752", "0.7752504", "0.76015204", "0.75437367", "0.752618", "0.75017405", "0.7496038", "0.74902135", "0.7462384", "0.74269646", "0.74238217", "0.7394681", "0.73916674", "0.7374808...
0.915833
0
Sets the thumbnail height avatar avatar upload display.
Устанавливает высоту миниатюры аватара при загрузке и отображении.
public function setThumbnailHeightAvatarAvatarUploadDisplay($thumbnailHeightAvatarAvatarUploadDisplay) { if (intval($this->thumbnailHeightAvatarAvatarUploadDisplay) !== intval($thumbnailHeightAvatarAvatarUploadDisplay)) { $this->thumbnailHeightAvatarAvatarUploadDisplay = intval($thumbnailHeightA...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getThumbnailHeightAvatarAvatarUploadDisplay()\n {\n return $this->thumbnailHeightAvatarAvatarUploadDisplay;\n }", "public function setThumbnailHeightAvatarAvatarUploadView($thumbnailHeightAvatarAvatarUploadView)\n {\n if (intval($this->thumbnailHeightAvatarAvatarUploadView)...
[ "0.75890714", "0.7542542", "0.75384605", "0.7376368", "0.73708284", "0.735981", "0.73576385", "0.7235495", "0.72220415", "0.71782815", "0.6929914", "0.69063103", "0.6904578", "0.6861997", "0.68293744", "0.67886", "0.6701972", "0.6586919", "0.6557408", "0.6515186", "0.6498826"...
0.7971588
0
Returns the thumbnail width avatar avatar upload edit.
Возвращает ширину миниатюры аватар аватар загрузить редактировать.
public function getThumbnailWidthAvatarAvatarUploadEdit() { return $this->thumbnailWidthAvatarAvatarUploadEdit; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getThumbnailWidthAvatarAvatarUploadView()\n {\n return $this->thumbnailWidthAvatarAvatarUploadView;\n }", "public function getThumbnailWidthPictureImageUploadEdit()\n {\n return $this->thumbnailWidthPictureImageUploadEdit;\n }", "public function getThumbnailWidthAvatar...
[ "0.83679956", "0.827799", "0.81935847", "0.77723753", "0.77329445", "0.76331604", "0.75587857", "0.7383499", "0.7308913", "0.725042", "0.7199194", "0.7028412", "0.6828215", "0.6809074", "0.67774254", "0.67371225", "0.664619", "0.6613082", "0.64852315", "0.64273524", "0.642146...
0.88608664
0
Sets the thumbnail width avatar avatar upload edit.
Устанавливает ширину миниатюры аватар аватар загрузить редактировать.
public function setThumbnailWidthAvatarAvatarUploadEdit($thumbnailWidthAvatarAvatarUploadEdit) { if (intval($this->thumbnailWidthAvatarAvatarUploadEdit) !== intval($thumbnailWidthAvatarAvatarUploadEdit)) { $this->thumbnailWidthAvatarAvatarUploadEdit = intval($thumbnailWidthAvatarAvatarUploadEdit...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getThumbnailWidthAvatarAvatarUploadEdit()\n {\n return $this->thumbnailWidthAvatarAvatarUploadEdit;\n }", "public function setAvatarwidth($avatarwidth=0){\n $this->avatarwidth=$avatarwidth;\n }", "private function setPhotoThumbnailWidth($width) {\n $this->photoThumbnai...
[ "0.7737791", "0.75066453", "0.7335803", "0.7288853", "0.728242", "0.7266934", "0.7194834", "0.71881443", "0.7095521", "0.70206946", "0.6719398", "0.66941017", "0.6643931", "0.6526621", "0.64876956", "0.6481516", "0.64619523", "0.64484864", "0.6431742", "0.6423976", "0.6381814...
0.7720815
1
Returns the thumbnail height avatar avatar upload edit.
Возвращает высоту миниатюры аватар аватар загрузить редактировать.
public function getThumbnailHeightAvatarAvatarUploadEdit() { return $this->thumbnailHeightAvatarAvatarUploadEdit; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getThumbnailHeightPictureImageUploadEdit()\n {\n return $this->thumbnailHeightPictureImageUploadEdit;\n }", "public function getThumbnailHeightAvatarAvatarUploadDisplay()\n {\n return $this->thumbnailHeightAvatarAvatarUploadDisplay;\n }", "public function getThumbnailH...
[ "0.8699197", "0.8660074", "0.86424524", "0.8209836", "0.8198546", "0.7857328", "0.7851763", "0.78047895", "0.75157374", "0.74245906", "0.7314497", "0.7283377", "0.7241012", "0.7235252", "0.72021204", "0.7183311", "0.71610713", "0.7117325", "0.7111881", "0.7091209", "0.7082869...
0.9075798
0
Sets the thumbnail height avatar avatar upload edit.
Устанавливает высоту миниатюры аватар аватар загрузить редактировать.
public function setThumbnailHeightAvatarAvatarUploadEdit($thumbnailHeightAvatarAvatarUploadEdit) { if (intval($this->thumbnailHeightAvatarAvatarUploadEdit) !== intval($thumbnailHeightAvatarAvatarUploadEdit)) { $this->thumbnailHeightAvatarAvatarUploadEdit = intval($thumbnailHeightAvatarAvatarUplo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getThumbnailHeightAvatarAvatarUploadEdit()\n {\n return $this->thumbnailHeightAvatarAvatarUploadEdit;\n }", "public function setThumbnailHeightAvatarAvatarUploadView($thumbnailHeightAvatarAvatarUploadView)\n {\n if (intval($this->thumbnailHeightAvatarAvatarUploadView) !== i...
[ "0.77237296", "0.76196927", "0.74953264", "0.74646", "0.7456892", "0.7399966", "0.7321332", "0.72985697", "0.7146542", "0.70390815", "0.69667333", "0.69127876", "0.6888092", "0.6806917", "0.6741405", "0.66938704", "0.6678009", "0.665486", "0.6581404", "0.6514975", "0.6506943"...
0.8020539
0
Returns the allow moderation specific creator for album.
Возвращает разрешение на модерацию конкретного создателя альбома.
public function getAllowModerationSpecificCreatorForAlbum() { return $this->allowModerationSpecificCreatorForAlbum; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getAllowModerationSpecificCreatorForAvatar()\n {\n return $this->allowModerationSpecificCreatorForAvatar;\n }", "public function getAllowModerationSpecificCreatorForPicture()\n {\n return $this->allowModerationSpecificCreatorForPicture;\n }", "public function getAllowM...
[ "0.74740577", "0.7401767", "0.67149043", "0.613774", "0.6032484", "0.6024959", "0.6007597", "0.594296", "0.5886925", "0.58319527", "0.5828143", "0.58162016", "0.5806999", "0.5806999", "0.5794181", "0.5794181", "0.5794181", "0.5778966", "0.57403743", "0.57403743", "0.57331437"...
0.8480495
0
Sets the allow moderation specific creator for album.
Устанавливает разрешение на модерацию для конкретного создателя альбома.
public function setAllowModerationSpecificCreatorForAlbum($allowModerationSpecificCreatorForAlbum) { if (boolval($this->allowModerationSpecificCreatorForAlbum) !== boolval($allowModerationSpecificCreatorForAlbum)) { $this->allowModerationSpecificCreatorForAlbum = boolval($allowModerationSpecific...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getAllowModerationSpecificCreatorForAlbum()\n {\n return $this->allowModerationSpecificCreatorForAlbum;\n }", "public function getAllowModerationSpecificCreatorForAvatar()\n {\n return $this->allowModerationSpecificCreatorForAvatar;\n }", "public function getAllowModer...
[ "0.75480974", "0.6877261", "0.66971684", "0.6445906", "0.634776", "0.6139143", "0.60198975", "0.6001953", "0.57492924", "0.56919795", "0.56805694", "0.5654559", "0.56539404", "0.5609908", "0.555276", "0.5522468", "0.5488344", "0.548081", "0.547919", "0.5472591", "0.5449068", ...
0.71490306
1
Returns the allow moderation specific creation date for album.
Возвращает дату создания, специфичную для модерации, для альбома.
public function getAllowModerationSpecificCreationDateForAlbum() { return $this->allowModerationSpecificCreationDateForAlbum; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getAllowModerationSpecificCreationDateForPicture()\n {\n return $this->allowModerationSpecificCreationDateForPicture;\n }", "public function getAllowModerationSpecificCreationDateForAvatar()\n {\n return $this->allowModerationSpecificCreationDateForAvatar;\n }", "publi...
[ "0.7821226", "0.76993036", "0.70880526", "0.70880526", "0.70880526", "0.7045486", "0.68233114", "0.66630536", "0.662823", "0.66135186", "0.65949017", "0.65949017", "0.65949017", "0.65949017", "0.65949017", "0.65949017", "0.65706235", "0.6558337", "0.6552809", "0.6546577", "0....
0.88557184
0
Sets the allow moderation specific creation date for album.
Устанавливает дату создания альбома для модерации.
public function setAllowModerationSpecificCreationDateForAlbum($allowModerationSpecificCreationDateForAlbum) { if (boolval($this->allowModerationSpecificCreationDateForAlbum) !== boolval($allowModerationSpecificCreationDateForAlbum)) { $this->allowModerationSpecificCreationDateForAlbum = boolval...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getAllowModerationSpecificCreationDateForAlbum()\n {\n return $this->allowModerationSpecificCreationDateForAlbum;\n }", "public function getAllowModerationSpecificCreationDateForAvatar()\n {\n return $this->allowModerationSpecificCreationDateForAvatar;\n }", "public fu...
[ "0.79880303", "0.6937079", "0.6930348", "0.66933584", "0.66889757", "0.6602252", "0.65340656", "0.6521924", "0.63501537", "0.63413846", "0.6340531", "0.6340531", "0.6246271", "0.6191662", "0.6189726", "0.6026436", "0.598993", "0.59539753", "0.59415644", "0.5920381", "0.591206...
0.73863506
1
Returns the allow moderation specific creator for picture.
Возвращает разрешение на модерацию конкретного создателя изображения.
public function getAllowModerationSpecificCreatorForPicture() { return $this->allowModerationSpecificCreatorForPicture; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getAllowModerationSpecificCreatorForAvatar()\n {\n return $this->allowModerationSpecificCreatorForAvatar;\n }", "public function getAllowModerationSpecificCreatorForAlbum()\n {\n return $this->allowModerationSpecificCreatorForAlbum;\n }", "public function getAllowModer...
[ "0.810103", "0.7012661", "0.68274397", "0.66108125", "0.60713893", "0.59406495", "0.59123945", "0.59123945", "0.59123945", "0.5870365", "0.5860188", "0.5844551", "0.5797671", "0.5784967", "0.5744076", "0.57245815", "0.571718", "0.5658073", "0.56573033", "0.5626825", "0.561890...
0.85922307
0
Returns the allow moderation specific creation date for picture.
Возвращает дату создания, специфичную для модерации, для изображения.
public function getAllowModerationSpecificCreationDateForPicture() { return $this->allowModerationSpecificCreationDateForPicture; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getAllowModerationSpecificCreationDateForAvatar()\n {\n return $this->allowModerationSpecificCreationDateForAvatar;\n }", "public function getAllowModerationSpecificCreationDateForAlbum()\n {\n return $this->allowModerationSpecificCreationDateForAlbum;\n }", "public fu...
[ "0.84390455", "0.73800427", "0.7234139", "0.7234139", "0.7234139", "0.7181798", "0.7105927", "0.69185066", "0.68652445", "0.6834177", "0.68041617", "0.68041617", "0.6800561", "0.67796373", "0.67729735", "0.67729735", "0.67729735", "0.67729735", "0.67729735", "0.67729735", "0....
0.8923847
0
Returns the allow moderation specific creator for avatar.
Возвращает разрешение на модерацию конкретного создателя аватара.
public function getAllowModerationSpecificCreatorForAvatar() { return $this->allowModerationSpecificCreatorForAvatar; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getAllowModerationSpecificCreatorForPicture()\n {\n return $this->allowModerationSpecificCreatorForPicture;\n }", "public function getAllowModerationSpecificCreatorForAlbum()\n {\n return $this->allowModerationSpecificCreatorForAlbum;\n }", "public function getAllowMod...
[ "0.80519545", "0.70223546", "0.6976638", "0.62811106", "0.6177221", "0.6164773", "0.6152761", "0.612897", "0.6059186", "0.60395104", "0.6026712", "0.60184044", "0.60167634", "0.6012312", "0.60064685", "0.5988371", "0.5978174", "0.5978174", "0.5970834", "0.594481", "0.59151983...
0.8751131
0
Sets the allow moderation specific creator for avatar.
Устанавливает разрешение на модерацию для конкретного создателя аватара.
public function setAllowModerationSpecificCreatorForAvatar($allowModerationSpecificCreatorForAvatar) { if (boolval($this->allowModerationSpecificCreatorForAvatar) !== boolval($allowModerationSpecificCreatorForAvatar)) { $this->allowModerationSpecificCreatorForAvatar = boolval($allowModerationSpe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getAllowModerationSpecificCreatorForAvatar()\n {\n return $this->allowModerationSpecificCreatorForAvatar;\n }", "public function getAllowModerationSpecificCreatorForPicture()\n {\n return $this->allowModerationSpecificCreatorForPicture;\n }", "public function setAllowM...
[ "0.8059586", "0.7377791", "0.6893429", "0.6582013", "0.6417588", "0.64036655", "0.622509", "0.59072804", "0.56934726", "0.5653411", "0.55933434", "0.55479336", "0.55436707", "0.5428809", "0.53470755", "0.5324832", "0.53208625", "0.5319285", "0.52736616", "0.52581674", "0.5258...
0.7488484
1
Returns the allow moderation specific creation date for avatar.
Возвращает дату создания аватара, специфичную для модерации.
public function getAllowModerationSpecificCreationDateForAvatar() { return $this->allowModerationSpecificCreationDateForAvatar; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getAllowModerationSpecificCreationDateForPicture()\n {\n return $this->allowModerationSpecificCreationDateForPicture;\n }", "public function getCreationDate();", "public function getCreationDate();", "public function getCreationDate();", "public function getAllowModerationSpeci...
[ "0.84173137", "0.73375183", "0.73375183", "0.73375183", "0.7318836", "0.7303707", "0.7212858", "0.6973406", "0.69363284", "0.690267", "0.6892487", "0.68367845", "0.6832532", "0.6832532", "0.6832532", "0.6832532", "0.68321234", "0.6829737", "0.6829737", "0.6829737", "0.6829737...
0.90556943
0
Sets the allow moderation specific creation date for avatar.
Устанавливает разрешенную дату создания аватара для модерации.
public function setAllowModerationSpecificCreationDateForAvatar($allowModerationSpecificCreationDateForAvatar) { if (boolval($this->allowModerationSpecificCreationDateForAvatar) !== boolval($allowModerationSpecificCreationDateForAvatar)) { $this->allowModerationSpecificCreationDateForAvatar = bo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getAllowModerationSpecificCreationDateForAvatar()\n {\n return $this->allowModerationSpecificCreationDateForAvatar;\n }", "public function getAllowModerationSpecificCreationDateForPicture()\n {\n return $this->allowModerationSpecificCreationDateForPicture;\n }", "publi...
[ "0.8282168", "0.76139385", "0.6957162", "0.6747223", "0.6621035", "0.66043246", "0.64477825", "0.6423613", "0.64155906", "0.6393264", "0.6392523", "0.6392523", "0.6344913", "0.63439196", "0.62210137", "0.6180983", "0.6179789", "0.61492187", "0.61492187", "0.61492187", "0.6106...
0.7658204
1
Returns the enabled finder types.
Возвращает типы поисковых механизмов, которые включены.
public function getEnabledFinderTypes() { return $this->enabledFinderTypes; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getTypes() {\n\t\treturn $this->availableTypes;\n\t}", "public function getTypes();", "public function getTypes();", "public function getTypes();", "public function getTypes();", "public function getTypes();", "public function getSupportedTypes();", "public static function availableTy...
[ "0.67776954", "0.676036", "0.676036", "0.676036", "0.676036", "0.676036", "0.6635474", "0.66281617", "0.6586955", "0.6558506", "0.65394086", "0.6504927", "0.64751124", "0.64545226", "0.64496845", "0.6442007", "0.63723236", "0.63723236", "0.63723236", "0.63723236", "0.63723236...
0.88403904
0
Sets the enabled finder types.
Устанавливает типы поиска, которые включены.
public function setEnabledFinderTypes($enabledFinderTypes) { if ($this->enabledFinderTypes !== $enabledFinderTypes) { $this->enabledFinderTypes = isset($enabledFinderTypes) ? $enabledFinderTypes : ''; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getEnabledFinderTypes()\n {\n return $this->enabledFinderTypes;\n }", "function setTypes( $types ){ $this->types = $types; }", "public function setTypes($types);", "public function setFinder(Finder $finder);", "public static function setPaperTypes() {\n return self::set(self...
[ "0.6705543", "0.6336071", "0.62721854", "0.6011167", "0.58911663", "0.5870947", "0.57969254", "0.5779708", "0.56603247", "0.55990756", "0.54944545", "0.5422854", "0.53875947", "0.5359992", "0.5342662", "0.53218395", "0.5294936", "0.5288817", "0.5197281", "0.5154664", "0.51445...
0.7504254
0
Gets properties to be enclosed in CDATA.
Получает свойства, которые должны быть заключены в CDATA.
public function getCDATA();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function CDATA()\n {\n return (string) $this;\n }", "public function addCDATA(array $properties);", "public function getDocBlockProperties(): string\n {\n $out = '';\n\n foreach ( $this as $field )\n {\n $out .= ' * @property ';\n $out .= $field->getPHP...
[ "0.6453018", "0.6252371", "0.59597194", "0.5821487", "0.57007855", "0.56938785", "0.5692094", "0.5682537", "0.56416506", "0.56166387", "0.56091756", "0.5603986", "0.5603126", "0.55951595", "0.5573982", "0.55520964", "0.5534177", "0.55178976", "0.5513584", "0.5483996", "0.5478...
0.7225865
0
Adds properties to enclose in CDATA.
Добавляет свойства для заключения в CDATA.
public function addCDATA(array $properties);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getCDATA();", "function cdata_section($content) {\n return \"<![CDATA[\".$content.\"]]>\";\n }", "public function addCData($p_value)\n {\n if (function_exists('dom_import_simplexml'))\n {\n $l_node = dom_import_simplexml($this);\n ...
[ "0.6499924", "0.56580603", "0.5636843", "0.5620748", "0.56134945", "0.5574105", "0.5559086", "0.5515497", "0.5382184", "0.53641474", "0.5292464", "0.52795976", "0.5275821", "0.52751136", "0.51645494", "0.51584685", "0.5146465", "0.5142473", "0.5126564", "0.51020336", "0.51016...
0.74205613
0
Sets a link with rel="self".
Устанавливает ссылку с rel="self".
public function setSelfLink($href);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setSelfLink($url){\n\t\treturn $this->setAtomLink($url, 'self', $this->getMIMEType());\n\t}", "public function setSelfLink($SelfLink){\n\t\t$this->sSelfLink = $SelfLink;\n\t}", "function self_link()\n{\n}", "public function setSelf(?VerblijfsobjectLinksSelf $self) : self\n {\n $this...
[ "0.6727802", "0.6633739", "0.64657336", "0.62711287", "0.61375695", "0.6117364", "0.60265815", "0.5905526", "0.5892314", "0.5892314", "0.5892314", "0.5892314", "0.5892314", "0.5892314", "0.5892314", "0.5892314", "0.5860055", "0.5860055", "0.5860055", "0.5860055", "0.5860055",...
0.7325266
0
TEST GET EXECUTION COUNT
ТЕСТ ПОЛУЧЕНИЯ КОЛИЧЕСТВА ВЫПОЛНЕНИЙ
public function getExecutionCount() { $eic = self::$es->getCount(new ExecutionRequest()); $eic2 = count(get_object_vars(self::$es->getExecutions(new ExecutionRequest()))); $this->assertEquals($eic, $eic2); $eic = self::$es->getCount(new ExecutionRequest(), true); $eic2 = count(get_object_vars(self:...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getExecutionCount() {\n $restClient = new camundaRestClient(self::$restApi);\n $er = array('active' => true);\n\n $count1 = $restClient->getExecutionsCount()->count;\n $count2 = count($restClient->getExecutions());\n $count3 = $restClient->getExecutionsCount(null, true)->count;\n ...
[ "0.74530333", "0.70279473", "0.6772092", "0.6583834", "0.6431044", "0.6393829", "0.62650675", "0.62609667", "0.62159914", "0.6206846", "0.6205488", "0.6195681", "0.6149034", "0.61487347", "0.6132848", "0.6123275", "0.6122153", "0.6107432", "0.60853887", "0.6077667", "0.603774...
0.7717674
0
TEST GET LOCAL EXECUTION VARIABLES
ТЕСТ ПОЛУЧЕНИЯ ЛОКАЛЬНЫХ ПЕРЕМЕННЫХ ВЫПОЛНЕНИЯ
public function getLocalExecutionVariables() { $ei = self::$es->getExecutions(new ExecutionRequest())->execution_1; $ev = new VariableRequest(); $ev->setValue("testValue")->setType('String'); self::$es->putExecutionVariable($ei->getId(), 'testVariable', $ev); $this->assertGreaterThan(0, count(get_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getLocalExecutionVariables() {\n $restClient = new camundaRestClient(self::$restApi);\n $ei = $restClient->getExecutions()[0];\n $ev = array(\n 'value' => 'test',\n 'type' => 'String'\n );\n $restClient->putLocalExecutionVariable($ei->id, 'testVariable', $ev);\n\n $this-...
[ "0.6980766", "0.6779675", "0.67169696", "0.65274584", "0.6463216", "0.6463216", "0.6461886", "0.6210301", "0.61406285", "0.6056972", "0.6012282", "0.60088295", "0.5927172", "0.58391035", "0.5806591", "0.57853913", "0.5784191", "0.5770168", "0.5760605", "0.5752826", "0.5737964...
0.71856534
0
TEST GET MESSAGE EVENT SUBSCRIPTIONS TODO: find a way which fulfill the need of this test!
ТЕСТ ПОЛУЧЕНИЯ СООБЩЕНИЯ СОБЫТИЙ ПОДПИСКИ TODO: найти способ, который удовлетворит потребности этого теста!
public function getMessageEventSubscriptions() { $this->markTestIncomplete( 'This test has not been implemented yet.' ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testGetSubscribedEvents()\n {\n $events = $this->subscriber->getSubscribedEvents();\n\n self::assertEquals(\n array('onAddFromString', -100),\n $events[Events::PRE_ADD_FROM_STRING]\n );\n\n self::assertEquals(\n array('onBuildFromItera...
[ "0.7233917", "0.64918727", "0.645734", "0.643335", "0.6398771", "0.63743305", "0.6361713", "0.6353018", "0.6308942", "0.62983507", "0.62983507", "0.6297097", "0.6297097", "0.62818253", "0.6272619", "0.6227366", "0.6227366", "0.6227366", "0.6227366", "0.6227366", "0.6169132", ...
0.75510234
0
TEST TRIGGER MESSAGE EVENT SUBSCRIPTIONS TODO: find a way which fulfill the need of this test!
ТЕСТОВОЕ СООБЩЕНИЕ ТРИГГЕРА СОБЫТИЯ СОБЫТИЙ СОБЫТИЙ НЕОБХОДИМО: найти способ, удовлетворяющий потребностям этого теста!
public function triggerMessageEventSubscription() { $this->markTestIncomplete( 'This test has not been implemented yet.' ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testTrigger(){\n\t\t$sample = new \\Transaqt\\Event();\n\t\t$sample->register('test.event',function(){ return true; });\n\t\t$this->assertTrue($sample->trigger('test.event'));\n\t}", "public function testSendMessage()\n {\n }", "public function testTriggerEvent()\n {\n $result =...
[ "0.70394176", "0.6757572", "0.66609174", "0.6579591", "0.6579591", "0.64959675", "0.64940405", "0.6477215", "0.6410865", "0.6371564", "0.6359314", "0.63476", "0.6296886", "0.6267499", "0.6257044", "0.6251475", "0.6234986", "0.62289816", "0.6209858", "0.6182476", "0.61360574",...
0.72196245
0
Retrieve Vimeo video from the Pro API
Получить видео Vimeo через Pro API
protected function _getProVideo($url) { $vimeoVars = $this->_getVimeoConfig(); $vimeo = new Garp_Service_Vimeo_Pro($vimeoVars->consumerKey, $vimeoVars->consumerSecret); $this->_setVimeoAccessToken($vimeo); // check if a Vimeo URL is given $pattern = '~vimeo.com/(?:video/)?([0-9]...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function vimeo_api($url) {\n $oembed_endpoint = 'http://vimeo.com/api/oembed';\n $video_url = $url;\n $xml_url = $oembed_endpoint . '.xml?url=' . rawurlencode($video_url) . '&width=640';\n\n try{\n $result = new SimpleXMLElement($xml_url, 0, TRUE);\n }catch (\\Exception $ex){\n $re...
[ "0.71982896", "0.71714467", "0.6888142", "0.6835428", "0.67814213", "0.66338176", "0.6608123", "0.65010476", "0.6477742", "0.6393464", "0.6232092", "0.62052745", "0.61820024", "0.6179092", "0.6171581", "0.6171386", "0.6162004", "0.6161473", "0.6161473", "0.61320204", "0.61241...
0.73341495
0
Set Vimeo access token
Установить токен доступа Vimeo
protected function _setVimeoAccessToken(Garp_Service_Vimeo_Pro $vimeo) { /** * See if the currently logged in user has Vimeo credentials related to her, * and use the token and token secret. * That way a user can fetch private videos thru the API. */ $garpAuth = Garp_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setAccessToken($token);", "public function setAccessToken($token){\n $this->oauth_token = $token;\n $this->client->setAccessToken($this->oauth_token);\n }", "public function setAccessToken($token)\n {\n $this->_options['access_token'] = $token;\n }", "public function seta...
[ "0.7051886", "0.69827783", "0.6739906", "0.67219", "0.6691427", "0.66838413", "0.6518047", "0.6443271", "0.644272", "0.62705195", "0.62525684", "0.616456", "0.6151507", "0.6144818", "0.6093667", "0.60334516", "0.59858584", "0.59410965", "0.5935767", "0.5935118", "0.5935118", ...
0.7694435
0
Get jobs from Company from Portal
Получить вакансии от Компании из Портала
abstract public function fetchJobsFromPortal() : Array;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function GetAllJobList()\n {\n // view all jobs (pending, live, open, closed)\n global $request, $CurrentUser;\n if($CurrentUser->access!=\"admin\")\n {\n $request['employerid']=$CurrentUser->companyid;\n }\n $result=model_Job::GetAllJobList($request['employerid']);\n i...
[ "0.70992416", "0.6863632", "0.67473066", "0.67144555", "0.6694496", "0.6622032", "0.6501927", "0.64627355", "0.6446046", "0.64428306", "0.6437072", "0.6431012", "0.6430777", "0.6403092", "0.64025956", "0.6384528", "0.63841313", "0.63795173", "0.63579905", "0.63557434", "0.633...
0.7488626
0
Generate a VideoSitemap every Night The previous Version gets overriden
Генерировать VideoSitemap каждый вечер. Предыдущая версия перезаписывается
public function generateVideoSitemap() { Mage::getModel('clipvilla_mori/sitemap_video')->createSitemap(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function videomap() {\n $respone = E()->getResponse();\n\n $params = $this->getStateParams();\n $mapNumber = ((int)$params[0]) ? (int)$params[0] : 1;\n $limStart = ($mapNumber - 1) * $this->maxVideos;\n $limEnd = $this->maxVideos;\n\n $siteinfo = E()->getSiteMana...
[ "0.7219332", "0.68549925", "0.6836539", "0.66828287", "0.6534951", "0.62017626", "0.6182679", "0.6000182", "0.5988628", "0.5975889", "0.5943762", "0.59098107", "0.5888325", "0.5881694", "0.5823776", "0.58141124", "0.57859516", "0.5773751", "0.5744418", "0.5737916", "0.5685873...
0.839066
0
Generate a Video with every neccesary step: 1. Starts rendering 2. Checks rendering Status 3. Video download
Создать видео с каждой необходимой шаг: 1. Начать рендеринг 2. Проверить статус рендеринга 3. Скачать видео
public function generateVideo() { if (Mage::getStoreConfig('clipvilla/configuration/activate')) { $path = Mage::helper('clipvilla_mori/path'); // Return stack entity that has already been sent to rendering $stack = Mage::getModel('clipvilla_mori/stack') -...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function mainViewVideo()\n{\n ?>\n <embed type=\"application/x-mplayer2\" \n src=\"<?php echo TOP_DIR.\"/actions/file_download.php?imgid=\".$_GET['imgid'].\"&ignore=true\"; ?>\"\n width=\"<?php echo $this->stage_width; ?>\"\n height=\"<?php echo ($this->stage_height + 45); ?>\"\n ...
[ "0.63808745", "0.6075129", "0.60726374", "0.5984449", "0.5914087", "0.5793026", "0.57672364", "0.57375395", "0.5730497", "0.5657616", "0.56402564", "0.5634136", "0.5613368", "0.5601233", "0.5581719", "0.5564662", "0.55381495", "0.5534846", "0.5533785", "0.5477638", "0.5471411...
0.7469687
0
Lists the instances of a version. (instances.listAppsServicesVersionsInstances)
Перечисляет экземпляры версии. (instances.listAppsServicesVersionsInstances)
public function listAppsServicesVersionsInstances($appsId, $servicesId, $versionsId, $optParams = array()) { $params = array('appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Servic...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function listInstances($project, $optParams = [])\n {\n $params = ['project' => $project];\n $params = array_merge($params, $optParams);\n return $this->call('list', [$params], InstancesListResponse::class);\n }", "public function setVersions($var)\n {\n $arr = GPBUtil::checkRepeatedF...
[ "0.57529694", "0.5654684", "0.52428246", "0.52408457", "0.5203196", "0.5185881", "0.515951", "0.5103508", "0.49964795", "0.49904364", "0.4970888", "0.490583", "0.48955742", "0.48894826", "0.48555806", "0.48374444", "0.48007214", "0.47823605", "0.4775794", "0.47697142", "0.476...
0.7363747
0
Disconnects the transport from the IMAP server.
Отключает транспорт от сервера IMAP.
public function disconnect() { if ( $this->state !== self::STATE_NOT_CONNECTED && $this->connection->isConnected() === true ) { $tag = $this->getNextTag(); $this->connection->sendData( "{$tag} LOGOUT" ); // discard the "bye bye" message ("{$tag} OK Lo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function disconnect()\n {\n $imapStream = ImapStreamUtils::getImapStream($this->imapPath, $this->login, $this->password, constant($this->imapopenoptions), false);\n if ($imapStream && is_resource($imapStream)) {\n imap_close($imapStream, CL_EXPUNGE);\n }\n }", "pub...
[ "0.7520224", "0.6999084", "0.6743158", "0.67101026", "0.6649661", "0.6606214", "0.6566687", "0.65620416", "0.65617615", "0.65456176", "0.6490251", "0.6490251", "0.64872974", "0.64208794", "0.6390371", "0.6346029", "0.63327134", "0.6311679", "0.6282588", "0.6280729", "0.624090...
0.7112761
1
Authenticates the user to the IMAP server with $user and $password. This method should be called directly after the construction of this object. If the server is waiting for the authentication process to respond, the connection with the IMAP server will be closed, and false is returned, and it is the application's task...
Аутентифицирует пользователя на сервере IMAP с помощью $user и $password. Этот метод должен быть вызван сразу после создания данного объекта. Если сервер ожидает завершения процесса аутентификации, соединение с сервером IMAP будет закрыто, и будет возвращено значение false, и задача переза连аться и перепроходить аутенти...
public function authenticate( $user, $password ) { if ( $this->state != self::STATE_NOT_AUTHENTICATED ) { throw new ezcMailTransportException( "Tried to authenticate when there was no connection or when already authenticated." ); } $tag = $this->getNextTag(); $th...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function authenticate($username, $password) {\n\t\t$this->assertConnection(__METHOD__);\n\n\t\tif( !in_array($this->authMethod, $this->serverAuthMethods) ) {\n\t\t\tthrow new WrongStateException(\"Auth method '{$this->authMethod}' is not supported by server; use: \".implode(', ', $this->serverAuthMethods));...
[ "0.6764083", "0.64753586", "0.63271946", "0.6199306", "0.614563", "0.6051603", "0.60295755", "0.5938876", "0.5933291", "0.5927081", "0.5921334", "0.58976805", "0.5870805", "0.5823216", "0.58146447", "0.580227", "0.5785637", "0.5778055", "0.5769903", "0.5769903", "0.5754322", ...
0.814208
0
Selects the mailbox $mailbox, which will be the active mailbox for the subsequent commands until it is changed. Before calling this method, a connection to the IMAP server must be established and a user must be authenticated successfully. Inbox is a special mailbox and can be specified with any case. This method should...
Выбирает ящик с почтой $mailbox, который будет активным ящиком для последующих команд до тех пор, пока он не изменится. Перед вызовом этого метода необходимо установить соединение с сервером IMAP и успешно выполнить аутентификацию пользователя. Inbox является специальным ящиком и может быть указан в любом регистре. Это...
public function selectMailbox( $mailbox, $readOnly = false ) { if ( $this->state != self::STATE_AUTHENTICATED && $this->state != self::STATE_SELECTED && $this->state != self::STATE_SELECTED_READONLY ) { throw new ezcMailTransportException( "Can't call selectMail...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getSelectedMailbox() {\n if (!isset ($this->_selectedMailbox)) {\n $inboxModel = EmailInboxes::model();\n if (isset($_GET['id']) && ctype_digit($_GET['id'])) {\n $this->_selectedMailbox = $inboxModel->findByPk ($_GET['id']);\n } else if ($inbox...
[ "0.67937356", "0.59469974", "0.5944382", "0.5879357", "0.5581044", "0.5561527", "0.5549371", "0.5525258", "0.5520445", "0.54936415", "0.54113245", "0.5408738", "0.54016054", "0.5369204", "0.53370816", "0.5231513", "0.5183098", "0.51532835", "0.51484466", "0.5086644", "0.50863...
0.7354897
0
Creates the mailbox $mailbox. Inbox cannot be created. Before calling this method, a connection to the IMAP server must be established and a user must be authenticated successfully.
Создает ящик для входящих сообщений $mailbox. Ящик для входящих сообщений не может быть создан. Перед вызовом этого метода необходимо установить соединение с сервером IMAP и успешно выполнить аутентификацию пользователя.
public function createMailbox( $mailbox ) { if ( $this->state != self::STATE_AUTHENTICATED && $this->state != self::STATE_SELECTED && $this->state != self::STATE_SELECTED_READONLY ) { throw new ezcMailTransportException( "Can't call createMailbox() when not succ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function createMailbox()\n {\n $stream = $this->getStram();\n\n return imap_createmailbox($stream, imap_utf7_encode($this->imapPath));\n }", "public function create_mailbox($mailbox) {\n\t\treturn imap_createmailbox($this->imap_stream, imap_utf7_encode($this->mailbox.$mailbox));\n\t}",...
[ "0.76888037", "0.7538383", "0.6732001", "0.6413386", "0.63841", "0.6113734", "0.60722923", "0.58679533", "0.5767496", "0.5736953", "0.54906976", "0.543057", "0.53032416", "0.52619934", "0.5245303", "0.5221615", "0.5214643", "0.521227", "0.5123534", "0.5102867", "0.508463", ...
0.77874595
0
Renames the mailbox $mailbox to $newName. Inbox cannot be renamed. Before calling this method, a connection to the IMAP server must be established and a user must be authenticated successfully.
Переименовывает почтовый ящик $mailbox в $newName. Inbox не может быть переименован. Перед вызовом этого метода необходимо установить соединение с сервером IMAP и успешно авторизовать пользователя.
public function renameMailbox( $mailbox, $newName ) { if ( $this->state != self::STATE_AUTHENTICATED && $this->state != self::STATE_SELECTED && $this->state != self::STATE_SELECTED_READONLY ) { throw new ezcMailTransportException( "Can't call renameMailbox() whe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function renamemailbox($oldname, $newname)\n {\n $ret=$this->command(\". renamemailbox \\\"$oldname\\\" \\\"$newname\\\"\");\n return $ret;\n }", "public function rename($old, $new)\n {\n $result = imap_renamemailbox(\n $this->getBackend(),\n ...
[ "0.7753641", "0.6659527", "0.6462071", "0.6327904", "0.6153504", "0.6153063", "0.611449", "0.5891217", "0.5861857", "0.5851276", "0.58105975", "0.56858134", "0.5656678", "0.5600228", "0.5543824", "0.55416024", "0.55371064", "0.550357", "0.5495014", "0.5483038", "0.547652", ...
0.8560379
0
Deletes the mailbox $mailbox. Inbox and the the currently selected mailbox cannot be deleted. Before calling this method, a connection to the IMAP server must be established and a user must be authenticated successfully.
Удаляет почтовый ящик $mailbox. Входящие и текущий выбранный почтовые ящики не могут быть удалены. Перед вызовом этого метода необходимо установить соединение с сервером IMAP и успешно выполнить аутентификацию пользователя.
public function deleteMailbox( $mailbox ) { if ( $this->state != self::STATE_AUTHENTICATED && $this->state != self::STATE_SELECTED && $this->state != self::STATE_SELECTED_READONLY ) { throw new ezcMailTransportException( "Can't call deleteMailbox() when not succ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function deleteMailbox($mbox)\n {\n $mbox = strval($mbox);\n $this->_backend->deleteMailbox($mbox);\n\n if ($this->_debug) {\n $this->_debug->info(sprintf(\n 'CACHE: Deleted mailbox [%s]',\n $mbox\n ));\n }\n }", "public...
[ "0.7327184", "0.63228565", "0.60493004", "0.59746563", "0.57988006", "0.5775721", "0.5586187", "0.55707675", "0.54780763", "0.54596806", "0.53079796", "0.5253396", "0.5238591", "0.52331054", "0.518691", "0.5108046", "0.51010245", "0.506014", "0.50435346", "0.49783602", "0.493...
0.8329465
0
Returns a list of the not deleted messages in the current mailbox. It returns only the messages with the flag DELETED not set. Before calling this method, a connection to the IMAP server must be established and a user must be authenticated successfully, and a mailbox must be selected. The format of the returned array i...
Возвращает список неудаленных сообщений в текущем почтовом ящике. Возвращает только сообщения с установленным флагом DELETED. Перед вызовом этого метода необходимо установить соединение с сервером IMAP, успешно проходить аутентификацию и выбрать почтовый ящик. Формат возвращаемого массива — array( message_id => size );...
public function listMessages( $contentType = null ) { if ( $this->state != self::STATE_SELECTED && $this->state != self::STATE_SELECTED_READONLY ) { throw new ezcMailTransportException( "Can't call listMessages() on the IMAP transport when a mailbox is not selected." ); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static function returnUndeletedMessages()\n\t{\n\t\t/*\n\t\t NULL - nobody deleted it\n\t\t 0 - both users deleted it\n\t\t IDuser1 - only first user deleted it\n\t\t IDuser2 - only second user deleted it\n\t\t*/\n\t\t$IDuser=Yii::$app->user->getId();\n\t\t$messagesReplyTable=MessagesReply::getTableSchema()...
[ "0.6352305", "0.5701476", "0.5613526", "0.5613526", "0.5578588", "0.5572768", "0.55552715", "0.5553599", "0.55298483", "0.552688", "0.55134463", "0.54977596", "0.54878676", "0.54844266", "0.54309916", "0.5423552", "0.5416275", "0.54099476", "0.5384237", "0.5374339", "0.534609...
0.7592335
0
Returns information about the messages in the current mailbox. The information returned through the parameters is: $numMessages = number of not deleted messages in the selected mailbox $sizeMessages = sum of the not deleted messages sizes $recent = number of recent and not deleted messages $unseen = number of unseen an...
Возвращает информацию о сообщениях в текущем почтовом ящике. Информация, возвращаемая через параметры: $numMessages = количество не удаленных сообщений в выбранном почтовом ящике $sizeMessages = суммарный размер не удаленных сообщений $recent = количество недавних и не удаленных сообщений $unseen = количество непрочита...
public function status( &$numMessages, &$sizeMessages, &$recent = 0, &$unseen = 0 ) { if ( $this->state != self::STATE_SELECTED && $this->state != self::STATE_SELECTED_READONLY ) { throw new ezcMailTransportException( "Can't call status() on the IMAP transport when a mailbox...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function sqimap_status_messages ($imap_stream, $mailbox) {\n $read_ary = sqimap_run_command ($imap_stream, \"STATUS \\\"$mailbox\\\" (MESSAGES UNSEEN RECENT)\", false, $result, $message);\n $i = 0;\n $messages = $unseen = $recent = false;\n $regs = array(false,false);\n while (isset($read_ary[$i])) ...
[ "0.6864441", "0.6671238", "0.6625788", "0.6068987", "0.60440433", "0.60377586", "0.5997883", "0.5997682", "0.59360164", "0.5923932", "0.58974695", "0.5806213", "0.57718986", "0.57347065", "0.5729828", "0.5713449", "0.5705581", "0.5702899", "0.5692288", "0.56830376", "0.565906...
0.7385037
0
Returns the unique identifiers for the messages from the current mailbox. You can fetch the unique identifier for a specific message by providing the $msgNum parameter. The unique identifier can be used to recognize mail from servers between requests. In contrast to the message numbers the unique numbers assigned to an...
Возвращает уникальные идентификаторы сообщений из текущей почтовой ящика. Вы можете получить уникальный идентификатор для конкретного сообщения, указав параметр $msgNum. Уникальный идентификатор можно использовать для распознавания почты между запросами. В отличие от номеров сообщений, уникальные номера, присвоенные эл...
public function listUniqueIdentifiers( $msgNum = null ) { if ( $this->state != self::STATE_SELECTED && $this->state != self::STATE_SELECTED_READONLY ) { throw new ezcMailTransportException( "Can't call listUniqueIdentifiers() on the IMAP transport when a mailbox is not selec...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getMessageIDs()\n {\n return $this->messageIDs;\n }", "function uidl($msg_number = \"0\") {\n if (! $this->socket) {\n $this->error = \"POP3 uidl() - Error: No connection avalible.\";\n return FALSE;\n }\n \n if (! $this->_checkstate ...
[ "0.62289125", "0.59205663", "0.59137034", "0.567305", "0.55711347", "0.5462993", "0.5399034", "0.5312029", "0.52614063", "0.52092725", "0.51859266", "0.5177057", "0.5177007", "0.5177007", "0.51673216", "0.51603395", "0.5136025", "0.51115286", "0.5111176", "0.5106336", "0.5105...
0.8229765
0
Wrapper function to fetch count of messages by a certain flag. $flag can be one of: Basic flags: ANSWERED message has been answered DELETED message is marked to be deleted by later EXPUNGE DRAFT message is marked as a draft FLAGGED message is "flagged" for urgent/special attention RECENT message is recent SEEN message ...
Функция-обертка для получения количества сообщений по определённому флагу. $flag может быть одним из следующих: Основные флаги: ANSWERED — сообщение было ответом DELETED — сообщение помечено для удаления в дальнейшем EXPUNGE DRAFT — сообщение помечено как черновик FLAGGED — сообщение помечено как "отмеченное" для срочн...
public function countByFlag( $flag ) { $flag = $this->normalizeFlag( $flag ); $messages = $this->searchByFlag( $flag ); return count( $messages ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function countRecipient($readFlag = null)\n {\n $criteria = new CDbCriteria();\n if($readFlag) {\n $readFlag = \"read_flag = $readFlag and \";\n }\n $criteria->condition = $readFlag.\" message_id = $this->id\";\n $count = MessageStatus::model()->count($criter...
[ "0.65233284", "0.57981986", "0.5577224", "0.5520313", "0.55061895", "0.54907715", "0.549039", "0.5441537", "0.5412714", "0.5396082", "0.53766733", "0.5367567", "0.53570217", "0.5347724", "0.5340396", "0.52944106", "0.52927274", "0.5273687", "0.52717036", "0.5261781", "0.52405...
0.7857684
0
Sends a NOOP command to the server, use it to keep the connection alive. Before calling this method, a connection to the IMAP server must be established.
Отправляет команду NOOP на сервер, используйте её для поддержания соединения. Перед вызовом этого метода необходимо установить соединение с сервером IMAP.
public function noop() { if ( $this->state != self::STATE_NOT_AUTHENTICATED && $this->state != self::STATE_AUTHENTICATED && $this->state != self::STATE_SELECTED && $this->state != self::STATE_SELECTED_READONLY ) { throw new ezcMailTransportException...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function send()\n {\n // NOP\n }", "function command()\n {\n // NOP\n }", "public function idle() {\n // Send a ping if necessary\n if (empty($this->lastPing) || time() - $this->lastPing > $this->plugin->pinginterval) {\n $this->sendPing();\n }\n\n ...
[ "0.5949637", "0.58793277", "0.5827525", "0.5363688", "0.5109208", "0.5100998", "0.50851756", "0.5075365", "0.50257516", "0.5024806", "0.5012069", "0.49994466", "0.49979502", "0.49900952", "0.49734133", "0.49558926", "0.49512607", "0.49483225", "0.49377728", "0.49151883", "0.4...
0.7507506
0
Appends $mail to the $mailbox mailbox. Use this method to create email messages in a mailbox such as Sent or Draft. $flags is an array of flags to be set to the $mail (if provided): $flag can be one of: ANSWERED message has been answered DELETED message is marked to be deleted by later EXPUNGE DRAFT message is marked a...
Добавляет $mail в ящик $mailbox. Используйте этот метод для создания электронных сообщений в ящике, например, Sent или Draft. $flags — это массив флагов, которые должны быть установлены для $mail (если они предоставлены): $flag может быть одним из следующих: ANSWERED — сообщение было ответом, DELETED — сообщение помече...
public function append( $mailbox, $mail, $flags = null ) { if ( $this->state != self::STATE_AUTHENTICATED && $this->state != self::STATE_SELECTED && $this->state != self::STATE_SELECTED_READONLY ) { throw new ezcMailTransportException( "Can't call append() if no...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function create_mailbox($mailbox) {\n\t\treturn imap_createmailbox($this->imap_stream, imap_utf7_encode($this->mailbox.$mailbox));\n\t}", "public function createMailbox()\n {\n $stream = $this->getStram();\n\n return imap_createmailbox($stream, imap_utf7_encode($this->imapPath));\n }",...
[ "0.5208722", "0.5084176", "0.5075239", "0.5050095", "0.5036918", "0.49639666", "0.4956245", "0.49444717", "0.48483843", "0.4796079", "0.47731712", "0.47718483", "0.47630826", "0.47564068", "0.4723177", "0.4721761", "0.47060093", "0.47040254", "0.46648902", "0.4656825", "0.465...
0.746356
0
Reads the responses from the server until encountering $tag. In IMAP, each command sent by the client is prepended with a alphanumeric tag like 'A1234'. The server sends the response to the client command as lines, and the last line in the response is prepended with the same tag, and it contains the status of the comma...
Читает ответы от сервера до тех пор, пока не встретит $tag. В IMAP каждая команда, отправляемая клиентом, начинается с альфа-числового тега, например, 'A1234'. Сервер отправляет ответ на команду клиента построчно, и последняя строка ответа начинается с того же тега и содержит статус завершения команды ('OK', 'NO' или '...
protected function getResponse( $tag, $response = null ) { if ( is_null( $response ) ) { $response = $this->connection->getLine(); } while ( strpos( $response, $tag ) === false ) { if ( strpos( $response, ' BAD ' ) !== false || strpos(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function parseResponse()\n\t{\n\t\tif(($line=fgets($this->_socket))===false)\n\t\t\tthrow new CException('Failed reading data from redis connection socket.');\n\t\t$type=$line[0];\n\t\t$line=substr($line,1,-2);\n\t\tswitch($type)\n\t\t{\n\t\t\tcase '+': // Status reply\n\t\t\t\treturn true;\n\t\t\tcase '-'...
[ "0.5059865", "0.49921438", "0.49815354", "0.49270523", "0.47862133", "0.47747838", "0.4717468", "0.47044027", "0.46823025", "0.4654784", "0.46352133", "0.4632595", "0.4620127", "0.46121547", "0.4576784", "0.45737082", "0.45520347", "0.4546001", "0.45176354", "0.4509263", "0.4...
0.7382221
0
Generates the next IMAP tag to prepend to client commands. The structure of the IMAP tag is Axxxx, where: A is a letter (uppercase for conformity) x is a digit from 0 to 9 example of generated tag: T5439 It uses the class variable $this>currentTag. Everytime it is called, the tag increases by 1. If it reaches the last ...
Генерирует следующий IMAP-тег для добавления в начало команд клиента. Структура IMAP-тега — Axxxx, где: A — буква (заглавная для соответствия), x — цифра от 0 до 9. Пример сгенерированного тега: T5439. Использует классную переменную $this>currentTag. Каждый раз, когда вызывается, тег увеличивается на 1. Если он достига...
protected function getNextTag() { $tagLetter = substr( $this->currentTag, 0, 1 ); $tagNumber = intval( substr( $this->currentTag, 1 ) ); $tagNumber++; if ( $tagLetter == 'Z' && $tagNumber == 10000 ) { $tagLetter = 'A'; $tagNumber = 1; } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function getNextIdentityCode(){\n $lastFilmIdentityCode = $this->getLastIdentityCode();\n $lastFilmIdentityCodeInt = intval(substr($lastFilmIdentityCode, 1));\n $lastFilmIdentityCodeIntNext = $lastFilmIdentityCodeInt + 1;\n $lastFilmIdentityCodeIntNextFinal = 'F' . str_pad($lastFilmIden...
[ "0.56825054", "0.5630298", "0.55527484", "0.5518309", "0.54577684", "0.53262156", "0.530821", "0.52716863", "0.52716863", "0.525333", "0.51966214", "0.5190898", "0.516264", "0.5115353", "0.5080301", "0.5014734", "0.5011057", "0.4987947", "0.49771023", "0.49640718", "0.4955948...
0.7447744
0
/ emptyCart: removes all items from the users cart uses the userID stored in session to perform query
/ emptyCart: удаляет все товары из корзины пользователя, использует userID, хранящийся в сессии, для выполнения запроса
public function emptyCart(){ // database vars $host = $GLOBALS['db_host']; $db = $GLOBALS['db_db']; $user = $GLOBALS['db_user']; $pass = $GLOBALS['db_pass']; session_start(); $dbh = new PDO("mysql:host=$host;dbname=$db", $user, $pass); $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function empty_cart()\n\t{\n\t\tunset($_SESSION['cart']);\n\t}", "public function clearCart()\n {\n $userID = $_SESSION['userID'];\n $sqlQuery = \"DELETE FROM Basket WHERE idUser = ?\";\n $statement = $this->_dbHandle->prepare($sqlQuery); // prepare a PDO statement\n $statem...
[ "0.83696735", "0.8139847", "0.8043794", "0.8010308", "0.795314", "0.7923532", "0.78832227", "0.7876652", "0.7858526", "0.77975565", "0.7781638", "0.76838905", "0.7647173", "0.7561394", "0.75370157", "0.74944884", "0.745798", "0.7447341", "0.74209094", "0.73447883", "0.7319869...
0.82021075
1
/ updateCartItem: updates the cartItemQty for a given item in the users cart. Uses (cartItemID, productID, cartItemQty) POST variables from ajax
/ updateCartItem: обновляет cartItemQty для заданного товара в корзине пользователя. Использует (cartItemID, productID, cartItemQty) переменные POST из ajax
public function updateCartItem(){ // database vars $host = $GLOBALS['db_host']; $db = $GLOBALS['db_db']; $user = $GLOBALS['db_user']; $pass = $GLOBALS['db_pass']; // post vars $cart_item_id = $_POST["cartItemID"]; $product_id = $_POST["productID"]; $cart_item_qty = $_POST["cartItem...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function updateCartItem($cartItem);", "public function updateCartItem($item_id,UpdateShoppingItemQuantityInputRequest $request)\n {\n return $this->shoppingCartService->updateQuantityUsingItemId($item_id, $request->validated());\n }", "public function cartUpdatePostAction()\n {\n ...
[ "0.7542714", "0.73264533", "0.7314566", "0.715376", "0.71043676", "0.7091371", "0.7005465", "0.6985364", "0.6953033", "0.69502234", "0.6925141", "0.69025916", "0.68319976", "0.68222713", "0.68141776", "0.68104017", "0.68101156", "0.67918", "0.6791248", "0.672708", "0.67241853...
0.76112044
0
end checkout / getCurrentQty: Grabs the qty of a product from the "product" table given (ProductID) POST var from ajax
end checkout / getCurrentQty: Получает количество товара из таблицы "product" по заданному (ProductID) POST-параметру из ajax
private function getCurrentQty($product_id){ // database vars $host = $GLOBALS['db_host']; $db = $GLOBALS['db_db']; $user = $GLOBALS['db_user']; $pass = $GLOBALS['db_pass']; $dbh = new PDO("mysql:host=$host;dbname=$db", $user, $pass); $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCE...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getCurrentQty()\n {\n return $this->currentQty;\n }", "public function getQty();", "public function getQuantity()\n {\n return $this->getParameter('Qty');\n }", "public function getQty()\n {\n return $this->qty;\n }", "public function getQty()\n {\n...
[ "0.6874922", "0.676811", "0.671444", "0.6665139", "0.6665139", "0.6644745", "0.6569531", "0.65377057", "0.6508139", "0.65034974", "0.6498552", "0.64634377", "0.6463111", "0.64180255", "0.6383505", "0.6371076", "0.6368112", "0.6366308", "0.6275646", "0.6273457", "0.62726235", ...
0.76347214
0
/ updateProductQtyInDB: updates the qty for a given product using (productID, newProductID)
/ updateProductQtyInDB: обновляет количество товара для заданного продукта с использованием (productID, newProductID)
private function updateProductQtyInDB($product_id, $new_product_qty){ // database vars $host = $GLOBALS['db_host']; $db = $GLOBALS['db_db']; $user = $GLOBALS['db_user']; $pass = $GLOBALS['db_pass']; $dbh = new PDO("mysql:host=$host;dbname=$db", $user, $pass); $dbh->setAttribute(PDO::ATTR_E...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function update_product_qty($product, $quantity_sold){\n $product = Product::find($product);\n $qty = $product->quantity;\n $qty_sold = $product->quantity_sold;\n $product->quantity = $qty - $quantity_sold;\n $product->quantity_sold = $qty_sold + $quantity_sold;\n $product->sav...
[ "0.7287003", "0.7253305", "0.70221233", "0.7008186", "0.6966174", "0.6835166", "0.677382", "0.66829985", "0.6660358", "0.6624168", "0.66011673", "0.659696", "0.65838766", "0.65652865", "0.6559518", "0.65531266", "0.6539561", "0.65357965", "0.65223074", "0.6496227", "0.6473107...
0.8525332
0
/ insertPurchasedProduct: inserts a product that the user purchased into the purchasedproduct table
/ insertPurchasedProduct: вставляет продукт, который пользователь приобрёл, в таблицу purchasedproduct
private function insertPurchasedProduct($product_id, $purchased_qty){ // database vars $host = $GLOBALS['db_host']; $db = $GLOBALS['db_db']; $user = $GLOBALS['db_user']; $pass = $GLOBALS['db_pass']; session_start(); $dbh = new PDO("mysql:host=$host;dbname=$db", $user, $pass); $dbh->se...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function insertProduct();", "public function insertOrUpdateProductAction()\n {\n // if priceType comes from SN and shopware version is 5.2\n // priceFieldForPurchasePriceExport is empty\n // we need to set it because there isn't customer groups\n // purchasePrice is stored a...
[ "0.7496102", "0.69564605", "0.69002736", "0.6870773", "0.68135184", "0.6801823", "0.672493", "0.6714771", "0.66749865", "0.6656033", "0.6652015", "0.66416335", "0.66375333", "0.65694827", "0.6563914", "0.651878", "0.65099114", "0.6433994", "0.6384575", "0.63588864", "0.635286...
0.8187814
0
Generates an unique ID for the current data set
Генерирует уникальный идентификатор для текущего набора данных
private function generate_unique_id(){ $this->id = abs(crc32(serialize($this->infos))); return $this->id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function _generateId() {\n\t\t$this->_data['id'] = $this->_adapter->acquireId();\r\n\t}", "function _generateId()\n {\n static $idx = 1;\n\n if (!$this->getAttribute('id')) {\n $this->updateAttributes(array('id' => 'id_'.substr(md5(microtime() . $idx++), 0, 6)));\n }\...
[ "0.77499014", "0.7704629", "0.75858945", "0.7577631", "0.75558907", "0.7522252", "0.7489107", "0.74486846", "0.73885113", "0.73885113", "0.7380212", "0.737606", "0.7375414", "0.7364917", "0.73575795", "0.7316421", "0.7303557", "0.72919613", "0.7284537", "0.7284537", "0.725307...
0.78435886
0
construct the class $FileBar must not be $_FILES, but is the value of $_FILES, for instance: $_FILES['upfile']
класс $FileBar должен быть не $_FILES, а значением $_FILES, например: $_FILES['upfile']
function __construct($FileBar) { $this->_FileBar = $FileBar; if (is_array($this->_FileBar["name"])) { $this->_IsMulti = true; $this->_UpFileNumber = count($this->_FileBar["name"]); } else { // change single file upload to multi files upload $this->_UpFileNumber = 1; $this->_FileBar["name"] = array(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function __construct($file) {\n \n // Method 1: Send the name of the field as parameter to constructor\n if(is_string($file)) {\n \n // Set the name of the field on the form\n $this->set_field_name($file);\n \n // Get the file from the $_FILES array\n $this->uploaded_file = ...
[ "0.6924937", "0.66495585", "0.65678024", "0.64584404", "0.6457275", "0.641207", "0.63922536", "0.6360376", "0.63313997", "0.6312634", "0.63076866", "0.62483793", "0.6240289", "0.62161463", "0.62076974", "0.6199875", "0.6136063", "0.6125819", "0.6065138", "0.6064102", "0.60619...
0.80820745
0
get the path of the file to save
получить путь файла для сохранения
function getSavePath() { return $this->_FileSavePath; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function save(): string\n {\n return $this->path();\n }", "public function get_save_path()\n {\n return $this->get_default_property(self::PROPERTY_SAVE_PATH);\n }", "function get_save_location() {\n return $this->save_directory . $this->filename;\n }", "protected function...
[ "0.80289555", "0.7998472", "0.7960577", "0.77539796", "0.76647514", "0.76616836", "0.7576298", "0.75101113", "0.74696004", "0.7427388", "0.74195486", "0.738781", "0.73499674", "0.7321513", "0.72914124", "0.72903305", "0.72825176", "0.7261362", "0.7203206", "0.7198945", "0.718...
0.8302315
0
set the prefix of file to save
установить префикс файла для сохранения
function setSaveFileNamePrefix($prefix = '') { $this->_FileNameSavePrefix = $prefix; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function setFileName($prefix){\n \ttouch('../logs/' . $prefix . $this->date . '.log');\n\n \t//check to see if I can WRITE to that existing file\n\t\tif(is_writable('../logs/' . $prefix . $this->date . '.log')){\n\n\t\t\t$this->filename = '../logs/' . $prefix . $this->date . '.log';\n\n\n\t\t} else{\...
[ "0.6891375", "0.6620612", "0.6503153", "0.6493521", "0.64226055", "0.6268575", "0.6242387", "0.6242387", "0.6237532", "0.62211084", "0.61895764", "0.61658055", "0.6159555", "0.6106712", "0.61044914", "0.60827905", "0.60827905", "0.6062351", "0.6062351", "0.60614", "0.6050755"...
0.8508525
0
set the name to save
установить имя для сохранения
function setFileSaveName($name) { $this->_FileSaveName = $name; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function setSeveName()\r\n {\r\n $this->saveName = $this->randomFileName();\r\n\r\n if ($this->saveName == '')\r\n {\r\n $this->saveName = $this->files['name'];\r\n }\r\n }", "function set_name($newname) {\n $this->name = $newname;\n }...
[ "0.83833003", "0.7291771", "0.7018276", "0.70151246", "0.691376", "0.6867991", "0.6861363", "0.6850378", "0.6797673", "0.67922205", "0.6776081", "0.67694145", "0.676413", "0.6750788", "0.6750788", "0.6750788", "0.6750788", "0.6750788", "0.6750788", "0.67501783", "0.6743692", ...
0.8172159
1
get the suffix of file not include '.'
получить суффикс файла, не включая '.'
function getFileSuffix($FileName) { return strtolower(substr(strrchr($FileName,'.'), 1)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function getExt($file) {\n\t\t$dot = strrpos($file, '.') + 1;\n\t\treturn substr($file, $dot);\n\t}", "private function getExtention()\n\t{\n\t\t$nome = strtolower($this->file['name']);\n\t\t$extention = explode('.', $nome);\n\t\treturn $extention[1];\n\t}", "static function getFileExtension($filename) {\n ...
[ "0.7711528", "0.7629544", "0.7625236", "0.7591704", "0.75553685", "0.7547499", "0.75444216", "0.750829", "0.7500341", "0.74907225", "0.749046", "0.7481327", "0.748003", "0.7470496", "0.7463005", "0.74579895", "0.74397385", "0.7435813", "0.74245906", "0.7421607", "0.74163765",...
0.7689641
1
check error by $FileKey, the $FileKey is the number of upload file, depends on $_FILES.
Проверить ошибку по $FileKey, $FileKey — это номер загруженного файла, зависит от $_FILES.
function isError($FileKey) { foreach ($this->_Error as $key => $val) { if ($key == $FileKey) { return true; } } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function checkFileErrorValue()\n {\n switch ($this->_imgUploadInfo['error']) {\n case UPLOAD_ERR_OK:\n break;\n case UPLOAD_ERR_INI_SIZE:\n $message = 'Size of uploaded image exceeds server side limit';\n $code = UPLOAD_ERR_INI_SIZE;\n ...
[ "0.73790914", "0.70063686", "0.6750778", "0.6513464", "0.64975804", "0.6441118", "0.64318156", "0.63946086", "0.6302494", "0.6273717", "0.6251417", "0.62281626", "0.621217", "0.6209543", "0.6165342", "0.615827", "0.61393803", "0.6133388", "0.610841", "0.6101996", "0.61013114"...
0.7499261
0
/ That function collect the KEYs from the STRING and returns an array with the KEYs
Та функция собирает ключи из строки и возвращает массив с ключами
public static function get_dynamic_keys( $str ){ // Checks IF it is a STRING if( gettype( "" ) !== gettype( $str ) ) return FALSE; // Gets HOLDER string LENGTH $hold_length = strlen(STRINGS::$key_holder); // Gets the START (left side) of the HOLDER $hold_start = substr( STRINGS::$key_holder , 0, $h...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function string2KeyedArray($string, $delimiter = ';', $kv = '=>') {\n if ($a = explode($delimiter, $string)) { // create parts\n foreach ($a as $s) { // each part\n if ($s) {\n if ($pos = strpos($s, $kv)) { // key/value delimiter\n $ka[trim(substr($s, 0, $pos))] = trim(substr($s, $pos + st...
[ "0.7091509", "0.6945371", "0.6861107", "0.66944075", "0.6669532", "0.6611049", "0.6531718", "0.63212246", "0.62835443", "0.62441796", "0.62441796", "0.62349206", "0.62349206", "0.62349206", "0.6164185", "0.6153993", "0.61116886", "0.60955995", "0.60880375", "0.607403", "0.603...
0.7033664
1
Returns the string representation of this view
Возвращает строковое представление этого представления
public function __toString() { return (string)$this->render(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function __toString()\n {\n $xRenderer = $this->xFacade->getViewRenderer($this->sRenderer);\n return ($xRenderer) ? $xRenderer->render($this) : '';\n }", "public function __toString()\n {\n return app('view')->renderComponent();\n }", "public function __toString()\n {...
[ "0.78321666", "0.77695084", "0.77671224", "0.77527004", "0.7745413", "0.77359444", "0.77359444", "0.77359444", "0.77359444", "0.77359444", "0.77359444", "0.77359444", "0.77359444", "0.77359444", "0.77359444", "0.77359444", "0.77359444", "0.77359444", "0.77359444", "0.77359444",...
0.78352785
0
Set position mode, see more in the \RozaVerta\CmfCore\Workshops\Helper\PositionCursor class
Установить режим положения, подробнее см. в классе \RozaVerta\CmfCore\Workshops\Helper\PositionCursor
public function setPositionMode(int $mode) { if(in_array($mode, [PositionCursor::MODE_BEFORE, PositionCursor::MODE_AFTER, PositionCursor::MODE_SWAP])) { $this->positionMode = $mode; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setPosition($position);", "public function setPosition($position, $whence=null){ }", "public function setPosition($x,$y,$modeX=self::LEFT,$modeY=self::TOP) {\n\t\t$this->positionX=$x;\n\t\t$this->positionY=$y;\n\t\t$this->positionModeX=$this->parseMode($modeX);\n\t\t$this->positionModeY=$this->...
[ "0.6730025", "0.6641305", "0.6492115", "0.64487296", "0.63869584", "0.633384", "0.62991136", "0.62464076", "0.6235355", "0.6063349", "0.60578924", "0.6049413", "0.60347515", "0.6027504", "0.5989988", "0.5989077", "0.59810627", "0.59785223", "0.5901149", "0.58941424", "0.58664...
0.7853124
0
Handle the SystemLog "created" event.
Обработайте событие SystemLog "created".
public function created(SystemLog $systemLog) { // }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function created($log){\n $this->VerifySlugAndLog($log,\"Created\");\n }", "public function created($model)\n {\n if (Auth::check()) {\n Log::create([\n 'user_id' => Auth::id(),\n 'action' => 'created',\n 'action_model'...
[ "0.679756", "0.6473693", "0.6222942", "0.61213", "0.60082835", "0.6004068", "0.5950713", "0.59241104", "0.5915387", "0.5843726", "0.58130145", "0.576762", "0.55993354", "0.5594877", "0.55878973", "0.5587224", "0.5585342", "0.55766547", "0.5498641", "0.5483445", "0.54820645", ...
0.77462405
0
Handle the SystemLog "updated" event.
Обработка события SystemLog "updated".
public function updated(SystemLog $systemLog) { // }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function updated($log)\n {\n $this->VerifySlugAndLog($log,\"Updated\");\n }", "public function update() {\n\t\tglobal $event_dir;\n\t\t$changes = parent::update();\n\t\tforeach($changes as $change) {\n\t\t\t$loglevel = LOG_WARNING;\n\t\t\tswitch($change->field) {\n\t\t\t\tcase 'private':\n\t\...
[ "0.6526505", "0.632561", "0.6247017", "0.6184861", "0.6130888", "0.6127612", "0.6049902", "0.6010886", "0.594141", "0.59233767", "0.5919546", "0.58837557", "0.5880567", "0.58691734", "0.5850803", "0.58320844", "0.57862544", "0.5782503", "0.5772755", "0.5765769", "0.5763641", ...
0.780098
0
Handle the SystemLog "deleted" event.
Обработка события "deleted" SystemLog.
public function deleted(SystemLog $systemLog) { // }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function onDeleted(FileSystemEvent $event)\n {\n // TODO: Implement onDeleted() method.\n }", "public function deleted($log)\n {\n $this->VerifySlugAndLog($log,\"Deleted\");\n }", "public function forceDeleted(SystemLog $systemLog)\n {\n //\n }", "public function...
[ "0.70537406", "0.702301", "0.68947864", "0.687357", "0.6807232", "0.68055046", "0.6794269", "0.6730549", "0.66514724", "0.6595529", "0.65399444", "0.6523801", "0.6508926", "0.6504456", "0.64489865", "0.64470327", "0.6439287", "0.6373442", "0.63201267", "0.6288868", "0.6287292...
0.7657788
0
Handle the SystemLog "restored" event.
Обработайте событие SystemLog "restored".
public function restored(SystemLog $systemLog) { // }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function onRestore() {\n $this->printStackTrace();\n }", "public function restored(ArInvoiceLog $arInvoiceLog)\n {\n //\n }", "public function restored(GoodsStockLog $goodsStockLog)\n {\n //\n }", "public function restored(Event $event)\n {\n //\n }"...
[ "0.70680475", "0.6569708", "0.6528607", "0.63778174", "0.63778174", "0.63653904", "0.62248534", "0.62243235", "0.6144654", "0.61394167", "0.6014773", "0.5975565", "0.5968422", "0.5959695", "0.592305", "0.592305", "0.592305", "0.5882571", "0.5806335", "0.5725446", "0.5718329",...
0.7398311
0
Handle the SystemLog "force deleted" event.
Обработка события "силовое удаление" SystemLog.
public function forceDeleted(SystemLog $systemLog) { // }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function deleted(SystemLog $systemLog)\n {\n //\n }", "public function forceDeleted(GoodsStockLog $goodsStockLog)\n {\n //\n }", "public function forceDeleted(ArInvoiceLog $arInvoiceLog)\n {\n //\n }", "public static function deletedHandler(Model $model): void\n ...
[ "0.7261421", "0.72061193", "0.7050481", "0.67073", "0.6693481", "0.6588073", "0.65440345", "0.6523414", "0.6485992", "0.6482457", "0.6478909", "0.6477966", "0.6471874", "0.6460666", "0.6449028", "0.6414853", "0.6398684", "0.63872045", "0.63782513", "0.636235", "0.636235", "...
0.7670346
0
Function Name: GetVanBan Description: Argument: $type Creation Date: 2016/08/01 Author: KhanhTH Reviewer: PhucHM
Имя функции: GetVanBan Описание: Аргумент: $type Дата создания: 2016/08/01 Автор: KhanhTH Рецензент: PhucHM
public static function GetVanBan($type){ $result = DB::table('vanban') //->where('loaivanban',$type) ->orderby('create_at','desc') ->paginate(10); return $result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static function GetVanBanTrangChu($type){\n\n $result = DB::table('vanban')\n ->where('loaivanban',$type)\n ->orderby('ngaybanhanh','desc')\n ->get();\n return $result;\n }", "public function getBans()\n {\n }", "function admin_ip_ban_get( int $ip_...
[ "0.61907494", "0.6179872", "0.6078546", "0.6053552", "0.6046651", "0.6000746", "0.597574", "0.57985765", "0.575249", "0.5683925", "0.56180316", "0.560987", "0.55999404", "0.55956864", "0.55720544", "0.5509249", "0.54915273", "0.541951", "0.54153675", "0.5389801", "0.5335106",...
0.7071512
0