Eduardo Spotorno
http://eduardo.spotorno.com.ar/2011/11/prueba-de-codigo/
Export date: Tue Dec 12 21:29:02 2017 / +0000 GMT

Prueba de Código


[crayon lang="xml" toolbar="false"]

function defaults() {
global $xpdoc;
$formato = $xpdoc->get_instance('formato');
$formato->load( array( 'default' => true ));
$this->color = 'color';
$this->formato_ID = $formato->ID;
$this->get_attr('formato_ID')->label = $formato->formato;
$this->total = $formato->precio;
$this->precio_formato = $formato->precio;
$this->cantidad = 1;
$this->precio_retoque = 0;
}    
[/crayon]

Post date: 2011-11-10 23:16:43
Post date GMT: 2011-11-11 02:16:43

Post modified date: 2012-05-29 17:47:45
Post modified date GMT: 2012-05-29 20:47:45

Export date: Tue Dec 12 21:29:02 2017 / +0000 GMT
This page was exported from Eduardo Spotorno [ http://eduardo.spotorno.com.ar ]
Export of Post and Page has been powered by [ Universal Post Manager ] plugin from www.ProfProjects.com