42 Commits

Author SHA1 Message Date
7736853837 property code style extensions 2014-07-30 00:40:46 +02:00
1c414caace Improved checks where substr_compare is used, replaced more substr + comapre cases with substr_compare 2014-07-30 02:15:08 +04:00
07f01bcf2b Used substr_compare instead of substr when we don't care about result 2014-07-23 16:37:49 +04:00
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
75b1f4818c improved HTML guide navigation 2014-06-10 00:09:40 +02:00
d52299baa2 first approach to a PDF guide 2014-05-26 18:05:40 +02:00
85f49e0cfe fixed apidoc short description
fixes #2797
2014-05-25 22:29:31 +02:00
fe14f0c5e3 fixed all the PHPdoc in extensions 2014-04-23 03:25:11 +02:00
92bd71cd84 Fixes #2912: Relative view files will be looked for under the directory containing the view currently being rendered 2014-03-28 21:54:32 -04:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
40cb98bb02 updated @property annotations 2014-03-11 16:21:25 +01:00
5ad0efe36a APIDOC beautification 2014-03-11 06:51:37 +01:00
269d1303a9 Code style fixes 2014-03-08 20:47:04 -03:00
595f55c504 api doc improvements 2014-03-08 14:20:19 +01:00
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
668dacbab6 Merge pull request #2622 branch 'ext-codestyle-fix' of https://github.com/AlexGx/yii2 into code-style
* 'ext-codestyle-fix' of https://github.com/AlexGx/yii2:
  fix php5.4 array syntax
  many phpcs fixes
  fix phpDoc LuaScriptBuilder build @throws

Conflicts:
	extensions/apidoc/commands/RenderController.php
	extensions/apidoc/models/BaseDoc.php
	extensions/apidoc/templates/BaseRenderer.php
	extensions/apidoc/templates/bootstrap/Renderer.php
	extensions/apidoc/templates/bootstrap/layouts/guide.php
	extensions/apidoc/templates/bootstrap/layouts/main.php
	extensions/apidoc/templates/html/Renderer.php
	extensions/apidoc/templates/offline/Renderer.php
	extensions/apidoc/templates/offline/assets/AssetBundle.php
	extensions/apidoc/templates/offline/views/index.php
2014-03-07 21:34:23 +01:00
e2aacad8aa Added links to PHP.net to apidoc 2014-03-07 19:41:43 +01:00
31a1eca556 add source code links to api docs 2014-03-07 17:52:12 +01:00
ca6bfdbbb5 final changes for apidoc refactoring 2014-03-07 14:40:52 +01:00
acde64c88b finished guide command refactoring 2014-03-07 13:37:58 +01:00
62378c3b4a Merge branch 'master' into apidoc-refactoring
* master: (153 commits)
  rest doc.
  CS fix
  Add size attribute to Modal
  major features and documentation finished for REST API.
  rest WIP
  Removed U+FEFF character from pt-PT language file to fixe #2631
  Revert "Used ternary operator instead of "or" for constant definition"
  `User` here
  REST wip.
  Changelog
  reset access cache when user identity is set
  Keyboard shortcut for previous, next and refresh buttons
  reset batch query result when rewinding.
  fixed loading namespaceless controller classes.
  Fixes #1467: Added support for organizing controllers in subdirectories
  replace pjax with external resouce via composer
  fixed > 100 typos introduced by me :-)
  fixed condition for HHVM test
  fixed phpdoc
  updated phpdoc references of BaseAR to the interface
  ...

Conflicts:
	extensions/apidoc/templates/BaseRenderer.php
	extensions/apidoc/templates/html/views/constSummary.php
	extensions/apidoc/templates/html/views/propertyDetails.php
2014-03-06 22:09:58 +01:00
1982efbdfe many phpcs fixes 2014-03-05 00:22:55 +02:00
95ea1c20bb code style. FOREACH 2014-03-03 21:47:47 +03:00
b2f1b00bf2 code style. operator IF 2014-03-03 21:32:34 +03:00
d8971b252c short echo tags 2014-03-03 20:33:38 +03:00
6bdf02dc93 Fixes #2601 2014-03-02 17:04:40 -05:00
ebe972f36d fixed links in elasticsearch README 2014-02-28 18:17:28 +01:00
db8685ccad fixed a bunch of typos and errors 2014-02-27 23:18:27 +01:00
023f4d0ab6 refactored apidoc extensions completely.
separated guide and apidoc, better maintainability
2014-02-25 19:52:15 +01:00
8f491f2836 moved @include tags of api docs directly into the class 2014-02-20 21:30:47 +01:00
0d720e0695 added property visibility to api docs
issue #2503
2014-02-20 21:08:37 +01:00
82d103d09a added method visibility to api docs
issue #2503
2014-02-20 21:04:50 +01:00
09f64d9032 Added array initialization 2014-02-01 01:08:59 +04:00
29753b3e59 apidocs: use erusev/parsedown for markdown parsing
added quick and dirty code highlighing and got much faster
2014-01-29 19:20:39 +01:00
7924e6d1fb fixed apidoc context for markdown rendering 2014-01-28 16:50:35 +01:00
abceccfd49 improved APIdocs template by sorting all items 2014-01-28 15:16:18 +01:00
21ae27b306 updated phpdoc properties 2014-01-28 00:11:18 +01:00
c239afbf1e added guide to apidoc bootstrap template 2014-01-24 16:17:40 +01:00
33b53fa55d added apidoc template based on twitter bootstrap
issue #1797
2014-01-23 15:27:35 +01:00
79a14e7a4e created apidoc generator online template for yiiframework.com 2014-01-23 12:03:31 +01:00
7d33a5d3b5 Some Code style fixes 2014-01-19 13:35:36 -03:00
da9d544c54 psr-4 change. 2014-01-10 21:06:25 -05:00