Yii Framework Forum: Crud Command Problem - Yii Framework Forum

Jump to content

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

Crud Command Problem Yii 1.1.13

#1 User is offline   CPzee 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 59
  • Joined: 11-November 11
  • Location:Sri Lanka

Posted 14 February 2013 - 12:55 AM

Hi,

In Yii-1.1.13, yiic shell after creating model, excecuted the crud command relevent to created model.From it created the create.php,update.php, index.php, view.php file. but not created the files _view,php, _form,php, _search,php, and admin.php files.

Is this a bug or is there any change in the command that excecute to create crud.

>> model Hospitals h_details
generate models/Hospitals.php
generate fixtures/h_details.php
generate unit/HospitalsTest.php

The following model classes are successfully generated:
Hospitals

If you have a 'db' database connection, you can test these models now with:
$model=Hospitals::model()->find();
print_r($model);

>> crud Hospitals
generate HospitalsController.php
generate HospitalsTest.php
mkdir /data/web/apache/my_projects/yii/protected/views/hospitals
generate create.php
generate update.php
generate index.php
generate view.php

>>
Found anything useful???? Pls click +
Ubuntu 12.04--PHP 5.3.10(Yii v1.1.13)
0

#2 User is offline   mbi 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 604
  • Joined: 08-May 09

Posted 14 February 2013 - 06:53 AM

https://github.com/y...yii/issues/2112
1

#3 User is offline   CPzee 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 59
  • Joined: 11-November 11
  • Location:Sri Lanka

Posted 12 July 2013 - 01:19 AM

https://github.com/y...d3ae0fb305221ee

Fixed..Think this will be added to 1.1.14
Found anything useful???? Pls click +
Ubuntu 12.04--PHP 5.3.10(Yii v1.1.13)
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