Commit Graph

110 Commits

Author SHA1 Message Date
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Qiang Xue
a5e3e46905 Fixes #735: Added back ActiveField::hiddenInput() 2014-03-14 20:42:31 -04:00
Christophe BOULAIN
ca3b2cd057 Fix some references to removed Html::url in phpdoc 2014-03-11 11:15:21 +01:00
Carsten Brandt
6fff5662df better use @see for See in phpdoc 2014-03-11 05:38:35 +01:00
Carsten Brandt
c94a40e90d added a large amount of missing documentation 2014-03-11 05:38:35 +01:00
Alexander Makarov
5d6c314d4e Adjusted URL helper, fixed usage 2014-03-10 15:25:15 +04:00
Alexander Makarov
92b381795b Adjusted Url helper methods 2014-03-10 01:34:05 +04:00
Alexander Makarov
3400eb5215 #2630: yii\heplers\Html::url moved to new yii\helpers\Url::create 2014-03-09 16:41:55 +04:00
Carsten Brandt
f7148c2d80 callback -> callable
this term is resolveable by the php docs when linking types in apidoc
2014-03-08 21:04:47 +01:00
Carsten Brandt
1b7e1cd027 Merge pull request #2605 branch 'feature' of https://github.com/mongosoft/yii2 into code-style
* 'feature' of https://github.com/mongosoft/yii2:
  returned back formatting language files
  code style. WHILE
  code style. FOR
  code style. FOREACH
  code style. operator IF
  @param, @var, @property and @return must declare types as boolean, integer, string, array or null
  short echo tags
  short array syntax

Conflicts:
	extensions/apidoc/commands/RenderController.php
	extensions/apidoc/models/BaseDoc.php
	extensions/apidoc/models/Context.php
	extensions/apidoc/templates/bootstrap/Renderer.php
	extensions/apidoc/templates/bootstrap/layouts/guide.php
	extensions/apidoc/templates/bootstrap/layouts/main.php
	extensions/apidoc/templates/bootstrap/views/index.php
	extensions/apidoc/templates/html/Renderer.php
	extensions/apidoc/templates/offline/views/index.php
	extensions/apidoc/templates/offline/views/offline.php
	extensions/apidoc/templates/online/views/index.php
	extensions/elasticsearch/Connection.php
	extensions/redis/ActiveQuery.php
	framework/base/ErrorException.php
	framework/helpers/BaseFileHelper.php
	tests/unit/framework/helpers/FileHelperTest.php
