/**
  * Load initial properties from this object.
  * @param OBJECT_IN_FOLDER $obj
  */
 public function load_from_object($obj)
 {
     $folder = $obj->parent_folder();
     $this->set_value('id', $obj->id);
     $this->set_value('subject', "{$folder->title}: {$obj->title}");
     $this->load_with_defaults();
 }
 /**
  * Show parent folders in outline form. 
  * @param OBJECT_IN_FOLDER $obj
  * @access private
  */
 protected function _echo_folders($obj)
 {
     $folder = $obj->parent_folder();
     $depth = 0;
     while ($folder->id && !$folder->is_root()) {
         if ($depth) {
             echo str_repeat(' ', ($depth - 1) * 2);
             echo $this->app->display_options->object_separator;
         }
         echo $this->app->get_icon_with_text($folder->icon_url, Sixteen_px, $folder->title_as_link());
         echo '<br>';
         $folder = $folder->parent_folder();
         $depth += 1;
     }
 }