/** * Constructor. * * @param array $attributes tag properties * @param object $parentTag object Xml2PdfTag * @return void */ public function __construct(&$attributes, $parentTag) { parent::__construct($attributes, $parentTag); if (isset($attributes['FORMAT'])) { $this->format = $attributes['FORMAT']; } }
public function __construct(&$attributes, $parentTag) { $this->format = camila_get_locale_date_adodb_format(); parent::__construct($attributes, $parentTag); if (isset($attributes['FORMAT'])) { $this->format = $attributes['FORMAT']; } }