…1000,",","'")) // parses the line it reads for fields in CSV format and returns an array containing the fields read. { if ($data[0]!='') // if column 1 is not empty { $this->model_catalog_product->importCsvData($data); // parse the data to model } else { // in case of errors, put debug code here…
…100% relevance between phrase and url. Weather of today, tweet of today, deal of today and many other possibilities have a 100% relevance between search phrase and url, I got curious and googled on websites that could tell me anything about how much a domain name could be worth. www.of.today…
…1000);The number of voices varies from operating system to operating system, but on OS X I’ve got 74! More characters than an episode of The Simpsons. Let’s try one out.As you can probably see, speechSynthesis.getVoices() returns an array. We could simply set the voice by doing:utterance.voice = speechSynthesis.getVoices()[11];This would tell…
…100% free to use and is open source. It is available on GitHub. You can use the framework in your personal and commercial WordPress projects without any restriction. Multiple OptionsTitan Framework comes with a range of 20+ options which are quite versatile in their functionality. These options range from the simpler ones…
…100}); // true validate({d:1,e:10,f:100000}); // false validate({g:1,h:10,i:10.5}); // false validate({j:1,k:10,l:'abc'}); // false The "maxProperties" and "minProperties" keywords allow you to limit the number of properties in the object. In our user example, the schema for the address property is: { "type": "object", "additionalProperties": { "type": "string" }, "maxProperties": 6, "required":…
…100', // Minimum value of the option which will be displayed 'max' => '500' // Maximum value of the option which will be displayed ) );This time I created a number type option inside an admin tab $aa_tab1. Its ID is aa_numb_in_tab1_panel2. If you look at the code closely, you'll…
…HTML5 gives us a lot of really good advantages. Besides the usual suspects like the unified error model, the introduction of new semantic tags or a simplified document type, one of the greatest improvements is constraint validation for forms. What would the web be without forms? Constraint validation tries to…
…100%; text-align: center; margin:40px 0;} div.logoBox .logo {display:inline; float:none;} div.logoBox .logo .large {display:inline;} This will fix the icons' padding issue and center-align the logo. Next we need to customize the style of the navigation bar and search box. As you can see, this is how our search bar should look:But…
…100% or auto, which I used to output the CSS. Check the code below to see if you can understand the trick here:<?php $sec_btn->createOption( array( 'id' => 'cfc_btn_width', 'type' => 'radio', 'options' => array( '100%' => 'YES', 'auto' => 'NO' ), 'name' => 'Make The Buttons Full Width?', 'css' =>…
…100% or auto, which I used to output the CSS. Check the code below to see if you can understand the trick here:<?php $sec_btn->createOption( array( 'id' => 'cfc_btn_width', 'type' => 'radio', 'options' => array( '100%' => 'YES', 'auto' => 'NO' ), 'name' => 'Make The Buttons Full Width?', 'css' =>…