Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    8
    Vote Rating
    0
    StefanGlaesser is on a distinguished road

      0  

    Default Answered: How can I call Controller-Function from refreshFn() ?

    Answered: How can I call Controller-Function from refreshFn() ?


    Hello,

    I have a function getResults() which loads a JSONP-Store and makes some things with the result.
    These things are implemented in my controller (I have currently only one). Now I want to reuse the same function within the refreshFn() - defined in the PullRefreshPlugin. So how can I call it from there?

    Best regards,
    Stefan

  2. You can call FireEvent and Listen for it in your Controller.

    OR

    you get the Controller and launch the Function like:
    APPNAME.app.getController("CONTROLLERNAME").FunctionToLaunch();

  3. #2
    Sencha User
    Join Date
    Feb 2012
    Location
    Germany
    Posts
    72
    Answers
    8
    Vote Rating
    2
    enno is on a distinguished road

      0  

    Default


    You can call FireEvent and Listen for it in your Controller.

    OR

    you get the Controller and launch the Function like:
    APPNAME.app.getController("CONTROLLERNAME").FunctionToLaunch();

Thread Participants: 1