Part of the EllisLab Network
   
 
is there no include helper? 
Posted: 18 April 2007 08:45 AM   [ Ignore ]  
Summer Student
Total Posts:  6
Joined  04-18-2007

when i saved files like..

/..../model/some/parent.php
/else/child.php

parent extends model
child extends parent

in some Controller I just want to use child class.
and I dont have to make a instance of parent (and.. it should be abstract)

so I want to include_once(parent.php) in some way..

but where should I put the codes in?

The code should be between after included model class and before include child class.

where is the right position? and how could I do?

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 719, on June 06, 2008 10:16 AM
Total Registered Members: 60660 Total Logged-in Users: 24
Total Topics: 73066 Total Anonymous Users: 1
Total Replies: 393974 Total Guests: 332
Total Posts: 467040    
Members ( View Memberlist )