diff options
author | Derek Jones <derek.jones@ellislab.com> | 2013-07-20 01:37:51 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2013-07-20 01:37:51 +0200 |
commit | 123bb20c52e0e9d6a622e14bac33e05b10ffc013 (patch) | |
tree | 7a50d190b83308ca6ed2e92e4e0153038685a736 /user_guide_src/source/helpers/smiley_helper.rst | |
parent | 2488ed218f42ad4c068a26ef01280766673edf5a (diff) |
Updating user guide :php:func: refs to :func:
Diffstat (limited to 'user_guide_src/source/helpers/smiley_helper.rst')
-rw-r--r-- | user_guide_src/source/helpers/smiley_helper.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide_src/source/helpers/smiley_helper.rst b/user_guide_src/source/helpers/smiley_helper.rst index cfb4acb98..3fad253b2 100644 --- a/user_guide_src/source/helpers/smiley_helper.rst +++ b/user_guide_src/source/helpers/smiley_helper.rst @@ -46,7 +46,7 @@ The Controller In your `application/controllers/` folder, create a file called smileys.php and place the code below in it. -.. important:: Change the URL in the :php:func:`get_clickable_smileys()` +.. important:: Change the URL in the :func:`get_clickable_smileys()` function below so that it points to your smiley folder. You'll notice that in addition to the smiley helper, we are also using @@ -100,7 +100,7 @@ links a generic name that will be tied to a specific id in your view. $image_array = get_smiley_links("http://example.com/images/smileys/", "comment_textarea_alias"); To map the alias to the field id, pass them both into the -:php:func:`smiley_js()` function:: +:func:`smiley_js()` function:: $image_array = smiley_js("comment_textarea_alias", "comments"); |