Yii Framework Forum: Sorting And Strip_Tags - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Sorting And Strip_Tags Rate Topic: -----

#1 User is offline   nath-0 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 81
  • Joined: 12-October 12
  • Location:switzerland

Posted 20 November 2012 - 08:38 AM

Hello,

I have values with HTML Tag like in the column 'texte' of a gridView :

Quote

<p><strong>Le type de personne a &eacute;t&eacute; correctement enregistr&eacute;.</strong></p>


I have the render wanted, but if I want to sort, it is not working because of the HTML Tag.

How can you do to remove htmlTags using Strip_Tags but only for the search and for sorting ?

Thanks

nath
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users