/** * @param PROJECT $folder Project from which to print objects. */ public function __construct($folder) { parent::__construct($folder); $field = new BOOLEAN_FIELD(); $field->id = 'show_changes'; $field->caption = 'Show Changes'; $field->description = 'Show changes under each selected job.'; $this->add_field($field); $field = new BOOLEAN_FIELD(); $field->id = 'show_files'; $field->caption = 'Show Files'; $field->description = 'Show files associated with a change.'; $this->add_field($field); }
/** * @param ALBUM $folder Print objects from this album. */ public function __construct($folder) { parent::__construct($folder); $field = new BOOLEAN_FIELD(); $field->id = 'show_pictures'; $field->caption = 'Pictures'; $field->description = 'Show pictures with journal entries.'; $this->add_field($field); $field = new BOOLEAN_FIELD(); $field->id = 'resize_pictures'; $field->caption = ''; $field->description = 'Resize pictures according to album rules.'; $this->add_field($field); }