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
Clean up internal collections prior to serializing Avoids recursive loops that turn into segmentation faults when serializing
public function __sleep() { $this->clearAllReferences(); $cls = new \ReflectionClass($this); $propertyNames = []; $serializableProperties = array_diff($cls->getProperties(), $cls->getProperties(\ReflectionProperty::IS_STATIC)); foreach($serializableProperties as $property) { $propertyNames[] = $property->getName(); } return $propertyNames; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function resetCollectionsForPersist()\n {\n $this->containers = new ArrayCollection();\n $this->functions = new ArrayCollection();\n $this->constants = new ArrayCollection();\n }", "public function __destruct() {\n\t\t\tparent::__destruct();\n\t\t\tunset($this->collection);\n\t\...
[ "0.66015196", "0.6449753", "0.6215551", "0.61597574", "0.6106723", "0.6075431", "0.5996365", "0.59832555", "0.59745175", "0.5912412", "0.59108835", "0.588695", "0.5884994", "0.58803946", "0.5879229", "0.5864257", "0.58602923", "0.5825001", "0.5820132", "0.58089477", "0.580894...
0.0
-1
Get the [prod_id] column value.
public function getProdId() { return $this->prod_id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function getProdId($product){\r\n require '../../model/dbconnect.php';\r\n $prod = $db->quote($product);\r\n $rows_prod = $db->query(\"SELECT id FROM product WHERE name = $prod\");\r\n if ($rows_prod) {\r\n foreach($rows_prod as $row)\r\n return $row['id'];\r\n }\r\n }", "public funct...
[ "0.73035824", "0.69820976", "0.6949236", "0.6908819", "0.6898615", "0.6853161", "0.6833888", "0.67703784", "0.67697114", "0.67697114", "0.67697114", "0.6722221", "0.66953254", "0.6691161", "0.6691161", "0.6691161", "0.6690784", "0.66845405", "0.6667453", "0.6627047", "0.65908...
0.7903942
0
Get the [prod_price_id] column value.
public function getProdPriceId() { return $this->prod_price_id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProdId()\n {\n return $this->prod_id;\n }", "public function getProductId()\n {\n $value = $this->get(self::product_id);\n return $value === null ? (integer)$value : $value;\n }", "private function getPriceAttributeId()\n {\n if (!$this->priceAttrib...
[ "0.7352852", "0.69665", "0.68221", "0.6768231", "0.669076", "0.669076", "0.669076", "0.66472805", "0.6647117", "0.66364694", "0.6608908", "0.65955067", "0.65955067", "0.65955067", "0.65907025", "0.65622246", "0.65622246", "0.6549087", "0.6509767", "0.64932376", "0.6485814", ...
0.819803
0
Get the [prod_name] column value.
public function getProdName() { return $this->prod_name; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProduct_name () {\n\t$preValue = $this->preGetValue(\"product_name\"); \n\tif($preValue !== null && !\\Pimcore::inAdmin()) { \n\t\treturn $preValue;\n\t}\n\t$data = $this->product_name;\n\treturn $data;\n}", "public function getProductName() {\n //return the value product name\n ...
[ "0.73609793", "0.73025787", "0.69124365", "0.68912", "0.6861022", "0.683174", "0.6813809", "0.66766363", "0.66518664", "0.6434648", "0.6411795", "0.6391148", "0.63107395", "0.63107395", "0.63107395", "0.6301035", "0.6291906", "0.6282099", "0.6253907", "0.62482584", "0.6181825...
0.77092487
0
Get the [prod_alt1] column value.
public function getProdAlt1() { return $this->prod_alt1; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProdAlt2()\n {\n return $this->prod_alt2;\n }", "public function setProdAlt1($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_alt1 !== $v) {\n $this->prod_alt1 = $v;\n $this->modifiedColumns[TblProdIn...
[ "0.693212", "0.6838282", "0.64445156", "0.6274969", "0.56699014", "0.55439097", "0.55326116", "0.54882497", "0.5472325", "0.5453856", "0.53777385", "0.5346117", "0.5280656", "0.5278605", "0.52767426", "0.5213206", "0.51875067", "0.51318526", "0.51313627", "0.5121668", "0.5113...
0.800319
0
Get the [prod_alt2] column value.
public function getProdAlt2() { return $this->prod_alt2; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProdAlt1()\n {\n return $this->prod_alt1;\n }", "public function setProdAlt2($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_alt2 !== $v) {\n $this->prod_alt2 = $v;\n $this->modifiedColumns[TblProdIn...
[ "0.7162106", "0.6817994", "0.6595363", "0.62658614", "0.6155384", "0.57799315", "0.5756571", "0.5624732", "0.55749595", "0.55123776", "0.54806703", "0.53976256", "0.53962004", "0.5386562", "0.5372085", "0.53507113", "0.5317736", "0.5285686", "0.52729803", "0.52345175", "0.519...
0.7935492
0
Get the [prod_alt3] column value.
public function getProdAlt3() { return $this->prod_alt3; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdAlt3($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_alt3 !== $v) {\n $this->prod_alt3 = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_ALT3] = true;\n }\n\n return $this;\n }", "...
[ "0.6773512", "0.66009206", "0.6473621", "0.6386664", "0.59449494", "0.56074005", "0.5577009", "0.5562584", "0.5513693", "0.5492104", "0.54364216", "0.539802", "0.5391844", "0.53265613", "0.53190905", "0.5295672", "0.5286534", "0.5243338", "0.5226241", "0.5189013", "0.5187751"...
0.7954392
0
Get the [prod_alt4] column value.
public function getProdAlt4() { return $this->prod_alt4; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProdAlt3()\n {\n return $this->prod_alt3;\n }", "public function setProdAlt4($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_alt4 !== $v) {\n $this->prod_alt4 = $v;\n $this->modifiedColumns[TblProdIn...
[ "0.6830606", "0.68163145", "0.6669471", "0.6263033", "0.5547978", "0.5535405", "0.5524351", "0.5515742", "0.5514858", "0.546568", "0.5439236", "0.5426851", "0.54183006", "0.5360734", "0.53241444", "0.5271889", "0.52682793", "0.52449316", "0.5231102", "0.52244246", "0.52027315...
0.7901901
0
Get the [prod_code] column value.
public function getProdCode() { return $this->prod_code; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProduct_code () {\n\t$preValue = $this->preGetValue(\"product_code\"); \n\tif($preValue !== null && !\\Pimcore::inAdmin()) { \n\t\treturn $preValue;\n\t}\n\t$data = $this->product_code;\n\treturn $data;\n}", "public function getProductCode()\n {\n if (array_key_exists(\"productCode\"...
[ "0.7673927", "0.72473294", "0.7006389", "0.6916624", "0.6466807", "0.6464332", "0.63460916", "0.6270903", "0.6258426", "0.6233503", "0.6193467", "0.61709696", "0.61593795", "0.61585677", "0.61318225", "0.61248577", "0.6121542", "0.61152744", "0.6090303", "0.6081627", "0.60629...
0.8045544
0
Get the [prod_category] column value.
public function getProdCategory() { return $this->prod_category; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProduct_category () {\n\t$preValue = $this->preGetValue(\"product_category\"); \n\tif($preValue !== null && !\\Pimcore::inAdmin()) { \n\t\treturn $preValue;\n\t}\n\t$data = $this->getClass()->getFieldDefinition(\"product_category\")->preGetData($this);\n\treturn $data;\n}", "public function ge...
[ "0.7472611", "0.65053254", "0.6380111", "0.6347475", "0.63456774", "0.6323605", "0.6313287", "0.62840873", "0.62840873", "0.62840873", "0.62840873", "0.62840873", "0.62840873", "0.62840873", "0.62840873", "0.62840873", "0.62840873", "0.62840873", "0.62840873", "0.62840873", "...
0.7681955
0
Get the [prod_category_shipping] column value.
public function getProdCategoryShipping() { return $this->prod_category_shipping; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getShippingCategoryId();", "protected function getShippingCity()\n {\n $formatter = new \\Dotpay\\Tool\\StringFormatter\\Name();\n return $this->checkoutSession->getLastRealOrder()->getShippingAddress() ? $formatter->format($this->checkoutSession->getLastRealOrder()->getShippingA...
[ "0.6467912", "0.63609004", "0.6302341", "0.62680554", "0.6178654", "0.61362493", "0.61239505", "0.6115321", "0.6115321", "0.6115321", "0.6075325", "0.6036468", "0.5938521", "0.5933263", "0.590516", "0.5889088", "0.5855242", "0.58290136", "0.5825828", "0.58234787", "0.5716927"...
0.82064396
0
Get the [prod_writeup] column value.
public function getProdWriteup() { return $this->prod_writeup; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdWriteup($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_writeup !== $v) {\n $this->prod_writeup = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_WRITEUP] = true;\n }\n\n return $this;\...
[ "0.60206604", "0.5464475", "0.5196237", "0.48941946", "0.4861912", "0.48147532", "0.4788214", "0.47757304", "0.47574437", "0.46825048", "0.46481758", "0.46395206", "0.46394047", "0.4621653", "0.4621204", "0.4612771", "0.46043685", "0.4603395", "0.4593313", "0.45583618", "0.45...
0.7585709
0
Get the [prod_length] column value.
public function getProdLength() { return $this->prod_length; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdLength($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_length !== $v) {\n $this->prod_length = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_LENGTH] = true;\n }\n\n return $this;\n ...
[ "0.6777339", "0.64025635", "0.631446", "0.61475265", "0.61475265", "0.61475265", "0.61475265", "0.61475265", "0.61475265", "0.61475265", "0.61475265", "0.60917467", "0.60769767", "0.60654753", "0.6032441", "0.60309994", "0.59982646", "0.5995489", "0.5982477", "0.59772617", "0...
0.808475
0
Get the [prod_wingspan] column value.
public function getProdWingspan() { return $this->prod_wingspan; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdWingspan($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_wingspan !== $v) {\n $this->prod_wingspan = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_WINGSPAN] = true;\n }\n\n return $th...
[ "0.67590576", "0.56630665", "0.5634274", "0.5549128", "0.51754206", "0.51175356", "0.5055865", "0.50526583", "0.5034041", "0.49946502", "0.4941673", "0.4923966", "0.48230496", "0.48179525", "0.4815563", "0.47526273", "0.4736553", "0.4713514", "0.4695064", "0.46734354", "0.464...
0.8273792
0
Get the [prod_height] column value.
public function getProdHeight() { return $this->prod_height; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function height()\n {\n return $this->setRightOperand(PVar::HEIGHT);\n }", "public function getHeight()\n {\n return $this->getProperty(\"Height\");\n }", "public function getHeight()\n {\n if (array_key_exists(\"height\", $this->_propDict)) {\n return $thi...
[ "0.6729948", "0.6722317", "0.6676694", "0.66436493", "0.66036385", "0.6543087", "0.6349073", "0.6321409", "0.63086915", "0.63086915", "0.63086915", "0.63086915", "0.63086915", "0.63086915", "0.63086915", "0.63086915", "0.63086915", "0.63086915", "0.63078684", "0.6292543", "0....
0.80150294
0
Get the [prod_scale] column value.
public function getProdScale() { return $this->prod_scale; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getScale()\n {\n return $this->scale;\n }", "public function getScale()\n {\n return $this->scale;\n }", "public function getScale()\n\t{\n\t\treturn $this->scale;\n\t}", "public function setProdScale($v)\n {\n if ($v !== null) {\n $v = (string) ...
[ "0.67325586", "0.67325586", "0.6703614", "0.6552015", "0.6480752", "0.6480752", "0.6425339", "0.6169297", "0.61030984", "0.5690525", "0.5670635", "0.56556165", "0.56259245", "0.5586447", "0.54192877", "0.5414554", "0.5381439", "0.53204477", "0.5285388", "0.527065", "0.5250110...
0.8041914
0
Get the [prod_links] column value.
public function getProdLinks() { return $this->prod_links; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private function getProductLinkField()\n {\n return $this->metadataPool->getMetadata(ProductInterface::class)->getLinkField();\n }", "public function getProdLinkdescription()\n {\n return $this->prod_linkdescription;\n }", "public function getProductEntityLinkField()\n {\n r...
[ "0.67851394", "0.6463802", "0.6350494", "0.61769235", "0.6084353", "0.5959329", "0.58454585", "0.57841164", "0.5718209", "0.56869537", "0.5650311", "0.56126696", "0.55887437", "0.55419314", "0.5527909", "0.54618555", "0.54607004", "0.54516107", "0.5442987", "0.5419095", "0.54...
0.7131735
0
Get the [prod_linkdescription] column value.
public function getProdLinkdescription() { return $this->prod_linkdescription; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProdDescription()\n {\n return $this->prod_description;\n }", "private function getProductLinkField()\n {\n return $this->metadataPool->getMetadata(ProductInterface::class)->getLinkField();\n }", "public function getProductDescription()\n\t{\n\t\treturn $this->getK...
[ "0.70448965", "0.67213416", "0.667102", "0.6542438", "0.64229894", "0.6326362", "0.6288594", "0.62489736", "0.62165356", "0.6150391", "0.61021763", "0.6057581", "0.6010874", "0.5968445", "0.5968445", "0.5968445", "0.5968445", "0.5968445", "0.5968445", "0.5968445", "0.5968445"...
0.81548584
0
Get the [prod_front] column value.
public function getProdFront() { return $this->prod_front; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdFront($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_front !== $v) {\n $this->prod_front = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_FRONT] = true;\n }\n\n return $this;\n }",...
[ "0.64133525", "0.6372073", "0.5874847", "0.55258954", "0.5494779", "0.53923446", "0.5351454", "0.5240376", "0.5237982", "0.52220356", "0.52051556", "0.5170742", "0.5153934", "0.5147479", "0.51456606", "0.5111522", "0.5097187", "0.50857294", "0.5075551", "0.5074687", "0.504360...
0.7472384
0
Get the [prod_keywords] column value.
public function getProdKeywords() { return $this->prod_keywords; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProdKeywordsWriteup()\n {\n return $this->prod_keywords_writeup;\n }", "public function getKeywords(): string\n {\n return $this->keywords;\n }", "public function setProdKeywords($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n ...
[ "0.66214246", "0.62831146", "0.6212205", "0.6202259", "0.619665", "0.6194092", "0.6194092", "0.6150816", "0.6150816", "0.61369926", "0.60610133", "0.59511876", "0.5928699", "0.5916661", "0.5900351", "0.5859274", "0.58412457", "0.5835565", "0.58313364", "0.58313364", "0.583133...
0.762905
0
Get the [prod_keywords_writeup] column value.
public function getProdKeywordsWriteup() { return $this->prod_keywords_writeup; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdKeywordsWriteup($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_keywords_writeup !== $v) {\n $this->prod_keywords_writeup = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_KEYWORDS_WRITEUP] = true;\n...
[ "0.65811", "0.63263136", "0.5767484", "0.5136061", "0.50741744", "0.500916", "0.5000207", "0.5000207", "0.49774393", "0.49774393", "0.49627987", "0.4952085", "0.48945317", "0.4880492", "0.4848219", "0.48303983", "0.4823714", "0.4823714", "0.47777602", "0.4702512", "0.4691676"...
0.7703854
0
Get the [prod_title] column value.
public function getProdTitle() { return $this->prod_title; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function dispProductTitle()\n\t{\n\t\t$prodid=$_SESSION['prodid']; \n\t\t\n\t\t$sqltitle = \"SELECT title FROM products_table WHERE product_id ='\".$prodid.\"'\";\n\t\t\n\t\t$query = new Bin_Query();\n\t\t\n\t\tif($query->executeQuery($sqltitle))\n\t\t{\n\t\t\treturn Display_DManageProducts::dispProductTitle($quer...
[ "0.68553627", "0.68498135", "0.6784682", "0.6636052", "0.66342473", "0.65820044", "0.657589", "0.65646785", "0.65497863", "0.6536441", "0.6532097", "0.6489137", "0.6471736", "0.6444135", "0.6438259", "0.64323366", "0.6417218", "0.63861555", "0.63861555", "0.6385018", "0.63774...
0.792739
0
Get the [prod_description] column value.
public function getProdDescription() { return $this->prod_description; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProduct_desc () {\n\t$preValue = $this->preGetValue(\"product_desc\"); \n\tif($preValue !== null && !\\Pimcore::inAdmin()) { \n\t\treturn $preValue;\n\t}\n\t$data = $this->getClass()->getFieldDefinition(\"product_desc\")->preGetData($this);\n\treturn $data;\n}", "public function getProductDes...
[ "0.7461744", "0.7452807", "0.72895485", "0.6891244", "0.686145", "0.6734821", "0.6701732", "0.65901726", "0.65527546", "0.645832", "0.64294565", "0.64294565", "0.64294565", "0.64294565", "0.64294565", "0.64294565", "0.64294565", "0.64294565", "0.64294565", "0.64294565", "0.64...
0.8036535
0
Get the [prod_general] column value.
public function getProdGeneral() { return $this->prod_general; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdGeneral($v)\n {\n if ($v !== null) {\n $v = (int) $v;\n }\n\n if ($this->prod_general !== $v) {\n $this->prod_general = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_GENERAL] = true;\n }\n\n if ($this->aTblGe...
[ "0.64083344", "0.5757285", "0.56836575", "0.56682986", "0.56022656", "0.54463154", "0.5435061", "0.5416214", "0.540648", "0.53547364", "0.53053606", "0.5299206", "0.52659315", "0.52460337", "0.52223754", "0.5218671", "0.5204163", "0.5204163", "0.5169946", "0.51241773", "0.510...
0.77391404
0
Get the [prod_era] column value.
public function getProdEra() { return $this->prod_era; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getDocumentProductEan()\n {\n return (string) $this->document_product_ean;\n }", "public function setProdEra($v)\n {\n if ($v !== null) {\n $v = (int) $v;\n }\n\n if ($this->prod_era !== $v) {\n $this->prod_era = $v;\n $this->m...
[ "0.5740236", "0.5581799", "0.5446066", "0.5446066", "0.5446066", "0.5366086", "0.5366086", "0.529994", "0.5252882", "0.52039737", "0.5183803", "0.51609564", "0.51285684", "0.5128119", "0.5110731", "0.50968665", "0.5089454", "0.5074302", "0.5060015", "0.5052776", "0.50447977",...
0.7863487
0
Get the [prod_company] column value.
public function getProdCompany() { return $this->prod_company; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getCompanyValue()\n {\n return $this->CompanyValue;\n }", "public function company(): string\n {\n return $this->getData('CompanyName');\n }", "public function getCompanyId()\n\t{\n\t\t$column = self::COL_COMPANY_ID;\n\t\t$v = $this->$column;\n\n\t\tif( $v !== null){\n...
[ "0.69439805", "0.6641938", "0.64975184", "0.642026", "0.6382302", "0.6278197", "0.62756866", "0.6245016", "0.62391084", "0.6225223", "0.61779565", "0.6164254", "0.6149343", "0.61454195", "0.61253214", "0.6094947", "0.609472", "0.609472", "0.608427", "0.6049034", "0.59151477",...
0.76824564
0
Get the [prod_related] column value.
public function getProdRelated() { return $this->prod_related; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProdRelated2()\n {\n return $this->prod_related2;\n }", "public function getProdRelatedPa()\n {\n return $this->prod_related_pa;\n }", "public function setProdRelated($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($th...
[ "0.68726206", "0.64084405", "0.6190881", "0.5949044", "0.5945941", "0.5834201", "0.57762355", "0.5718912", "0.56880474", "0.5659954", "0.5657465", "0.5543816", "0.55207604", "0.5515525", "0.54667014", "0.5452311", "0.5321481", "0.5315701", "0.53066546", "0.527686", "0.5265047...
0.7774425
0
Get the [prod_related_pa] column value.
public function getProdRelatedPa() { return $this->prod_related_pa; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProdRelated()\n {\n return $this->prod_related;\n }", "public function setProdRelatedPa($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_related_pa !== $v) {\n $this->prod_related_pa = $v;\n $this->mo...
[ "0.70613486", "0.6141458", "0.6135137", "0.582457", "0.5773666", "0.57014686", "0.5696823", "0.552517", "0.5504893", "0.5472273", "0.5452239", "0.5416829", "0.5397572", "0.5355227", "0.53499776", "0.53248036", "0.53041506", "0.5296495", "0.5285842", "0.5243668", "0.51948", ...
0.7920244
0
Get the [prod_related_m3] column value.
public function getProdRelatedM3() { return $this->prod_related_m3; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdRelatedM3($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_related_m3 !== $v) {\n $this->prod_related_m3 = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_RELATED_M3] = true;\n }\n\n ret...
[ "0.665403", "0.6173712", "0.599795", "0.59316546", "0.5800028", "0.5560859", "0.55192137", "0.53414327", "0.53336835", "0.5324943", "0.5291588", "0.52813375", "0.52590287", "0.5242515", "0.5226886", "0.5200016", "0.51214665", "0.5041952", "0.50236434", "0.50145686", "0.500629...
0.80634874
0
Get the [prod_related2] column value.
public function getProdRelated2() { return $this->prod_related2; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProdRelated()\n {\n return $this->prod_related;\n }", "public function setProdRelated2($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_related2 !== $v) {\n $this->prod_related2 = $v;\n $this->modifie...
[ "0.68929267", "0.6697329", "0.64396703", "0.6073547", "0.58474195", "0.5828501", "0.5799311", "0.5697055", "0.55656576", "0.5549174", "0.55155736", "0.5512123", "0.54855615", "0.5469979", "0.5427511", "0.5406815", "0.53962827", "0.53939426", "0.5386874", "0.53689206", "0.5364...
0.8154724
0
Get the [prod_saveas] column value.
public function getProdSaveas() { return $this->prod_saveas; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdSaveas($v)\n {\n if ($v !== null) {\n $v = (int) $v;\n }\n\n if ($this->prod_saveas !== $v) {\n $this->prod_saveas = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_SAVEAS] = true;\n }\n\n return $this;\n }"...
[ "0.60238826", "0.5549283", "0.54794115", "0.5462092", "0.5382857", "0.5367298", "0.5354463", "0.52927715", "0.52359426", "0.5222625", "0.5208846", "0.5136961", "0.5106385", "0.5102098", "0.508306", "0.5048688", "0.5014713", "0.4998552", "0.49984923", "0.4993149", "0.4976919",...
0.6912204
0
Get the [prod_aircraftreg] column value.
public function getProdAircraftreg() { return $this->prod_aircraftreg; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProduct_code () {\n\t$preValue = $this->preGetValue(\"product_code\"); \n\tif($preValue !== null && !\\Pimcore::inAdmin()) { \n\t\treturn $preValue;\n\t}\n\t$data = $this->product_code;\n\treturn $data;\n}", "public function getProdCode()\n {\n return $this->prod_code;\n }", "pu...
[ "0.55193996", "0.54365224", "0.5284347", "0.5085287", "0.5083368", "0.5048481", "0.5035778", "0.5034762", "0.49865147", "0.49640322", "0.4954516", "0.49132788", "0.489967", "0.48987478", "0.4898491", "0.48643905", "0.48569196", "0.48234445", "0.48186368", "0.4804307", "0.4803...
0.72287625
0
Get the [mb] column value.
public function getMb() { return $this->mb; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getRmb()\n {\n return $this->get(self::_RMB);\n }", "public function getRmb()\n {\n return $this->get(self::_RMB);\n }", "public function getRmb()\n {\n return $this->get(self::RMB);\n }", "public function getMaxchar() {\n\t\tif ((bool) $this->_result) {...
[ "0.6330123", "0.6330123", "0.6317458", "0.60013413", "0.58947235", "0.5823811", "0.5755394", "0.57236534", "0.5718326", "0.56497175", "0.5642225", "0.5624337", "0.56006444", "0.55937636", "0.55825603", "0.55716205", "0.5570821", "0.5570821", "0.5561704", "0.55581874", "0.5557...
0.6870478
0
Get the [pa] column value.
public function getPa() { return $this->pa; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function get_pa(){ return $this->_pa;}", "public function getItemaPt() {\n\t\tif ((bool) $this->_result) {\n\t\t\tif (array_key_exists(4, $this->_result)) return (string) $this->_result[4];\n\t\t\telse parent::throwGetColException('Not set PollTemplatesModel::getItemaPt', __LINE__, __FILE__);\n\t\t}\n\t\t...
[ "0.65248847", "0.6429114", "0.62256396", "0.6214711", "0.59470123", "0.5908936", "0.5878738", "0.5849751", "0.58424395", "0.57630295", "0.5742067", "0.5729768", "0.5717165", "0.56972927", "0.5682865", "0.5642016", "0.55278367", "0.551758", "0.5470435", "0.5462668", "0.5462544...
0.6731205
1
Get the [m3] column value.
public function getM3() { return $this->m3; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getAttr3(){\r\n\t\treturn $this->attr3;\r\n\t}", "public function getThird()\n {\n return isset($this->third) ? $this->third : null;\n }", "public function getC3()\r\n {\r\n return $this->C3;\r\n }", "public function getVolPondasiM3()\n {\n return $this->vo...
[ "0.6373233", "0.63342357", "0.63031006", "0.6284794", "0.62509793", "0.6193938", "0.60760117", "0.6063072", "0.5980403", "0.59717166", "0.59104234", "0.5855225", "0.5824797", "0.57830477", "0.57789826", "0.5734393", "0.5727807", "0.57263476", "0.57253385", "0.57196", "0.56810...
0.7438391
0
Set the value of [prod_id] column.
public function setProdId($v) { if ($v !== null) { $v = (int) $v; } if ($this->prod_id !== $v) { $this->prod_id = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_ID] = true; } if ($this->aTblProdPhotos !== null && $this->aTblProdPhotos->getProdId() !== $v) { $this->aTblProdPhotos = null; } if ($this->aTblProdPrices !== null && $this->aTblProdPrices->getProdId() !== $v) { $this->aTblProdPrices = null; } if ($this->aTblProdSmaller !== null && $this->aTblProdSmaller->getProdId() !== $v) { $this->aTblProdSmaller = null; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function setProduct_id($value)\n\t{\n\t\tif (isInt($value) || is_null($value)) { $this->product_id = $value; }\n\t}", "public function setProdID($prodID){\r\n\t\t$this->prodID= $prodID;\r\n\t}", "public function setProductId($product_id){\n $this->product_id = $product_id;\n }", "public functio...
[ "0.7569165", "0.72317934", "0.7001409", "0.68405324", "0.6829177", "0.65451694", "0.6510461", "0.6482601", "0.64758235", "0.64569247", "0.61906654", "0.61810833", "0.61436164", "0.6133147", "0.6088208", "0.6070972", "0.60688543", "0.6051681", "0.60214746", "0.5972507", "0.596...
0.7027277
2
setProdId() Set the value of [prod_price_id] column.
public function setProdPriceId($v) { if ($v !== null) { $v = (int) $v; } if ($this->prod_price_id !== $v) { $this->prod_price_id = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_PRICE_ID] = true; } if ($this->aTblProdPricing !== null && $this->aTblProdPricing->getProdPriceId() !== $v) { $this->aTblProdPricing = null; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdId($v)\n {\n if ($v !== null) {\n $v = (int) $v;\n }\n\n if ($this->prod_id !== $v) {\n $this->prod_id = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_ID] = true;\n }\n\n if ($this->aTblProdPhotos !== null &&...
[ "0.7277352", "0.7216837", "0.711046", "0.7090819", "0.69628006", "0.6776268", "0.64826095", "0.63982207", "0.63752425", "0.6373306", "0.63708484", "0.62972486", "0.6225229", "0.6206175", "0.61924654", "0.61902213", "0.6182599", "0.61587185", "0.6140599", "0.61168116", "0.6069...
0.69560516
5
setProdPriceId() Set the value of [prod_name] column.
public function setProdName($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_name !== $v) { $this->prod_name = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_NAME] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProductId($id);", "public function setProductId($product_id){\n $this->product_id = $product_id;\n }", "public function setProductName($product_name){\n $this->product_name = $product_name;\n }", "public function setProdID($prodID){\r\n\t\t$this->prodID= $prodID;\r\n\t}", "protec...
[ "0.65381175", "0.64423", "0.63692296", "0.6230679", "0.61326724", "0.6053755", "0.6038796", "0.6010867", "0.59863204", "0.5892571", "0.58909667", "0.58813864", "0.5855449", "0.58344686", "0.5832435", "0.5789224", "0.5787257", "0.5776619", "0.5775174", "0.5747184", "0.5736278"...
0.55484515
24
setProdName() Set the value of [prod_alt1] column.
public function setProdAlt1($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_alt1 !== $v) { $this->prod_alt1 = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_ALT1] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProductName($product_name){\n $this->product_name = $product_name;\n }", "public function setProductName(?string $value): void {\n $this->getBackingStore()->set('productName', $value);\n }", "public function setItemName()\n {\n if ($product = $this->product) {\n ...
[ "0.6593856", "0.6285217", "0.62269306", "0.6096228", "0.60695195", "0.606547", "0.5979651", "0.5859483", "0.582439", "0.5737067", "0.5679284", "0.56781083", "0.56542873", "0.55866635", "0.5538256", "0.54139674", "0.53877753", "0.5353698", "0.53095037", "0.5265667", "0.5261859...
0.67809516
0
setProdAlt1() Set the value of [prod_alt2] column.
public function setProdAlt2($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_alt2 !== $v) { $this->prod_alt2 = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_ALT2] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdAlt1($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_alt1 !== $v) {\n $this->prod_alt1 = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_ALT1] = true;\n }\n\n return $this;\n }", "...
[ "0.7776202", "0.7136761", "0.66220325", "0.6023549", "0.56174666", "0.55277437", "0.5434818", "0.53381836", "0.52828383", "0.52592254", "0.5098499", "0.5059096", "0.50057876", "0.49232057", "0.48664072", "0.4824234", "0.47598723", "0.4753642", "0.4729912", "0.46856177", "0.46...
0.7140115
1
setProdAlt2() Set the value of [prod_alt3] column.
public function setProdAlt3($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_alt3 !== $v) { $this->prod_alt3 = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_ALT3] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdAlt2($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_alt2 !== $v) {\n $this->prod_alt2 = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_ALT2] = true;\n }\n\n return $this;\n }", "...
[ "0.75924057", "0.68237805", "0.6456513", "0.6325634", "0.5845677", "0.57959306", "0.5472798", "0.5328683", "0.5271459", "0.5163879", "0.5098532", "0.5085216", "0.50206274", "0.4955039", "0.4924999", "0.48574647", "0.48318753", "0.48195463", "0.46643573", "0.46482506", "0.4640...
0.6930826
1
setProdAlt3() Set the value of [prod_alt4] column.
public function setProdAlt4($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_alt4 !== $v) { $this->prod_alt4 = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_ALT4] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdAlt3($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_alt3 !== $v) {\n $this->prod_alt3 = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_ALT3] = true;\n }\n\n return $this;\n }", "...
[ "0.79325974", "0.70218503", "0.61950254", "0.58118105", "0.56908715", "0.5525888", "0.5513468", "0.5497924", "0.544339", "0.5223357", "0.5186889", "0.5185635", "0.5178831", "0.5130976", "0.51208067", "0.5049119", "0.4942342", "0.493637", "0.49107203", "0.49094722", "0.4904813...
0.6975978
2
setProdAlt4() Set the value of [prod_code] column.
public function setProdCode($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_code !== $v) { $this->prod_code = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_CODE] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdAlt4($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_alt4 !== $v) {\n $this->prod_alt4 = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_ALT4] = true;\n }\n\n return $this;\n }", "...
[ "0.7387614", "0.6523506", "0.6466088", "0.6300703", "0.5961627", "0.5841172", "0.5841172", "0.57662606", "0.5722778", "0.56118697", "0.5437195", "0.5435117", "0.54110444", "0.54088086", "0.53346646", "0.5309734", "0.5282448", "0.5262347", "0.52138793", "0.5210256", "0.5191082...
0.6187664
4
setProdCode() Set the value of [prod_category] column.
public function setProdCategory($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_category !== $v) { $this->prod_category = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_CATEGORY] = true; } if ($this->aTblMenus !== null && $this->aTblMenus->getMenuAlias() !== $v) { $this->aTblMenus = null; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdCode($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_code !== $v) {\n $this->prod_code = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_CODE] = true;\n }\n\n return $this;\n }", "...
[ "0.68872285", "0.6668269", "0.65835994", "0.6556831", "0.6556831", "0.64904106", "0.6211891", "0.60206074", "0.59408706", "0.5703551", "0.5678945", "0.5676267", "0.5662469", "0.56093144", "0.55840325", "0.55368626", "0.55045605", "0.54975426", "0.54634476", "0.54634476", "0.5...
0.5218186
29
setProdCategory() Set the value of [prod_category_shipping] column.
public function setProdCategoryShipping($v) { if ($v !== null) { $v = (int) $v; } if ($this->prod_category_shipping !== $v) { $this->prod_category_shipping = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_CATEGORY_SHIPPING] = true; } if ($this->aTblShippingCategories !== null && $this->aTblShippingCategories->getProdShippingPriceId() !== $v) { $this->aTblShippingCategories = null; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProdCategoryShipping()\n {\n return $this->prod_category_shipping;\n }", "public function setShipping($shipping);", "public function setTblShippingCategories(ChildTblShippingCategories $v = null)\n {\n if ($v === null) {\n $this->setProdCategoryShipping(NULL...
[ "0.6141061", "0.59430236", "0.5873597", "0.57895935", "0.57112473", "0.55874574", "0.5430686", "0.53130174", "0.52411", "0.5189779", "0.5141314", "0.50951695", "0.50834197", "0.5068371", "0.50339675", "0.50216115", "0.5000084", "0.49748537", "0.4946954", "0.4944385", "0.49200...
0.69374114
0
setProdCategoryShipping() Set the value of [prod_writeup] column.
public function setProdWriteup($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_writeup !== $v) { $this->prod_writeup = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_WRITEUP] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setShipping($shipping);", "public function setProdCategoryShipping($v)\n {\n if ($v !== null) {\n $v = (int) $v;\n }\n\n if ($this->prod_category_shipping !== $v) {\n $this->prod_category_shipping = $v;\n $this->modifiedColumns[TblProdInfoT...
[ "0.6296458", "0.58002234", "0.5752545", "0.56613356", "0.548663", "0.5387261", "0.5224223", "0.52092415", "0.5142027", "0.5118163", "0.51052153", "0.508806", "0.50223356", "0.50169307", "0.50058377", "0.4992537", "0.49459288", "0.48945388", "0.4890651", "0.48807544", "0.48675...
0.5446937
5
setProdWriteup() Set the value of [prod_length] column.
public function setProdLength($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_length !== $v) { $this->prod_length = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_LENGTH] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdWriteup($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_writeup !== $v) {\n $this->prod_writeup = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_WRITEUP] = true;\n }\n\n return $this;\...
[ "0.5849533", "0.5845091", "0.54983926", "0.52451783", "0.5227475", "0.5193568", "0.517603", "0.5154529", "0.5015874", "0.49748063", "0.492936", "0.49030176", "0.49030176", "0.48893374", "0.48866785", "0.48366562", "0.4830328", "0.48200265", "0.47911918", "0.47856182", "0.4678...
0.62863356
0
setProdLength() Set the value of [prod_wingspan] column.
public function setProdWingspan($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_wingspan !== $v) { $this->prod_wingspan = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_WINGSPAN] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdLength($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_length !== $v) {\n $this->prod_length = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_LENGTH] = true;\n }\n\n return $this;\n ...
[ "0.63263345", "0.5552692", "0.54678917", "0.5453686", "0.5408111", "0.53934956", "0.538516", "0.5351815", "0.5284943", "0.52590734", "0.5251854", "0.5251854", "0.5251854", "0.5240267", "0.5240267", "0.52246445", "0.5220869", "0.52199066", "0.5212671", "0.5199404", "0.5199404"...
0.61031413
1
setProdWingspan() Set the value of [prod_height] column.
public function setProdHeight($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_height !== $v) { $this->prod_height = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_HEIGHT] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdWingspan($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_wingspan !== $v) {\n $this->prod_wingspan = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_WINGSPAN] = true;\n }\n\n return $th...
[ "0.6281454", "0.57447827", "0.56941557", "0.5417464", "0.5362587", "0.53486466", "0.52647144", "0.52207506", "0.5218132", "0.5218132", "0.51957536", "0.5160573", "0.51359445", "0.50391763", "0.50091803", "0.49210945", "0.49064335", "0.48985052", "0.48844203", "0.48312396", "0...
0.60052425
1
setProdHeight() Set the value of [prod_scale] column.
public function setProdScale($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_scale !== $v) { $this->prod_scale = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_SCALE] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdHeight($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_height !== $v) {\n $this->prod_height = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_HEIGHT] = true;\n }\n\n return $this;\n ...
[ "0.6962666", "0.6269491", "0.6264537", "0.60659677", "0.55760163", "0.55745816", "0.55745816", "0.53915673", "0.5371651", "0.52839875", "0.52442", "0.523724", "0.5208939", "0.5200681", "0.5200087", "0.5194056", "0.5186911", "0.51770025", "0.5171742", "0.5137935", "0.51199424"...
0.62440705
3
setProdScale() Set the value of [prod_links] column.
public function setProdLinks($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_links !== $v) { $this->prod_links = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_LINKS] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdScale($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_scale !== $v) {\n $this->prod_scale = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_SCALE] = true;\n }\n\n return $this;\n }",...
[ "0.6117854", "0.60125566", "0.57888234", "0.546975", "0.5367545", "0.53636223", "0.53146744", "0.5253842", "0.5125149", "0.5040184", "0.50385356", "0.50321984", "0.501383", "0.49447826", "0.4933387", "0.48462254", "0.481659", "0.4809027", "0.4796593", "0.47688678", "0.4767415...
0.5049149
9
setProdLinks() Set the value of [prod_linkdescription] column.
public function setProdLinkdescription($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_linkdescription !== $v) { $this->prod_linkdescription = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_LINKDESCRIPTION] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdLinks($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_links !== $v) {\n $this->prod_links = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_LINKS] = true;\n }\n\n return $this;\n }",...
[ "0.64033", "0.604494", "0.57057804", "0.56472003", "0.56418395", "0.55622405", "0.5550153", "0.5524947", "0.5508063", "0.54721165", "0.5402973", "0.538458", "0.538458", "0.5348114", "0.5340541", "0.5314391", "0.5231209", "0.5230729", "0.5209203", "0.51936924", "0.5107778", ...
0.612149
1
setProdLinkdescription() Set the value of [prod_front] column.
public function setProdFront($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_front !== $v) { $this->prod_front = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_FRONT] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProdLinkdescription()\n {\n return $this->prod_linkdescription;\n }", "public function setProduct_desc ($product_desc) {\n\t$this->product_desc = $product_desc;\n\treturn $this;\n}", "public function SetHeadDescription ($description) {\r\n\t\t$this->head->SetDescription($descrip...
[ "0.60098225", "0.58726335", "0.5851088", "0.5848206", "0.57029873", "0.56836706", "0.5661169", "0.5646697", "0.5539896", "0.5532644", "0.5496742", "0.5471544", "0.54542303", "0.5436323", "0.54194427", "0.5414915", "0.5409879", "0.54051936", "0.53807336", "0.5362209", "0.53576...
0.5780863
4
setProdFront() Set the value of [prod_keywords] column.
public function setProdKeywords($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_keywords !== $v) { $this->prod_keywords = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_KEYWORDS] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdFront($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_front !== $v) {\n $this->prod_front = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_FRONT] = true;\n }\n\n return $this;\n }",...
[ "0.62230873", "0.5660296", "0.528664", "0.52622104", "0.52593166", "0.520222", "0.5185681", "0.514636", "0.5017951", "0.4985818", "0.49574465", "0.49111634", "0.4826392", "0.4802036", "0.479346", "0.47746015", "0.4754732", "0.47427076", "0.47252396", "0.47087258", "0.46881655...
0.5975671
1
setProdKeywords() Set the value of [prod_keywords_writeup] column.
public function setProdKeywordsWriteup($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_keywords_writeup !== $v) { $this->prod_keywords_writeup = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_KEYWORDS_WRITEUP] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdKeywords($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_keywords !== $v) {\n $this->prod_keywords = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_KEYWORDS] = true;\n }\n\n return $th...
[ "0.70644057", "0.64567083", "0.6108269", "0.602328", "0.5781163", "0.5770702", "0.5770089", "0.5766622", "0.5761055", "0.5748266", "0.57237107", "0.5694472", "0.56857413", "0.56722146", "0.56080747", "0.559631", "0.55493444", "0.5544019", "0.5402991", "0.52204406", "0.5212338...
0.8035094
0
setProdKeywordsWriteup() Set the value of [prod_title] column.
public function setProdTitle($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_title !== $v) { $this->prod_title = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_TITLE] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdKeywordsWriteup($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_keywords_writeup !== $v) {\n $this->prod_keywords_writeup = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_KEYWORDS_WRITEUP] = true;\n...
[ "0.69538426", "0.5939345", "0.5731083", "0.5477991", "0.54024297", "0.5314378", "0.5285515", "0.5176923", "0.5047247", "0.50246245", "0.5022888", "0.50204957", "0.4987374", "0.4963068", "0.49517187", "0.49196514", "0.49158478", "0.48664215", "0.4862366", "0.48614797", "0.4846...
0.5186112
7
setProdTitle() Set the value of [prod_description] column.
public function setProdDescription($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_description !== $v) { $this->prod_description = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_DESCRIPTION] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdTitle($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_title !== $v) {\n $this->prod_title = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_TITLE] = true;\n }\n\n return $this;\n }",...
[ "0.710813", "0.6432859", "0.6368765", "0.63454175", "0.6312776", "0.62509435", "0.62299687", "0.62254834", "0.62254095", "0.6214527", "0.6205783", "0.61151105", "0.6107808", "0.6102494", "0.60928434", "0.6082649", "0.60810155", "0.607582", "0.6074099", "0.60538924", "0.605389...
0.61964756
11
setProdDescription() Set the value of [prod_general] column.
public function setProdGeneral($v) { if ($v !== null) { $v = (int) $v; } if ($this->prod_general !== $v) { $this->prod_general = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_GENERAL] = true; } if ($this->aTblGeneral !== null && $this->aTblGeneral->getProdGeneral() !== $v) { $this->aTblGeneral = null; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdDescription($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_description !== $v) {\n $this->prod_description = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_DESCRIPTION] = true;\n }\n\n ...
[ "0.6945915", "0.6531788", "0.6394194", "0.6244398", "0.6212825", "0.6149135", "0.607071", "0.6066318", "0.60331315", "0.60239506", "0.60218346", "0.60199416", "0.60153496", "0.5996005", "0.5982738", "0.59817797", "0.5977011", "0.5969299", "0.59688604", "0.59655917", "0.595913...
0.6455899
2
setProdGeneral() Set the value of [prod_era] column.
public function setProdEra($v) { if ($v !== null) { $v = (int) $v; } if ($this->prod_era !== $v) { $this->prod_era = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_ERA] = true; } if ($this->aTblEra !== null && $this->aTblEra->getEraId() !== $v) { $this->aTblEra = null; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setGeneral() // Attribuer une valeur générale à un attaquant\n {\n $this->_general = round($this->attaqueCalcul());\n }", "public function getProdEra()\n {\n return $this->prod_era;\n }", "public function setProdGeneral($v)\n {\n if ($v !== null) {\n $v = ...
[ "0.6047497", "0.5933805", "0.5564652", "0.5256335", "0.4957775", "0.49163714", "0.48508793", "0.4834009", "0.4639352", "0.45765793", "0.45544335", "0.45205042", "0.44947693", "0.44479328", "0.44316754", "0.4412388", "0.4399919", "0.4377867", "0.4371502", "0.43435496", "0.4311...
0.5654359
2
setProdEra() Set the value of [prod_company] column.
public function setProdCompany($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_company !== $v) { $this->prod_company = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_COMPANY] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdEra($v)\n {\n if ($v !== null) {\n $v = (int) $v;\n }\n\n if ($this->prod_era !== $v) {\n $this->prod_era = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_ERA] = true;\n }\n\n if ($this->aTblEra !== null && $t...
[ "0.64666843", "0.5501693", "0.54218227", "0.52104664", "0.5189158", "0.5144248", "0.51064706", "0.5062305", "0.501407", "0.49867362", "0.49848732", "0.49677575", "0.4964167", "0.49510404", "0.49455997", "0.49128708", "0.48877782", "0.48828247", "0.4881663", "0.48702675", "0.4...
0.44638032
87
setProdCompany() Set the value of [prod_related] column.
public function setProdRelated($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_related !== $v) { $this->prod_related = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_RELATED] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setCompany(\\App\\Domain\\Model\\Company $object) : void\n {\n $this->setRef('from__company_id__to__table__companies__columns__id', $object, 'products');\n }", "public function setProdCompany($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n ...
[ "0.5744732", "0.5615619", "0.5607032", "0.5473374", "0.5396891", "0.5380241", "0.52787215", "0.52650183", "0.52082616", "0.5201005", "0.51487803", "0.51316184", "0.51280874", "0.50925136", "0.50925136", "0.50497395", "0.5036039", "0.5009995", "0.49305117", "0.49057612", "0.48...
0.655294
0
setProdRelated() Set the value of [prod_related_pa] column.
public function setProdRelatedPa($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_related_pa !== $v) { $this->prod_related_pa = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_RELATED_PA] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdRelated($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_related !== $v) {\n $this->prod_related = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_RELATED] = true;\n }\n\n return $this;\...
[ "0.66406214", "0.60493654", "0.5804168", "0.5312828", "0.5242306", "0.5207813", "0.5200956", "0.5172608", "0.5162874", "0.51125324", "0.5039864", "0.5013742", "0.49739423", "0.4956736", "0.49339598", "0.4877813", "0.4867028", "0.48509744", "0.47976115", "0.4788886", "0.477021...
0.6730233
0
setProdRelatedPa() Set the value of [prod_related_m3] column.
public function setProdRelatedM3($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_related_m3 !== $v) { $this->prod_related_m3 = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_RELATED_M3] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getProdRelatedM3()\n {\n return $this->prod_related_m3;\n }", "public function setProdRelatedPa($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_related_pa !== $v) {\n $this->prod_related_pa = $v;\n $thi...
[ "0.6565166", "0.64982957", "0.5982139", "0.53901494", "0.52000916", "0.5100894", "0.48719493", "0.47665218", "0.47338653", "0.4715882", "0.4633002", "0.45733258", "0.45598158", "0.45519248", "0.45097595", "0.45083198", "0.4500966", "0.44987512", "0.44761905", "0.44567454", "0...
0.70077443
0
setProdRelatedM3() Set the value of [prod_related2] column.
public function setProdRelated2($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_related2 !== $v) { $this->prod_related2 = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_RELATED2] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdRelatedM3($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_related_m3 !== $v) {\n $this->prod_related_m3 = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_RELATED_M3] = true;\n }\n\n ret...
[ "0.70252234", "0.6469666", "0.5765087", "0.5450993", "0.52150345", "0.5193262", "0.48543662", "0.47928792", "0.47436592", "0.4726393", "0.46781075", "0.46581873", "0.4627926", "0.46244776", "0.45543486", "0.45359963", "0.45220807", "0.45003453", "0.44834942", "0.4471885", "0....
0.60625577
2
setProdRelated2() Set the value of [prod_saveas] column.
public function setProdSaveas($v) { if ($v !== null) { $v = (int) $v; } if ($this->prod_saveas !== $v) { $this->prod_saveas = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_SAVEAS] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function save_v2() {\n parent::save();\n }", "public function setProdRelated2($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_related2 !== $v) {\n $this->prod_related2 = $v;\n $this->modifiedColumns[TblProdInfoTabl...
[ "0.6140576", "0.6007264", "0.5767776", "0.56198347", "0.54226947", "0.51909983", "0.5118963", "0.5090532", "0.5086997", "0.50826144", "0.5028246", "0.4980704", "0.49501082", "0.49391654", "0.49317", "0.49031517", "0.48863786", "0.48782113", "0.48678294", "0.48426658", "0.4835...
0.523017
5
setProdSaveas() Set the value of [prod_aircraftreg] column.
public function setProdAircraftreg($v) { if ($v !== null) { $v = (string) $v; } if ($this->prod_aircraftreg !== $v) { $this->prod_aircraftreg = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_AIRCRAFTREG] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdSaveas($v)\n {\n if ($v !== null) {\n $v = (int) $v;\n }\n\n if ($this->prod_saveas !== $v) {\n $this->prod_saveas = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_SAVEAS] = true;\n }\n\n return $this;\n }"...
[ "0.62544084", "0.52535325", "0.50332135", "0.49454668", "0.4906765", "0.4852797", "0.48102087", "0.47914103", "0.47779262", "0.46722963", "0.4655261", "0.45888653", "0.45865816", "0.45854178", "0.4575007", "0.45677438", "0.456129", "0.45601773", "0.4544832", "0.45376924", "0....
0.495876
3
setProdAircraftreg() Set the value of [mb] column.
public function setMb($v) { if ($v !== null) { $v = (int) $v; } if ($this->mb !== $v) { $this->mb = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_MB] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setProdAircraftreg($v)\n {\n if ($v !== null) {\n $v = (string) $v;\n }\n\n if ($this->prod_aircraftreg !== $v) {\n $this->prod_aircraftreg = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_AIRCRAFTREG] = true;\n }\n\n ...
[ "0.53541887", "0.5190568", "0.4915646", "0.4915646", "0.49065912", "0.49050942", "0.48836616", "0.48359486", "0.48322132", "0.47462043", "0.47079426", "0.470247", "0.46806985", "0.46769604", "0.46723476", "0.46598464", "0.46386623", "0.46343005", "0.46147653", "0.46031472", "...
0.5460624
0
setMb() Set the value of [pa] column.
public function setPa($v) { if ($v !== null) { $v = (int) $v; } if ($this->pa !== $v) { $this->pa = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_PA] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setMb($v)\n {\n if ($v !== null) {\n $v = (int) $v;\n }\n\n if ($this->mb !== $v) {\n $this->mb = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_MB] = true;\n }\n\n return $this;\n }", "public function set_pa(Int $_p...
[ "0.6461456", "0.547721", "0.5473873", "0.5473873", "0.5473873", "0.5473873", "0.5473873", "0.5473873", "0.5473873", "0.5473873", "0.5473873", "0.5473873", "0.5473873", "0.5473873", "0.5473873", "0.5473873", "0.5473873", "0.5473873", "0.5473873", "0.5273943", "0.5273943", "0...
0.44823828
82
setPa() Set the value of [m3] column.
public function setM3($v) { if ($v !== null) { $v = (int) $v; } if ($this->m3 !== $v) { $this->m3 = $v; $this->modifiedColumns[TblProdInfoTableMap::COL_M3] = true; } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function setVolPondasiM3($v)\n {\n if ($v !== null && is_numeric($v)) {\n $v = (string) $v;\n }\n\n if ($this->vol_pondasi_m3 !== $v) {\n $this->vol_pondasi_m3 = $v;\n $this->modifiedColumns[] = BangunanPeer::VOL_PONDASI_M3;\n }\n\n\n re...
[ "0.5301286", "0.5158746", "0.5145565", "0.5095278", "0.5074508", "0.4962503", "0.49347463", "0.48823524", "0.48543042", "0.4841946", "0.48369637", "0.4831748", "0.47708684", "0.4744158", "0.47396854", "0.47375438", "0.47370604", "0.47306383", "0.47064963", "0.46893445", "0.46...
0.54975516
0
setM3() 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 setM3($v)\n {\n if ($v !== null) {\n $v = (int) $v;\n }\n\n if ($this->m3 !== $v) {\n $this->m3 = $v;\n $this->modifiedColumns[TblProdInfoTableMap::COL_M3] = true;\n }\n\n return $this;\n }", "public function setEditorial3(...
[ "0.6159506", "0.59809166", "0.57484204", "0.57484204", "0.57484204", "0.5350912", "0.5197547", "0.51463115", "0.5125456", "0.51253766", "0.5121303", "0.51212794", "0.5103043", "0.51003784", "0.50682974", "0.502702", "0.5017063", "0.50147325", "0.49365783", "0.49328876", "0.49...
0.49277046
26
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, $indexType = TableMap::TYPE_NUM) { try { $col = $row[TableMap::TYPE_NUM == $indexType ? 0 + $startcol : TblProdInfoTableMap::translateFieldName('ProdId', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_id = (null !== $col) ? (int) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 1 + $startcol : TblProdInfoTableMap::translateFieldName('ProdPriceId', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_price_id = (null !== $col) ? (int) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 2 + $startcol : TblProdInfoTableMap::translateFieldName('ProdName', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_name = (null !== $col) ? (string) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 3 + $startcol : TblProdInfoTableMap::translateFieldName('ProdAlt1', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_alt1 = (null !== $col) ? (string) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 4 + $startcol : TblProdInfoTableMap::translateFieldName('ProdAlt2', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_alt2 = (null !== $col) ? (string) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 5 + $startcol : TblProdInfoTableMap::translateFieldName('ProdAlt3', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_alt3 = (null !== $col) ? (string) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 6 + $startcol : TblProdInfoTableMap::translateFieldName('ProdAlt4', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_alt4 = (null !== $col) ? (string) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 7 + $startcol : TblProdInfoTableMap::translateFieldName('ProdCode', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_code = (null !== $col) ? (string) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 8 + $startcol : TblProdInfoTableMap::translateFieldName('ProdCategory', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_category = (null !== $col) ? (string) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 9 + $startcol : TblProdInfoTableMap::translateFieldName('ProdCategoryShipping', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_category_shipping = (null !== $col) ? (int) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 10 + $startcol : TblProdInfoTableMap::translateFieldName('ProdWriteup', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_writeup = (null !== $col) ? (string) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 11 + $startcol : TblProdInfoTableMap::translateFieldName('ProdLength', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_length = (null !== $col) ? (string) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 12 + $startcol : TblProdInfoTableMap::translateFieldName('ProdWingspan', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_wingspan = (null !== $col) ? (string) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 13 + $startcol : TblProdInfoTableMap::translateFieldName('ProdHeight', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_height = (null !== $col) ? (string) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 14 + $startcol : TblProdInfoTableMap::translateFieldName('ProdScale', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_scale = (null !== $col) ? (string) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 15 + $startcol : TblProdInfoTableMap::translateFieldName('ProdLinks', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_links = (null !== $col) ? (string) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 16 + $startcol : TblProdInfoTableMap::translateFieldName('ProdLinkdescription', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_linkdescription = (null !== $col) ? (string) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 17 + $startcol : TblProdInfoTableMap::translateFieldName('ProdFront', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_front = (null !== $col) ? (string) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 18 + $startcol : TblProdInfoTableMap::translateFieldName('ProdKeywords', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_keywords = (null !== $col) ? (string) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 19 + $startcol : TblProdInfoTableMap::translateFieldName('ProdKeywordsWriteup', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_keywords_writeup = (null !== $col) ? (string) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 20 + $startcol : TblProdInfoTableMap::translateFieldName('ProdTitle', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_title = (null !== $col) ? (string) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 21 + $startcol : TblProdInfoTableMap::translateFieldName('ProdDescription', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_description = (null !== $col) ? (string) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 22 + $startcol : TblProdInfoTableMap::translateFieldName('ProdGeneral', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_general = (null !== $col) ? (int) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 23 + $startcol : TblProdInfoTableMap::translateFieldName('ProdEra', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_era = (null !== $col) ? (int) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 24 + $startcol : TblProdInfoTableMap::translateFieldName('ProdCompany', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_company = (null !== $col) ? (string) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 25 + $startcol : TblProdInfoTableMap::translateFieldName('ProdRelated', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_related = (null !== $col) ? (string) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 26 + $startcol : TblProdInfoTableMap::translateFieldName('ProdRelatedPa', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_related_pa = (null !== $col) ? (string) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 27 + $startcol : TblProdInfoTableMap::translateFieldName('ProdRelatedM3', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_related_m3 = (null !== $col) ? (string) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 28 + $startcol : TblProdInfoTableMap::translateFieldName('ProdRelated2', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_related2 = (null !== $col) ? (string) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 29 + $startcol : TblProdInfoTableMap::translateFieldName('ProdSaveas', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_saveas = (null !== $col) ? (int) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 30 + $startcol : TblProdInfoTableMap::translateFieldName('ProdAircraftreg', TableMap::TYPE_PHPNAME, $indexType)]; $this->prod_aircraftreg = (null !== $col) ? (string) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 31 + $startcol : TblProdInfoTableMap::translateFieldName('Mb', TableMap::TYPE_PHPNAME, $indexType)]; $this->mb = (null !== $col) ? (int) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 32 + $startcol : TblProdInfoTableMap::translateFieldName('Pa', TableMap::TYPE_PHPNAME, $indexType)]; $this->pa = (null !== $col) ? (int) $col : null; $col = $row[TableMap::TYPE_NUM == $indexType ? 33 + $startcol : TblProdInfoTableMap::translateFieldName('M3', TableMap::TYPE_PHPNAME, $indexType)]; $this->m3 = (null !== $col) ? (int) $col : null; $this->resetModified(); $this->setNew(false); if ($rehydrate) { $this->ensureConsistency(); } return $startcol + 34; // 34 = TblProdInfoTableMap::NUM_HYDRATE_COLUMNS. } catch (Exception $e) { throw new PropelException(sprintf('Error populating %s object', '\\TblProdInfo'), 0, $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.55138695", "0.55138695", "0.55138695", "0.54085904", "0.53933144", "0.53933144", "0.53933144", "0.53933144", "0.53933144", "0.53933144", "0.53933144", "0.5331264", "0.53155565", "0.5290895", "0.528821", "0.5272583", "0.5265467", "0.5219472", "0.52007836", "0.5185191", "0.5...
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->aTblProdPhotos !== null && $this->prod_id !== $this->aTblProdPhotos->getProdId()) { $this->aTblProdPhotos = null; } if ($this->aTblProdPrices !== null && $this->prod_id !== $this->aTblProdPrices->getProdId()) { $this->aTblProdPrices = null; } if ($this->aTblProdSmaller !== null && $this->prod_id !== $this->aTblProdSmaller->getProdId()) { $this->aTblProdSmaller = null; } if ($this->aTblProdPricing !== null && $this->prod_price_id !== $this->aTblProdPricing->getProdPriceId()) { $this->aTblProdPricing = null; } if ($this->aTblMenus !== null && $this->prod_category !== $this->aTblMenus->getMenuAlias()) { $this->aTblMenus = null; } if ($this->aTblShippingCategories !== null && $this->prod_category_shipping !== $this->aTblShippingCategories->getProdShippingPriceId()) { $this->aTblShippingCategories = null; } if ($this->aTblGeneral !== null && $this->prod_general !== $this->aTblGeneral->getProdGeneral()) { $this->aTblGeneral = null; } if ($this->aTblEra !== null && $this->prod_era !== $this->aTblEra->getEraId()) { $this->aTblEra = 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.7562266", "0.72740656", "0.7126028", "0.7062221", "0.7057121", "0.69957054", "0.69670165", "0.68805015", "0.68766123", "0.68353325", "0.6815566", "0.67560554", "0.6720092", "0.66991097", "0.66991097", "0.66991097", "0.66991097", "0.6693115", "0.66765517", "0.6670675", "0.6...
0.64209145
31
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, ConnectionInterface $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::getServiceContainer()->getReadConnection(TblProdInfoTableMap::DATABASE_NAME); } // We don't need to alter the object instance pool; we're just modifying this instance // already in the pool. $dataFetcher = ChildTblProdInfoQuery::create(null, $this->buildPkeyCriteria())->setFormatter(ModelCriteria::FORMAT_STATEMENT)->find($con); $row = $dataFetcher->fetch(); $dataFetcher->close(); if (!$row) { throw new PropelException('Cannot find matching row in the database to reload object values.'); } $this->hydrate($row, 0, true, $dataFetcher->getIndexType()); // rehydrate if ($deep) { // also de-associate any related objects? $this->aTblEra = null; $this->aTblGeneral = null; $this->aTblMenus = null; $this->aTblProdPhotos = null; $this->aTblProdPrices = null; $this->aTblProdPricing = null; $this->aTblProdSmaller = null; $this->aTblShippingCategories = 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.6330225", "0.6249899", "0.62372005", "0.6012892", "0.5944971", "0.59258485", "0.5910676", "0.59069115", "0.58702385", "0.58220196", "0.57221025", "0.5719306", "0.5691359", "0.56786144", "0.5675167", "0.56372964", "0.5634468", "0.556958", "0.556958", "0.5480265", "0.5352309...
0.0
-1
Removes this object from datastore and sets delete attribute.
public function delete(ConnectionInterface $con = null) { if ($this->isDeleted()) { throw new PropelException("This object has already been deleted."); } if ($con === null) { $con = Propel::getServiceContainer()->getWriteConnection(TblProdInfoTableMap::DATABASE_NAME); } $con->transaction(function () use ($con) { $deleteQuery = ChildTblProdInfoQuery::create() ->filterByPrimaryKey($this->getPrimaryKey()); $ret = $this->preDelete($con); if ($ret) { $deleteQuery->delete($con); $this->postDelete($con); $this->setDeleted(true); } }); }
{ "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.7421696", "0.7121954", "0.7028182", "0.69343674", "0.682837", "0.68191266", "0.67467564", "0.67236525", "0.6648866", "0.64793926", "0.64615566", "0.6452498", "0.6446481", "0.64312124", "0.6410985", "0.6363036", "0.6355807", "0.6351563", "0.6339578", "0.6328758", "0.6319670...
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(ConnectionInterface $con = null) { if ($this->isDeleted()) { throw new PropelException("You cannot save an object that has been deleted."); } if ($con === null) { $con = Propel::getServiceContainer()->getWriteConnection(TblProdInfoTableMap::DATABASE_NAME); } return $con->transaction(function () use ($con) { $ret = $this->preSave($con); $isInsert = $this->isNew(); 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); TblProdInfoTableMap::addInstanceToPool($this); } else { $affectedRows = 0; } return $affectedRows; }); }
{ "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.6980629", "0.6950161", "0.6940036", "0.681025", "0.6649549", "0.6628817", "0.65106785", "0.64271766", "0.6425692", "0.6403857", "0.6403092", "0.638929", "0.63706106", "0.6340176", "0.6322265", "0.626634", "0.6264877", "0.62304926", "0.6206293", "0.6080307", "0.60790145", ...
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(ConnectionInterface $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->aTblEra !== null) { if ($this->aTblEra->isModified() || $this->aTblEra->isNew()) { $affectedRows += $this->aTblEra->save($con); } $this->setTblEra($this->aTblEra); } if ($this->aTblGeneral !== null) { if ($this->aTblGeneral->isModified() || $this->aTblGeneral->isNew()) { $affectedRows += $this->aTblGeneral->save($con); } $this->setTblGeneral($this->aTblGeneral); } if ($this->aTblMenus !== null) { if ($this->aTblMenus->isModified() || $this->aTblMenus->isNew()) { $affectedRows += $this->aTblMenus->save($con); } $this->setTblMenus($this->aTblMenus); } if ($this->aTblProdPhotos !== null) { if ($this->aTblProdPhotos->isModified() || $this->aTblProdPhotos->isNew()) { $affectedRows += $this->aTblProdPhotos->save($con); } $this->setTblProdPhotos($this->aTblProdPhotos); } if ($this->aTblProdPrices !== null) { if ($this->aTblProdPrices->isModified() || $this->aTblProdPrices->isNew()) { $affectedRows += $this->aTblProdPrices->save($con); } $this->setTblProdPrices($this->aTblProdPrices); } if ($this->aTblProdPricing !== null) { if ($this->aTblProdPricing->isModified() || $this->aTblProdPricing->isNew()) { $affectedRows += $this->aTblProdPricing->save($con); } $this->setTblProdPricing($this->aTblProdPricing); } if ($this->aTblProdSmaller !== null) { if ($this->aTblProdSmaller->isModified() || $this->aTblProdSmaller->isNew()) { $affectedRows += $this->aTblProdSmaller->save($con); } $this->setTblProdSmaller($this->aTblProdSmaller); } if ($this->aTblShippingCategories !== null) { if ($this->aTblShippingCategories->isModified() || $this->aTblShippingCategories->isNew()) { $affectedRows += $this->aTblShippingCategories->save($con); } $this->setTblShippingCategories($this->aTblShippingCategories); } if ($this->isNew() || $this->isModified()) { // persist changes if ($this->isNew()) { $this->doInsert($con); $affectedRows += 1; } else { $affectedRows += $this->doUpdate($con); } $this->resetModified(); } $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.7090886", "0.6778157", "0.6663471", "0.65799534", "0.65575486", "0.6496844", "0.6493933", "0.64512265", "0.6380317", "0.6355888", "0.632198", "0.63173145", "0.63127434", "0.62973404", "0.6269337", "0.6266956", "0.6262895", "0.62609285", "0.62466896", "0.62103236", "0.62086...
0.0
-1
doSave() Insert the row in the database.
protected function doInsert(ConnectionInterface $con) { $modifiedColumns = array(); $index = 0; $this->modifiedColumns[TblProdInfoTableMap::COL_PROD_ID] = true; if (null !== $this->prod_id) { throw new PropelException('Cannot insert a value for auto-increment primary key (' . TblProdInfoTableMap::COL_PROD_ID . ')'); } // check the columns in natural order for more readable SQL queries if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_ID)) { $modifiedColumns[':p' . $index++] = 'prod_id'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_PRICE_ID)) { $modifiedColumns[':p' . $index++] = 'prod_price_id'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_NAME)) { $modifiedColumns[':p' . $index++] = 'prod_name'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_ALT1)) { $modifiedColumns[':p' . $index++] = 'prod_alt1'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_ALT2)) { $modifiedColumns[':p' . $index++] = 'prod_alt2'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_ALT3)) { $modifiedColumns[':p' . $index++] = 'prod_alt3'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_ALT4)) { $modifiedColumns[':p' . $index++] = 'prod_alt4'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_CODE)) { $modifiedColumns[':p' . $index++] = 'prod_code'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_CATEGORY)) { $modifiedColumns[':p' . $index++] = 'prod_category'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_CATEGORY_SHIPPING)) { $modifiedColumns[':p' . $index++] = 'prod_category_shipping'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_WRITEUP)) { $modifiedColumns[':p' . $index++] = 'prod_writeup'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_LENGTH)) { $modifiedColumns[':p' . $index++] = 'prod_length'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_WINGSPAN)) { $modifiedColumns[':p' . $index++] = 'prod_wingspan'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_HEIGHT)) { $modifiedColumns[':p' . $index++] = 'prod_height'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_SCALE)) { $modifiedColumns[':p' . $index++] = 'prod_scale'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_LINKS)) { $modifiedColumns[':p' . $index++] = 'prod_links'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_LINKDESCRIPTION)) { $modifiedColumns[':p' . $index++] = 'prod_linkdescription'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_FRONT)) { $modifiedColumns[':p' . $index++] = 'prod_front'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_KEYWORDS)) { $modifiedColumns[':p' . $index++] = 'prod_keywords'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_KEYWORDS_WRITEUP)) { $modifiedColumns[':p' . $index++] = 'prod_keywords_writeup'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_TITLE)) { $modifiedColumns[':p' . $index++] = 'prod_title'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_DESCRIPTION)) { $modifiedColumns[':p' . $index++] = 'prod_description'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_GENERAL)) { $modifiedColumns[':p' . $index++] = 'prod_general'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_ERA)) { $modifiedColumns[':p' . $index++] = 'prod_era'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_COMPANY)) { $modifiedColumns[':p' . $index++] = 'prod_company'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_RELATED)) { $modifiedColumns[':p' . $index++] = 'prod_related'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_RELATED_PA)) { $modifiedColumns[':p' . $index++] = 'prod_related_pa'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_RELATED_M3)) { $modifiedColumns[':p' . $index++] = 'prod_related_m3'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_RELATED2)) { $modifiedColumns[':p' . $index++] = 'prod_related2'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_SAVEAS)) { $modifiedColumns[':p' . $index++] = 'prod_saveas'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_AIRCRAFTREG)) { $modifiedColumns[':p' . $index++] = 'prod_aircraftreg'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_MB)) { $modifiedColumns[':p' . $index++] = 'mb'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_PA)) { $modifiedColumns[':p' . $index++] = 'pa'; } if ($this->isColumnModified(TblProdInfoTableMap::COL_M3)) { $modifiedColumns[':p' . $index++] = 'm3'; } $sql = sprintf( 'INSERT INTO tbl_prod_info (%s) VALUES (%s)', implode(', ', $modifiedColumns), implode(', ', array_keys($modifiedColumns)) ); try { $stmt = $con->prepare($sql); foreach ($modifiedColumns as $identifier => $columnName) { switch ($columnName) { case 'prod_id': $stmt->bindValue($identifier, $this->prod_id, PDO::PARAM_INT); break; case 'prod_price_id': $stmt->bindValue($identifier, $this->prod_price_id, PDO::PARAM_INT); break; case 'prod_name': $stmt->bindValue($identifier, $this->prod_name, PDO::PARAM_STR); break; case 'prod_alt1': $stmt->bindValue($identifier, $this->prod_alt1, PDO::PARAM_STR); break; case 'prod_alt2': $stmt->bindValue($identifier, $this->prod_alt2, PDO::PARAM_STR); break; case 'prod_alt3': $stmt->bindValue($identifier, $this->prod_alt3, PDO::PARAM_STR); break; case 'prod_alt4': $stmt->bindValue($identifier, $this->prod_alt4, PDO::PARAM_STR); break; case 'prod_code': $stmt->bindValue($identifier, $this->prod_code, PDO::PARAM_STR); break; case 'prod_category': $stmt->bindValue($identifier, $this->prod_category, PDO::PARAM_STR); break; case 'prod_category_shipping': $stmt->bindValue($identifier, $this->prod_category_shipping, PDO::PARAM_INT); break; case 'prod_writeup': $stmt->bindValue($identifier, $this->prod_writeup, PDO::PARAM_STR); break; case 'prod_length': $stmt->bindValue($identifier, $this->prod_length, PDO::PARAM_STR); break; case 'prod_wingspan': $stmt->bindValue($identifier, $this->prod_wingspan, PDO::PARAM_STR); break; case 'prod_height': $stmt->bindValue($identifier, $this->prod_height, PDO::PARAM_STR); break; case 'prod_scale': $stmt->bindValue($identifier, $this->prod_scale, PDO::PARAM_STR); break; case 'prod_links': $stmt->bindValue($identifier, $this->prod_links, PDO::PARAM_STR); break; case 'prod_linkdescription': $stmt->bindValue($identifier, $this->prod_linkdescription, PDO::PARAM_STR); break; case 'prod_front': $stmt->bindValue($identifier, $this->prod_front, PDO::PARAM_STR); break; case 'prod_keywords': $stmt->bindValue($identifier, $this->prod_keywords, PDO::PARAM_STR); break; case 'prod_keywords_writeup': $stmt->bindValue($identifier, $this->prod_keywords_writeup, PDO::PARAM_STR); break; case 'prod_title': $stmt->bindValue($identifier, $this->prod_title, PDO::PARAM_STR); break; case 'prod_description': $stmt->bindValue($identifier, $this->prod_description, PDO::PARAM_STR); break; case 'prod_general': $stmt->bindValue($identifier, $this->prod_general, PDO::PARAM_INT); break; case 'prod_era': $stmt->bindValue($identifier, $this->prod_era, PDO::PARAM_INT); break; case 'prod_company': $stmt->bindValue($identifier, $this->prod_company, PDO::PARAM_STR); break; case 'prod_related': $stmt->bindValue($identifier, $this->prod_related, PDO::PARAM_STR); break; case 'prod_related_pa': $stmt->bindValue($identifier, $this->prod_related_pa, PDO::PARAM_STR); break; case 'prod_related_m3': $stmt->bindValue($identifier, $this->prod_related_m3, PDO::PARAM_STR); break; case 'prod_related2': $stmt->bindValue($identifier, $this->prod_related2, PDO::PARAM_STR); break; case 'prod_saveas': $stmt->bindValue($identifier, $this->prod_saveas, PDO::PARAM_INT); break; case 'prod_aircraftreg': $stmt->bindValue($identifier, $this->prod_aircraftreg, PDO::PARAM_STR); break; case 'mb': $stmt->bindValue($identifier, $this->mb, PDO::PARAM_INT); break; case 'pa': $stmt->bindValue($identifier, $this->pa, PDO::PARAM_INT); break; case 'm3': $stmt->bindValue($identifier, $this->m3, 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), 0, $e); } try { $pk = $con->lastInsertId(); } catch (Exception $e) { throw new PropelException('Unable to get autoincrement id.', 0, $e); } $this->setProdId($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.7240798", "0.7023102", "0.69909334", "0.6986246", "0.6864348", "0.67775875", "0.6773486", "0.6670846", "0.6631795", "0.6623352", "0.6598106", "0.6596057", "0.65875036", "0.65772986", "0.65697646", "0.6557262", "0.6543505", "0.65378445", "0.65330404", "0.6528446", "0.651733...
0.0
-1
Update the row in the database.
protected function doUpdate(ConnectionInterface $con) { $selectCriteria = $this->buildPkeyCriteria(); $valuesCriteria = $this->buildCriteria(); return $selectCriteria->doUpdate($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.7756289", "0.7365285", "0.72711533", "0.7213336", "0.7121275", "0.70645744", "0.7064426", "0.70587486", "0.69880486", "0.6935035", "0.6927288", "0.68843055", "0.6875682", "0.6854192", "0.68314517", "0.6828567", "0.6805677", "0.6770058", "0.6767573", "0.6749927", "0.6687357...
0.0
-1
Retrieves a field from the object by name passed in as a string.
public function getByName($name, $type = TableMap::TYPE_PHPNAME) { $pos = TblProdInfoTableMap::translateFieldName($name, $type, TableMap::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.7682687", "0.766599", "0.7560665", "0.75073", "0.74375117", "0.73340756", "0.7267012", "0.7052004", "0.70329225", "0.7000008", "0.6946604", "0.69215125", "0.69215125", "0.6908229", "0.6866148", "0.6780136", "0.6772328", "0.6754795", "0.67382103", "0.67343754", "0.6721212",...
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->getProdId(); break; case 1: return $this->getProdPriceId(); break; case 2: return $this->getProdName(); break; case 3: return $this->getProdAlt1(); break; case 4: return $this->getProdAlt2(); break; case 5: return $this->getProdAlt3(); break; case 6: return $this->getProdAlt4(); break; case 7: return $this->getProdCode(); break; case 8: return $this->getProdCategory(); break; case 9: return $this->getProdCategoryShipping(); break; case 10: return $this->getProdWriteup(); break; case 11: return $this->getProdLength(); break; case 12: return $this->getProdWingspan(); break; case 13: return $this->getProdHeight(); break; case 14: return $this->getProdScale(); break; case 15: return $this->getProdLinks(); break; case 16: return $this->getProdLinkdescription(); break; case 17: return $this->getProdFront(); break; case 18: return $this->getProdKeywords(); break; case 19: return $this->getProdKeywordsWriteup(); break; case 20: return $this->getProdTitle(); break; case 21: return $this->getProdDescription(); break; case 22: return $this->getProdGeneral(); break; case 23: return $this->getProdEra(); break; case 24: return $this->getProdCompany(); break; case 25: return $this->getProdRelated(); break; case 26: return $this->getProdRelatedPa(); break; case 27: return $this->getProdRelatedM3(); break; case 28: return $this->getProdRelated2(); break; case 29: return $this->getProdSaveas(); break; case 30: return $this->getProdAircraftreg(); break; case 31: return $this->getMb(); break; case 32: return $this->getPa(); break; case 33: return $this->getM3(); 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.7545232", "0.7535322", "0.7076139", "0.66101", "0.66101", "0.64943117", "0.6366077", "0.63648325", "0.63648325", "0.63648325", "0.635434", "0.63445854", "0.63423836", "0.6241783", "0.6215894", "0.61867005", "0.61762285", "0.6172897", "0.61662513", "0.6160981", "0.6135546",...
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 = TableMap::TYPE_PHPNAME, $includeLazyLoadColumns = true, $alreadyDumpedObjects = array(), $includeForeignObjects = false) { if (isset($alreadyDumpedObjects['TblProdInfo'][$this->hashCode()])) { return '*RECURSION*'; } $alreadyDumpedObjects['TblProdInfo'][$this->hashCode()] = true; $keys = TblProdInfoTableMap::getFieldNames($keyType); $result = array( $keys[0] => $this->getProdId(), $keys[1] => $this->getProdPriceId(), $keys[2] => $this->getProdName(), $keys[3] => $this->getProdAlt1(), $keys[4] => $this->getProdAlt2(), $keys[5] => $this->getProdAlt3(), $keys[6] => $this->getProdAlt4(), $keys[7] => $this->getProdCode(), $keys[8] => $this->getProdCategory(), $keys[9] => $this->getProdCategoryShipping(), $keys[10] => $this->getProdWriteup(), $keys[11] => $this->getProdLength(), $keys[12] => $this->getProdWingspan(), $keys[13] => $this->getProdHeight(), $keys[14] => $this->getProdScale(), $keys[15] => $this->getProdLinks(), $keys[16] => $this->getProdLinkdescription(), $keys[17] => $this->getProdFront(), $keys[18] => $this->getProdKeywords(), $keys[19] => $this->getProdKeywordsWriteup(), $keys[20] => $this->getProdTitle(), $keys[21] => $this->getProdDescription(), $keys[22] => $this->getProdGeneral(), $keys[23] => $this->getProdEra(), $keys[24] => $this->getProdCompany(), $keys[25] => $this->getProdRelated(), $keys[26] => $this->getProdRelatedPa(), $keys[27] => $this->getProdRelatedM3(), $keys[28] => $this->getProdRelated2(), $keys[29] => $this->getProdSaveas(), $keys[30] => $this->getProdAircraftreg(), $keys[31] => $this->getMb(), $keys[32] => $this->getPa(), $keys[33] => $this->getM3(), ); $virtualColumns = $this->virtualColumns; foreach ($virtualColumns as $key => $virtualColumn) { $result[$key] = $virtualColumn; } if ($includeForeignObjects) { if (null !== $this->aTblEra) { switch ($keyType) { case TableMap::TYPE_CAMELNAME: $key = 'tblEra'; break; case TableMap::TYPE_FIELDNAME: $key = 'tbl_era'; break; default: $key = 'TblEra'; } $result[$key] = $this->aTblEra->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aTblGeneral) { switch ($keyType) { case TableMap::TYPE_CAMELNAME: $key = 'tblGeneral'; break; case TableMap::TYPE_FIELDNAME: $key = 'tbl_general'; break; default: $key = 'TblGeneral'; } $result[$key] = $this->aTblGeneral->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aTblMenus) { switch ($keyType) { case TableMap::TYPE_CAMELNAME: $key = 'tblMenus'; break; case TableMap::TYPE_FIELDNAME: $key = 'tbl_menus'; break; default: $key = 'TblMenus'; } $result[$key] = $this->aTblMenus->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aTblProdPhotos) { switch ($keyType) { case TableMap::TYPE_CAMELNAME: $key = 'tblProdPhotos'; break; case TableMap::TYPE_FIELDNAME: $key = 'tbl_prod_photos'; break; default: $key = 'TblProdPhotos'; } $result[$key] = $this->aTblProdPhotos->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aTblProdPrices) { switch ($keyType) { case TableMap::TYPE_CAMELNAME: $key = 'tblProdPrices'; break; case TableMap::TYPE_FIELDNAME: $key = 'tbl_prod_prices'; break; default: $key = 'TblProdPrices'; } $result[$key] = $this->aTblProdPrices->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aTblProdPricing) { switch ($keyType) { case TableMap::TYPE_CAMELNAME: $key = 'tblProdPricing'; break; case TableMap::TYPE_FIELDNAME: $key = 'tbl_prod_pricing'; break; default: $key = 'TblProdPricing'; } $result[$key] = $this->aTblProdPricing->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aTblProdSmaller) { switch ($keyType) { case TableMap::TYPE_CAMELNAME: $key = 'tblProdSmaller'; break; case TableMap::TYPE_FIELDNAME: $key = 'tbl_prod_smaller'; break; default: $key = 'TblProdSmaller'; } $result[$key] = $this->aTblProdSmaller->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aTblShippingCategories) { switch ($keyType) { case TableMap::TYPE_CAMELNAME: $key = 'tblShippingCategories'; break; case TableMap::TYPE_FIELDNAME: $key = 'tbl_shipping_categories'; break; default: $key = 'TblShippingCategories'; } $result[$key] = $this->aTblShippingCategories->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } } 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.6722602", "0.66466415", "0.6093355", "0.6018378", "0.60171276", "0.59986776", "0.59986776", "0.59986776", "0.59986776", "0.5998173", "0.5998173", "0.59980005", "0.59980005", "0.59980005", "0.59980005", "0.59980005", "0.59980005", "0.59980005", "0.59980005", "0.59980005", "...
0.0
-1
Sets a field from the object by name passed in as a string.
public function setByName($name, $value, $type = TableMap::TYPE_PHPNAME) { $pos = TblProdInfoTableMap::translateFieldName($name, $type, TableMap::TYPE_NUM); return $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->setProdId($value); break; case 1: $this->setProdPriceId($value); break; case 2: $this->setProdName($value); break; case 3: $this->setProdAlt1($value); break; case 4: $this->setProdAlt2($value); break; case 5: $this->setProdAlt3($value); break; case 6: $this->setProdAlt4($value); break; case 7: $this->setProdCode($value); break; case 8: $this->setProdCategory($value); break; case 9: $this->setProdCategoryShipping($value); break; case 10: $this->setProdWriteup($value); break; case 11: $this->setProdLength($value); break; case 12: $this->setProdWingspan($value); break; case 13: $this->setProdHeight($value); break; case 14: $this->setProdScale($value); break; case 15: $this->setProdLinks($value); break; case 16: $this->setProdLinkdescription($value); break; case 17: $this->setProdFront($value); break; case 18: $this->setProdKeywords($value); break; case 19: $this->setProdKeywordsWriteup($value); break; case 20: $this->setProdTitle($value); break; case 21: $this->setProdDescription($value); break; case 22: $this->setProdGeneral($value); break; case 23: $this->setProdEra($value); break; case 24: $this->setProdCompany($value); break; case 25: $this->setProdRelated($value); break; case 26: $this->setProdRelatedPa($value); break; case 27: $this->setProdRelatedM3($value); break; case 28: $this->setProdRelated2($value); break; case 29: $this->setProdSaveas($value); break; case 30: $this->setProdAircraftreg($value); break; case 31: $this->setMb($value); break; case 32: $this->setPa($value); break; case 33: $this->setM3($value); break; } // switch() return $this; }
{ "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.65272844", "0.6344112", "0.6287539", "0.6287539", "0.6219963", "0.6218413", "0.6208247", "0.61701673", "0.61679393", "0.61589175", "0.61440307", "0.6098001", "0.6083997", "0.607921", "0.607921", "0.6075176", "0.60695404", "0.60664", "0.60600835", "0.60483164", "0.60365003"...
0.534478
86
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 TableMap::TYPE_PHPNAME, TableMap::TYPE_CAMELNAME, TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM. The default key type is the column's TableMap::TYPE_PHPNAME.
public function fromArray($arr, $keyType = TableMap::TYPE_PHPNAME) { $keys = TblProdInfoTableMap::getFieldNames($keyType); if (array_key_exists($keys[0], $arr)) { $this->setProdId($arr[$keys[0]]); } if (array_key_exists($keys[1], $arr)) { $this->setProdPriceId($arr[$keys[1]]); } if (array_key_exists($keys[2], $arr)) { $this->setProdName($arr[$keys[2]]); } if (array_key_exists($keys[3], $arr)) { $this->setProdAlt1($arr[$keys[3]]); } if (array_key_exists($keys[4], $arr)) { $this->setProdAlt2($arr[$keys[4]]); } if (array_key_exists($keys[5], $arr)) { $this->setProdAlt3($arr[$keys[5]]); } if (array_key_exists($keys[6], $arr)) { $this->setProdAlt4($arr[$keys[6]]); } if (array_key_exists($keys[7], $arr)) { $this->setProdCode($arr[$keys[7]]); } if (array_key_exists($keys[8], $arr)) { $this->setProdCategory($arr[$keys[8]]); } if (array_key_exists($keys[9], $arr)) { $this->setProdCategoryShipping($arr[$keys[9]]); } if (array_key_exists($keys[10], $arr)) { $this->setProdWriteup($arr[$keys[10]]); } if (array_key_exists($keys[11], $arr)) { $this->setProdLength($arr[$keys[11]]); } if (array_key_exists($keys[12], $arr)) { $this->setProdWingspan($arr[$keys[12]]); } if (array_key_exists($keys[13], $arr)) { $this->setProdHeight($arr[$keys[13]]); } if (array_key_exists($keys[14], $arr)) { $this->setProdScale($arr[$keys[14]]); } if (array_key_exists($keys[15], $arr)) { $this->setProdLinks($arr[$keys[15]]); } if (array_key_exists($keys[16], $arr)) { $this->setProdLinkdescription($arr[$keys[16]]); } if (array_key_exists($keys[17], $arr)) { $this->setProdFront($arr[$keys[17]]); } if (array_key_exists($keys[18], $arr)) { $this->setProdKeywords($arr[$keys[18]]); } if (array_key_exists($keys[19], $arr)) { $this->setProdKeywordsWriteup($arr[$keys[19]]); } if (array_key_exists($keys[20], $arr)) { $this->setProdTitle($arr[$keys[20]]); } if (array_key_exists($keys[21], $arr)) { $this->setProdDescription($arr[$keys[21]]); } if (array_key_exists($keys[22], $arr)) { $this->setProdGeneral($arr[$keys[22]]); } if (array_key_exists($keys[23], $arr)) { $this->setProdEra($arr[$keys[23]]); } if (array_key_exists($keys[24], $arr)) { $this->setProdCompany($arr[$keys[24]]); } if (array_key_exists($keys[25], $arr)) { $this->setProdRelated($arr[$keys[25]]); } if (array_key_exists($keys[26], $arr)) { $this->setProdRelatedPa($arr[$keys[26]]); } if (array_key_exists($keys[27], $arr)) { $this->setProdRelatedM3($arr[$keys[27]]); } if (array_key_exists($keys[28], $arr)) { $this->setProdRelated2($arr[$keys[28]]); } if (array_key_exists($keys[29], $arr)) { $this->setProdSaveas($arr[$keys[29]]); } if (array_key_exists($keys[30], $arr)) { $this->setProdAircraftreg($arr[$keys[30]]); } if (array_key_exists($keys[31], $arr)) { $this->setMb($arr[$keys[31]]); } if (array_key_exists($keys[32], $arr)) { $this->setPa($arr[$keys[32]]); } if (array_key_exists($keys[33], $arr)) { $this->setM3($arr[$keys[33]]); } }
{ "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.6509717", "0.6312809", "0.59346604", "0.59316504", "0.58837193", "0.58560085", "0.5810146", "0.58028835", "0.57683325", "0.5720703", "0.56907237", "0.5657866", "0.5637225", "0.56195664", "0.55450475", "0.5504854", "0.5491418", "0.5491418", "0.54822934", "0.5480083", "0.547...
0.53996587
22
Build a Criteria object containing the values of all modified columns in this object.
public function buildCriteria() { $criteria = new Criteria(TblProdInfoTableMap::DATABASE_NAME); if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_ID)) { $criteria->add(TblProdInfoTableMap::COL_PROD_ID, $this->prod_id); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_PRICE_ID)) { $criteria->add(TblProdInfoTableMap::COL_PROD_PRICE_ID, $this->prod_price_id); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_NAME)) { $criteria->add(TblProdInfoTableMap::COL_PROD_NAME, $this->prod_name); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_ALT1)) { $criteria->add(TblProdInfoTableMap::COL_PROD_ALT1, $this->prod_alt1); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_ALT2)) { $criteria->add(TblProdInfoTableMap::COL_PROD_ALT2, $this->prod_alt2); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_ALT3)) { $criteria->add(TblProdInfoTableMap::COL_PROD_ALT3, $this->prod_alt3); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_ALT4)) { $criteria->add(TblProdInfoTableMap::COL_PROD_ALT4, $this->prod_alt4); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_CODE)) { $criteria->add(TblProdInfoTableMap::COL_PROD_CODE, $this->prod_code); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_CATEGORY)) { $criteria->add(TblProdInfoTableMap::COL_PROD_CATEGORY, $this->prod_category); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_CATEGORY_SHIPPING)) { $criteria->add(TblProdInfoTableMap::COL_PROD_CATEGORY_SHIPPING, $this->prod_category_shipping); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_WRITEUP)) { $criteria->add(TblProdInfoTableMap::COL_PROD_WRITEUP, $this->prod_writeup); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_LENGTH)) { $criteria->add(TblProdInfoTableMap::COL_PROD_LENGTH, $this->prod_length); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_WINGSPAN)) { $criteria->add(TblProdInfoTableMap::COL_PROD_WINGSPAN, $this->prod_wingspan); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_HEIGHT)) { $criteria->add(TblProdInfoTableMap::COL_PROD_HEIGHT, $this->prod_height); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_SCALE)) { $criteria->add(TblProdInfoTableMap::COL_PROD_SCALE, $this->prod_scale); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_LINKS)) { $criteria->add(TblProdInfoTableMap::COL_PROD_LINKS, $this->prod_links); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_LINKDESCRIPTION)) { $criteria->add(TblProdInfoTableMap::COL_PROD_LINKDESCRIPTION, $this->prod_linkdescription); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_FRONT)) { $criteria->add(TblProdInfoTableMap::COL_PROD_FRONT, $this->prod_front); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_KEYWORDS)) { $criteria->add(TblProdInfoTableMap::COL_PROD_KEYWORDS, $this->prod_keywords); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_KEYWORDS_WRITEUP)) { $criteria->add(TblProdInfoTableMap::COL_PROD_KEYWORDS_WRITEUP, $this->prod_keywords_writeup); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_TITLE)) { $criteria->add(TblProdInfoTableMap::COL_PROD_TITLE, $this->prod_title); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_DESCRIPTION)) { $criteria->add(TblProdInfoTableMap::COL_PROD_DESCRIPTION, $this->prod_description); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_GENERAL)) { $criteria->add(TblProdInfoTableMap::COL_PROD_GENERAL, $this->prod_general); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_ERA)) { $criteria->add(TblProdInfoTableMap::COL_PROD_ERA, $this->prod_era); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_COMPANY)) { $criteria->add(TblProdInfoTableMap::COL_PROD_COMPANY, $this->prod_company); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_RELATED)) { $criteria->add(TblProdInfoTableMap::COL_PROD_RELATED, $this->prod_related); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_RELATED_PA)) { $criteria->add(TblProdInfoTableMap::COL_PROD_RELATED_PA, $this->prod_related_pa); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_RELATED_M3)) { $criteria->add(TblProdInfoTableMap::COL_PROD_RELATED_M3, $this->prod_related_m3); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_RELATED2)) { $criteria->add(TblProdInfoTableMap::COL_PROD_RELATED2, $this->prod_related2); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_SAVEAS)) { $criteria->add(TblProdInfoTableMap::COL_PROD_SAVEAS, $this->prod_saveas); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PROD_AIRCRAFTREG)) { $criteria->add(TblProdInfoTableMap::COL_PROD_AIRCRAFTREG, $this->prod_aircraftreg); } if ($this->isColumnModified(TblProdInfoTableMap::COL_MB)) { $criteria->add(TblProdInfoTableMap::COL_MB, $this->mb); } if ($this->isColumnModified(TblProdInfoTableMap::COL_PA)) { $criteria->add(TblProdInfoTableMap::COL_PA, $this->pa); } if ($this->isColumnModified(TblProdInfoTableMap::COL_M3)) { $criteria->add(TblProdInfoTableMap::COL_M3, $this->m3); } 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.6666395", "0.6528488", "0.6479534", "0.64027274", "0.6399369", "0.63132507", "0.63040465", "0.62215126", "0.61996377", "0.6172906", "0.6171644", "0.6164037", "0.6156793", "0.6144736", "0.61277544", "0.61176074", "0.6089784", "0.60798377", "0.6045999", "0.6037183", "0.60367...
0.6042813
19
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 = ChildTblProdInfoQuery::create(); $criteria->add(TblProdInfoTableMap::COL_PROD_ID, $this->prod_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.74039143", "0.72935617", "0.7287205", "0.7247887", "0.7247887", "0.7236872", "0.7176888", "0.71193415", "0.7022065", "0.7002017", "0.6990735", "0.6932499", "0.68301713", "0.6812496", "0.6811818", "0.6755649", "0.67477554", "0.67276317", "0.66831625", "0.6667528", "0.666143...
0.66176915
24
If the primary key is not null, return the hashcode of the primary key. Otherwise, return the hash code of the object.
public function hashCode() { $validPk = null !== $this->getProdId(); $validPrimaryKeyFKs = 3; $primaryKeyFKs = []; //relation tbl_prod_info_fk_c95266 to table tbl_prod_photos if ($this->aTblProdPhotos && $hash = spl_object_hash($this->aTblProdPhotos)) { $primaryKeyFKs[] = $hash; } else { $validPrimaryKeyFKs = false; } //relation tbl_prod_info_fk_55d783 to table tbl_prod_prices if ($this->aTblProdPrices && $hash = spl_object_hash($this->aTblProdPrices)) { $primaryKeyFKs[] = $hash; } else { $validPrimaryKeyFKs = false; } //relation tbl_prod_info_fk_937b39 to table tbl_prod_smaller if ($this->aTblProdSmaller && $hash = spl_object_hash($this->aTblProdSmaller)) { $primaryKeyFKs[] = $hash; } else { $validPrimaryKeyFKs = false; } if ($validPk) { return crc32(json_encode($this->getPrimaryKey(), JSON_UNESCAPED_UNICODE)); } elseif ($validPrimaryKeyFKs) { return crc32(json_encode($primaryKeyFKs, JSON_UNESCAPED_UNICODE)); } return spl_object_hash($this); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function hashCode()\n {\n $validPk = null !== $this->getId();\n\n $validPrimaryKeyFKs = 0;\n $primaryKeyFKs = [];\n\n if ($validPk) {\n return crc32(json_encode($this->getPrimaryKey(), JSON_UNESCAPED_UNICODE));\n } elseif ($validPrimaryKeyFKs) {\n ...
[ "0.78566974", "0.78566974", "0.78566974", "0.7742431", "0.7738423", "0.76423997", "0.7622025", "0.7619179", "0.7618223", "0.7539026", "0.7417955", "0.64878756", "0.6322118", "0.6136845", "0.6114651", "0.61097574", "0.61097574", "0.6089344", "0.60876435", "0.6060637", "0.60522...
0.705405
11
Returns the primary key for this object (row).
public function getPrimaryKey() { return $this->getProdId(); }
{ "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.8595145", "0.84201205", "0.84201205", "0.8416345", "0.8306896", "0.82407564", "0.8182611", "0.81780905", "0.8136161", "0.8115969", "0.8105539", "0.8069275", "0.80621624", "0.8044358", "0.8020919", "0.79972017", "0.79690564", "0.79690564", "0.79690564", "0.79638743", "0.793...
0.0
-1
Generic method to set the primary key (prod_id column).
public function setPrimaryKey($key) { $this->setProdId($key); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "function product_id($product_id=null)\n {\n if (isset($product_id)) $this->product_id = $product_id;\n return $this->product_id;\n }", "public function getPrimaryKey()\n {\n return $this->getProdId();\n }", "public function setPrimaryKey($key)\n\t{\n\t\t$this->setId($key);\n\t}...
[ "0.6696248", "0.6689001", "0.6688477", "0.6688477", "0.6688477", "0.6688477", "0.6688477", "0.6688477", "0.6688477", "0.6688477", "0.6633477", "0.66040504", "0.66040504", "0.66040504", "0.66040504", "0.66040504", "0.65759486", "0.650717", "0.64487755", "0.64487755", "0.639928...
0.7543459
0
Returns true if the primary key for this object is null.
public function isPrimaryKeyNull() { return null === $this->getProdId(); }
{ "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.83426905", "0.83093476", "0.82835287", "0.82737416", "0.8239393", "0.8228147", "0.82255316", "0.8206747", "0.81994236", "0.8...
0.83412915
12
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->setProdPriceId($this->getProdPriceId()); $copyObj->setProdName($this->getProdName()); $copyObj->setProdAlt1($this->getProdAlt1()); $copyObj->setProdAlt2($this->getProdAlt2()); $copyObj->setProdAlt3($this->getProdAlt3()); $copyObj->setProdAlt4($this->getProdAlt4()); $copyObj->setProdCode($this->getProdCode()); $copyObj->setProdCategory($this->getProdCategory()); $copyObj->setProdCategoryShipping($this->getProdCategoryShipping()); $copyObj->setProdWriteup($this->getProdWriteup()); $copyObj->setProdLength($this->getProdLength()); $copyObj->setProdWingspan($this->getProdWingspan()); $copyObj->setProdHeight($this->getProdHeight()); $copyObj->setProdScale($this->getProdScale()); $copyObj->setProdLinks($this->getProdLinks()); $copyObj->setProdLinkdescription($this->getProdLinkdescription()); $copyObj->setProdFront($this->getProdFront()); $copyObj->setProdKeywords($this->getProdKeywords()); $copyObj->setProdKeywordsWriteup($this->getProdKeywordsWriteup()); $copyObj->setProdTitle($this->getProdTitle()); $copyObj->setProdDescription($this->getProdDescription()); $copyObj->setProdGeneral($this->getProdGeneral()); $copyObj->setProdEra($this->getProdEra()); $copyObj->setProdCompany($this->getProdCompany()); $copyObj->setProdRelated($this->getProdRelated()); $copyObj->setProdRelatedPa($this->getProdRelatedPa()); $copyObj->setProdRelatedM3($this->getProdRelatedM3()); $copyObj->setProdRelated2($this->getProdRelated2()); $copyObj->setProdSaveas($this->getProdSaveas()); $copyObj->setProdAircraftreg($this->getProdAircraftreg()); $copyObj->setMb($this->getMb()); $copyObj->setPa($this->getPa()); $copyObj->setM3($this->getM3()); if ($makeNew) { $copyObj->setNew(true); $copyObj->setProdId(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.63775754", "0.63127476", "0.62226856", "0.6140272", "0.5996202", "0.5934495", "0.58980685", "0.58389705", "0.58183944", "0.57577884", "0.57577884", "0.5735294", "0.5735294", "0.5735294", "0.57314146", "0.57314146", "0.5730579", "0.5725711", "0.57123417", "0.5699155", "0.56...
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.6332256", "0.61998326", "0.6151685", "0.60494846", "0.6041154", "0.6009676", "0.5935561", "0.5931129", "0.58673227", "0.5805495", "0.580052", "0.57638663", "0.57557493", "0.5726596", "0.57138896", "0.5705014", "0.57018805", "0.5678847", "0.56721795", "0.5608651", "0.560223...
0.0
-1
Declares an association between this object and a ChildTblEra object.
public function setTblEra(ChildTblEra $v = null) { if ($v === null) { $this->setProdEra(NULL); } else { $this->setProdEra($v->getEraId()); } $this->aTblEra = $v; // Add binding for other direction of this n:n relationship. // If this object has already been added to the ChildTblEra object, it will not be re-added. if ($v !== null) { $v->addTblProdInfo($this); } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function initialize()\n {\n $this->belongsTo('id_deuda', 'NbDeudas', 'id_deuda', array('alias' => 'NbDeudas'));\n $this->belongsTo('id_deuda', 'Nbdeudas', 'id_deuda', array('foreignKey' => true));\n }", "public function initialize()\n {\n $this->belongsTo('nu_cedula', 'Datosp...
[ "0.5762646", "0.5698438", "0.5666273", "0.56294125", "0.556644", "0.55421746", "0.550281", "0.5498231", "0.54922104", "0.545242", "0.5428864", "0.5423846", "0.5423403", "0.5422257", "0.54184324", "0.53828377", "0.536755", "0.5362396", "0.53601164", "0.53587234", "0.533962", ...
0.63477343
0
Get the associated ChildTblEra object
public function getTblEra(ConnectionInterface $con = null) { if ($this->aTblEra === null && ($this->prod_era !== null)) { $this->aTblEra = ChildTblEraQuery::create()->findPk($this->prod_era, $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->aTblEra->addTblProdInfos($this); */ } return $this->aTblEra; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getParentItemfromDatabase()\n {\n $dataTableName = Data::mapDataType($this->parentType);\n\n\n $dataTable = new $dataTableName();\n\n $parentItem = $this->parentItem = $dataTable->find($this->parentId)->current();\n return $parentItem;\n }", "public function Chil...
[ "0.6320663", "0.61443436", "0.60798424", "0.59233564", "0.5907897", "0.5861435", "0.58456725", "0.58237445", "0.57886326", "0.57884866", "0.5774084", "0.57579213", "0.57414114", "0.57213366", "0.57102203", "0.57076675", "0.5694221", "0.56684095", "0.56445235", "0.56438166", "...
0.6087521
2
Declares an association between this object and a ChildTblGeneral object.
public function setTblGeneral(ChildTblGeneral $v = null) { if ($v === null) { $this->setProdGeneral(NULL); } else { $this->setProdGeneral($v->getProdGeneral()); } $this->aTblGeneral = $v; // Add binding for other direction of this n:n relationship. // If this object has already been added to the ChildTblGeneral object, it will not be re-added. if ($v !== null) { $v->addTblProdInfo($this); } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function addForeignKeys()\n\t{\n\t\t$table = $this->getTableName();\n\n\t\tforeach ($this->getBelongsToRelations() as $name => $config)\n\t\t{\n\t\t\t$otherModel = new $config[1];\n\t\t\t$otherTable = $otherModel->getTableName();\n\t\t\t$fkName = \"{$table}_{$name}_fk\";\n\n\t\t\tif (isset($config['onDelete...
[ "0.5680653", "0.53593063", "0.5337398", "0.52782416", "0.5243401", "0.52148837", "0.5202885", "0.51744944", "0.51673913", "0.512093", "0.51165974", "0.50935745", "0.50695413", "0.5061241", "0.5019683", "0.5008641", "0.49908268", "0.49813455", "0.4980881", "0.49652037", "0.495...
0.66842127
0
Get the associated ChildTblGeneral object
public function getTblGeneral(ConnectionInterface $con = null) { if ($this->aTblGeneral === null && ($this->prod_general !== null)) { $this->aTblGeneral = ChildTblGeneralQuery::create()->findPk($this->prod_general, $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->aTblGeneral->addTblProdInfos($this); */ } return $this->aTblGeneral; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected function getSubTable(){\n return $this->buildArrayData( Company::orderBy('id', 'asc')->get());\n }", "public function setTblGeneral(ChildTblGeneral $v = null)\n {\n if ($v === null) {\n $this->setProdGeneral(NULL);\n } else {\n $this->setProdGeneral($v->...
[ "0.57971954", "0.57651067", "0.573825", "0.5638981", "0.5601552", "0.55805635", "0.5539091", "0.5519887", "0.5484783", "0.548063", "0.54800844", "0.5467514", "0.54373556", "0.5424376", "0.5414079", "0.54017437", "0.53866476", "0.5369319", "0.5347422", "0.5341997", "0.5329818"...
0.6617312
0
Declares an association between this object and a ChildTblMenus object.
public function setTblMenus(ChildTblMenus $v = null) { if ($v === null) { $this->setProdCategory(NULL); } else { $this->setProdCategory($v->getMenuAlias()); } $this->aTblMenus = $v; // Add binding for other direction of this n:n relationship. // If this object has already been added to the ChildTblMenus object, it will not be re-added. if ($v !== null) { $v->addTblProdInfo($this); } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function attachModelToParent(int $id, Menu $menu);", "public function attachModelToParent(int $id, Menu $menu);", "public function Menus(){\n return $this->belongsToMany(Menu::class);\n }", "public function getSubmenu()\n {\n return $this->hasOne(Menu::className(), ['id'=>'menu_id'...
[ "0.5783814", "0.5783814", "0.57027423", "0.5670512", "0.5636242", "0.55329037", "0.5529758", "0.5467495", "0.54092646", "0.534998", "0.5348717", "0.5308784", "0.52461445", "0.5150251", "0.5146164", "0.5130045", "0.5123683", "0.5091496", "0.5087677", "0.50760776", "0.507139", ...
0.6340689
0
Get the associated ChildTblMenus object
public function getTblMenus(ConnectionInterface $con = null) { if ($this->aTblMenus === null && (($this->prod_category !== "" && $this->prod_category !== null))) { $this->aTblMenus = ChildTblMenusQuery::create() ->filterByTblProdInfo($this) // here ->findOne($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->aTblMenus->addTblProdInfos($this); */ } return $this->aTblMenus; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function getSubmenu()\n {\n return $this->hasOne(Menu::className(), ['id'=>'menu_id']);\n }", "public function getMenu()\n {\n return $this->hasOne(\\wdmg\\menu\\models\\Menu::class, ['id' => 'menu_id']);\n }", "private function parent()\n {\n return $this->belongsTo(...
[ "0.71868193", "0.6739627", "0.66164696", "0.6570604", "0.65208596", "0.6472349", "0.63874024", "0.63673025", "0.6352337", "0.63307333", "0.63164353", "0.6294624", "0.629274", "0.62774754", "0.623657", "0.6232077", "0.6226547", "0.620865", "0.620269", "0.6194057", "0.61677814"...
0.68729335
1
Declares an association between this object and a ChildTblProdPhotos object.
public function setTblProdPhotos(ChildTblProdPhotos $v = null) { if ($v === null) { $this->setProdId(NULL); } else { $this->setProdId($v->getProdId()); } $this->aTblProdPhotos = $v; // Add binding for other direction of this 1:1 relationship. if ($v !== null) { $v->setTblProdInfo($this); } return $this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function __construct()\n {\n $this->table = 'products';\n $this->primary_key = 'id';\n \n $this->has_many['pictures'] = array(\n 'foreign_model' => 'Pictures_model',\n 'foreign_table' => 'pictures',\n 'foreign_key' => 'product_id',\n ...
[ "0.5997008", "0.5925393", "0.5756778", "0.57131916", "0.5632418", "0.5589473", "0.54623234", "0.5427783", "0.53538245", "0.5344459", "0.53411", "0.5283743", "0.52625775", "0.52566516", "0.5233465", "0.5230972", "0.5197283", "0.5193044", "0.5193044", "0.5186329", "0.517417", ...
0.68439764
0
Get the associated ChildTblProdPhotos object
public function getTblProdPhotos(ConnectionInterface $con = null) { if ($this->aTblProdPhotos === null && ($this->prod_id !== null)) { $this->aTblProdPhotos = ChildTblProdPhotosQuery::create()->findPk($this->prod_id, $con); // Because this foreign key represents a one-to-one relationship, we will create a bi-directional association. $this->aTblProdPhotos->setTblProdInfo($this); } return $this->aTblProdPhotos; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public function photos() {\n return $this->hasMany('App\\Models\\ProductPhoto');\n }", "public function getPhoto() {\n return $this->hasOne(Photo::className(), ['id' => 'photo_id']);\n }", "public function photo_product()\n {\n return $this->belongsTo(Photo_product::class);\n }", "...
[ "0.63446426", "0.6282922", "0.62145877", "0.62004745", "0.6195938", "0.61836874", "0.618317", "0.61496836", "0.6145557", "0.6032552", "0.60284215", "0.6003343", "0.5901852", "0.58515775", "0.58360404", "0.5822309", "0.5792609", "0.5789036", "0.57851845", "0.5773946", "0.57700...
0.7099568
0