@@ -191,6 +191,9 @@ |
||
| 191 | 191 | $this->filter->apply(new CDbCriteria()); |
| 192 | 192 | } |
| 193 | 193 | |
| 194 | + /** |
|
| 195 | + * @param integer $id |
|
| 196 | + */ |
|
| 194 | 197 | public function getPatternCheckInCondition($id) |
| 195 | 198 | {
|
| 196 | 199 | return '/(\(|,| )('.$id.')(\)|,| )/';
|
@@ -253,6 +253,9 @@ |
||
| 253 | 253 | }); |
| 254 | 254 | } |
| 255 | 255 | |
| 256 | + /** |
|
| 257 | + * @param string $key |
|
| 258 | + */ |
|
| 256 | 259 | public function getElementByKey($key) |
| 257 | 260 | {
|
| 258 | 261 | foreach($this->elements as $element) |
@@ -45,6 +45,10 @@ |
||
| 45 | 45 | $this->writer->init(); |
| 46 | 46 | } |
| 47 | 47 | |
| 48 | + /** |
|
| 49 | + * @param integer $rowIndex |
|
| 50 | + * @param string $file |
|
| 51 | + */ |
|
| 48 | 52 | public function collect($data, $rowIndex, $file) |
| 49 | 53 | {
|
| 50 | 54 | $groupIndex = !empty($this->groupByColumn) || $this->groupByColumn === 0 ? $data[$this->groupByColumn] : $this->innerIndexCounter++; |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | } |
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | - * @param $folder |
|
| 33 | + * @param string $folder |
|
| 34 | 34 | * @param array $extensions |
| 35 | 35 | * |
| 36 | 36 | * @return array |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | /** |
| 74 | 74 | * Преобразует индекс колонки exсel в номер столбца в 1 - A, 2 - B |
| 75 | 75 | * |
| 76 | - * @param $number |
|
| 76 | + * @param double $number |
|
| 77 | 77 | * |
| 78 | 78 | * @return string |
| 79 | 79 | */ |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | * Преобразует дивпазон индексов колонок exсel в массив |
| 98 | 98 | * например 'a-c' в array('A', 'B', 'C');
|
| 99 | 99 | * |
| 100 | - * @param $string |
|
| 100 | + * @param string $string |
|
| 101 | 101 | * |
| 102 | 102 | * @return array |
| 103 | 103 | */ |
@@ -121,6 +121,9 @@ discard block |
||
| 121 | 121 | return $array; |
| 122 | 122 | } |
| 123 | 123 | |
| 124 | + /** |
|
| 125 | + * @param string $className |
|
| 126 | + */ |
|
| 124 | 127 | public static function getModelWithoutBehaviors($className, $scenario = null) |
| 125 | 128 | {
|
| 126 | 129 | /** |
@@ -157,7 +160,7 @@ discard block |
||
| 157 | 160 | /** |
| 158 | 161 | * Оборачивает путь в слеши, исключаея дублирование |
| 159 | 162 | * |
| 160 | - * @param $path |
|
| 163 | + * @param string $path |
|
| 161 | 164 | * @param string $wrapper |
| 162 | 165 | * |
| 163 | 166 | * @return string |
@@ -170,7 +173,7 @@ discard block |
||
| 170 | 173 | /** |
| 171 | 174 | * Оборачивает начало путь в слеш, исключаея дублирование |
| 172 | 175 | * |
| 173 | - * @param $path |
|
| 176 | + * @param string $path |
|
| 174 | 177 | * @param string $wrapper |
| 175 | 178 | * @param bool $clearEnd |
| 176 | 179 | * |
@@ -176,6 +176,9 @@ discard block |
||
| 176 | 176 | $this->successWriteProductsAmount++; |
| 177 | 177 | } |
| 178 | 178 | |
| 179 | + /** |
|
| 180 | + * @param BProduct $product |
|
| 181 | + */ |
|
| 179 | 182 | protected function prepareAssignmentAndGetSectionModel(&$product, array $item) |
| 180 | 183 | {
|
| 181 | 184 | $sectionModel = null; |
@@ -449,6 +452,9 @@ discard block |
||
| 449 | 452 | } |
| 450 | 453 | } |
| 451 | 454 | |
| 455 | + /** |
|
| 456 | + * @param string $paramId |
|
| 457 | + */ |
|
| 452 | 458 | private function getVariantId($paramId, $name) |
| 453 | 459 | {
|
| 454 | 460 | if( !$variant = Arr::get($this->parameterVariantsCache, $paramId.$name, BProductParamVariant::model()->findByAttributes(array('param_id' => $paramId, 'name' => $name))) )
|
@@ -480,6 +486,9 @@ discard block |
||
| 480 | 486 | return $variant->id; |
| 481 | 487 | } |
| 482 | 488 | |
| 489 | + /** |
|
| 490 | + * @param string $url |
|
| 491 | + */ |
|
| 483 | 492 | protected function createUniqueUrl($url) |
| 484 | 493 | {
|
| 485 | 494 | if( is_null($this->urlCache) ) |
@@ -48,6 +48,9 @@ |
||
| 48 | 48 | $this->_label = $value; |
| 49 | 49 | } |
| 50 | 50 | |
| 51 | + /** |
|
| 52 | + * @return string |
|
| 53 | + */ |
|
| 51 | 54 | public function getLayout() |
| 52 | 55 | {
|
| 53 | 56 | return $this->layout ? $this->layout : $this->getElementsLayout($this->parent); |
@@ -14,6 +14,9 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | private $logger; |
| 16 | 16 | |
| 17 | + /** |
|
| 18 | + * @param string $fileName |
|
| 19 | + */ |
|
| 17 | 20 | public function __construct($fileName) |
| 18 | 21 | {
|
| 19 | 22 | $this->logger = new CLogger(); |
@@ -270,6 +270,9 @@ discard block |
||
| 270 | 270 | } |
| 271 | 271 | } |
| 272 | 272 | |
| 273 | + /** |
|
| 274 | + * @param string $key |
|
| 275 | + */ |
|
| 273 | 276 | public function setValueMap($key, $value) |
| 274 | 277 | {
|
| 275 | 278 | $this->valueMap[$key] = $value; |
@@ -442,7 +445,7 @@ discard block |
||
| 442 | 445 | * |
| 443 | 446 | * @param mixed $str |
| 444 | 447 | * |
| 445 | - * @return void |
|
| 448 | + * @return string |
|
| 446 | 449 | */ |
| 447 | 450 | protected function stripEscapeSequences($str) |
| 448 | 451 | {
|
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | /** |
| 38 | 38 | * Creates a new EThumbnail object allowing to manipulate the image file provided via $filePath |
| 39 | 39 | * @param string $filePath the image file path. |
| 40 | - * @return PhpThumb object |
|
| 40 | + * @return string object |
|
| 41 | 41 | */ |
| 42 | 42 | public function create($filePath) |
| 43 | 43 | { |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | /** |
| 48 | 48 | * Creates a new phpThumb object. |
| 49 | 49 | * @param string $filePath the image file path. |
| 50 | - * @return PhpThumb object |
|
| 50 | + * @return GdThumb object |
|
| 51 | 51 | */ |
| 52 | 52 | protected static function thumbFactory($filePath) |
| 53 | 53 | { |