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 |
|---|---|---|---|---|---|---|---|
( hooks ) Fire the 'udesign_head_top' action | ( хуки ) Срабатывание действия 'udesign_head_top' | function udesign_head_top() {
do_action('udesign_head_top');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_body_top() {\r\n do_action('udesign_body_top');\r\n}",
"function udesign_page_content_top() {\r\n do_action('udesign_page_content_top');\r\n}",
"function udesign_entry_top() {\r\n do_action('udesign_entry_top');\r\n}",
"function udesign_page_title_top() {\r\n do_action('udesign_p... | [
"0.8069792",
"0.7946736",
"0.79134256",
"0.7833731",
"0.77949345",
"0.77311504",
"0.76907885",
"0.7658268",
"0.74037015",
"0.725201",
"0.71492535",
"0.70998555",
"0.7091697",
"0.706163",
"0.7021208",
"0.70144695",
"0.69453025",
"0.69185096",
"0.6895502",
"0.6894877",
"0.6852"... | 0.8894956 | 0 |
Fire the 'udesign_head_bottom' action | Запустить действие 'udesign_head_bottom' | function udesign_head_bottom() {
do_action('udesign_head_bottom');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_body_bottom() {\r\n do_action('udesign_body_bottom');\r\n}",
"function udesign_entry_bottom() {\r\n do_action('udesign_entry_bottom');\r\n}",
"function udesign_page_title_bottom() {\r\n do_action('udesign_page_title_bottom');\r\n}",
"function udesign_bottom_section_bottom() {\r\n ... | [
"0.7894603",
"0.76442224",
"0.76369613",
"0.754464",
"0.7513563",
"0.7490206",
"0.731353",
"0.7112545",
"0.6923653",
"0.6844571",
"0.67670095",
"0.6751662",
"0.6597695",
"0.65219665",
"0.64873856",
"0.63962805",
"0.6371456",
"0.63231957",
"0.63133925",
"0.6300377",
"0.6267382... | 0.8820416 | 0 |
( hooks ) Fire the 'udesign_inside_body_tag' action | ( хуки ) Сработайте действие 'udesign_inside_body_tag' | function udesign_inside_body_tag() {
do_action('udesign_inside_body_tag');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function wp_body_open() {\n do_action( 'wp_body_open' );\n }",
"function wp_body_open()\n {\n do_action( 'wp_body_open' );\n }",
"function wp_body_open()\n {\n do_action('wp_body_open');\n }",
"function wp_body_open() : void {\n\t\tdo_action( 'wp_body_open' );\n\t}... | [
"0.67842984",
"0.67768306",
"0.6753918",
"0.6743242",
"0.67262805",
"0.6658897",
"0.6658897",
"0.6449271",
"0.6448795",
"0.6197673",
"0.6096523",
"0.60790044",
"0.60592455",
"0.60402775",
"0.60384065",
"0.5960462",
"0.59535944",
"0.581174",
"0.58111906",
"0.57904905",
"0.5717... | 0.87856334 | 0 |
Fire the 'udesign_body_top' action | Вызовите действие 'udesign_body_top' | function udesign_body_top() {
do_action('udesign_body_top');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_page_content_top() {\r\n do_action('udesign_page_content_top');\r\n}",
"function udesign_head_top() {\r\n do_action('udesign_head_top');\r\n}",
"function udesign_entry_top() {\r\n do_action('udesign_entry_top');\r\n}",
"function udesign_top_wrapper_top() {\r\n do_action('udesign_... | [
"0.80598927",
"0.7851439",
"0.77328426",
"0.77063614",
"0.7664985",
"0.7400252",
"0.72948134",
"0.7236842",
"0.71947646",
"0.719125",
"0.71865827",
"0.71598905",
"0.70851916",
"0.7050841",
"0.68559843",
"0.67789316",
"0.6738029",
"0.6679896",
"0.66197586",
"0.6468452",
"0.635... | 0.8939533 | 0 |
Fire the 'udesign_body_bottom' action | Запустить действие 'udesign_body_bottom' | function udesign_body_bottom() {
do_action('udesign_body_bottom');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_page_content_bottom() {\r\n do_action('udesign_page_content_bottom');\r\n}",
"function udesign_main_content_bottom() {\r\n do_action('udesign_main_content_bottom');\r\n}",
"function udesign_entry_bottom() {\r\n do_action('udesign_entry_bottom');\r\n}",
"function udesign_bottom_secti... | [
"0.82059807",
"0.8067792",
"0.7818566",
"0.76864916",
"0.76300955",
"0.7344566",
"0.7315885",
"0.7306045",
"0.72228533",
"0.69830865",
"0.68559945",
"0.6778187",
"0.66912764",
"0.6690841",
"0.6666708",
"0.6603958",
"0.65919995",
"0.6495008",
"0.63346326",
"0.6227425",
"0.6048... | 0.9084846 | 0 |
( hooks ) Fire the 'udesign_top_wrapper_before' action | ( хуки ) Срабатывает действие 'udesign_top_wrapper_before' | function udesign_top_wrapper_before() {
do_action('udesign_top_wrapper_before');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_top_wrapper_top() {\r\n do_action('udesign_top_wrapper_top');\r\n}",
"function udesign_body_top() {\r\n do_action('udesign_body_top');\r\n}",
"function udesign_page_content_top() {\r\n do_action('udesign_page_content_top');\r\n}",
"function udesign_head_top() {\r\n do_action('ude... | [
"0.84730065",
"0.7517902",
"0.74527776",
"0.74015087",
"0.71969897",
"0.7164343",
"0.7162507",
"0.7151316",
"0.7143511",
"0.7139931",
"0.7114162",
"0.7099516",
"0.70386887",
"0.69769835",
"0.6939158",
"0.69180113",
"0.6872965",
"0.680791",
"0.67835134",
"0.6772299",
"0.670605... | 0.89455104 | 0 |
Fire the 'udesign_top_wrapper_after' action. Passes as an argument (boolean) whether the current page is front page or not | Вызовите действие 'udesign_top_wrapper_after'. Передается в качестве аргумента (boolean) значение, указывающее, является ли текущая страница главной страницей или нет | function udesign_top_wrapper_after( $is_front_page ) {
do_action('udesign_top_wrapper_after', $is_front_page);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_top_wrapper_bottom( $is_front_page ) {\r\n do_action('udesign_top_wrapper_bottom', $is_front_page);\r\n}",
"function udesign_main_content_top( $is_front_page ) {\r\n do_action('udesign_main_content_top', $is_front_page);\r\n}",
"function udesign_top_wrapper_top() {\r\n do_action('udes... | [
"0.8087101",
"0.7642541",
"0.7262792",
"0.7167624",
"0.7027951",
"0.69412154",
"0.691108",
"0.6722116",
"0.6491121",
"0.6470568",
"0.6366929",
"0.6358752",
"0.63486755",
"0.63185304",
"0.6312525",
"0.63036716",
"0.6289179",
"0.6216562",
"0.6203396",
"0.6194376",
"0.6186748",
... | 0.8496544 | 0 |
Fire the 'udesign_top_wrapper_top' action | Вызовите действие 'udesign_top_wrapper_top' | function udesign_top_wrapper_top() {
do_action('udesign_top_wrapper_top');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_entry_top() {\r\n do_action('udesign_entry_top');\r\n}",
"function udesign_body_top() {\r\n do_action('udesign_body_top');\r\n}",
"function udesign_page_content_top() {\r\n do_action('udesign_page_content_top');\r\n}",
"function udesign_head_top() {\r\n do_action('udesign_head_to... | [
"0.79745805",
"0.7931365",
"0.7716334",
"0.7665732",
"0.74931365",
"0.74184275",
"0.7413131",
"0.7382029",
"0.73243606",
"0.7293995",
"0.72012246",
"0.71059144",
"0.7011545",
"0.68836117",
"0.68655795",
"0.6838528",
"0.6784298",
"0.6740328",
"0.66741407",
"0.6597076",
"0.6592... | 0.88922065 | 0 |
Fire the 'udesign_top_wrapper_bottom' action Passes as an argument (boolean) whether the current page is front page or not | Вызывает действие 'udesign_top_wrapper_bottom'. Передается в качестве аргумента (булевое значение) является ли текущая страница главной страницей или нет | function udesign_top_wrapper_bottom( $is_front_page ) {
do_action('udesign_top_wrapper_bottom', $is_front_page);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_top_wrapper_after( $is_front_page ) {\r\n do_action('udesign_top_wrapper_after', $is_front_page);\r\n}",
"function udesign_main_content_top( $is_front_page ) {\r\n do_action('udesign_main_content_top', $is_front_page);\r\n}",
"function udesign_top_wrapper_top() {\r\n do_action('udesig... | [
"0.74270517",
"0.7342565",
"0.72864544",
"0.6953239",
"0.69060564",
"0.6886972",
"0.68188",
"0.67433244",
"0.6721352",
"0.66960967",
"0.6652642",
"0.66495407",
"0.64696145",
"0.6407321",
"0.63997734",
"0.6283487",
"0.62814504",
"0.6238917",
"0.6232331",
"0.61975193",
"0.61411... | 0.84222436 | 0 |
( hooks ) Fire the 'udesign_top_elements_inside' action Passes as an argument (boolean) whether the current page is front page or not | ( хуки ) Сработайте действие 'udesign_top_elements_inside' Передается как аргумент (логический) является ли текущая страница главной страницей или нет | function udesign_top_elements_inside( $is_front_page ) {
do_action('udesign_top_elements_inside', $is_front_page);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_main_content_top( $is_front_page ) {\r\n do_action('udesign_main_content_top', $is_front_page);\r\n}",
"function udesign_page_content_top() {\r\n do_action('udesign_page_content_top');\r\n}",
"function udesign_home_page_content_top() {\r\n do_action('udesign_home_page_content_top');\r... | [
"0.752773",
"0.7050405",
"0.6835613",
"0.68055415",
"0.6694291",
"0.6681487",
"0.6645822",
"0.6606699",
"0.6534552",
"0.6428262",
"0.63590723",
"0.62827724",
"0.6273187",
"0.6224138",
"0.6179741",
"0.61503214",
"0.61269003",
"0.6099804",
"0.60838115",
"0.59145314",
"0.5876245... | 0.8819808 | 0 |
( front page slider hooks ) Fire the 'udesign_front_page_slider_before' action | (слайдер главной страницы) Вызовите действие 'udesign_front_page_slider_before' | function udesign_front_page_slider_before() {
do_action('udesign_front_page_slider_before');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_front_page_slider_after() {\r\n do_action('udesign_front_page_slider_after');\r\n}",
"function udesign_page_content_before() {\r\n do_action('udesign_page_content_before');\r\n}",
"function udesign_home_page_content_before() {\r\n do_action('udesign_home_page_content_before');\r\n}",
... | [
"0.739287",
"0.7146035",
"0.69623196",
"0.6667148",
"0.6620236",
"0.6620236",
"0.66161686",
"0.65011543",
"0.6435678",
"0.6370313",
"0.6343732",
"0.6258598",
"0.62503994",
"0.62045836",
"0.61993426",
"0.60648406",
"0.60352266",
"0.60193205",
"0.600965",
"0.6004177",
"0.598441... | 0.89632 | 0 |
Fire the 'udesign_front_page_slider_after' action | Вызвать действие 'udesign_front_page_slider_after' | function udesign_front_page_slider_after() {
do_action('udesign_front_page_slider_after');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_front_page_slider_before() {\r\n do_action('udesign_front_page_slider_before');\r\n}",
"function udesign_page_content_after() {\r\n do_action('udesign_page_content_after');\r\n}",
"function udesign_page_title_after() {\r\n do_action('udesign_page_title_after');\r\n}",
"function udes... | [
"0.7342455",
"0.6944398",
"0.6454011",
"0.63942206",
"0.6044567",
"0.5961108",
"0.5952167",
"0.58525795",
"0.5809897",
"0.5613515",
"0.5613508",
"0.5554203",
"0.55521774",
"0.55374926",
"0.5491936",
"0.5472899",
"0.5470611",
"0.5446211",
"0.54401785",
"0.5432055",
"0.5392547"... | 0.8973325 | 0 |
( and hooks ) Fire the 'udesign_home_page_content_before' action | ( и хуки ) Запуск действия 'udesign_home_page_content_before' | function udesign_home_page_content_before() {
do_action('udesign_home_page_content_before');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_page_content_before() {\r\n do_action('udesign_page_content_before');\r\n}",
"function udesign_blog_post_content_before() {\r\n do_action('udesign_blog_post_content_before');\r\n}",
"public function prePageContent();",
"function cera_grimlock_homepage_before_content() {\n\t\t?>\n\t\t<?... | [
"0.8568981",
"0.7744103",
"0.76453435",
"0.74952966",
"0.7308336",
"0.7286158",
"0.72643936",
"0.71097547",
"0.70398766",
"0.6932817",
"0.6914025",
"0.6898479",
"0.6887802",
"0.688267",
"0.6793775",
"0.6788582",
"0.67432404",
"0.6741688",
"0.673494",
"0.67340213",
"0.67293966... | 0.88428146 | 0 |
Fire the 'udesign_page_content_before' action. | Вызовите действие 'udesign_page_content_before'. | function udesign_page_content_before() {
do_action('udesign_page_content_before');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_home_page_content_before() {\r\n do_action('udesign_home_page_content_before');\r\n}",
"public function prePageContent();",
"function udesign_blog_post_content_before() {\r\n do_action('udesign_blog_post_content_before');\r\n}",
"function udesign_html_before() {\r\n do_action('udesi... | [
"0.84452486",
"0.78421915",
"0.7714485",
"0.7453964",
"0.7217751",
"0.7091891",
"0.698186",
"0.693138",
"0.6913788",
"0.6816056",
"0.6807778",
"0.6797639",
"0.6758896",
"0.67175156",
"0.6687393",
"0.6683677",
"0.6643209",
"0.66099995",
"0.657678",
"0.6538815",
"0.6532244",
... | 0.87133527 | 0 |
Fire the 'udesign_page_content_after' action. | Вызовите действие 'udesign_page_content_after'. | function udesign_page_content_after() {
do_action('udesign_page_content_after');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_page_content_bottom() {\r\n do_action('udesign_page_content_bottom');\r\n}",
"function udesign_footer_after() {\r\n do_action('udesign_footer_after');\r\n}",
"function udesign_entry_after() {\r\n do_action('udesign_entry_after');\r\n}",
"function udesign_blog_entry_after() {\r\n ... | [
"0.7640039",
"0.7360507",
"0.7326991",
"0.7187484",
"0.7124212",
"0.7120919",
"0.71206623",
"0.6893137",
"0.68196166",
"0.6761825",
"0.67425597",
"0.6736267",
"0.6725049",
"0.65867746",
"0.65751725",
"0.65743595",
"0.65054303",
"0.6447218",
"0.64185447",
"0.6411098",
"0.63830... | 0.8946478 | 0 |
Fire the 'udesign_home_page_content_top' action | Вызовите действие 'udesign_home_page_content_top' | function udesign_home_page_content_top() {
do_action('udesign_home_page_content_top');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_page_content_top() {\r\n do_action('udesign_page_content_top');\r\n}",
"function udesign_main_content_top( $is_front_page ) {\r\n do_action('udesign_main_content_top', $is_front_page);\r\n}",
"function udesign_body_top() {\r\n do_action('udesign_body_top');\r\n}",
"function udesign_... | [
"0.866344",
"0.7791635",
"0.77915084",
"0.75843614",
"0.7530879",
"0.7390584",
"0.7330269",
"0.7294347",
"0.70573664",
"0.70381474",
"0.6996814",
"0.67899865",
"0.67860025",
"0.675941",
"0.6753856",
"0.67113805",
"0.6665214",
"0.6657472",
"0.6648851",
"0.66063523",
"0.6513561... | 0.8782408 | 0 |
Fire the 'udesign_page_content_top' action | Вызовите действие 'udesign_page_content_top' | function udesign_page_content_top() {
do_action('udesign_page_content_top');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_home_page_content_top() {\r\n do_action('udesign_home_page_content_top');\r\n}",
"function udesign_body_top() {\r\n do_action('udesign_body_top');\r\n}",
"function udesign_entry_top() {\r\n do_action('udesign_entry_top');\r\n}",
"function udesign_head_top() {\r\n do_action('udesi... | [
"0.8571957",
"0.81077737",
"0.7899994",
"0.7793212",
"0.7716602",
"0.76001966",
"0.75504225",
"0.7497493",
"0.7282796",
"0.7219356",
"0.7216397",
"0.70252043",
"0.69711673",
"0.6967447",
"0.6917178",
"0.67749846",
"0.6769371",
"0.6733991",
"0.6644608",
"0.6600867",
"0.6590144... | 0.8846058 | 0 |
Fire the 'udesign_page_content_bottom' action | Вызовите действие 'udesign_page_content_bottom' | function udesign_page_content_bottom() {
do_action('udesign_page_content_bottom');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_main_content_bottom() {\r\n do_action('udesign_main_content_bottom');\r\n}",
"function udesign_body_bottom() {\r\n do_action('udesign_body_bottom');\r\n}",
"function udesign_entry_bottom() {\r\n do_action('udesign_entry_bottom');\r\n}",
"function udesign_bottom_section_bottom() {\r\... | [
"0.86522216",
"0.83226854",
"0.8009146",
"0.779894",
"0.7749335",
"0.7663542",
"0.7592339",
"0.75849694",
"0.7572024",
"0.74621415",
"0.71528465",
"0.7079611",
"0.6825725",
"0.6803935",
"0.66993994",
"0.66726106",
"0.6652254",
"0.64849764",
"0.6472023",
"0.6450675",
"0.640536... | 0.90954113 | 0 |
( hooks ) Fire the 'udesign_page_title_before' action | ( хуки ) Вызвать действие 'udesign_page_title_before' | function udesign_page_title_before() {
do_action('udesign_page_title_before');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_page_title_top() {\r\n do_action('udesign_page_title_top');\r\n}",
"public function before_the_title() {\n\t\techo '<div class=\"fusion-events-before-title\">';\n\t}",
"function udesign_page_title_after() {\r\n do_action('udesign_page_title_after');\r\n}",
"protected function renderPag... | [
"0.78977114",
"0.78295994",
"0.7765385",
"0.74392945",
"0.7402053",
"0.73905003",
"0.7376399",
"0.7341439",
"0.7302053",
"0.72484946",
"0.72390574",
"0.7079363",
"0.7056478",
"0.7029776",
"0.700508",
"0.7004252",
"0.6994296",
"0.69795626",
"0.69795626",
"0.697759",
"0.6970191... | 0.90051895 | 0 |
Fire the 'udesign_page_title_after' action. | Вызовите действие 'udesign_page_title_after'. | function udesign_page_title_after() {
do_action('udesign_page_title_after');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_page_title_bottom() {\r\n do_action('udesign_page_title_bottom');\r\n}",
"function udesign_page_title_before() {\r\n do_action('udesign_page_title_before');\r\n}",
"function udesign_page_title_top() {\r\n do_action('udesign_page_title_top');\r\n}",
"function udesign_page_content_aft... | [
"0.7926337",
"0.73472863",
"0.7246377",
"0.70734024",
"0.7052619",
"0.70006156",
"0.69642174",
"0.69642174",
"0.6769559",
"0.6719066",
"0.6606375",
"0.65863407",
"0.6554781",
"0.6460732",
"0.63985324",
"0.63945246",
"0.637621",
"0.6349493",
"0.6334381",
"0.62715507",
"0.62715... | 0.9012755 | 0 |
Fire the 'udesign_page_title_top' action | Вызовите действие 'udesign_page_title_top' | function udesign_page_title_top() {
do_action('udesign_page_title_top');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_head_top() {\r\n do_action('udesign_head_top');\r\n}",
"function udesign_page_title_bottom() {\r\n do_action('udesign_page_title_bottom');\r\n}",
"function udesign_page_content_top() {\r\n do_action('udesign_page_content_top');\r\n}",
"function udesign_page_title_before() {\r\n d... | [
"0.78135806",
"0.76983637",
"0.76793116",
"0.75573504",
"0.74654937",
"0.7445474",
"0.7378245",
"0.7303961",
"0.7147379",
"0.7002678",
"0.6861282",
"0.68500674",
"0.68228817",
"0.6772535",
"0.67481756",
"0.6684495",
"0.66835374",
"0.666028",
"0.66255224",
"0.65805703",
"0.652... | 0.89890474 | 0 |
Fire the 'udesign_page_title_bottom' action. | Вызовите действие 'udesign_page_title_bottom'. | function udesign_page_title_bottom() {
do_action('udesign_page_title_bottom');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_page_title_after() {\r\n do_action('udesign_page_title_after');\r\n}",
"function udesign_page_content_bottom() {\r\n do_action('udesign_page_content_bottom');\r\n}",
"function udesign_head_bottom() {\r\n do_action('udesign_head_bottom');\r\n}",
"function udesign_body_bottom() {\r\n ... | [
"0.78358793",
"0.74838114",
"0.7478203",
"0.71659416",
"0.71385676",
"0.7120296",
"0.7039567",
"0.6969772",
"0.6701845",
"0.65988815",
"0.64170486",
"0.6400653",
"0.63894826",
"0.62755823",
"0.6186888",
"0.6180236",
"0.6091456",
"0.6012703",
"0.5950118",
"0.5944292",
"0.59333... | 0.8938264 | 0 |
( hook ) Fire the 'udesign_main_content_top' action Passes as an argument (boolean) whether the current page is front page or not | ( hook ) Запуск действия 'udesign_main_content_top' Передается как аргумент (логическое значение) является ли текущая страница главной страницей или нет | function udesign_main_content_top( $is_front_page ) {
do_action('udesign_main_content_top', $is_front_page);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_page_content_top() {\r\n do_action('udesign_page_content_top');\r\n}",
"function udesign_home_page_content_top() {\r\n do_action('udesign_home_page_content_top');\r\n}",
"function udesign_top_elements_inside( $is_front_page ) {\r\n do_action('udesign_top_elements_inside', $is_front_pa... | [
"0.7839163",
"0.77681947",
"0.75114113",
"0.7027188",
"0.6984985",
"0.69272333",
"0.691756",
"0.68694353",
"0.6845201",
"0.6813935",
"0.67169946",
"0.6708233",
"0.6696106",
"0.66539776",
"0.65928996",
"0.6587357",
"0.6554375",
"0.6469365",
"0.6391982",
"0.6358143",
"0.6321321... | 0.8671588 | 0 |
Fire the 'udesign_main_content_bottom' action. | Вызовите действие 'udesign_main_content_bottom'. | function udesign_main_content_bottom() {
do_action('udesign_main_content_bottom');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_page_content_bottom() {\r\n do_action('udesign_page_content_bottom');\r\n}",
"function udesign_body_bottom() {\r\n do_action('udesign_body_bottom');\r\n}",
"function udesign_entry_bottom() {\r\n do_action('udesign_entry_bottom');\r\n}",
"function udesign_sidebar_bottom() {\r\n do... | [
"0.8759169",
"0.82200325",
"0.80529714",
"0.78508437",
"0.78329015",
"0.7787312",
"0.77138215",
"0.73064107",
"0.7303051",
"0.72992474",
"0.7039907",
"0.7021415",
"0.68799204",
"0.6825214",
"0.6743219",
"0.6741527",
"0.67282516",
"0.644674",
"0.6420007",
"0.635424",
"0.622628... | 0.90276337 | 0 |
( hooks ) Fire the 'udesign_entry_before' action | ( хуки ) Сработайте действие 'udesign_entry_before' | function udesign_entry_before() {
do_action('udesign_entry_before');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_single_post_entry_before() {\r\n do_action('udesign_single_post_entry_before');\r\n}",
"function udesign_blog_entry_before() {\r\n do_action('udesign_blog_entry_before');\r\n}",
"function udesign_single_portfolio_entry_before() {\r\n do_action('udesign_single_portfolio_entry_before');... | [
"0.830438",
"0.81201035",
"0.7293722",
"0.7201352",
"0.7180373",
"0.69007564",
"0.68799484",
"0.681099",
"0.67235494",
"0.66367793",
"0.65531677",
"0.644583",
"0.6415001",
"0.63719857",
"0.6354777",
"0.63356036",
"0.6325173",
"0.630341",
"0.62902796",
"0.62805057",
"0.6243148... | 0.88247716 | 0 |
Fire the 'udesign_entry_after' action. | Вызовите действие 'udesign_entry_after'. | function udesign_entry_after() {
do_action('udesign_entry_after');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_single_post_entry_after() {\r\n do_action('udesign_single_post_entry_after');\r\n}",
"function udesign_blog_entry_after() {\r\n do_action('udesign_blog_entry_after');\r\n}",
"function udesign_entry_bottom() {\r\n do_action('udesign_entry_bottom');\r\n}",
"function udesign_single_por... | [
"0.819294",
"0.79817593",
"0.7218366",
"0.71876913",
"0.71377593",
"0.6890865",
"0.6555391",
"0.65274876",
"0.6511472",
"0.64539367",
"0.6419452",
"0.63655865",
"0.6307575",
"0.6274748",
"0.6002762",
"0.5992752",
"0.59811294",
"0.5958119",
"0.59212023",
"0.5906495",
"0.587728... | 0.88593745 | 0 |
Fire the 'udesign_entry_top' action | Вызовите действие 'udesign_entry_top' | function udesign_entry_top() {
do_action('udesign_entry_top');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_single_post_entry_top() {\r\n do_action('udesign_single_post_entry_top');\r\n}",
"function udesign_blog_entry_top() {\r\n do_action('udesign_blog_entry_top');\r\n}",
"function udesign_single_portfolio_entry_top() {\r\n do_action('udesign_single_portfolio_entry_top');\r\n}",
"functio... | [
"0.820809",
"0.8067655",
"0.76879454",
"0.73664266",
"0.73605764",
"0.7217337",
"0.7199677",
"0.7037212",
"0.6857956",
"0.68319243",
"0.6829256",
"0.67758614",
"0.67172766",
"0.6674552",
"0.65591806",
"0.6491726",
"0.6446902",
"0.6397609",
"0.6169811",
"0.6120655",
"0.6024314... | 0.879699 | 0 |
Fire the 'udesign_entry_bottom' action. | Вызовите действие 'udesign_entry_bottom'. | function udesign_entry_bottom() {
do_action('udesign_entry_bottom');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_single_post_entry_bottom() {\r\n do_action('udesign_single_post_entry_bottom');\r\n}",
"function udesign_blog_entry_bottom() {\r\n do_action('udesign_blog_entry_bottom');\r\n}",
"function udesign_page_content_bottom() {\r\n do_action('udesign_page_content_bottom');\r\n}",
"function ... | [
"0.8437111",
"0.8120647",
"0.7670899",
"0.765665",
"0.75589436",
"0.7495404",
"0.74650294",
"0.6954642",
"0.6946316",
"0.67961884",
"0.6761899",
"0.651288",
"0.6460646",
"0.63968134",
"0.63823813",
"0.6269886",
"0.62689865",
"0.59821945",
"0.59409827",
"0.58351314",
"0.577655... | 0.8851049 | 0 |
( blog posts hooks ) Fire the 'udesign_blog_entry_before' action | (хуки для блоговых постов) Сработать с действием 'udesign_blog_entry_before' | function udesign_blog_entry_before() {
do_action('udesign_blog_entry_before');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_single_post_entry_before() {\r\n do_action('udesign_single_post_entry_before');\r\n}",
"function udesign_blog_post_content_before() {\r\n do_action('udesign_blog_post_content_before');\r\n}",
"function udesign_entry_before() {\r\n do_action('udesign_entry_before');\r\n}",
"function ... | [
"0.82370955",
"0.79600835",
"0.79215306",
"0.7204305",
"0.71992636",
"0.6844554",
"0.68258905",
"0.66410553",
"0.659147",
"0.65440416",
"0.64519066",
"0.64009196",
"0.64009196",
"0.63768405",
"0.63700885",
"0.6352558",
"0.6339058",
"0.6295508",
"0.6235573",
"0.62117225",
"0.6... | 0.8750873 | 0 |
Fire the 'udesign_blog_entry_after' action. | Вызовите действие 'udesign_blog_entry_after'. | function udesign_blog_entry_after() {
do_action('udesign_blog_entry_after');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_single_post_entry_after() {\r\n do_action('udesign_single_post_entry_after');\r\n}",
"function udesign_entry_after() {\r\n do_action('udesign_entry_after');\r\n}",
"function udesign_blog_entry_bottom() {\r\n do_action('udesign_blog_entry_bottom');\r\n}",
"function udesign_single_por... | [
"0.82845813",
"0.81993467",
"0.757569",
"0.72882247",
"0.7064715",
"0.7046118",
"0.6934634",
"0.68644786",
"0.6751691",
"0.6582989",
"0.6441899",
"0.6357419",
"0.6316842",
"0.6087286",
"0.6087286",
"0.60725",
"0.60676396",
"0.60392624",
"0.6021082",
"0.59871686",
"0.59870577"... | 0.88830674 | 0 |
Fire the 'udesign_blog_entry_top' action | Запустить действие 'udesign_blog_entry_top' | function udesign_blog_entry_top() {
do_action('udesign_blog_entry_top');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_single_post_entry_top() {\r\n do_action('udesign_single_post_entry_top');\r\n}",
"function udesign_entry_top() {\r\n do_action('udesign_entry_top');\r\n}",
"function udesign_single_portfolio_entry_top() {\r\n do_action('udesign_single_portfolio_entry_top');\r\n}",
"function udesign_... | [
"0.84102196",
"0.8300021",
"0.76991206",
"0.726612",
"0.70980996",
"0.6945732",
"0.6898064",
"0.67531544",
"0.6740176",
"0.66632307",
"0.66155434",
"0.6583047",
"0.65751576",
"0.6465392",
"0.64572394",
"0.64342827",
"0.63123715",
"0.6169376",
"0.6165046",
"0.60979676",
"0.605... | 0.87429607 | 0 |
Fire the 'udesign_blog_entry_bottom' action. | Вызовите действие 'udesign_blog_entry_bottom'. | function udesign_blog_entry_bottom() {
do_action('udesign_blog_entry_bottom');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_single_post_entry_bottom() {\r\n do_action('udesign_single_post_entry_bottom');\r\n}",
"function udesign_entry_bottom() {\r\n do_action('udesign_entry_bottom');\r\n}",
"function udesign_page_content_bottom() {\r\n do_action('udesign_page_content_bottom');\r\n}",
"function udesign_si... | [
"0.8690545",
"0.8489524",
"0.7752619",
"0.7711886",
"0.76684856",
"0.7372129",
"0.72723705",
"0.70539904",
"0.70030683",
"0.6808834",
"0.6735898",
"0.66459316",
"0.6577809",
"0.65561754",
"0.6462384",
"0.6435488",
"0.62886",
"0.6232118",
"0.5996262",
"0.59915596",
"0.596626",... | 0.8911534 | 0 |
Fire the 'udesign_blog_post_content_before' action. | Вызовите действие 'udesign_blog_post_content_before'. | function udesign_blog_post_content_before() {
do_action('udesign_blog_post_content_before');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_page_content_before() {\r\n do_action('udesign_page_content_before');\r\n}",
"function udesign_blog_entry_before() {\r\n do_action('udesign_blog_entry_before');\r\n}",
"function udesign_home_page_content_before() {\r\n do_action('udesign_home_page_content_before');\r\n}",
"function ... | [
"0.7899819",
"0.7773192",
"0.7714508",
"0.7280839",
"0.71149933",
"0.6889589",
"0.6846715",
"0.6734538",
"0.6641828",
"0.6539972",
"0.6536229",
"0.6476767",
"0.64458525",
"0.6392591",
"0.6332981",
"0.63216555",
"0.62975705",
"0.6263291",
"0.62576985",
"0.62253284",
"0.6211968... | 0.87941253 | 0 |
Fire the 'udesign_single_post_entry_before' action | Вызвать действие 'udesign_single_post_entry_before' | function udesign_single_post_entry_before() {
do_action('udesign_single_post_entry_before');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_entry_before() {\r\n do_action('udesign_entry_before');\r\n}",
"function udesign_blog_entry_before() {\r\n do_action('udesign_blog_entry_before');\r\n}",
"function udesign_single_portfolio_entry_before() {\r\n do_action('udesign_single_portfolio_entry_before');\r\n}",
"function udes... | [
"0.81655717",
"0.79691184",
"0.73274297",
"0.7316472",
"0.70769745",
"0.67803454",
"0.6541702",
"0.64558846",
"0.6399124",
"0.6393127",
"0.634429",
"0.6304406",
"0.6284986",
"0.62510854",
"0.62510854",
"0.62111187",
"0.6046159",
"0.6003304",
"0.6003304",
"0.60009336",
"0.5920... | 0.90357363 | 0 |
Fire the 'udesign_single_post_entry_after' action. | Вызовите действие 'udesign_single_post_entry_after'. | function udesign_single_post_entry_after() {
do_action('udesign_single_post_entry_after');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_entry_after() {\r\n do_action('udesign_entry_after');\r\n}",
"function udesign_blog_entry_after() {\r\n do_action('udesign_blog_entry_after');\r\n}",
"function udesign_single_post_entry_bottom() {\r\n do_action('udesign_single_post_entry_bottom');\r\n}",
"function udesign_single_por... | [
"0.81558084",
"0.8056542",
"0.7324692",
"0.7298163",
"0.7275696",
"0.67211646",
"0.66577935",
"0.66543055",
"0.6581243",
"0.6440118",
"0.61729485",
"0.61682445",
"0.6118636",
"0.6118636",
"0.6079056",
"0.60685176",
"0.6068224",
"0.6058422",
"0.6040074",
"0.6025227",
"0.595105... | 0.90446705 | 0 |
Fire the 'udesign_single_post_entry_top' action | Вызовите действие 'udesign_single_post_entry_top' | function udesign_single_post_entry_top() {
do_action('udesign_single_post_entry_top');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_blog_entry_top() {\r\n do_action('udesign_blog_entry_top');\r\n}",
"function udesign_entry_top() {\r\n do_action('udesign_entry_top');\r\n}",
"function udesign_single_portfolio_entry_top() {\r\n do_action('udesign_single_portfolio_entry_top');\r\n}",
"function udesign_page_content_t... | [
"0.84086305",
"0.82487875",
"0.78514355",
"0.7133413",
"0.6915181",
"0.6828863",
"0.681523",
"0.67809135",
"0.6660258",
"0.6600603",
"0.6563287",
"0.6513737",
"0.65089554",
"0.6488792",
"0.6473207",
"0.6291881",
"0.62415135",
"0.6235768",
"0.623439",
"0.6231183",
"0.62124014"... | 0.90169185 | 0 |
Fire the 'udesign_single_post_entry_bottom' action. | Вызовите действие 'udesign_single_post_entry_bottom'. | function udesign_single_post_entry_bottom() {
do_action('udesign_single_post_entry_bottom');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_blog_entry_bottom() {\r\n do_action('udesign_blog_entry_bottom');\r\n}",
"function udesign_entry_bottom() {\r\n do_action('udesign_entry_bottom');\r\n}",
"function udesign_single_portfolio_entry_bottom() {\r\n do_action('udesign_single_portfolio_entry_bottom');\r\n}",
"function udes... | [
"0.83040303",
"0.8280769",
"0.75400966",
"0.74064684",
"0.7340687",
"0.7295847",
"0.7045481",
"0.6713055",
"0.6675422",
"0.6497852",
"0.6462525",
"0.6448974",
"0.6320843",
"0.62322205",
"0.6177638",
"0.59966946",
"0.59427315",
"0.587131",
"0.5829599",
"0.57975864",
"0.5791124... | 0.9078934 | 0 |
( blog posts hooks ) Fire the 'udesign_blog_post_top_area_inside' action | (хуки для постов блога) Запуск действия 'udesign_blog_post_top_area_inside' | function udesign_blog_post_top_area_inside() {
do_action('udesign_blog_post_top_area_inside');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_blog_entry_top() {\r\n do_action('udesign_blog_entry_top');\r\n}",
"function udesign_single_post_entry_top() {\r\n do_action('udesign_single_post_entry_top');\r\n}",
"function udesign_page_content_top() {\r\n do_action('udesign_page_content_top');\r\n}",
"function udesign_body_top()... | [
"0.7504646",
"0.73187774",
"0.6995145",
"0.69900876",
"0.6897491",
"0.6868395",
"0.67519796",
"0.6716867",
"0.6576709",
"0.6572215",
"0.6544247",
"0.6497112",
"0.6477832",
"0.6467359",
"0.6442394",
"0.64309996",
"0.6417808",
"0.6257792",
"0.6234321",
"0.61384535",
"0.60958713... | 0.894285 | 0 |
( portfolio hooks ) Fire the 'udesign_single_portfolio_entry_before' action | (хуки портфолио) Вызвать действие 'udesign_single_portfolio_entry_before' | function udesign_single_portfolio_entry_before() {
do_action('udesign_single_portfolio_entry_before');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_single_portfolio_entry_after() {\r\n do_action('udesign_single_portfolio_entry_after');\r\n}",
"function udesign_single_post_entry_before() {\r\n do_action('udesign_single_post_entry_before');\r\n}",
"function udesign_blog_entry_before() {\r\n do_action('udesign_blog_entry_before');\r... | [
"0.7460988",
"0.7396805",
"0.7301439",
"0.7292218",
"0.68888175",
"0.6637681",
"0.662463",
"0.64092284",
"0.6206531",
"0.6186026",
"0.61379707",
"0.6128096",
"0.60372365",
"0.6030973",
"0.597444",
"0.59646714",
"0.59439147",
"0.5937858",
"0.59279865",
"0.58924896",
"0.5871004... | 0.8924291 | 0 |
Fire the 'udesign_single_portfolio_entry_after' action. | Вызовите действие 'udesign_single_portfolio_entry_after'. | function udesign_single_portfolio_entry_after() {
do_action('udesign_single_portfolio_entry_after');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_single_post_entry_after() {\r\n do_action('udesign_single_post_entry_after');\r\n}",
"function udesign_single_portfolio_entry_bottom() {\r\n do_action('udesign_single_portfolio_entry_bottom');\r\n}",
"function udesign_blog_entry_after() {\r\n do_action('udesign_blog_entry_after');\r\n... | [
"0.7627744",
"0.74445504",
"0.74285185",
"0.7422484",
"0.66191375",
"0.6466844",
"0.6465393",
"0.61426324",
"0.5990034",
"0.59775335",
"0.5974928",
"0.5836552",
"0.57403",
"0.5612023",
"0.5612023",
"0.5575853",
"0.5568479",
"0.556595",
"0.5531649",
"0.55246925",
"0.5503199",
... | 0.8992753 | 0 |
Fire the 'udesign_single_portfolio_entry_top' action | Вызовите действие 'udesign_single_portfolio_entry_top' | function udesign_single_portfolio_entry_top() {
do_action('udesign_single_portfolio_entry_top');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_single_post_entry_top() {\r\n do_action('udesign_single_post_entry_top');\r\n}",
"function udesign_entry_top() {\r\n do_action('udesign_entry_top');\r\n}",
"function udesign_blog_entry_top() {\r\n do_action('udesign_blog_entry_top');\r\n}",
"function udesign_single_portfolio_entry_b... | [
"0.7634179",
"0.76229507",
"0.7539794",
"0.7029643",
"0.6550606",
"0.6467601",
"0.6436312",
"0.6421846",
"0.6341648",
"0.6213171",
"0.616924",
"0.60957086",
"0.60762626",
"0.60298204",
"0.5913238",
"0.5875949",
"0.5850527",
"0.58422214",
"0.5820594",
"0.5777779",
"0.57564014"... | 0.88724357 | 0 |
Fire the 'udesign_single_portfolio_entry_bottom' action. | Запустите действие 'udesign_single_portfolio_entry_bottom'. | function udesign_single_portfolio_entry_bottom() {
do_action('udesign_single_portfolio_entry_bottom');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_single_post_entry_bottom() {\r\n do_action('udesign_single_post_entry_bottom');\r\n}",
"function udesign_blog_entry_bottom() {\r\n do_action('udesign_blog_entry_bottom');\r\n}",
"function udesign_entry_bottom() {\r\n do_action('udesign_entry_bottom');\r\n}",
"function udesign_single... | [
"0.7778329",
"0.76148087",
"0.7567678",
"0.7533594",
"0.698226",
"0.69144386",
"0.65032864",
"0.6476119",
"0.64070517",
"0.6361044",
"0.633269",
"0.6323686",
"0.6236785",
"0.6146676",
"0.60773873",
"0.6032739",
"0.6002001",
"0.5981179",
"0.5816979",
"0.5780938",
"0.56822133",... | 0.88689995 | 0 |
( hooks ) Fire the 'udesign_bottom_section_top' action | ( хуки ) Сработайте действие 'udesign_bottom_section_top' | function udesign_bottom_section_top() {
do_action('udesign_bottom_section_top');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_bottom_section_bottom() {\r\n do_action('udesign_bottom_section_bottom');\r\n}",
"function udesign_head_bottom() {\r\n do_action('udesign_head_bottom');\r\n}",
"function udesign_body_bottom() {\r\n do_action('udesign_body_bottom');\r\n}",
"function udesign_body_top() {\r\n do_act... | [
"0.8349524",
"0.738864",
"0.71261615",
"0.7036555",
"0.69438994",
"0.69296926",
"0.6926172",
"0.6815512",
"0.6804111",
"0.6761335",
"0.6560166",
"0.6553668",
"0.65340936",
"0.6533866",
"0.6495414",
"0.64897",
"0.64630544",
"0.63505316",
"0.6203133",
"0.61791897",
"0.61083",
... | 0.89455444 | 0 |
Fire the 'udesign_bottom_section_bottom' action. | Вызовите действие 'udesign_bottom_section_bottom'. | function udesign_bottom_section_bottom() {
do_action('udesign_bottom_section_bottom');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_bottom_section_top() {\r\n do_action('udesign_bottom_section_top');\r\n}",
"function udesign_page_content_bottom() {\r\n do_action('udesign_page_content_bottom');\r\n}",
"function udesign_entry_bottom() {\r\n do_action('udesign_entry_bottom');\r\n}",
"function udesign_body_bottom() ... | [
"0.7692421",
"0.7486269",
"0.74860847",
"0.7480541",
"0.7474261",
"0.70968676",
"0.69182026",
"0.6901982",
"0.6880689",
"0.66537917",
"0.65192395",
"0.6293894",
"0.6259447",
"0.6174138",
"0.60782176",
"0.60220665",
"0.5909533",
"0.5831497",
"0.58130014",
"0.58130014",
"0.5783... | 0.8852064 | 0 |
( hooks ) Fire the 'udesign_footer_before' action | ( хуки ) Вызвать действие 'udesign_footer_before' | function udesign_footer_before() {
do_action('udesign_footer_before');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_footer_inside() {\r\n do_action('udesign_footer_inside');\r\n}",
"function udesign_footer_after() {\r\n do_action('udesign_footer_after');\r\n}",
"protected function after_filter()\n {\n $this->render('footer.php');\n }",
"function kickstart_before_footer() {\n\tgenesis_wi... | [
"0.8307305",
"0.8133413",
"0.7422944",
"0.7370173",
"0.71765405",
"0.71765405",
"0.71765405",
"0.71765405",
"0.71765405",
"0.7167088",
"0.7101153",
"0.703564",
"0.6987211",
"0.6979943",
"0.69759494",
"0.6973632",
"0.6971524",
"0.6940069",
"0.6935306",
"0.69126517",
"0.6905454... | 0.8791675 | 0 |
Fire the 'udesign_footer_after' action. | Вызовите действие 'udesign_footer_after'. | function udesign_footer_after() {
do_action('udesign_footer_after');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_page_content_after() {\r\n do_action('udesign_page_content_after');\r\n}",
"function udesign_footer_inside() {\r\n do_action('udesign_footer_inside');\r\n}",
"function udesign_page_content_bottom() {\r\n do_action('udesign_page_content_bottom');\r\n}",
"function udesign_entry_after(... | [
"0.7849621",
"0.77520007",
"0.74532896",
"0.737358",
"0.7333914",
"0.732307",
"0.72428817",
"0.7161421",
"0.7161421",
"0.7161421",
"0.7161421",
"0.7161421",
"0.71566147",
"0.71438915",
"0.71216035",
"0.7076594",
"0.7060886",
"0.7057326",
"0.7056256",
"0.70466727",
"0.7007244"... | 0.9004031 | 0 |
Fire the 'udesign_footer_inside' action | Вызовите действие 'udesign_footer_inside' | function udesign_footer_inside() {
do_action('udesign_footer_inside');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_footer_after() {\r\n do_action('udesign_footer_after');\r\n}",
"function udesign_body_bottom() {\r\n do_action('udesign_body_bottom');\r\n}",
"function udesign_footer_before() {\r\n do_action('udesign_footer_before');\r\n}",
"function udesign_page_content_bottom() {\r\n do_action... | [
"0.7364748",
"0.7115632",
"0.7088075",
"0.7058516",
"0.7019944",
"0.69651705",
"0.6857125",
"0.6856942",
"0.6808579",
"0.67870265",
"0.6780938",
"0.6780938",
"0.6780938",
"0.6780938",
"0.6780938",
"0.67451435",
"0.6727647",
"0.6727647",
"0.6724726",
"0.6709509",
"0.669939",
... | 0.87243605 | 0 |
( hooks ) Fire the 'udesign_sidebar_top' action | ( хуки ) Сработайте действие 'udesign_sidebar_top' | function udesign_sidebar_top() {
do_action('udesign_sidebar_top');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_top_wrapper_top() {\r\n do_action('udesign_top_wrapper_top');\r\n}",
"function udesign_body_top() {\r\n do_action('udesign_body_top');\r\n}",
"function udesign_page_content_top() {\r\n do_action('udesign_page_content_top');\r\n}",
"function udesign_entry_top() {\r\n do_action('ud... | [
"0.80772144",
"0.78985214",
"0.7856571",
"0.7613795",
"0.7608971",
"0.760415",
"0.7458171",
"0.7447504",
"0.73809195",
"0.7352353",
"0.7323553",
"0.7307341",
"0.7228115",
"0.72280616",
"0.710423",
"0.7027006",
"0.69553334",
"0.68753314",
"0.6850903",
"0.6783804",
"0.67711884"... | 0.89937717 | 0 |
Fire the 'udesign_sidebar_bottom' action. | Вызовите действие 'udesign_sidebar_bottom'. | function udesign_sidebar_bottom() {
do_action('udesign_sidebar_bottom');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function udesign_main_content_bottom() {\r\n do_action('udesign_main_content_bottom');\r\n}",
"function udesign_page_content_bottom() {\r\n do_action('udesign_page_content_bottom');\r\n}",
"function udesign_body_bottom() {\r\n do_action('udesign_body_bottom');\r\n}",
"function udesign_bottom_section... | [
"0.80990654",
"0.7962936",
"0.78630143",
"0.77415144",
"0.76175904",
"0.73878527",
"0.7115456",
"0.69780076",
"0.69517165",
"0.6911558",
"0.68659353",
"0.67205274",
"0.6623563",
"0.6616495",
"0.6612176",
"0.66018146",
"0.6585977",
"0.6512799",
"0.64219165",
"0.6304719",
"0.62... | 0.8995449 | 0 |
Set the extrema of the axis | Установите экстремумы оси | function _setExtrema(& $plot)
{
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function setYAxisMax($a_val)\n\t{\n\t\t$this->y_max = $a_val;\n\t}",
"public function setXAxisMaxToToday() {\n\t\t$this->Options['xaxis']['max'] = time().'000';\n\t}",
"function setYAxisMaximum($max = false)\n {\n if ($max !== false) {\n $max = 1.0 * $max;\n }\n $this->yaxis_... | [
"0.60079676",
"0.59782815",
"0.5939233",
"0.59210986",
"0.5746603",
"0.5703005",
"0.5592999",
"0.54902095",
"0.5392896",
"0.53879017",
"0.5347611",
"0.53452665",
"0.52878416",
"0.5209808",
"0.5150446",
"0.51238567",
"0.5089042",
"0.5062619",
"0.50612265",
"0.5051169",
"0.5049... | 0.7924519 | 0 |
Get the X pixel position represented by a value | Получить позицию по оси X, представленную значением | function _pointX($value)
{
$country = $value['X'];
return $this->_plotLeft+$this->_mapPoints[$country]['X']*$this->_scale;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function calcXPosValue($value) {\r\n if ($this->isDepthAxis) {\r\n return $this->internalCalcDepthPosValue($value);\r\n } else\r\n if ($this->logarithmic) {\r\n return $this->internalCalcLogPosValue(true, $value);\r\n } else\r\n if ($this->iRangezero)... | [
"0.73933333",
"0.6862006",
"0.67047447",
"0.65379083",
"0.6532078",
"0.6504409",
"0.64713615",
"0.6408094",
"0.6356789",
"0.631676",
"0.631676",
"0.6309705",
"0.6303576",
"0.62817353",
"0.62817353",
"0.62714374",
"0.6227571",
"0.6193499",
"0.61524737",
"0.6107381",
"0.6081343... | 0.72163194 | 1 |
Get the Y pixel position represented by a value | Получить Y-позицию пикселя, представленную значением | function _pointY($value)
{
$country = $value['X'];
return $this->_plotTop+$this->_mapPoints[$country]['Y']*$this->_scale;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function calcYPosvalue($value) {\r\n if ($this->isDepthAxis) {\r\n return $this->internalCalcDepthPosValue($value);\r\n } else\r\n if ($this->logarithmic) {\r\n return $this->internalCalcLogPosValue(false, $value);\r\n } else\r\n if ($this->iRangezero... | [
"0.7245574",
"0.7130746",
"0.6846955",
"0.67050934",
"0.6634549",
"0.65458554",
"0.65350324",
"0.6478817",
"0.6478817",
"0.6465535",
"0.63301396",
"0.626685",
"0.62638795",
"0.62638795",
"0.62488",
"0.6248586",
"0.6207889",
"0.6191813",
"0.5978768",
"0.5965826",
"0.59604967",... | 0.73050207 | 0 |
Add a point to the maps | Добавить точку на карты | function addPoint($x, $y, $name)
{
$this->_mapPoints[$name] = array('X' => $x, 'Y' => $y);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function addPoint()\r\n{\r\n\t// --------- GLOBALIZE ---------\r\n\tglobal $db;\r\n\t// The 1st alias\r\n\t$name = GET_INC('name');\r\n\t// City? Lng? Lat?\r\n\t$city = GET_INC('city');\r\n\t$lng = GET_INC('lng');\r\n\t$lat = GET_INC('lat');\r\n\t// We need user ID\r\n\t$uid = GET_INC('uid');\r\n\t// Query... | [
"0.6597291",
"0.6504601",
"0.6498256",
"0.6449595",
"0.6419158",
"0.62881726",
"0.6171068",
"0.6039446",
"0.5991125",
"0.5918437",
"0.58640486",
"0.5860891",
"0.5809947",
"0.58063096",
"0.5775438",
"0.56542087",
"0.5601768",
"0.5510584",
"0.5504715",
"0.5484121",
"0.5464758",... | 0.76698023 | 0 |
Suma dias a una fecha dada Guido | Сумма дней к заданной дате Гвидо | function sumar_dias_a_una_fecha($dia,$mes,$anio,$numdias){
if (!checkdate($mes,$dia,$anio)) die("error en sumar_dias_a_una_fecha() - Se le ha mandado a la función una fecha incorrecta");
$fecha=mktime ( 0,0,0, $mes,$dia+$numdias,$anio);
return date( "Y-m-d", $fecha);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function valorCreditosDia($parametro)\n{\n conectar::conexiones();\n $sql=\"SELECT debe, estado, liquidado FROM pedidos WHERE fechaPedido BETWEEN \".fechaActualFija.\" AND \".(fechaActualFija+86400).\" AND liquidado =1 AND estado=2\";\n $query=mysql_query($sql);\n $sum=0;\n while ($rs=mysql_fetch_a... | [
"0.6595051",
"0.6445438",
"0.6272093",
"0.62113625",
"0.6183581",
"0.6116968",
"0.6108242",
"0.60854834",
"0.6001188",
"0.5981953",
"0.5931621",
"0.5931407",
"0.5926683",
"0.5889275",
"0.5821554",
"0.5803877",
"0.577782",
"0.57045776",
"0.5693352",
"0.5691016",
"0.56885254",
... | 0.75635254 | 0 |
Resta dias a una fecha dada Mariano | Оставшиеся дни до заданной даты Марияно | function restar_dias_a_una_fecha($dia,$mes,$anio,$numdias){
if (!checkdate($mes,$dia,$anio)) die("error en restar_dias_a_una_fecha() - Se le ha mandado a la función una fecha incorrecta");
$fecha=mktime ( 0,0,0, $mes,$dia-$numdias,$anio);
return date( "Y-m-d", $fecha);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function dias_del_mes(){\n \n $fecha= date('Y-m-d');\n return; date('t',strtotime($fecha));\n \n}",
"public function fecha();",
"function leerlafecha($fechaentrada, $idioma) {\n\t\t//devuelve variables en el idioma dado por la variable $idioma que puede valer 'cas' o 'cat'\n\t\t//Así podremo... | [
"0.7024813",
"0.68948615",
"0.6827427",
"0.6756596",
"0.6617817",
"0.6603044",
"0.6599686",
"0.65797853",
"0.6578685",
"0.6578598",
"0.6566086",
"0.65316087",
"0.65295315",
"0.6451526",
"0.64415747",
"0.6372603",
"0.6368027",
"0.6356797",
"0.63481915",
"0.6340455",
"0.6277745... | 0.72166556 | 0 |
Add trait to class at a given path. | Добавить признак классу по указанному пути. | public function addTrait($name, $path) {
$source = $this->files->get($path);
$pos = strpos($source, '{') + 1;
$newSource = substr_replace($source, "\n use \Baum\NodeTrait;\n", $pos, 0);
$this->files->put($path, $newSource);
return $path;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function addTrait(PhpTrait $trait);",
"public function addPath($path);",
"public function addPath($path);",
"public function register_class($class_name, $path)\n\t{\n\t\t$class_name = strtolower($class_name);\n\t\tif ($path[0]!=DIRECTORY_SEPARATOR) $path = $this->get_modules_dir().DIRECTORY_SEPARATOR.... | [
"0.68859726",
"0.64900076",
"0.64900076",
"0.6131301",
"0.60465026",
"0.60465026",
"0.5938348",
"0.592489",
"0.5919521",
"0.58455306",
"0.584397",
"0.57643235",
"0.5666531",
"0.5662838",
"0.5629982",
"0.5618941",
"0.5612188",
"0.5598552",
"0.55746365",
"0.5532502",
"0.5532502... | 0.7753511 | 0 |
Lists all Goods models. | Список всех моделей Goods. | public function actionIndex()
{
$searchModel = new GoodsSearch();
$dataProvider = $searchModel->search(Yii::$app->request->queryParams);
return $this->render('index', [
'searchModel' => $searchModel,
'dataProvider' => $dataProvider,
]);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function indexAction()\n {\n $em = $this->getDoctrine()->getManager();\n\n $goods = $em->getRepository('DeepSpaceOneGameBundle:Good')->findAll();\n\n return array(\n 'goods' => $goods,\n );\n }",
"public function getAll()\n {\n return DB::table('produ... | [
"0.6778327",
"0.6519662",
"0.63298243",
"0.62952715",
"0.6273727",
"0.6255434",
"0.62513036",
"0.6249907",
"0.6216159",
"0.6216159",
"0.6216159",
"0.6204096",
"0.6188839",
"0.61826336",
"0.6179654",
"0.61572033",
"0.61558926",
"0.6149059",
"0.6115133",
"0.6096071",
"0.6091918... | 0.7001598 | 0 |
Creates a new Goods model. If creation is successful, the browser will be redirected to the 'view' page. | Создает новый объект модели Goods. Если создание успешно, браузер будет перенаправлен на страницу 'view'. | public function actionCreate()
{
$model = new Goods([
'created_by' => Yii::$app->user->id,
'updated_by' => Yii::$app->user->id,
]);
$model->loadDefaultValues();
$model->goods_sn = date('YmdHis', time()) . rand(1000, 9999);
$goodsDetail = new GoodsDeta... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function actionCreate()\n {\n $model = new ProductGoods();\n $post = Yii::$app->request->post();\n\n if ($model->load($post) && $model->validate()) {\n\n if($model->addressRadioButton == 'my') {\n $model->address = '';\n } else {\n ... | [
"0.7454306",
"0.74196845",
"0.6987868",
"0.69800586",
"0.6946474",
"0.6945114",
"0.69300234",
"0.6909809",
"0.69065356",
"0.68984115",
"0.6876613",
"0.6855188",
"0.685154",
"0.68436015",
"0.68109447",
"0.6808141",
"0.6788905",
"0.6787601",
"0.67736727",
"0.6772823",
"0.677194... | 0.8303446 | 0 |
In view and edit mode, we always show status. | В режиме просмотра и редактирования мы всегда отображаем статус. | function action_view()
{
$this->addStatusFields();
return parent::action_view();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getStatus() \n {\n if ($this->status) \n {\n \techo 'user status : присутствует<br><br><br>';\n }\n else\n {\n \techo 'user status : отсутствует<br><br><br>';\t\n }\n }",
"public function statusAction()\n {\n // enforce permi... | [
"0.7014124",
"0.6953018",
"0.6715176",
"0.6697228",
"0.6697228",
"0.66804594",
"0.6632475",
"0.6627993",
"0.6623268",
"0.6612737",
"0.65424097",
"0.65377337",
"0.6533225",
"0.6509776",
"0.64708835",
"0.64708835",
"0.64602464",
"0.64468604",
"0.6429782",
"0.6429782",
"0.642978... | 0.7259063 | 0 |
Convert a zend config object into a WordPressSolid Config object | Преобразование объекта zend config в объект WordPressSolid Config | private static function _convertZendConfigToWordPressSolidConfig( ZendConfig $config ) {
return new Config( $config->toArray() );
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private function getConfigurationObject()\n {\n if(!is_object($this->confObj) && !($this->confObj instanceof Configuration)) {\n $this->confObj = GeneralUtility::makeInstance('PITS\\\\Snowbabel\\\\Service\\\\Configuration');\n }\n }",
"function tidy_get_config(tidy $object) {}",
... | [
"0.604752",
"0.5905813",
"0.57463276",
"0.5706799",
"0.5677867",
"0.5676467",
"0.5660112",
"0.5610405",
"0.56098324",
"0.560047",
"0.5486315",
"0.5395687",
"0.53803277",
"0.5377859",
"0.5363034",
"0.5354125",
"0.5324291",
"0.53209895",
"0.5318067",
"0.53119236",
"0.53007203",... | 0.7634837 | 0 |
Get the value of id_movieTheater | Получить значение id_movieTheater | public function getId_movieTheater()
{
return $this->id_movieTheater;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getIdMovie()\n {\n return $this->idMovie;\n }",
"public function getMovieId() {\n\t\treturn ($this->movieId);\n\t}",
"function getMovieID() {\n\t\treturn $this->_MovieID;\n\t}",
"function getMovieID() {\n\t\treturn $this->_MovieID;\n\t}",
"public function getId(){\n retu... | [
"0.77149063",
"0.75280255",
"0.7396782",
"0.7396782",
"0.7033474",
"0.6742625",
"0.6333175",
"0.6289443",
"0.6138535",
"0.6094337",
"0.60904586",
"0.5989943",
"0.59749085",
"0.5927469",
"0.5867953",
"0.58467066",
"0.56791735",
"0.56505233",
"0.5634591",
"0.5628242",
"0.562736... | 0.817955 | 0 |
Set the value of id_movieTheater | Установите значение id_movieTheater | public function setId_movieTheater($id_movieTheater)
{
$this->id_movieTheater = $id_movieTheater;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getId_movieTheater()\n {\n return $this->id_movieTheater;\n }",
"public function setIdMovie($idMovie)\n {\n $this->idMovie = $idMovie;\n\n return $this;\n }",
"public function setRegisteredMovieId(string $movieId): void;",
"public function setM... | [
"0.7257469",
"0.6601107",
"0.6389628",
"0.62679344",
"0.6229987",
"0.6190964",
"0.6100877",
"0.5877095",
"0.58608156",
"0.58608156",
"0.58486843",
"0.5780211",
"0.5780211",
"0.5758636",
"0.5695314",
"0.5680686",
"0.56010413",
"0.5600956",
"0.55919456",
"0.5590543",
"0.5590543... | 0.78557336 | 0 |
Get the value of total_tickets | Получить значение total_tickets | public function getTotal_tickets()
{
return $this->total_tickets;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getTotalTickets() {\n\n $select = $this->select()\n ->from($this, array(\"Totaltickets\" => \"COUNT(*)\"));\n\n $result = $this->getAdapter()->fetchRow($select);\n if ($result) {\n return $result['Totaltickets'];\n } else {\n return f... | [
"0.75269073",
"0.6733117",
"0.67266935",
"0.67080426",
"0.67080426",
"0.67080426",
"0.67080426",
"0.67080426",
"0.67080426",
"0.66717327",
"0.6649025",
"0.6646281",
"0.6636721",
"0.6629512",
"0.66247225",
"0.66247225",
"0.6615177",
"0.65996397",
"0.65986824",
"0.65821946",
"0... | 0.8608803 | 0 |
Set the value of total_tickets | Установите значение total_tickets | public function setTotal_tickets($total_tickets)
{
$this->total_tickets = $total_tickets;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getTotal_tickets()\n {\n return $this->total_tickets;\n }",
"private function setTotalFromData()\n {\n if ($this->dataHasTotal()) {\n $this->collection->items[$this->cart_hash]->total = $this->data['total'];\n $this->collection->increas... | [
"0.7034797",
"0.6267803",
"0.6076995",
"0.60440195",
"0.592663",
"0.592663",
"0.5882511",
"0.58190346",
"0.5756538",
"0.57545567",
"0.5736683",
"0.5689654",
"0.5663278",
"0.5658592",
"0.563641",
"0.56214315",
"0.5609515",
"0.55987996",
"0.5562388",
"0.55600065",
"0.5551538",
... | 0.7155272 | 0 |
Get the value of tickets_sold | Получить значение tickets_sold | public function getTickets_sold()
{
return $this->tickets_sold;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getSold()\n {\n return $this->sold;\n }",
"public function getQuantitySold()\n {\n return $this->quantitySold;\n }",
"public function getPurchaseQuantitySold() {\n return $this->purchaseQuantitySold;\n }",
"public function getSoldPrice() {\r\n\t\treturn $th... | [
"0.75174934",
"0.71104175",
"0.65966487",
"0.65666896",
"0.64731556",
"0.6337639",
"0.6235218",
"0.6216535",
"0.61831546",
"0.6154472",
"0.6013062",
"0.6000645",
"0.5919346",
"0.5919346",
"0.5919346",
"0.5919346",
"0.5919346",
"0.59190464",
"0.59128743",
"0.5901866",
"0.58952... | 0.8085592 | 0 |
Set the value of tickets_sold | Задайте значение tickets_sold | public function setTickets_sold($tickets_sold)
{
$this->tickets_sold = $tickets_sold;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setSold($sold)\n {\n $this->sold = $sold;\n }",
"public function getTickets_sold()\n {\n return $this->tickets_sold;\n }",
"protected function sold()\n\t{\n\t\tforeach ($this->config->data()['sold'] as $key => $value) {\n\t\t\tif ($this->store['sold'] >... | [
"0.75498986",
"0.67002106",
"0.6543002",
"0.5925858",
"0.5648656",
"0.556776",
"0.54708827",
"0.5419295",
"0.5396122",
"0.5387916",
"0.5372952",
"0.5345302",
"0.53032357",
"0.51850915",
"0.51821834",
"0.51498324",
"0.5098451",
"0.5044932",
"0.5008274",
"0.5006375",
"0.4996134... | 0.71602994 | 1 |
Get the value of ticket_price | Получить значение ticket_price | public function getTicket_price()
{
return $this->ticket_price;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getTicketPrice() {\n return $this->get(self::TICKETPRICE);\n }",
"public function get_price(){\n\t\treturn $this->price;\n\t}",
"public function getPrice(){\n return $this->price;\n }",
"public function getPrice(){\n return $this->price;\n }",
"public function ... | [
"0.80733174",
"0.7518855",
"0.7156379",
"0.7156379",
"0.7150448",
"0.7150448",
"0.7113135",
"0.7095386",
"0.7095386",
"0.7095386",
"0.7095386",
"0.7095386",
"0.7095386",
"0.7095386",
"0.7095386",
"0.7095386",
"0.7095386",
"0.7095386",
"0.7095386",
"0.7095386",
"0.7095386",
... | 0.8325525 | 0 |
Creates a Google calendar service. Required clients access token. | Создает службу Google Calendar. Требуется токен доступа клиентов. | public function createCalendarService($accessToken)
{
$client = $this->createClient();
$client->setAccessToken($accessToken);
return new \Google_Service_Calendar($client);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function createClient()\n {\n $scopes = implode(' ', [\\Google_Service_Calendar::CALENDAR]);\n\n $client = new \\Google_Client();\n $client->setApplicationName('P4 LMS');\n $client->setScopes($scopes);\n $client->setClientId(env('GOOGLE_API_ID'));\n $client->setC... | [
"0.73315316",
"0.66591406",
"0.6440379",
"0.6366124",
"0.63013357",
"0.61448824",
"0.60743356",
"0.5943366",
"0.58582425",
"0.5838722",
"0.5783039",
"0.57535803",
"0.5650395",
"0.56285757",
"0.5581099",
"0.5566946",
"0.5533229",
"0.551545",
"0.5483197",
"0.5469842",
"0.546160... | 0.70348454 | 1 |
=========================================// Update Global Settings for the Website =========================================// | =========================================// Обновление глобальных настроек для сайта =========================================// | function updateGlobalSetting($data)
{
/***************** Site Information *****************/
$sql = "UPDATE global_config SET field_value = '".$data['global_site_name']."' WHERE field_key='global_site_name' ";
$recordSet = $this->db->query($sql);
$sql = "UPDATE global_config SET field_value = '".$data['global_... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private function _globalSettings(){\r\n $result = new stdClass();\r\n $response = 400;\r\n\r\n if($this->hasLogin()){\r\n\r\n /*\r\n \t*\r\n \t*\r\n \t*\tCheck the method used is POST\r\n \t*\r\n \t*\r\n \t*/\r\n \tif($_SERVER['REQUEST_METHOD'] == 'POST'){\r... | [
"0.6982467",
"0.6941399",
"0.6809662",
"0.67559063",
"0.675352",
"0.6729664",
"0.6728484",
"0.66959417",
"0.66457",
"0.65518856",
"0.6534953",
"0.65133804",
"0.648226",
"0.6457731",
"0.6423322",
"0.6412272",
"0.6384528",
"0.6384496",
"0.63705105",
"0.63597554",
"0.6358881",
... | 0.7335166 | 0 |
Get blog posts from the BookStack blog. | Получить статьи блога с блога BookStack. | public function getBlogPosts()
{
$contents = file_get_contents('https://www.bookstackapp.com/blog/rss/');
$blogItems = [];
$rss = simplexml_load_string($contents);
if ($rss !== false) {
foreach ($rss->channel->{'item'} as $item) {
$blogItem = new stdClass... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function allblogpostsActionGet() : object\n {\n $page = $this->app->page;\n $title = \"Alla posts i databasen\";\n $db = $this->app->db;\n\n $db->connect();\n $sql = <<<EOD\nSELECT\n *,\n DATE_FORMAT(COALESCE(updated, published), '%Y-%m-%dT%TZ') AS published_iso86... | [
"0.7944105",
"0.7558496",
"0.7558496",
"0.7535483",
"0.7489025",
"0.7396277",
"0.731916",
"0.72827774",
"0.72150123",
"0.72148466",
"0.71264523",
"0.7123012",
"0.69795924",
"0.6977731",
"0.697231",
"0.6947084",
"0.69240767",
"0.69051075",
"0.6874966",
"0.6874384",
"0.681671",... | 0.7600903 | 1 |
Rename administrator role if required | Переименовать роль администратора при необходимости | public static function renameAdministratorRole()
{
$administratorName = 'Digital Webmaster';
if (Utils::roleName('administrator') !== $administratorName) {
Utils::renameRole('administrator', $administratorName);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static function createRole()\n {\n add_action('init', __NAMESPACE__ . '\\DigitalWebmaster::renameAdministratorRole');\n }",
"protected function ensureAdminRoleIfRequested() {}",
"function egsr_change_roles_names() {\n global $wp_roles;\n \n if ( ! isset( $wp_roles ) )\n $wp_role... | [
"0.7222371",
"0.6982851",
"0.69521725",
"0.6834939",
"0.6805729",
"0.64511716",
"0.6356238",
"0.6273639",
"0.6273639",
"0.6261143",
"0.6242418",
"0.61742353",
"0.61596006",
"0.6138364",
"0.6058582",
"0.60102814",
"0.59691125",
"0.593902",
"0.59069365",
"0.5897614",
"0.5897368... | 0.8674001 | 0 |
Create the new DigitalWebmaster role In practice this just renames the default administrator role. | Создайте новую роль DigitalWebmaster. На практике это просто переименовывает роль администратора по умолчанию. | public static function createRole()
{
add_action('init', __NAMESPACE__ . '\DigitalWebmaster::renameAdministratorRole');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function create()\n {\n $this->authorize('create', Role::class);\n }",
"public function makeAdministrator()\n {\n $this->setRole('administrator');\n }",
"function roleCreate(Role $role);",
"public function createRole() {\n\t\t$Permissions = discover_permissions();\n\n\t\tretu... | [
"0.6672559",
"0.66685784",
"0.6612902",
"0.658742",
"0.648535",
"0.6453441",
"0.6382864",
"0.6336527",
"0.6334574",
"0.63269734",
"0.6301535",
"0.62953955",
"0.62139374",
"0.61680967",
"0.6157458",
"0.6141995",
"0.611634",
"0.6094626",
"0.6094626",
"0.6087218",
"0.6076492",
... | 0.7707682 | 0 |
Get all of the organization's users including its owner. | Получить всех пользователей организации, включая ее владельца. | public function allUsers()
{
return $this->users->merge([$this->owner]);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getUsers()\n {\n $em = $this->container->get('doctrine')->getEntityManager();\n $builder = $em->getRepository('AppWebBundle:User')->createQueryBuilder('u');\n \n return $builder->getQuery()->getResult();\n }",
"public function allUsers(): Collection\n {\n... | [
"0.7456658",
"0.7358215",
"0.70937586",
"0.70937234",
"0.7082061",
"0.7069165",
"0.70450664",
"0.7036923",
"0.7021586",
"0.70115304",
"0.69902503",
"0.69791615",
"0.69777685",
"0.69569665",
"0.6928811",
"0.6922992",
"0.6918007",
"0.68926775",
"0.68814856",
"0.6858596",
"0.684... | 0.78459495 | 0 |
Determine if the given user has the given permission on the organization. | Определите, имеет ли заданный пользователь заданное разрешение на организацию. | public function userHasPermission($user, $permission)
{
return $user->hasOrganizationPermission($this, $permission);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function isGranted($userOrId, $permission);",
"function is_user_granted_permission($permission, $user_id = NULL) {\n\t$user_permissions_clause = format_sql_in_clause ( $permission );\n\t\n\tif (strlen ( $user_id ) == 0 && is_site_public_access ()) {\n\t\t$query = \"SELECT 'X' \n\t\t\tFROM \ts_role_permiss... | [
"0.78761965",
"0.7459259",
"0.7392292",
"0.71690947",
"0.71351993",
"0.7104486",
"0.70984775",
"0.697913",
"0.6970846",
"0.69530064",
"0.69404703",
"0.68357897",
"0.68357897",
"0.68357897",
"0.68357897",
"0.6798091",
"0.6791315",
"0.6783455",
"0.67534757",
"0.6733131",
"0.670... | 0.77514416 | 1 |
Remove the given user from the organization. | Удалить заданного пользователя из организации. | public function removeUser($user)
{
if ($user->current_organization_id === $this->id) {
$user->forceFill([
'current_organization_id' => null,
])->save();
}
$this->users()->detach($user);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function removeUser(UserInterface $user);",
"public function remove($user) : void\n {\n $this->em->remove($user);\n $this->em->flush();\n }",
"public function removeUser(User $user): Organization\n {\n $this->users->removeElement($user);\n\n return $this;\n }",
... | [
"0.7548875",
"0.73125964",
"0.7151303",
"0.70971394",
"0.70348465",
"0.6871468",
"0.6832823",
"0.68317175",
"0.67618054",
"0.67498326",
"0.67093813",
"0.66536903",
"0.6649883",
"0.65956724",
"0.6580687",
"0.6565703",
"0.65650463",
"0.65042067",
"0.6501498",
"0.6470058",
"0.64... | 0.7915771 | 0 |
end getLeaveApply() Get leave apply headcount in flow by department | end getLeaveApply() Получить количество заявлений об отпуске в потоке по подразделению | function getLeaveApplyCountByDept($whoami = 'assistant')
{
$create_by = $whoami=='admin' ? '' : ' and a.create_by = \''.$_SESSION['user']['user_seq_no'].'\' ';
$sql = <<<eof
select c.segment_no as dept_seq_no,
c.segment_no_sz as dept_id,
c.segment_name as dept_name... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function employee_leave_status()\n\t{\n\t\t/* Define return | here result is used to return user data and error for error message */\n\t\t$Return = array('accepted'=>'', 'accepted_count'=>'','pending'=>'', 'pending_count'=>'','rejected'=>'', 'rejected_count'=>'');\n\t\t\n\t\t//accepted\n\t\t$Return['accepte... | [
"0.5992548",
"0.58455986",
"0.5750903",
"0.5694354",
"0.5660426",
"0.56336814",
"0.5567983",
"0.55663174",
"0.55105513",
"0.5378777",
"0.5370628",
"0.53343016",
"0.5324018",
"0.52999467",
"0.5297209",
"0.52082217",
"0.51942164",
"0.5176838",
"0.51262724",
"0.51182884",
"0.510... | 0.7336114 | 0 |
end getApplyCountByDept() Get Overtime apply headcount in flow by department | end getApplyCountByDept() Получить количество заявителей по департаментам в потоке | function getOvertimeApplyCountByDept($whoami = 'assistant')
{
$create_by = $whoami=='admin' ? '' : ' and a.create_by = \''.$_SESSION['user']['user_seq_no'].'\' ';
$sql = <<<eof
select c.segment_no as dept_seq_no,
c.segment_no_sz as dept_id,
c.segment_name as dept_name,
a.f... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function getLeaveApplyCountByDept($whoami = 'assistant')\n {\n $create_by = $whoami=='admin' ? '' : ' and a.create_by = \\''.$_SESSION['user']['user_seq_no'].'\\' ';\n $sql = <<<eof\n select c.segment_no as dept_seq_no,\n\t\t\t c.segment_no_sz as dept_id,\n\t\t\t c.segmen... | [
"0.67124176",
"0.58212084",
"0.5773002",
"0.57698154",
"0.55831176",
"0.55545324",
"0.5554515",
"0.5523479",
"0.5514865",
"0.5313998",
"0.5269442",
"0.5233259",
"0.5216297",
"0.5206505",
"0.5206505",
"0.5206505",
"0.5204486",
"0.5143869",
"0.5111746",
"0.5107604",
"0.50958914... | 0.7454167 | 0 |
end function GetOvertimeSalaryList() Get employee leaveyearlist | конец функции GetOvertimeSalaryList() Получить список отпусков сотрудника leaveyearlist | function GetLeaveYearList($type = NULL) {
$companyid = $this->companyID;
$emp_seqno = $this->empSeqNo;
$_where = empty($type) ? " and emp_seq_no = '$emp_seqno'" : "";
$sql_string = <<<eof
select distinct substrb(to_char(my_day,'YYYY-MM-DD'), 0,4) as year1,
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function GetSalaryYearList($type = NULL) {\n $companyid = $this->companyID;\n $emp_seqno = $this->empSeqNo;\n //得到登陆员工的计薪期间代码 add by Jack\n $period_master_id = $this->DBConn->GetOne(\"select period_master_id from hr_personnel where id = '\" . $emp_seqno . \"'\");\n $_where = is_... | [
"0.7196621",
"0.6901974",
"0.6703271",
"0.6568221",
"0.65071464",
"0.64385736",
"0.6197685",
"0.60343254",
"0.5906446",
"0.58947176",
"0.573848",
"0.57361674",
"0.573034",
"0.5711803",
"0.5654879",
"0.56530905",
"0.56395644",
"0.5587332",
"0.5586587",
"0.5551208",
"0.554424",... | 0.70457697 | 1 |
end function GetLeaveList() Get employ salary period year | конец функции GetLeaveList() Получить зарплату сотрудника за период года | function GetSalaryYearList($type = NULL) {
$companyid = $this->companyID;
$emp_seqno = $this->empSeqNo;
//得到登陆员工的计薪期间代码 add by Jack
$period_master_id = $this->DBConn->GetOne("select period_master_id from hr_personnel where id = '" . $emp_seqno . "'");
$_where = is_null($type) ? ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function GetLeaveYearList($type = NULL) {\n $companyid = $this->companyID;\n $emp_seqno = $this->empSeqNo;\n $_where = empty($type) ? \" and emp_seq_no = '$emp_seqno'\" : \"\";\n $sql_string = <<<eof\n select distinct substrb(to_char(my_day,'YYYY-MM-DD'), 0,4) as year1,\n... | [
"0.7499659",
"0.72605914",
"0.68106073",
"0.66638887",
"0.6639648",
"0.6121603",
"0.6065935",
"0.6064997",
"0.605567",
"0.59831697",
"0.5963949",
"0.59489715",
"0.5944892",
"0.5908262",
"0.5903367",
"0.5879197",
"0.58611387",
"0.5772488",
"0.5725122",
"0.57229984",
"0.5721887... | 0.7392082 | 1 |
end function getVacationLeft() Get year holiday year list | конец функции getVacationLeft() Получить список отпусков по годам | function GetYearList() {
$companyid = $this->companyID;
$emp_seqno = $this->empSeqNo;
$sql_string = <<<_YearHolidayList_
select my_year as year1,
my_year as year2
from ehr_year_holiday_v
where company_id = '$companyid'
and emp_seq_no = '$emp_seqno'
group by my_year
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function get_holidays($inc_year){\n\t//$year = date(\"Y\");\n\t$year = $inc_year;\n\n\t// $holidays[] = new Holiday(\"New Year's Day\", get_timestamp(\"$year-1-1\"));\n\t$holidays[] = new Holiday(\"Republic Day\", get_timestamp(\"$year-1-26\"));\n\t// $holidays[] = new Holiday(\"Labour Day\", ordinal_day(1, ... | [
"0.6918246",
"0.6891626",
"0.6884324",
"0.66335684",
"0.6537352",
"0.65346974",
"0.6352782",
"0.6327184",
"0.6308216",
"0.6285487",
"0.6107228",
"0.6077901",
"0.60723084",
"0.6051222",
"0.6046207",
"0.60125107",
"0.60069215",
"0.5999907",
"0.59834105",
"0.5943277",
"0.5925883... | 0.7366537 | 0 |
Sanitize number of decimals setting field. 1. User can only set absolute integer value as number of decimals. 2. number_decimals setting will be zero if no decimal separator defined | Очистить поле настройки количества десятичных знаков. 1. Пользователь может указать только абсолютное целое число как количество десятичных знаков. 2. Настройка number_decimals будет равна нулю, если не определен десятичный разделитель | function __give_sanitize_number_decimals_setting_field( $value ) {
$value_changed = false;
$show_notice = false;
$old_value = $value;
if ( isset( $_POST['decimal_separator'] ) ) {
$value = ! empty( $_POST['decimal_separator'] ) ? $value : 0;
$value_changed = true;
}
if ( $value_changed && ( $o... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function __give_validate_decimal_separator_setting_field( $value ) {\n\t$thousand_separator = isset( $_POST['thousands_separator'] ) ? give_clean( $_POST['thousands_separator'] ) : '';\n\t$decimal_separator = isset( $_POST['decimal_separator'] ) ? give_clean( $_POST['decimal_separator'] ) : '';\n\n\tif ( $decimal... | [
"0.72048926",
"0.68482286",
"0.6499069",
"0.6497964",
"0.63227403",
"0.6210971",
"0.6199392",
"0.616552",
"0.60854816",
"0.59837306",
"0.59796643",
"0.59534365",
"0.59125394",
"0.5911606",
"0.58857584",
"0.5867944",
"0.58663374",
"0.58385867",
"0.5838353",
"0.58362997",
"0.58... | 0.80446655 | 0 |
Sanitize number of decimals setting field. 1. User can only set absolute integer value as number of decimals. 2. number_decimals setting will be zero if no decimal separator defined | Очистить поле настройки количества десятичных знаков. 1. Пользователь может указать только абсолютное целое число как количество десятичных знаков. 2. Настройка number_decimals будет равна нулю, если не определен десятичный разделитель | function __give_validate_decimal_separator_setting_field( $value ) {
$thousand_separator = isset( $_POST['thousands_separator'] ) ? give_clean( $_POST['thousands_separator'] ) : '';
$decimal_separator = isset( $_POST['decimal_separator'] ) ? give_clean( $_POST['decimal_separator'] ) : '';
if ( $decimal_separator =... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function __give_sanitize_number_decimals_setting_field( $value ) {\n\t$value_changed = false;\n\t$show_notice = false;\n\t$old_value = $value;\n\n\tif ( isset( $_POST['decimal_separator'] ) ) {\n\t\t$value = ! empty( $_POST['decimal_separator'] ) ? $value : 0;\n\t\t$value_changed = true;\n\t}\n\n\tif... | [
"0.8045165",
"0.6848316",
"0.64986145",
"0.64974153",
"0.6322584",
"0.6210658",
"0.6199345",
"0.6164471",
"0.60842675",
"0.59840935",
"0.59784377",
"0.59532434",
"0.5913547",
"0.59117573",
"0.58863515",
"0.58664244",
"0.58663183",
"0.58382094",
"0.5838093",
"0.58369416",
"0.5... | 0.7205414 | 1 |
Get the current table status | Получить текущий статус таблицы | protected function status(string $table)
{
if(!$this->tableStatus)
{
$this->tableStatus = \adminer\table_status1($table, true);
}
return $this->tableStatus;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getStatus()\n {\n $this->execute();\n \n return $this->status;\n }",
"public static function status()\n {\n return plexcel_status(self::getConnection());\n }",
"public function getCurrentTable() {}",
"public function getCurrentStatus()\n {\n return $... | [
"0.7441232",
"0.73778147",
"0.7285453",
"0.71327454",
"0.7065706",
"0.70638967",
"0.70638967",
"0.7062211",
"0.7007838",
"0.6988702",
"0.69833505",
"0.6983255",
"0.6980292",
"0.6976606",
"0.6976606",
"0.6976606",
"0.6976606",
"0.6976606",
"0.6976606",
"0.6976606",
"0.6976606"... | 0.80175126 | 0 |
protection from creation through new Singleton | защита от создания через new Singleton | private function __clone() { /* ... @return Singleton */ } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private function __construct() { // singleton\n }",
"private function __construct()\r\n {\r\n // Prevent direct instantiation\r\n }",
"public static function getInstance() {}",
"public static function getInstance() {}",
"public static function getInstance() {}",
"public static function g... | [
"0.7526285",
"0.73443913",
"0.73210305",
"0.73210305",
"0.73210305",
"0.73210305",
"0.73206085",
"0.73206085",
"0.73206085",
"0.7320445",
"0.7320445",
"0.7320445",
"0.7233613",
"0.71860725",
"0.7026312",
"0.7022457",
"0.7022457",
"0.7022457",
"0.7022457",
"0.7022457",
"0.7022... | 0.7382728 | 1 |
Returns the data for the link to be created | Возвращает данные для создания ссылки | public function getLinkData()
{
return array(
'loungetag' => $this->lounge->getLoungetag()
);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getDataLink()\n {\n return $this->dataLink;\n }",
"static public function createLink($data = [])\n\t{\n\t\t$link = new Link;\n\n\t\t// set the link fields\n\t\t$link->object_id = $data['object_id'];\n\t\t$link->object_type = $data['object_type'];\n\t\t$link->link_type = $data['link_t... | [
"0.68948066",
"0.67588353",
"0.65730757",
"0.640034",
"0.640034",
"0.6324863",
"0.6227565",
"0.61531705",
"0.60761774",
"0.6072792",
"0.60581696",
"0.60498136",
"0.60498136",
"0.59445465",
"0.59445465",
"0.5940481",
"0.5940481",
"0.5939031",
"0.59382915",
"0.58543074",
"0.583... | 0.7087102 | 0 |
Returns the data for the push data to be created | Возвращает данные для создания push-данных | public function getPushData()
{
return array_merge(parent::getPushData(), array(
'element' => 'lounge',
'user' => $this->sender->getId(),
'publication_id' => $this->publication->getId()
));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected function buildPushData() : array\n {\n // Data container\n $data = [];\n\n // Set audience\n $data['audience'] = !empty($this->buildAudienceData()) ? $this->buildAudienceData() : 'all';\n\n // Set iOS data\n if (!empty($this->buildIOSData())) {\n $d... | [
"0.69161534",
"0.642543",
"0.6320657",
"0.63125664",
"0.6309152",
"0.6183175",
"0.61666375",
"0.6110096",
"0.6098857",
"0.607174",
"0.6063591",
"0.6035111",
"0.6026276",
"0.6015167",
"0.6004753",
"0.59802175",
"0.5969033",
"0.5959522",
"0.5908121",
"0.59055406",
"0.589637",
... | 0.7273095 | 0 |
Relation between themes and tags (many to many) | Связь между темами и тегами (многие ко многим) | public function tags()
{
return $this->belongsToMany('App\Models\Tag', 'themes_tags');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function themes(){\n return $this->hasMany(Theme::class);\n }",
"public function tag() {\n\n\t\treturn $this->belongsToMany('Tag');\n\n\t}",
"public function tag()\n {\n return $this->belongsToMany('App\\Tag');\n }",
"public function tags()\n {\n return $this->belongsT... | [
"0.6606125",
"0.62111855",
"0.6204236",
"0.6176416",
"0.6155603",
"0.614118",
"0.6121815",
"0.60953104",
"0.6087103",
"0.60855955",
"0.6073352",
"0.6071847",
"0.6065474",
"0.60639113",
"0.6061659",
"0.6061659",
"0.6056938",
"0.60236394",
"0.60232294",
"0.6003639",
"0.5971667"... | 0.76731735 | 0 |
Get themes by `forum_id` | Получить темы по `forum_id` | public function getAllThemesByForumId($forum_id)
{
$themes = self::where('is_enable', true)
->where('forum_id', $forum_id)->get();
return $themes;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getAllThemeByForumId($forum_id)\n\t{\n\t\t$themes = self::where('is_enable', true)\n\t\t\t->where('forum_id', $forum_id)\n\t\t\t->orderBy('created_at', 'DESC')->paginate(10);\n\n\t\treturn $themes;\n\t}",
"public static function getForumThemesByTag($forum_id, $tag_id)\n\t{\n\t\t$tag = Tag::findOr... | [
"0.79470855",
"0.7060002",
"0.65162367",
"0.6413722",
"0.6215883",
"0.61608094",
"0.6125732",
"0.61157477",
"0.60721916",
"0.6021807",
"0.5999539",
"0.59573555",
"0.59133244",
"0.5873607",
"0.58357364",
"0.58238864",
"0.58234704",
"0.5806459",
"0.5758934",
"0.57321024",
"0.56... | 0.7811868 | 1 |
Get all themes by `forum_id` | Получить все темы по `forum_id` | public function getAllThemeByForumId($forum_id)
{
$themes = self::where('is_enable', true)
->where('forum_id', $forum_id)
->orderBy('created_at', 'DESC')->paginate(10);
return $themes;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getAllThemesByForumId($forum_id)\n\t{\n\t\t$themes = self::where('is_enable', true)\n\t\t\t->where('forum_id', $forum_id)->get();\n\n\t\treturn $themes;\n\t}",
"public static function getForumThemesByTag($forum_id, $tag_id)\n\t{\n\t\t$tag = Tag::findOrFail($tag_id);\n\n\t\t$themes = $tag->themes(... | [
"0.83503854",
"0.7074914",
"0.67061675",
"0.6700475",
"0.6239612",
"0.62076175",
"0.61503386",
"0.61257225",
"0.61115295",
"0.60488504",
"0.5972905",
"0.5957188",
"0.5957035",
"0.58952844",
"0.5843768",
"0.5826588",
"0.577132",
"0.57596004",
"0.5734089",
"0.57303226",
"0.5686... | 0.8476483 | 0 |
Get forum`s themes by tag | Получить темы форума по тегу | public static function getForumThemesByTag($forum_id, $tag_id)
{
$tag = Tag::findOrFail($tag_id);
$themes = $tag->themes()
->where('forum_id', $forum_id)
->where('is_enable', '=', true)
->orderBy('created_at', 'DESC')
->paginate(10);
return $themes;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static function getForumAnswerThemesByTag($forum_id, $tag_id, $client_id)\n\t{\n\t\t$tag = Tag::findOrFail($tag_id);;\n\n\t\t$themes = $tag->themes()->whereHas('messages', function ($query) {\n\t\t\t$query->where('client_view', '=', false)->where('is_enable', '=', true);\n\t\t})->where('client_id', '=', $cl... | [
"0.75726724",
"0.6382531",
"0.6274265",
"0.61965376",
"0.6054409",
"0.60051465",
"0.59603804",
"0.5923665",
"0.58768135",
"0.5850707",
"0.5846627",
"0.58184624",
"0.5749552",
"0.5700737",
"0.5689284",
"0.562996",
"0.5629754",
"0.5604316",
"0.5575218",
"0.5535242",
"0.5457751"... | 0.8125899 | 0 |
method that checks if file is jpg | метод, проверяющий, является ли файл jpg | public static function isItJpg($tmpName){
if(exif_imagetype($tmpName) != IMAGETYPE_JPEG){
return false;
}
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function file_is_image($filename) {\n return in_array(get_file_extension($filename), get_image_file_types());\n }",
"function is_file_an_image($filepath)\n{\n\t$a = getimagesize($filepath);\n\t$image_type = $a[2];\n\t \n\tif(in_array($image_type , array(IMAGETYPE_GIF , IMAGETYPE_JPEG ,IMAGETYPE_PNG , IMA... | [
"0.74149257",
"0.7370129",
"0.7368633",
"0.73174757",
"0.7315612",
"0.7296605",
"0.7282665",
"0.7274301",
"0.72653604",
"0.7217313",
"0.7189205",
"0.71811116",
"0.7179335",
"0.7149777",
"0.7145668",
"0.71277",
"0.70578474",
"0.70335764",
"0.70295227",
"0.6936391",
"0.6931549"... | 0.7528213 | 0 |
Public function plugin_dir. set for plugin dir | Публичная функция plugin_dir. Установить для каталога плагина | public function plugin_dir(){
return trailingslashit(plugin_dir_path( __FILE__ ));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function wp_plugins_dir()\n {\n }",
"public static function set_plugin_folder($dir)\n {\n return Core\\Plugins::SetPluginFolder($dir);\n }",
"public static function set_plugin_folder($dir)\n {\n //=================================================================\n ... | [
"0.7699601",
"0.73883086",
"0.72234905",
"0.72081983",
"0.7188531",
"0.70749605",
"0.6895612",
"0.68757117",
"0.6820582",
"0.6788757",
"0.6752123",
"0.67483205",
"0.6724161",
"0.66757125",
"0.65551674",
"0.6551017",
"0.6551017",
"0.6551017",
"0.65324605",
"0.6531345",
"0.6527... | 0.76802635 | 1 |
Public function core_url . set for plugin core folder url | Публичная функция core_url. Установка для папки плагина core url | public function core_url(){
return $this->plugin_url() . 'core/';
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function get_core_url() {\n\t\t\treturn trailingslashit( $this->settings['base_url'] );\n\t\t}",
"public function setup_plugin_url()\n {\n }",
"public function plugin_url(){\n return trailingslashit(plugin_dir_url( __FILE__ ));\n }",
"public function core_dir(){\n return... | [
"0.81152576",
"0.7053546",
"0.6971799",
"0.67860746",
"0.6729122",
"0.6729122",
"0.6729122",
"0.6728827",
"0.67005706",
"0.6665887",
"0.6578553",
"0.65564436",
"0.6536107",
"0.6437337",
"0.64294994",
"0.64270097",
"0.64064085",
"0.6374435",
"0.6344844",
"0.6324784",
"0.632134... | 0.8654432 | 0 |
Public function core_dir . set for plugin core folder dir | Публичная функция core_dir . set для папки плагина core dir | public function core_dir(){
return $this->plugin_dir() . 'core/';
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function get_core_dir() {\n\t\t\treturn trailingslashit( $this->settings['base_dir'] );\n\t\t}",
"public function getCoreDir()\n {\n if(!Config::has('MAIN/core_path'))\n {\n Config::set('MAIN/core_path', $this->guessCoreDir());\n }\n\n return Config::get('MAIN/core_path');\n }",
"publ... | [
"0.824423",
"0.7350552",
"0.70510983",
"0.7047886",
"0.6972011",
"0.6875568",
"0.6677055",
"0.6561827",
"0.6558495",
"0.6552478",
"0.64993",
"0.6490473",
"0.64722234",
"0.6345371",
"0.6291851",
"0.61839974",
"0.6111516",
"0.6099364",
"0.6065931",
"0.6001416",
"0.5996872",
"... | 0.8694093 | 0 |
Public function base_url . set for plugin base folder url | Публичная функция base_url . установлена для URL базовой папки плагина | public function base_url(){
return $this->plugin_url() . 'base/';
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private function get_base_url() : string {\n return plugin_dir_url( dirname( __FILE__, 2 ) );\n }",
"static protected function get_base_url(){\r\n return plugins_url(null, __FILE__);\r\n }",
"function base_url(){\n return BASE_URL;\n }",
"function get_base_url() {\n return $this->b... | [
"0.87099916",
"0.86128795",
"0.836425",
"0.810267",
"0.80944675",
"0.7896705",
"0.7790398",
"0.77808136",
"0.7773625",
"0.771061",
"0.7677277",
"0.7674229",
"0.7673578",
"0.76467675",
"0.7633424",
"0.76256096",
"0.7625419",
"0.75904393",
"0.75553817",
"0.7547833",
"0.7534603"... | 0.8965403 | 0 |
Public function base_dir . set for plugin base folder dir | Публичная функция base_dir . set для папки плагина base dir | public function base_dir(){
return $this->plugin_dir() . 'base/';
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"static public function get_base_path(){\r\n return plugin_dir_path(__FILE__) . '/';\r\n }",
"private function get_base_path() : string {\n return plugin_dir_path( dirname( __FILE__, 2 ) );\n }",
"function get_base_dir() {\n return $this->base_dir;\n }",
"function base_path()\n {\n ... | [
"0.84436935",
"0.8380311",
"0.7968006",
"0.7862169",
"0.7742449",
"0.77386826",
"0.7634011",
"0.744015",
"0.73941815",
"0.73592985",
"0.733996",
"0.7299054",
"0.7295198",
"0.71965975",
"0.7153129",
"0.7124176",
"0.711739",
"0.71152425",
"0.71152425",
"0.7105606",
"0.7046229",... | 0.8965946 | 0 |
Public function utils_url . set for plugin utils folder url | Публичная функция utils_url для плагина установки URL папки utils | public function utils_url(){
return $this->plugin_url() . 'utils/';
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function plugin_url(){\n return trailingslashit(plugin_dir_url( __FILE__ ));\n }",
"public function utils_dir(){\n return $this->plugin_dir() . 'utils/';\n }",
"public function setup_plugin_url()\n {\n }",
"public static function get_url() {\n\t\treturn ( get_bloginfo... | [
"0.7000719",
"0.69362754",
"0.693344",
"0.6880488",
"0.6877434",
"0.67640865",
"0.6745987",
"0.671552",
"0.6693124",
"0.66770256",
"0.66383106",
"0.6594576",
"0.6540805",
"0.653574",
"0.6513022",
"0.64964366",
"0.64964366",
"0.64964366",
"0.64859253",
"0.64755255",
"0.6473415... | 0.8699511 | 0 |
Public function utils_dir . set for plugin utils folder dir | Публичная функция utils_dir . set для папки плагина utils dir | public function utils_dir(){
return $this->plugin_dir() . 'utils/';
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function utils_url(){\n return $this->plugin_url() . 'utils/';\n }",
"public function plugin_dir(){\n return trailingslashit(plugin_dir_path( __FILE__ ));\n }",
"function _get_plugin_directory() {\n return __DIR__;\n}",
"public function base_dir(){\n return $this->plugin_di... | [
"0.6653623",
"0.6561461",
"0.6536426",
"0.64793056",
"0.64419127",
"0.6356196",
"0.6305265",
"0.6292337",
"0.6281124",
"0.6207308",
"0.61978066",
"0.6195792",
"0.607426",
"0.60704607",
"0.60612005",
"0.6050963",
"0.60482746",
"0.6034513",
"0.6026644",
"0.60206395",
"0.6010828... | 0.8607643 | 0 |
Public function widgets_url . set for plugin widget folder url | Публичная функция widgets_url . установлена для URL папки плагина с виджетами | public function widgets_url(){
return $this->plugin_url() . 'widgets/';
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function widgets_dir(){\n return $this->plugin_dir() . 'widgets/';\n }",
"protected function getWidgetUri() {}",
"protected function getWidgetUri() {}",
"public function getWidgetJsUrl() {\n return check_url(variable_get(AddThis::WIDGET_JS_URL_KEY, AddThis::DEFAULT_WIDGET_JS_URL));\n }",... | [
"0.75481224",
"0.75085175",
"0.75085175",
"0.7134948",
"0.6839291",
"0.68371606",
"0.67708755",
"0.67261344",
"0.6719828",
"0.6719828",
"0.6719828",
"0.67096794",
"0.6703411",
"0.667098",
"0.6665565",
"0.66460913",
"0.6537809",
"0.6495284",
"0.6461769",
"0.64270973",
"0.64122... | 0.8961892 | 0 |
Public function widgets_dir . set for plugin widget folder dir | Публичная функция widgets_dir для установки пути к папке с виджетами плагина | public function widgets_dir(){
return $this->plugin_dir() . 'widgets/';
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function widgets_url(){\n return $this->plugin_url() . 'widgets/';\n }",
"public function wp_plugins_dir()\n {\n }",
"function gutenberg_dir_path() {\n\treturn plugin_dir_path( dirname( __FILE__ ) );\n}",
"public function plugin_dir(){\n return trailingslashit(plugin_dir... | [
"0.69308823",
"0.66402423",
"0.6449377",
"0.6429668",
"0.62617373",
"0.6112663",
"0.6073773",
"0.60702074",
"0.60697067",
"0.60029876",
"0.5997572",
"0.5968038",
"0.5968038",
"0.5938159",
"0.58983564",
"0.5826198",
"0.5809977",
"0.5773066",
"0.57453793",
"0.5742373",
"0.57366... | 0.88350195 | 0 |