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

how document db filed #191

Closed
hooman-mirghasemi opened this issue Mar 7, 2020 · 8 comments
Closed

how document db filed #191

hooman-mirghasemi opened this issue Mar 7, 2020 · 8 comments
Labels
status:to be verified Needs to be reproduced and validated.

Comments

@hooman-mirghasemi
Copy link

Hi
excuse me I have a question
when I generate a model extent active record, that model have magic fileds . they are database fileds.
how can i write php comment for these filed? apidoc read them and generate document for theme?

@hooman-mirghasemi
Copy link
Author

/**

it seems api doc remove all @Property ....

@rob006
Copy link
Contributor

rob006 commented Mar 7, 2020

Is it @Property or @property?

@hooman-mirghasemi
Copy link
Author

lower case is correct.

@hooman-mirghasemi
Copy link
Author

@samdark
can you answer me, please ?
how can I write document for database filed such as
post model have id, title, content, image .... filed

@samdark
Copy link
Member

samdark commented Mar 24, 2020

I don't know, will try it after making next release of Yii 2 and some things on Yii 3.

@samdark samdark added the status:to be verified Needs to be reproduced and validated. label Mar 24, 2020
@samdark
Copy link
Member

samdark commented Mar 27, 2020

Verified that it still doesn't work. See #7, #132.

@samdark samdark closed this as completed Mar 27, 2020
@samdark
Copy link
Member

samdark commented Mar 27, 2020

Please test if #192 works for you.

@hooman-mirghasemi
Copy link
Author

Yes it works. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:to be verified Needs to be reproduced and validated.
Projects
None yet
Development

No branches or pull requests

3 participants