PluginProbe
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar / 3.2.8
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar v3.2.8
3.3.3 3.3.2 3.3.1 3.3.0 3.2.14 3.2.13 3.2.12 3.2.11 3.2.10 3.2.9 3.2.8 3.2.7 trunk 0.2.5.5 0.2.5.6 0.2.5.7 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 All 158 releases
notificationx / vendor / wpdeveloper / lib-utility / readme.md

readme.md in NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar 3.2.8, at vendor/wpdeveloper/lib-utility/readme.md

60 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 ## Classes
2
3 - Utility: General utility methods.
4 - Job: Job and processing handling.
5 - Loader: PSR class loader.
6
7 ## Utility Methods
8
9 - extend()
10 - defaults()
11 - pluralize()
12 - singularize()
13 - ordinalize()
14 - hashify_file_name()
15 - can_get_image()
16 - ...
17
18 ## Changelog
19
20 0.2.4
21 - Added Utility::hashify_file_name() method;
22 - Added seperator options to Utility:;create_slug() to support things such as "::"
23
24 ## Usage
25
26 ```PHP
27 // Extend an Array or Object with another for easily setting of defaults. This is similar to extend() but in reverse.
28 $settings = UsabilityDynamics\Utility::defaults( $configurationObject, $defaultsObject );
29
30 // Find composer.json file and return as Object.
31 $composer = UsabilityDynamics\Utility::findUp( 'composer.json', __DIR__ );
32 echo "Versio is {$composer->version}."
33 ```
34
35
36 ## License
37
38 (The MIT License)
39
40 Copyright (c) 2013 Usability Dynamics, Inc. <[email protected]>
41
42 Permission is hereby granted, free of charge, to any person obtaining
43 a copy of this software and associated documentation files (the
44 'Software'), to deal in the Software without restriction, including
45 without limitation the rights to use, copy, modify, merge, publish,
46 distribute, sublicense, and/or sell copies of the Software, and to
47 permit persons to whom the Software is furnished to do so, subject to
48 the following conditions:
49
50 The above copyright notice and this permission notice shall be
51 included in all copies or substantial portions of the Software.
52
53 THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
54 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
55 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
56 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
57 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
58 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
59 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
60