function MyRecords()
 {
     $className = $this->tableArray[0];
     $files = $this->MyPaginatedRecords();
     $dos = null;
     $ar = new ArrayList(array());
     if ($files) {
         foreach ($files as $file) {
             $file->ChildrenLink = '';
             if (!$file->canView()) {
                 $file->Error = "YOU DO NOT HAVE PERMISSION TO VIEW THIS FILE.";
             }
             if (!file_exists($file->getFullPath())) {
                 $file->Error = "FILE CAN NOT BE FOUND.";
             }
             if ($className::get()->filter(array("ParentID" => $file->ID))->Count()) {
                 $file->ChildrenLink = $this->createLevelLink($file->ID);
             }
             $file->UsageCount = MetaTagCMSControlFileUse::file_usage_count($file, false, $saveListOfPlaces = true);
             if ($file instanceof Folder) {
                 $file->Type == "Folder";
                 $file->Icon == "metatags/images/Folder.png";
             } elseif ($file->UsageCount) {
                 $file->ListOfPlaces = MetaTagCMSControlFileUse::retrieve_list_of_places($file->ID);
             }
             if (!$file->ListOfPlaces) {
                 unset($file->ListOfPlaces);
             }
             $file->GoOneUpLink = $this->GoOneUpLink();
             $file->RecycleLink = $this->makeRecycleLink($file->ID);
             $dos[$file->ID] = new ArrayList();
             $segmentArray = array();
             $item = $file;
             $segmentArray[] = array("URLSegment" => $item->Name, "ID" => $item->ID, "ClassName" => $item->ClassName, "Title" => $item->Title, "Link" => "/" . $item->Filename);
             $x = 0;
             while ($item && $item->ParentID && $x < 10) {
                 $x++;
                 $item = $className::get()->byID($item->ParentID);
                 if ($item) {
                     $segmentArray[] = array("URLSegment" => $item->Name, "ID" => $item->ID, "ClassName" => $item->ClassName, "Title" => $item->Title, "Link" => $this->createLevelLink(intval($item->ParentID) - 0));
                 }
             }
             $segmentArray = array_reverse($segmentArray);
             foreach ($segmentArray as $segment) {
                 $dos[$file->ID]->push(new ArrayData($segment));
             }
             $file->ParentSegments = $dos[$file->ID];
             $file->TEST = "BOOOOOOOOOOO";
             $ar->add($file);
         }
     }
     return $ar;
 }