5 added 8 characters in body
source | link

iI am working with the magento(1Magento CE 1.9.0.1), i and I like to extend the second controller from the first controller class.

First controller

class Federallawyer_Flphotos_SuggestController
    extends Mage_Core_Controller_Front_Action { 
 
}

Second controller

class Federallawyer_Flphotos_ConnectController
    extends Federallawyer_Flphotos_SuggestController {
}

the second controller is extended from the first controller, but magento throwMagento is throwing an error.

the error is Call to undefined method Federallawyer_Flphotos_ConnectController::getCustomerSession(),

Call to undefined method Federallawyer_Flphotos_ConnectController::getCustomerSession(),

but iWhile I define this method in firstcontrollerfirst controller file.

your idea and suggestionAny idea's or suggestions will help me more

i am working with the magento(1.9.0.1), i like to extend the second controller from the first controller class.

First controller

class Federallawyer_Flphotos_SuggestController extends Mage_Core_Controller_Front_Action { 
 
}

Second controller

class Federallawyer_Flphotos_ConnectController extends Federallawyer_Flphotos_SuggestController {
}

the second controller is extended from the first controller, but magento throw an error.

the error is Call to undefined method Federallawyer_Flphotos_ConnectController::getCustomerSession(),

but i define this method in firstcontroller file.

your idea and suggestion will help me more

I am working with Magento CE 1.9.0.1 and I like to extend the second controller from the first controller class.

First controller

class Federallawyer_Flphotos_SuggestController
    extends Mage_Core_Controller_Front_Action { 
}

Second controller

class Federallawyer_Flphotos_ConnectController
    extends Federallawyer_Flphotos_SuggestController {
}

the second controller is extended from the first controller, but Magento is throwing an error.

the error is

Call to undefined method Federallawyer_Flphotos_ConnectController::getCustomerSession(),

While I define this method in first controller file.

Any idea's or suggestions will help me

4 added 28 characters in body
source | link

i am working with the magento(1.9.0.1), i like to extend the second controller from the first controller class.

first controller

class Federallawyer_Flphotos_SuggestController extends Mage_Core_Controller_Front_Action { First controller

}

class Federallawyer_Flphotos_SuggestController extends Mage_Core_Controller_Front_Action { 

}

second controllerSecond controller

class Federallawyer_Flphotos_ConnectController extends Federallawyer_Flphotos_SuggestController { }

class Federallawyer_Flphotos_ConnectController extends Federallawyer_Flphotos_SuggestController {
}

the second controller is extended from the first controller, but magento throw an error.

the error is Call to undefined method Federallawyer_Flphotos_ConnectController::getCustomerSession(),

but i define this method in firstcontroller file.

your idea and suggestion will help me more

i am working with the magento(1.9.0.1), i like to extend the second controller from the first controller class.

first controller

class Federallawyer_Flphotos_SuggestController extends Mage_Core_Controller_Front_Action {

}

second controller

class Federallawyer_Flphotos_ConnectController extends Federallawyer_Flphotos_SuggestController { }

the second controller is extended from the first controller, but magento throw an error.

the error is Call to undefined method Federallawyer_Flphotos_ConnectController::getCustomerSession(),

but i define this method in firstcontroller file.

your idea and suggestion will help me more

i am working with the magento(1.9.0.1), i like to extend the second controller from the first controller class.

First controller

class Federallawyer_Flphotos_SuggestController extends Mage_Core_Controller_Front_Action { 

}

Second controller

class Federallawyer_Flphotos_ConnectController extends Federallawyer_Flphotos_SuggestController {
}

the second controller is extended from the first controller, but magento throw an error.

the error is Call to undefined method Federallawyer_Flphotos_ConnectController::getCustomerSession(),

but i define this method in firstcontroller file.

your idea and suggestion will help me more

3 Rollback to Revision 1
source | link

i am working with the magento(1.9.0.1), i like to extend the second controller from the first controller class.

first controller

cclass Federallawyer_Flphotos_SuggestController extends Mage_Core_Controller_Front_Action {

lass Federallawyer_Flphotos_SuggestController extends Mage_Core_Controller_Front_Action { 

}

second controller

class Federallawyer_Flphotos_ConnectController extends Federallawyer_Flphotos_SuggestController {
}

}

second controller

class Federallawyer_Flphotos_ConnectController extends Federallawyer_Flphotos_SuggestController { }

the second controller is extended from the first controller, but magento throw an error.

the error is Call to undefined method Federallawyer_Flphotos_ConnectController::getCustomerSession(),

but i define this method in firstcontroller file.

your idea and suggestion will help me more

i am working with the magento(1.9.0.1), i like to extend the second controller from the first controller class.

first controller

c

lass Federallawyer_Flphotos_SuggestController extends Mage_Core_Controller_Front_Action { 

}

second controller

class Federallawyer_Flphotos_ConnectController extends Federallawyer_Flphotos_SuggestController {
}

the second controller is extended from the first controller, but magento throw an error.

the error is Call to undefined method Federallawyer_Flphotos_ConnectController::getCustomerSession(),

but i define this method in firstcontroller file.

your idea and suggestion will help me more

i am working with the magento(1.9.0.1), i like to extend the second controller from the first controller class.

first controller

class Federallawyer_Flphotos_SuggestController extends Mage_Core_Controller_Front_Action {

}

second controller

class Federallawyer_Flphotos_ConnectController extends Federallawyer_Flphotos_SuggestController { }

the second controller is extended from the first controller, but magento throw an error.

the error is Call to undefined method Federallawyer_Flphotos_ConnectController::getCustomerSession(),

but i define this method in firstcontroller file.

your idea and suggestion will help me more

2 added 36 characters in body
source | link
1
source | link