public function normalize()
    {
        $data = $this->get();
        if (is_array($data)) {
            $data = implode($this->separator, $data);
        }
        $data = trim($data, $this->separator);
        if (!$data) {
            $data = null;
        }

        if (get_magic_quotes_gpc()) {
            $this->set(stripslashes($data));
        } else {
            $this->set($data);
        }

        return parent::normalize();
    }
public function normalize()
    {
        $data = $this->get();
        if (is_array($data)) {
            $data = implode($this->separator, $data);
        }
        $data = trim($data, $this->separator);
        if (!$data) {
            $data = null;
        }

        if (get_magic_quotes_gpc()) {
            $this->set(stripslashes($data));
        } else {
            $this->set($data);
        }

        return parent::normalize();
    }
public function normalize ( ) { $ data = $ this -> get ( ) ; if ( is_array ( $ data ) ) { $ data = implode ( $ this -> separator , $ data ) ; } $ data = trim ( $ data , $ this -> separator ) ; if ( ! $ data ) { $ data = null ; } if ( get_magic_quotes_gpc ( ) ) { $ this -> set ( stripslashes ( $ data ) ) ; } else { $ this -> set ( $ data ) ; } return parent :: normalize ( ) ; }
Normalize POSTed data.
Normalize POSTed data .