Exemplo n.º 1
0
 public function __construct(array $array, Am_Table_WithData $table)
 {
     parent::__construct($array);
     $this->config_key = $table->getCustomFieldsConfigKey();
     $this->table = $table->getName(true);
     $this->pk = $table->getKeyField();
 }
 public function __construct($language)
 {
     $this->tDataSource = $this->createTDataSource();
     $this->language = $language;
     $translationData = $this->tDataSource->getTranslationData($this->language, TranslationDataSource_Abstract::FETCH_MODE_ALL);
     return parent::__construct(self::prepareArray($translationData));
 }