Magentoで価格からセントの表示を「不正に」削除する方法、または標準クラスの再定義に関するいくつかの単語

必要に応じて、価格のセントの表示を削除するための実用的な(もちろん、多少曲がった)ソリューションを共有したいと思います。 繰り返しますが、表示形式を変更するだけで、実際の価格は変更されず、これは四捨五入されません-10分の1は単純に破棄されるため、列にすべてを追加すると、バスケット内の商品の価格の見かけの合計が実際の金額と異なる可能性が非常に高くなります。 これは、輸入または手動の価格変更時に商品の価格にセントが含まれないようにすることで回避できます。

実際のところ、解決策は私のものではないということをすぐに言わなければなりません。私はここでそれを調査し、正しく発行することにしました。

オンラインストアインターフェースを開発するとき、適切な設計とロジックを作成するだけでなく、次のバージョンへのエンジンのトラブルのない更新を保証するタスクに直面したため、システムファイルの編集をすぐに除外しました。 ただし、Magentoは、標準機能を独自のものに置き換える機能など、独自の拡張機能を開発するための優れたツールを提供します。 これが私たちがやることです。

そのため、次のことを行う必要があります。
-フォーマットされた価格の表示を担当するクラスを再定義します。
-このクラスを含むモジュールを作成します。
-元のクラスが以前にアクティブ化された場合に再定義されたクラスが呼び出されるようにモジュールを構成します。
-システム内の新しいモジュールをアクティブにします。

指定されたすべてのパスは、Magentoがインストールされているディレクトリに相対的です。

前述したように、Magentoは独自のモジュールを開発し、基本的な機能を拡張する良い機会を提供します。 システムの作業コードの主要部分は(それが記述されているライブラリとフレームワークを除く)、 appディレクトリにあります。 中を見ると、そこに次の内容が表示されます。

アプリ
| ----- Mage.php
| -----コード
| -----デザイン
| -----など
| -----ロケール

Mage.php-システムのメインクラスハブを記述するモジュール-Mage
コード -すべてのコード
設計 -名前が示すように、設計の説明はここにあります-それはロジックおよびブロック出力テンプレートです。 CSSスタイルの直接説明、スクリプトと写真を別の場所に持ち出した
etc-構成ファイル
ロケール -基本的な言語ファイル、つまり、出力のローカライズ。 特定のインターフェイスについては、ローカライズされた出力を、デザインサブディレクトリ内の独自のインターフェイスの説明で部分的または完全に再定義することもできます。

このタスクでは、 コードディレクトリに興味があります 。 その中には、3つの標準フォルダーがあります: core-システムのメインモジュールのコードと、最初は空で、サードパーティのモジュール(コミュニティ)または独自に開発されたモジュール(ローカル)をインストールするために設計されたコミュニティローカルのコードが含まれています。 実際、フォルダー間に違いはありませんが、便宜上、ローカルフォルダーに独自のモジュールを追加します。

したがって、まず最初に、モジュールを含むフォルダーを作成する必要があります。 このフォルダーの名前は、開発するモジュールのパッケージの名前になります。 なぜなら 私は自分のプロジェクト用のモジュールを開発しました。私が持っているフォルダーはプロジェクトの名前です-Cifrum。

%pwd
//app/code
%ll -a
total 10
drwxrwxr-x 5 vlad www 512 18 09:37 .
drwxrwxr-x 6 vlad www 512 29 19:30 ..
drwxrwxr-x 3 vlad www 512 29 19:30 community
drwxrwxr-x 4 vlad www 512 18 09:37 core
drwxrwxr-x 3 vlad www 512 27 02:37 local
%ll -a local
total 6
drwxrwxr-x 3 vlad www 512 27 02:37 .
drwxrwxr-x 5 vlad www 512 18 09:37 ..
drwxrwxr-x 6 vlad www 512 29 23:48 Cifrum


, , . , , Core , CoreC .

:

%ll -1aR //app/code/local/
.
..
Cifrum

//app/code/local/Cifrum:
.
..
CoreC

//app/code/local/Cifrum/CoreC:
.
..
Block
Helper
Model
controllers
etc
sql


- . , , php|architect's Guide to Programming with Magento.

- etc, config.xml, Model, .

Model/Store.php :

<?php

/*****

Trying to rewrite Core_Model_Store

*/

// , ,
// app/code/core/Mage/Core/Model/Store.php

