OOP (Object-Oriented Programming)

4 Pillars of OOP
Encapsulation
Abstraction
Inheritance
Polymorphism

ID Number Breakdown

The first six digits (YYMMDD) are based on your date of birth
23 January 1988 would be written as : 88 01 23

The next four digits (SSSS) are used to define your gender
females are assigned numbers in the range 0000-4999
males are assigned numbers in the range 5000-9999

The next digit (C) shows if you are an
SA citizen – 0 – or a permanent resident – 1

The next digit (A) was used until the late 1980s to indicate a person’s race. This has been eliminated and old ID numbers were reissued to remove this.

The last digit (Z) is a checksum digit – used to check that the number sequence is accurate using the Luhn algorithm.


Animated Labels Styling
.animated-label.active .animated-label-input input[data-input], .animated-label.active .animated-label-input input[data-input]:empty {
    color: initial;
}

.animated-label-input input[data-input], .animated-label-input input[data-input]:empty {
    color: transparent;
}
Limit User Role to their own posts in WordPress Admin

WPBeginner

function posts_for_current_author($query) {
    global $pagenow;
 
    if( 'edit.php' != $pagenow || !$query->is_admin )
        return $query;
 
    if( !current_user_can( 'edit_others_posts' ) ) {
        global $user_ID;
        $query->set('author', $user_ID );
    }
    return $query;
}
add_filter('pre_get_posts', 'posts_for_current_author');

The post title says it all…
Note: If you cut down admin privileges for user roles as well you can use the admin section for front end posting. Just remember you need to include admin styles differently when its for the admin section. You need a script for the functions.php file.

Outsystems Including External Libraries

View – Forum Discussion.
View – Including external CSS in outsystems.
View – Including external javascript in outsystems MOBILE application.
View – Including external javascript in outsystems WEB application

View – Javascript links regarding Outsystems

Search

Your Favourite Posts

  • Your favorites will be here.

Latest Content

© Garth Baker 2025 All rights reserved.

Pin It on Pinterest

Share This