This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FadeTransitionRegion = Backbone.Marionette.Region.extend | |
show: (view)-> | |
@ensureEl() | |
view.render() | |
@close -> | |
return if @currentView and @currentView isnt view | |
@currentView = view |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class My\Query extends Query | |
{ | |
$this->criterion = new Criterion\LogicalAND( | |
array( | |
new Criterion\Subtree( $root->pathString ), | |
new Criterion\ContentTypeId( $ids ), | |
new Criterion\Visibility( Criterion\Visibility::VISIBLE ) | |
) | |
); |