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

Update TimestampableListener.php #36

Merged
merged 1 commit into from
Mar 3, 2013
Merged

Update TimestampableListener.php #36

merged 1 commit into from
Mar 3, 2013

Conversation

trsteel88
Copy link
Contributor

Removed unnecessary use statement

Removed unnecessary use statement
@docteurklein
Copy link
Contributor

thanks!

docteurklein added a commit that referenced this pull request Mar 3, 2013
Update TimestampableListener.php
@docteurklein docteurklein merged commit 01688a5 into KnpLabs:master Mar 3, 2013
@trsteel88
Copy link
Contributor Author

No worries.

I understand this may not be the best channel to communicate, but I was wondering if you had any examples of using the Tree Behavior with forms?

Basically, I want to have a parent dropdown in a form. If the parent changes, obviously I need to update the tree which I suppose could be done with a listener similar to the Timestampable listener.

Also, it may be common for entities using the tree to have "getChildren" method already implemented. Do you think that the "getChildren", "addChild" methods should be renamed to "getChildNodes" and "addChildNode" so these methods aren't overwritten?

@docteurklein
Copy link
Contributor

see #38 and #39

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

Successfully merging this pull request may close these issues.

2 participants