class Cifrum_CoreC_Model_Store extends Mage_Core_Model_Store
{


/**
*
* formatPrice without decimals, for rubles only for right now
*
*/

// ,

public function formatPrice($price, $includeContainer = true )
{
if ($ this ->getCurrentCurrency()) {
$priceReturn = $ this ->getCurrentCurrency()->format($price, array(), $includeContainer);

//Not the cleanest method but the fastest for now…
if (preg_match( '//i' , $priceReturn)) {
return $ this ->getCurrentCurrency()->format($price, array( 'precision' => 0), $includeContainer);
} else {
return $priceReturn;
}
}

return $price;
}

}

* This source code was highlighted with Source Code Highlighter .


?>


, Mage_Core_Model_Store::formatPrice() "". , ( , - ""), .

, . etc/config.xml :

<? xml version ="1.0" ? >
< config >
< modules >


< Cifrum_CoreC >
< version > 0.0.1 </ version >
< depends >

</ depends >
</ Cifrum_CoreC >


</ modules >
< global >
< models >



< core >
< rewrite >
< store > Cifrum_CoreC_Model_Store </ store >
</ rewrite >
</ core >


</ models >
< resources ></ resources >
< blocks ></ blocks >
< corec >

</ corec >
</ global >
< adminhtml >
< menu ></ menu >
< acl ></ acl >
< events ></ events >
< translate ></ translate >
</ adminhtml >
< frontend >
< routers ></ routers >
< events ></ events >
< translate ></ translate >
< layout ></ layout >
</ frontend >
< default >
< config_vars >

</ config_vars >
</ default >
</ config >


* This source code was highlighted with Source Code Highlighter .



-, , . . , store core .

. , , .
, app/code/etc . app/etc/modules/Cifrum_All.xml, Cifrum.

<? xml version ="1.0" ? >
< config >
< modules >
< Cifrum_CoreC >
< active > true </ active >
< codePool > local </ codePool >
</ Cifrum_CoreC >
</ modules >
</ config >

* This source code was highlighted with Source Code Highlighter .



, , . , , .

PS - , .
PPS - , .
%pwd
//app/code
%ll -a
total 10
drwxrwxr-x 5 vlad www 512 18 09:37 .
drwxrwxr-x 6 vlad www 512 29 19:30 ..
drwxrwxr-x 3 vlad www 512 29 19:30 community
drwxrwxr-x 4 vlad www 512 18 09:37 core
drwxrwxr-x 3 vlad www 512 27 02:37 local
%ll -a local
total 6
drwxrwxr-x 3 vlad www 512 27 02:37 .
drwxrwxr-x 5 vlad www 512 18 09:37 ..
drwxrwxr-x 6 vlad www 512 29 23:48 Cifrum


, , . , , Core , CoreC .

:

%ll -1aR //app/code/local/
.
..
Cifrum

//app/code/local/Cifrum:
.
..
CoreC

//app/code/local/Cifrum/CoreC:
.
..
Block
Helper
Model
controllers
etc
sql


- . , , php|architect's Guide to Programming with Magento.

- etc, config.xml, Model, .

Model/Store.php :

<?php

/*****

Trying to rewrite Core_Model_Store

*/

// , ,
// app/code/core/Mage/Core/Model/Store.php

class Cifrum_CoreC_Model_Store extends Mage_Core_Model_Store
{


/**
*
* formatPrice without decimals, for rubles only for right now
*
*/

// ,

public function formatPrice($price, $includeContainer = true )
{
if ($ this ->getCurrentCurrency()) {
$priceReturn = $ this ->getCurrentCurrency()->format($price, array(), $includeContainer);

//Not the cleanest method but the fastest for now…
if (preg_match( '//i' , $priceReturn)) {
return $ this ->getCurrentCurrency()->format($price, array( 'precision' => 0), $includeContainer);
} else {
return $priceReturn;
}
}

return $price;
}

}

* This source code was highlighted with Source Code Highlighter .

?>


, Mage_Core_Model_Store::formatPrice() "". , ( , - ""), .

, . etc/config.xml :

<? xml version ="1.0" ? >
< config >
< modules >


< Cifrum_CoreC >
< version > 0.0.1 </ version >
< depends >

</ depends >
</ Cifrum_CoreC >


</ modules >
< global >
< models >



