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 willf1976's Avatar
    Join Date
    May 2009
    Location
    carpinteria, ca
    Posts
    84
    Vote Rating
    0
    willf1976 is on a distinguished road

      0  

    Default Ext.ux.InArray

    Ext.ux.InArray


    Hi All

    I have been going through the classes we have developed over the last few years and sharing back with the community some of them that I think will be useful to others. These components have been tested extensively in ext-3.2.1.

    Here is: Ext.ux.InArray

    Singleton used to check if an element is in an array

    Code:
    /**
     * @author Will Ferrer, Ethan Brooks
     * @copyright (c) 2012, Intellectual Property Private Equity Group
     * @licensee 2012 developed under license for Switchsoft LLC http://www.switchsoft.com a "Direct response telephony company" as part of it's "VOIP Call distribution, ROI analysis platform, call recording, and IVR for inbound and outbound sales" and Run the Business Systems LLC a "Technology development investment group" as part of it's "PHP, Javascript rapid application development framework and MySQL analysis tools"
     * @license licensed under the terms of
     * the Open Source LGPL 3.0 license.  Commercial use is permitted to the extent
     * that the code/component(s) do NOT become part of another Open Source or Commercially
     * licensed development library or toolkit without explicit permission.
     * <p>License details: <a href="http://www.gnu.org/licenses/lgpl.html"
     * target="_blank">http://www.gnu.org/licenses/lgpl.html</a></p>
    * We are pretty nice just ask. We want to meet our licensees
    */
    /**
     * date: 07/15/2010
     * history:
     *        07/15/2010 -- created
     * @class Ext.ux.InArray
     * @singleton
     * @extends Object
     * Singleton used to check if an element is in an array
     **/
    
    Ext.ns('Ext.ux');
    Ext.ux.InArray = function(){
        return {
            /**
             * checks if a value is an array
             * @param {Mixed} value value to check for in the array
             * @param {Array} array array to search for value in
             * @param {Boolean} caseSensitive whether or not value is checking should be case sensitive
             * @return {Boolean}
             */
            check : function (value, array, caseSensitive) {
                var i;
                for (i=0; i < array.length; i++) {
                    // use === to check for Matches. ie., identical (===),
                    if(caseSensitive){ //performs match even the string is case sensitive
                        if (array[i].toLowerCase() == value.toLowerCase()) {
                            return true;
                        }
                    }else{
                        if (array[i] == value) {
                            return true;
                        }
                    }
                }
                return false;
            }
        };
    }();
    Ext.ux.inArray = Ext.ux.InArray.check;
    Best regards

    Will Ferrer (Run the Business)

  2. #2

  3. #3
    Sencha User willf1976's Avatar
    Join Date
    May 2009
    Location
    carpinteria, ca
    Posts
    84
    Vote Rating
    0
    willf1976 is on a distinguished road

      0  

    Default


    Hi wm003

    Thanks much for the heads up. I am very glad they added that functionality since I find it useful very frequently. We have stayed with version 3.2.1 because we have all our code tested for stability in it so I wasn't aware of this newer functionality.

    Best regards

    Will Ferrer

  4. #4

  5. #5
    Sencha User willf1976's Avatar
    Join Date
    May 2009
    Location
    carpinteria, ca
    Posts
    84
    Vote Rating
    0
    willf1976 is on a distinguished road

      0  

    Default


    That's even better. Thanks for the heads up -- I will use this method in the future

    Best regards

    Will Ferrer

Thread Participants: 1

Tags for this Thread