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 |
|---|---|---|---|---|---|---|
Get options for cart endpoint. | public static function getCartOptions()
{
return self::get('cart') ?: [];
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getCartOptions()\n {\n return [\n '1' => [\n 'name' => 'Цвет',\n 'variants' => ['1' => 'Красный', '2' => 'Белый', '3' => 'Синий'],\n ],\n '2' => [\n 'name' => 'Размер',\n 'variants' => ['4' => 'XL... | [
"0.71079016",
"0.66131854",
"0.66131854",
"0.66131854",
"0.66131854",
"0.66131854",
"0.66131854",
"0.66131854",
"0.66131854",
"0.66131854",
"0.66131854",
"0.66131854",
"0.66131854",
"0.66131854",
"0.66131854",
"0.66131854",
"0.66131854",
"0.66060644",
"0.6605481",
"0.6605481",
... | 0.8125265 | 0 |
Get options for categories endpoint. | public static function getCategoriesOptions()
{
return self::get('categories') ?: [];
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static function getCategoryOptions()\n {\n return self::get('category') ?: [];\n }",
"public function GetCategoryOptions() {\n $return = \"\";\n $this->GetCategories();\n \n // Create the Options\n foreach ($this->rs as $row) {\n $return .= '<opti... | [
"0.8261367",
"0.70652246",
"0.706271",
"0.704938",
"0.70073146",
"0.7007286",
"0.6964633",
"0.69297147",
"0.690113",
"0.6773926",
"0.6773926",
"0.6707636",
"0.6640951",
"0.66292703",
"0.661323",
"0.65897006",
"0.65704167",
"0.65588415",
"0.65588415",
"0.65588415",
"0.65588415... | 0.82011175 | 1 |
Get options for category endpoint. | public static function getCategoryOptions()
{
return self::get('category') ?: [];
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static function getCategoriesOptions()\n {\n return self::get('categories') ?: [];\n }",
"public function GetCategoryOptions() {\n $return = \"\";\n $this->GetCategories();\n \n // Create the Options\n foreach ($this->rs as $row) {\n $return .= '<... | [
"0.7576817",
"0.6869979",
"0.66761726",
"0.66761726",
"0.66761726",
"0.66761726",
"0.66761726",
"0.66761726",
"0.66761726",
"0.66761726",
"0.66761726",
"0.66761726",
"0.66761726",
"0.66761726",
"0.66761726",
"0.66761726",
"0.66761726",
"0.66761726",
"0.66178155",
"0.6617386",
... | 0.8151903 | 0 |
Get options for products endpoint. | public static function getProductsOptions()
{
return self::get('products') ?: [];
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static function getProductOptions()\n {\n return self::get('product') ?: [];\n }",
"public function getProducts_options() {\n\t\treturn $this->products_options;\n\t}",
"public function getProductOption();",
"public function getOptionList()\n {\n return Mage::helper('bundle/catal... | [
"0.8232958",
"0.7722287",
"0.7475715",
"0.6926583",
"0.69037056",
"0.6831782",
"0.6676823",
"0.6676823",
"0.6676823",
"0.6676823",
"0.6676823",
"0.6676823",
"0.6676823",
"0.6676823",
"0.6676823",
"0.6676823",
"0.6676823",
"0.6676823",
"0.6676823",
"0.6676823",
"0.6676823",
... | 0.8249201 | 0 |
Get options for product endpoint. | public static function getProductOptions()
{
return self::get('product') ?: [];
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static function getProductsOptions()\n {\n return self::get('products') ?: [];\n }",
"public function getProductOption();",
"public function getProducts_options() {\n\t\treturn $this->products_options;\n\t}",
"public function getOptionList()\n {\n return Mage::helper('bundle/cat... | [
"0.7604395",
"0.75408506",
"0.7381102",
"0.7118237",
"0.71144694",
"0.7113813",
"0.7113813",
"0.7113068",
"0.7113068",
"0.7113068",
"0.7113068",
"0.7113068",
"0.7113068",
"0.7113068",
"0.7113068",
"0.7113068",
"0.7113068",
"0.7113068",
"0.7113068",
"0.7113068",
"0.7113068",
... | 0.79135555 | 0 |
Registers an event to be published when the aggregate is saved, containing the given payload and optional metadata. | protected function registerEvent($payload, $metadata = null)
{
if ($payload instanceof AbstractDomainEvent && null === $payload->aggregateId) {
$payload->setAggregateId($this->getId());
}
return $this->getEventContainer()
->addEvent($payload, $metadata);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function push($event, $payload = array())\n {\n $this->listen($event .'_pushed', function() use ($event, $payload)\n {\n $this->dispatch($event, $payload);\n });\n }",
"public function publish($event, $bus);",
"public function register($slug, $args = [], $descriptio... | [
"0.5790317",
"0.5744322",
"0.5651529",
"0.5641642",
"0.5621258",
"0.560686",
"0.5526483",
"0.5516685",
"0.5459593",
"0.53452635",
"0.53317636",
"0.51465344",
"0.5091057",
"0.50896096",
"0.5042483",
"0.50397635",
"0.50018495",
"0.49942774",
"0.49684134",
"0.4965024",
"0.495183... | 0.7300139 | 0 |
Marks this aggregate as deleted, instructing a Repository to remove that aggregate at an appropriate time | protected function markAsDeleted()
{
$this->deleted = true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function delete(): void\n {\n $this->record(new AgendaWasDeleted($this->identity));\n }",
"public function delete() \n {\n DomainWatcher::addDeletedObject($this);\n }",
"public function setDeleted() {}",
"public function deleteWithType(string $aggregateType): void;",
"publi... | [
"0.6455938",
"0.63599354",
"0.6344514",
"0.63070667",
"0.6233095",
"0.6202059",
"0.6080586",
"0.5922379",
"0.5883026",
"0.5741899",
"0.5735816",
"0.57260025",
"0.57260025",
"0.56892633",
"0.56830907",
"0.5680832",
"0.5678253",
"0.56656677",
"0.5664621",
"0.56623995",
"0.56606... | 0.6168649 | 6 |
Retrieves the header name | public function getName(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function GetHeader()\n {\n return $this->HeaderName;\n }",
"function GetHeader() {\n return ($this->ses['response']['header']);\n }",
"public function getHeader(): string\n {\n return $this->header;\n }",
"public function getHeader()\n {\n return $this->getFilen... | [
"0.8567895",
"0.76895946",
"0.7636202",
"0.7605889",
"0.7583854",
"0.75554377",
"0.74483895",
"0.7374315",
"0.73455065",
"0.7338316",
"0.73331475",
"0.7329789",
"0.7329789",
"0.7318487",
"0.7305961",
"0.7301965",
"0.72643113",
"0.7261471",
"0.7259218",
"0.7259218",
"0.7259218... | 0.0 | -1 |
Retrieves the header value | public function getValue(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function GetHeader() {\n return ($this->ses['response']['header']);\n }",
"public function getHeader(){\n\t\treturn $this->header;\n\t}",
"public function getHeader();",
"public function getHeader();",
"public function getHeader();",
"public function get_header() {\n\t\tif (!isset($this->header... | [
"0.7875334",
"0.78291184",
"0.77661765",
"0.77661765",
"0.77661765",
"0.7740645",
"0.7717945",
"0.7717945",
"0.7695466",
"0.7681195",
"0.76694906",
"0.7660063",
"0.7658685",
"0.7647285",
"0.7628768",
"0.7627286",
"0.76238763",
"0.76238763",
"0.76238763",
"0.76238763",
"0.7623... | 0.0 | -1 |
Creates and return a string representation of header | public function __toString(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private function buildHeaderString()\n {\n $out = '';\n foreach($this->headers as $header => $value) {\n $out .= \"$header: $value\\r\\n\";\n }\n return $out;\n }",
"protected function makeHeader()\n {\n $header = '';\n foreach(self::$headers as $k =>... | [
"0.8115835",
"0.8008297",
"0.7826503",
"0.7441749",
"0.73919845",
"0.7375235",
"0.7330166",
"0.7295407",
"0.7205809",
"0.7118909",
"0.7095242",
"0.70943624",
"0.70449674",
"0.70424074",
"0.7006436",
"0.6998963",
"0.69664806",
"0.6951746",
"0.69485366",
"0.6947877",
"0.6944930... | 0.0 | -1 |
Display a listing of the resource. | public function index(Request $request)
{
try {
$iso = $request->lang ? $request->lang : config('user.language_default');
$language = Language::where('iso', $iso)->first();
if ($language != null) {
$domain = request()->root();
$limit = $request->limit ? $request->limit : config('user.page_limit');
$data = place::where('language_id', $language->id)->paginate($limit);
foreach ($data as $imgs) {
foreach ($imgs->album as $i) {
$i->album = $domain . '/img/album/' . $i->album;
}
}
return response()->json($data, 200);
} else {
$data = "404 Not found";
return response()->json(["data" => $data], 404);
}
} catch (\Throwable $th) {
$data = "Server 500 error";
return response()->json(["data" => $data], 404);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function indexAction()\n {\n $limit = $this->Request()->getParam('limit', 1000);\n $offset = $this->Request()->getParam('start', 0);\n $sort = $this->Request()->getParam('sort', array());\n $filter = $this->Request()->getParam('filter', array());\n\n $result = $this->re... | [
"0.7446377",
"0.7361922",
"0.72984487",
"0.7248631",
"0.7162871",
"0.7148215",
"0.7131838",
"0.71028054",
"0.7102395",
"0.70988023",
"0.7048243",
"0.6993516",
"0.6989079",
"0.69341344",
"0.69001913",
"0.6899167",
"0.68920904",
"0.6887188",
"0.68661547",
"0.6849159",
"0.683002... | 0.0 | -1 |
Store a newly created resource in storage. | public function store(Request $request)
{
//
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function store($data, Resource $resource);",
"public function store()\n {\n /* Check if logged in user is authorized to make this request */\n $this->authorizeAction();\n\n if (method_exists($this, 'storeValidations')) {\n $this->request->validate($this->storeValidations... | [
"0.7286258",
"0.71454436",
"0.7132821",
"0.6640289",
"0.6621105",
"0.6566493",
"0.65255576",
"0.65087926",
"0.6448317",
"0.63752604",
"0.63736314",
"0.6365631",
"0.6365631",
"0.6365631",
"0.634229",
"0.634229",
"0.634229",
"0.634229",
"0.634229",
"0.634229",
"0.634229",
"0.... | 0.0 | -1 |
Display the specified resource. | public function show($id)
{
try {
$domain = request()->root();
$data = place::where('slug', $id)->first();
if ($data != null) {
foreach ($data->album as $i) {
$i->album = $domain . '/img/album/' . $i->album;
}
return response()->json(["data" => $data], 200);
} else {
$data = "404 Not found";
return response()->json(["data" => $data], 404);
}
} catch (\Throwable $th) {
$data = "Server 500 error";
return response()->json(["data" => $data],500);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function show(Resource $resource)\n {\n // not available for now\n }",
"public function show(Resource $resource)\n {\n //\n }",
"function Display($resource_name, $cache_id = null, $compile_id = null)\n {\n $this->_smarty->display($resource_name, $cache_id, $compile_id... | [
"0.8233718",
"0.8190437",
"0.6828712",
"0.64986944",
"0.6495974",
"0.6469629",
"0.6462615",
"0.6363665",
"0.6311607",
"0.62817234",
"0.6218966",
"0.6189695",
"0.61804265",
"0.6171014",
"0.61371076",
"0.61207956",
"0.61067593",
"0.6105954",
"0.6094066",
"0.6082806",
"0.6045245... | 0.0 | -1 |
Update the specified resource in storage. | public function update(Request $request, $id)
{
//
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function updateShopifyResource() {\n $this->saving();\n $this->getShopifyApi()->call([\n 'URL' => API::PREFIX . $this->getApiPathSingleResource(),\n 'METHOD' => 'PUT',\n 'DATA' => [\n static::getResourceSingularName() => $this->shopifyData\n ... | [
"0.7425105",
"0.70612276",
"0.70558053",
"0.6896673",
"0.6582159",
"0.64491373",
"0.6346954",
"0.62114537",
"0.6145042",
"0.6119944",
"0.61128503",
"0.6099993",
"0.6087866",
"0.6052593",
"0.6018941",
"0.60060275",
"0.59715486",
"0.5946516",
"0.59400934",
"0.59377414",
"0.5890... | 0.0 | -1 |
Remove the specified resource from storage. | public function destroy($id)
{
//
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function delete($resource){\n return $this->fetch($resource, self::DELETE);\n }",
"public function destroy(Resource $resource)\n {\n //\n }",
"public function removeResource($resourceID)\n\t\t{\n\t\t}",
"public function unpublishResource(PersistentResource $resource)\n {\n ... | [
"0.6671365",
"0.6660839",
"0.66361386",
"0.6632988",
"0.6624729",
"0.6542195",
"0.6541645",
"0.6466739",
"0.6288393",
"0.61767083",
"0.6129533",
"0.608954",
"0.6054169",
"0.60443425",
"0.60073143",
"0.59338665",
"0.59317696",
"0.592145",
"0.5920155",
"0.59065086",
"0.5897853"... | 0.0 | -1 |
Set the select request to get the list of Id to index | protected function selectIds($select)
{
$select->from(array('REF_METADATA'), array('METAID'))->order('METAID');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getSelect();",
"public function getSelect();",
"public function setIndexList () {\n // $db_connect_manager -> getTestPool(\"testy_udt\");\n $pool = GeneratorTestsPool::generate(5, 1, 22);\n sort($pool);\n $select = \"SELECT q_podesty_ruchome_przejezdne.question, a_po... | [
"0.5956901",
"0.5956901",
"0.5931961",
"0.5731345",
"0.57144934",
"0.5538705",
"0.55126745",
"0.55100524",
"0.55100524",
"0.5491485",
"0.5483647",
"0.5473517",
"0.5469618",
"0.5468208",
"0.54324937",
"0.54324937",
"0.5421318",
"0.5399123",
"0.5399123",
"0.5399123",
"0.5399123... | 0.59344035 | 2 |
Get raw data array. | public function getRawData(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getRawData() {}",
"public function getData()\n {\n return $this->raw;\n }",
"public function getData(): array;",
"public function getData(): array;",
"public function getData(): array;",
"public function getData(): array;",
"public static function getRawData()\n {\n ret... | [
"0.8163359",
"0.78400236",
"0.77813596",
"0.77813596",
"0.77813596",
"0.77813596",
"0.7756806",
"0.7741698",
"0.76840156",
"0.7661394",
"0.75895286",
"0.75895286",
"0.7582252",
"0.75677174",
"0.7556133",
"0.7556133",
"0.7556133",
"0.7546974",
"0.7544819",
"0.7520431",
"0.7506... | 0.82051533 | 1 |
Get data array formatted per tracking method. | public function getFormattedData(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getLogData(): array {\n\t\t$data = [];\n\n\t\t$data['input_properties_count'] = $this->getInputPropertiesCount();\n\t\t$data['monitoring_point_id'] = $this->getMonitoringPointId();\n\t\t$data['user_id'] = $this->getUserId();\n\t\t$data['property_statistics'] = [];\n\n\t\tforeach ($this->getProperti... | [
"0.6772841",
"0.6513644",
"0.6462892",
"0.63489586",
"0.6344499",
"0.6303062",
"0.63018143",
"0.63018143",
"0.6290897",
"0.6285926",
"0.6285926",
"0.6285926",
"0.6285926",
"0.62203723",
"0.6211632",
"0.6211632",
"0.62109405",
"0.6210789",
"0.6206842",
"0.61751354",
"0.6172011... | 0.63139546 | 5 |
Set formatted data array. | public function setFormattedData($formatted_data); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function formatData(array $data)\n {\n $this->data = json_encode($data);\n }",
"public function setFromArray(array &$_data);",
"public function setFromArray(array $data);",
"public function setData(Array $data);",
"public function setData(array $data);",
"public function setData(array... | [
"0.7183745",
"0.6917905",
"0.6846041",
"0.6757843",
"0.6600288",
"0.6600288",
"0.6600288",
"0.6375393",
"0.63494265",
"0.62377405",
"0.62374145",
"0.62307835",
"0.62186104",
"0.62186104",
"0.62186104",
"0.62186104",
"0.62103075",
"0.6199522",
"0.61931646",
"0.6192093",
"0.612... | 0.70812774 | 1 |
Get the email address. | public function getEmailAddress(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getEmailAddress()\n {\n return $this->_getVar('user_email');\n }",
"public function getEmail()\n {\n return $this->get(self::EMAIL);\n }",
"public function getEmail()\n {\n return $this->__get(\"email\");\n }",
"public function getEmail(): string\n\t{\n\... | [
"0.859146",
"0.8585525",
"0.8442153",
"0.8421067",
"0.8383952",
"0.83670104",
"0.8359129",
"0.83577424",
"0.833231",
"0.8328613",
"0.8296465",
"0.8285903",
"0.8284468",
"0.8284468",
"0.8282596",
"0.82645726",
"0.826186",
"0.82364804",
"0.8229147",
"0.8229147",
"0.8229147",
... | 0.0 | -1 |
Set the email address. | public function setEmailAddress($email); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setEmail($value)\n {\n $this->_email = $value;\n }",
"public function setEmail($value) {\r\n $this->email = $value;\r\n }",
"public function setEmail($value) {\n\t\tif(!check($value)) throw new Exception(lang('error_9'));\n\t\tif(!Validator::AccountEmail($value)) throw ne... | [
"0.8334055",
"0.82897264",
"0.8216889",
"0.7923966",
"0.7919132",
"0.79033786",
"0.78711474",
"0.7813364",
"0.7776649",
"0.7767122",
"0.77347875",
"0.7733496",
"0.7729131",
"0.76958996",
"0.76930916",
"0.76831555",
"0.76815045",
"0.7681137",
"0.76574594",
"0.76480395",
"0.761... | 0.804892 | 3 |
Get the email key. | public static function getEmailKey($tracking_method = null); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function getEmailKey() {\n\t\treturn $this->getData('emailKey');\n\t}",
"function getEmailId() {\n\t\treturn $this->getData('emailId');\n\t}",
"private function getKey() {\n\t\tif ( !$this->key )\n\t\t\t$this->key = \"mvn-maillists-\" . sanitize_key( $this->getName() );\n\n\t\treturn $this->key;\n\t}",
"publ... | [
"0.8846848",
"0.72901225",
"0.6949957",
"0.68924683",
"0.6844382",
"0.6832427",
"0.6803062",
"0.6773031",
"0.6751315",
"0.6751315",
"0.66886264",
"0.66882163",
"0.66881645",
"0.66864604",
"0.66756535",
"0.66611224",
"0.66611224",
"0.6658664",
"0.6658664",
"0.66254276",
"0.662... | 0.73549336 | 1 |
Format the data based on tracking method. | public function formatData() {
$raw_data = $this->getRawData();
$formatted_data = array();
// Format the data based on tracking method.
switch ($this->getTrackingMethod()) {
case 'rest':
// Replace marketo_id with value of MARKETO_REST_LEAD_FIELD_REST_KEY.
foreach ($raw_data as $id => $value) {
// Get the row corresponding to the marketo id.
$result = db_select(MARKETO_REST_SCHEMA_LEAD_FIELDS)
->fields(MARKETO_REST_SCHEMA_LEAD_FIELDS)
->condition(MARKETO_REST_LEAD_FIELD_ID, $id)
->execute()
->fetchAll();
// Cycle through the result row(s) and set the new rest field key.
foreach ($result as $field) {
if (isset($field->{MARKETO_REST_LEAD_FIELD_REST_KEY})) {
$formatted_data[$field->{MARKETO_REST_LEAD_FIELD_REST_KEY}] = $value;
}
}
}
break;
case 'munchkin':
default:
// Replace marketo_id with value of MARKETO_REST_LEAD_FIELD_MUNCHKIN_KEY.
foreach ($raw_data as $id => $value) {
// Get the row corresponding to the marketo id.
$result = db_select(MARKETO_REST_SCHEMA_LEAD_FIELDS)
->fields(MARKETO_REST_SCHEMA_LEAD_FIELDS)
->condition(MARKETO_REST_LEAD_FIELD_ID, $id)
->execute()
->fetchAll();
// Cycle through the result row(s) and set the new munchkin field key.
foreach ($result as $field) {
if (isset($field->{MARKETO_REST_LEAD_FIELD_MUNCHKIN_KEY})) {
$formatted_data[$field->{MARKETO_REST_LEAD_FIELD_MUNCHKIN_KEY}] = $value;
}
}
}
break;
}
return $formatted_data;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getFormattedData();",
"public function formatData(){\n $from = $this->dataObject->getFrom();\n\n // prepare array for counterxmlbuild with vendor informations\n $data = array(\n 'Report' => array (\n 0 => array(\n // Report attribu... | [
"0.62123954",
"0.60214823",
"0.5959424",
"0.5959424",
"0.57091194",
"0.5628866",
"0.55798537",
"0.555564",
"0.5537534",
"0.5520703",
"0.5515618",
"0.54503894",
"0.54503894",
"0.54205036",
"0.5397852",
"0.533216",
"0.53151554",
"0.52789956",
"0.5245866",
"0.5159401",
"0.515528... | 0.7600277 | 0 |
Get the [op_prime_id] column value. | public function getOpPrimeId()
{
return $this->op_prime_id;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getOpPrimeNumero()\n {\n\n return $this->op_prime_numero;\n }",
"public function getPrimaryKey()\n {\n return $this->getOpPrimeId();\n }",
"public function getOperationPrimeCurrencyId()\n {\n\n return $this->operation_prime_currency_id;\n }",
"public fun... | [
"0.72192276",
"0.69231695",
"0.6648075",
"0.6617529",
"0.62691385",
"0.5923606",
"0.5923606",
"0.5825936",
"0.5816718",
"0.5714843",
"0.57011503",
"0.5628362",
"0.5580933",
"0.55354625",
"0.5518492",
"0.55079764",
"0.54923713",
"0.5469512",
"0.54591674",
"0.54401",
"0.5406993... | 0.82185084 | 0 |
Get the [op_id] column value. | public function getOpId()
{
return $this->op_id;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getOperationId()\n {\n return $this->operation_id;\n }",
"public function getId()\n\t{\n\t\t$column = self::COL_ID;\n\t\t$v = $this->$column;\n\n\t\tif( $v !== null){\n\t\t\t$v = (int)$v;\n\t\t}\n\n\t\treturn $v;\n\t}",
"public function getId()\n\t{\n\t\t$column = self::COL_ID;\n\t... | [
"0.6854243",
"0.64414126",
"0.64414126",
"0.63226193",
"0.62305635",
"0.60161823",
"0.5986363",
"0.59794766",
"0.597422",
"0.59416896",
"0.59416896",
"0.59350705",
"0.5930112",
"0.5891276",
"0.5881656",
"0.58718306",
"0.58709615",
"0.58382976",
"0.58303183",
"0.58217275",
"0.... | 0.80394846 | 0 |
Get the [op_prime_libelle] column value. | public function getOpPrimeLibelle()
{
return $this->op_prime_libelle;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getLibelle()\n {\n return $this->libelle;\n }",
"public function getLibelle()\n {\n return $this->libelle;\n }",
"public function getLibelle()\n {\n return $this->libelle;\n }",
"public function getOpPrimeNumero()\n {\n\n return $this->op_prime... | [
"0.64187676",
"0.64187676",
"0.64187676",
"0.6328785",
"0.6213114",
"0.62074524",
"0.5890744",
"0.57305837",
"0.5648851",
"0.54826444",
"0.54175",
"0.5410004",
"0.5381991",
"0.5363936",
"0.5327431",
"0.53254193",
"0.53252274",
"0.5240946",
"0.5192604",
"0.51889575",
"0.518247... | 0.7962335 | 0 |
Get the [op_prime_numero] column value. | public function getOpPrimeNumero()
{
return $this->op_prime_numero;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getOpPrimeId()\n {\n\n return $this->op_prime_id;\n }",
"public function getOpPrimeLibelle()\n {\n\n return $this->op_prime_libelle;\n }",
"public function getNumeroProcesso() {\n return $this->iNumeroProcesso;\n }",
"public function getNumero() {\n return... | [
"0.69652295",
"0.6779649",
"0.6195364",
"0.61157924",
"0.6081711",
"0.6076515",
"0.60570854",
"0.5930269",
"0.592364",
"0.58985156",
"0.585972",
"0.585972",
"0.58493847",
"0.5824136",
"0.5770044",
"0.56389725",
"0.56212413",
"0.5605843",
"0.558562",
"0.55486846",
"0.54947644"... | 0.8128191 | 0 |
Get the [gdl_art_id] column value. | public function getGdlArtId()
{
return $this->gdl_art_id;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getIdArt()\n {\n return $this->idArt;\n }",
"public function getidArt()\n\t {\n\t return $this->idArt;\n\t }",
"public function getidArt()\n\t {\n\t return $this->idArt;\n\t }",
"public function getidArt()\n\t {\n\t return $this->idArt;\n\t ... | [
"0.65305364",
"0.642353",
"0.642353",
"0.642353",
"0.621799",
"0.6118175",
"0.61141753",
"0.6101657",
"0.6011724",
"0.5935601",
"0.5928047",
"0.5911564",
"0.5911564",
"0.5823948",
"0.58236337",
"0.5812425",
"0.5804981",
"0.580294",
"0.57908815",
"0.57905495",
"0.57878834",
... | 0.78920126 | 0 |
Get the [operation_prime_currency_id] column value. | public function getOperationPrimeCurrencyId()
{
return $this->operation_prime_currency_id;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getOpPrimeId()\n {\n\n return $this->op_prime_id;\n }",
"public function getId() {\r\n\t\treturn($this->_currency_id);\r\n\t}",
"public function getCurrencyId()\n {\n return $this->currency_id;\n }",
"public function setOperationPrimeCurrencyId($v)\n {\n ... | [
"0.67050874",
"0.65308934",
"0.6258168",
"0.6064645",
"0.6054431",
"0.5844944",
"0.5679418",
"0.5539268",
"0.5504156",
"0.5503011",
"0.5502969",
"0.54434776",
"0.54260874",
"0.53574157",
"0.5279207",
"0.5279207",
"0.52437246",
"0.5204225",
"0.5194511",
"0.5179614",
"0.5169454... | 0.8447531 | 0 |
Get the [operation_prime_r_reward_type_id] column value. | public function getOperationPrimeRRewardTypeId()
{
return $this->operation_prime_r_reward_type_id;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getType_id()\n {\n return $this->type_id;\n }",
"public function getOperationPrimeRRewardExpeditionModeId()\n {\n\n return $this->operation_prime_r_reward_expedition_mode_id;\n }",
"public function getIdType() {\n\t\treturn $this->id_type;\n\t}",
"public function get... | [
"0.6128773",
"0.5971852",
"0.5958365",
"0.5925417",
"0.5923487",
"0.5910461",
"0.5900198",
"0.58992726",
"0.57221735",
"0.57031703",
"0.56892955",
"0.56892955",
"0.56892955",
"0.5680827",
"0.5666618",
"0.56575644",
"0.56103384",
"0.56047326",
"0.56027794",
"0.56008273",
"0.55... | 0.8441382 | 0 |
Get the [operation_prime_r_reward_expedition_mode_id] column value. | public function getOperationPrimeRRewardExpeditionModeId()
{
return $this->operation_prime_r_reward_expedition_mode_id;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setOperationPrimeRRewardExpeditionModeId($v)\n {\n if ($v === ''){\n $v = null;\n }\n elseif ($v !== null){\n \n if(is_numeric($v)) {\n $v = (int) $v;\n }\n ... | [
"0.642256",
"0.626327",
"0.6258651",
"0.6167572",
"0.5966962",
"0.58576626",
"0.56559217",
"0.5654066",
"0.56506354",
"0.5639693",
"0.5526582",
"0.5503014",
"0.5487547",
"0.5472692",
"0.5467565",
"0.5455491",
"0.54516625",
"0.54383254",
"0.5418965",
"0.5400028",
"0.5400028",
... | 0.8657667 | 0 |
Get the [operation_prime_r_reward_transporter_id] column value. | public function getOperationPrimeRRewardTransporterId()
{
return $this->operation_prime_r_reward_transporter_id;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getRelaterId()\n {\n $value = $this->get(self::RELATER_ID);\n return $value === null ? (integer)$value : $value;\n }",
"private function getRetailerId()\n {\n $retailerId = null;\n if ($this->currentStore->getRetailer() && $this->currentStore->getRetailer()->g... | [
"0.6779566",
"0.67292094",
"0.6601552",
"0.6599131",
"0.6279402",
"0.6278373",
"0.60891867",
"0.60190415",
"0.5993007",
"0.5989244",
"0.5960304",
"0.5921398",
"0.5859235",
"0.5796274",
"0.57935035",
"0.5786525",
"0.5776628",
"0.5774534",
"0.57615083",
"0.57615083",
"0.5761508... | 0.8755693 | 0 |
Get the [operation_prime_fixed_amount] column value. | public function getOperationPrimeFixedAmount()
{
return $this->operation_prime_fixed_amount;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getOperationPrimeMaximumAmount()\n {\n\n return $this->operation_prime_maximum_amount;\n }",
"public function setOperationPrimeFixedAmount($v)\n {\n if ($v === ''){\n $v = null;\n }\n elseif ($v !== null){\n ... | [
"0.6291335",
"0.56566775",
"0.53594",
"0.53132343",
"0.52206147",
"0.52107495",
"0.5126435",
"0.5124241",
"0.51042885",
"0.508893",
"0.50851667",
"0.50497",
"0.48663005",
"0.48652673",
"0.48305568",
"0.48106357",
"0.48056546",
"0.48026884",
"0.47845963",
"0.47630927",
"0.4747... | 0.82540286 | 0 |
Get the [operation_prime_product_price_pourcentage] column value. | public function getOperationPrimeProductPricePourcentage()
{
return $this->operation_prime_product_price_pourcentage;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setOperationPrimeProductPricePourcentage($v)\n {\n if ($v === ''){\n $v = null;\n }\n elseif ($v !== null){\n \n if(is_numeric($v)) {\n $v = (int) $v;\n }\n ... | [
"0.68424267",
"0.6395525",
"0.6274206",
"0.61656374",
"0.61491066",
"0.61201084",
"0.6116658",
"0.6059438",
"0.60510963",
"0.5940293",
"0.58956015",
"0.587776",
"0.58571327",
"0.5856519",
"0.58443177",
"0.5826923",
"0.5826112",
"0.58171475",
"0.5777953",
"0.5754116",
"0.57386... | 0.8628817 | 0 |
Get the [operation_prime_maximum_amount] column value. | public function getOperationPrimeMaximumAmount()
{
return $this->operation_prime_maximum_amount;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getOperationPrimeFixedAmount()\n {\n\n return $this->operation_prime_fixed_amount;\n }",
"public function getMaxPriceInt()\n {\n $stats = $this->_getFieldStats();\n $max = $stats['max'];\n if (!is_numeric($max)) {\n $max = parent::getMaxPriceInt();\... | [
"0.65634733",
"0.6449375",
"0.6447475",
"0.64324164",
"0.6414635",
"0.6414212",
"0.6369714",
"0.6368224",
"0.63564134",
"0.63075167",
"0.6303096",
"0.6262085",
"0.6239464",
"0.62193793",
"0.61821467",
"0.6166045",
"0.6160484",
"0.6154595",
"0.6154595",
"0.61134857",
"0.610121... | 0.83265495 | 0 |
Set the value of [op_prime_id] column. | public function setOpPrimeId($v)
{
if ($v === ''){
$v = null;
}
elseif ($v !== null){
if(is_numeric($v)) {
$v = (int) $v;
}
}
if ($this->op_prime_id !== $v) {
$this->op_prime_id = $v;
$this->modifiedColumns[] = OperationPrimesPeer::OP_PRIME_ID;
}
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setOpId($v)\n {\n if ($v === ''){\n $v = null;\n }\n elseif ($v !== null){\n \n if(is_numeric($v)) {\n $v = (int) $v;\n }\n }\n if... | [
"0.70000744",
"0.69464374",
"0.6362339",
"0.6270644",
"0.5910605",
"0.5812543",
"0.5671231",
"0.5596519",
"0.5596519",
"0.5568444",
"0.5216141",
"0.5169974",
"0.51482946",
"0.51230294",
"0.5119571",
"0.49663097",
"0.49595487",
"0.49336648",
"0.49336648",
"0.4933062",
"0.49271... | 0.7637416 | 0 |
setOpPrimeId() Set the value of [op_id] column. | public function setOpId($v)
{
if ($v === ''){
$v = null;
}
elseif ($v !== null){
if(is_numeric($v)) {
$v = (int) $v;
}
}
if ($this->op_id !== $v) {
$this->op_id = $v;
$this->modifiedColumns[] = OperationPrimesPeer::OP_ID;
}
if ($this->aOperations !== null && $this->aOperations->getOpId() !== $v) {
$this->aOperations = null;
}
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setOpPrimeId($v)\n {\n if ($v === ''){\n $v = null;\n }\n elseif ($v !== null){\n \n if(is_numeric($v)) {\n $v = (int) $v;\n }\n }\n ... | [
"0.7645354",
"0.6735857",
"0.6311355",
"0.60500765",
"0.58966213",
"0.54381555",
"0.5321016",
"0.5246689",
"0.5246689",
"0.52158755",
"0.51608074",
"0.5129233",
"0.5099695",
"0.50778925",
"0.5020183",
"0.5008836",
"0.5005647",
"0.5005647",
"0.49662164",
"0.49269044",
"0.49193... | 0.73395073 | 1 |
setOpId() Set the value of [op_prime_libelle] column. | public function setOpPrimeLibelle($v)
{
if ($v !== null) {
$v = (string) $v;
}
if ($this->op_prime_libelle !== $v) {
$this->op_prime_libelle = $v;
$this->modifiedColumns[] = OperationPrimesPeer::OP_PRIME_LIBELLE;
}
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setOpId($v)\n {\n if ($v === ''){\n $v = null;\n }\n elseif ($v !== null){\n \n if(is_numeric($v)) {\n $v = (int) $v;\n }\n }\n if... | [
"0.6400785",
"0.5944037",
"0.54900444",
"0.5470849",
"0.54667693",
"0.53647137",
"0.5357475",
"0.53508675",
"0.53074986",
"0.5305721",
"0.5252752",
"0.5252752",
"0.5249579",
"0.523691",
"0.5098855",
"0.50392437",
"0.5018835",
"0.5011726",
"0.50029075",
"0.49668217",
"0.496527... | 0.60888827 | 1 |
setOpPrimeLibelle() Set the value of [op_prime_numero] column. | public function setOpPrimeNumero($v)
{
if ($v === ''){
$v = null;
}
elseif ($v !== null){
if(is_numeric($v)) {
$v = (int) $v;
}
}
if ($this->op_prime_numero !== $v) {
$this->op_prime_numero = $v;
$this->modifiedColumns[] = OperationPrimesPeer::OP_PRIME_NUMERO;
}
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setOpPrimeLibelle($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->op_prime_libelle !== $v) {\n $this->op_prime_libelle = $v;\n $this->modifiedColumns[] = OperationPrimesPeer::OP_PRIME_LIBELLE;\n }\n\n\n retur... | [
"0.70246905",
"0.63940185",
"0.61862445",
"0.61179996",
"0.56006974",
"0.54776704",
"0.5434198",
"0.5344516",
"0.5338527",
"0.5286343",
"0.52756554",
"0.5219183",
"0.5157126",
"0.5111251",
"0.5043052",
"0.5037178",
"0.50180155",
"0.50172955",
"0.50164115",
"0.50139993",
"0.49... | 0.68324995 | 1 |
setOpPrimeNumero() Set the value of [gdl_art_id] column. | public function setGdlArtId($v)
{
if ($v === ''){
$v = null;
}
elseif ($v !== null){
if(is_numeric($v)) {
$v = (int) $v;
}
}
if ($this->gdl_art_id !== $v) {
$this->gdl_art_id = $v;
$this->modifiedColumns[] = OperationPrimesPeer::GDL_ART_ID;
}
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setOpPrimeNumero($v)\n {\n if ($v === ''){\n $v = null;\n }\n elseif ($v !== null){\n \n if(is_numeric($v)) {\n $v = (int) $v;\n }\n }\n ... | [
"0.6233631",
"0.6034504",
"0.5551276",
"0.54178816",
"0.5288946",
"0.5272168",
"0.51445645",
"0.51422405",
"0.51296794",
"0.4999414",
"0.4962086",
"0.4954606",
"0.48946822",
"0.4889888",
"0.4889888",
"0.4889888",
"0.48810947",
"0.48737988",
"0.48709202",
"0.48494264",
"0.4841... | 0.638567 | 0 |
setGdlArtId() Set the value of [operation_prime_currency_id] column. | public function setOperationPrimeCurrencyId($v)
{
if ($v === ''){
$v = null;
}
elseif ($v !== null){
if(is_numeric($v)) {
$v = (int) $v;
}
}
if ($this->operation_prime_currency_id !== $v) {
$this->operation_prime_currency_id = $v;
$this->modifiedColumns[] = OperationPrimesPeer::OPERATION_PRIME_CURRENCY_ID;
}
if ($this->aRCurrencies !== null && $this->aRCurrencies->getRCurrencyId() !== $v) {
$this->aRCurrencies = null;
}
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setGdlArtId($v)\n {\n if ($v === ''){\n $v = null;\n }\n elseif ($v !== null){\n \n if(is_numeric($v)) {\n $v = (int) $v;\n }\n }\n ... | [
"0.6839967",
"0.60208195",
"0.60208195",
"0.60208195",
"0.5705689",
"0.5243628",
"0.5219914",
"0.52018285",
"0.5145235",
"0.51423347",
"0.5126546",
"0.5126174",
"0.5050896",
"0.5050896",
"0.5050793",
"0.5050793",
"0.5050793",
"0.4979946",
"0.496901",
"0.49682245",
"0.4931932"... | 0.5227507 | 6 |
setOperationPrimeCurrencyId() Set the value of [operation_prime_r_reward_type_id] column. | public function setOperationPrimeRRewardTypeId($v)
{
if ($v === ''){
$v = null;
}
elseif ($v !== null){
if(is_numeric($v)) {
$v = (int) $v;
}
}
if ($this->operation_prime_r_reward_type_id !== $v) {
$this->operation_prime_r_reward_type_id = $v;
$this->modifiedColumns[] = OperationPrimesPeer::OPERATION_PRIME_R_REWARD_TYPE_ID;
}
if ($this->aRRewardTypes !== null && $this->aRRewardTypes->getRRewardTypeId() !== $v) {
$this->aRRewardTypes = null;
}
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getOperationPrimeRRewardTypeId()\n {\n\n return $this->operation_prime_r_reward_type_id;\n }",
"public function setOperationPrimeCurrencyId($v)\n {\n if ($v === ''){\n $v = null;\n }\n elseif ($v !== null){\n ... | [
"0.6900251",
"0.5843858",
"0.56379414",
"0.515349",
"0.49355042",
"0.4888926",
"0.4834812",
"0.4783253",
"0.47449628",
"0.46492386",
"0.4648264",
"0.4637516",
"0.45783117",
"0.45426005",
"0.4486766",
"0.44685248",
"0.4450876",
"0.44495705",
"0.44354624",
"0.43686885",
"0.4339... | 0.68138164 | 1 |
setOperationPrimeRRewardTypeId() Set the value of [operation_prime_r_reward_expedition_mode_id] column. | public function setOperationPrimeRRewardExpeditionModeId($v)
{
if ($v === ''){
$v = null;
}
elseif ($v !== null){
if(is_numeric($v)) {
$v = (int) $v;
}
}
if ($this->operation_prime_r_reward_expedition_mode_id !== $v) {
$this->operation_prime_r_reward_expedition_mode_id = $v;
$this->modifiedColumns[] = OperationPrimesPeer::OPERATION_PRIME_R_REWARD_EXPEDITION_MODE_ID;
}
if ($this->aRRewardExpeditionModes !== null && $this->aRRewardExpeditionModes->getRRewardExpeditionModeId() !== $v) {
$this->aRRewardExpeditionModes = null;
}
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getOperationPrimeRRewardTypeId()\n {\n\n return $this->operation_prime_r_reward_type_id;\n }",
"public function setOperationPrimeRRewardTypeId($v)\n {\n if ($v === ''){\n $v = null;\n }\n elseif ($v !== null){\n ... | [
"0.7443806",
"0.73403597",
"0.6827839",
"0.54008335",
"0.51500875",
"0.5070538",
"0.494101",
"0.47648963",
"0.46209627",
"0.46025646",
"0.46007937",
"0.45334876",
"0.4498359",
"0.4497985",
"0.449111",
"0.44662094",
"0.4437562",
"0.44025066",
"0.4369907",
"0.43668762",
"0.4356... | 0.6797375 | 3 |
setOperationPrimeRRewardExpeditionModeId() Set the value of [operation_prime_r_reward_transporter_id] column. | public function setOperationPrimeRRewardTransporterId($v)
{
if ($v === ''){
$v = null;
}
elseif ($v !== null){
if(is_numeric($v)) {
$v = (int) $v;
}
}
if ($this->operation_prime_r_reward_transporter_id !== $v) {
$this->operation_prime_r_reward_transporter_id = $v;
$this->modifiedColumns[] = OperationPrimesPeer::OPERATION_PRIME_R_REWARD_TRANSPORTER_ID;
}
if ($this->aRRewardTransporters !== null && $this->aRRewardTransporters->getRRewardTransporterId() !== $v) {
$this->aRRewardTransporters = null;
}
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getOperationPrimeRRewardExpeditionModeId()\n {\n\n return $this->operation_prime_r_reward_expedition_mode_id;\n }",
"public function setOperationPrimeRRewardExpeditionModeId($v)\n {\n if ($v === ''){\n $v = null;\n }\n ... | [
"0.7788256",
"0.75836563",
"0.7024306",
"0.59151316",
"0.5479928",
"0.5470532",
"0.5389668",
"0.5373614",
"0.5147292",
"0.51454777",
"0.50552523",
"0.49473423",
"0.49300325",
"0.48653862",
"0.4738897",
"0.47036326",
"0.47002405",
"0.4698784",
"0.4697309",
"0.46407264",
"0.463... | 0.6984577 | 3 |
setOperationPrimeRRewardTransporterId() Set the value of [operation_prime_fixed_amount] column. | public function setOperationPrimeFixedAmount($v)
{
if ($v === ''){
$v = null;
}
elseif ($v !== null){
if(is_string($v)){
$v = str_replace(
array(' ',','),
array('','.'),
$v
);
}
if(is_numeric($v)) {
$v = (float) $v;
}
}
if ($this->operation_prime_fixed_amount !== $v) {
$this->operation_prime_fixed_amount = $v;
$this->modifiedColumns[] = OperationPrimesPeer::OPERATION_PRIME_FIXED_AMOUNT;
}
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setOperationPrimeRRewardTransporterId($v)\n {\n if ($v === ''){\n $v = null;\n }\n elseif ($v !== null){\n \n if(is_numeric($v)) {\n $v = (int) $v;\n }\n ... | [
"0.7105452",
"0.64498425",
"0.52678865",
"0.50417507",
"0.4823204",
"0.47969586",
"0.47777164",
"0.4657533",
"0.45973375",
"0.45968735",
"0.45928428",
"0.45900208",
"0.4533355",
"0.4480878",
"0.44584432",
"0.44464672",
"0.44193065",
"0.4341181",
"0.43031004",
"0.42880782",
"0... | 0.51706994 | 3 |
setOperationPrimeFixedAmount() Set the value of [operation_prime_product_price_pourcentage] column. | public function setOperationPrimeProductPricePourcentage($v)
{
if ($v === ''){
$v = null;
}
elseif ($v !== null){
if(is_numeric($v)) {
$v = (int) $v;
}
}
if ($this->operation_prime_product_price_pourcentage !== $v) {
$this->operation_prime_product_price_pourcentage = $v;
$this->modifiedColumns[] = OperationPrimesPeer::OPERATION_PRIME_PRODUCT_PRICE_POURCENTAGE;
}
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setOperationPrimeFixedAmount($v)\n {\n if ($v === ''){\n $v = null;\n }\n elseif ($v !== null){\n \n if(is_string($v)){\n $v = str_replace(\n array(' ',... | [
"0.7382167",
"0.6767842",
"0.6492442",
"0.6071091",
"0.5446826",
"0.54002994",
"0.535681",
"0.53148055",
"0.5299469",
"0.52318156",
"0.52069175",
"0.51923376",
"0.5187999",
"0.5142954",
"0.5116386",
"0.5035392",
"0.5016725",
"0.50020295",
"0.49857175",
"0.49821573",
"0.498215... | 0.6565606 | 2 |
setOperationPrimeProductPricePourcentage() Set the value of [operation_prime_maximum_amount] column. | public function setOperationPrimeMaximumAmount($v)
{
if ($v === ''){
$v = null;
}
elseif ($v !== null){
if(is_string($v)){
$v = str_replace(
array(' ',','),
array('','.'),
$v
);
}
if(is_numeric($v)) {
$v = (float) $v;
}
}
if ($this->operation_prime_maximum_amount !== $v) {
$this->operation_prime_maximum_amount = $v;
$this->modifiedColumns[] = OperationPrimesPeer::OPERATION_PRIME_MAXIMUM_AMOUNT;
}
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getOperationPrimeProductPricePourcentage()\n {\n\n return $this->operation_prime_product_price_pourcentage;\n }",
"public function setOperationPrimeProductPricePourcentage($v)\n {\n if ($v === ''){\n $v = null;\n }\n ... | [
"0.70905197",
"0.6973483",
"0.65682626",
"0.5927806",
"0.5793626",
"0.5509157",
"0.54604095",
"0.54604095",
"0.54604095",
"0.5455875",
"0.5373107",
"0.52523375",
"0.52031016",
"0.51025015",
"0.5088597",
"0.5012854",
"0.5007222",
"0.4998971",
"0.49829134",
"0.4940826",
"0.4930... | 0.70858216 | 1 |
setOperationPrimeMaximumAmount() Indicates whether the columns in this object are only set to default values. This method can be used in conjunction with isModified() to indicate whether an object is both modified _and_ has some values set which are nondefault. | public function hasOnlyDefaultValues()
{
// otherwise, everything was equal, so return true
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setOperationPrimeMaximumAmount($v)\n {\n if ($v === ''){\n $v = null;\n }\n elseif ($v !== null){\n \n if(is_string($v)){\n $v = str_replace(\n array(' ... | [
"0.7019067",
"0.64775026",
"0.54271275",
"0.51301557",
"0.506715",
"0.49006757",
"0.48005328",
"0.45959958",
"0.45886317",
"0.4555497",
"0.45435023",
"0.45191792",
"0.44645458",
"0.445615",
"0.44456252",
"0.4400655",
"0.4384647",
"0.43650854",
"0.43635836",
"0.43531254",
"0.4... | 0.0 | -1 |
hasOnlyDefaultValues() Hydrates (populates) the object variables with values from the database resultset. An offset (0based "start column") is specified so that objects can be hydrated with a subset of the columns in the resultset rows. This is needed, for example, for results of JOIN queries where the resultset row includes columns from two or more tables. | public function hydrate($row, $startcol = 0, $rehydrate = false)
{
try {
$this->op_prime_id = ($row[$startcol + 0] !== null) ? (int) $row[$startcol + 0] : null;
$this->op_id = ($row[$startcol + 1] !== null) ? (int) $row[$startcol + 1] : null;
$this->op_prime_libelle = ($row[$startcol + 2] !== null) ? (string) $row[$startcol + 2] : null;
$this->op_prime_numero = ($row[$startcol + 3] !== null) ? (int) $row[$startcol + 3] : null;
$this->gdl_art_id = ($row[$startcol + 4] !== null) ? (int) $row[$startcol + 4] : null;
$this->operation_prime_currency_id = ($row[$startcol + 5] !== null) ? (int) $row[$startcol + 5] : null;
$this->operation_prime_r_reward_type_id = ($row[$startcol + 6] !== null) ? (int) $row[$startcol + 6] : null;
$this->operation_prime_r_reward_expedition_mode_id = ($row[$startcol + 7] !== null) ? (int) $row[$startcol + 7] : null;
$this->operation_prime_r_reward_transporter_id = ($row[$startcol + 8] !== null) ? (int) $row[$startcol + 8] : null;
$this->operation_prime_fixed_amount = ($row[$startcol + 9] !== null) ? (float) $row[$startcol + 9] : null;
$this->operation_prime_product_price_pourcentage = ($row[$startcol + 10] !== null) ? (int) $row[$startcol + 10] : null;
$this->operation_prime_maximum_amount = ($row[$startcol + 11] !== null) ? (float) $row[$startcol + 11] : null;
$this->resetModified();
$this->setNew(false);
if ($rehydrate) {
$this->ensureConsistency();
}
$this->postHydrate($row, $startcol, $rehydrate);
return $startcol + 12; // 12 = OperationPrimesPeer::NUM_HYDRATE_COLUMNS.
} catch (Exception $e) {
throw new PropelException("Error populating OperationPrimes object", $e);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function hasOnlyDefaultValues()\n\t{\n\t\t\t// First, ensure that we don't have any columns that have been modified which aren't default columns.\n\t\t\tif (array_diff($this->modifiedColumns, array())) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t// otherwise, everything was equal, so return TRUE\n\t\treturn tr... | [
"0.5515934",
"0.5515934",
"0.5515934",
"0.54114807",
"0.53962445",
"0.53962445",
"0.53962445",
"0.53962445",
"0.53962445",
"0.53962445",
"0.53962445",
"0.53319335",
"0.5318571",
"0.52935666",
"0.52880543",
"0.52724314",
"0.52678066",
"0.52202827",
"0.5203636",
"0.51867044",
"... | 0.0 | -1 |
Checks and repairs the internal consistency of the object. This method is executed after an alreadyinstantiated object is rehydrated from the database. It exists to check any foreign keys to make sure that the objects related to the current object are correct based on foreign key. You can override this method in the stub class, but you should always invoke the base method from the overridden method (i.e. parent::ensureConsistency()), in case your model changes. | public function ensureConsistency()
{
if ($this->aOperations !== null && $this->op_id !== $this->aOperations->getOpId()) {
$this->aOperations = null;
}
if ($this->aRCurrencies !== null && $this->operation_prime_currency_id !== $this->aRCurrencies->getRCurrencyId()) {
$this->aRCurrencies = null;
}
if ($this->aRRewardTypes !== null && $this->operation_prime_r_reward_type_id !== $this->aRRewardTypes->getRRewardTypeId()) {
$this->aRRewardTypes = null;
}
if ($this->aRRewardExpeditionModes !== null && $this->operation_prime_r_reward_expedition_mode_id !== $this->aRRewardExpeditionModes->getRRewardExpeditionModeId()) {
$this->aRRewardExpeditionModes = null;
}
if ($this->aRRewardTransporters !== null && $this->operation_prime_r_reward_transporter_id !== $this->aRRewardTransporters->getRRewardTransporterId()) {
$this->aRRewardTransporters = null;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function ensureConsistency()\n {\n if ($this->aSociete !== null && $this->soc_id_fk !== $this->aSociete->getID()) {\n $this->aSociete = null;\n }\n if ($this->aMTransport !== null && $this->transport_fk !== $this->aMTransport->getMTransport()) {\n $this->aMTrans... | [
"0.75610495",
"0.72721386",
"0.71245176",
"0.70600545",
"0.7055432",
"0.6995465",
"0.69662577",
"0.6878698",
"0.68757457",
"0.68340486",
"0.68136984",
"0.6717761",
"0.66962105",
"0.66962105",
"0.66962105",
"0.66962105",
"0.6691581",
"0.66754556",
"0.66677",
"0.66677",
"0.6667... | 0.6753883 | 11 |
ensureConsistency Reloads this object from datastore based on primary key and (optionally) resets all associated objects. This will only work if the object has been saved and has a valid primary key set. | public function reload($deep = false, PropelPDO $con = null)
{
if ($this->isDeleted()) {
throw new PropelException("Cannot reload a deleted object.");
}
if ($this->isNew()) {
throw new PropelException("Cannot reload an unsaved object.");
}
if ($con === null) {
$con = Propel::getConnection(OperationPrimesPeer::DATABASE_NAME, Propel::CONNECTION_READ);
}
// We don't need to alter the object instance pool; we're just modifying this instance
// already in the pool.
$stmt = OperationPrimesPeer::doSelectStmt($this->buildPkeyCriteria(), $con);
$row = $stmt->fetch(PDO::FETCH_NUM);
$stmt->closeCursor();
if (!$row) {
throw new PropelException('Cannot find matching row in the database to reload object values.');
}
$this->hydrate($row, 0, true); // rehydrate
if ($deep) { // also de-associate any related objects?
$this->aOperations = null;
$this->aRCurrencies = null;
$this->aRRewardTypes = null;
$this->aRRewardExpeditionModes = null;
$this->aRRewardTransporters = null;
$this->collOperationPrestationss = null;
$this->collOperationScenariis = null;
$this->collLnkOperationPrimeRCountriess = null;
} // if (deep)
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function ensureConsistency()\n\t{\n\n\t\tif ($this->aPartie !== null && $this->partie_id !== $this->aPartie->getId()) {\n\t\t\t$this->aPartie = null;\n\t\t}\n\t\tif ($this->aPostRelatedByReplicaPostId !== null && $this->replica_post_id !== $this->aPostRelatedByReplicaPostId->getId()) {\n\t\t\t$this->aPostRe... | [
"0.6329906",
"0.6250165",
"0.6237379",
"0.601279",
"0.5945647",
"0.59253395",
"0.59110445",
"0.59069854",
"0.5870124",
"0.58222765",
"0.5722145",
"0.57193476",
"0.5691011",
"0.5679188",
"0.5677234",
"0.5636817",
"0.5634068",
"0.55710167",
"0.55710167",
"0.5480384",
"0.5353896... | 0.0 | -1 |
Removes this object from datastore and sets delete attribute. | public function delete(PropelPDO $con = null)
{
if ($this->isDeleted()) {
throw new PropelException("This object has already been deleted.");
}
if ($con === null) {
$con = Propel::getConnection(OperationPrimesPeer::DATABASE_NAME, Propel::CONNECTION_WRITE);
}
$con->beginTransaction();
try {
$deleteQuery = OperationPrimesQuery::create()
->filterByPrimaryKey($this->getPrimaryKey());
$ret = $this->preDelete($con);
if ($ret) {
$deleteQuery->delete($con);
$this->postDelete($con);
$con->commit();
$this->setDeleted(true);
} else {
$con->commit();
}
} catch (Exception $e) {
$con->rollBack();
throw $e;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function delete()\n {\n persistableCollection::getInstance($this->resourceName)->deleteObject($this);\n }",
"public function delete() {\r\n\t\t$this->getMapper()->delete($this);\r\n\t}",
"public function deleteObject(){\n $qry = new DeleteEntityQuery($this);\n $this->getContex... | [
"0.742302",
"0.7122818",
"0.70285857",
"0.6935048",
"0.6827952",
"0.6820167",
"0.6747009",
"0.67229015",
"0.6647957",
"0.6478771",
"0.64619267",
"0.6453828",
"0.6446385",
"0.6432577",
"0.64107853",
"0.6362929",
"0.63556075",
"0.63530505",
"0.6338875",
"0.632956",
"0.6320101",... | 0.0 | -1 |
Persists this object to the database. If the object is new, it inserts it; otherwise an update is performed. All modified related objects will also be persisted in the doSave() method. This method wraps all precipitate database operations in a single transaction. | public function save(PropelPDO $con = null)
{
if ($this->isDeleted()) {
throw new PropelException("You cannot save an object that has been deleted.");
}
if ($con === null) {
$con = Propel::getConnection(OperationPrimesPeer::DATABASE_NAME, Propel::CONNECTION_WRITE);
}
$con->beginTransaction();
$isInsert = $this->isNew();
try {
$ret = $this->preSave($con);
if ($isInsert) {
$ret = $ret && $this->preInsert($con);
} else {
$ret = $ret && $this->preUpdate($con);
}
if ($ret) {
$affectedRows = $this->doSave($con);
if ($isInsert) {
$this->postInsert($con);
} else {
$this->postUpdate($con);
}
$this->postSave($con);
OperationPrimesPeer::addInstanceToPool($this);
} else {
$affectedRows = 0;
}
$con->commit();
return $affectedRows;
} catch (Exception $e) {
$con->rollBack();
throw $e;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function save()\n {\n $entities = $this->entities;\n Database::getInstance()->doTransaction(\n function() use ($entities)\n {\n foreach ($entities as $entity)\n {\n if ($entity->getMarkedAsDeleted())\n ... | [
"0.69814444",
"0.69519675",
"0.69409436",
"0.6811746",
"0.66507304",
"0.66301143",
"0.6511585",
"0.64274126",
"0.6427037",
"0.64038354",
"0.640378",
"0.63903904",
"0.6372566",
"0.6341316",
"0.6323745",
"0.6266331",
"0.62649876",
"0.6230897",
"0.6208281",
"0.6080022",
"0.60798... | 0.0 | -1 |
Performs the work of inserting or updating the row in the database. If the object is new, it inserts it; otherwise an update is performed. All related objects are also updated in this method. | protected function doSave(PropelPDO $con)
{
$affectedRows = 0; // initialize var to track total num of affected rows
if (!$this->alreadyInSave) {
$this->alreadyInSave = true;
// We call the save method on the following object(s) if they
// were passed to this object by their corresponding set
// method. This object relates to these object(s) by a
// foreign key reference.
if ($this->aOperations !== null) {
if ($this->aOperations->isModified() || $this->aOperations->isNew()) {
$affectedRows += $this->aOperations->save($con);
}
$this->setOperations($this->aOperations);
}
if ($this->aRCurrencies !== null) {
if ($this->aRCurrencies->isModified() || $this->aRCurrencies->isNew()) {
$affectedRows += $this->aRCurrencies->save($con);
}
$this->setRCurrencies($this->aRCurrencies);
}
if ($this->aRRewardTypes !== null) {
if ($this->aRRewardTypes->isModified() || $this->aRRewardTypes->isNew()) {
$affectedRows += $this->aRRewardTypes->save($con);
}
$this->setRRewardTypes($this->aRRewardTypes);
}
if ($this->aRRewardExpeditionModes !== null) {
if ($this->aRRewardExpeditionModes->isModified() || $this->aRRewardExpeditionModes->isNew()) {
$affectedRows += $this->aRRewardExpeditionModes->save($con);
}
$this->setRRewardExpeditionModes($this->aRRewardExpeditionModes);
}
if ($this->aRRewardTransporters !== null) {
if ($this->aRRewardTransporters->isModified() || $this->aRRewardTransporters->isNew()) {
$affectedRows += $this->aRRewardTransporters->save($con);
}
$this->setRRewardTransporters($this->aRRewardTransporters);
}
if ($this->isNew() || $this->isModified()) {
// persist changes
if ($this->isNew()) {
$this->doInsert($con);
} else {
$this->doUpdate($con);
}
$affectedRows += 1;
$this->resetModified();
}
if ($this->operationPrestationssScheduledForDeletion !== null) {
if (!$this->operationPrestationssScheduledForDeletion->isEmpty()) {
foreach ($this->operationPrestationssScheduledForDeletion as $operationPrestations) {
// need to save related object because we set the relation to null
$operationPrestations->save($con);
}
$this->operationPrestationssScheduledForDeletion = null;
}
}
if ($this->collOperationPrestationss !== null) {
foreach ($this->collOperationPrestationss as $referrerFK) {
if (!$referrerFK->isDeleted() && ($referrerFK->isNew() || $referrerFK->isModified())) {
$affectedRows += $referrerFK->save($con);
}
}
}
if ($this->operationScenariisScheduledForDeletion !== null) {
if (!$this->operationScenariisScheduledForDeletion->isEmpty()) {
foreach ($this->operationScenariisScheduledForDeletion as $operationScenarii) {
// need to save related object because we set the relation to null
$operationScenarii->save($con);
}
$this->operationScenariisScheduledForDeletion = null;
}
}
if ($this->collOperationScenariis !== null) {
foreach ($this->collOperationScenariis as $referrerFK) {
if (!$referrerFK->isDeleted() && ($referrerFK->isNew() || $referrerFK->isModified())) {
$affectedRows += $referrerFK->save($con);
}
}
}
if ($this->lnkOperationPrimeRCountriessScheduledForDeletion !== null) {
if (!$this->lnkOperationPrimeRCountriessScheduledForDeletion->isEmpty()) {
foreach ($this->lnkOperationPrimeRCountriessScheduledForDeletion as $lnkOperationPrimeRCountries) {
// need to save related object because we set the relation to null
$lnkOperationPrimeRCountries->save($con);
}
$this->lnkOperationPrimeRCountriessScheduledForDeletion = null;
}
}
if ($this->collLnkOperationPrimeRCountriess !== null) {
foreach ($this->collLnkOperationPrimeRCountriess as $referrerFK) {
if (!$referrerFK->isDeleted() && ($referrerFK->isNew() || $referrerFK->isModified())) {
$affectedRows += $referrerFK->save($con);
}
}
}
$this->alreadyInSave = false;
}
return $affectedRows;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function store()\n {\n if (!$this->id) { // Insert\n $this->insertObject();\n } else { // Update\n $this->updateObject();\n }\n }",
"public function update() {\r\n\r\n\t\ttry {\r\n\t\t\tglobal $ks_db;\r\n\t\t\tglobal $ks_log;\r\n\r\n\t\t\t$ks_db->beginTrans... | [
"0.7089358",
"0.6777712",
"0.66622216",
"0.6579319",
"0.6555837",
"0.64950615",
"0.6494138",
"0.64498883",
"0.63797367",
"0.6355173",
"0.6321682",
"0.631803",
"0.63112974",
"0.6295961",
"0.6267777",
"0.626631",
"0.62629753",
"0.6258791",
"0.6246723",
"0.62094116",
"0.6207008"... | 0.0 | -1 |
doSave() Insert the row in the database. | protected function doInsert(PropelPDO $con)
{
$modifiedColumns = array();
$index = 0;
$this->modifiedColumns[] = OperationPrimesPeer::OP_PRIME_ID;
if (null !== $this->op_prime_id) {
throw new PropelException('Cannot insert a value for auto-increment primary key (' . OperationPrimesPeer::OP_PRIME_ID . ')');
}
// check the columns in natural order for more readable SQL queries
if ($this->isColumnModified(OperationPrimesPeer::OP_PRIME_ID)) {
$modifiedColumns[':p' . $index++] = '`op_prime_id`';
}
if ($this->isColumnModified(OperationPrimesPeer::OP_ID)) {
$modifiedColumns[':p' . $index++] = '`op_id`';
}
if ($this->isColumnModified(OperationPrimesPeer::OP_PRIME_LIBELLE)) {
$modifiedColumns[':p' . $index++] = '`op_prime_libelle`';
}
if ($this->isColumnModified(OperationPrimesPeer::OP_PRIME_NUMERO)) {
$modifiedColumns[':p' . $index++] = '`op_prime_numero`';
}
if ($this->isColumnModified(OperationPrimesPeer::GDL_ART_ID)) {
$modifiedColumns[':p' . $index++] = '`gdl_art_id`';
}
if ($this->isColumnModified(OperationPrimesPeer::OPERATION_PRIME_CURRENCY_ID)) {
$modifiedColumns[':p' . $index++] = '`operation_prime_currency_id`';
}
if ($this->isColumnModified(OperationPrimesPeer::OPERATION_PRIME_R_REWARD_TYPE_ID)) {
$modifiedColumns[':p' . $index++] = '`operation_prime_r_reward_type_id`';
}
if ($this->isColumnModified(OperationPrimesPeer::OPERATION_PRIME_R_REWARD_EXPEDITION_MODE_ID)) {
$modifiedColumns[':p' . $index++] = '`operation_prime_r_reward_expedition_mode_id`';
}
if ($this->isColumnModified(OperationPrimesPeer::OPERATION_PRIME_R_REWARD_TRANSPORTER_ID)) {
$modifiedColumns[':p' . $index++] = '`operation_prime_r_reward_transporter_id`';
}
if ($this->isColumnModified(OperationPrimesPeer::OPERATION_PRIME_FIXED_AMOUNT)) {
$modifiedColumns[':p' . $index++] = '`operation_prime_fixed_amount`';
}
if ($this->isColumnModified(OperationPrimesPeer::OPERATION_PRIME_PRODUCT_PRICE_POURCENTAGE)) {
$modifiedColumns[':p' . $index++] = '`operation_prime_product_price_pourcentage`';
}
if ($this->isColumnModified(OperationPrimesPeer::OPERATION_PRIME_MAXIMUM_AMOUNT)) {
$modifiedColumns[':p' . $index++] = '`operation_prime_maximum_amount`';
}
$sql = sprintf(
'INSERT INTO `operation_primes` (%s) VALUES (%s)',
implode(', ', $modifiedColumns),
implode(', ', array_keys($modifiedColumns))
);
try {
$stmt = $con->prepare($sql);
foreach ($modifiedColumns as $identifier => $columnName) {
switch ($columnName) {
case '`op_prime_id`':
$stmt->bindValue($identifier, $this->op_prime_id, PDO::PARAM_INT);
break;
case '`op_id`':
$stmt->bindValue($identifier, $this->op_id, PDO::PARAM_INT);
break;
case '`op_prime_libelle`':
$stmt->bindValue($identifier, $this->op_prime_libelle, PDO::PARAM_STR);
break;
case '`op_prime_numero`':
$stmt->bindValue($identifier, $this->op_prime_numero, PDO::PARAM_INT);
break;
case '`gdl_art_id`':
$stmt->bindValue($identifier, $this->gdl_art_id, PDO::PARAM_INT);
break;
case '`operation_prime_currency_id`':
$stmt->bindValue($identifier, $this->operation_prime_currency_id, PDO::PARAM_INT);
break;
case '`operation_prime_r_reward_type_id`':
$stmt->bindValue($identifier, $this->operation_prime_r_reward_type_id, PDO::PARAM_INT);
break;
case '`operation_prime_r_reward_expedition_mode_id`':
$stmt->bindValue($identifier, $this->operation_prime_r_reward_expedition_mode_id, PDO::PARAM_INT);
break;
case '`operation_prime_r_reward_transporter_id`':
$stmt->bindValue($identifier, $this->operation_prime_r_reward_transporter_id, PDO::PARAM_INT);
break;
case '`operation_prime_fixed_amount`':
$stmt->bindValue($identifier, $this->operation_prime_fixed_amount, PDO::PARAM_INT);
break;
case '`operation_prime_product_price_pourcentage`':
$stmt->bindValue($identifier, $this->operation_prime_product_price_pourcentage, PDO::PARAM_INT);
break;
case '`operation_prime_maximum_amount`':
$stmt->bindValue($identifier, $this->operation_prime_maximum_amount, PDO::PARAM_INT);
break;
}
}
$stmt->execute();
} catch (Exception $e) {
Propel::log($e->getMessage(), Propel::LOG_ERR);
throw new PropelException(sprintf('Unable to execute INSERT statement [%s]', $sql), $e);
}
try {
$pk = $con->lastInsertId();
} catch (Exception $e) {
throw new PropelException('Unable to get autoincrement id.', $e);
}
$this->setOpPrimeId($pk);
$this->setNew(false);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function save()\n {\n if ($this->id) {\n $this->update();\n } else {\n $this->id = $this->insert();\n }\n }",
"public function saveRow( $row );",
"public function save()\n {\n if ($this->id === null) {\n $this->insert();\n } el... | [
"0.72395414",
"0.7023153",
"0.69897276",
"0.69859445",
"0.68637806",
"0.6777437",
"0.6774917",
"0.6670073",
"0.6630975",
"0.66238767",
"0.6596921",
"0.6596321",
"0.65869534",
"0.6576844",
"0.65690297",
"0.65574664",
"0.65443015",
"0.65379804",
"0.65335345",
"0.65287566",
"0.6... | 0.0 | -1 |
Update the row in the database. | protected function doUpdate(PropelPDO $con)
{
$selectCriteria = $this->buildPkeyCriteria();
$valuesCriteria = $this->buildCriteria();
BasePeer::doUpdate($selectCriteria, $valuesCriteria, $con);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function updateRow($row);",
"protected function update() {\n $this->db->updateRows($this->table_name, $this->update, $this->filter);\n storeDbMsg($this->db,ucwords($this->form_ID) . \" successfully updated!\");\n }",
"public function update() {\n\t\tif (isset($this->params['updated'])) ... | [
"0.7753869",
"0.73640484",
"0.72702825",
"0.72121763",
"0.7120161",
"0.7061953",
"0.7061775",
"0.70574987",
"0.69864887",
"0.6934475",
"0.6927067",
"0.68846107",
"0.6872685",
"0.68523765",
"0.682981",
"0.68267447",
"0.6804584",
"0.67689174",
"0.67659825",
"0.67483187",
"0.668... | 0.0 | -1 |
Gets any ValidationFailed objects that resulted from last call to validate(). | public function getValidationFailures()
{
return $this->validationFailures;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getFailedValidators() {\n return $this->failedValidators;\n }",
"public function getValidationFailures()\n\t{\n\t\treturn $this->validationFailures;\n\t}",
"public function getValidationFailures()\n\t{\n\t\treturn $this->validationFailures;\n\t}",
"public function getValidationFailu... | [
"0.7626338",
"0.7609587",
"0.7609587",
"0.7609587",
"0.7609587",
"0.7609587",
"0.7609587",
"0.7609587",
"0.7609587",
"0.7609587",
"0.7609587",
"0.76035434",
"0.76035434",
"0.76035434",
"0.74372894",
"0.7340564",
"0.72777367",
"0.7199955",
"0.71778286",
"0.716301",
"0.7147537"... | 0.76089877 | 19 |
This function performs the validation work for complex object models. In addition to checking the current object, all related objects will also be validated. If all pass then true is returned; otherwise an aggregated array of ValidationFailed objects will be returned. | protected function doValidate($columns = null)
{
if (!$this->alreadyInValidation) {
$this->alreadyInValidation = true;
$retval = null;
$failureMap = array();
// We call the validate method on the following object(s) if they
// were passed to this object by their corresponding set
// method. This object relates to these object(s) by a
// foreign key reference.
if ($this->aOperations !== null) {
if (!$this->aOperations->validate($columns)) {
$failureMap = array_merge($failureMap, $this->aOperations->getValidationFailures());
}
}
if ($this->aRCurrencies !== null) {
if (!$this->aRCurrencies->validate($columns)) {
$failureMap = array_merge($failureMap, $this->aRCurrencies->getValidationFailures());
}
}
if ($this->aRRewardTypes !== null) {
if (!$this->aRRewardTypes->validate($columns)) {
$failureMap = array_merge($failureMap, $this->aRRewardTypes->getValidationFailures());
}
}
if ($this->aRRewardExpeditionModes !== null) {
if (!$this->aRRewardExpeditionModes->validate($columns)) {
$failureMap = array_merge($failureMap, $this->aRRewardExpeditionModes->getValidationFailures());
}
}
if ($this->aRRewardTransporters !== null) {
if (!$this->aRRewardTransporters->validate($columns)) {
$failureMap = array_merge($failureMap, $this->aRRewardTransporters->getValidationFailures());
}
}
if (($retval = OperationPrimesPeer::doValidate($this, $columns)) !== true) {
$failureMap = array_merge($failureMap, $retval);
}
if ($this->collOperationPrestationss !== null) {
foreach ($this->collOperationPrestationss as $referrerFK) {
if (!$referrerFK->validate($columns)) {
$failureMap = array_merge($failureMap, $referrerFK->getValidationFailures());
}
}
}
if ($this->collOperationScenariis !== null) {
foreach ($this->collOperationScenariis as $referrerFK) {
if (!$referrerFK->validate($columns)) {
$failureMap = array_merge($failureMap, $referrerFK->getValidationFailures());
}
}
}
if ($this->collLnkOperationPrimeRCountriess !== null) {
foreach ($this->collLnkOperationPrimeRCountriess as $referrerFK) {
if (!$referrerFK->validate($columns)) {
$failureMap = array_merge($failureMap, $referrerFK->getValidationFailures());
}
}
}
$this->alreadyInValidation = false;
}
return (!empty($failureMap) ? $failureMap : true);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function validateAll()\n {\n $result = $this->validate();\n\n foreach ($this->relations() as $relation) {\n\n $relAttr = $relation['attribute'];\n $relModel = $this->$relAttr;\n\n if (ArrayHelper::isIndexed($relModel)) {\n foreach ($relModel a... | [
"0.7665337",
"0.7151684",
"0.68512136",
"0.67776966",
"0.668118",
"0.6543617",
"0.65301067",
"0.6456584",
"0.6361544",
"0.6357552",
"0.632348",
"0.63058597",
"0.62689567",
"0.62605214",
"0.62440133",
"0.6210945",
"0.6199374",
"0.6148872",
"0.613738",
"0.610981",
"0.61088693",... | 0.553215 | 81 |
Retrieves a field from the object by name passed in as a string. | public function getByName($name, $type = BasePeer::TYPE_PHPNAME)
{
$pos = OperationPrimesPeer::translateFieldName($name, $type, BasePeer::TYPE_NUM);
$field = $this->getByPosition($pos);
return $field;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getField($name) { return $this->fields[$name]; }",
"public function getField($field_name);",
"public function getField($name) {\n return $this->getFields()[$name];\n }",
"public function getField($name) {\n\t\treturn $this->fields[$name];\n\t}",
"public function getField($name)\n ... | [
"0.7681914",
"0.766541",
"0.75596255",
"0.7506295",
"0.743647",
"0.7333994",
"0.72660106",
"0.70515186",
"0.7032121",
"0.7000572",
"0.6946211",
"0.6921556",
"0.6921556",
"0.69073516",
"0.68666327",
"0.6780388",
"0.67717224",
"0.67544067",
"0.67388904",
"0.6735364",
"0.6720807... | 0.0 | -1 |
Retrieves a field from the object by Position as specified in the xml schema. Zerobased. | public function getByPosition($pos)
{
switch ($pos) {
case 0:
return $this->getOpPrimeId();
break;
case 1:
return $this->getOpId();
break;
case 2:
return $this->getOpPrimeLibelle();
break;
case 3:
return $this->getOpPrimeNumero();
break;
case 4:
return $this->getGdlArtId();
break;
case 5:
return $this->getOperationPrimeCurrencyId();
break;
case 6:
return $this->getOperationPrimeRRewardTypeId();
break;
case 7:
return $this->getOperationPrimeRRewardExpeditionModeId();
break;
case 8:
return $this->getOperationPrimeRRewardTransporterId();
break;
case 9:
return $this->getOperationPrimeFixedAmount();
break;
case 10:
return $this->getOperationPrimeProductPricePourcentage();
break;
case 11:
return $this->getOperationPrimeMaximumAmount();
break;
default:
return null;
break;
} // switch()
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getFieldByPosition($position) {\n\t\tforeach ($this->fields as $field) {\n\t\t\tif ($field instanceof Field && $field->getPosition() == $position) {\n\t\t\t\treturn $field;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}",
"public function getFieldByPosition($position) {\n\t\tforeach ($this->fields as $fi... | [
"0.7545976",
"0.75359285",
"0.7077807",
"0.6612748",
"0.6612748",
"0.64956087",
"0.636723",
"0.636723",
"0.636723",
"0.63647276",
"0.63587666",
"0.6347094",
"0.63450897",
"0.6245128",
"0.6218534",
"0.61854213",
"0.6178202",
"0.6170745",
"0.6168906",
"0.616421",
"0.61340445",
... | 0.0 | -1 |
Exports the object as an array. You can specify the key type of the array by passing one of the class type constants. | public function toArray($keyType = BasePeer::TYPE_PHPNAME, $includeLazyLoadColumns = true, $alreadyDumpedObjects = array(), $includeForeignObjects = false)
{
if (isset($alreadyDumpedObjects['OperationPrimes'][$this->getPrimaryKey()])) {
return '*RECURSION*';
}
$alreadyDumpedObjects['OperationPrimes'][$this->getPrimaryKey()] = true;
$keys = OperationPrimesPeer::getFieldNames($keyType);
$result = array(
$keys[0] => $this->getOpPrimeId(),
$keys[1] => $this->getOpId(),
$keys[2] => $this->getOpPrimeLibelle(),
$keys[3] => $this->getOpPrimeNumero(),
$keys[4] => $this->getGdlArtId(),
$keys[5] => $this->getOperationPrimeCurrencyId(),
$keys[6] => $this->getOperationPrimeRRewardTypeId(),
$keys[7] => $this->getOperationPrimeRRewardExpeditionModeId(),
$keys[8] => $this->getOperationPrimeRRewardTransporterId(),
$keys[9] => $this->getOperationPrimeFixedAmount(),
$keys[10] => $this->getOperationPrimeProductPricePourcentage(),
$keys[11] => $this->getOperationPrimeMaximumAmount(),
);
$virtualColumns = $this->virtualColumns;
foreach ($virtualColumns as $key => $virtualColumn) {
$result[$key] = $virtualColumn;
}
if ($includeForeignObjects) {
if (null !== $this->aOperations) {
$result['Operations'] = $this->aOperations->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true);
}
if (null !== $this->aRCurrencies) {
$result['RCurrencies'] = $this->aRCurrencies->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true);
}
if (null !== $this->aRRewardTypes) {
$result['RRewardTypes'] = $this->aRRewardTypes->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true);
}
if (null !== $this->aRRewardExpeditionModes) {
$result['RRewardExpeditionModes'] = $this->aRRewardExpeditionModes->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true);
}
if (null !== $this->aRRewardTransporters) {
$result['RRewardTransporters'] = $this->aRRewardTransporters->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true);
}
if (null !== $this->collOperationPrestationss) {
$result['OperationPrestationss'] = $this->collOperationPrestationss->toArray(null, true, $keyType, $includeLazyLoadColumns, $alreadyDumpedObjects);
}
if (null !== $this->collOperationScenariis) {
$result['OperationScenariis'] = $this->collOperationScenariis->toArray(null, true, $keyType, $includeLazyLoadColumns, $alreadyDumpedObjects);
}
if (null !== $this->collLnkOperationPrimeRCountriess) {
$result['LnkOperationPrimeRCountriess'] = $this->collLnkOperationPrimeRCountriess->toArray(null, true, $keyType, $includeLazyLoadColumns, $alreadyDumpedObjects);
}
}
return $result;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function export() {\n\t\t$data = array();\n\t\tforeach ($this->store as $key => $value) {\n\t\t\tif ($value instanceof ELSWAK_Object) {\n\t\t\t\t$data[$key] = $value->_export();\n\t\t\t} elseif ($value instanceof ELSWAK_Array) {\n\t\t\t\t$data[$key] = $value->export();\n\t\t\t} else {\n\t\t\t\t$data[$key] =... | [
"0.67233455",
"0.66456866",
"0.60928863",
"0.6017422",
"0.601661",
"0.5997924",
"0.5997924",
"0.5997924",
"0.5997924",
"0.59974253",
"0.59974253",
"0.599724",
"0.599724",
"0.599724",
"0.599724",
"0.599724",
"0.599724",
"0.599724",
"0.599724",
"0.599724",
"0.599724",
"0.5987... | 0.0 | -1 |
Sets a field from the object by name passed in as a string. | public function setByName($name, $value, $type = BasePeer::TYPE_PHPNAME)
{
$pos = OperationPrimesPeer::translateFieldName($name, $type, BasePeer::TYPE_NUM);
$this->setByPosition($pos, $value);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setField(string $name, $value);",
"public function setField(string $name, Field $field);",
"public function setField($name, $value);",
"public function __set($name, $value) {\n if($value instanceof Field){\n if(!isset($value->name)){\n $value->name = $name;\n ... | [
"0.7794071",
"0.7765753",
"0.7621745",
"0.7159486",
"0.6848369",
"0.6848369",
"0.66906244",
"0.6660367",
"0.6613256",
"0.66118556",
"0.66118556",
"0.6599802",
"0.65166557",
"0.6498437",
"0.6475633",
"0.64500886",
"0.6437298",
"0.64018905",
"0.6397115",
"0.6375107",
"0.6358418... | 0.0 | -1 |
Sets a field from the object by Position as specified in the xml schema. Zerobased. | public function setByPosition($pos, $value)
{
switch ($pos) {
case 0:
$this->setOpPrimeId($value);
break;
case 1:
$this->setOpId($value);
break;
case 2:
$this->setOpPrimeLibelle($value);
break;
case 3:
$this->setOpPrimeNumero($value);
break;
case 4:
$this->setGdlArtId($value);
break;
case 5:
$this->setOperationPrimeCurrencyId($value);
break;
case 6:
$this->setOperationPrimeRRewardTypeId($value);
break;
case 7:
$this->setOperationPrimeRRewardExpeditionModeId($value);
break;
case 8:
$this->setOperationPrimeRRewardTransporterId($value);
break;
case 9:
$this->setOperationPrimeFixedAmount($value);
break;
case 10:
$this->setOperationPrimeProductPricePourcentage($value);
break;
case 11:
$this->setOperationPrimeMaximumAmount($value);
break;
} // switch()
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function set(array $array, $pos = 0){\n foreach($this as $field => $valor){\n if(isset($array[$pos])){\n $this->$field = $array[$pos];\n }\n $pos++;\n }\n }",
"public function setByPosition($pos, $value)\n\t{\n\t\tswitch($pos) {\n\t\t\tcase 0:\n\t\... | [
"0.652872",
"0.6344248",
"0.62873644",
"0.62873644",
"0.6219781",
"0.6219009",
"0.6206481",
"0.61697066",
"0.61684006",
"0.61590666",
"0.6144966",
"0.6099289",
"0.60849416",
"0.6078718",
"0.6078718",
"0.6074964",
"0.60702604",
"0.6067187",
"0.60593385",
"0.60496074",
"0.60372... | 0.56779337 | 50 |
Populates the object using an array. This is particularly useful when populating an object from one of the request arrays (e.g. $_POST). This method goes through the column names, checking to see whether a matching key exists in populated array. If so the setByName() method is called for that column. You can specify the key type of the array by additionally passing one of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME, BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM. The default key type is the column's BasePeer::TYPE_PHPNAME | public function fromArray($arr, $keyType = BasePeer::TYPE_PHPNAME)
{
$keys = OperationPrimesPeer::getFieldNames($keyType);
if (array_key_exists($keys[0], $arr)) $this->setOpPrimeId($arr[$keys[0]]);
if (array_key_exists($keys[1], $arr)) $this->setOpId($arr[$keys[1]]);
if (array_key_exists($keys[2], $arr)) $this->setOpPrimeLibelle($arr[$keys[2]]);
if (array_key_exists($keys[3], $arr)) $this->setOpPrimeNumero($arr[$keys[3]]);
if (array_key_exists($keys[4], $arr)) $this->setGdlArtId($arr[$keys[4]]);
if (array_key_exists($keys[5], $arr)) $this->setOperationPrimeCurrencyId($arr[$keys[5]]);
if (array_key_exists($keys[6], $arr)) $this->setOperationPrimeRRewardTypeId($arr[$keys[6]]);
if (array_key_exists($keys[7], $arr)) $this->setOperationPrimeRRewardExpeditionModeId($arr[$keys[7]]);
if (array_key_exists($keys[8], $arr)) $this->setOperationPrimeRRewardTransporterId($arr[$keys[8]]);
if (array_key_exists($keys[9], $arr)) $this->setOperationPrimeFixedAmount($arr[$keys[9]]);
if (array_key_exists($keys[10], $arr)) $this->setOperationPrimeProductPricePourcentage($arr[$keys[10]]);
if (array_key_exists($keys[11], $arr)) $this->setOperationPrimeMaximumAmount($arr[$keys[11]]);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function fromArray($arr, $keyType = TableMap::TYPE_PHPNAME)\n {\n $keys = AliMemberTableMap::getFieldNames($keyType);\n\n if (array_key_exists($keys[0], $arr)) {\n $this->setId($arr[$keys[0]]);\n }\n if (array_key_exists($keys[1], $arr)) {\n $this->setMco... | [
"0.6295839",
"0.6289262",
"0.6277631",
"0.6182538",
"0.607967",
"0.6060317",
"0.6006793",
"0.5968363",
"0.59326476",
"0.59074706",
"0.58208084",
"0.58035934",
"0.57572573",
"0.57433677",
"0.570267",
"0.568252",
"0.56238914",
"0.5618765",
"0.5613207",
"0.55908746",
"0.55820453... | 0.0 | -1 |
Build a Criteria object containing the values of all modified columns in this object. | public function buildCriteria()
{
$criteria = new Criteria(OperationPrimesPeer::DATABASE_NAME);
if ($this->isColumnModified(OperationPrimesPeer::OP_PRIME_ID)) $criteria->add(OperationPrimesPeer::OP_PRIME_ID, $this->op_prime_id);
if ($this->isColumnModified(OperationPrimesPeer::OP_ID)) $criteria->add(OperationPrimesPeer::OP_ID, $this->op_id);
if ($this->isColumnModified(OperationPrimesPeer::OP_PRIME_LIBELLE)) $criteria->add(OperationPrimesPeer::OP_PRIME_LIBELLE, $this->op_prime_libelle);
if ($this->isColumnModified(OperationPrimesPeer::OP_PRIME_NUMERO)) $criteria->add(OperationPrimesPeer::OP_PRIME_NUMERO, $this->op_prime_numero);
if ($this->isColumnModified(OperationPrimesPeer::GDL_ART_ID)) $criteria->add(OperationPrimesPeer::GDL_ART_ID, $this->gdl_art_id);
if ($this->isColumnModified(OperationPrimesPeer::OPERATION_PRIME_CURRENCY_ID)) $criteria->add(OperationPrimesPeer::OPERATION_PRIME_CURRENCY_ID, $this->operation_prime_currency_id);
if ($this->isColumnModified(OperationPrimesPeer::OPERATION_PRIME_R_REWARD_TYPE_ID)) $criteria->add(OperationPrimesPeer::OPERATION_PRIME_R_REWARD_TYPE_ID, $this->operation_prime_r_reward_type_id);
if ($this->isColumnModified(OperationPrimesPeer::OPERATION_PRIME_R_REWARD_EXPEDITION_MODE_ID)) $criteria->add(OperationPrimesPeer::OPERATION_PRIME_R_REWARD_EXPEDITION_MODE_ID, $this->operation_prime_r_reward_expedition_mode_id);
if ($this->isColumnModified(OperationPrimesPeer::OPERATION_PRIME_R_REWARD_TRANSPORTER_ID)) $criteria->add(OperationPrimesPeer::OPERATION_PRIME_R_REWARD_TRANSPORTER_ID, $this->operation_prime_r_reward_transporter_id);
if ($this->isColumnModified(OperationPrimesPeer::OPERATION_PRIME_FIXED_AMOUNT)) $criteria->add(OperationPrimesPeer::OPERATION_PRIME_FIXED_AMOUNT, $this->operation_prime_fixed_amount);
if ($this->isColumnModified(OperationPrimesPeer::OPERATION_PRIME_PRODUCT_PRICE_POURCENTAGE)) $criteria->add(OperationPrimesPeer::OPERATION_PRIME_PRODUCT_PRICE_POURCENTAGE, $this->operation_prime_product_price_pourcentage);
if ($this->isColumnModified(OperationPrimesPeer::OPERATION_PRIME_MAXIMUM_AMOUNT)) $criteria->add(OperationPrimesPeer::OPERATION_PRIME_MAXIMUM_AMOUNT, $this->operation_prime_maximum_amount);
return $criteria;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function buildCriteria()\n {\n $criteria = new Criteria(UserTableMap::DATABASE_NAME);\n\n if ($this->isColumnModified(UserTableMap::COL_ID)) {\n $criteria->add(UserTableMap::COL_ID, $this->id);\n }\n if ($this->isColumnModified(UserTableMap::COL_NICKNAME)) {\n ... | [
"0.666515",
"0.6526073",
"0.647717",
"0.639994",
"0.63983405",
"0.6311204",
"0.63012093",
"0.621998",
"0.6197674",
"0.6170997",
"0.6169226",
"0.61616975",
"0.61544293",
"0.6142662",
"0.61252797",
"0.611494",
"0.60872996",
"0.60780376",
"0.6043785",
"0.60407835",
"0.60352856",... | 0.60224503 | 23 |
Builds a Criteria object containing the primary key for this object. Unlike buildCriteria() this method includes the primary key values regardless of whether or not they have been modified. | public function buildPkeyCriteria()
{
$criteria = new Criteria(OperationPrimesPeer::DATABASE_NAME);
$criteria->add(OperationPrimesPeer::OP_PRIME_ID, $this->op_prime_id);
return $criteria;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function buildPkeyCriteria()\n\t{\n\t\t$criteria = new Criteria(CidadePeer::DATABASE_NAME);\n\t\t$criteria->add(CidadePeer::ID, $this->id);\n\n\t\treturn $criteria;\n\t}",
"public function buildPkeyCriteria()\n {\n $criteria = new Criteria(YearPeer::DATABASE_NAME);\n $criteria->add(YearPe... | [
"0.7406122",
"0.7295676",
"0.7288419",
"0.72496676",
"0.72496676",
"0.7239242",
"0.7178724",
"0.712078",
"0.70241076",
"0.70038855",
"0.6992874",
"0.6935167",
"0.6832735",
"0.6814747",
"0.681366",
"0.6757555",
"0.6749308",
"0.6729448",
"0.6685484",
"0.66692054",
"0.6663361",
... | 0.64913183 | 30 |
Returns the primary key for this object (row). | public function getPrimaryKey()
{
return $this->getOpPrimeId();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getPrimaryKey()\n\t{\n\t\treturn $this->_rowKey;\n\t}",
"public function PrimaryKey() {\n\t\t\treturn $this->intId;\n\t\t}",
"public function PrimaryKey() {\n\t\t\treturn $this->intId;\n\t\t}",
"public function primary_key()\n\t{\n\t\treturn $this->primary_key;\n\t}",
"public function getPr... | [
"0.85950845",
"0.8418874",
"0.8418874",
"0.84149414",
"0.8307529",
"0.8239426",
"0.8181039",
"0.8176757",
"0.81353986",
"0.81147987",
"0.81039685",
"0.8069813",
"0.80607855",
"0.80430776",
"0.80196464",
"0.79963756",
"0.79677147",
"0.79677147",
"0.79677147",
"0.7962187",
"0.7... | 0.7568625 | 59 |
Generic method to set the primary key (op_prime_id column). | public function setPrimaryKey($key)
{
$this->setOpPrimeId($key);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setOpPrimeId($v)\n {\n if ($v === ''){\n $v = null;\n }\n elseif ($v !== null){\n \n if(is_numeric($v)) {\n $v = (int) $v;\n }\n }\n ... | [
"0.6875452",
"0.6530969",
"0.64509064",
"0.64460796",
"0.63987476",
"0.63456076",
"0.62977344",
"0.6285413",
"0.6285413",
"0.6252991",
"0.6252991",
"0.6252991",
"0.6252991",
"0.6252991",
"0.6252991",
"0.6252991",
"0.6252991",
"0.6252182",
"0.62244624",
"0.62244624",
"0.621682... | 0.7266264 | 0 |
Returns true if the primary key for this object is null. | public function isPrimaryKeyNull()
{
return null === $this->getOpPrimeId();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function isPrimaryKeyNull()\n {\n\n return null === $this->getid();\n }",
"public function isPrimaryKeyNull()\n {\n return null === $this->getId();\n }",
"public function isPrimaryKeyNull()\n {\n return null === $this->getId();\n }",
"public function isPrimaryKey... | [
"0.84790915",
"0.84544814",
"0.84544814",
"0.84544814",
"0.8447244",
"0.8424832",
"0.8424832",
"0.84234697",
"0.84234697",
"0.8402295",
"0.8382674",
"0.83412915",
"0.83093476",
"0.82835287",
"0.82737416",
"0.8239393",
"0.8228147",
"0.82255316",
"0.8206747",
"0.81994236",
"0.8... | 0.83426905 | 11 |
Sets contents of passed object to values from current object. If desired, this method can also make copies of all associated (fkey referrers) objects. | public function copyInto($copyObj, $deepCopy = false, $makeNew = true)
{
$copyObj->setOpId($this->getOpId());
$copyObj->setOpPrimeLibelle($this->getOpPrimeLibelle());
$copyObj->setOpPrimeNumero($this->getOpPrimeNumero());
$copyObj->setGdlArtId($this->getGdlArtId());
$copyObj->setOperationPrimeCurrencyId($this->getOperationPrimeCurrencyId());
$copyObj->setOperationPrimeRRewardTypeId($this->getOperationPrimeRRewardTypeId());
$copyObj->setOperationPrimeRRewardExpeditionModeId($this->getOperationPrimeRRewardExpeditionModeId());
$copyObj->setOperationPrimeRRewardTransporterId($this->getOperationPrimeRRewardTransporterId());
$copyObj->setOperationPrimeFixedAmount($this->getOperationPrimeFixedAmount());
$copyObj->setOperationPrimeProductPricePourcentage($this->getOperationPrimeProductPricePourcentage());
$copyObj->setOperationPrimeMaximumAmount($this->getOperationPrimeMaximumAmount());
if ($deepCopy && !$this->startCopy) {
// important: temporarily setNew(false) because this affects the behavior of
// the getter/setter methods for fkey referrer objects.
$copyObj->setNew(false);
// store object hash to prevent cycle
$this->startCopy = true;
foreach ($this->getOperationPrestationss() as $relObj) {
if ($relObj !== $this) { // ensure that we don't try to copy a reference to ourselves
$copyObj->addOperationPrestations($relObj->copy($deepCopy));
}
}
foreach ($this->getOperationScenariis() as $relObj) {
if ($relObj !== $this) { // ensure that we don't try to copy a reference to ourselves
$copyObj->addOperationScenarii($relObj->copy($deepCopy));
}
}
foreach ($this->getLnkOperationPrimeRCountriess() as $relObj) {
if ($relObj !== $this) { // ensure that we don't try to copy a reference to ourselves
$copyObj->addLnkOperationPrimeRCountries($relObj->copy($deepCopy));
}
}
//unflag object copy
$this->startCopy = false;
} // if ($deepCopy)
if ($makeNew) {
$copyObj->setNew(true);
$copyObj->setOpPrimeId(NULL); // this is a auto-increment column, so set to default value
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"function set_obj(&$obj)\n{\n\t$this->_obj = $obj;\n}",
"function setObject($object);",
"public function & fromObjectRef( & $a_object )\r\n\t{\r\n\t\tif(!is_object($a_object))\r\n\t\t\treturn $this;\r\n\r\n\t\tif($a_object instanceof ZRegistry)\r\n\t\t\t$this->m_data = $this->getDataRef();\r\n\t\telse\r\n\t\t{\... | [
"0.63792884",
"0.63141745",
"0.62218314",
"0.6142023",
"0.599788",
"0.5935298",
"0.5898167",
"0.58387905",
"0.58187747",
"0.5757193",
"0.5757193",
"0.57347876",
"0.57347876",
"0.57347876",
"0.5731154",
"0.5731154",
"0.57304007",
"0.5725446",
"0.5714366",
"0.56989557",
"0.5693... | 0.0 | -1 |
Makes a copy of this object that will be inserted as a new row in table when saved. It creates a new object filling in the simple attributes, but skipping any primary keys that are defined for the table. If desired, this method can also make copies of all associated (fkey referrers) objects. | public function copy($deepCopy = false)
{
// we use get_class(), because this might be a subclass
$clazz = get_class($this);
$copyObj = new $clazz();
$this->copyInto($copyObj, $deepCopy);
return $copyObj;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function copyAttributesToKey()\n\t{\n\t\t$primarykey = $this->factory->getPrimarykey ;\n\t\tforeach( $primarykey->fields as $n=>$field )\n\t\t{\n\t\t\t$this->key[$field] = $this->$field ;\n\t\t}\n\t}",
"public function CopyRecord()\n {\n $rec = $this->GetActiveRecord();\n if (!$rec) return;\n ... | [
"0.6332107",
"0.6199207",
"0.6152271",
"0.6049933",
"0.60402656",
"0.6009334",
"0.59361887",
"0.59313196",
"0.5866712",
"0.58038366",
"0.58002037",
"0.57633096",
"0.5755122",
"0.5726678",
"0.5712836",
"0.57038164",
"0.5701268",
"0.56782615",
"0.5671927",
"0.5607715",
"0.56012... | 0.0 | -1 |
Returns a peer instance associated with this om. Since Peer classes are not to have any instance attributes, this method returns the same instance for all member of this class. The method could therefore be static, but this would prevent one from overriding the behavior. | public function getPeer()
{
if (self::$peer === null) {
self::$peer = new OperationPrimesPeer();
}
return self::$peer;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getPeer()\n {\n if (self::$peer === null) {\n self::$peer = new SekolahPaudPeer();\n }\n\n return self::$peer;\n }",
"public function getPeer()\n {\n if (self::$peer === null) {\n self::$peer = new MontacargasPeer();\n }\n\n ... | [
"0.7497994",
"0.7390064",
"0.72943497",
"0.72943497",
"0.7292093",
"0.71942556",
"0.7158952",
"0.70897853",
"0.70610696",
"0.7024857",
"0.70201725",
"0.6810748",
"0.68051",
"0.67704856",
"0.67646056",
"0.6665654",
"0.65204406",
"0.65204406",
"0.64775974",
"0.64626306",
"0.627... | 0.6366558 | 20 |
Declares an association between this object and a Operations object. | public function setOperations(Operations $v = null)
{
if ($v === null) {
$this->setOpId(NULL);
} else {
$this->setOpId($v->getOpId());
}
$this->aOperations = $v;
// Add binding for other direction of this n:n relationship.
// If this object has already been added to the Operations object, it will not be re-added.
if ($v !== null) {
$v->addOperationPrimes($this);
}
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function __construct(Operation $operation)\n {\n $this->operation = $operation;\n }",
"public function add(Operation $operation);",
"public function addOperation(string $operation): OperationInterface;",
"private function setOperation(OperatorInterface $operation)\n {\n \t$this->ope... | [
"0.6053557",
"0.604759",
"0.57971305",
"0.5765387",
"0.57174367",
"0.568574",
"0.56046474",
"0.55262667",
"0.5447006",
"0.5447006",
"0.5447006",
"0.5447006",
"0.5446227",
"0.54451036",
"0.54158425",
"0.5402796",
"0.5291226",
"0.528244",
"0.5247442",
"0.52103627",
"0.51819134"... | 0.59830725 | 2 |
Get the associated Operations object | public function getOperations(PropelPDO $con = null, $doQuery = true)
{
if ($this->aOperations === null && ($this->op_id !== null) && $doQuery) {
$this->aOperations = OperationsQuery::create()->findPk($this->op_id, $con);
/* The following can be used additionally to
guarantee the related object contains a reference
to this object. This level of coupling may, however, be
undesirable since it could result in an only partially populated collection
in the referenced object.
$this->aOperations->addOperationPrimess($this);
*/
}
return $this->aOperations;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getOperation();",
"function getOperation() {\n\t\treturn $this->get('_operation', $this->get('operation'));\n\t}",
"function getOperation() {\n return $this->operation;\n }",
"public function getOperations()\r\n {\r\n return $this->operations;\r\n }",
"public function getOperations... | [
"0.76069534",
"0.72876245",
"0.7067388",
"0.70176464",
"0.70038265",
"0.6994003",
"0.6994003",
"0.6994003",
"0.6994003",
"0.6994003",
"0.69636476",
"0.66260177",
"0.6568861",
"0.6568861",
"0.6568861",
"0.6568861",
"0.6568861",
"0.6568861",
"0.6568861",
"0.6568861",
"0.6568861... | 0.62571454 | 29 |
Declares an association between this object and a RCurrencies object. | public function setRCurrencies(RCurrencies $v = null)
{
if ($v === null) {
$this->setOperationPrimeCurrencyId(NULL);
} else {
$this->setOperationPrimeCurrencyId($v->getRCurrencyId());
}
$this->aRCurrencies = $v;
// Add binding for other direction of this n:n relationship.
// If this object has already been added to the RCurrencies object, it will not be re-added.
if ($v !== null) {
$v->addOperationPrimes($this);
}
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function currency(): BelongsTo;",
"public function currency()\n {\n return $this->hasOne(Currencies::class , 'id' , 'currencies_id');\n }",
"public function currency(): BelongsTo\n {\n return $this->belongsTo('App\\Models\\Currency');\n }",
"public function getCurrencies2()\n... | [
"0.6144362",
"0.6107907",
"0.6044287",
"0.6035505",
"0.6002561",
"0.59931403",
"0.59911215",
"0.5981195",
"0.5981195",
"0.59660006",
"0.59399104",
"0.5889619",
"0.5805352",
"0.57797533",
"0.57230693",
"0.5690607",
"0.56682974",
"0.5592939",
"0.55806094",
"0.5505901",
"0.55023... | 0.5504256 | 20 |
Get the associated RCurrencies object | public function getRCurrencies(PropelPDO $con = null, $doQuery = true)
{
if ($this->aRCurrencies === null && ($this->operation_prime_currency_id !== null) && $doQuery) {
$this->aRCurrencies = RCurrenciesQuery::create()->findPk($this->operation_prime_currency_id, $con);
/* The following can be used additionally to
guarantee the related object contains a reference
to this object. This level of coupling may, however, be
undesirable since it could result in an only partially populated collection
in the referenced object.
$this->aRCurrencies->addOperationPrimess($this);
*/
}
return $this->aRCurrencies;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getCurrencies()\n {\n return $this->hasMany(Currency::className(), ['ap_gl_acc_id' => 'account_id']);\n }",
"public function getCurrencies();",
"public function getCurrency()\n {\n return $this->hasOne(Currency::className(), ['id' => 'currency_id']);\n }",
"public fu... | [
"0.7242127",
"0.7235806",
"0.7165655",
"0.71164453",
"0.7097183",
"0.7017511",
"0.68971854",
"0.6812062",
"0.6783486",
"0.676509",
"0.66874903",
"0.66843104",
"0.66813636",
"0.66348356",
"0.6579358",
"0.6576165",
"0.6573496",
"0.6573496",
"0.65475804",
"0.65466976",
"0.653969... | 0.6024091 | 55 |
Declares an association between this object and a RRewardTypes object. | public function setRRewardTypes(RRewardTypes $v = null)
{
if ($v === null) {
$this->setOperationPrimeRRewardTypeId(NULL);
} else {
$this->setOperationPrimeRRewardTypeId($v->getRRewardTypeId());
}
$this->aRRewardTypes = $v;
// Add binding for other direction of this n:n relationship.
// If this object has already been added to the RRewardTypes object, it will not be re-added.
if ($v !== null) {
$v->addOperationPrimes($this);
}
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getRealestateType()\n {\n return $this->hasOne(RealEstateType::className(), ['id' => 'realestate_type_id']);\n }",
"public function setOperationPrimeRRewardTypeId($v)\n {\n if ($v === ''){\n $v = null;\n }\n elseif ($... | [
"0.5562362",
"0.55607593",
"0.49305105",
"0.49097145",
"0.4901901",
"0.48768172",
"0.48591948",
"0.4843987",
"0.480192",
"0.4762195",
"0.47506163",
"0.47490352",
"0.47106567",
"0.46753082",
"0.466561",
"0.45896822",
"0.4582585",
"0.4569983",
"0.45372713",
"0.45235735",
"0.452... | 0.6618223 | 0 |
Get the associated RRewardTypes object | public function getRRewardTypes(PropelPDO $con = null, $doQuery = true)
{
if ($this->aRRewardTypes === null && ($this->operation_prime_r_reward_type_id !== null) && $doQuery) {
$this->aRRewardTypes = RRewardTypesQuery::create()->findPk($this->operation_prime_r_reward_type_id, $con);
/* The following can be used additionally to
guarantee the related object contains a reference
to this object. This level of coupling may, however, be
undesirable since it could result in an only partially populated collection
in the referenced object.
$this->aRRewardTypes->addOperationPrimess($this);
*/
}
return $this->aRRewardTypes;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static function getPointsRewardTypes()\n {\n return [\n self::REWARD_TYPE_POINTS,\n self::REWARD_TYPE_RANDOM_AMOUNT_OF_POINTS,\n ];\n }",
"public function getRealestateType()\n {\n return $this->hasOne(RealEstateType::className(), ['id' => 'realestate_ty... | [
"0.62957644",
"0.6129088",
"0.6125551",
"0.6125551",
"0.6125551",
"0.60111535",
"0.5761432",
"0.564249",
"0.55206215",
"0.545008",
"0.5416678",
"0.53433645",
"0.53194183",
"0.53014135",
"0.528504",
"0.528504",
"0.528504",
"0.528504",
"0.5233182",
"0.5221547",
"0.5192538",
"... | 0.6171596 | 1 |
Declares an association between this object and a RRewardExpeditionModes object. | public function setRRewardExpeditionModes(RRewardExpeditionModes $v = null)
{
if ($v === null) {
$this->setOperationPrimeRRewardExpeditionModeId(NULL);
} else {
$this->setOperationPrimeRRewardExpeditionModeId($v->getRRewardExpeditionModeId());
}
$this->aRRewardExpeditionModes = $v;
// Add binding for other direction of this n:n relationship.
// If this object has already been added to the RRewardExpeditionModes object, it will not be re-added.
if ($v !== null) {
$v->addOperationPrimes($this);
}
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setOperationPrimeRRewardExpeditionModeId($v)\n {\n if ($v === ''){\n $v = null;\n }\n elseif ($v !== null){\n \n if(is_numeric($v)) {\n $v = (int) $v;\n }\n ... | [
"0.599741",
"0.5618633",
"0.4911883",
"0.4834147",
"0.4806142",
"0.4684537",
"0.4624924",
"0.4554939",
"0.45481062",
"0.4432999",
"0.44015458",
"0.43724847",
"0.43066055",
"0.42781222",
"0.4174686",
"0.4174686",
"0.4148976",
"0.41225937",
"0.4112767",
"0.4111509",
"0.41092896... | 0.7004069 | 0 |
Get the associated RRewardExpeditionModes object | public function getRRewardExpeditionModes(PropelPDO $con = null, $doQuery = true)
{
if ($this->aRRewardExpeditionModes === null && ($this->operation_prime_r_reward_expedition_mode_id !== null) && $doQuery) {
$this->aRRewardExpeditionModes = RRewardExpeditionModesQuery::create()->findPk($this->operation_prime_r_reward_expedition_mode_id, $con);
/* The following can be used additionally to
guarantee the related object contains a reference
to this object. This level of coupling may, however, be
undesirable since it could result in an only partially populated collection
in the referenced object.
$this->aRRewardExpeditionModes->addOperationPrimess($this);
*/
}
return $this->aRRewardExpeditionModes;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getOperationPrimeRRewardExpeditionModeId()\n {\n\n return $this->operation_prime_r_reward_expedition_mode_id;\n }",
"public function setRRewardExpeditionModes(RRewardExpeditionModes $v = null)\n {\n if ($v === null) {\n $this->setOperationPrimeRRewardExpeditionMo... | [
"0.6757832",
"0.6561228",
"0.6016944",
"0.57439864",
"0.57439864",
"0.57439864",
"0.57268476",
"0.57268476",
"0.57268476",
"0.57268476",
"0.5724368",
"0.5605156",
"0.54886466",
"0.543859",
"0.5437733",
"0.54111093",
"0.5393894",
"0.53462046",
"0.53293234",
"0.5308534",
"0.530... | 0.66699624 | 1 |
Declares an association between this object and a RRewardTransporters object. | public function setRRewardTransporters(RRewardTransporters $v = null)
{
if ($v === null) {
$this->setOperationPrimeRRewardTransporterId(NULL);
} else {
$this->setOperationPrimeRRewardTransporterId($v->getRRewardTransporterId());
}
$this->aRRewardTransporters = $v;
// Add binding for other direction of this n:n relationship.
// If this object has already been added to the RRewardTransporters object, it will not be re-added.
if ($v !== null) {
$v->addOperationPrimes($this);
}
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getTransportReff()\n {\n return $this->hasOne(MsRefference::className(), ['id' => 'transport_reff_id']);\n }",
"public function trainer()\n {\n return $this->hasOne('App\\Models\\Trainer');\n }",
"public function setOperationPrimeRRewardTransporterId($v)\n {\n ... | [
"0.5896614",
"0.5728776",
"0.571786",
"0.5373154",
"0.5350214",
"0.5274701",
"0.50467205",
"0.5030582",
"0.49982965",
"0.49600393",
"0.49323332",
"0.4928343",
"0.49009565",
"0.4899642",
"0.4886878",
"0.48790926",
"0.4867794",
"0.4830812",
"0.48303097",
"0.4789412",
"0.4761225... | 0.7208917 | 0 |
Get the associated RRewardTransporters object | public function getRRewardTransporters(PropelPDO $con = null, $doQuery = true)
{
if ($this->aRRewardTransporters === null && ($this->operation_prime_r_reward_transporter_id !== null) && $doQuery) {
$this->aRRewardTransporters = RRewardTransportersQuery::create()->findPk($this->operation_prime_r_reward_transporter_id, $con);
/* The following can be used additionally to
guarantee the related object contains a reference
to this object. This level of coupling may, however, be
undesirable since it could result in an only partially populated collection
in the referenced object.
$this->aRRewardTransporters->addOperationPrimess($this);
*/
}
return $this->aRRewardTransporters;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setRRewardTransporters(RRewardTransporters $v = null)\n {\n if ($v === null) {\n $this->setOperationPrimeRRewardTransporterId(NULL);\n } else {\n $this->setOperationPrimeRRewardTransporterId($v->getRRewardTransporterId());\n }\n\n $this->aRReward... | [
"0.67275375",
"0.66674775",
"0.6370224",
"0.6370224",
"0.6370224",
"0.6140248",
"0.6060016",
"0.59329355",
"0.59125626",
"0.58662844",
"0.5849428",
"0.57661986",
"0.57508564",
"0.565809",
"0.5646371",
"0.56447196",
"0.5560181",
"0.54870814",
"0.54513925",
"0.54379904",
"0.543... | 0.6388936 | 2 |
Initializes a collection based on the name of a relation. Avoids crafting an 'init[$relationName]s' method name that wouldn't work when StandardEnglishPluralizer is used. | public function initRelation($relationName)
{
if ('OperationPrestations' == $relationName) {
$this->initOperationPrestationss();
}
if ('OperationScenarii' == $relationName) {
$this->initOperationScenariis();
}
if ('LnkOperationPrimeRCountries' == $relationName) {
$this->initLnkOperationPrimeRCountriess();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function initRelation($relationName)\n {\n if ('BiblioAuthor' == $relationName) {\n return $this->initBiblioAuthors();\n }\n if ('BiblioTopic' == $relationName) {\n return $this->initBiblioTopics();\n }\n if ('Item' == $relationName) {\n ... | [
"0.6585325",
"0.6542641",
"0.618295",
"0.6157703",
"0.61574775",
"0.61292356",
"0.6081946",
"0.60809755",
"0.6066873",
"0.60513574",
"0.60422987",
"0.59674436",
"0.59443325",
"0.5847857",
"0.5844884",
"0.58187014",
"0.579734",
"0.5773777",
"0.5758554",
"0.5721656",
"0.5719746... | 0.6027309 | 11 |
Clears out the collOperationPrestationss collection This does not modify the database; however, it will remove any associated objects, causing them to be refetched by subsequent calls to accessor method. | public function clearOperationPrestationss()
{
$this->collOperationPrestationss = null; // important to set this to null since that means it is uninitialized
$this->collOperationPrestationssPartial = null;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function clearOperationScenariis()\n {\n $this->collOperationScenariis = null; // important to set this to null since that means it is uninitialized\n $this->collOperationScenariisPartial = null;\n\n return $this;\n }",
"public function clear()\n {\n $this->op_prime_id... | [
"0.674621",
"0.6288673",
"0.6185417",
"0.60685194",
"0.603315",
"0.5999126",
"0.5965161",
"0.59575105",
"0.595447",
"0.5941018",
"0.5928908",
"0.5921569",
"0.5875568",
"0.5865466",
"0.58006847",
"0.5782392",
"0.57652754",
"0.57650787",
"0.5749568",
"0.5733896",
"0.56765324",
... | 0.8006322 | 0 |
reset is the collOperationPrestationss collection loaded partially | public function resetPartialOperationPrestationss($v = true)
{
$this->collOperationPrestationssPartial = $v;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function clearOperationPrestationss()\n {\n $this->collOperationPrestationss = null; // important to set this to null since that means it is uninitialized\n $this->collOperationPrestationssPartial = null;\n\n return $this;\n }",
"public function reset()\n\t{\n\t\t$this->queries ... | [
"0.7172647",
"0.6614729",
"0.6541154",
"0.65032333",
"0.64902997",
"0.6473223",
"0.64133394",
"0.639605",
"0.63528347",
"0.6348986",
"0.63470894",
"0.63277763",
"0.6311853",
"0.6269215",
"0.62564456",
"0.62426037",
"0.6225923",
"0.62237555",
"0.62134457",
"0.6212664",
"0.6205... | 0.628508 | 13 |
Initializes the collOperationPrestationss collection. By default this just sets the collOperationPrestationss collection to an empty array (like clearcollOperationPrestationss()); however, you may wish to override this method in your stub class to provide setting appropriate to your application for example, setting the initial array to the values stored in database. | public function initOperationPrestationss($overrideExisting = true)
{
if (null !== $this->collOperationPrestationss && !$overrideExisting) {
return;
}
$this->collOperationPrestationss = new PropelObjectCollection();
$this->collOperationPrestationss->setModel('OperationPrestations');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setOperationPrestationss(PropelCollection $operationPrestationss, PropelPDO $con = null)\n {\n $operationPrestationssToDelete = $this->getOperationPrestationss(new Criteria(), $con)->diff($operationPrestationss);\n\n\n $this->operationPrestationssScheduledForDeletion = $operationPr... | [
"0.73556983",
"0.6526355",
"0.63225114",
"0.6301389",
"0.57139075",
"0.5607161",
"0.5303804",
"0.5236978",
"0.5098507",
"0.5087634",
"0.50738126",
"0.48939562",
"0.4883697",
"0.4818911",
"0.48068157",
"0.47963655",
"0.4773215",
"0.4769695",
"0.47458127",
"0.46931636",
"0.4642... | 0.7210099 | 1 |
Gets an array of OperationPrestations objects which contain a foreign key that references this object. If the $criteria is not null, it is used to always fetch the results from the database. Otherwise the results are fetched from the database the first time, then cached. Next time the same method is called without $criteria, the cached collection is returned. If this OperationPrimes is new, it will return an empty collection or the current collection; the criteria is ignored on a new object. | public function getOperationPrestationss($criteria = null, PropelPDO $con = null)
{
$partial = $this->collOperationPrestationssPartial && !$this->isNew();
if (null === $this->collOperationPrestationss || null !== $criteria || $partial) {
if ($this->isNew() && null === $this->collOperationPrestationss) {
// return empty collection
$this->initOperationPrestationss();
} else {
$collOperationPrestationss = OperationPrestationsQuery::create(null, $criteria)
->filterByOperationPrimes($this)
->find($con);
if (null !== $criteria) {
if (false !== $this->collOperationPrestationssPartial && count($collOperationPrestationss)) {
$this->initOperationPrestationss(false);
foreach ($collOperationPrestationss as $obj) {
if (false == $this->collOperationPrestationss->contains($obj)) {
$this->collOperationPrestationss->append($obj);
}
}
$this->collOperationPrestationssPartial = true;
}
$collOperationPrestationss->getInternalIterator()->rewind();
return $collOperationPrestationss;
}
if ($partial && $this->collOperationPrestationss) {
foreach ($this->collOperationPrestationss as $obj) {
if ($obj->isNew()) {
$collOperationPrestationss[] = $obj;
}
}
}
$this->collOperationPrestationss = $collOperationPrestationss;
$this->collOperationPrestationssPartial = false;
}
}
return $this->collOperationPrestationss;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getOperationScenariis($criteria = null, PropelPDO $con = null)\n {\n $partial = $this->collOperationScenariisPartial && !$this->isNew();\n if (null === $this->collOperationScenariis || null !== $criteria || $partial) {\n if ($this->isNew() && null === $this->collOperati... | [
"0.69494057",
"0.6451171",
"0.5951217",
"0.58791965",
"0.5715523",
"0.55273855",
"0.54977137",
"0.5471179",
"0.5467212",
"0.5393388",
"0.5346385",
"0.5292309",
"0.52794075",
"0.5270325",
"0.5226816",
"0.52264035",
"0.5216543",
"0.5216543",
"0.52002007",
"0.5180528",
"0.517010... | 0.78791815 | 0 |
Sets a collection of OperationPrestations objects related by a onetomany relationship to the current object. It will also schedule objects for deletion based on a diff between old objects (aka persisted) and new objects from the given Propel collection. | public function setOperationPrestationss(PropelCollection $operationPrestationss, PropelPDO $con = null)
{
$operationPrestationssToDelete = $this->getOperationPrestationss(new Criteria(), $con)->diff($operationPrestationss);
$this->operationPrestationssScheduledForDeletion = $operationPrestationssToDelete;
foreach ($operationPrestationssToDelete as $operationPrestationsRemoved) {
$operationPrestationsRemoved->setOperationPrimes(null);
}
$this->collOperationPrestationss = null;
foreach ($operationPrestationss as $operationPrestations) {
$this->addOperationPrestations($operationPrestations);
}
$this->collOperationPrestationss = $operationPrestationss;
$this->collOperationPrestationssPartial = false;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function addOperationPrestations(OperationPrestations $l)\n {\n if ($this->collOperationPrestationss === null) {\n $this->initOperationPrestationss();\n $this->collOperationPrestationssPartial = true;\n }\n\n if (!in_array($l, $this->collOperationPrestationss->g... | [
"0.5673637",
"0.5381319",
"0.5125052",
"0.49006987",
"0.48189643",
"0.48117965",
"0.47645417",
"0.47203207",
"0.47000292",
"0.46939012",
"0.4684295",
"0.46268004",
"0.45624357",
"0.45560598",
"0.4534751",
"0.45255712",
"0.45244035",
"0.44927466",
"0.4476819",
"0.4476819",
"0.... | 0.6159088 | 0 |
Returns the number of related OperationPrestations objects. | public function countOperationPrestationss(Criteria $criteria = null, $distinct = false, PropelPDO $con = null)
{
$partial = $this->collOperationPrestationssPartial && !$this->isNew();
if (null === $this->collOperationPrestationss || null !== $criteria || $partial) {
if ($this->isNew() && null === $this->collOperationPrestationss) {
return 0;
}
if ($partial && !$criteria) {
return count($this->getOperationPrestationss());
}
$query = OperationPrestationsQuery::create(null, $criteria);
if ($distinct) {
$query->distinct();
}
return $query
->filterByOperationPrimes($this)
->count($con);
}
return count($this->collOperationPrestationss);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getOperationsCount()\n {\n return $this->count(self::_OPERATIONS);\n }",
"public function count()\n\t{\n\t\treturn $this->getParentObject()->count();\n\t}",
"public function getCount()\n {\n return count($this->getModels());\n }",
"public function getCount()\n {\n... | [
"0.6750167",
"0.66764724",
"0.632291",
"0.632291",
"0.631262",
"0.6311577",
"0.6285987",
"0.6283289",
"0.6233375",
"0.62145764",
"0.6151324",
"0.61412656",
"0.61003566",
"0.60918987",
"0.6084116",
"0.6083367",
"0.60772383",
"0.6066715",
"0.6066715",
"0.6058796",
"0.60579795",... | 0.6507987 | 2 |
Method called to associate a OperationPrestations object to this object through the OperationPrestations foreign key attribute. | public function addOperationPrestations(OperationPrestations $l)
{
if ($this->collOperationPrestationss === null) {
$this->initOperationPrestationss();
$this->collOperationPrestationssPartial = true;
}
if (!in_array($l, $this->collOperationPrestationss->getArrayCopy(), true)) { // only add it if the **same** object is not already associated
$this->doAddOperationPrestations($l);
if ($this->operationPrestationssScheduledForDeletion and $this->operationPrestationssScheduledForDeletion->contains($l)) {
$this->operationPrestationssScheduledForDeletion->remove($this->operationPrestationssScheduledForDeletion->search($l));
}
}
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function initOperationPrestationss($overrideExisting = true)\n {\n if (null !== $this->collOperationPrestationss && !$overrideExisting) {\n return;\n }\n $this->collOperationPrestationss = new PropelObjectCollection();\n $this->collOperationPrestationss->setModel('O... | [
"0.5854731",
"0.5768094",
"0.5285368",
"0.5162804",
"0.4965603",
"0.48521185",
"0.47333303",
"0.47283053",
"0.47233707",
"0.46891028",
"0.4627381",
"0.4606199",
"0.46025395",
"0.4514157",
"0.4506085",
"0.4440997",
"0.4427161",
"0.44236058",
"0.4386487",
"0.4386487",
"0.433747... | 0.73192304 | 0 |
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this OperationPrimes is new, it will return an empty collection; or if this OperationPrimes has previously been saved, it will retrieve related OperationPrestationss from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in OperationPrimes. | public function getOperationPrestationssJoinOperationScenarii($criteria = null, $con = null, $join_behavior = Criteria::LEFT_JOIN)
{
$query = OperationPrestationsQuery::create(null, $criteria);
$query->joinWith('OperationScenarii', $join_behavior);
return $this->getOperationPrestationss($query, $con);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getOperationPrestationss($criteria = null, PropelPDO $con = null)\n {\n $partial = $this->collOperationPrestationssPartial && !$this->isNew();\n if (null === $this->collOperationPrestationss || null !== $criteria || $partial) {\n if ($this->isNew() && null === $this->co... | [
"0.6223161",
"0.61505544",
"0.61426204",
"0.5984671",
"0.5883592",
"0.57162875",
"0.5676253",
"0.5420158",
"0.53778625",
"0.5211605",
"0.5209868",
"0.511553",
"0.5107279",
"0.51052123",
"0.5103099",
"0.5096419",
"0.50754106",
"0.5062974",
"0.50593853",
"0.5047776",
"0.5046568... | 0.0 | -1 |
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this OperationPrimes is new, it will return an empty collection; or if this OperationPrimes has previously been saved, it will retrieve related OperationPrestationss from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in OperationPrimes. | public function getOperationPrestationssJoinOperationRubriques($criteria = null, $con = null, $join_behavior = Criteria::LEFT_JOIN)
{
$query = OperationPrestationsQuery::create(null, $criteria);
$query->joinWith('OperationRubriques', $join_behavior);
return $this->getOperationPrestationss($query, $con);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getOperationPrestationss($criteria = null, PropelPDO $con = null)\n {\n $partial = $this->collOperationPrestationssPartial && !$this->isNew();\n if (null === $this->collOperationPrestationss || null !== $criteria || $partial) {\n if ($this->isNew() && null === $this->co... | [
"0.62205374",
"0.61501235",
"0.61416936",
"0.59834236",
"0.5882558",
"0.5715867",
"0.5676356",
"0.5420742",
"0.53788686",
"0.5210833",
"0.52108145",
"0.5117575",
"0.5108138",
"0.5106548",
"0.5105183",
"0.5098247",
"0.50771606",
"0.506499",
"0.5058717",
"0.50490826",
"0.504814... | 0.0 | -1 |
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this OperationPrimes is new, it will return an empty collection; or if this OperationPrimes has previously been saved, it will retrieve related OperationPrestationss from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in OperationPrimes. | public function getOperationPrestationssJoinOperations($criteria = null, $con = null, $join_behavior = Criteria::LEFT_JOIN)
{
$query = OperationPrestationsQuery::create(null, $criteria);
$query->joinWith('Operations', $join_behavior);
return $this->getOperationPrestationss($query, $con);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getOperationPrestationss($criteria = null, PropelPDO $con = null)\n {\n $partial = $this->collOperationPrestationssPartial && !$this->isNew();\n if (null === $this->collOperationPrestationss || null !== $criteria || $partial) {\n if ($this->isNew() && null === $this->co... | [
"0.6220034",
"0.6151145",
"0.61426246",
"0.59820646",
"0.588246",
"0.5713847",
"0.5674939",
"0.5419649",
"0.5377561",
"0.5210193",
"0.52091724",
"0.51168483",
"0.5106208",
"0.51052827",
"0.5103279",
"0.5096657",
"0.5075972",
"0.506327",
"0.5056604",
"0.5049158",
"0.5047154",
... | 0.0 | -1 |
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this OperationPrimes is new, it will return an empty collection; or if this OperationPrimes has previously been saved, it will retrieve related OperationPrestationss from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in OperationPrimes. | public function getOperationPrestationssJoinRPrestations($criteria = null, $con = null, $join_behavior = Criteria::LEFT_JOIN)
{
$query = OperationPrestationsQuery::create(null, $criteria);
$query->joinWith('RPrestations', $join_behavior);
return $this->getOperationPrestationss($query, $con);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getOperationPrestationss($criteria = null, PropelPDO $con = null)\n {\n $partial = $this->collOperationPrestationssPartial && !$this->isNew();\n if (null === $this->collOperationPrestationss || null !== $criteria || $partial) {\n if ($this->isNew() && null === $this->co... | [
"0.6221554",
"0.6149701",
"0.6142154",
"0.59836036",
"0.5882523",
"0.57150275",
"0.5676495",
"0.54171467",
"0.5377302",
"0.52112645",
"0.5207475",
"0.51135796",
"0.51064634",
"0.5103301",
"0.5100685",
"0.5094206",
"0.50737226",
"0.50609046",
"0.50593936",
"0.5048601",
"0.5045... | 0.0 | -1 |
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this OperationPrimes is new, it will return an empty collection; or if this OperationPrimes has previously been saved, it will retrieve related OperationPrestationss from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in OperationPrimes. | public function getOperationPrestationssJoinHistoCouts($criteria = null, $con = null, $join_behavior = Criteria::LEFT_JOIN)
{
$query = OperationPrestationsQuery::create(null, $criteria);
$query->joinWith('HistoCouts', $join_behavior);
return $this->getOperationPrestationss($query, $con);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getOperationPrestationss($criteria = null, PropelPDO $con = null)\n {\n $partial = $this->collOperationPrestationssPartial && !$this->isNew();\n if (null === $this->collOperationPrestationss || null !== $criteria || $partial) {\n if ($this->isNew() && null === $this->co... | [
"0.6223161",
"0.61505544",
"0.61426204",
"0.5984671",
"0.5883592",
"0.57162875",
"0.5676253",
"0.5420158",
"0.53778625",
"0.5211605",
"0.5209868",
"0.511553",
"0.5107279",
"0.51052123",
"0.5103099",
"0.5096419",
"0.50754106",
"0.5062974",
"0.50593853",
"0.5047776",
"0.5046568... | 0.0 | -1 |
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this OperationPrimes is new, it will return an empty collection; or if this OperationPrimes has previously been saved, it will retrieve related OperationPrestationss from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in OperationPrimes. | public function getOperationPrestationssJoinUsers($criteria = null, $con = null, $join_behavior = Criteria::LEFT_JOIN)
{
$query = OperationPrestationsQuery::create(null, $criteria);
$query->joinWith('Users', $join_behavior);
return $this->getOperationPrestationss($query, $con);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getOperationPrestationss($criteria = null, PropelPDO $con = null)\n {\n $partial = $this->collOperationPrestationssPartial && !$this->isNew();\n if (null === $this->collOperationPrestationss || null !== $criteria || $partial) {\n if ($this->isNew() && null === $this->co... | [
"0.62205374",
"0.61501235",
"0.61416936",
"0.59834236",
"0.5882558",
"0.5715867",
"0.5676356",
"0.5420742",
"0.53788686",
"0.5210833",
"0.52108145",
"0.5117575",
"0.5108138",
"0.5106548",
"0.5105183",
"0.5098247",
"0.50771606",
"0.506499",
"0.5058717",
"0.50490826",
"0.504814... | 0.0 | -1 |
Clears out the collOperationScenariis collection This does not modify the database; however, it will remove any associated objects, causing them to be refetched by subsequent calls to accessor method. | public function clearOperationScenariis()
{
$this->collOperationScenariis = null; // important to set this to null since that means it is uninitialized
$this->collOperationScenariisPartial = null;
return $this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function clear()\n {\n $this->collection->clear();\n $this->keys = [];\n }",
"public function clearCollection()\n {\n $this->collections = [];\n }",
"public function clear()\n {\n $this->op_prime_id = null;\n $this->op_id = null;\n $this->op_prime... | [
"0.6750238",
"0.6639179",
"0.65198493",
"0.6416884",
"0.63867074",
"0.6307864",
"0.6274599",
"0.6241243",
"0.61812353",
"0.61485565",
"0.6132217",
"0.607879",
"0.60750383",
"0.60667855",
"0.604218",
"0.60326314",
"0.6023424",
"0.59935606",
"0.59800345",
"0.5976338",
"0.596588... | 0.7762139 | 0 |
reset is the collOperationScenariis collection loaded partially | public function resetPartialOperationScenariis($v = true)
{
$this->collOperationScenariisPartial = $v;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function clearOperationScenariis()\n {\n $this->collOperationScenariis = null; // important to set this to null since that means it is uninitialized\n $this->collOperationScenariisPartial = null;\n\n return $this;\n }",
"public function clearCollection()\n {\n $this->c... | [
"0.69275177",
"0.66854936",
"0.66179174",
"0.65331805",
"0.6417642",
"0.64128906",
"0.6391318",
"0.6365897",
"0.6365301",
"0.63484204",
"0.62427276",
"0.62373096",
"0.6207748",
"0.62046844",
"0.62031317",
"0.6163006",
"0.61584747",
"0.6088915",
"0.60807824",
"0.60714227",
"0.... | 0.6067914 | 21 |
Initializes the collOperationScenariis collection. By default this just sets the collOperationScenariis collection to an empty array (like clearcollOperationScenariis()); however, you may wish to override this method in your stub class to provide setting appropriate to your application for example, setting the initial array to the values stored in database. | public function initOperationScenariis($overrideExisting = true)
{
if (null !== $this->collOperationScenariis && !$overrideExisting) {
return;
}
$this->collOperationScenariis = new PropelObjectCollection();
$this->collOperationScenariis->setModel('OperationScenarii');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function setOperationScenariis(PropelCollection $operationScenariis, PropelPDO $con = null)\n {\n $operationScenariisToDelete = $this->getOperationScenariis(new Criteria(), $con)->diff($operationScenariis);\n\n\n $this->operationScenariisScheduledForDeletion = $operationScenariisToDelete;\n... | [
"0.7024721",
"0.5935696",
"0.5555607",
"0.55048114",
"0.5274908",
"0.520496",
"0.5170482",
"0.516791",
"0.5073825",
"0.5029846",
"0.49778882",
"0.49626476",
"0.49363145",
"0.4904427",
"0.48997408",
"0.48211908",
"0.47973523",
"0.4793396",
"0.47741362",
"0.47221175",
"0.471622... | 0.7022886 | 1 |
Gets an array of OperationScenarii objects which contain a foreign key that references this object. If the $criteria is not null, it is used to always fetch the results from the database. Otherwise the results are fetched from the database the first time, then cached. Next time the same method is called without $criteria, the cached collection is returned. If this OperationPrimes is new, it will return an empty collection or the current collection; the criteria is ignored on a new object. | public function getOperationScenariis($criteria = null, PropelPDO $con = null)
{
$partial = $this->collOperationScenariisPartial && !$this->isNew();
if (null === $this->collOperationScenariis || null !== $criteria || $partial) {
if ($this->isNew() && null === $this->collOperationScenariis) {
// return empty collection
$this->initOperationScenariis();
} else {
$collOperationScenariis = OperationScenariiQuery::create(null, $criteria)
->filterByOperationPrimes($this)
->find($con);
if (null !== $criteria) {
if (false !== $this->collOperationScenariisPartial && count($collOperationScenariis)) {
$this->initOperationScenariis(false);
foreach ($collOperationScenariis as $obj) {
if (false == $this->collOperationScenariis->contains($obj)) {
$this->collOperationScenariis->append($obj);
}
}
$this->collOperationScenariisPartial = true;
}
$collOperationScenariis->getInternalIterator()->rewind();
return $collOperationScenariis;
}
if ($partial && $this->collOperationScenariis) {
foreach ($this->collOperationScenariis as $obj) {
if ($obj->isNew()) {
$collOperationScenariis[] = $obj;
}
}
}
$this->collOperationScenariis = $collOperationScenariis;
$this->collOperationScenariisPartial = false;
}
}
return $this->collOperationScenariis;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public function getLnkOperationPrimeRCountriess($criteria = null, PropelPDO $con = null)\n {\n $partial = $this->collLnkOperationPrimeRCountriessPartial && !$this->isNew();\n if (null === $this->collLnkOperationPrimeRCountriess || null !== $criteria || $partial) {\n if ($this->isNew() ... | [
"0.67946124",
"0.6406716",
"0.6288889",
"0.6235915",
"0.59735477",
"0.59352905",
"0.567421",
"0.556548",
"0.550335",
"0.5485317",
"0.54754704",
"0.54493105",
"0.54493105",
"0.5385212",
"0.53807765",
"0.5379429",
"0.53694385",
"0.53662443",
"0.536164",
"0.5353145",
"0.53432184... | 0.7598169 | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.