From 32606a85da012cca95ea8c2a07afac69d3d02dd9 Mon Sep 17 00:00:00 2001 From: Lonnie Ezell Date: Sun, 10 Jul 2016 22:44:12 -0500 Subject: [PATCH] Correcting view cell docs to show both array and string parameter styles --- user_guide_src/source/general/views.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/user_guide_src/source/general/views.rst b/user_guide_src/source/general/views.rst index c234514c48f8..23e1e8f83f0c 100644 --- a/user_guide_src/source/general/views.rst +++ b/user_guide_src/source/general/views.rst @@ -294,8 +294,12 @@ Cell Parameters --------------- You can further refine the call by passing a string with a list of parameters in the second parameter that are passed -to the method as an array of key/value pairs:: +to the method as an array of key/value pairs, or a comma-seperated string of key/value pairs:: + // Passing Parameter Array + 'codeigniter', 'limit' => 5]) ?> + + // Passing Parameter String public function recentPosts(array $params=[])