public function saveRawProperties( $id, $properties )
    {
        $result = 0;

        if ( ! empty( $properties ) )
        {
            foreach ( $properties as $property )
            {
                $result += $this->saveProperty(
                    $id,
                    empty( $property['locale'] ) ? null : $property['locale'],
                    empty( $property['name']   ) ? null : $property['name'],
                    empty( $property['value']  ) ? null : $property['value']
                );
            }
        }

        return $result;
    }
public function saveRawProperties( $id, $properties )
    {
        $result = 0;

        if ( ! empty( $properties ) )
        {
            foreach ( $properties as $property )
            {
                $result += $this->saveProperty(
                    $id,
                    empty( $property['locale'] ) ? null : $property['locale'],
                    empty( $property['name']   ) ? null : $property['name'],
                    empty( $property['value']  ) ? null : $property['value']
                );
            }
        }

        return $result;
    }
public function saveRawProperties ( $ id , $ properties ) { $ result = 0 ; if ( ! empty ( $ properties ) ) { foreach ( $ properties as $ property ) { $ result += $ this -> saveProperty ( $ id , empty ( $ property [ 'locale' ] ) ? null : $ property [ 'locale' ] , empty ( $ property [ 'name' ] ) ? null : $ property [ 'name' ] , empty ( $ property [ 'value' ] ) ? null : $ property [ 'value' ] ) ; } } return $ result ; }
Save raw paragraph properties

@param   int                 $id
@param   array|\Traversable  $properties
@return  int
Save raw paragraph properties