Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Tutorial problem: Developing MVC Component for Joomla!2.5

Date: Tue, 7 Aug 2012 00:11:24 -0700 (PDT)
From: TDZWeb <webmas...@tdzwebdesign.no>
To: joomla-dev-general@googlegroups.com
Message-Id: <40284da6-b6ce-438e-abd9-d6b5ae8ae8b1@googlegroups.com>
In-Reply-To: <c4c72e15-cca1-4910-b51e-2a9c36ad60fa@googlegroups.com>
References: <bb1f5365-60bd-4a59-8b53-c4a1182478a4@googlegroups.com>
 <483f6473-3fc8-46b0-adc6-b008e1765bb8@googlegroups.com>
 <c4c72e15-cca1-4910-b51e-2a9c36ad60fa@googlegroups.com>
Subject: Re: Tutorial problem: Developing MVC Component for Joomla!2.5
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_12_31085822.1344323485109"

------=_Part_12_31085822.1344323485109
Content-Type: multipart/alternative; 
	boundary="----=_Part_13_16917487.1344323485110"

------=_Part_13_16917487.1344323485110
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Thank you very much! I must admit the MVC component looks daunting so to=20
have a working Helloworld template will be invaluable to me.

If you are cleaning up you might notice some deprecated raiseErrors and I=
=20
am curious about how you replace them. Personally I was just going to use=
=20
PHP trigger_error instead of throwing exceptions "manually".

kl. 07:37:12 UTC+2 tirsdag 7. august 2012 skrev Herman Peeren f=C3=B8lgende=
:
>
> Added to the Wiki: $this->canDo =3D $canDo; //for later use in the edit-f=
orm in=20
> the addToolBar()-method of that singular view. So now it should work. See=
=20
> remarks above however for more torough solutions. Also: the plural-view=
=20
> (HelloWorld*s*) is left unchanged.
>
> Some days ago there also was a question about assigning properties to a=
=20
> view-class (what we used to do with AssignRef() for PHP4-compatibility).=
=20
> I'll walk through the tutorial to make it more in line with the preferred=
=20
> Joomla! coding style: declaring variables etc.
>

------=_Part_13_16917487.1344323485110
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Thank you very much! I must admit the MVC component looks daunting so to ha=
ve a working Helloworld template will be invaluable to me.<div><br></div><d=
iv>If you are cleaning up you might notice some deprecated raiseErrors and =
I am curious about how you replace them. Personally I was just going to use=
 PHP trigger_error instead of throwing exceptions "manually".<br><br>kl. 07=
:37:12 UTC+2 tirsdag 7. august 2012 skrev Herman Peeren f=C3=B8lgende:<bloc=
kquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;border-l=
eft: 1px #ccc solid;padding-left: 1ex;">Added to the Wiki: <span></span><sp=
an><span style=3D"color:rgb(102,0,0)">$this-&gt;canDo</span><span style=3D"=
color:rgb(102,0,0)"> </span><span style=3D"color:rgb(102,0,0)">=3D</span><s=
pan style=3D"color:rgb(102,0,0)"> </span><span><span style=3D"color:rgb(102=
,0,0)"></span></span></span><span><span style=3D"color:rgb(102,0,0)">$canDo=
</span></span><span><span><span style=3D"color:rgb(102,0,0)">;</span></span=
></span><span> <span style=3D"color:rgb(153,153,153)">//for later use in th=
e edit-form</span></span><span><span><span style=3D"color:rgb(102,0,0)"> <s=
pan style=3D"color:rgb(0,0,0)">in the addToolBar()-method of that singular =
view. So now it should work. See remarks above however for more torough sol=
utions. Also: the plural-view (HelloWorld<b>s</b>) is left unchanged.<br><b=
r>Some days ago there also was a question about assigning properties to a v=
iew-class (what we used to do with AssignRef() for PHP4-compatibility). I'l=
l walk through the tutorial to make it more in line with the preferred Joom=
la! coding style: declaring variables etc.<br></span></span></span></span><=
/blockquote></div>
------=_Part_13_16917487.1344323485110--

------=_Part_12_31085822.1344323485109--