• Main Page
  • Related Pages
  • Modules
  • Classes
  • Files
  • File List
  • File Members

tests/views_plugin_localization_test.inc

00001 <?php
00002 
00006 class views_plugin_localization_test extends views_plugin_localization {
00010   var $translated_strings;
00015   function translate_string($string, $keys = array(), $format = '') {
00016     $this->translated_strings[] = $string;
00017     return $string . "-translated";
00018   }
00019 
00023   function export($source) {
00024     if (!empty($source['value'])) {
00025       $this->export_strings[] = $source['value'];
00026     }
00027   }
00028 
00032   function get_export_strings() {
00033     return $this->export_strings;
00034   }
00035 }

Generated on Sun Feb 26 2012 12:52:52 for Views by  doxygen 1.7.1