public function fetchObjectAttributeHTTPInput($http, $base, $objectAttribute)
    {
        $objectAttributeId = $objectAttribute->attribute('id');

        if (!$http->hasPostVariable($base . self::RICH_TEXT_VARIABLE . $objectAttributeId)) {
            return false;
        }

        $value = trim($http->postVariable($base . self::RICH_TEXT_VARIABLE . $objectAttributeId));

        $objectAttribute->setContent(new Value($value));

        return true;
    }
public function fetchObjectAttributeHTTPInput($http, $base, $objectAttribute)
    {
        $objectAttributeId = $objectAttribute->attribute('id');

        if (!$http->hasPostVariable($base . self::RICH_TEXT_VARIABLE . $objectAttributeId)) {
            return false;
        }

        $value = trim($http->postVariable($base . self::RICH_TEXT_VARIABLE . $objectAttributeId));

        $objectAttribute->setContent(new Value($value));

        return true;
    }
public function fetchObjectAttributeHTTPInput ( $ http , $ base , $ objectAttribute ) { $ objectAttributeId = $ objectAttribute -> attribute ( 'id' ) ; if ( ! $ http -> hasPostVariable ( $ base . self :: RICH_TEXT_VARIABLE . $ objectAttributeId ) ) { return false ; } $ value = trim ( $ http -> postVariable ( $ base . self :: RICH_TEXT_VARIABLE . $ objectAttributeId ) ) ; $ objectAttribute -> setContent ( new Value ( $ value ) ) ; return true ; }
Fetches the HTTP POST input and stores it in the data instance.

@param eZHTTPTool $http
@param string $base
@param eZContentObjectAttribute $objectAttribute

@return bool
Fetches the HTTP POST input and stores it in the data instance .