public function relations() { return array('status' => array(self::BELONGS_TO, 'OrderStatus', 'order_status_id', 'condition' => 'language_id=1')); }