eZ Community » Projects » strip_except

strip_except

Wednesday 20 January 2010 - http://projects.ez.no/strip_except

Allows use of the second parameter of the php strip_tags in a template operator.

» Visit project page    » Project members    » Reviews

Latest forum activity - Visit project's forums page

Tuesday 12 February 2013 10:06:33 pm

The function stripexceptOperator is missing a property assignment, causing an undefined property warning. To fix it, add an AttributeName property as below:

<code>

class stripexceptOperator

{

function stripexceptOperator( $name = "strip_except" )

{

$this->AttributeName = $name; // <- add this

$this->Operators = array( $name );

}

</code>

Members - Visit project's team page
Real name:
Steven E Bailey
Country:
Netherlands 
#Posts:
563
  • Forum moderator
Project reviews - See all reviews

No review yet.

Proudly Developed with from