Posted: June 5, 2017 at 8:07 am
|
Hi there, there are some methods in EE_Event class that returns bool but they should be returning strings (there are more): public boolean #phone( ) http://code.eventespresso.com/class-EE_Event.html probably they are working ok but the documentation seams to be wrong? thanks. |
|
also cant find methods to get “event start date” and “event end date”… this might needs to be add? /** /** |
Thanks for reporting. It turns out that code.eventespresso.com is out of date with the current codebase and we will be retiring it soon. I can recommend you verify via the actual code in your IDE and/or use the code hosted on github as the reference. You can post new issues for any further phpdoc issues you find (or even submit pull requests if you want to help) : We are currently in the midst of a slow process of verifying phpdocs and formatting of code is correct whenever we touch a file as a part of ongoing work. |
|
|
ok, looks like the github files are also out of date? missing methods start_date() and end_date(); documentation is also wrong like code.eventespresso.com |
No actually you’re looking at an older branch that’s out of sync with master. https://github.com/eventespresso/event-espresso-core/blob/master/core/db_classes/EE_Event.class.php |
|
|
all this files looks the same here. also here https://github.com/eventespresso/event-espresso-core/blob/master/core/db_classes/EE_Event.class.php i cant see methods to get the event start/end date…do you? |
Those are not methods within the EE_Event class. Those are methods you’ll find within the EE_Datetime class. |
|
The support post ‘EE_Event class documentation errors?’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.