query
stringlengths
7
5.25k
document
stringlengths
15
1.06M
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Checks whether requested template exists.
function TemplateExists($tpl_file) { return $this->_smarty->template_exists($tpl_file); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function templateExists($template);", "public function templateExists(string $template_name);", "public function templateExists(): bool\n {\n return isset($this->templatePath);\n }", "abstract public function templateExists($name);", "public function exists()\n {\n try {\n ...
[ "0.8582258", "0.84927875", "0.8253781", "0.81498533", "0.8123222", "0.80842274", "0.797904", "0.79064876", "0.7776526", "0.7705633", "0.76290977", "0.7478985", "0.7476798", "0.7476798", "0.7458653", "0.7454222", "0.7435063", "0.7402916", "0.7323297", "0.72313386", "0.7223117"...
0.75926805
11
Returns an array containing template variables
function &GetTemplateVars($name=null) { return $this->_smarty->get_template_vars($name); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getTemplateVariables(): array;", "function getTemplateVars() {\n return array();\n }", "public function getTemplateVariables()\n\t{\n\t\treturn array_merge($this->template_variables, [\n\t\t\t'options' => $this->getOptions(),\n\t\t\t'column' => $this->getColumn(),\n\t\t\t'key' =>...
[ "0.89054394", "0.83720607", "0.7979437", "0.7566881", "0.7539321", "0.7534858", "0.7453146", "0.7427348", "0.7414572", "0.7366905", "0.7284823", "0.72440934", "0.72354925", "0.7211639", "0.7158477", "0.7144351", "0.7144351", "0.7130502", "0.7045406", "0.70416546", "0.69844437...
0.65110856
47
Returns an array containing config variables
function &GetConfigVars($name=null) { return $this->_smarty->get_config_vars($name); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function config_vars()\n\t{\n\t\tglobal $txt;\n\n\t\t$return_data = array();\n\n\t\t$core_features = $this->settings();\n\n\t\t// Convert this to a format that admin search will understand\n\t\tforeach ($core_features as $id => $data)\n\t\t{\n\t\t\t$return_data[] = array('switch', $data['title'] ?? $txt['co...
[ "0.76788557", "0.7634818", "0.75843424", "0.7500844", "0.7383072", "0.73651004", "0.7290107", "0.724075", "0.7205787", "0.7198886", "0.71388215", "0.7077611", "0.7074342", "0.7029353", "0.70162094", "0.70117784", "0.69787276", "0.6977035", "0.6975772", "0.6975772", "0.6955146...
0.6673355
46
executes & displays the template results
function Display($resource_name, $cache_id = null, $compile_id = null) { $this->_smarty->display($resource_name, $cache_id, $compile_id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function execute() {\n $this->updateTeamSelector();\n\n $this->display();\n $this->smartyHelper->displayTemplate();\n }", "protected function render_result()\n\t{\n\t\tif (!array_key_exists('self', $this->vars)) {\n\t\t\t$this->vars['self'] = $this;\n\t\t}\n\n\t\t$tpl = new STemplate();\n...
[ "0.7692251", "0.7268508", "0.7235308", "0.70113623", "0.69297725", "0.6907735", "0.68597895", "0.6858899", "0.6796389", "0.67761177", "0.67365605", "0.6734185", "0.67292106", "0.6666255", "0.6638964", "0.66284394", "0.6626553", "0.6622789", "0.6615504", "0.6603581", "0.660255...
0.0
-1
executes & returns or displays the template results
function Fetch($resource_name, $cache_id = null, $compile_id = null, $display = false) { return $this->_smarty->fetch($resource_name, $cache_id, $compile_id, $display); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function render_result()\n\t{\n\t\tif (!array_key_exists('self', $this->vars)) {\n\t\t\t$this->vars['self'] = $this;\n\t\t}\n\n\t\t$tpl = new STemplate();\n\t\t$tpl->vars =& $this->vars;\n\t\t$tpl->controls =& $this->controls;\n\n\t\t$res = $tpl->process($this->template_name);\n\n\t\tif (array_key_exists...
[ "0.7494398", "0.7248122", "0.69312125", "0.68937737", "0.6892385", "0.6860905", "0.68362683", "0.678748", "0.67867", "0.664759", "0.66441154", "0.6640453", "0.6617933", "0.6616756", "0.6616756", "0.6616756", "0.6614975", "0.65842336", "0.657975", "0.6546187", "0.65452504", ...
0.0
-1
return a reference to a registered object
function &GetRegisteredObject($name) { return $this->_smarty->get_registered_object($name); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getInstance(): object;", "public function get_instance() {\r\n\t\treturn $this->obj;\r\n\t}", "public static function & GetInstance ();", "public static function getInstance()\r\n\t{\r\n\t\tif ( empty( self::$instance ) )\r\n\t\t{\r\n\t\t\tself::$instance = new Registry();\r\n\t\t\t$object = ...
[ "0.70743287", "0.6764894", "0.6725573", "0.66337436", "0.6556568", "0.65293354", "0.64884645", "0.6452232", "0.64272535", "0.6346797", "0.63435245", "0.6305692", "0.63022596", "0.62751055", "0.6258482", "0.62434673", "0.62332594", "0.6184605", "0.6180519", "0.6169918", "0.614...
0.74176
0
Bootstrap any application services.
public function boot() { // }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function bootstrap(): void\n {\n if (! $this->app->hasBeenBootstrapped()) {\n $this->app->bootstrapWith($this->bootstrappers());\n }\n\n $this->app->loadDeferredProviders();\n }", "public function boot()\n {\n // Boot here application\n }", "public func...
[ "0.7344842", "0.7212776", "0.7207748", "0.7123287", "0.7109729", "0.70822036", "0.7076881", "0.70718396", "0.7051853", "0.7025475", "0.7011949", "0.70043486", "0.6955807", "0.69322443", "0.69319373", "0.69272774", "0.6911386", "0.69069713", "0.6898877", "0.6898432", "0.689659...
0.0
-1
Register any application services.
public function register() { // }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function register()\n {\n $this->registerServices();\n }", "public function register()\n {\n $this->registerAssets();\n $this->registerServices();\n }", "public function register()\n\t{\n\n $this->registerUserService();\n $this->registerCountryService();\n ...
[ "0.7879658", "0.7600202", "0.74930716", "0.73852855", "0.736794", "0.7306089", "0.7291359", "0.72896826", "0.72802424", "0.7268026", "0.7267702", "0.72658145", "0.7249053", "0.72171587", "0.7208486", "0.7198799", "0.7196415", "0.719478", "0.7176513", "0.7176227", "0.7164647",...
0.0
-1
/ Set the keys for a save update query.
protected function setKeysForSaveQuery(\Illuminate\Database\Eloquent\Builder $query) { $keys = $this->getKeyName(); if(!is_array($keys)){ return parent::setKeysForSaveQuery($query); } foreach($keys as $keyName){ $query->where($keyName, '=', $this->getKeyForSaveQuery($keyName)); } return $query; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function addKeysToUpdates()\n\t{\n\t\t$keys = $this->database->getNewKeys();\n\n\t\tif (!empty($keys)) {\n\t\t\t$this->addToUpdates($keys);\n\t\t}\n\t}", "protected function setKeysForSaveQuery(\\Illuminate\\Database\\Eloquent\\Builder $query)\n{\n $keys = $this->getKeyName();\n if(!is_array($keys))...
[ "0.6675114", "0.66498077", "0.6467627", "0.64091283", "0.63779414", "0.6356516", "0.627572", "0.6265914", "0.621046", "0.61448205", "0.6114518", "0.6106898", "0.6088502", "0.60521454", "0.60185254", "0.60025865", "0.59955984", "0.5974698", "0.5863001", "0.5860046", "0.5852031...
0.64100367
4
Get the primary key value for a save query.
protected function getKeyForSaveQuery($keyName = null) { if(is_null($keyName)){ $keyName = $this->getKeyName(); } if (isset($this->original[$keyName])) { return $this->original[$keyName]; } return $this->getAttribute($keyName); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function getKeyForSaveQuery(){\n\t\treturn $this->getKey();\n\t}", "public static function getPk(){\n return static::$_primaryKey;\n }", "public function getPk()\n {\n return $this->{static::primaryKey()};\n }", "public static function getPrimaryKey()\n {\n return s...
[ "0.8211914", "0.7569415", "0.7536089", "0.74918836", "0.7451381", "0.741932", "0.7415454", "0.7403018", "0.73652804", "0.7349977", "0.73089516", "0.72853315", "0.7247654", "0.72351366", "0.7220505", "0.7194817", "0.7194817", "0.7194817", "0.7177431", "0.7170786", "0.71634156"...
0.0
-1
Get product control details
private function _control($requset, ProductRepository $productRepo) { $this->_data = $productRepo->getControl($requset->id); if (is_object($this->_data)) { return true; } throw new ApiServiceException('product not found!', 400); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProduct()\r\n {\r\n return $this->_params['product'];\r\n }", "public function product_detail() {\n global $product;\n WC_Gokeep_JS::get_instance()->product_detail( $product );\n }", "public function getProduct()\n\t{\n\t\treturn $this->getKeyValue('product'); ...
[ "0.63553184", "0.63131213", "0.6260689", "0.6250101", "0.62280726", "0.6215257", "0.6209954", "0.6198918", "0.61938477", "0.6162146", "0.6112782", "0.607487", "0.60442144", "0.6042314", "0.60341465", "0.60341465", "0.60341465", "0.60251933", "0.6022629", "0.6020318", "0.60193...
0.0
-1
Get product last comments
private function _lastComments($requset, ProductRepository $productRepo) { $this->_data = $productRepo->getLastComments($requset->id); if (is_object($this->_data) && $this->_data->count() > 0) { return true; } throw new ApiServiceException('there is no comment!', 400); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getLatestComment() {\n\t\t$lastComment = NULL;\n\t\tforeach ($this->comments as $comment) {\n\t\t\t$lastComment = $comment;\n\t\t}\n\t\treturn $lastComment;\n\t}", "public function getLastCommentDate()\n {\n return $this->dibi->fetchAll('\n SELECT\n ...
[ "0.7459056", "0.6778314", "0.6726884", "0.6581781", "0.63107115", "0.6274467", "0.6262245", "0.6240596", "0.62229055", "0.62229055", "0.62229055", "0.62229055", "0.61898863", "0.61786586", "0.61600304", "0.61392236", "0.61260897", "0.6118771", "0.60879153", "0.6073995", "0.60...
0.61243623
17
Sets the controller name
public function setUp() { $this->controller_name = 'CreateController'; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function _setControllerName($name) {\n\t\t$this->controller = $name;\n\t}", "public function setControllerName()\n {\n $this->name = \"tagui\";\n }", "public function setControllerName($controllerName){\n\t\tself::$_controllerName[get_class($this)] = $controllerName;\n\t}", "protected ...
[ "0.872904", "0.82186496", "0.7967094", "0.7944833", "0.7718446", "0.7657226", "0.7350347", "0.7203237", "0.7180779", "0.70916677", "0.7054864", "0.69847864", "0.6919807", "0.6910895", "0.6869911", "0.68601984", "0.6825656", "0.6821593", "0.68152213", "0.67737854", "0.67593503...
0.59576744
80
Input Contains an array of test files for creating.
public function input_actionAssetCreate() { return [ [ TestController::COMPARISON_DIRECTORY . '/contain_aspect_true.png', [ 'actions' => [ [ Action_Image::NAME_KEY => "original", Action_Image::WIDTH_KEY => 1000, Action_Image::HEIGHT_KEY => 1000, Action_Image::KEEP_ASPECT_RATIO_KEY => true, Action_Image::PADDING_KEY => false, self::EXPECTED_WIDTH_KEY => 1000, self::EXPECTED_HEIGHT_KEY => 562 ], [ Action_Image::NAME_KEY => "thumbnail", Action_Image::WIDTH_KEY => 150, Action_Image::HEIGHT_KEY => 150, self::EXPECTED_WIDTH_KEY => 150, self::EXPECTED_HEIGHT_KEY => 150 ] ] ] ], [ TestController::COMPARISON_DIRECTORY . '/contain_aspect_true.png', [ 'actions' => [ [ Action_Image::NAME_KEY => "original", Action_Image::WIDTH_KEY => 2000, Action_Image::HEIGHT_KEY => 2000, Action_Image::KEEP_ASPECT_RATIO_KEY => true, Action_Image::PADDING_KEY => false, self::EXPECTED_WIDTH_KEY => 2000, self::EXPECTED_HEIGHT_KEY => 1125 ], [ Action_Image::NAME_KEY => "thumbnail", Action_Image::WIDTH_KEY => 370, Action_Image::HEIGHT_KEY => 280, self::EXPECTED_WIDTH_KEY => 370, self::EXPECTED_HEIGHT_KEY => 280 ], [ Action_Image::NAME_KEY => "thumbnail", Action_Image::WIDTH_KEY => 152, Action_Image::HEIGHT_KEY => 154, self::EXPECTED_WIDTH_KEY => 152, self::EXPECTED_HEIGHT_KEY => 154 ] ] ] ], [ TestController::COMPARISON_DIRECTORY . '/eckroth-coffeehouse_conversation.txt', [ 'actions' => [ [ Action_Document::NAME_KEY => "coffeehouse_conversation" ] ] ] ] ]; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function _TestMultipleFiles()\n {\n\n }", "public function buildFilesForFilterTest()\n {\n // are used as the test method arguments. If we want to use an array\n // as a test data set, we need to return a nested array\n return array(\n array(\n $this...
[ "0.6878193", "0.6773069", "0.65201503", "0.6481515", "0.63780355", "0.6357926", "0.6269971", "0.6264422", "0.62612647", "0.6177899", "0.61460507", "0.6095894", "0.602382", "0.6014188", "0.59868956", "0.5959627", "0.5893516", "0.5891921", "0.5883151", "0.5868972", "0.5862968",...
0.51836264
77
Test Tests the actionIndex method error resonse.
public function test_actionIndexError() { $expected_output = "HTTP/1.1 424 \n" . "Content-type: application/json\n" . '{"errors":{"general":["Not a proper http method type, please send a FILE"]}}'; $this->assertControllerResponse('actionIndex', '/create/', $expected_output); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function test_IndexError(){\n\t\t$this->validateTestException(\n\t\t\t$this->fullURL,\n\t\t\t'GET',\n\t\t\t$this->data,\n\t\t\t'NotImplementedException',\n\t\t\t'index'\n\t\t);\n\t}", "public function testIndexActionError() : void\n {\n $res = $this->controller->indexActionPost();\n $this...
[ "0.8301092", "0.81969786", "0.7672064", "0.75928533", "0.75710267", "0.74921393", "0.7352798", "0.7274661", "0.7235742", "0.72279215", "0.7203987", "0.7203978", "0.71928483", "0.718473", "0.71792525", "0.7144754", "0.71398324", "0.70941406", "0.70781696", "0.70765716", "0.707...
0.8300544
1
Adds a file to the $_FILE variable and calls the create controller
public function test_actionAssetCreate($file_path = "", array $post = []) { $_FILES = [ 'file' => [ 'tmp_name' => $file_path, 'name' => 'Hello' ] ]; $_POST = $post; $_SERVER['REDIRECT_URL'] = '/create/'; ob_start(); $controller = new $this->controller_name(rand(0,1000)); Reflection::setProperty('allowGenerateHeader', $this->controller_name, $controller, false); Reflection::callMethod('actionIndex', $this->controller_name, [], $controller); $response = ob_get_contents(); ob_end_clean(); $json_response = str_replace("HTTP/1.1 200 OK\n", "", $response); $json_response = str_replace("Content-type: application/json\n", "", $json_response); $asset_json = json_decode($json_response); $this->assertTrue(Asset::model()->fileName($asset_json->public_url)->exists()); if (Asset::model()->fileName($asset_json->public_url)->exists()) { $this->assertCreationEquals(Asset::model()->fileName($asset_json->public_url)->find()); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function new_file()\n {\n $input = JFactory::getApplication()->input;\n\n $ecr_project = $input->get('ecr_project');\n\n if($input->get('do_action') == 'new_file')\n {\n $reqPath = $input->getPath('act_path');\n $reqName = $input->getPath('act_name');\n\n...
[ "0.75235176", "0.7298397", "0.701416", "0.69964314", "0.69767463", "0.6932889", "0.68535817", "0.66675746", "0.6646344", "0.6547899", "0.6430936", "0.638995", "0.6388957", "0.63450015", "0.63408405", "0.6272578", "0.6268846", "0.6268002", "0.6256753", "0.6248846", "0.6245969"...
0.0
-1
Confirms that the asset images created are of same style as the actions passed in the post.
private function assertCreationEquals(Asset $asset) { foreach ($_POST['actions'] as $action) { if (count($asset->images) > 0) { $size_exists = false; foreach ($asset->images as $image) { if ($image->width <= $action[self::EXPECTED_WIDTH_KEY] + 1 && $image->width >= $action[self::EXPECTED_WIDTH_KEY] - 1 && $image->height <= $action[self::EXPECTED_HEIGHT_KEY] + 1 && $image->height >= $action[self::EXPECTED_HEIGHT_KEY] - 1) { $size_exists = true; } } $this->assertTrue($size_exists); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function input_actionAssetCreate()\n {\n return [\n [\n TestController::COMPARISON_DIRECTORY . '/contain_aspect_true.png',\n [\n 'actions' => [\n [\n Action_Image::NAME_KEY =>...
[ "0.5793317", "0.5506888", "0.5014556", "0.4869687", "0.48685825", "0.48450437", "0.48221874", "0.48076284", "0.47942662", "0.4712479", "0.47090158", "0.46488148", "0.46439707", "0.4640079", "0.4604765", "0.45923954", "0.45641297", "0.45557365", "0.4533187", "0.45283931", "0.4...
0.5954099
0
Method to set the value of field user_id
public function setUserId($user_id) { $this->user_id = $user_id; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setUserId() {\n $this->user_id = $user_id;\n }", "public function setIduser($value)\n {\n $this->iduser = $value;\n }", "public function set_id_user($value = \"\")\n {\n $this->_id_user = \\helpers\\Validator::valInt('f_id_user', $value, TRUE);\n }", "publi...
[ "0.86287546", "0.8509571", "0.8502041", "0.8406734", "0.8308554", "0.81851476", "0.8162908", "0.8144313", "0.8134973", "0.8134973", "0.8002276", "0.77926916", "0.778664", "0.77841157", "0.77786696", "0.77598673", "0.77283037", "0.77180254", "0.765404", "0.7652824", "0.761687"...
0.0
-1
Method to set the value of field key
public function setKey($key) { $this->key = $key; return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function __set($key, $value)\n {\n $this->fields[ $key ] = $value;\n }", "public function setValue($key, $value);", "public function setValue($key, $value);", "public function set( $key, $value );", "public function set( $key, $value );", "function setKey($value) {\r\n $this->key...
[ "0.7391146", "0.7381914", "0.7381914", "0.732008", "0.732008", "0.7163507", "0.7144345", "0.7122203", "0.7120583", "0.7111283", "0.7108767", "0.7108767", "0.7107171", "0.7093877", "0.7071839", "0.7071839", "0.7071839", "0.7071839", "0.7071839", "0.7071839", "0.7071839", "0....
0.0
-1
Returns the value of field user_id
public function getUserId() { return $this->user_id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getUserId()\n {\n return parent::getValue('user_id');\n }", "public function getId_user()\n {\n return $this->id_user;\n }", "public function getId_user()\n {\n return $this->id_user;\n }", "public function getId_user()\n {\n return $this->id_u...
[ "0.84572583", "0.81286794", "0.81286794", "0.81286794", "0.81286794", "0.81169534", "0.81038785", "0.80643123", "0.8049839", "0.8049839", "0.8015119", "0.80114496", "0.80114496", "0.80114496", "0.800314", "0.7995636", "0.7995636", "0.79931736", "0.7960451", "0.79597956", "0.7...
0.7989601
38
Returns the value of field key
public function getKey() { return $this->key; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function get_field_key() {\n\t\treturn $this->get_field_attr( 'field_key' );\n\t}", "public function getField(string $key);", "public function getKeyField()\n {\n return $this->_key;\n }", "function getFieldValue($field);", "function __get( $key )\n {\n \t//Kint::dump($this->fields);\...
[ "0.77407384", "0.7700749", "0.7580262", "0.75453246", "0.7459674", "0.73867106", "0.73767495", "0.7301681", "0.7301681", "0.7301442", "0.7270543", "0.7196164", "0.7173661", "0.7173302", "0.7115867", "0.6985965", "0.6977453", "0.6937234", "0.69032663", "0.6864832", "0.6839356"...
0.0
-1
the site is graded ok
public function graded($phase) { if($phase == 'a'){ $evaluations = Evaluation::where('site_id', $this->id)->get(); } if($phase == 'b'){ $evaluations = Evaluation_b::where('site_id', $this->id)->get(); } if($phase == 'c'){ $evaluations = Evaluation_c::where('site_id', $this->id)->get(); } $counter = 0; foreach($evaluations as $evaluation){ if($evaluation->complete()){ $counter++; } } if($evaluations->count() >= 2 && $counter >= 2){ return true; } else { return false; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function ms_site_check()\n {\n }", "public function ee_breakouts_page_load() {}", "public function index() {\r\n //echo \"test\";exit;\r\n //echo $this->data['base_url'];exit;\r\n if (strpos($this->data['base_url'],'beta') !== false && strpos($this->data['base_url'],'https') !== fals...
[ "0.6756627", "0.6387464", "0.61186796", "0.60787076", "0.606088", "0.59528416", "0.5886097", "0.5850987", "0.58474964", "0.58326226", "0.5808646", "0.5792767", "0.5722895", "0.56914544", "0.5663136", "0.5660144", "0.5655534", "0.56254447", "0.56025696", "0.55848736", "0.55764...
0.0
-1
Test snake function with dash delimiter.
public function testSnakeWithDashes(): void { foreach (static::$snakeDashes as $input => $expected) { self::assertEquals($expected, (new Str())->snake($input, '-')); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function testSnakeWithUnderscores(): void\n {\n $this->processSimpleTests('snake', static::$snakeUnderscore);\n }", "public function snake($word);", "public function testSnakeCase2()\n {\n $this->assertEquals(Str::snakeCase('foo bar'), 'foo_bar');\n }", "public function testS...
[ "0.68611574", "0.6761117", "0.62922984", "0.62291056", "0.6168118", "0.61582583", "0.6030664", "0.5918212", "0.59175646", "0.5872404", "0.58319354", "0.5828152", "0.5815072", "0.58124965", "0.57932174", "0.57455605", "0.5731739", "0.57248795", "0.5714138", "0.5685054", "0.567...
0.74796385
0
Test snake function with underscore delimiter.
public function testSnakeWithUnderscores(): void { $this->processSimpleTests('snake', static::$snakeUnderscore); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static function snake()\n {\n return self::generate('_');\n }", "function underscore($s, $sep = '_') {\n\n $s = preg_replace('/([a-z0-9])([A-Z])/', '$1_$2', $s);\n $s = preg_replace('/([0-9])([a-z])/', '$1_$2', $s);\n $s = preg_replace('/([a-zA-Z])([0-9])/', '$1_$2', $s);...
[ "0.69975686", "0.6944281", "0.68872434", "0.6786461", "0.6759755", "0.6683658", "0.66639155", "0.6581483", "0.6554406", "0.655261", "0.6519515", "0.6476716", "0.642526", "0.64116347", "0.6402788", "0.6363868", "0.63379586", "0.63342345", "0.62720424", "0.6247595", "0.62353957...
0.7959954
0
Sets the current value and key of this iterator.
public function send($value, $key = null) { $this->chunk = null; $this->value = $value; $this->key = $key; $this->valid = true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function __set($key, $value) {\n $this->pos = 0;\n $this->data[$key] = $value;\n $this->keys = array_keys($this->data);\n }", "public function __set($key,$value) {\n $cur = $this->key();\n if(!isset($this->_changed[$cur]) || !is_array($this->_changed[$cur])){\n $...
[ "0.6592253", "0.6345107", "0.63379973", "0.63128173", "0.6262059", "0.6262059", "0.61976045", "0.6197492", "0.6192567", "0.6104332", "0.6104332", "0.61032295", "0.6052387", "0.60451525", "0.60350764", "0.60338074", "0.6033738", "0.6033738", "0.6033533", "0.6009817", "0.599386...
0.0
-1
Stores an array or traversable object from which values and keys for this iterator will be fetched.
public function sendMany($chunk) { $this->chunk = $chunk; reset($this->chunk); $this->key = key($this->chunk); $this->value = current($this->chunk); $this->valid = true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getIterator(): Traversable\n {\n return new ArrayIterator($this->store);\n }", "public function getIterator() {\n\t\treturn new \\ArrayObject($this->data);\n\t}", "public function getIterator()\n {\n return new ArrayObject($this->_data);\n }", "public function asTrav...
[ "0.64269155", "0.6349835", "0.62343913", "0.6217876", "0.6077634", "0.60643053", "0.60499555", "0.60439", "0.60209197", "0.6009794", "0.5982626", "0.5977001", "0.59429586", "0.5942471", "0.59187806", "0.5891723", "0.5891697", "0.5869968", "0.58625656", "0.5845773", "0.5839893...
0.0
-1
Calls the user provided callback. This iterator will become invalid if no value or iterable is set by the callback.
protected function fetch() { if (!$this->valid) { return; } if (!$this->initialized) { $this->initialize(); } $this->valid = false; $callback = $this->fetchCallback; $callback($this); if (!$this->valid) { $this->dispose(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function each(callable $callback);", "public function each(callable $callback);", "public function each(callable $callback);", "public function each(callable $callback);", "public function forEach(callable $callback): void {\n\t\tforeach ($this as $value) {\n\t\t\t$callback($value);\n\t\t}\n\t}", ...
[ "0.6388422", "0.6388422", "0.6388422", "0.6388422", "0.62684935", "0.6194035", "0.6096935", "0.60766184", "0.59551483", "0.5795", "0.5766385", "0.5667323", "0.5638355", "0.5589223", "0.55482084", "0.55481", "0.55226594", "0.54953575", "0.5490046", "0.54896605", "0.54722273", ...
0.0
-1
verification qu'il a assez de PA
function prepareResultat() { if ($this->view->utilisationPaPossible == false) { throw new Zend_Exception(get_class($this) . " Utilisation impossible : PA:" . $this->view->user->pa_braldun); } // verification que la valeur recue est bien numerique if (((int)$this->request->get("valeur_1") . "" != $this->request->get("valeur_1") . "")) { throw new Zend_Exception(get_class($this) . " Valeur invalide : val=" . $this->request->get("valeur_1")); } else { $idTypeRune = (int)$this->request->get("valeur_1"); } if (!array_key_exists($idTypeRune, $this->view->labanRunes)) { throw new Zend_Exception(get_class($this) . " idTypeRune interdit A=" . $idTypeRune); } if ($this->view->labanRunes[$idTypeRune]["achat_possible"] !== true || $this->view->labanRunes[$idTypeRune]["cout_castars"] > $this->view->user->castars_braldun) { throw new Zend_Exception(get_class($this) . " Achat impossible"); } $this->echange($idTypeRune); $this->majBraldun(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function testeSimboloPalavra($simboloTeste, $alfabeto){\n if (!(in_array($simboloTeste, $alfabeto))) { \n echo \"<script>alert('REJEITADA PALAVRA INSERIDA, NÃO EXISTE ALGUM SIMBOLO NO ALFABETO!');</script>\";\n return 1;\n }else{\n return 0;\n }\n }", "pro...
[ "0.6457066", "0.6392231", "0.6267394", "0.62084246", "0.61218977", "0.6116772", "0.61003834", "0.6049904", "0.60246915", "0.6001774", "0.5987657", "0.5984873", "0.5954617", "0.5935115", "0.5927135", "0.592493", "0.5918727", "0.58919704", "0.58918804", "0.5872559", "0.5866593"...
0.0
-1
Initializes the Battleeffect Attaches itself to the Battle, or increases the duration of an existing (same) Battleeffect
public function initialize($battle, $hero, $enemy, $options = array()) { $options = array_merge( // The default options array( 'autoAttach' => true, 'turns' => $this->turns, ), // The specified options $options ); /** * up to this point: hero = combatant who brought this effect into play * adjust so that heroString is the owner of the buff/debuff */ if($this->buff) { $this->heroString = $battle->getCombatantString($hero); $this->enemyString = $battle->getCombatantString($enemy); } else { $this->heroString = $battle->getCombatantString($enemy); $this->enemyString = $battle->getCombatantString($hero); } $this->active = true; $this->turns = (!empty($options['turns']) ? $options['turns'] : 0); if($this->blocks && $this->blockNumberOfBlocks > 0) { $this->charges = $this->blockNumberOfBlocks; } /** * Adds the effect in case it's not already active * Unless the effect should only be active once per combatant, * in which case the duration will be increased */ if($options['autoAttach']) { if(!$this->singleton || !$battle->battleeffects->contains($this)) { $battle->addEffect($this); return "added"; } elseif ($this->increaseDuration) { $battle->increaseEffectDuration($this); return "increasedDuration"; } } return "notAdded"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function addEffect($Effect) {\n $Effect->call(\"attachToBattle\", $this);\n $this->battleeffects->add($Effect);\n }", "public function effect1()\n {\n }", "abstract public function buildEffect();", "public function increaseEffectDuration($Battleeffect, $sameHero = true) {\n ...
[ "0.5735397", "0.55760324", "0.53802097", "0.53462476", "0.5302386", "0.5204993", "0.5204175", "0.51896894", "0.5131411", "0.5121749", "0.50694335", "0.49684772", "0.49374932", "0.49102452", "0.48864853", "0.4853551", "0.48373732", "0.480392", "0.48027736", "0.4790001", "0.479...
0.62219137
0
Returns a string that can be used as the ocntent of a popup for the Battleeffect
public function getPopup() { if($this->blocks) { return $this->desc . "<BR />&nbsp;<BR />" . "<b>Blocks" . ($this->charges > 0 ? " " . $this->charges . " more" : "") . ($this->blockActionTypes != "all" ? $this->blockActionTypes : "") . " actions" . ($this->blockChance < 1 ? " with a chance of " . floor($this->blockChance * 100) . "%" : "") . ($this->turns > 0 ? " within the next " . $this->turns . " rounds" : "") . "."; } return $this->desc; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function popUpString(Competition $competition)\n {\n $description =\n \"<b>\" . $competition->getName() . \"</b><br>Du \"\n . $this->ds->format($competition->getDateStart(), 'd-m') . \" au \"\n . $this->ds->format($competition->getDateEnd(), 'd-m') .\n ...
[ "0.631923", "0.6104463", "0.6072025", "0.6067265", "0.60236585", "0.5861049", "0.58421755", "0.57494706", "0.5739615", "0.5586914", "0.5559835", "0.55369955", "0.55255014", "0.54983425", "0.5479581", "0.5450379", "0.5446426", "0.5441593", "0.54314023", "0.5430708", "0.5406861...
0.70814496
0
Returns an array with log details that can be part of a BattleMessage Includes id, name, buff, desc, and popup
public function getLogDetails() { return array( 'id' => $this->id, 'name' => $this->name, 'buff' => $this->buff, 'desc' => $this->desc, 'popup' => $this->call("getPopup"), ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getLogMessages() {\n return $this -> log;\n }", "public function getStatusLogMessages() {\n foreach($this->statusLogs as $log) {\n $log = explode(\",\", $log);\n $logMessage = &$log[0];\n $logTimestamp = &$log[1];\n $this->statusLogMessages[] = ...
[ "0.5992564", "0.59583867", "0.5849614", "0.5846944", "0.5765909", "0.5758528", "0.57425106", "0.5703975", "0.56327254", "0.56302947", "0.5580207", "0.55665827", "0.5514092", "0.5499748", "0.5498985", "0.5496919", "0.5432442", "0.54047894", "0.5381422", "0.53557956", "0.535369...
0.74417436
0
Attaches the Battleeffect to the Battle "Override" by specialness classes by using these commands: $battle>onBeforeAction = array($this, 'reactToOnBeforeAction'); $battle>onAfterAction = array($this, 'reactToOnAfterAction'); $battle>onBeforeDealingDamage = array($this, 'reactToOnBeforeDealingDamage'); $battle>onAfterDealingDamage = array($this, 'reactToOnAfterDealingDamage'); $battle>onBeforeTakingDamage = array($this, 'reactToOnBeforeTakingDamage'); $battle>onAfterTakingDamage = array($this, 'reactToOnAfterTakingDamage');
public function attachToBattle($battle) { $battle->onAfterRound = array($this, 'reactToOnAfterRound'); if($this->blocks) { $battle->onBeforeAction = array($this, 'reactToOnBeforeAction'); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function addEffect($Effect) {\n $Effect->call(\"attachToBattle\", $this);\n $this->battleeffects->add($Effect);\n }", "public function implement_all_effects()\n\t{\n\t\tforeach ($this->collection as $image)\n\t\t{\n\t\t\t$image->implement_effects();\n\t\t}\n\t}", "public function applyB...
[ "0.6034177", "0.5703318", "0.5430372", "0.53918564", "0.53503305", "0.5343876", "0.5309884", "0.5247773", "0.5238688", "0.52343744", "0.5212914", "0.5143583", "0.51361203", "0.51241255", "0.51205343", "0.5099951", "0.50934225", "0.5068831", "0.5036999", "0.5025582", "0.499394...
0.649531
0
Detaches the Battleeffect from the Battle "Override" by specialness classes by using these commands:
public function detachFromBattle($battle) { $battle->detachEventHandler("onAfterRound", array($this, 'reactToOnAfterRound')); if($this->blocks) { $battle->detachEventHandler("onBeforeAction", array($this, 'reactToOnBeforeAction')); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function _deactivate() {}", "public function stop() {\n if($this->combatantA->hp > 0) {\n $this->winnerType = \"player\";\n $this->winnerID = $this->combatantAID;\n } elseif ($this->combatantB->hp > 0) {\n $this->winnerType = ($this->type == \"pvp\" ? \"player\" : \...
[ "0.53706574", "0.5362536", "0.52852505", "0.5224216", "0.5178185", "0.5167428", "0.51049465", "0.50802654", "0.50493205", "0.5048803", "0.5039382", "0.50392824", "0.50332105", "0.5024569", "0.50047076", "0.49797508", "0.4979701", "0.49771777", "0.49736163", "0.49208584", "0.4...
0.606289
0
Empty event handler. Only there to have a fallback function if a SpecialnessBehavior class does not provide it. "Override" and extend by SpecialnessBehavior classes as necessary
public function reactToOnBeforeRound($event) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract function HookEvents();", "public static function usesCustomHandler();", "public function shouldntRaiseAnEvent()\n {\n }", "public function behaviors() {\n return array(\"application.components.SpecialnessBehavior\");\n }", "final public function onOutOfBand (): void {\n // d...
[ "0.57549065", "0.572741", "0.57116985", "0.57023585", "0.56787324", "0.557894", "0.5477127", "0.5449194", "0.5348193", "0.5329303", "0.530269", "0.530269", "0.5289751", "0.52885824", "0.5264387", "0.52549034", "0.5214572", "0.5209728", "0.5199234", "0.5189028", "0.51880175", ...
0.0
-1
Decreases the duration of the Battleeffect. If it goes down to 0, it deactivates itself, adds a deactivation Battlemessage and waits for Battle>__sleep to be destroyed "Override" and extend by SpecialnessBehavior classes as necessary
public function reactToOnAfterRound($event) { $this->turns --; if($this->turns == 0) { $this->active = 0; $battleMsg = new Battlemessage($this->msgExpire); $event->sender->log($event->sender->{$this->heroString}, $battleMsg); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function __sleep() {\n if($this->type == \"pvp\") {\n $this->combatantA = null;\n $this->combatantB = null;\n } else {\n $this->combatantA = null;\n }\n \n /**\n * This is ugly, but you can't remove items from a CList while cycling ...
[ "0.5949376", "0.5801382", "0.56009173", "0.53549796", "0.5175458", "0.50683063", "0.50561994", "0.50533324", "0.49883172", "0.48984522", "0.48702496", "0.48558253", "0.4852387", "0.4848656", "0.4838531", "0.4831737", "0.48237774", "0.48237774", "0.48237774", "0.48237774", "0....
0.4648572
38
Checks if a battle action is blocked by this Battleeffect If buff: Block enemy's actions; if debuff: block hero's actions "Override" and extend by SpecialnessBehavior classes as necessary
public function reactToOnBeforeAction($event) { if($this->blocks && $this->active && !$event->action->blocked && $event->action->battlePhase == "offense" && ($this->buff == ($event->sender->getCombatantString($event->hero) == $this->enemyString))) { if($this->blockChance != 1) { $rand = mt_rand(0,100); if($rand > $this->blockChance * 100) { return; } } if($event->action->call("setBlocked")) { $this->charges --; $battleMsg = new Battlemessage($this->call("getMsgBlock")); $event->sender->log($event->hero, $battleMsg); if($this->charges == 0) { $this->active = false; $battleMsg = new Battlemessage($this->msgExpire); $event->sender->log($event->hero, $battleMsg); } } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function attack()\n {\n $this->tempAttackerStats = $this->attacker->stats;\n $this->tempDefenderStats = $this->defender->stats;\n\n // 1. Before hit check, apply all luck modifying skills\n $skills = array_filter($this->attacker->character->skills, function (Skill $skill) {\n...
[ "0.5783276", "0.5361477", "0.5286241", "0.5276812", "0.51689386", "0.5086634", "0.5077476", "0.50732356", "0.50585276", "0.50259596", "0.50109994", "0.50036454", "0.49991325", "0.4981347", "0.4973806", "0.4952765", "0.493337", "0.49172273", "0.49167368", "0.4907985", "0.48989...
0.58765244
0
Empty event handler. Only there to have a fallback function if a SpecialnessBehavior class does not provide it. "Override" and extend by SpecialnessBehavior classes as necessary
public function reactToOnAfterAction($event) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract function HookEvents();", "public static function usesCustomHandler();", "public function shouldntRaiseAnEvent()\n {\n }", "public function behaviors() {\n return array(\"application.components.SpecialnessBehavior\");\n }", "final public function onOutOfBand (): void {\n // d...
[ "0.57540596", "0.5727323", "0.57113004", "0.5701299", "0.56790817", "0.5578631", "0.54766786", "0.54480755", "0.5348219", "0.5329564", "0.530385", "0.530385", "0.5289556", "0.5289252", "0.52645624", "0.52549374", "0.5215005", "0.5209896", "0.51986986", "0.5188996", "0.5188425...
0.0
-1
Empty event handler. Only there to have a fallback function if a SpecialnessBehavior class does not provide it. "Override" and extend by SpecialnessBehavior classes as necessary
public function reactToOnBeforeDealDamage($event) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract function HookEvents();", "public static function usesCustomHandler();", "public function shouldntRaiseAnEvent()\n {\n }", "public function behaviors() {\n return array(\"application.components.SpecialnessBehavior\");\n }", "final public function onOutOfBand (): void {\n // d...
[ "0.57549065", "0.572741", "0.57116985", "0.57023585", "0.56787324", "0.557894", "0.5477127", "0.5449194", "0.5348193", "0.5329303", "0.530269", "0.530269", "0.5289751", "0.52885824", "0.5264387", "0.52549034", "0.5209728", "0.5199234", "0.5189028", "0.51880175", "0.51523566",...
0.5214572
16
Empty event handler. Only there to have a fallback function if a SpecialnessBehavior class does not provide it. "Override" and extend by SpecialnessBehavior classes as necessary
public function reactToOnAfterDealtDamage($event) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract function HookEvents();", "public static function usesCustomHandler();", "public function shouldntRaiseAnEvent()\n {\n }", "public function behaviors() {\n return array(\"application.components.SpecialnessBehavior\");\n }", "final public function onOutOfBand (): void {\n // d...
[ "0.57549065", "0.572741", "0.57116985", "0.57023585", "0.56787324", "0.557894", "0.5477127", "0.5449194", "0.5348193", "0.5329303", "0.530269", "0.530269", "0.5289751", "0.52885824", "0.5264387", "0.52549034", "0.5214572", "0.5209728", "0.5199234", "0.5189028", "0.51880175", ...
0.0
-1
Empty event handler. Only there to have a fallback function if a SpecialnessBehavior class does not provide it. "Override" and extend by SpecialnessBehavior classes as necessary
public function reactToOnBeforeTakingDamage($event) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract function HookEvents();", "public static function usesCustomHandler();", "public function shouldntRaiseAnEvent()\n {\n }", "public function behaviors() {\n return array(\"application.components.SpecialnessBehavior\");\n }", "final public function onOutOfBand (): void {\n // d...
[ "0.57549065", "0.572741", "0.57116985", "0.57023585", "0.56787324", "0.557894", "0.5477127", "0.5449194", "0.5348193", "0.5329303", "0.530269", "0.530269", "0.5289751", "0.52885824", "0.5264387", "0.52549034", "0.5214572", "0.5209728", "0.5199234", "0.5189028", "0.51880175", ...
0.48759848
36
Empty event handler. Only there to have a fallback function if a SpecialnessBehavior class does not provide it. "Override" and extend by SpecialnessBehavior classes as necessary
public function reactToOnAfterTakingDamage($event) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract function HookEvents();", "public static function usesCustomHandler();", "public function shouldntRaiseAnEvent()\n {\n }", "public function behaviors() {\n return array(\"application.components.SpecialnessBehavior\");\n }", "final public function onOutOfBand (): void {\n // d...
[ "0.57540596", "0.5727323", "0.57113004", "0.5701299", "0.56790817", "0.5578631", "0.54766786", "0.54480755", "0.5348219", "0.5329564", "0.530385", "0.530385", "0.5289556", "0.5289252", "0.52645624", "0.52549374", "0.5215005", "0.5209896", "0.51986986", "0.5188996", "0.5188425...
0.0
-1
Returns a list of CBehaviors to be attached to this Model
public function behaviors() { return array("application.components.SpecialnessBehavior"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function behaviors() {\n\t\treturn $this->Behaviors;\n\t}", "public function getBehaviors()\n {\n return array(\n 'log' => array (\n),\n 'adderror' => array (\n),\n 'utils' => array (\n),\n );\n }", "public function getBehaviors()\n {\n r...
[ "0.8009588", "0.7839868", "0.780444", "0.7443945", "0.7443945", "0.7443945", "0.7443945", "0.7443945", "0.7443945", "0.7443945", "0.7443945", "0.7443945", "0.74065214", "0.73934823", "0.72787577", "0.7253186", "0.7253186", "0.7211261", "0.7206979", "0.7179388", "0.71209157", ...
0.65692294
36
Factory method to get Model objects
public static function model($className=__CLASS__) { return parent::model($className); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected function modelFactory();", "protected static function getModel()\n {\n $modelName = get_called_class();\n $model = new $modelName();\n $model->setFetchMode(\\Phalcon\\Db::FETCH_OBJ);\n return $model;\n }", "public static function model()\n {\n retu...
[ "0.8138668", "0.73691905", "0.7292686", "0.7284232", "0.7215549", "0.72005635", "0.71583873", "0.7102406", "0.708645", "0.7084505", "0.70818114", "0.70503384", "0.70439637", "0.70132804", "0.7010717", "0.7010717", "0.7010717", "0.7010717", "0.6996837", "0.6996837", "0.6976247...
0.0
-1
To get Votes w.r.t an Enroller Id
public function votes() : hasMany { return $this->hasMany(Vote::class); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function getVoterVotes($id){\n\t\t\t\n\t\t\t$url = \"https://www.govtrack.us/api/v2/vote_voter?vote=$id&limit=500\";\n\t\t\treturn json_decode(file_get_contents($url));\n\t\t\t\n\t\t}", "function getVotes(){\n\t\t\t$date = date(\"Y-m-d\", strtotime(\"-1 day\"));\n\t\t\t$url = \"https://www.govtrack.us/api/v2/vot...
[ "0.6557441", "0.6163091", "0.6078227", "0.5746624", "0.57403666", "0.566556", "0.56401616", "0.5518212", "0.5515898", "0.5512432", "0.5499127", "0.54756826", "0.54738533", "0.54492134", "0.54444546", "0.5424095", "0.54217297", "0.54177743", "0.5390697", "0.5328425", "0.526830...
0.0
-1
The menu shall be shown to users in role 'editor' and 'administrator'.
public function get_aacp_backend() { // I don't know how to manage this other than using this capability, which // is used for both roles. $capability = 'moderate_comments'; add_menu_page( 'AACP Settings', 'AACP Settings', $capability, 'aacp-settings', array( $this, 'aacp_settings_page' ), 'dashicons-update' ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function lgm_theme_edit_editor_menu() {\n\t if( current_user_can('editor')) {\n\t /*MENU*/\n\t remove_menu_page( 'tools.php' );\n\t remove_menu_page( 'themes.php' );\n\t remove_menu_page( 'edit-comments.php' );\n\t /*SOUSMENU*/\n\n\t /*AJOUT ...
[ "0.7492707", "0.7216009", "0.699389", "0.68960935", "0.687454", "0.68223417", "0.675822", "0.6720738", "0.6685212", "0.66504407", "0.665011", "0.6642993", "0.6636951", "0.6624392", "0.6622494", "0.6594268", "0.6591349", "0.6561748", "0.6556097", "0.65332735", "0.6517953", "...
0.0
-1
Constructor, create a minimal Recipient object.
public function __construct(string $email = null, string $label = null, string $notificationURL = null) { $this->_email = $email; $this->_label = $label; $this->_notificationURL = $notificationURL; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function __construct( $recipient = null ) {\n\t\tif ( null !== $recipient ) {\n\t\t\t$this->set( $recipient );\n\t\t}\n\t}", "function __construct($sender)\r\n {\r\n $this->sender = $sender;\r\n $this->recipients = array(); \r\n }", "public function testConstructor()\n ...
[ "0.6656643", "0.6610976", "0.65577084", "0.6472757", "0.6421481", "0.6348695", "0.6306467", "0.6251115", "0.59682626", "0.5943772", "0.5910265", "0.590641", "0.5845137", "0.58096915", "0.58089703", "0.57890713", "0.57832545", "0.5773239", "0.5717753", "0.5717753", "0.5717753"...
0.0
-1
Listens for messages from the socket and handles the responses/actions needed.
public function handle(array $defaultContext = []): void { $message = null; $this->defaultContext = $defaultContext; try { while ($message = $this->queue->getMessage()) { $this->dispatchRequest($message); # If a protocol handler closed the TCP connection, then just break here... if (!$this->queue->isConnected()) { break; } } } catch (OperationException $e) { # OperationExceptions may be thrown by any handler and will be sent back to the client as the response # specific error code and message associated with the exception. $this->queue->sendMessage($this->responseFactory->getStandardResponse( $message, $e->getCode(), $e->getMessage() )); } catch (ConnectionException $e) { $this->logInfo( 'Ending LDAP client due to client connection issues.', array_merge( ['message' => $e->getMessage()], $this->defaultContext ) ); } catch (EncoderException | ProtocolException $e) { # Per RFC 4511, 4.1.1 if the PDU cannot be parsed or is otherwise malformed a disconnect should be sent with a # result code of protocol error. $this->sendNoticeOfDisconnect('The message encoding is malformed.'); $this->logError( 'The client sent a malformed request. Terminating their connection.', $this->defaultContext ); } catch (Exception | Throwable $e) { $this->logError( 'An unexpected exception was caught while handling the client. Terminating their connection.', array_merge( $this->defaultContext, ['exception' => $e] ) ); if ($this->queue->isConnected()) { $this->sendNoticeOfDisconnect(); } } finally { if ($this->queue->isConnected()) { $this->queue->close(); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function listen()\n {\n do {\n $data = fgets($this->socket, 512);\n if (!empty($data)) {\n $request = $this->receive($data);\n $cmd = strtolower($request->getCommand());\n\n if ($cmd === 'privmsg') {\n ...
[ "0.835913", "0.7538819", "0.68974656", "0.6760791", "0.6750277", "0.66015685", "0.65827245", "0.6569336", "0.6563922", "0.6533243", "0.6479019", "0.64303935", "0.632928", "0.6328377", "0.63115287", "0.6282755", "0.62582165", "0.6140287", "0.6118816", "0.60735846", "0.6062565"...
0.0
-1
Used asynchronously to end a client session when the server process is shutting down.
public function shutdown(array $context = []): void { $this->sendNoticeOfDisconnect( 'The server is shutting down.', ResultCode::UNAVAILABLE ); $this->queue->close(); $this->logInfo( 'Sent notice of disconnect to client and closed the connection.', $context ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function close()\n {\n $this->_client->endSession($this->_session);\n }", "public function quit() {\n if ($this->client) {\n $this->client->quit();\n }\n }", "public function disconnect()\n {\n $this->client->close();\n }", "public function shutdow...
[ "0.69729865", "0.67111415", "0.6370241", "0.61782974", "0.61782974", "0.6175588", "0.6137207", "0.6137207", "0.6137207", "0.6137207", "0.6137207", "0.60816854", "0.6079114", "0.6077686", "0.606116", "0.6059999", "0.60517514", "0.60327137", "0.60099095", "0.59980047", "0.59951...
0.5760764
34
Routes requests from the message queue based off the current authorization state and what protocol handler the request is mapped to.
protected function dispatchRequest(LdapMessageRequest $message): void { if (!$this->isValidRequest($message)) { return; } $this->messageIds[] = $message->getMessageId(); # Send auth requests to the specific handler for it... if ($this->authorizer->isAuthenticationRequest($message->getRequest())) { $this->authorizer->setToken($this->handleAuthRequest($message)); return; } $request = $message->getRequest(); $handler = $this->protocolHandlerFactory->get( $request, $message->controls() ); # They are authenticated or authentication is not required, so pass the request along... if ($this->authorizer->isAuthenticated() || !$this->authorizer->isAuthenticationRequired($request)) { $handler->handleRequest( $message, $this->authorizer->getToken(), $this->handlerFactory->makeRequestHandler(), $this->queue, $this->options ); # Authentication is required, but they have not authenticated... } else { $this->queue->sendMessage($this->responseFactory->getStandardResponse( $message, ResultCode::INSUFFICIENT_ACCESS_RIGHTS, 'Authentication required.' )); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function beforeRoutingMiddleWare()\n {\n if (isset($this->before[$_SERVER['REQUEST_METHOD']])) {\n $this->handle($this->before[$_SERVER['REQUEST_METHOD']]);\n }\n }", "private static function runDispatcher()\n {\n if (self::$groupHalt || self::$halts) {\n ...
[ "0.5892556", "0.56021845", "0.55596864", "0.5546113", "0.5518553", "0.5489541", "0.5473459", "0.5414586", "0.5366478", "0.53508157", "0.5321542", "0.5315449", "0.5286896", "0.5268917", "0.52593595", "0.5256602", "0.5251807", "0.52385813", "0.5226879", "0.5196391", "0.5190374"...
0.52849
13
Checks that the message ID is valid. It cannot be zero or a message ID that was already used.
protected function isValidRequest(LdapMessageRequest $message): bool { if ($message->getMessageId() === 0) { $this->queue->sendMessage($this->responseFactory->getExtendedError( 'The message ID 0 cannot be used in a client request.', ResultCode::PROTOCOL_ERROR )); return false; } if (in_array($message->getMessageId(), $this->messageIds, true)) { $this->queue->sendMessage($this->responseFactory->getExtendedError( sprintf('The message ID %s is not valid.', $message->getMessageId()), ResultCode::PROTOCOL_ERROR )); return false; } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function checkID(&$inMessage = '') {\n\t\t$isValid = true;\n\t\tif ( !is_numeric($this->_ID) && $this->_ID !== 0 ) {\n\t\t\t$inMessage .= \"{$this->_ID} is not a valid value for ID\";\n\t\t\t$isValid = false;\n\t\t}\n\t\treturn $isValid;\n\t}", "protected function checkID(&$inMessage = '') {\n\t\t$isVa...
[ "0.77930003", "0.77930003", "0.77930003", "0.679712", "0.6781004", "0.6779849", "0.65859747", "0.6568991", "0.6420011", "0.6385268", "0.63621074", "0.63200504", "0.62524426", "0.62411964", "0.62179273", "0.61943597", "0.6186127", "0.61554587", "0.6150058", "0.61460346", "0.61...
0.5506575
66
Sends a bind request to the bind handler and returns the token.
protected function handleAuthRequest(LdapMessageRequest $message): TokenInterface { if (!$this->authorizer->isAuthenticationTypeSupported($message->getRequest())) { throw new OperationException( 'The requested authentication type is not supported.', ResultCode::AUTH_METHOD_UNSUPPORTED ); } return $this->bindHandlerFactory->get($message->getRequest())->handleBind( $message, $this->handlerFactory->makeRequestHandler(), $this->queue, $this->options ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected static function bind() {}", "public function getBind();", "public function getBind(string $name): mixed;", "public function getBind() {\n return $this->aBind;\n }", "public function getBindVariableName() {}", "public function getBindVariableName();", "function getBindVariableName() ...
[ "0.5810081", "0.5729396", "0.5453172", "0.5432479", "0.52244586", "0.51836944", "0.5167909", "0.50051683", "0.49391276", "0.48240218", "0.48161474", "0.4695256", "0.46449715", "0.4605994", "0.45890018", "0.4575535", "0.45727807", "0.45503092", "0.45051137", "0.4475204", "0.44...
0.40484104
63
Transform post resource to array.
public function toArray($request): array { return [ 'id' => $this->id, 'group_id' => $this->group_id, 'title' => $this->title, 'summary' => $this->summary, 'image' => $this->whenLoaded('images', function () { return $this->images->first()->id ?? new MissingValue(); }), ]; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getPost(): array;", "protected function getArrPost()\n {\n return $this->getServices()\n ->get(\\Application\\Service\\ServiceJsonPostRequest::class)\n ->setObjRequest(\n $this->getRequest()\n )\n ->getJsonPost();\n }", "pu...
[ "0.6997886", "0.6973491", "0.68454516", "0.6773124", "0.6758096", "0.6758096", "0.65154237", "0.6448192", "0.64429927", "0.6379018", "0.6351611", "0.63337225", "0.6281879", "0.6266711", "0.624787", "0.62457824", "0.62418526", "0.6219744", "0.6206007", "0.6205567", "0.61802965...
0.5984859
78
Cleanup the input and remove unnecessary characters
public function clean(string $input): string { $input = trim($input); $input = str_replace('-', '', $input); return preg_replace('/[^A-Za-z0-9\-]/', '', $input); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function strip_bad_chars( $input ) {\n $output = preg_replace( \"/[^a-zA-Z0-9_-]/\", \"\", $input );\n return $output;\n }", "public function filterInput(string $input) : string {\n return trim(preg_replace('/[^a-zA-Z0-9\\s]/', '',$input));\t\n }", "function StringInputCleaner($data) {\n\t//remo...
[ "0.74892014", "0.7423281", "0.740179", "0.740179", "0.7243291", "0.7222329", "0.7218614", "0.71814764", "0.71779615", "0.71224767", "0.7116631", "0.71158797", "0.70891815", "0.7013357", "0.69831806", "0.69817287", "0.6974286", "0.69566685", "0.69057447", "0.6880208", "0.68721...
0.6688033
48
Get the cas general.
public function getCasGeneral() { return $this->casGeneral; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function GetGeneral(){\r\r\n\t\treturn self::$general;\r\r\n\t}", "public function setCasGeneral($casGeneral) {\n $this->casGeneral = $casGeneral;\n return $this;\n }", "public function getCasKonec()\n {\n return $this->cas_konec;\n }", "public function getProdGeneral()\n...
[ "0.633392", "0.6318595", "0.5409211", "0.52573943", "0.5230733", "0.5213706", "0.5152318", "0.50966704", "0.503519", "0.5013966", "0.4983723", "0.49139723", "0.49107486", "0.49010175", "0.48332527", "0.48034492", "0.4790462", "0.4786852", "0.47512", "0.4750631", "0.473891", ...
0.8459706
0
Get the cas particulier.
public function getCasParticulier() { return $this->casParticulier; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getCasGeneral() {\n return $this->casGeneral;\n }", "public function getCompte()\n {\n return $this->compte;\n }", "public function getCouleur()\n {\n return $this->couleur;\n }", "public function getCasKonec()\n {\n return $this->cas_konec;\n ...
[ "0.6405096", "0.59782565", "0.5962028", "0.5926583", "0.5914043", "0.5906814", "0.58201253", "0.58201253", "0.57620597", "0.5753108", "0.5727857", "0.57263404", "0.57148445", "0.5708429", "0.5708429", "0.5687175", "0.56838506", "0.5646992", "0.56384844", "0.56322414", "0.5566...
0.7487219
0
Get the categorie sal.
public function getCategorieSal() { return $this->categorieSal; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getCategoria()\n {\n return $this->categoria;\n }", "public function getCategoria()\n {\n return $this->categoria;\n }", "public function getCategoria()\n {\n return $this->categoria;\n }", "public function get_categorie(){\n\t\treturn $t...
[ "0.7529514", "0.75197506", "0.75197506", "0.7384365", "0.73526245", "0.7218605", "0.7062545", "0.7048052", "0.701572", "0.69436413", "0.69364935", "0.6917824", "0.6910216", "0.6910216", "0.6868139", "0.6855592", "0.6791043", "0.67451745", "0.6710636", "0.6710636", "0.67004937...
0.83384925
0
Get the code etablissement.
public function getCodeEtablissement() { return $this->codeEtablissement; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getCode()\n {\n return $this->__get(\"code\");\n }", "public function get_code() {\n\t\treturn $this->code;\n\t}", "function getCode()\n {\n return $this->code;\n }", "public function getCode()\n {\n return $this->getValueObject('code');\n }", "publi...
[ "0.77920943", "0.77684504", "0.77357835", "0.7726078", "0.7698331", "0.769732", "0.7676686", "0.7676686", "0.7676686", "0.7676686", "0.7676686", "0.7676686", "0.7676686", "0.7676686", "0.7676686", "0.7676686", "0.7676686", "0.7676686", "0.7676686", "0.7676686", "0.7676686", ...
0.7969973
1
Get the date debut paternite.
public function getDateDebutPaternite() { return $this->dateDebutPaternite; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getDateDebut();", "public function getDateDebut() {\n\t\t\t$d = DateTime::createFromFormat(\"Y-m-d\", $this->attributs['dateDebut']);\n\t\t\tif ($d == false)\n\t\t\t\tdie(\"date de début '\".$this->attributs['dateDebut'].\"' non valide pour être une date\");\n\t\t\treturn $d;\n\t\t}", "function...
[ "0.7539114", "0.7094053", "0.66743064", "0.65799296", "0.65707743", "0.6541628", "0.6504244", "0.64483064", "0.63986385", "0.63628274", "0.63628274", "0.6350492", "0.63423914", "0.6299575", "0.62929595", "0.62209624", "0.61026835", "0.6098385", "0.6092148", "0.6084089", "0.60...
0.7957948
0
Get the date dern j mens.
public function getDateDernJMens() { return $this->dateDernJMens; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function dateDuJour(){\n return date(\"Y-m-d\");\n }", "private function date()\n {\n $pubDate = $this->article->Journal->JournalIssue->PubDate;\n \n if (isset($pubDate->MedlineDate)) {\n $date = (string)$pubDate->MedlineDate;\n } else {\n $date = implode(' ', (array)$pub...
[ "0.71765035", "0.70300925", "0.69429415", "0.6863526", "0.6855328", "0.68510115", "0.67375946", "0.67157745", "0.6676103", "0.6643525", "0.6634751", "0.6634751", "0.6634751", "0.6620606", "0.6607247", "0.6591757", "0.65773994", "0.6558014", "0.65494514", "0.6533421", "0.65334...
0.66895247
8
Get the date naissance employe.
public function getDateNaissanceEmploye() { return $this->dateNaissanceEmploye; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getDateNaissanceEnfant() {\n return $this->dateNaissanceEnfant;\n }", "public function getDateNaissance()\n {\n return $this->date_naissance;\n }", "public function getDateEmprunt()\n {\n return $this->dateEmprunt;\n }", "public function getDateNaissance() ...
[ "0.7243417", "0.7177636", "0.7153885", "0.71016335", "0.70923674", "0.6991168", "0.68874466", "0.66628057", "0.6595865", "0.64287716", "0.6417571", "0.6311442", "0.62785", "0.62435293", "0.62262625", "0.6182001", "0.61490434", "0.61438185", "0.6134532", "0.61174935", "0.61091...
0.853909
0
Get the date naissance enfant.
public function getDateNaissanceEnfant() { return $this->dateNaissanceEnfant; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getDateNaiss()\n {\n return $this->dateNaiss;\n }", "public function getDateNaissance()\n {\n return $this->date_naissance;\n }", "public function getDateNaissanceEmploye() {\n return $this->dateNaissanceEmploye;\n }", "public function getDatenaissance()\n {\n ...
[ "0.7512473", "0.75080717", "0.7395183", "0.73594064", "0.7337562", "0.7324058", "0.72760427", "0.7159078", "0.7054945", "0.7036829", "0.68552494", "0.68008226", "0.67763877", "0.6747776", "0.6722611", "0.6709568", "0.6709434", "0.66936415", "0.6635982", "0.66233915", "0.66118...
0.8442179
0
Get the dern j.
public function getDernJ() { return $this->dernJ; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function getJour()\n{\nreturn substr($this->getDateSysteme(), 8, 2);\t\n}", "public function getJadwalDdtk()\n {\n return $this->jadwal_ddtk;\n }", "public function getDateDernJMens() {\n return $this->dateDernJMens;\n }", "function JD($year, $month, $day)\n {\n // ref:...
[ "0.69270754", "0.62822056", "0.6098791", "0.60705477", "0.60369456", "0.5831282", "0.5827111", "0.5782242", "0.5692093", "0.5647546", "0.5601024", "0.55979085", "0.5578962", "0.55594116", "0.5530348", "0.55302525", "0.54943615", "0.54936814", "0.5488831", "0.5473183", "0.5458...
0.8037811
0
Get the dispense travail.
public function getDispenseTravail() { return $this->dispenseTravail; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getTravailTemp() {\n return $this->travailTemp;\n }", "public function setDispenseTravail($dispenseTravail) {\n $this->dispenseTravail = $dispenseTravail;\n return $this;\n }", "public function getCodeMedecineTravail() {\n return $this->codeMedecineTravail;\n ...
[ "0.6525956", "0.6442547", "0.62703556", "0.6174497", "0.58505577", "0.58198637", "0.5750352", "0.5749795", "0.5731538", "0.5731538", "0.56425065", "0.5496034", "0.5486302", "0.54676", "0.54676", "0.54338205", "0.5422359", "0.54079294", "0.53944284", "0.5391913", "0.5383659", ...
0.8750044
0
Get the etbl adresse1.
public function getEtblAdresse1() { return $this->etblAdresse1; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getEtblAdresse2() {\n return $this->etblAdresse2;\n }", "public function getEtblAdresse2() {\n return $this->etblAdresse2;\n }", "public function getAddress1()\n {\n return $this->fv_address1;\n }", "public function getEmpAdresse1() {\n return $this->em...
[ "0.73686236", "0.73686236", "0.71714777", "0.7094793", "0.7007656", "0.6930471", "0.6909322", "0.6909322", "0.6900906", "0.67263323", "0.66795975", "0.6645541", "0.66182274", "0.66182274", "0.65734017", "0.6533087", "0.6385606", "0.63059896", "0.62818587", "0.6278872", "0.627...
0.80821997
1
Get the etbl adresse2.
public function getEtblAdresse2() { return $this->etblAdresse2; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getAddress2()\n {\n\n return $this->fv_address2;\n }", "public function getAddress2()\n\t{\n\t\treturn $this->address2;\n\t}", "public function getEtblAdresse1() {\n return $this->etblAdresse1;\n }", "public function getEtblAdresse1() {\n return $this->etblAdress...
[ "0.7431549", "0.73629504", "0.7295891", "0.7295891", "0.723625", "0.71854764", "0.71854764", "0.71854764", "0.71709996", "0.7154719", "0.71006495", "0.70446587", "0.69195265", "0.68635994", "0.68282074", "0.6732893", "0.6732893", "0.6698613", "0.655096", "0.6514884", "0.64299...
0.82021344
1
Get the etbl adresse3.
public function getEtblAdresse3() { return $this->etblAdresse3; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getAddressLine3(): ?string;", "public function getEtblAdresse2() {\n return $this->etblAdresse2;\n }", "public function getEtblAdresse2() {\n return $this->etblAdresse2;\n }", "public function setEtblAdresse3($etblAdresse3) {\n $this->etblAdresse3 = $etblAdresse3;\n...
[ "0.6737898", "0.6538779", "0.6538779", "0.6535877", "0.651964", "0.651964", "0.5945514", "0.588931", "0.5858207", "0.5842814", "0.57581216", "0.5730754", "0.5711425", "0.5711425", "0.5709995", "0.5687225", "0.56675434", "0.5667391", "0.56423074", "0.5632281", "0.5622185", "...
0.8108999
0
Get the etbl raison sociale.
public function getEtblRaisonSociale() { return $this->etblRaisonSociale; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getRaisonSociale(): ?string {\n return $this->raisonSociale;\n }", "public function getRELIGION()\r\n {\r\n return $this->RELIGION;\r\n }", "public function getRoe()\n {\n return $this->roe;\n }", "public function getLibelleEcr() {\n return $this->li...
[ "0.63757163", "0.62943554", "0.6279772", "0.61899835", "0.6187282", "0.61674", "0.6153965", "0.6150915", "0.6102437", "0.6083804", "0.6019967", "0.5985366", "0.5972386", "0.5893089", "0.58350533", "0.581507", "0.58088726", "0.5792924", "0.57837355", "0.57773775", "0.5755186",...
0.7177869
1
Get the etbl tel.
public function getEtblTel() { return $this->etblTel; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getTel()\n {\n return $this->tel;\n }", "public function getTel()\n {\n return $this->tel;\n }", "public function getTel()\n {\n return $this->tel;\n }", "public function getTel()\n {\n return $this->tel;\n }", "public function getTel()\n ...
[ "0.7857775", "0.7857775", "0.7857775", "0.7857775", "0.7819503", "0.7751758", "0.7387757", "0.6645414", "0.6611341", "0.6595298", "0.6595298", "0.6390126", "0.6331194", "0.62941515", "0.61949635", "0.6172509", "0.61381674", "0.608239", "0.608111", "0.60134804", "0.600996", ...
0.8216661
1
Get the intitule compte.
public function getIntituleCompte() { return $this->intituleCompte; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getCompte()\n {\n return $this->compte;\n }", "public static function getCompteur() {\n return self::$_compteur;\n }", "public function getComplemento() {\n return $this->sComplemento;\n }", "public function getComplemento() {\n return $this->sComplemento;\n }", ...
[ "0.7726448", "0.7607681", "0.6796081", "0.67921114", "0.67636853", "0.65694416", "0.6445466", "0.638061", "0.6252318", "0.6220353", "0.6214302", "0.6205332", "0.61990476", "0.61990476", "0.6189939", "0.6110333", "0.6097744", "0.6069794", "0.6063932", "0.60314196", "0.60282296...
0.8354833
0
Get the lien document.
public function getLienDocument() { return $this->lienDocument; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getDocument();", "public function getLsDoc(): LsDoc\n {\n return $this->lsDoc;\n }", "public function getDocument() {}", "public function getDocument() {}", "public function getDocument() {}", "public function getDocument() {}", "public function getDocument() {}", "public...
[ "0.75110435", "0.75063765", "0.7443984", "0.7443984", "0.7443984", "0.7443984", "0.7443984", "0.7443984", "0.7443984", "0.7443984", "0.7443984", "0.7443984", "0.74431276", "0.74431276", "0.74431276", "0.74431276", "0.71706945", "0.7078364", "0.6923381", "0.6898293", "0.688545...
0.7998953
3
Get the montant general.
public function getMontantGeneral() { return $this->montantGeneral; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getMontant()\n {\n return $this->montant;\n }", "public function getMontant()\n {\n return $this->montant;\n }", "public function getMontant() {\n return $this->montant;\n }", "public function getMontantTva() {\n return $this->montantTva;\n }", "publi...
[ "0.7356934", "0.7356934", "0.733964", "0.69096184", "0.661266", "0.6604905", "0.655474", "0.63536555", "0.6299388", "0.6198498", "0.6168159", "0.6161563", "0.61235964", "0.6098129", "0.6092286", "0.60855985", "0.60425824", "0.6024673", "0.5994141", "0.5930417", "0.58527297", ...
0.8537222
0
Get the montant particulier.
public function getMontantParticulier() { return $this->montantParticulier; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getMontant()\n {\n return $this->montant;\n }", "public function getMontant()\n {\n return $this->montant;\n }", "public function getMontant() {\n return $this->montant;\n }", "public function getMontant_vente()\n {\n return $this->montant_vente;\n }...
[ "0.7361016", "0.7361016", "0.7310926", "0.6805924", "0.6554442", "0.64709204", "0.6429309", "0.64190423", "0.63975674", "0.62538606", "0.6220548", "0.61932486", "0.6186035", "0.6182788", "0.60515356", "0.6046053", "0.60227406", "0.5927286", "0.5813694", "0.58095413", "0.57879...
0.8145472
0
Get the mt cg euro ou franc.
public function getMtCgEuroOuFranc() { return $this->mtCgEuroOuFranc; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getMtCpEuroOuFranc() {\n return $this->mtCpEuroOuFranc;\n }", "function getUTM()\r\n\t{\r\n\t\t// get UTM letter\r\n\t\tif ( $this->nLat <= 84.0 && $this->nLat >= 72.0 )\r\n\t\t\t$utmLetter = 'X';\r\n\t\telse if ( $this->nLat < 72.0 && $this->nLat >= 64.0 )\r\n\t\t\t$utmLetter = 'W';\r\...
[ "0.7239235", "0.6447964", "0.6013873", "0.5902233", "0.58915937", "0.58721757", "0.58065593", "0.5778419", "0.5713487", "0.57025003", "0.5689995", "0.5686294", "0.56852114", "0.56698525", "0.5660657", "0.56601804", "0.5616415", "0.56086683", "0.55599755", "0.55382174", "0.553...
0.7987385
0
Get the mt cp euro ou franc.
public function getMtCpEuroOuFranc() { return $this->mtCpEuroOuFranc; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getMtCgEuroOuFranc() {\n return $this->mtCgEuroOuFranc;\n }", "function getUTM()\r\n\t{\r\n\t\t// get UTM letter\r\n\t\tif ( $this->nLat <= 84.0 && $this->nLat >= 72.0 )\r\n\t\t\t$utmLetter = 'X';\r\n\t\telse if ( $this->nLat < 72.0 && $this->nLat >= 64.0 )\r\n\t\t\t$utmLetter = 'W';\r\...
[ "0.7303341", "0.6151648", "0.59112823", "0.59112823", "0.58921427", "0.5857651", "0.57863796", "0.57562053", "0.5701888", "0.57016164", "0.56658584", "0.56259066", "0.5622929", "0.5614875", "0.5596929", "0.55920243", "0.5576041", "0.55584407", "0.5552015", "0.55389225", "0.55...
0.77591896
0
Get the mt sal brut moins150 h.
public function getMtSalBrutMoins150H() { return $this->mtSalBrutMoins150H; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getMtSalBrutMoins600H() {\n return $this->mtSalBrutMoins600H;\n }", "public function setMtSalBrutMoins150H($mtSalBrutMoins150H) {\n $this->mtSalBrutMoins150H = $mtSalBrutMoins150H;\n return $this;\n }", "public function setMtSalBrutMoins600H($mtSalBrutMoins600H) {\n ...
[ "0.81284815", "0.6787421", "0.6590257", "0.6509527", "0.63265646", "0.6245734", "0.61465055", "0.5902071", "0.5826885", "0.5670488", "0.5658322", "0.56055933", "0.5595796", "0.5577867", "0.5561614", "0.5556528", "0.55257803", "0.550007", "0.54830927", "0.5477087", "0.5459695"...
0.85886776
0
Get the mt sal brut moins600 h.
public function getMtSalBrutMoins600H() { return $this->mtSalBrutMoins600H; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getMtSalBrutMoins150H() {\n return $this->mtSalBrutMoins150H;\n }", "public function setMtSalBrutMoins600H($mtSalBrutMoins600H) {\n $this->mtSalBrutMoins600H = $mtSalBrutMoins600H;\n return $this;\n }", "public function getMontantHt() {\n return $this->montantH...
[ "0.7991754", "0.69580823", "0.6549752", "0.6384018", "0.63254356", "0.6122387", "0.6062434", "0.5997521", "0.5906559", "0.5862553", "0.58303183", "0.5773106", "0.574874", "0.57377714", "0.5713431", "0.56413746", "0.5610561", "0.5608987", "0.5590756", "0.5586268", "0.55499065"...
0.8594104
0
Get the nb enfants a charge.
public function getNbEnfantsACharge() { return $this->nbEnfantsACharge; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function get_nbre_conso(){\n\t\tglobal $bd;\n\t\t$req = $bd->query(\"SELECT SUM(nbre) as nbre FROM consommateur WHERE etat = 'present' \");\n\t\t$data = $req->fetch();\n\t\treturn $data['nbre'];\n\t}", "public function getNumagence()\n {\n return $this->numagence;\n }", "public function countAnnon...
[ "0.6371368", "0.62964106", "0.6052738", "0.6006173", "0.5980947", "0.596976", "0.5922395", "0.59219927", "0.58677036", "0.58677036", "0.58534396", "0.5843825", "0.58417386", "0.5831666", "0.5829031", "0.5828441", "0.5828289", "0.57886446", "0.5773589", "0.57651365", "0.573983...
0.7999184
0
Get the nb h cas part.
public function getNbHCasPart() { return $this->nbHCasPart; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getNbHComp(): ?float {\n return $this->nbHComp;\n }", "public function setNbHCasPart($nbHCasPart) {\n $this->nbHCasPart = $nbHCasPart;\n return $this;\n }", "public function getCasParticulier() {\n return $this->casParticulier;\n }", "public function getNb...
[ "0.61633533", "0.60141784", "0.5965054", "0.5647783", "0.56361014", "0.55697083", "0.5543079", "0.5521292", "0.55143315", "0.55112565", "0.54933125", "0.548911", "0.54520077", "0.54520077", "0.5404517", "0.53921574", "0.53872436", "0.537597", "0.5368918", "0.5359181", "0.5353...
0.7604777
0
Get the nb h general.
public function getNbHGeneral() { return $this->nbHGeneral; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getNbreH(): ?float {\n return $this->nbreH;\n }", "public function getNbHn(): ?float {\n return $this->nbHn;\n }", "public function getNbHCasPart() {\n return $this->nbHCasPart;\n }", "public function getNbHComp(): ?float {\n return $this->nbHComp;\n }"...
[ "0.691194", "0.6910423", "0.652079", "0.64660776", "0.64192164", "0.6399246", "0.63817656", "0.62446564", "0.61819834", "0.6166987", "0.6156636", "0.613332", "0.60868144", "0.60518736", "0.60190845", "0.5983249", "0.5969165", "0.5916694", "0.5889797", "0.5873208", "0.5845351"...
0.8188359
0
Get the nom employe.
public function getNomEmploye() { return $this->nomEmploye; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getNom_employeur()\n {\n return $this->nom_employeur;\n }", "public function getNomOpe()\n {\n return $this->nomOpe;\n }", "public function getPrenomEmploye() {\n return $this->prenomEmploye;\n }", "public function getnom() {\n\t\treturn $th...
[ "0.82444847", "0.7580508", "0.753554", "0.73317784", "0.7204508", "0.7172069", "0.71650386", "0.71650386", "0.71539384", "0.7128785", "0.7113142", "0.7097169", "0.70726496", "0.7034418", "0.7034211", "0.7034211", "0.7034211", "0.7034211", "0.7034211", "0.7034211", "0.7034211"...
0.8242671
2
Get the nom marital.
public function getNomMarital() { return $this->nomMarital; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getMarName()\n {\n return $this->mar_name;\n }", "public function getnom() {\n\t\treturn $this->nom;\n\t}", "public function get_nom()\n {\n return $this->_nom;\n }", "public function get_nom()\n {\n return $this->_nom;\n }", "public function getMarca(...
[ "0.75451976", "0.6856713", "0.676108", "0.676108", "0.6754215", "0.6754215", "0.6745942", "0.6705544", "0.6705544", "0.6705544", "0.66755956", "0.665765", "0.6611304", "0.65778106", "0.6573724", "0.65630895", "0.65630895", "0.65630895", "0.65630895", "0.65630895", "0.65630895...
0.85869616
0
Get the non repris.
public function getNonRepris() { return $this->nonRepris; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getIsNot()\n {\n return $this->is_not;\n }", "public function get_nonces()\n {\n }", "public function getNegocio();", "public function isNot()\n {\n return $this->not;\n }", "public function isNot()\n {\n return $this->not;\n }", "publi...
[ "0.713593", "0.70154023", "0.69284344", "0.68762016", "0.68762016", "0.67585933", "0.6708682", "0.6583878", "0.65719026", "0.6499312", "0.6472972", "0.6399451", "0.6399451", "0.6398196", "0.63316065", "0.632114", "0.6303458", "0.6248654", "0.6243233", "0.62087834", "0.6201213...
0.8560331
0
Get the numero attestation.
public function getNumeroAttestation() { return $this->numeroAttestation; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function getNota_num()\n {\n if (!isset($this->inota_num) && !$this->bLoaded) {\n $this->DBCarregar();\n }\n return $this->inota_num;\n }", "function getNota_num()\n {\n if (!isset($this->inota_num) && !$this->bLoaded) {\n $this->DBCarregar();\n }...
[ "0.70694256", "0.70694256", "0.70440537", "0.68899566", "0.67479926", "0.6712988", "0.6705838", "0.66824067", "0.66637766", "0.66637766", "0.65711737", "0.65208066", "0.65086573", "0.64637375", "0.6457996", "0.64385617", "0.64360076", "0.64172006", "0.64063877", "0.6383278", ...
0.8290196
1
Get the numero employe.
public function getNumeroEmploye() { return $this->numeroEmploye; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getNumeroEmploye(): ?string {\n return $this->numeroEmploye;\n }", "public function getNumeroEmploye(): ?string {\n return $this->numeroEmploye;\n }", "public function getNumeroEmploye(): ?string {\n return $this->numeroEmploye;\n }", "public function getNumIdccE...
[ "0.7985699", "0.7985699", "0.7985699", "0.745405", "0.7206008", "0.7206008", "0.7133617", "0.6981954", "0.6930623", "0.6885497", "0.68719757", "0.6778244", "0.67570204", "0.6600428", "0.6591863", "0.6577397", "0.65516317", "0.6545947", "0.6505533", "0.6491053", "0.6491053", ...
0.8668928
2
Get the paiement en euro.
public function getPaiementEnEuro() { return $this->paiementEnEuro; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getPeriodeAu() {\n return $this->periodeAu;\n }", "public function getageEu()\n {\n return $this->age_eu;\n }", "public function getEstudiante( ){\n\t\treturn $this->estudiante;\n\t}", "public function getEmenta()\n {\n return $this->ementa;\n }", "functi...
[ "0.7227349", "0.6815541", "0.6741217", "0.66662127", "0.64591545", "0.64284605", "0.63840413", "0.63298404", "0.63055", "0.6267195", "0.625919", "0.6250906", "0.6235365", "0.62303966", "0.6224446", "0.6203171", "0.62030566", "0.6171438", "0.61695015", "0.61690456", "0.6160544...
0.82457185
0
Get the periode au.
public function getPeriodeAu() { return $this->periodeAu; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getAUMENTOPERDIDA()\r\n {\r\n return $this->AUMENTO_PERDIDA;\r\n }", "public function getPeriodeAttest() {\n return $this->periodeAttest;\n }", "public function getPeriodeDu() {\n return $this->periodeDu;\n }", "public function getPeriodeSubrAu() {\n re...
[ "0.66992366", "0.6658607", "0.66465604", "0.6564719", "0.6554739", "0.6524196", "0.64446896", "0.62972003", "0.6227593", "0.61637557", "0.6120171", "0.6086346", "0.6065454", "0.6022141", "0.59956634", "0.5960413", "0.5953593", "0.5953593", "0.5953593", "0.59309405", "0.593094...
0.7658468
0
Get the periode du.
public function getPeriodeDu() { return $this->periodeDu; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getDpto()\n {\n return $this->dpto;\n }", "public function getPDif()\n {\n return $this->pDif;\n }", "public function getPiD() {\n\t\treturn $this->piD;\n\t}", "public function getDod();", "public function getD()\n {\n return $this->D;\n }", "public ...
[ "0.7177669", "0.6663902", "0.6643879", "0.6570871", "0.65694225", "0.6430316", "0.6358724", "0.63214666", "0.62310416", "0.62294626", "0.6164113", "0.61403644", "0.60642564", "0.6056466", "0.6056466", "0.6056466", "0.60547435", "0.6024933", "0.60013753", "0.5990319", "0.59542...
0.8072781
0
Get the periode subr au.
public function getPeriodeSubrAu() { return $this->periodeSubrAu; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getPeriodeSubrDu() {\n return $this->periodeSubrDu;\n }", "public function getSubrogationPartielle() {\n return $this->subrogationPartielle;\n }", "public function getPeriodeAu() {\n return $this->periodeAu;\n }", "public function getSub()\n {\n return ...
[ "0.76389134", "0.6540315", "0.6364979", "0.63171417", "0.59253764", "0.58969265", "0.58959204", "0.58488697", "0.58325076", "0.5803064", "0.574627", "0.5699839", "0.5680714", "0.5635693", "0.5607816", "0.5586675", "0.5557904", "0.55385256", "0.5529796", "0.55231565", "0.55100...
0.7990897
0
Get the periode subr du.
public function getPeriodeSubrDu() { return $this->periodeSubrDu; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getPeriodeSubrAu() {\n return $this->periodeSubrAu;\n }", "public function getPeriodeDu() {\n return $this->periodeDu;\n }", "public function getSubrogationPartielle() {\n return $this->subrogationPartielle;\n }", "public function getDeptsub()\n\t\t{\n\t\t\tretur...
[ "0.73687637", "0.66268235", "0.62896854", "0.61688894", "0.5923749", "0.5922495", "0.5760629", "0.57078546", "0.5621825", "0.558855", "0.5555366", "0.5522058", "0.5481113", "0.54485965", "0.54478776", "0.54478776", "0.54478776", "0.5385438", "0.5347891", "0.5306937", "0.53069...
0.81561846
0
Get the prenom employe.
public function getPrenomEmploye() { return $this->prenomEmploye; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getEmploye()\n {\n return $this->hasOne(Employe::className(), ['id' => 'employe_id']);\n }", "public function getNomEmploye() {\n return $this->nomEmploye;\n }", "public function getNomEmploye() {\n return $this->nomEmploye;\n }", "public function getEmployeRe...
[ "0.6785702", "0.6683946", "0.6683946", "0.667989", "0.66549647", "0.66549647", "0.66549647", "0.6480769", "0.6435781", "0.64179915", "0.6378953", "0.6378953", "0.63715315", "0.63622564", "0.6318543", "0.63136375", "0.6305812", "0.6284954", "0.6284954", "0.6284954", "0.6270346...
0.78539026
0
Get the reprise motif med.
public function getRepriseMotifMed() { return $this->repriseMotifMed; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getMotifRupture() {\n return $this->motifRupture;\n }", "public function getMedida() {\n return $this->iMedida;\n }", "public function getMotif()\n {\n return $this->motif;\n }", "public function getPrenotazioniMedico() {\n return $this->_prenotazioni;\n }...
[ "0.70896006", "0.6872117", "0.6640547", "0.64759755", "0.6407346", "0.632862", "0.6196713", "0.6128715", "0.6104083", "0.6064797", "0.5994016", "0.58943385", "0.5835735", "0.58093053", "0.5795964", "0.5793903", "0.5789754", "0.57828826", "0.5746337", "0.5746337", "0.5736725",...
0.8177568
0
Get the reprise raison pers.
public function getRepriseRaisonPers() { return $this->repriseRaisonPers; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function get_persR()\n {\n return $this->_persR;\n }", "public function setRepriseRaisonPers($repriseRaisonPers) {\n $this->repriseRaisonPers = $repriseRaisonPers;\n return $this;\n }", "public function getRisks()\n {\n return isset($this->Risks) ? $this->Risks : ...
[ "0.69906235", "0.61914563", "0.58452016", "0.5788801", "0.57243705", "0.57128435", "0.56435776", "0.56159204", "0.56151587", "0.5611966", "0.5605238", "0.55988073", "0.55771416", "0.5500865", "0.5499776", "0.54973227", "0.54723924", "0.54644465", "0.54556805", "0.5436903", "0...
0.80090326
0
Get the signature date.
public function getSignatureDate() { return $this->signatureDate; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getSignature();", "public function getSignature()\n {\n return $this->signature;\n }", "public function getSignature()\n {\n return $this->signature;\n }", "public function getSignature()\n {\n return $this->signature;\n }", "public function getSignatu...
[ "0.6996184", "0.6928079", "0.6928079", "0.6928079", "0.6928079", "0.6928079", "0.6896828", "0.68161833", "0.68161833", "0.6786824", "0.67263967", "0.6546772", "0.6539167", "0.64912343", "0.64847696", "0.6459992", "0.6444085", "0.6397334", "0.63852197", "0.6354066", "0.6353819...
0.8690396
1
Get the signature nom.
public function getSignatureNom() { return $this->signatureNom; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getSignature();", "public function getSignature(): string\n {\n return $this->getName();\n }", "public function getSignature(): string\n {\n return $this->signature;\n }", "public function getSignature(): string\n {\n return $this->signature;\n }", "pu...
[ "0.77426827", "0.7658116", "0.75099325", "0.75099325", "0.74627465", "0.7374278", "0.7279629", "0.7189189", "0.71850806", "0.71850806", "0.71850806", "0.71850806", "0.71850806", "0.7058632", "0.7034025", "0.69950694", "0.69841653", "0.6978668", "0.6821341", "0.67729783", "0.6...
0.8725653
1
Get the signature qualite.
public function getSignatureQualite() { return $this->signatureQualite; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getSignatureQualiteCode() {\n return $this->signatureQualiteCode;\n }", "public function getSignature();", "public function getSignature()\n {\n return $this->signature;\n }", "public function getSignature()\n {\n return $this->signature;\n }", "public fu...
[ "0.83037734", "0.69842154", "0.67814934", "0.67814934", "0.67814934", "0.67814934", "0.67814934", "0.6767807", "0.6767807", "0.6749297", "0.67445767", "0.67262936", "0.6700249", "0.6656768", "0.6656768", "0.6415006", "0.63963634", "0.6290969", "0.62479544", "0.6242171", "0.62...
0.8800238
1
Get the signature ville.
public function getSignatureVille() { return $this->signatureVille; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getSignature();", "public function getSignature()\n {\n return $this->signature;\n }", "public function getSignature()\n {\n return $this->signature;\n }", "public function getSignature()\n {\n return $this->signature;\n }", "public function getSignatu...
[ "0.72362614", "0.70100397", "0.70100397", "0.70100397", "0.70100397", "0.70100397", "0.698202", "0.69795424", "0.69795424", "0.69611627", "0.69387734", "0.691812", "0.67894834", "0.67245334", "0.67245334", "0.6636831", "0.6607573", "0.65785134", "0.6539263", "0.6518947", "0.6...
0.8623605
1
Get the subrogation constantes.
public function getSubrogationConstantes() { return $this->subrogationConstantes; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getConstants()\n\t{\n\t\treturn $this->constants;\n\t}", "public function getConstants()\n {\n return $this->constants;\n }", "public function getConstants()\n {\n return $this->constants;\n }", "static function getConstants()\n {\n $oClass = new Reflection...
[ "0.7020336", "0.6997876", "0.6997876", "0.6848647", "0.67737705", "0.67576444", "0.67530584", "0.66969633", "0.6580753", "0.6437854", "0.64359224", "0.6272819", "0.62182057", "0.62166536", "0.6192849", "0.6086983", "0.6040359", "0.6025755", "0.5961874", "0.59302354", "0.59302...
0.8816917
0
Get the subrogation montant.
public function getSubrogationMontant() { return $this->subrogationMontant; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getMontant()\n {\n return $this->montant;\n }", "public function getMontant()\n {\n return $this->montant;\n }", "public function getMontant() {\n return $this->montant;\n }", "public function getMontantGeneral() {\n return $this->montantGeneral;\n }", ...
[ "0.67870015", "0.67870015", "0.67590207", "0.656417", "0.6526523", "0.63373774", "0.62547094", "0.6122955", "0.58927613", "0.589082", "0.58795637", "0.5839641", "0.58034325", "0.578789", "0.57419914", "0.5696554", "0.5691468", "0.5682332", "0.5669514", "0.563903", "0.55670536...
0.8196023
0
Get the subrogation partielle.
public function getSubrogationPartielle() { return $this->subrogationPartielle; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getSub()\n {\n return $this->sub;\n }", "public function getPeriodeSubrDu() {\n return $this->periodeSubrDu;\n }", "public function getSubrogationMontant() {\n return $this->subrogationMontant;\n }", "public function get_superficie(){ return $this->_superficie...
[ "0.710265", "0.68591785", "0.68532294", "0.6537732", "0.6433126", "0.64165735", "0.62268865", "0.608651", "0.60478926", "0.60454476", "0.60081637", "0.5997882", "0.5987769", "0.5961897", "0.58940655", "0.5872393", "0.5860563", "0.58438534", "0.58394283", "0.5834289", "0.58316...
0.87371856
0
Get the suspension date.
public function getSuspensionDate() { return $this->suspensionDate; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getResumeDate()\n {\n return isset($this->transaction['resumeDate']) ? $this->transaction['resumeDate'] : '';\n }", "public function setSuspensionDate(DateTime $suspensionDate = null) {\n $this->suspensionDate = $suspensionDate;\n return $this;\n }", "public functi...
[ "0.6634977", "0.64603627", "0.6417197", "0.6376608", "0.63691443", "0.62666166", "0.6255111", "0.6137486", "0.60963744", "0.60859627", "0.6065824", "0.6056718", "0.60465556", "0.5945188", "0.59336877", "0.5909884", "0.5894052", "0.58927625", "0.5881432", "0.5875179", "0.58638...
0.84831387
0