original_string: public function getLongtermFileName($controller, $dateValue = null)
      {
          if ($dateValue instanceof \Zend_Date) {
              $date = $dateValue;
          } else {
              $date = new \MUtil_Date($dateValue);
          }
  
          $name[] = $controller;
          $name[] = $date->toString('YYYY-MM-ddTHH-mm-ss');
          $name[] = preg_replace('/[^a-zA-Z0-9_]/', '', $this->currentUser->getLoginName());
          $name[] = $this->getOrganizationCode();
  
          return implode('.', array_filter($name));
      }
code: public function getLongtermFileName($controller, $dateValue = null)
      {
          if ($dateValue instanceof \Zend_Date) {
              $date = $dateValue;
          } else {
              $date = new \MUtil_Date($dateValue);
          }
  
          $name[] = $controller;
          $name[] = $date->toString('YYYY-MM-ddTHH-mm-ss');
          $name[] = preg_replace('/[^a-zA-Z0-9_]/', '', $this->currentUser->getLoginName());
          $name[] = $this->getOrganizationCode();
  
          return implode('.', array_filter($name));
      }
code_tokens: public function getLongtermFileName ( $ controller , $ dateValue = null ) { if ( $ dateValue instanceof \ Zend_Date ) { $ date = $ dateValue ; } else { $ date = new \ MUtil_Date ( $ dateValue ) ; } $ name [ ] = $ controller ; $ name [ ] = $ date -> toString ( 'YYYY-MM-ddTHH-mm-ss' ) ; $ name [ ] = preg_replace ( '/[^a-zA-Z0-9_]/' , '' , $ this -> currentUser -> getLoginName ( ) ) ; $ name [ ] = $ this -> getOrganizationCode ( ) ; return implode ( '.' , array_filter ( $ name ) ) ; }
docstring: The file name to use for final storage, minus the extension
  
  @param string $controller Name of controller (or other id)
  @param mixed $dateValue Optional date item to use in filename, timestamp, or DateObject or MUtil_Date
  @return string
docstring_tokens: The file name to use for final storage minus the extension