diff --git a/core/base/Boot.php b/core/base/Boot.php index 716e5c302..b6eb0a7d2 100644 --- a/core/base/Boot.php +++ b/core/base/Boot.php @@ -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 * @since 1.0.0 */ @@ -64,7 +64,7 @@ public function setBaseYiiFile($baseYiiFile) /** * Getter method for Yii base file. - * + * * @return string */ public function getBaseYiiFile() @@ -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() { @@ -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 */ @@ -106,7 +106,7 @@ public function getIsCli() /** * Setter method for isCli. - * + * * @param boolean $isCli * @since 1.0.12 */ diff --git a/core/helpers/StringHelper.php b/core/helpers/StringHelper.php index c5f7ae7e8..0d182bc44 100644 --- a/core/helpers/StringHelper.php +++ b/core/helpers/StringHelper.php @@ -235,7 +235,7 @@ public static function highlightWord($content, $word, $markup = '%s') */ public static function mb_str_split($string, $length = 1) { - $arrary = []; + $array = []; $stringLength = mb_strlen($string, 'UTF-8'); for ($i = 0; $i < $stringLength; $i += $length) { diff --git a/core/web/Element.php b/core/web/Element.php index 05f6c8d58..ea83cf6c7 100644 --- a/core/web/Element.php +++ b/core/web/Element.php @@ -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 * @since 1.0.0 */ diff --git a/docs/guide/README.md b/docs/guide/README.md index ec8d40e8c..1f9c091a7 100644 --- a/docs/guide/README.md +++ b/docs/guide/README.md @@ -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 & View](app-admin-module-controllerview.md) - + [Admin Permissions & 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 & Menu](app-admin-module-permission.md) + + [Icons & CSS Styles](app-admin-module-styles.md) + NgRest CRUD + [NgRest Concept](ngrest-concept.md) + [NgRest Model](ngrest-model.md) diff --git a/docs/guide/app-storage.md b/docs/guide/app-storage.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/guide/img/configs-luya.jpg b/docs/guide/img/configs-luya.jpg index 089b1910a..394687122 100644 Binary files a/docs/guide/img/configs-luya.jpg and b/docs/guide/img/configs-luya.jpg differ