To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Show
Ignore:
Timestamp:
04/30/10 10:45:33 (2 years ago)
Author:
dordille
Message:

Added aSlot::getText to return a plain text representation of a slots content.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/apostrophePlugin/trunk/lib/model/doctrine/PluginaSlot.class.php

    r361 r1101  
    3232 
    3333  public function getSearchText() 
     34  { 
     35    return ''; 
     36  } 
     37 
     38  /** 
     39   * This function returns a plaintext representation of your slot's contents. 
     40   * This differs from getSearchText in that it should only be used for slots 
     41   * with user entered text. 
     42   * @return string 
     43   */ 
     44  public function getText() 
    3445  { 
    3546    return '';