public function beforeSave($post)
    {
        $handler = $this->get('metadata')->get('handler');
        if (class_exists($handler)) {
            $handler = new $handler();

            return $handler->beforeSave($this, $post);
        }

        return true;
    }
public function beforeSave($post)
    {
        $handler = $this->get('metadata')->get('handler');
        if (class_exists($handler)) {
            $handler = new $handler();

            return $handler->beforeSave($this, $post);
        }

        return true;
    }
public function beforeSave ( $ post ) { $ handler = $ this -> get ( 'metadata' ) -> get ( 'handler' ) ; if ( class_exists ( $ handler ) ) { $ handler = new $ handler ( ) ; return $ handler -> beforeSave ( $ this , $ post ) ; } return true ; }
Triggers entity's beforeSave callback. Returning FALSE will halt the save
operation.

@param mixed $post Post data received for this particular Field
@return bool
Triggers entity s beforeSave callback . Returning FALSE will halt the save operation .