get_clickable_smileys()

get_clickable_smileys($image_url[, $alias = ''[, $smileys = NULL]])

Parameters:
  • $image_url (string) – URL path to the smileys directory
  • $alias (string) – Field alias
Returns:

An array of ready to use smileys

Return type:

array

Returns an array containing your smiley images wrapped in a clickable link. You must supply the URL to your smiley folder and a field id or field alias.

Example:

$image_array = get_clickable_smileys('http://example.com/images/smileys/', 'comment');
doc_CodeIgniter
2016-10-15 16:32:22
Comments
Leave a Comment

Please login to continue.