Skip to content

Commit

Permalink
added TYPE_URL field type
Browse files Browse the repository at this point in the history
  • Loading branch information
teo-sk committed Sep 24, 2012
1 parent 0abcf8e commit 8319dd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Form/PollType.php
Expand Up @@ -44,6 +44,7 @@ class PollType extends AbstractType
FieldInterface::TYPE_INPUT => 'text',
FieldInterface::TYPE_TEXTAREA => 'textarea',
FieldInterface::TYPE_EMAIL => 'email',
FieldInterface::TYPE_URL => 'url',
FieldInterface::TYPE_ASSET_URL => 'url',
FieldInterface::TYPE_INTEGER => 'integer',
FieldInterface::TYPE_RADIO => 'choice',
Expand Down
1 change: 1 addition & 0 deletions Model/FieldInterface.php
Expand Up @@ -27,6 +27,7 @@ interface FieldInterface
const TYPE_DATE = 'TYPE_DATE';
const TYPE_DATETIME = 'TYPE_DATETIME';
const TYPE_TIME = 'TYPE_TIME';
const TYPE_URL = 'TYPE_URL';

const TYPE_ASSET_AUDIO = 'TYPE_ASSET_AUDIO';
const TYPE_ASSET_IMAGE = 'TYPE_ASSET_IMAGE';
Expand Down

0 comments on commit 8319dd5

Please sign in to comment.