getBiography() public method

public getBiography ( ) : string
return string
示例#1
0
       $biography = "";
       if ($id > 0) {
           $bioObj = new AuthorBiography($id, $defaultLanguage);
           //$biography = $author->getBiography($defaultLanguage);
           //$lang_first_name = $biography[0]["first_name"];
           //$lang_last_name = $biography[0]["last_name"];
           $lang_first_name = $bioObj->getFirstName();
           $lang_last_name = $bioObj->getLastName();
           if (strlen($lang_first_name) == 0) {
               $lang_first_name = $first_name;
           }
           if (strlen($lang_last_name) == 0) {
               $lang_last_name = $last_name;
           }
           //$biography = $biography[0]["biography"];
           $biography = $bioObj->getBiography();
       }
       echo $combo;
       ?>
       </select>
     </li>
     <li>
       <label class="smaller"><?php putGS('Translate from'); ?>:</label>
       <select name="translate" id="lang_trans" class="input_select" style="width:120px;" onchange="changeTranslation(<?php echo $id ?>)">
       <?php echo $combo ?>
       </select>
     </li>
   </ul>
 </fieldset>
 <fieldset class="frame">
   <div class="authorThumb">