Skip to content

Commit c481682

Browse files
committed
Updating words_to_upper for pull fuel/core#877
1 parent f7d03db commit c481682

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

classes/inflector.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff 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>

0 commit comments

Comments
 (0)