Skip to content

Commit

Permalink
docs and typos (closes #1812)
Browse files Browse the repository at this point in the history
  • Loading branch information
nadar committed Aug 27, 2019
1 parent 62f9dd5 commit a2de88c
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 23 deletions.
16 changes: 8 additions & 8 deletions core/base/Boot.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* Run the Luya/Yii Application based on the current enviroment which is determined trough get_sapi_name(). To run an application
* a config file with custom Luya/Yii configuration must be provided via `$configFile` property. By default luya will try to find
* the default config `../configs/env.php`.
*
*
* @author Basil Suter <basil@nadar.io>
* @since 1.0.0
*/
Expand Down Expand Up @@ -64,7 +64,7 @@ public function setBaseYiiFile($baseYiiFile)

/**
* Getter method for Yii base file.
*
*
* @return string
*/
public function getBaseYiiFile()
Expand All @@ -74,11 +74,11 @@ public function getBaseYiiFile()

/**
* Whether current request is runing in cli env or not.
*
*
* This is determined by php_sapi_name().
*
*
* @return boolean
* @deprecated Depreacted since 1.0.12 use getisCli() or $isCli instead.
* @deprecated Depreacted since 1.0.12 use getisCli() instead.
*/
public function isCli()
{
Expand All @@ -89,9 +89,9 @@ public function isCli()

/**
* Getter method whether current request is cli or not.
*
*
* If not set via setIsCli() the value is determined trough php_sapi_name();
*
*
* @return boolean Whether current request is console env or not.
* @since 1.0.12
*/
Expand All @@ -106,7 +106,7 @@ public function getIsCli()

/**
* Setter method for isCli.
*
*
* @param boolean $isCli
* @since 1.0.12
*/
Expand Down
2 changes: 1 addition & 1 deletion core/helpers/StringHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public static function highlightWord($content, $word, $markup = '<b>%s</b>')
*/
public static function mb_str_split($string, $length = 1)
{
$arrary = [];
$array = [];
$stringLength = mb_strlen($string, 'UTF-8');

for ($i = 0; $i < $stringLength; $i += $length) {
Expand Down
2 changes: 1 addition & 1 deletion core/web/Element.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
* > Important: If you want to pass database values from active records objects or things which are more memory intense, you should add this method into a lambda / callable function
* > which is then lazy loaded only when creating the guide. For example:
* > ['myModel' => function() { return MyModel::findOne(1); } ]
*
*
* @author Basil Suter <basil@nadar.io>
* @since 1.0.0
*/
Expand Down
27 changes: 14 additions & 13 deletions docs/guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,41 +16,42 @@
+ [Deployment & Sync](concept-depandsync.md)
+ [Headless](concept-headless.md)
+ Application
+ [Modules](app-module.md)
+ [Translations](app-translation.md)
+ [Assets](app-assets.md)
+ [Bower Assets](app-assets-bower.md)
+ [Translations](app-translation.md)
+ [Languages](app-language.md)
+ [Console Commands](luya-console.md)
+ [Mails](luya-mail.md)
+ [Storage](app-storage.md)
+ [Image Filters](app-filters.md)
+ [Filter Effects](app-filter-effects.md)
+ [Page Speed](app-speed.md)
+ [Security](app-security.md)
+ [JsonLd](app-jsonld.md)
+ [Modules](app-module.md)
+ CMS
+ [CMS Layouts](app-cmslayouts.md)
+ [Menus & Navigations](app-menu.md)
+ [Blocks](app-blocks.md)
+ [Block Types](app-block-types.md)
+ [Block Selects](app-block-type-select.md)
+ [Block Checkbox](app-block-type-checkbox.md)
+ [Block Checkboxes Array](app-block-type-checkbox-array.md)
+ [Block Multiple Inputs](app-block-type-multiple-inputs.md)
+ [Selects](app-block-type-select.md)
+ [Checkbox](app-block-type-checkbox.md)
+ [Checkboxes Array](app-block-type-checkbox-array.md)
+ [Multiple Inputs](app-block-type-multiple-inputs.md)
+ [Page Properties](app-cmsproperties.md)
+ Frontend Module
+ [About Frontend Modules](app-module-frontend.md)
+ [Frontend Modules Intro](app-module-frontend.md)
+ [Working with Forms](app-module-forms.md)
+ [Layouts](app-module-layouts.md)
+ [Url Rules](app-module-urlrules.md)
+ Administration Module
+ [About Admin Modules](app-admin-module.md)
+ [Create admin Module](app-admin-module.md)
+ [Assets](app-admin-module-assets.md)
+ [Dashboard Objects](app-admin-module-dashboardobjects.md)
+ [Custom Admin Controller &amp; View](app-admin-module-controllerview.md)
+ [Admin Permissions &amp; Menu](app-admin-module-permission.md)
+ [Admin Assets](app-admin-module-assets.md)
+ [Admin Dashboard Objects](app-admin-module-dashboardobjects.md)
+ [Admin CSS Styles](app-admin-module-styles.md)
+ [Admin Forms](app-admin-module-forms.md)
+ [Forms](app-admin-module-forms.md)
+ [Permissions &amp; Menu](app-admin-module-permission.md)
+ [Icons &amp; CSS Styles](app-admin-module-styles.md)
+ NgRest CRUD
+ [NgRest Concept](ngrest-concept.md)
+ [NgRest Model](ngrest-model.md)
Expand Down
Empty file added docs/guide/app-storage.md
Empty file.
Binary file modified docs/guide/img/configs-luya.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a2de88c

Please sign in to comment.