<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html">CakePHP-it - AppView esiste?</title>
	<link rel="self" href="/rewrite.php"/>
	<updated>2008-08-26T22:34:21Z</updated>
	<generator>PunBB</generator>
	<id>http://www.cakephp-it.org/topic87-appview-esiste.html</id>
		<entry>
			<title type="html">AppView esiste?</title>
			<link rel="alternate" href="http://www.cakephp-it.org/post389.html#p389"/>
			<content type="html">Ho provato a inserire il file &quot;[b]app_view.php[/b]&quot; dove tengo &quot;[b]app_controller.php[/b]&quot; e &quot;[b]app_model.php[/b]&quot; ma quando vado a richiamare un metodo dentro &quot;[b]app_view[/b]&quot; mi dà errore.

Posto il sorgente:
[code]// ./app/app_view.php
class AppView extends View
{
    function is_logged()
    {
        return ( ! $this-&gt;Session-&gt;check(&#039;User&#039;) ) ? FALSE : TRUE;
    }
}
[/code]

Grazie :)</content>
			<author>
				<name>Namaless</name>
			</author>
			<updated>2008-08-26T22:34:21Z</updated>
			<id>http://www.cakephp-it.org/post389.html#p389</id>
		</entry>
</feed>