< core >
< rewrite >
< store > Cifrum_CoreC_Model_Store </ store >
</ rewrite >
</ core >


</ models >
< resources ></ resources >
< blocks ></ blocks >
< corec >

</ corec >
</ global >
< adminhtml >
< menu ></ menu >
< acl ></ acl >
< events ></ events >
< translate ></ translate >
</ adminhtml >
< frontend >
< routers ></ routers >
< events ></ events >
< translate ></ translate >
< layout ></ layout >
</ frontend >
< default >
< config_vars >

</ config_vars >
</ default >
</ config >


* This source code was highlighted with Source Code Highlighter .



-, , . . , store core .

. , , .
, app/code/etc . app/etc/modules/Cifrum_All.xml, Cifrum.

<? xml version ="1.0" ? >
< config >
< modules >
< Cifrum_CoreC >
< active > true </ active >
< codePool > local </ codePool >
</ Cifrum_CoreC >
</ modules >
</ config >

* This source code was highlighted with Source Code Highlighter .



, , . , , .

PS - , .
PPS - , .
%pwd
//app/code
%ll -a
total 10
drwxrwxr-x 5 vlad www 512 18 09:37 .
drwxrwxr-x 6 vlad www 512 29 19:30 ..
drwxrwxr-x 3 vlad www 512 29 19:30 community
drwxrwxr-x 4 vlad www 512 18 09:37 core
drwxrwxr-x 3 vlad www 512 27 02:37 local
%ll -a local
total 6
drwxrwxr-x 3 vlad www 512 27 02:37 .
drwxrwxr-x 5 vlad www 512 18 09:37 ..
drwxrwxr-x 6 vlad www 512 29 23:48 Cifrum


, , . , , Core , CoreC .

:

%ll -1aR //app/code/local/
.
..
Cifrum

//app/code/local/Cifrum:
.
..
CoreC

//app/code/local/Cifrum/CoreC:
.
..
Block
Helper
Model
controllers
etc
sql


- . , , php|architect's Guide to Programming with Magento.

- etc, config.xml, Model, .

Model/Store.php :

<?php

/*****

Trying to rewrite Core_Model_Store

*/

// , ,
// app/code/core/Mage/Core/Model/Store.php

class Cifrum_CoreC_Model_Store extends Mage_Core_Model_Store
{


/**
*
* formatPrice without decimals, for rubles only for right now
*
*/

// ,

public function formatPrice($price, $includeContainer = true )
{
if ($ this ->getCurrentCurrency()) {
$priceReturn = $ this ->getCurrentCurrency()->format($price, array(), $includeContainer);

//Not the cleanest method but the fastest for now…
if (preg_match( '//i' , $priceReturn)) {
return $ this ->getCurrentCurrency()->format($price, array( 'precision' => 0), $includeContainer);
} else {
return $priceReturn;
}
}

return $price;
}

}

* This source code was highlighted with Source Code Highlighter .


?>


, Mage_Core_Model_Store::formatPrice() "". , ( , - ""), .

, . etc/config.xml :

<? xml version ="1.0" ? >
< config >
< modules >


< Cifrum_CoreC >
< version > 0.0.1 </ version >
< depends >

</ depends >
</ Cifrum_CoreC >


</ modules >
< global >
< models >



< core >
< rewrite >
< store > Cifrum_CoreC_Model_Store </ store >
</ rewrite >
</ core >


</ models >
< resources ></ resources >
< blocks ></ blocks >
< corec >

</ corec >
</ global >
< adminhtml >
< menu ></ menu >
< acl ></ acl >
< events ></ events >
< translate ></ translate >
</ adminhtml >
< frontend >
< routers ></ routers >
< events ></ events >
< translate ></ translate >
< layout ></ layout >
</ frontend >
< default >
< config_vars >

</ config_vars >
</ default >
</ config >


* This source code was highlighted with Source Code Highlighter .



-, , . . , store core .

. , , .
, app/code/etc . app/etc/modules/Cifrum_All.xml, Cifrum.

<? xml version ="1.0" ? >
< config >
< modules >
< Cifrum_CoreC >
< active > true </ active >
< codePool > local </ codePool >
</ Cifrum_CoreC >
</ modules >
</ config >

* This source code was highlighted with Source Code Highlighter .



, , . , , .

