![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 320 Pomógł: 53 Dołączył: 18.09.2007 Skąd: Radom Ostrzeżenie: (0%) ![]() ![]() |
Witam serdecznie.
Próbuję utworzyć sobie drzewka w Symfony.Propel. Wszystko skonfigurowane wg dokumentacji Propela no i mam pewien problem przy tworzeniu root noda Pierwsze tworzę tak
i z drugim mam problem:( Robię w ten sposób
ten sposób wywala mi błąd "Root nodes cannot have siblings" Może ktoś pomóc z tworzeniem drugiego root noda?? Pozdrawiam Ten post edytował artur_dziocha 20.07.2009, 22:49:39 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 320 Pomógł: 53 Dołączył: 18.09.2007 Skąd: Radom Ostrzeżenie: (0%) ![]() ![]() |
Witam
Kod category: _attributes: { phpName: Category, treeMode: NestedSet} id: { type: INTEGER, primaryKey: true, autoIncrement: true, required: true } lft: { type: integer, required: true, nestedSetLeftKey: true } rgt: { type: integer, required: true, nestedSetRightKey: true } scope: { type: integer, treeScopeKey: true, required: true, defaultValue: 0 } level: { type: INTEGER } name: { type: VARCHAR, size: '100', required: true } name_sluged: { type: VARCHAR, size: '100', required: true } model stworzony z konsoli Kod php symfony propel:build-model klasy Category oraz CategoryPeer wygladają prawidłowo. Pozdrawiam |
|
|
![]() ![]() |
![]() |
Aktualny czas: 13.10.2025 - 13:39 |