Dmytro Lukianenko

Results 8 comments of Dmytro Lukianenko

We have methods: getRoots() and descendants() but they not work together

One way: add 0 ancestor, without add document with id 0, than we can use descendantsOf(0), easy but not beautiful solution https://take.ms/4GHqk Or add one more method, we stay on...

Yes, all logic from your library. Couldn't integrate as a dependency, so added to the core.

Вот тут можно глянуть http://take.ms/4oXkP https://www.modmore.com/contentblocks/live-demo/

Круто Отправлено с iPhone > 16 июня 2017 г., в 10:58, sunhaim написал(а): > > Можно сделать что-то наподобие такого: > > > — > You are receiving this because...

Все работает, столкнулся с той же проблемой. Нужно было банально сохранить в переменную: $lead = $lead = $lead->save(); тогда будет id и будет все ок