public function beforeSave()
    {
        $this->post_title = strip_tags(html_entity_decode($this->post_title));
        $this->post_content = html_entity_decode($this->post_content);
    }
public function beforeSave()
    {
        $this->post_title = strip_tags(html_entity_decode($this->post_title));
        $this->post_content = html_entity_decode($this->post_content);
    }
public function beforeSave ( ) { $ this -> post_title = strip_tags ( html_entity_decode ( $ this -> post_title ) ) ; $ this -> post_content = html_entity_decode ( $ this -> post_content ) ; }
Stuff to do before save
@return void
Stuff to do before save