53256fdd24 
					 
					
						
						
							
							Fix   #20513 : Fix code examples in PHPDoc  
						
						
						
						
					 
					
						2025-09-06 00:22:56 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6ee5d952ae 
					 
					
						
						
							
							Fix   #20453 : Fix PHPStan/Psalm types in yii\web\View  
						
						
						
						
					 
					
						2025-07-15 10:54:19 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8a7f2effa3 
					 
					
						
						
							
							release version 2.0.53  
						
						
						
						
					 
					
						2025-06-27 10:42:53 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ab6fd4c9c4 
					 
					
						
						
							
							Added PHPStan/Psalm annotations for AssetBundle, AssetManager and View ( #20372 )  
						
						
						
						
					 
					
						2025-05-04 12:41:36 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4859c8fcae 
					 
					
						
						
							
							Fix   #20309 : Add custom attributes support to style tags  
						
						
						
						
					 
					
						2025-02-14 09:59:48 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						52e4a3e645 
					 
					
						
						
							
							release version 2.0.50  
						
						
						
						
					 
					
						2024-05-30 20:23:31 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bf3ada13fc 
					 
					
						
						
							
							Fix   #20087 : Add custom attributes to script tags  
						
						
						
						
					 
					
						2024-04-03 16:18:16 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e2a167028b 
					 
					
						
						
							
							Upgrade to PSR12 coding standard ( #20121 )  
						
						
						
						
					 
					
						2024-03-19 17:21:27 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8228d81b25 
					 
					
						
						
							
							release version 2.0.48  
						
						
						
						
					 
					
						2023-05-22 10:32:53 +04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fe46b59361 
					 
					
						
						
							
							Change property visibility to allow more flexibility for apps ( #19696 )  
						
						... 
						
						
						
						* Change property visibility to allow more flexibility for apps
* Update framework/web/View.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Added changelog
Co-authored-by: Alexander Makarov <sam@rmcreative.ru> 
						
						
					 
					
						2022-11-29 08:18:03 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						161526cd41 
					 
					
						
						
							
							HTTPS everywhere ( #19503 )  
						
						
						
						
					 
					
						2022-08-03 12:32:18 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4628b91e73 
					 
					
						
						
							
							Fix types ( #19332 )  
						
						... 
						
						
						
						* Migration::upsert() returns void
* Unneeded `@property` tags
* Add missing `null` param/return types
* Null types for db\Query + db\ActiveQuery
* Fixed testSelect 
						
						
					 
					
						2022-03-30 18:40:10 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						655786b7ed 
					 
					
						
						
							
							release version 2.0.44  
						
						
						
						
					 
					
						2021-12-30 10:50:56 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e294c23102 
					 
					
						
						
							
							Fix#18328: Yii::warning() raised on file register after View::endBody() has been moved to View::endPage() ( #18975 )  
						
						... 
						
						
						
						Co-authored-by: Mehdi Achour <machour@gmail.com> 
						
						
					 
					
						2021-10-25 23:11:29 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b757d25c4b 
					 
					
						
						
							
							Fix   #18328 : Raise warning when trying to register a file after View::endBody() has been called  
						
						
						
						
					 
					
						2021-10-23 16:08:33 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bceba86952 
					 
					
						
						
							
							Fix   #18414 : Fix AssetManager::appendTimestamp() not appending timestamp for website root in sub-directory  
						
						
						
						
					 
					
						2020-12-23 12:57:29 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7ff516063d 
					 
					
						
						
							
							Fix   #18160 ,  fix   #18192 : Fixed registerFile with argument depends set does not use the position and appendTimestamp argument, also modify the unit view  
						
						
						
						
					 
					
						2020-10-11 15:03:12 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						96cd8bcb68 
					 
					
						
						
							
							Fix   #16826 : appendTimestamp support was added to View methods registerCssFile() and registerJsFile()  
						
						
						
						
					 
					
						2019-09-17 14:07:15 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b566dd522c 
					 
					
						
						
							
							Fixes   #15272 : Removed type attribute from script tag  
						
						
						
						
					 
					
						2018-02-14 13:39:48 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e07219c812 
					 
					
						
						
							
							Fixes   #13996 : Added yii\web\View::registerJsVar() method that allows registering JavaScript variables  
						
						
						
						
					 
					
						2018-01-26 15:31:27 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2246786483 
					 
					
						
						
							
							Fixed jQuery onLoad event handling  
						
						... 
						
						
						
						Fixes  #15086  
					
						2017-11-05 11:22:22 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						75e8bfdc58 
					 
					
						
						
							
							Fixes   #14087 : Added yii\web\View::registerCsrfMetaTags() method that registers CSRF tags dynamically ensuring that caching doesn't interfere  
						
						
						
						
					 
					
						2017-09-29 17:13:04 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						18689c5ed1 
					 
					
						
						
							
							Added missing bracket  
						
						
						
						
					 
					
						2017-09-09 15:43:56 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3a8feb17a8 
					 
					
						
						
							
							Updated yii\web\View to register JS in jQuery 3.0 compatible way  
						
						
						
						
					 
					
						2017-09-09 15:39:11 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						13d35c4e03 
					 
					
						
						
							
							add notes to View register JS and CSS file methods  
						
						... 
						
						
						
						explain why assetmanager features are not available in these methods.
close  #14382 
related to #10297 , #9101  
						
						
					 
					
						2017-07-04 11:58:20 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ba0ab403b5 
					 
					
						
						
							
							Added php-cs-fixer coding standards validation to Travis CI ( #14100 )  
						
						... 
						
						
						
						* php-cs-fixer: PSR2 rule.
* php-cs-fixer: PSR2 rule - fix views.
* Travis setup refactoring.
* Add php-cs-fixer to travis cs tests.
* Fix tests on hhvm-3.12
* improve travis config
* composer update
* revert composer update
* improve travis config
* Fix CS.
* Extract config to separate classes.
* Extract config to separate classes.
* Add file header.
* Force short array syntax.
* binary_operator_spaces fixer
* Fix broken tests
* cast_spaces fixer
* concat_space fixer
* dir_constant fixer
* ereg_to_preg fixer
* function_typehint_space fixer
* hash_to_slash_comment fixer
* is_null fixer
* linebreak_after_opening_tag fixer
* lowercase_cast fixer
* magic_constant_casing fixer
* modernize_types_casting fixer
* native_function_casing fixer
* new_with_braces fixer
* no_alias_functions fixer
* no_blank_lines_after_class_opening fixer
* no_blank_lines_after_phpdoc fixer
* no_empty_comment fixer
* no_empty_phpdoc fixer
* no_empty_statement fixer
* no_extra_consecutive_blank_lines fixer
* no_leading_import_slash fixer
* no_leading_namespace_whitespace fixer
* no_mixed_echo_print fixer
* no_multiline_whitespace_around_double_arrow fixer
* no_multiline_whitespace_before_semicolons fixer
* no_php4_constructor fixer
* no_short_bool_cast fixer
* no_singleline_whitespace_before_semicolons fixer
* no_spaces_around_offset fixer
* no_trailing_comma_in_list_call fixer
* no_trailing_comma_in_singleline_array fixer
* no_unneeded_control_parentheses fixer
* no_unused_imports fixer
* no_useless_return fixer
* no_whitespace_before_comma_in_array fixer
* no_whitespace_in_blank_line fixer
* not_operator_with_successor_space fixer
* object_operator_without_whitespace fixer
* ordered_imports fixer
* php_unit_construct fixer
* php_unit_dedicate_assert fixer
* php_unit_fqcn_annotation fixer
* phpdoc_indent fixer
* phpdoc_no_access fixer
* phpdoc_no_empty_return fixer
* phpdoc_no_package fixer
* phpdoc_no_useless_inheritdoc fixer
* Fix broken tests
* phpdoc_return_self_reference fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_to_comment fixer
* phpdoc_trim fixer
* phpdoc_var_without_name fixer
* psr4 fixer
* self_accessor fixer
* short_scalar_cast fixer
* single_blank_line_before_namespace fixer
* single_quote fixer
* standardize_not_equals fixer
* ternary_operator_spaces fixer
* trailing_comma_in_multiline_array fixer
* trim_array_spaces fixer
* protected_to_private fixer
* unary_operator_spaces fixer
* whitespace_after_comma_in_array fixer
* `parent::setRules()` -> `$this->setRules()`
* blank_line_after_opening_tag fixer
* Update finder config.
* Revert changes for YiiRequirementChecker.
* Fix array formatting.
* Add missing import.
* Fix CS for new code merged from master.
* Fix some indentation issues. 
						
						
					 
					
						2017-06-12 12:25:45 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e360457091 
					 
					
						
						
							
							function clear() -- Set populated arrays to empty arrays ( #14067 )  
						
						... 
						
						
						
						`yii\web\View::clear()` sets populated arrays to empty arrays 
						
						
					 
					
						2017-05-09 17:31:13 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4aa935e69e 
					 
					
						
						
							
							Fixes   #12055 : Changed boolean to bool and integer to int in phpdoc  
						
						
						
						
					 
					
						2016-11-07 02:51:39 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						32f4dc8997 
					 
					
						
						
							
							Fixes   #5385 : links created from classes to corresponding guide articles ( #12920 )  
						
						
						
						
					 
					
						2016-11-04 18:55:14 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3ec3ce9312 
					 
					
						
						
							
							Reverted  #10429  because of BC breaking  
						
						
						
						
					 
					
						2016-09-23 12:28:50 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f3dc5c437d 
					 
					
						
						
							
							Fixed replacement of alias more than once in View::registerJsFile() and View::registerCssFile(), updated tests  
						
						
						
						
					 
					
						2016-09-17 10:28:39 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9931324e48 
					 
					
						
						
							
							Fixed regression in View::registerJsFile, View::registerCssFile  
						
						... 
						
						
						
						Closes  #12544  
					
						2016-09-15 21:23:19 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						78edcd0b51 
					 
					
						
						
							
							Fixed typo in yii\web\View::registerJsFile()  
						
						
						
						
					 
					
						2016-09-12 18:23:29 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c3622bb1ad 
					 
					
						
						
							
							Added tests for  #10429  
						
						
						
						
					 
					
						2016-09-10 15:41:39 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fd6dd73cec 
					 
					
						
						
							
							AssetManager::getAssetUrl() fixed to get URL when appendedTimestamp is true 
						
						
						
						
					 
					
						2016-09-10 12:46:54 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c41ced6f1a 
					 
					
						
						
							
							PhpDoc for \yii\web\View::registerJsFile() improved  
						
						
						
						
					 
					
						2016-08-30 15:47:06 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f6ff90f672 
					 
					
						
						
							
							Fixes   #12082 : Used jQuery.on( instead of event method to ensure forwards compatibility  
						
						
						
						
					 
					
						2016-08-04 21:56:46 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cd87d67f34 
					 
					
						
						
							
							Global DOCS update: ~~~ replaced with ```  
						
						
						
						
					 
					
						2015-12-02 23:15:28 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c105622004 
					 
					
						
						
							
							example for a link tag: issue  #2803  
						
						... 
						
						
						
						[ci skip] 
						
						
					 
					
						2015-04-30 18:25:04 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						61b7079993 
					 
					
						
						
							
							Fixes   #6007 : added doc about asset bundle name [skip ci]  
						
						
						
						
					 
					
						2014-11-11 08:08:18 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e7de579ee6 
					 
					
						
						
							
							Fixes   #5202 : View::registerJsFiles should not strip leading backlashes for protocol relative URL  
						
						
						
						
					 
					
						2014-09-26 16:35:15 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2f526521ce 
					 
					
						
						
							
							new asset WIP  
						
						
						
						
					 
					
						2014-08-30 21:34:35 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f51a263570 
					 
					
						
						
							
							new asset management WIP  
						
						
						
						
					 
					
						2014-08-27 16:44:00 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3a1e0f3a5c 
					 
					
						
						
							
							property codestyle framework  
						
						
						
						
					 
					
						2014-07-30 00:21:31 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						dfa0bc8d06 
					 
					
						
						
							
							Fixes   #3897 : Raised visibility of yii\web\View::registerAssetFiles() to protected  
						
						
						
						
					 
					
						2014-06-17 00:50:44 +04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6b799d392d 
					 
					
						
						
							
							Fixes   #3358 : Removed automatic CSRF meta tag generation by View. Added Html::csrfMetaTags() and its call to main layout files  
						
						
						
						
					 
					
						2014-06-13 10:04:48 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4fcd5003de 
					 
					
						
						
							
							Fixes   #2906 : Added support for using conditional comments for js and css files registered through asset bundles and Html helper  
						
						
						
						
					 
					
						2014-04-26 20:25:48 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6fe63a217f 
					 
					
						
						
							
							view did not use the correct assetmanager  
						
						
						
						
					 
					
						2014-04-25 04:06:07 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						664d2aa007 
					 
					
						
						
							
							Supported adding a new response formatter without the need to reconfigure existing formatters  
						
						
						
						
					 
					
						2014-04-16 14:55:33 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a0f9a6d701 
					 
					
						
						
							
							Fixes   #2937  
						
						
						
						
					 
					
						2014-03-31 23:17:39 -04:00