Welcome Guest, Not a member yet? Register   Sign In
How does one to extend Controller class?
#3

[eluser]TaxiMan[/eluser]
I'll try to explain. I'm just learning CI by creating some project. And now there is a barrier. First of all I don't understand how can CI load secondary views from primary right? For example I have a primary view with marked {} secondary views inside:

Code:
<html>
{head}
<body>
{top}
<div class="menu">
...
</div>
{footer}
&lt;/body&gt;
&lt;/html&gt;

How to implement this scheme by means of CI?

I've got a real attitude problem. Temporaly I've left this question. But there is another one. I have a lot of my controllers wish must use my method. Accordingly I must to create some parent class for the method. But this parent controller class must extends CI Controller. How can I do it right? Thanks!

P.S. I hope you understand me.


Messages In This Thread
How does one to extend Controller class? - by El Forum - 08-30-2009, 09:05 AM
How does one to extend Controller class? - by El Forum - 08-30-2009, 09:09 AM
How does one to extend Controller class? - by El Forum - 08-30-2009, 09:38 AM
How does one to extend Controller class? - by El Forum - 08-30-2009, 09:49 AM
How does one to extend Controller class? - by El Forum - 08-30-2009, 11:49 AM
How does one to extend Controller class? - by El Forum - 08-30-2009, 12:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB