@@ -128,7 +128,7 @@ |
||
| 128 | 128 | * @param string $tableName |
| 129 | 129 | * @param array $data |
| 130 | 130 | * @throws Exception |
| 131 | - * @return bool|void |
|
| 131 | + * @return false|null |
|
| 132 | 132 | */ |
| 133 | 133 | protected function insertPropertiesData($tableName, $data) { |
| 134 | 134 | |
@@ -57,6 +57,9 @@ |
||
| 57 | 57 | */ |
| 58 | 58 | protected $propertiesData = []; |
| 59 | 59 | |
| 60 | + /** |
|
| 61 | + * @param string $externalId |
|
| 62 | + */ |
|
| 60 | 63 | public function getBrandIdByExId($externalId = NULL) { |
| 61 | 64 | |
| 62 | 65 | if ($externalId == NULL) { |
@@ -290,7 +290,7 @@ |
||
| 290 | 290 | } |
| 291 | 291 | |
| 292 | 292 | /** |
| 293 | - * @return bool |
|
| 293 | + * @return false|null |
|
| 294 | 294 | */ |
| 295 | 295 | public function Querys() { |
| 296 | 296 | |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | |
| 21 | 21 | /** |
| 22 | 22 | * @param $pageId |
| 23 | - * @return array |
|
| 23 | + * @return PageLink |
|
| 24 | 24 | */ |
| 25 | 25 | public function getLinkByPage($pageId) { |
| 26 | 26 | $pageLink = PageLinkQuery::create()->findOneActiveByPageId($pageId); |
@@ -287,7 +287,7 @@ discard block |
||
| 287 | 287 | * |
| 288 | 288 | * @param string $msg |
| 289 | 289 | * @param int $priority One of the Propel::LOG_* logging levels |
| 290 | - * @return boolean |
|
| 290 | + * @return boolean|null |
|
| 291 | 291 | */ |
| 292 | 292 | protected function log($msg, $priority = Propel::LOG_INFO) |
| 293 | 293 | { |
@@ -933,7 +933,7 @@ discard block |
||
| 933 | 933 | * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM. |
| 934 | 934 | * The default key type is the column's TableMap::TYPE_PHPNAME. |
| 935 | 935 | * |
| 936 | - * @param mixed $parser A AbstractParser instance, |
|
| 936 | + * @param string $parser A AbstractParser instance, |
|
| 937 | 937 | * or a format name ('XML', 'YAML', 'JSON', 'CSV') |
| 938 | 938 | * @param string $data The source data to import from |
| 939 | 939 | * @param string $keyType The type of keys the array uses. |
@@ -267,7 +267,7 @@ discard block |
||
| 267 | 267 | * |
| 268 | 268 | * @param string $msg |
| 269 | 269 | * @param int $priority One of the Propel::LOG_* logging levels |
| 270 | - * @return boolean |
|
| 270 | + * @return boolean|null |
|
| 271 | 271 | */ |
| 272 | 272 | protected function log($msg, $priority = Propel::LOG_INFO) |
| 273 | 273 | { |
@@ -694,7 +694,7 @@ discard block |
||
| 694 | 694 | * one of the class type constants TableMap::TYPE_PHPNAME, TableMap::TYPE_CAMELNAME |
| 695 | 695 | * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM. |
| 696 | 696 | * Defaults to TableMap::TYPE_PHPNAME. |
| 697 | - * @return mixed Value of field. |
|
| 697 | + * @return integer|null Value of field. |
|
| 698 | 698 | */ |
| 699 | 699 | public function getByName($name, $type = TableMap::TYPE_PHPNAME) |
| 700 | 700 | { |
@@ -709,7 +709,7 @@ discard block |
||
| 709 | 709 | * Zero-based. |
| 710 | 710 | * |
| 711 | 711 | * @param int $pos position in xml schema |
| 712 | - * @return mixed Value of field at $pos |
|
| 712 | + * @return integer|null Value of field at $pos |
|
| 713 | 713 | */ |
| 714 | 714 | public function getByPosition($pos) |
| 715 | 715 | { |
@@ -860,7 +860,7 @@ discard block |
||
| 860 | 860 | * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM. |
| 861 | 861 | * The default key type is the column's TableMap::TYPE_PHPNAME. |
| 862 | 862 | * |
| 863 | - * @param mixed $parser A AbstractParser instance, |
|
| 863 | + * @param string $parser A AbstractParser instance, |
|
| 864 | 864 | * or a format name ('XML', 'YAML', 'JSON', 'CSV') |
| 865 | 865 | * @param string $data The source data to import from |
| 866 | 866 | * @param string $keyType The type of keys the array uses. |
@@ -949,7 +949,7 @@ discard block |
||
| 949 | 949 | /** |
| 950 | 950 | * Returns the composite primary key for this object. |
| 951 | 951 | * The array elements will be in same order as specified in XML. |
| 952 | - * @return array |
|
| 952 | + * @return integer[] |
|
| 953 | 953 | */ |
| 954 | 954 | public function getPrimaryKey() |
| 955 | 955 | { |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | use Propel\Runtime\ActiveQuery\Criteria; |
| 9 | 9 | use Propel\Runtime\ActiveQuery\ModelCriteria; |
| 10 | 10 | use Propel\Runtime\ActiveRecord\ActiveRecordInterface; |
| 11 | -use Propel\Runtime\Collection\Collection; |
|
| 12 | 11 | use Propel\Runtime\Connection\ConnectionInterface; |
| 13 | 12 | use Propel\Runtime\Exception\BadMethodCallException; |
| 14 | 13 | use Propel\Runtime\Exception\LogicException; |
@@ -113,7 +113,6 @@ discard block |
||
| 113 | 113 | * $obj = $c->findPk(array(12, 34), $con); |
| 114 | 114 | * </code> |
| 115 | 115 | * |
| 116 | - * @param array[$link_id, $product_id] $key Primary key to use for the query |
|
| 117 | 116 | * @param ConnectionInterface $con an optional connection object |
| 118 | 117 | * |
| 119 | 118 | * @return ChildPageLinkProduct|array|mixed the result, formatted by the current formatter |
@@ -273,7 +272,7 @@ discard block |
||
| 273 | 272 | * |
| 274 | 273 | * @see filterByPageLink() |
| 275 | 274 | * |
| 276 | - * @param mixed $linkId The value to use as filter. |
|
| 275 | + * @param integer $linkId The value to use as filter. |
|
| 277 | 276 | * Use scalar values for equality. |
| 278 | 277 | * Use array values for in_array() equivalent. |
| 279 | 278 | * Use associative array('min' => $minValue, 'max' => $maxValue) for intervals. |
@@ -314,7 +313,7 @@ discard block |
||
| 314 | 313 | * $query->filterByProductId(array('min' => 12)); // WHERE product_id > 12 |
| 315 | 314 | * </code> |
| 316 | 315 | * |
| 317 | - * @param mixed $productId The value to use as filter. |
|
| 316 | + * @param integer $productId The value to use as filter. |
|
| 318 | 317 | * Use scalar values for equality. |
| 319 | 318 | * Use array values for in_array() equivalent. |
| 320 | 319 | * Use associative array('min' => $minValue, 'max' => $maxValue) for intervals. |
@@ -267,7 +267,7 @@ discard block |
||
| 267 | 267 | * |
| 268 | 268 | * @param string $msg |
| 269 | 269 | * @param int $priority One of the Propel::LOG_* logging levels |
| 270 | - * @return boolean |
|
| 270 | + * @return boolean|null |
|
| 271 | 271 | */ |
| 272 | 272 | protected function log($msg, $priority = Propel::LOG_INFO) |
| 273 | 273 | { |
@@ -694,7 +694,7 @@ discard block |
||
| 694 | 694 | * one of the class type constants TableMap::TYPE_PHPNAME, TableMap::TYPE_CAMELNAME |
| 695 | 695 | * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM. |
| 696 | 696 | * Defaults to TableMap::TYPE_PHPNAME. |
| 697 | - * @return mixed Value of field. |
|
| 697 | + * @return integer|null Value of field. |
|
| 698 | 698 | */ |
| 699 | 699 | public function getByName($name, $type = TableMap::TYPE_PHPNAME) |
| 700 | 700 | { |
@@ -709,7 +709,7 @@ discard block |
||
| 709 | 709 | * Zero-based. |
| 710 | 710 | * |
| 711 | 711 | * @param int $pos position in xml schema |
| 712 | - * @return mixed Value of field at $pos |
|
| 712 | + * @return integer|null Value of field at $pos |
|
| 713 | 713 | */ |
| 714 | 714 | public function getByPosition($pos) |
| 715 | 715 | { |
@@ -860,7 +860,7 @@ discard block |
||
| 860 | 860 | * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM. |
| 861 | 861 | * The default key type is the column's TableMap::TYPE_PHPNAME. |
| 862 | 862 | * |
| 863 | - * @param mixed $parser A AbstractParser instance, |
|
| 863 | + * @param string $parser A AbstractParser instance, |
|
| 864 | 864 | * or a format name ('XML', 'YAML', 'JSON', 'CSV') |
| 865 | 865 | * @param string $data The source data to import from |
| 866 | 866 | * @param string $keyType The type of keys the array uses. |
@@ -949,7 +949,7 @@ discard block |
||
| 949 | 949 | /** |
| 950 | 950 | * Returns the composite primary key for this object. |
| 951 | 951 | * The array elements will be in same order as specified in XML. |
| 952 | - * @return array |
|
| 952 | + * @return integer[] |
|
| 953 | 953 | */ |
| 954 | 954 | public function getPrimaryKey() |
| 955 | 955 | { |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | use Propel\Runtime\ActiveQuery\Criteria; |
| 9 | 9 | use Propel\Runtime\ActiveQuery\ModelCriteria; |
| 10 | 10 | use Propel\Runtime\ActiveRecord\ActiveRecordInterface; |
| 11 | -use Propel\Runtime\Collection\Collection; |
|
| 12 | 11 | use Propel\Runtime\Connection\ConnectionInterface; |
| 13 | 12 | use Propel\Runtime\Exception\BadMethodCallException; |
| 14 | 13 | use Propel\Runtime\Exception\LogicException; |
@@ -113,7 +113,6 @@ discard block |
||
| 113 | 113 | * $obj = $c->findPk(array(12, 34), $con); |
| 114 | 114 | * </code> |
| 115 | 115 | * |
| 116 | - * @param array[$link_id, $product_id] $key Primary key to use for the query |
|
| 117 | 116 | * @param ConnectionInterface $con an optional connection object |
| 118 | 117 | * |
| 119 | 118 | * @return ChildPageLinkProducts|array|mixed the result, formatted by the current formatter |
@@ -223,7 +222,7 @@ discard block |
||
| 223 | 222 | * |
| 224 | 223 | * @param mixed $key Primary key to use for the query |
| 225 | 224 | * |
| 226 | - * @return $this|ChildPageLinkProductsQuery The current query, for fluid interface |
|
| 225 | + * @return PageLinkProductsQuery The current query, for fluid interface |
|
| 227 | 226 | */ |
| 228 | 227 | public function filterByPrimaryKey($key) |
| 229 | 228 | { |
@@ -238,7 +237,7 @@ discard block |
||
| 238 | 237 | * |
| 239 | 238 | * @param array $keys The list of primary key to use for the query |
| 240 | 239 | * |
| 241 | - * @return $this|ChildPageLinkProductsQuery The current query, for fluid interface |
|
| 240 | + * @return Criteria The current query, for fluid interface |
|
| 242 | 241 | */ |
| 243 | 242 | public function filterByPrimaryKeys($keys) |
| 244 | 243 | { |
@@ -273,7 +272,7 @@ discard block |
||
| 273 | 272 | * Use associative array('min' => $minValue, 'max' => $maxValue) for intervals. |
| 274 | 273 | * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL |
| 275 | 274 | * |
| 276 | - * @return $this|ChildPageLinkProductsQuery The current query, for fluid interface |
|
| 275 | + * @return ModelCriteria The current query, for fluid interface |
|
| 277 | 276 | */ |
| 278 | 277 | public function filterByLinkId($linkId = null, $comparison = null) |
| 279 | 278 | { |
@@ -314,7 +313,7 @@ discard block |
||
| 314 | 313 | * Use associative array('min' => $minValue, 'max' => $maxValue) for intervals. |
| 315 | 314 | * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL |
| 316 | 315 | * |
| 317 | - * @return $this|ChildPageLinkProductsQuery The current query, for fluid interface |
|
| 316 | + * @return ModelCriteria The current query, for fluid interface |
|
| 318 | 317 | */ |
| 319 | 318 | public function filterByProductId($productId = null, $comparison = null) |
| 320 | 319 | { |
@@ -347,7 +346,7 @@ discard block |
||
| 347 | 346 | * |
| 348 | 347 | * @throws \Propel\Runtime\Exception\PropelException |
| 349 | 348 | * |
| 350 | - * @return ChildPageLinkProductsQuery The current query, for fluid interface |
|
| 349 | + * @return ModelCriteria The current query, for fluid interface |
|
| 351 | 350 | */ |
| 352 | 351 | public function filterByPageLink($pageLink, $comparison = null) |
| 353 | 352 | { |
@@ -372,7 +371,7 @@ discard block |
||
| 372 | 371 | * @param string $relationAlias optional alias for the relation |
| 373 | 372 | * @param string $joinType Accepted values are null, 'left join', 'right join', 'inner join' |
| 374 | 373 | * |
| 375 | - * @return $this|ChildPageLinkProductsQuery The current query, for fluid interface |
|
| 374 | + * @return PageLinkProductsQuery The current query, for fluid interface |
|
| 376 | 375 | */ |
| 377 | 376 | public function joinPageLink($relationAlias = null, $joinType = Criteria::INNER_JOIN) |
| 378 | 377 | { |
@@ -421,7 +420,7 @@ discard block |
||
| 421 | 420 | * |
| 422 | 421 | * @param ChildPageLinkProducts $pageLinkProducts Object to remove from the list of results |
| 423 | 422 | * |
| 424 | - * @return $this|ChildPageLinkProductsQuery The current query, for fluid interface |
|
| 423 | + * @return PageLinkProductsQuery The current query, for fluid interface |
|
| 425 | 424 | */ |
| 426 | 425 | public function prune($pageLinkProducts = null) |
| 427 | 426 | { |