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

Упрощение отладки "через var_dump" #79

Open
korchasa opened this issue Jul 18, 2012 · 0 comments
Open

Упрощение отладки "через var_dump" #79

korchasa opened this issue Jul 18, 2012 · 0 comments

Comments

@korchasa
Copy link
Contributor

Делать var_dump($active_record_model) нельзя, т.к. lmbActiveRecord внутрях сильно сложный. Есть несколько вариантов:

  • реализовать lmbObject->toString и lmbCollection->toString()
  • сделать методы toString в lmbObject и lmbActiveRecord
  • заставить export() выводить упрощенную модель, без связанных объектов (потенциальная полома bc)
  • что-то еще

Хорошо бы еще в lmbCollection добавить toFlatArray(), который бы вел себя, как lmbArrayHelper::toFlatArray().

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

1 participant