Yii Framework Forum: Netbeans - Autocomplete - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Netbeans - Autocomplete Rate Topic: ***** 1 Votes

#1 User is offline   gallego123 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 535
  • Joined: 11-August 09
  • Location:Argentina

Posted 14 February 2012 - 07:15 AM

Hola, no se si es noticia vieja
para mi es nueva y esta muy buena

http://skatox.com/bl...ii-en-netbeans/

lo que hice ademas fue modificar el controller.php del crud (o el de la extensión que usen)
agregando esto al comienzo


/**
 * @var $this <?php echo $this->controllerClass;?>
 * @var $model <?php echo $this->modelClass;?>
 * @var $_model <?php echo $this->modelClass;?>
 */



también modifique el "_form.php"
agregando

/**
 * @var $model <?php echo $this->modelClass;?>
 * @var $form CActiveForm
 */

saludos

This post has been edited by Horacio Segura: 14 February 2012 - 07:25 AM

KISS - Keep It Simple Stupid
ASAP-As Soon As Possible
http://www.yiiframew...oc/cookbook/71/
1

#2 User is offline   robregonm 

  • Experienced Yii Developer
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 602
  • Joined: 30-July 09
  • Location:Colombia

Posted 19 February 2012 - 02:16 PM

Excelente tip.
Gracias.
Ricardo Obregón
LinkedIn Profile
YiiFramework en Español - http://yiiframework.co/ - Yii Code Generator for Bootstrap
http://obregon.co/ - https://1server.co/
PHP 5.5+, nginx, MySQL, PostgreSQL, Yii 1.x & 2.x, CanJS and more.
Follow me: @robregonm & @obregonco & @1ServerCo.
0

#3 User is offline   Luis Guillermo Trejo 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 31
  • Joined: 29-March 12

Posted 03 May 2012 - 10:32 AM

Muy útil este post. De verdad muchas gracias.
0

#4 User is offline   marcanuy 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 24
  • Joined: 02-August 11
  • Location:Montevideo, Uruguay

Posted 04 May 2012 - 10:40 AM

Hay un wiki completo para la configuracion de Yii+Netbeans: NetBeans IDE and Yii projects
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users