function getPath()
 {
     if (empty($this->path)) {
         $this->path = null;
         $paths = NewsletterConfig::getAllViewPaths();
         foreach ($paths as $path) {
             $file = $path . 'elements' . DS . $this->element_folder . DS . Inflector::underscore($this->name) . '.ctp';
             if (file_exists($file)) {
                 $this->path = $file;
                 break;
             }
         }
     }
     return $this->path;
 }
 function getAllViewPaths()
 {
     return NewsletterConfig::getAllViewPaths();
 }