PS - , .
PPS - , .
%pwd
//app/code
%ll -a
total 10
drwxrwxr-x 5 vlad www 512 18 09:37 .
drwxrwxr-x 6 vlad www 512 29 19:30 ..
drwxrwxr-x 3 vlad www 512 29 19:30 community
drwxrwxr-x 4 vlad www 512 18 09:37 core
drwxrwxr-x 3 vlad www 512 27 02:37 local
%ll -a local
total 6
drwxrwxr-x 3 vlad www 512 27 02:37 .
drwxrwxr-x 5 vlad www 512 18 09:37 ..
drwxrwxr-x 6 vlad www 512 29 23:48 Cifrum


, , . , , Core , CoreC .

:

%ll -1aR //app/code/local/
.
..
Cifrum

//app/code/local/Cifrum:
.
..
CoreC

//app/code/local/Cifrum/CoreC:
.
..
Block
Helper
Model
controllers
etc
sql


- . , , php|architect's Guide to Programming with Magento.

- etc, config.xml, Model, .

Model/Store.php :

<?php

/*****

Trying to rewrite Core_Model_Store

*/

// , ,
// app/code/core/Mage/Core/Model/Store.php

class Cifrum_CoreC_Model_Store extends Mage_Core_Model_Store
{


/**
*
* formatPrice without decimals, for rubles only for right now
*
*/

// ,

public function formatPrice($price, $includeContainer = true )
{
if ($ this ->getCurrentCurrency()) {
$priceReturn = $ this ->getCurrentCurrency()->format($price, array(), $includeContainer);

//Not the cleanest method but the fastest for now…
if (preg_match( '//i' , $priceReturn)) {
return $ this ->getCurrentCurrency()->format($price, array( 'precision' => 0), $includeContainer);
} else {
return $priceReturn;
}
}

return $price;
}

}

* This source code was highlighted with Source Code Highlighter .


?>


, Mage_Core_Model_Store::formatPrice() "". , ( , - ""), .

, . etc/config.xml :

<? xml version ="1.0" ? >
< config >
< modules >


< Cifrum_CoreC >
< version > 0.0.1 </ version >
< depends >

</ depends >
</ Cifrum_CoreC >


</ modules >
< global >
< models >



< core >
< rewrite >
< store > Cifrum_CoreC_Model_Store </ store >
</ rewrite >
</ core >


</ models >
< resources ></ resources >
< blocks ></ blocks >
< corec >

</ corec >
</ global >
< adminhtml >
< menu ></ menu >
< acl ></ acl >
< events ></ events >
< translate ></ translate >
</ adminhtml >
< frontend >
< routers ></ routers >
< events ></ events >
< translate ></ translate >
< layout ></ layout >
</ frontend >
< default >
< config_vars >

</ config_vars >
</ default >
</ config >


* This source code was highlighted with Source Code Highlighter .


-, , . . , store core .

. , , .
, app/code/etc . app/etc/modules/Cifrum_All.xml, Cifrum.

<? xml version ="1.0" ? >
< config >
< modules >
< Cifrum_CoreC >
< active > true </ active >
< codePool > local </ codePool >
</ Cifrum_CoreC >
</ modules >
</ config >

* This source code was highlighted with Source Code Highlighter .



, , . , , .

PS - , .
PPS - , .
%pwd
//app/code
%ll -a
total 10
drwxrwxr-x 5 vlad www 512 18 09:37 .
drwxrwxr-x 6 vlad www 512 29 19:30 ..
drwxrwxr-x 3 vlad www 512 29 19:30 community
drwxrwxr-x 4 vlad www 512 18 09:37 core
drwxrwxr-x 3 vlad www 512 27 02:37 local
%ll -a local
total 6
drwxrwxr-x 3 vlad www 512 27 02:37 .
drwxrwxr-x 5 vlad www 512 18 09:37 ..
drwxrwxr-x 6 vlad www 512 29 23:48 Cifrum


, , . , , Core , CoreC .

:

%ll -1aR //app/code/local/
.
..
Cifrum

//app/code/local/Cifrum:
.
..
CoreC

//app/code/local/Cifrum/CoreC:
.
..
Block
Helper
Model
controllers
etc
sql


- . , , php|architect's Guide to Programming with Magento.

- etc, config.xml, Model, .

Model/Store.php :

<?php

/*****

Trying to rewrite Core_Model_Store

*/

// , ,
// app/code/core/Mage/Core/Model/Store.php

