Example #1
0
 /**
  * Returns an instance of class.
  *
  * @return VWLS_BOL_ClipFeaturedDao
  */
 public static function getInstance()
 {
     if (self::$classInstance === null) {
         self::$classInstance = new self();
     }
     return self::$classInstance;
 }
Example #2
0
 /**
  * Class constructor
  *
  */
 private function __construct()
 {
     $this->clipFeaturedDao = VWLS_BOL_ClipFeaturedDao::getInstance();
 }