public function checkChars($value)
    {
        if ($value[0] == '(') {
            $value = substr($value, 1);

            if ($value[strlen($value) - 1] == ')') {
                $value = substr($value, 0, -1);
            } else {
                return false;
            }
        }

        return parent::checkChars($value);
    }
public function checkChars($value)
    {
        if ($value[0] == '(') {
            $value = substr($value, 1);

            if ($value[strlen($value) - 1] == ')') {
                $value = substr($value, 0, -1);
            } else {
                return false;
            }
        }

        return parent::checkChars($value);
    }
public function checkChars ( $ value ) { if ( $ value [ 0 ] == '(' ) { $ value = substr ( $ value , 1 ) ; if ( $ value [ strlen ( $ value ) - 1 ] == ')' ) { $ value = substr ( $ value , 0 , - 1 ) ; } else { return false ; } } return parent :: checkChars ( $ value ) ; }
Allows start and stop tag within checked chars

@param  string $value The barcode to check for allowed characters
@return boolean
Allows start and stop tag within checked chars