Question about reorder layer list

Discussion created by on Feb 10, 2014
lyrs =, function (li, reorder_idx) {             
         var lyrName =".")[".").length-1];
          app.layerLookup[lyrName] = reorder_idx;
          // only want the layer's name, don't need the db name and owner name
   return lyrName;


in this part, how can I add more information from database in variable "lyrName" ?

Thank you!