Tutorial: This and that about content objects

How do I know which tab block the user was editing, when he/she saves a content object?

function update()
{
  echo $this->block_nr;
  ...
  //your action here
  ...
  parent::update();
}

I dont't want a status flag for my content object

class PhenotypeContent_X extends PhenotypeContent
{
    // Name of the content object
 
    var $content_type = X;
 
    var $nostatus =1;
    ...
}

You think Phenotype Wiki/Documentation could be better?
We too. Please contribute: Edit this page

Bookmark and Share