public function getAllowedStatusOptions()
    {
        $options = array();
        $config = $this->getStatusConfig();
        if (isset($config['transitions']) && is_array($config['transitions'])) {
            foreach ($config['transitions'] as $id) {
                $options[$id] = $this->getStatusName($id);
            }
        }
        return $options;
    }