Skip to main content
added 16 characters in body; edited title
Source Link
FFrewin
  • 19.8k
  • 10
  • 48
  • 101

what What if iI override the bind function of Jtable.?

actually i'mActually I'm learning component development in which i'mI'm creating a table class which extends JTable, i. I am also overrideoverriding the __construct whcihwhich is fine up to, but when iI override the bind function Like Below:


function bind($src, $egnore=array()){
  parent::bind($src, $egnore=array())
}
function bind($src, $egnore=array()){
  parent::bind($src, $egnore=array())
}

it will show save failed with following error but if iI remove this override, save/edit functions works fine why.
Why is this happen to me where i'm goinghappening? What's wrong?

what if i override bind function of Jtable.?

actually i'm learning component development in which i'm creating a table class which extends JTable, i also override the __construct whcih is fine up to, but when i override bind function Like Below


function bind($src, $egnore=array()){
  parent::bind($src, $egnore=array())
}

it will show save failed with following error but if i remove this override, save/edit functions works fine why this happen to me where i'm going wrong

What if I override the bind function of Jtable.?

Actually I'm learning component development in which I'm creating a table class which extends JTable. I am also overriding the __construct which is fine up to, but when I override the bind function Like Below:

function bind($src, $egnore=array()){
  parent::bind($src, $egnore=array())
}

it will show save failed with following error but if I remove this override, save/edit functions works fine.
Why is this happening? What's wrong?

Source Link

what if i override bind function of Jtable.?

actually i'm learning component development in which i'm creating a table class which extends JTable, i also override the __construct whcih is fine up to, but when i override bind function Like Below

function bind($src, $egnore=array()){
  parent::bind($src, $egnore=array())
}

it will show save failed with following error but if i remove this override, save/edit functions works fine why this happen to me where i'm going wrong