public function initializeObjectAttribute($objectAttribute, $currentVersion, $originalContentObjectAttribute)
    {
        $value = $currentVersion != false ?
            $originalContentObjectAttribute->content() :
            $this->fieldType->getEmptyValue();

        $objectAttribute->setContent($value);
    }
public function initializeObjectAttribute($objectAttribute, $currentVersion, $originalContentObjectAttribute)
    {
        $value = $currentVersion != false ?
            $originalContentObjectAttribute->content() :
            $this->fieldType->getEmptyValue();

        $objectAttribute->setContent($value);
    }
public function initializeObjectAttribute ( $ objectAttribute , $ currentVersion , $ originalContentObjectAttribute ) { $ value = $ currentVersion != false ? $ originalContentObjectAttribute -> content ( ) : $ this -> fieldType -> getEmptyValue ( ) ; $ objectAttribute -> setContent ( $ value ) ; }
Initializes content object attribute based on another attribute.

@param eZContentObjectAttribute $objectAttribute
@param eZContentObjectVersion $currentVersion
@param eZContentObjectAttribute $originalContentObjectAttribute
Initializes content object attribute based on another attribute .