downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

hw_api->setcommittedversion> <hw_api->remove
Last updated: Fri, 20 May 2011

view this page in

hw_api->replace

(PHP 4, PHP 5 < 5.2.0, PECL hwapi SVN)

hw_api->replaceReemplaza un objeto

Descripción

hw_api_object hw_api::replace ( array $parameter )

Reemplaza los atributos y el contenido de un objeto.

Parámetros

parameter

El array de parámetros contiene los elementos 'objectIdentifier' y 'object' requeridos y los parámetros opcionales 'content', 'parameters', 'mode' y 'attributeSelector'. 'objectIdentifier' contiene el objeto a reemplazar. 'object' contiene el nuevo objeto. 'content' contiene el nuevo contenido. 'parameters' contiene información extra para documentos HTML. HTML_Language es la abreviatura del lenguaje del título. HTML_Base establece el atributo base del documento HTML.

'mode' puede ser una combinación de las siguientes banderas:

HW_API_REPLACE_NORMAL
El objeto del servidor es reemplazado por el objeto pasado.
HW_API_REPLACE_FORCE_VERSION_CONTROL
HW_API_REPLACE_AUTOMATIC_CHECKOUT
HW_API_REPLACE_AUTOMATIC_CHECKIN
HW_API_REPLACE_PLAIN
HW_API_REPLACE_REVERT_IF_NOT_CHANGED
HW_API_REPLACE_KEEP_TIME_MODIFIED

Valores devueltos

Ver también



add a note add a note User Contributed Notes hw_api->replace
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites