diff --git a/classes/pagination.html b/classes/pagination.html index fb1c226a8..1588dbf17 100644 --- a/classes/pagination.html +++ b/classes/pagination.html @@ -160,26 +160,36 @@

Global Config Array

'total_items' => 10, 'per_page' => 20, 'template' => array( - 'wrapper_start' => '<div class="pagination"> ', - 'wrapper_end' => ' </div>', - 'page_start' => '<span class="page-links"> ', - 'page_end' => ' </span>', - 'previous_start' => '<span class="previous"> ', - 'previous_end' => ' </span>', - 'previous_inactive_start' => ' </span class="previous-inactive">', - 'previous_inactive_end' => ' </span>', - 'previous_mark' => '« ', - 'next_start' => '<span class="next"> ', - 'next_end' => ' </span>', - 'next_inactive_start' => ' </span class="next-inactive">', - 'next_inactive_end' => ' </span>', - 'next_mark' => ' »', - 'active_start' => '<span class="active"> ', - 'active_end' => ' </span>', - 'regular_start' => '', - 'regular_end' => '', + 'wrapper_start' => '<div class="pagination"> ', + 'wrapper_end' => ' </div>', + 'page_start' => '<span class="page-links"> ', + 'page_end' => ' </span>', + 'previous_start' => '<span class="previous"> ', + 'previous_end' => ' </span>', + 'previous_inactive_start' => ' <span class="previous-inactive">', + 'previous_inactive_end' => ' </span>', + 'previous_inactive_attrs' => array(), + 'previous_mark' => '« ', + 'previous_attrs' => array(), + 'next_start' => '<span class="next"> ', + 'next_end' => ' </span>', + 'next_inactive_start' => ' <span class="next-inactive">', + 'next_inactive_end' => ' </span>', + 'next_inactive_attrs' => array(), + 'next_mark' => ' »', + 'next_attrs' => array(), + 'active_start' => '<span class="active"> ', + 'active_end' => ' </span>', + 'active_attrs' => array(), + 'regular_start' => '', + 'regular_end' => '', + 'regular_attrs' => array(), ), )); +

+ If you have a standard configuration for your entire application, you can also opt to store this structure + in the app/config/pagination.php config file, so you don't have to define it every time. +

diff --git a/general/packages.html b/general/packages.html index 2d4aea130..496fa00e7 100644 --- a/general/packages.html +++ b/general/packages.html @@ -115,7 +115,11 @@

パッケージの作成

クラスの準備が整ったら、それらを使用することができます。

+<<<<<<< HEAD

Note: パッケージの名前空間がグローバルにエリアスされていない場合、名前空間を指定する必要があります:

+======= +

Note: if package namespaces aren't aliased to global you must supply it:

+>>>>>>> 7b1a0fcea336ecbf8973367852b28516f29eeb18
// もしグローバルにエリアスされていたら
 $instance = new Myclass;