Conjunto de cambios 2efe680 en sipes para modules_contrib/ctools/help/export.html


Ignorar:
Fecha y hora:
26/05/2016 18:16:05 (hace 8 años)
Autor:
José Gregorio Puentes <jpuentes@…>
Branches:
stable, version-3.0
Children:
dafc8d8
Parents:
49072ea
Mensaje:

se actualizo el modulo

Fichero:
1 editado

Leyenda

No modificado
Añadido
Eliminado
  • modules_contrib/ctools/help/export.html

    r177a560 r2efe680  
    1 <!-- $Id: export.html,v 1.1.2.7 2010/07/22 22:41:44 merlinofchaos Exp $ -->
    21Exportable objects are objects that can live either in the database or in code, or in both. If they live in both, then the object in code is considered to be "overridden", meaning that the version in code is ignored in favor of the version in the database.
    32
     
    107106
    108107<dt>object</dt>
    109 <dd>The class the object should be created as. Defaults as stdClass.</dd>
     108<dd>The class the object should be created as, if 'object factory' is not set. If this is not set either, defaults as stdClass.</dd>
     109
     110<dt>object factory</dt>
     111<dd>Function used to create the object. The function receives the schema and the loaded data as a parameters: your_factory_function($schema, $data). If this is set,  'object' has no effect since you can use your function to create whatever class you wish.</dd>
    110112
    111113<dt>can disable</dt>
     
    123125<dt>bulk export</dt>
    124126<dd>Declares whether or not the exportable will be available for bulk exporting.</dd>
     127
     128<dt>export type string</dt>
     129<dd>The export type string (Local, Overridden, Database) is normally stored as $item-&gt;type. Since type is a very common keyword, it's possible to specify what key to actually use. </dd>
    125130
    126131<dt>list callback</dt>
     
    191196<li><em>Default</em> is an object that lives only in code.</li>
    192197</ul>
     198<i>Note: This key can be changed by setting 'export type string' to something else, to try and prevent "type" from conflicting.</i>
    193199</dd>
    194200</dl>
Nota: Vea TracChangeset para ayuda en el uso del visor de conjuntos de cambios.