<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Hoa Forum - Hoa_File, retour de chemin]]></title>
	<link rel="self" href="http://forum.hoa-project.net/feed/atom/topic/316/"/>
	<updated>2010-01-11T20:10:23Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.hoa-project.net/topic/316/hoafile-retour-de-chemin/</id>
		<entry>
			<title type="html"><![CDATA[Re : Hoa_File, retour de chemin]]></title>
			<link rel="alternate" href="http://forum.hoa-project.net/post/1825/#p1825"/>
			<content type="html"><![CDATA[Non non, c'est très bien. Je suis content que tu débug sous Windows, c'est juste Windows qui m'énerve :P. À ne rien faire comme tout le monde, ça devient vraiment lourd au bout d'un moment.]]></content>
			<author>
				<name><![CDATA[Hywan]]></name>
				<uri>http://forum.hoa-project.net/user/2/</uri>
			</author>
			<updated>2010-01-11T20:10:23Z</updated>
			<id>http://forum.hoa-project.net/post/1825/#p1825</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re : Hoa_File, retour de chemin]]></title>
			<link rel="alternate" href="http://forum.hoa-project.net/post/1821/#p1821"/>
			<content type="html"><![CDATA[mais bien sur ^^

Ne te plains pas, je te debug sous windows...
Je peux toujours arrêter de reporter sur le forum :/]]></content>
			<author>
				<name><![CDATA[tetardo]]></name>
				<uri>http://forum.hoa-project.net/user/65/</uri>
			</author>
			<updated>2010-01-11T19:55:56Z</updated>
			<id>http://forum.hoa-project.net/post/1821/#p1821</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re : Hoa_File, retour de chemin]]></title>
			<link rel="alternate" href="http://forum.hoa-project.net/post/1818/#p1818"/>
			<content type="html"><![CDATA[Windows commence à me prendre la tête là … Tu veux pas développer sur un vrai OS ?
Au pire, reprend tes / mais enlève le dernier.]]></content>
			<author>
				<name><![CDATA[Hywan]]></name>
				<uri>http://forum.hoa-project.net/user/2/</uri>
			</author>
			<updated>2010-01-11T19:14:41Z</updated>
			<id>http://forum.hoa-project.net/post/1818/#p1818</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re : Hoa_File, retour de chemin]]></title>
			<link rel="alternate" href="http://forum.hoa-project.net/post/1816/#p1816"/>
			<content type="html"><![CDATA[Ça évite les conflits avec les séparateurs de nœuds dans les chemins de Windows. Et comme je me base sur ça, autant s'y baser aussi. C'est embêtant à écrire, je te l'accorde, mais abstrait l'ensemble :).]]></content>
			<author>
				<name><![CDATA[Hywan]]></name>
				<uri>http://forum.hoa-project.net/user/2/</uri>
			</author>
			<updated>2010-01-11T19:12:09Z</updated>
			<id>http://forum.hoa-project.net/post/1816/#p1816</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re : Hoa_File, retour de chemin]]></title>
			<link rel="alternate" href="http://forum.hoa-project.net/post/1815/#p1815"/>
			<content type="html"><![CDATA[Heu,

[code]
        $files = new Hoa_File_Finder('Data'.DS.'Themes'.DS.'Thumbs'.DS);
        $this->view->themes = $files->getIterator();
[/code]

j'obtiens

[code]
Data%5CThemes%5CThumbs%5CRay%20of%20Light.jpg
[/code]]]></content>
			<author>
				<name><![CDATA[tetardo]]></name>
				<uri>http://forum.hoa-project.net/user/65/</uri>
			</author>
			<updated>2010-01-11T19:11:04Z</updated>
			<id>http://forum.hoa-project.net/post/1815/#p1815</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re : Hoa_File, retour de chemin]]></title>
			<link rel="alternate" href="http://forum.hoa-project.net/post/1813/#p1813"/>
			<content type="html"><![CDATA[Hey !


Merci ^^]]></content>
			<author>
				<name><![CDATA[tetardo]]></name>
				<uri>http://forum.hoa-project.net/user/65/</uri>
			</author>
			<updated>2010-01-11T19:07:13Z</updated>
			<id>http://forum.hoa-project.net/post/1813/#p1813</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re : Hoa_File, retour de chemin]]></title>
			<link rel="alternate" href="http://forum.hoa-project.net/post/1811/#p1811"/>
			<content type="html"><![CDATA[Hey :),

Il faut utiliser la constante DS plutôt que d'utiliser / ou \ directement :).]]></content>
			<author>
				<name><![CDATA[Hywan]]></name>
				<uri>http://forum.hoa-project.net/user/2/</uri>
			</author>
			<updated>2010-01-11T19:01:58Z</updated>
			<id>http://forum.hoa-project.net/post/1811/#p1811</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Hoa_File, retour de chemin]]></title>
			<link rel="alternate" href="http://forum.hoa-project.net/post/1800/#p1800"/>
			<content type="html"><![CDATA[Hey

[code]
import('File.Finder');
$files = new Hoa_File_Finder('toto/tutu/');
$toto = $files->getIterator();
[/code]

retourne des chemins du genre

[code]toto/tutu/\fichier.jpg[/code]

Pour info, le serveur tourne sous windows.

Voilou ^^]]></content>
			<author>
				<name><![CDATA[tetardo]]></name>
				<uri>http://forum.hoa-project.net/user/65/</uri>
			</author>
			<updated>2010-01-08T01:04:21Z</updated>
			<id>http://forum.hoa-project.net/post/1800/#p1800</id>
		</entry>
</feed>

