Closed anktx closed 11 years ago
This extension contains only typical NS tree scopes. Also scope should not do any queries by self. I can explain more why. For example:
$ancestors=$owner->ancestors()->findAll();
Someone may be want to use scope before getting ancestors like:
$ancestors=$owner->ancestors()->published()->findAll();
And this ajar() method will be unusable. We try to keep only always usable methods.
ajar()
This extension contains only typical NS tree scopes. Also scope should not do any queries by self. I can explain more why. For example:
Someone may be want to use scope before getting ancestors like:
And this
ajar()
method will be unusable. We try to keep only always usable methods.