コード例 #1
0
ファイル: MAB_Template.php プロジェクト: phupx/phamlook
 static function resetCurrentTemplateVars()
 {
     self::$_current_template_dir = '';
     self::$_current_template_url = '';
     self::$_current_template_file = '';
     self::$_current_actionbox_obj = null;
     self::$_current_template_style_dir = '';
     self::$_current_template_style_url = '';
 }
コード例 #2
0
ファイル: ProsulumMab.php プロジェクト: phupx/phamlook
 /**
 * ACTION BOXES
 * =======================* /
 
 	/**
 * @filters get_action_box
 */
 static function defaultGetTemplateFilter($actionBox, $type, $actionBoxObj)
 {
     //error_log( print_r($type, true) );
     switch ($type) {
         case 'optin':
             $actionBox = MAB_Template::getActionBoxOptin($actionBoxObj);
             break;
         default:
             break;
     }
     return $actionBox;
 }