- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
/**
* Геноцид.
*/
public function purgeProducts()
{
$command = Yii::app()->db->createCommand();
$command->truncateTable('tbl_catalogue_property_value');
$command->truncateTable('tbl_catalogue_property_value');
$command->truncateTable('tbl_catalogue_product_info');
$command->truncateTable('tbl_catalogue_product');
$command->truncateTable('tbl_products_to_features');
$command->truncateTable('tbl_catalogue_category_to_product');
$command->truncateTable('tbl_relation_material');
}
Vindicar 09.07.2013 14:27 # −2
Vasiliy 09.07.2013 15:27 # +2
guest 09.07.2013 22:04 # −3
inkanus-gray 10.07.2013 14:48 # +3
TarasB 10.07.2013 13:23 # +2