class Cifrum_CoreC_Model_Store extends Mage_Core_Model_Store
{


/**
*
* formatPrice without decimals, for rubles only for right now
*
*/

// ,

public function formatPrice($price, $includeContainer = true )
{
if ($ this ->getCurrentCurrency()) {
$priceReturn = $ this ->getCurrentCurrency()->format($price, array(), $includeContainer);

//Not the cleanest method but the fastest for now…
if (preg_match( '//i' , $priceReturn)) {
return $ this ->getCurrentCurrency()->format($price, array( 'precision' => 0), $includeContainer);
} else {
return $priceReturn;
}
}

return $price;
}

}

* This source code was highlighted with Source Code Highlighter .


?>


, Mage_Core_Model_Store::formatPrice() "". , ( , - ""), .

, . etc/config.xml :

<? xml version ="1.0" ? >
< config >
< modules >


< Cifrum_CoreC >
< version > 0.0.1 </ version >
< depends >

</ depends >
</ Cifrum_CoreC >


</ modules >
< global >
< models >



< core >
< rewrite >
< store > Cifrum_CoreC_Model_Store </ store >
</ rewrite >
</ core >


</ models >
< resources ></ resources >
< blocks ></ blocks >
< corec >

</ corec >
</ global >
< adminhtml >
< menu ></ menu >
< acl ></ acl >
< events ></ events >
< translate ></ translate >
</ adminhtml >
< frontend >
< routers ></ routers >
< events ></ events >
< translate ></ translate >
< layout ></ layout >
</ frontend >
< default >
< config_vars >

</ config_vars >
</ default >
</ config >


* This source code was highlighted with Source Code Highlighter .



-, , . . , store core .

. , , .
, app/code/etc . app/etc/modules/Cifrum_All.xml, Cifrum.

<? xml version ="1.0" ? >
< config >
< modules >
< Cifrum_CoreC >
< active > true </ active >
< codePool > local </ codePool >
</ Cifrum_CoreC >
</ modules >
</ config >

* This source code was highlighted with Source Code Highlighter .



, , . , , .

PS - , .
PPS - , .
%pwd
//app/code
%ll -a
total 10
drwxrwxr-x 5 vlad www 512 18 09:37 .
drwxrwxr-x 6 vlad www 512 29 19:30 ..
drwxrwxr-x 3 vlad www 512 29 19:30 community
drwxrwxr-x 4 vlad www 512 18 09:37 core
drwxrwxr-x 3 vlad www 512 27 02:37 local
%ll -a local
total 6
drwxrwxr-x 3 vlad www 512 27 02:37 .
drwxrwxr-x 5 vlad www 512 18 09:37 ..
drwxrwxr-x 6 vlad www 512 29 23:48 Cifrum


, , . , , Core , CoreC .

:

%ll -1aR //app/code/local/
.
..
Cifrum

//app/code/local/Cifrum:
.
..
CoreC

//app/code/local/Cifrum/CoreC:
.
..
Block
Helper
Model
controllers
etc
sql


- . , , php|architect's Guide to Programming with Magento.

- etc, config.xml, Model, .

Model/Store.php :

<?php

/*****

Trying to rewrite Core_Model_Store

*/

// , ,
// app/code/core/Mage/Core/Model/Store.php

class Cifrum_CoreC_Model_Store extends Mage_Core_Model_Store
{


/**
*
* formatPrice without decimals, for rubles only for right now
*
*/

// ,

public function formatPrice($price, $includeContainer = true )
{
if ($ this ->getCurrentCurrency()) {
$priceReturn = $ this ->getCurrentCurrency()->format($price, array(), $includeContainer);

//Not the cleanest method but the fastest for now…
if (preg_match( '//i' , $priceReturn)) {
return $ this ->getCurrentCurrency()->format($price, array( 'precision' => 0), $includeContainer);
} else {
return $priceReturn;
}
}

return $price;
}

}

* This source code was highlighted with Source Code Highlighter .


?>


, Mage_Core_Model_Store::formatPrice() "". , ( , - ""), .

, . etc/config.xml :

<? xml version ="1.0" ? >
< config >
< modules >


< Cifrum_CoreC >
< version > 0.0.1 </ version >
< depends >

</ depends >
</ Cifrum_CoreC >


</ modules >
< global >
< models >



