Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save in Yii Audit Module #15

Open
vinao opened this issue Jun 17, 2014 · 8 comments
Open

Save in Yii Audit Module #15

vinao opened this issue Jun 17, 2014 · 8 comments

Comments

@vinao
Copy link

vinao commented Jun 17, 2014

Hello Guys

someone would tell me if it is possible to save this extension???

I'm using the gii, but not working!!!!

please have urgente

@vinao vinao changed the title Save Yii Audit Module Save in Yii Audit Module Jun 17, 2014
@vinao
Copy link
Author

vinao commented Jun 17, 2014

@cornernote good morning

you have idea the with da the insert in phpmyadmin, using o gii?

@cornernote
Copy link
Owner

Hello,

I am not sure what you are trying to do. Can you explain what you mean by "save this extension" ?

@vinao
Copy link
Author

vinao commented Jun 18, 2014

Hello cornernote,

I intend to include new fields in some tables of the database of extension, but was wondering if the to save in the database?

@cornernote
Copy link
Owner

I am still unsure what you want to do, or why.

Can you give me an example of which tables/fields you want to add, and explain the reason for doing so? This will help me understand your requirements.

@vinao
Copy link
Author

vinao commented Jun 20, 2014

ok ok for example

I have a table "users" and I need to add a new column on extension and both will be listed in the database.
So I questioned to save to the extent

@cornernote
Copy link
Owner

Hi @vinao,

I'm really sorry but I don't understand what you are trying to do. If you want to add a new field to a table it has nothing to do with this module. Simply add the field using phpmyadmin.

@vinao
Copy link
Author

vinao commented Jun 20, 2014

Yes, let's suppose we inserted this new field in the database, how do I save in this field, by using the extension?

@cornernote
Copy link
Owner

This extension doesn't save data in the database. You just save as you normally would in Yii.

$user = new User('create');
$user->my_field = 'some value';
$user->save();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants