static function mediaItemEdit($html, $object, $i) { if ($i) { // only tags on bulk edit tabs return parent::_mediaItemEdit($html, $object, $i, array(array('table' => $object->table, 'name' => 'tags', 'desc' => gettext('Tags'), 'type' => NULL, 'edit' => 'function', 'function' => 'optionalObjectFields::tags'))); } else { return parent::_mediaItemEdit($html, $object, $i, self::fields()); } }
static function mediaItemEdit($html, $object, $i) { return parent::_mediaItemEdit($html, $object, $i, self::$fields); }