protected function setDataEditStore()
    {
        foreach (array('logo', 'favicon') as $field) {

            $value = $this->getData("store.data.$field");

            if (!empty($value)) {
                $this->setData("store.{$field}_thumb", $this->image($value));
            }
        }

        foreach (array('email', 'phone', 'fax', 'map') as $field) {

            $value = $this->getData("store.data.$field");

            if (isset($value)) {
                $this->setData("store.data.$field", implode("\n", (array) $value));
            }
        }
    }