Minor change: my name in the class comments
authorGustavo Martin Morcuende <gu.martinm@gmail.com>
Tue, 15 May 2012 17:09:12 +0000 (19:09 +0200)
committerGustavo Martin Morcuende <gu.martinm@gmail.com>
Tue, 15 May 2012 17:09:12 +0000 (19:09 +0200)
Class: lib/model/doctrine/Language.class.php

lib/model/doctrine/Language.class.php

index 0a7b854..e64d799 100644 (file)
@@ -7,9 +7,19 @@
  * 
  * @package    mobiads
  * @subpackage model
- * @author     Your name here
- * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
+ * @author     Gustavo Martin Morcuende
+ * @version
  */
 class Language extends BaseLanguage
 {
+
+  /**
+   * Returns the string representation of this object.
+   *
+   * @return string
+   */
+   public function __toString()
+   {
+      return (string) $this->getLanguageName();
+   }
 }