Jump to content
  • 0

Znaki specjalne w cechach produktów


empressia1

Question

1 answer to this question

Recommended Posts

  • 0

Do katalogu: override/classes/
dodaj plik: FeatureValue.php
z zawartością:
 

<?php
class FeatureValue extends FeatureValueCore
{
   public static $definition = array(
        'table' => 'feature_value',
        'primary' => 'id_feature_value',
        'multilang' => true,
        'fields' => array(
            'id_feature' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true),
            'custom' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'),
            /* Lang fields */
            'value' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isAnything', 'required' => true, 'size' => 255),
        ),
    );
}

Skasuj: cache/class_index.php
 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...