< core >
< rewrite >
< store > Cifrum_CoreC_Model_Store </ store >
</ rewrite >
</ core >


</ models >
< resources ></ resources >
< blocks ></ blocks >
< corec >

</ corec >
</ global >
< adminhtml >
< menu ></ menu >
< acl ></ acl >
< events ></ events >
< translate ></ translate >
</ adminhtml >
< frontend >
< routers ></ routers >
< events ></ events >
< translate ></ translate >
< layout ></ layout >
</ frontend >
< default >
< config_vars >

</ config_vars >
</ default >
</ config >


* This source code was highlighted with Source Code Highlighter .



-, , . . , store core .

. , , .
, app/code/etc . app/etc/modules/Cifrum_All.xml, Cifrum.

<? xml version ="1.0" ? >
< config >
< modules >
< Cifrum_CoreC >
< active > true </ active >
< codePool > local </ codePool >
</ Cifrum_CoreC >
</ modules >
</ config >

* This source code was highlighted with Source Code Highlighter .


, , . , , .

PS - , .
PPS - , .
%pwd
//app/code
%ll -a
total 10
drwxrwxr-x 5 vlad www 512 18 09:37 .
drwxrwxr-x 6 vlad www 512 29 19:30 ..
drwxrwxr-x 3 vlad www 512 29 19:30 community
drwxrwxr-x 4 vlad www 512 18 09:37 core
drwxrwxr-x 3 vlad www 512 27 02:37 local
%ll -a local
total 6
drwxrwxr-x 3 vlad www 512 27 02:37 .
drwxrwxr-x 5 vlad www 512 18 09:37 ..
drwxrwxr-x 6 vlad www 512 29 23:48 Cifrum


, , . , , Core , CoreC .

:

%ll -1aR //app/code/local/
.
..
Cifrum

//app/code/local/Cifrum:
.
..
CoreC

//app/code/local/Cifrum/CoreC:
.
..
Block
Helper
Model
controllers
etc
sql


- . , , php|architect's Guide to Programming with Magento.

- etc, config.xml, Model, .

Model/Store.php :

<?php

/*****

Trying to rewrite Core_Model_Store

*/

// , ,
// app/code/core/Mage/Core/Model/Store.php

class Cifrum_CoreC_Model_Store extends Mage_Core_Model_Store
{


/**
*
* formatPrice without decimals, for rubles only for right now
*
*/

// ,

public function formatPrice($price, $includeContainer = true )
{
if ($ this ->getCurrentCurrency()) {
$priceReturn = $ this ->getCurrentCurrency()->format($price, array(), $includeContainer);

//Not the cleanest method but the fastest for now…
if (preg_match( '//i' , $priceReturn)) {
return $ this ->getCurrentCurrency()->format($price, array( 'precision' => 0), $includeContainer);
} else {
return $priceReturn;
}
}

return $price;
}

}

* This source code was highlighted with Source Code Highlighter .


?>


, Mage_Core_Model_Store::formatPrice() "". , ( , - ""), .

, . etc/config.xml :

<? xml version ="1.0" ? >
< config >
< modules >


< Cifrum_CoreC >
< version > 0.0.1 </ version >
< depends >

</ depends >
</ Cifrum_CoreC >


</ modules >
< global >
< models >



< core >
< rewrite >
< store > Cifrum_CoreC_Model_Store </ store >
</ rewrite >
</ core >


</ models >
< resources ></ resources >
< blocks ></ blocks >
< corec >

</ corec >
</ global >
< adminhtml >
< menu ></ menu >
< acl ></ acl >
< events ></ events >
< translate ></ translate >
</ adminhtml >
< frontend >
< routers ></ routers >
< events ></ events >
< translate ></ translate >
< layout ></ layout >
</ frontend >
< default >
< config_vars >

</ config_vars >
</ default >
</ config >


* This source code was highlighted with Source Code Highlighter .



-, , . . , store core .

. , , .
, app/code/etc . app/etc/modules/Cifrum_All.xml, Cifrum.

<? xml version ="1.0" ? >
< config >
< modules >
< Cifrum_CoreC >
< active > true </ active >
< codePool > local </ codePool >
</ Cifrum_CoreC >
</ modules >
</ config >

* This source code was highlighted with Source Code Highlighter .



, , . , , .

PS - , .
PPS - , .

Source: https://habr.com/ru/post/J144026/


All Articles