DO Formbuilder multilingual
| From: | Alexander Petri | Date: | Fri, 26 Nov 2004 12:17:04 +0000 |
| Subject: | DO Formbuilder multilingual | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-15830@lists.php.net to get a copy of this message | ||
hi!
i have a country table
with: iso_code, name_en, name_de
i builded my DataObject:
////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////
/* the code above is auto generated do not remove the tag below */
###END_AUTOCODE
function do_country(){
$this->fb_linkDisplayFields = array('name_'.LANG);
//parent::DB_DataObject();
}
}
////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////
LANG ist my languagecode ( 'de' or 'en')
so as you see i wrote a constructor to set the displayColumn name_en or
name_de
it works ... but doesnt i have to call the parent constructor??
see at //parent::DB_DataObject(); ??