Search found 6 matches

by bengrice
Wed Feb 06, 2008 11:19 pm
Forum: Joombie Coding Q/A
Topic: MVC - Passing data between Controller and View via Model
Replies: 11
Views: 1288

Re: MVC - Passing data between Controller and View via Model

cool ill give this a go, thanks both for your time. much appreciated ! !

happy joomling  :D

ben
by bengrice
Wed Feb 06, 2008 7:17 pm
Forum: Joombie Coding Q/A
Topic: MVC - Passing data between Controller and View via Model
Replies: 11
Views: 1288

Re: MVC - Passing data between Controller and View via Model

thanks for your help ian, so if i use JView::setModel i can set more that one model? and then use JView::getModel to get them both? also: You can also use just normal classes that you need as library type classes how do i do this, because it sounds exactly what i need? sa i build a class that i want...
by bengrice
Wed Feb 06, 2008 11:09 am
Forum: Joombie Coding Q/A
Topic: MVC - Passing data between Controller and View via Model
Replies: 11
Views: 1288

Re: MVC - Passing data between Controller and View via Model

Sorry i know joomla has vast functions for user stuff, i was just giving you a scenario. so that question (re worded) would be, is there a way to include extra classes built by me that would be available in my component controllers and views, say if i had a class for encrypting and decrypting data a...
by bengrice
Tue Feb 05, 2008 3:09 pm
Forum: Joombie Coding Q/A
Topic: MVC - Passing data between Controller and View via Model
Replies: 11
Views: 1288

Re: MVC - Passing data between Controller and View via Model

Ye i am using 1.5, From what i already understood the model an view are tied together, i was just wondering that im sure the time will arrise when i need to access a method from another model. i suppose i could be missing the point, mayb i could include the model in the frist model. i am basically t...
by bengrice
Tue Feb 05, 2008 11:06 am
Forum: Joombie Coding Q/A
Topic: MVC - Passing data between Controller and View via Model
Replies: 11
Views: 1288

Re: MVC - Passing data between Controller and View via Model

Hi there, thanks for your reply. Didn't think any knew the answer lol  :D Well as i didn't get any reply till now i was forces to spend many hours looking at the current components and trying to work out how they did it. after going quite  :P mad i work out  the following, and it is s...
by bengrice
Wed Jan 30, 2008 12:52 pm
Forum: Joombie Coding Q/A
Topic: MVC - Passing data between Controller and View via Model
Replies: 11
Views: 1288

MVC - Passing data between Controller and View via Model

Hi there, Im very new to Joomla but hav a fairly good understanding of PHP. Basically i need to make a component for joomla and so after reading the MVC tutorials i did this successfully  :D woow! However this is my current problem: When i access a method in my controller i need to set some var...