public function getLayers()
 {
     if (!$this->layers) {
         $this->layers = LayerManager::layers_for($this, $this->dataSource);
     }
     return $this->layers;
 }
 public function getLayers()
 {
     if (!$this->layers) {
         $this->layers = LayerManager::layers_for($this->owner);
         foreach ($this->layers as $l) {
             $others = $l->getLayers();
         }
         if ($this->owner && $this->owner->ID) {
         }
         if (!$this->layers) {
             $this->layers = ArrayList::create();
         }
     }
     return $this->layers;
 }