2014-03-07 21:54:44 +01:00
Carsten Brandt
80e9b80078 replace pjax with external resouce via composer
We are now maintaining a fork of pjax:
https://github.com/yiisoft/jquery-pjax
2014-03-05 05:06:37 +01:00
Christophe BOULAIN
078fdab686 Added some documentation to new pjax attribute 2014-03-04 13:45:36 +01:00
AlexGx
eaaa5b1bb5 fix code style 2014-03-04 06:12:30 +02:00
AlexGx
112f67d20a fix code style There must be one blank line after the namespace declaration 2014-03-04 05:39:17 +02:00
Alexander Mohorev
95ea1c20bb code style. FOREACH 2014-03-03 21:47:47 +03:00
Alexander Mohorev
c7e8d8b900 @param, @var, @property and @return must declare types as boolean, integer, string, array or null 2014-03-03 20:50:44 +03:00
Carsten Brandt
4d5ba13cba make registering of link tags optional in LinkPager 2014-02-28 16:37:34 +01:00
Carsten Brandt
5feba5946e Added relational link tags to LinkPager widget
for prev, next, first and last page.
http://www.w3.org/TR/html401/struct/links.html#h-12.1.2
2014-02-28 16:29:50 +01:00
Alexander Makarov
3d1d7f72ed Fixes #2544: Changed DetailView's name:format:label to attribute:format:label to match GridView 2014-02-25 23:16:05 +04:00
Alex-Code
f7911bc9ac Unused? 2014-02-24 15:57:28 +00:00
Alex-Code
72ff9c58df Pjax container only required on first load.
Pjax inserts the response HTML into the container, it doesn't replace it.
So any subsequent pjax requests duplicate the container.
2014-02-24 15:56:31 +00:00
Carsten Brandt
b7fddd8dd6 Added LinkPager::$linkOptions
fixes #2367
2014-02-20 19:14:46 +01:00
Alexander Makarov
7660827dd3 Fixes #2460: custom listview/gridview summary was broken 2014-02-20 17:37:30 +04:00
Carsten Brandt
098567ce16 fixed phpdoc errors and updated properties 2014-02-20 13:42:30 +01:00
Qiang Xue
26cb7b2a3c Renamed fooVar to fooParam for various classes. 2014-02-15 18:18:27 -05:00
Qiang Xue
25b466d278 Fixes #2083: make sure keys of object type work with ActionColumn, GridView, etc. 2014-02-13 12:04:37 -05:00
Borales
36aab9e36c Removing @since tag 2014-02-13 16:42:08 +02:00
Borales
0a27360cd8 Adding @since tag and changelog line 2014-02-13 16:41:27 +02:00
Borales
a32753b5e5 #2417 Possibility to specify dataType for $.ajax call in yii.activeForm.js 2014-02-13 16:13:22 +02:00
Alexey Samoylov
afb4aaefd8 error summary tag mistype 2014-02-13 13:42:35 +08:00
Qiang Xue
92fb014980 Fixes #2405: The CSS class of MaskedInput now defaults to form-control 2014-02-11 16:36:00 -05:00
Alexander Makarov
40b3c2e89c Fixes #2209: When I18N message translation is missing source language is now used for formatting 2014-02-09 02:49:02 +04:00
Qiang Xue
076c7cd38c Fixes #2310 2014-02-05 22:45:52 -05:00
Qiang Xue
73dff0146c doc improvement [skip ci] 2014-02-05 21:33:32 -05:00
Qiang Xue
e70817e887 Fixes #2336. 2014-02-05 21:18:53 -05:00
Qiang Xue
13b7c8e866 refactored Pjax. Added title change support. [skip ci] 2014-02-05 20:49:38 -05:00
Qiang Xue
a872d60503 Fixes #2335. 2014-02-05 16:08:39 -05:00
Alexander Makarov
b21fd298c5 Fixed minor coding style issues 2014-02-01 01:18:38 +04:00
Qiang Xue
ff521fd7e0 updated pjax doc. 2014-01-30 22:38:42 -05:00
Qiang Xue
07c7236bc7 GridView filter now works with Pjax. 2014-01-30 22:04:47 -05:00
Qiang Xue
e63a82471d Added Pjax::scrollTo. 2014-01-30 21:12:39 -05:00
Qiang Xue
afefcd6ebe support form submission by pjax. 2014-01-30 16:04:31 -05:00
Carsten Brandt
64c238a2d9 doc note about forms in pjax, fixes #2214 2014-01-30 09:11:03 +01:00
Qiang Xue
2046563849 Revert "Fixes #1856: The default CSS class for hint generated by ActiveField is changed to help-block"
This reverts commit 7ae4695d0c.
2014-01-29 20:33:24 -05:00
Qiang Xue
7ae4695d0c Fixes #1856: The default CSS class for hint generated by ActiveField is changed to help-block 2014-01-29 18:39:07 -05:00
Qiang Xue
823227fce3 Added Pjax::timeout and clientOptions. 2014-01-29 16:38:34 -05:00
Carsten Brandt
5c26f01f84 fixed doc links 2014-01-29 12:22:30 +01:00
Qiang Xue
6bc4a8cf94 Fixes #706: Added yii\widgets\Pjax and enhanced GridView to work with Pjax to support AJAX-update 2014-01-28 23:27:24 -05:00
Qiang Xue
6ab97d92cd pjax WIP 2014-01-28 16:19:18 -05:00
Carsten Brandt
32b9f87bdf removed id property from Block widget
fixes #2196
2014-01-28 18:05:47 +01:00