PHP Classes

File: examples/special.xml

Recommend this page to a friend!
  Classes of Everton da Rosa  >  Orion2  >  examples/special.xml  >  Download  
File: examples/special.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Orion2
Convert files between CSV, SQL, XML, JSON formats
Author: By
Last change: Initial commit

Initial commit of Orion2 beta 1
Date: 10 months ago
Size: 792 bytes


Class file image Download
<?xml version="1.0" encoding="UTF-8"?>
<orion name="Exemplo de utilização do Orion2">
	<description>Este projeto é um exemplo de utilização do Orion2 com arquivo de dados com colunas de largura fixa.</description>
	<column name="ano" label="Ano" start="0" length="4" sql="" fn=""></column>
	<column name="id" label="Código" start="4" length="2" sql="" fn=""></column>
	<column name="orgao" label="Órgão" start="6" length="85" sql="" fn="noSpace"></column>
	<filter type="none"></filter>
	<csv delimiter="">"</csv>
	<sql table="" direct="false" host="" user="" password="" dbname=""></sql>
	foreach($store as $i => $row)
		if(($row['id']%2) == 0)
			$new[$i] = $row;
	$store = $new;
For more information send a message to info at phpclasses dot org.