Package com.yiistorm.references.ReferenceProviders

Examples of com.yiistorm.references.ReferenceProviders.ViewRenderViewReferenceProvider


        //View-to-view
        registrar.registerReferenceProvider(
                PlatformPatterns.psiElement(PhpPsiElement.class)
                        .withParent(isParamListInMethodWithName(".+?render(Partial)*\\(.+"))
                        .andNot(inFile(PlatformPatterns.string().endsWith("Controller.php")))
                , new ViewRenderViewReferenceProvider());
        //Controller-to-view
        registrar.registerReferenceProvider(
                PlatformPatterns.psiElement(PhpPsiElement.class)
                        .withParent(isParamListInMethodWithName("(?sim).+?render(Partial)*\\(.+"))
                        .and(inFile(PlatformPatterns.string().endsWith("Controller.php")))
View Full Code Here

TOP

Related Classes of com.yiistorm.references.ReferenceProviders.ViewRenderViewReferenceProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.