public function provideI18nEntities()
    {
        $entities = parent::provideI18nEntities();

        // collect all the payment status values
        foreach ($this->dbObject('Status')->enumValues() as $value) {
            $key = strtoupper($value);
            $entities[__CLASS__ . ".STATUS_$key"] = array(
                $value,
                "Translation of the order status '$value'",
            );
        }

        return $entities;
    }
public function provideI18nEntities()
    {
        $entities = parent::provideI18nEntities();

        // collect all the payment status values
        foreach ($this->dbObject('Status')->enumValues() as $value) {
            $key = strtoupper($value);
            $entities[__CLASS__ . ".STATUS_$key"] = array(
                $value,
                "Translation of the order status '$value'",
            );
        }

        return $entities;
    }
public function provideI18nEntities ( ) { $ entities = parent :: provideI18nEntities ( ) ; // collect all the payment status values foreach ( $ this -> dbObject ( 'Status' ) -> enumValues ( ) as $ value ) { $ key = strtoupper ( $ value ) ; $ entities [ __CLASS__ . ".STATUS_$key" ] = array ( $ value , "Translation of the order status '$value'" , ) ; } return $ entities ; }
Provide i18n entities for the order class

@return array
Provide i18n entities for the order class