@@ -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 | |
@@ -115,6 +115,9 @@ |
||
| 115 | 115 | } |
| 116 | 116 | } |
| 117 | 117 | |
| 118 | + /** |
|
| 119 | + * @param string $locale |
|
| 120 | + */ |
|
| 118 | 121 | public function getTemplateVariables($template_id, $locale) { |
| 119 | 122 | $query = $this->db->where('id', $template_id)->where('locale', $locale)->get('mod_email_paterns_i18n'); |
| 120 | 123 | if ($query) { |
@@ -440,7 +440,7 @@ |
||
| 440 | 440 | } |
| 441 | 441 | |
| 442 | 442 | /** |
| 443 | - * @return true |
|
| 443 | + * @return boolean |
|
| 444 | 444 | */ |
| 445 | 445 | public function deinstallModule() { |
| 446 | 446 | |
@@ -335,7 +335,7 @@ |
||
| 335 | 335 | } |
| 336 | 336 | |
| 337 | 337 | /** |
| 338 | - * @return array |
|
| 338 | + * @return string |
|
| 339 | 339 | */ |
| 340 | 340 | public function get_default_lang() { |
| 341 | 341 | if ($this->db) { |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | |
| 14 | 14 | /** |
| 15 | 15 | * @param string $content |
| 16 | - * @return mixed |
|
| 16 | + * @return string |
|
| 17 | 17 | */ |
| 18 | 18 | function href_nofollow($content) { |
| 19 | 19 | return preg_replace_callback('/<(a\s[^>]+)>/isU', 'seo_nofollow_replace', $content); |
@@ -133,7 +133,6 @@ discard block |
||
| 133 | 133 | * $obj = $c->findPk(array(12, 34), $con); |
| 134 | 134 | * </code> |
| 135 | 135 | * |
| 136 | - * @param array[$id, $locale] $key Primary key to use for the query |
|
| 137 | 136 | * @param ConnectionInterface $con an optional connection object |
| 138 | 137 | * |
| 139 | 138 | * @return ChildBannerImageI18n|array|mixed the result, formatted by the current formatter |
@@ -478,7 +477,7 @@ discard block |
||
| 478 | 477 | /** |
| 479 | 478 | * Filter the query by a related \xbanners\models\BannerImage object |
| 480 | 479 | * |
| 481 | - * @param \xbanners\models\BannerImage|ObjectCollection $bannerImage The related object(s) to use as filter |
|
| 480 | + * @param BannerImage $bannerImage The related object(s) to use as filter |
|
| 482 | 481 | * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL |
| 483 | 482 | * |
| 484 | 483 | * @throws \Propel\Runtime\Exception\PropelException |
@@ -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; |
@@ -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. |
@@ -981,7 +981,7 @@ discard block |
||
| 981 | 981 | * |
| 982 | 982 | * @throws LogicException if no primary key is defined |
| 983 | 983 | * |
| 984 | - * @return Criteria The Criteria object containing value(s) for primary key(s). |
|
| 984 | + * @return null|Criteria The Criteria object containing value(s) for primary key(s). |
|
| 985 | 985 | */ |
| 986 | 986 | public function buildPkeyCriteria() |
| 987 | 987 | { |
@@ -118,7 +118,6 @@ discard block |
||
| 118 | 118 | * $obj = $c->findPk(array(12, 34), $con); |
| 119 | 119 | * </code> |
| 120 | 120 | * |
| 121 | - * @param array[$id, $locale] $key Primary key to use for the query |
|
| 122 | 121 | * @param ConnectionInterface $con an optional connection object |
| 123 | 122 | * |
| 124 | 123 | * @return ChildBannersI18n|array|mixed the result, formatted by the current formatter |
@@ -364,7 +363,7 @@ discard block |
||
| 364 | 363 | /** |
| 365 | 364 | * Filter the query by a related \xbanners\models\Banners object |
| 366 | 365 | * |
| 367 | - * @param \xbanners\models\Banners|ObjectCollection $banners The related object(s) to use as filter |
|
| 366 | + * @param Banners $banners The related object(s) to use as filter |
|
| 368 | 367 | * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL |
| 369 | 368 | * |
| 370 | 369 | * @throws \Propel\Runtime\Exception\PropelException |
@@ -146,7 +146,7 @@ |
||
| 146 | 146 | * $obj = $c->findPk(12, $con); |
| 147 | 147 | * </code> |
| 148 | 148 | * |
| 149 | - * @param mixed $key Primary key to use for the query |
|
| 149 | + * @param integer $key Primary key to use for the query |
|
| 150 | 150 | * @param ConnectionInterface $con an optional connection object |
| 151 | 151 | * |
| 152 | 152 | * @return ChildBanners|array|mixed the result, formatted by the current formatter |