EnsEMBL::Web::Command::Website::Interface News
Included librariesPackage variablesGeneral documentationMethods
Toolbar
WebCvsRaw content
Package variables
No package variables defined.
Included modules
Class::Std
EnsEMBL::Web::Data::NewsItem
Inherit
EnsEMBL::Web::Command
Synopsis
No synopsis!
Description
No description!
Methods
process
No description
Code
Methods description
None available.
Methods code
processdescriptionprevnextTop
sub process {
  my $self = shift;
  my $object = $self->object;
  my $data;

  ## Create interface object, which controls the forms
my $interface = EnsEMBL::Web::Interface->new(); $data = EnsEMBL::Web::Data::NewsItem->new($object->param('id')); $interface->data($data); $interface->discover; $interface->modify_element('team', {'type' => 'NoEdit'}); $interface->modify_element('declaration', {'type' => 'NoEdit'}); $interface->modify_element('notes', {'rows' => 2, 'cols' => 80}); $interface->modify_element('content', {'type' => 'Html'}); $interface->modify_element('news_category_id', {'label' => 'Category'}); $interface->element_order(['team', 'declaration', 'notes', 'species', 'news_category_id', 'title', 'content', 'status', 'news_done']); $interface->dropdown(1); $interface->option_columns(['title','content']); $interface->configure($self->webpage, $object); } } 1;
}
General documentation
No general documentation available.