Exemplo n.º 1
0
 /**
  * Fetch all Custom Animations only one time
  * @since: 5.2.4
  **/
 public static function fillAnimations()
 {
     if (empty(self::$animations)) {
         $db = new RevSliderDB();
         $customAnimations = array();
         $result = $db->fetch(RevSliderGlobals::$table_layer_anims);
         if (!empty($result)) {
             $customAnimations = $result;
         }
         self::$animations = $customAnimations;
     }
 }