File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,11 @@ <h4 class="method" id="method_words_to_upper">words_to_upper($class)</h4>
153153 < td > < i > Required</ i > </ td >
154154 < td > The classname.</ td >
155155 </ tr >
156+ < tr >
157+ < th > < kbd > $sep</ kbd > </ th >
158+ < td > < i > _</ i > </ td >
159+ < td > The separator</ td >
160+ </ tr >
156161 </ table >
157162 </ td >
158163 </ tr >
@@ -163,7 +168,8 @@ <h4 class="method" id="method_words_to_upper">words_to_upper($class)</h4>
163168 < tr >
164169 < th > Example</ th >
165170 < td >
166- < pre class ="php "> < code > echo Inflector::words_to_upper('fuel_users'); // returns Fuel_Users</ code > </ pre >
171+ < pre class ="php "> < code > echo Inflector::words_to_upper('fuel_users'); // returns Fuel_Users
172+ echo Inflector::words_to_upper('module::method', '::'); // returns Module::Method</ code > </ pre >
167173 </ td >
168174 </ tr >
169175 </ tbody >
You can’t perform that action at this time.
0 commit comments