Ver Mensaje Individual
  #9 (permalink)  
Antiguo 18/10/2011, 16:15
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 17 años, 10 meses
Puntos: 2135
Respuesta: Saber que tipo de objeto devuelve un método

Pues simplemente pones el doc block correcto (ejemplo):
Código PHP:
Ver original
  1. /**
  2.      * Returns a array with filter field names, if a array is supplied,
  3.      * it must be in this form:
  4.      * 'field_name' => array( 'field_name',
  5.      *                        array_data,
  6.      *                 )
  7.      *
  8.      * The double name is importat to keep track of data
  9.      *
  10.      * @return array
  11.      */
  12.     abstract public function getFilterData();

Eclipse PDT tiene ya las herramientas en el menu de Source.

Saludos.