protected function _build() { $this->trigger('onbuild'); if ($is_pk = $this->get_par('db-field-is-pkey')) { $this->att('class', 'osy-pkey', true)->att('osypk', $this->get_par('db-field-connected')); } $this->build(); return parent::_build(-1); }