コード例 #1
0
 /**
  * Initializes the PF_TEMPLATE class
  *
  * Checks for an existing PF_TEMPLATE() instance
  * and if there is none, creates an instance.
  *
  * @since 1.0.0
  * @access public
  */
 public static function get_instance()
 {
     if (!self::$_instance instanceof PF_TEMPLATE) {
         self::$_instance = new PF_TEMPLATE();
     }
     return self::$_instance;
 }