/**
  * @param ALBUM $folder Configure commands for this object.
  */
 public function __construct($folder)
 {
     parent::__construct($folder);
     $cmd = $this->command_at('new');
     $cmd->icon = '{app_icons}buttons/new_album';
     $cmd->importance = Command_importance_high + Command_importance_increment;
     $cmd->caption = 'New album';
 }
 /**
  * @param RECIPE_BOOK $folder Configure commands for this object.
  */
 public function __construct($folder)
 {
     parent::__construct($folder);
     $cmd = $this->command_at('new');
     $cmd->caption = 'New recipe book';
     $cmd = $this->command_at('new_entry');
     $cmd->caption = 'New recipe';
     $cmd->icon = '{app_icons}buttons/new_recipe';
     if ($folder->is_organizational()) {
         $cmd->link = "select_folder.php?page_name=create_recipe.php";
     } else {
         $cmd->link = "create_recipe.php?id={$folder->id}";
     }
 }
 /**
  * @param PROJECT $folder Configure commands for this object.
  */
 public function __construct($folder)
 {
     parent::__construct($folder);
     $cmd = $this->command_at('new');
     $cmd->caption = 'New project';
 }