コード例 #1
0
 public function dump()
 {
     if (Cart66Common::sessionType() == 'database') {
         $value = Cart66SessionDb::dump();
     } else {
         $value = Cart66SessionNative::dump();
     }
     return $value;
 }
コード例 #2
0
ファイル: debug.php プロジェクト: rbredow/allyzabbacart
      </table>
    </div>
    <div id="debug-session_settings" class="pane">
      <h3><?php 
_e('Session Management', 'cart66');
?>
</h3>
      <table class="form-table">
        <tbody>
          <tr valign="top">
            <th scope="row"><?php 
_e('Database Sessions', 'cart66');
?>
</th>
            <?php 
$session_type = Cart66Common::sessionType();
?>
            <td>
              <input type="radio" name="session_type" id="session_type_database" value="database" <?php 
echo $session_type == 'database' ? 'checked="checked" ' : '';
?>
/>
              <label for="session_type_database"><?php 
_e('Yes', 'cart66');
?>
</label>
              <input type="radio" name="session_type" id="session_type_native" value="native" <?php 
echo $session_type == 'native' ? 'checked="checked" ' : '';
?>
/>
              <label for="session_type_native"><?php