Skip to content

Commit 59e1243

Browse files
committed
update
1 parent 511fb43 commit 59e1243

File tree

5 files changed

+12
-14
lines changed

5 files changed

+12
-14
lines changed

source/extending/authentication.rst

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1-
认证
1+
身份验证
22
#####################################
33

4-
CodeIgniter 为 CodeIgniter 4 提供了一个官方的认证和授权框架
5-
:ref:`CodeIgniter Shield <shield>`,
6-
它旨在提供安全、灵活且易于扩展以满足不同类型网站的需求。
4+
CodeIgniter 为 CodeIgniter 4 提供了一个官方的身份验证和授权框架 :ref:`CodeIgniter Shield <shield>`,它被设计为安全、灵活且易于扩展,以满足许多不同类型网站的需求。
75

8-
为了在开发者之间保持一致,以下是一些推荐的准则。
6+
为了在开发者之间保持一致以下是一些推荐的准则。
97

108
推荐
119
===============
1210

1311
* 处理登录和登出操作的模块在成功时应该触发 ``login`` 和 ``logout`` 事件
14-
* 定义“当前用户”的模块应该定义 ``user_id()`` 函数以返回用户的唯一标识符,如果没有当前用户则返回 ``null``
12+
* 定义“当前用户”的模块应该定义 ``user_id()`` 函数以返回用户的唯一标识符如果没有当前用户则返回 ``null``
1513

1614
符合这些推荐的模块可以在 **composer.json** 中添加以下内容表示兼容::
1715

source/extending/composer_packages.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ DevKit 提供了基于 `PHP-CS-Fixer <https://github.com/PHP-CS-Fixer/PHP-CS-Fix
165165
在 app/Config 中覆盖设置
166166
=================================
167167

168-
如果你需要在 **app/Config** 文件夹中覆盖或添加已知配置,可以使用 :ref:`Implicit Registrars <registrars>`。
168+
如果你需要在 **app/Config** 文件夹中覆盖或添加已知配置,可以使用 :ref:`隐式注册器 <registrars>`。
169169

170170
**********
171171
参考资料

source/extending/contributing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
为 CodeIgniter 做贡献
33
###########################
44

5-
CodeIgniter 是一个社区驱动的项目,接受来自社区的代码和文档贡献。这些贡献是以 Issue 或 `Pull Request <https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests>`_ 的形式在 GitHub 上的 `CodeIgniter4 仓库 <https://github.com/codeigniter4/CodeIgniter4>`_ 提出的。
5+
CodeIgniter 是一个社区驱动的项目接受来自社区的代码和文档贡献。这些贡献是以 Issue 或 `Pull Request <https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests>`_ 的形式在 GitHub 上的 `CodeIgniter4 仓库 <https://github.com/codeigniter4/CodeIgniter4>`_ 提出的。
66

7-
如果你想贡献,请参阅我们代码仓库的 `为 CodeIgniter4 做贡献 <https://github.com/codeigniter4/CodeIgniter4/tree/develop/contributing>`_ 部分。
7+
如果你想贡献请参阅我们代码仓库的 `为 CodeIgniter4 做贡献 <https://github.com/codeigniter4/CodeIgniter4/tree/develop/contributing>`_ 部分。

source/helpers/array_helper.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
##############
2-
Array 辅助函数
2+
数组辅助函数
33
##############
44

5-
Array 辅助函数提供了几个函数来简化数组的更复杂用法。它不打算重复 PHP 提供的任何现有功能 - 除非是为了极大地简化它们的用法。
5+
数组辅助函数提供了几个函数来简化数组的更复杂用法。它不打算重复 PHP 提供的任何现有功能 - 除非是为了极大地简化它们的用法。
66

77
.. contents::
88
:local:
@@ -31,7 +31,7 @@ Array 辅助函数提供了几个函数来简化数组的更复杂用法。它
3131

3232
.. literalinclude:: array_helper/002.php
3333

34-
我们可以使用搜索字符串“foo.buzz.fizz”定位'fizz'的值。类似地,可以使用“foo.bar.baz”找到 baz 的值:
34+
我们可以使用搜索字符串“foo.buzz.fizz”定位 'fizz' 的值。类似地,可以使用“foo.bar.baz”找到 baz 的值:
3535

3636
.. literalinclude:: array_helper/003.php
3737

source/helpers/date_helper.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
##############
2-
Date 辅助函数
2+
日期辅助函数
33
##############
44

5-
Date 辅助函数文件包含了帮助处理日期的函数
5+
日期辅助函数文件包含了帮助处理日期的函数
66

77
.. contents::
88
:local:

0 commit comments

Comments
 (0)