Skip to content
This repository has been archived by the owner on Jul 19, 2018. It is now read-only.

Commit

Permalink
Fixing readme and pear package.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardo-marcolino committed Apr 24, 2012
1 parent 5197a37 commit 2e335a8
Show file tree
Hide file tree
Showing 4 changed files with 104 additions and 0 deletions.
7 changes: 7 additions & 0 deletions LICENSE
@@ -0,0 +1,7 @@
Copyright (c) 2012 Eduardo Marcolino

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 changes: 29 additions & 0 deletions README
@@ -0,0 +1,29 @@
sfDoctrineCreateInPlacePlugin
=============================

## Installation ##

Install plugin:

symfony plugin:install sfDoctrineCreateInPlacePlugin -s alpha


## Usage ##

First, enable the sfDoctrineCreateInPlace module in the settings.yml:

all:
.settings:
...
enabled_modules: [ default, sfDoctrineCreateInPlace ]


Then, change your form:

[php]
$this->widgetSchema['author_id'] = new sfWidgetFormDoctrineChoiceCreateInPlace(array(
'height' => 300,
'model' => $this->getRelatedModelName('Author'),
'add_empty' => false
));

1 change: 1 addition & 0 deletions VERSION
@@ -0,0 +1 @@
0.0.2
67 changes: 67 additions & 0 deletions package.xml
@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf8"?>
<package xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" packagerversion="1.4.1" version="2.0" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
<name>sfDoctrineCreateInPlacePlugin</name>
<channel>pear.symfony-project.com</channel>
<summary>A doctrine choice widget.</summary>
<description>A doctrine choice widget to add choice without leave the form screen.</description>
<lead>
<name>Eduardo Marcolino</name>
<user>eduardo.marcolino</user>
<email>eduardo.marcolino@gmail.com</email>
<active>yes</active>
</lead>
<date>2012-04-20</date>
<version>
<release>0.0.2</release>
<api>0.0.2</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.symfony-project.com/license">MIT license</license>
<notes>-</notes>

<contents>
<dir name="/">
<dir name="lib">
<dir name="widget">
<file name="sfWidgetFormDoctrineChoiceCreateInPlace.class.php" role="data"/>
</dir>
</dir>
<dir name="modules">
<dir name="sfDoctrineCreateInPlace">
<dir name="actions">
<file role="data" name="actions.class.php" />
</dir>
<dir name="templates">
<file role="data" name="createSuccess.php" />
</dir>
</dir>
</dir>
<file name="LICENSE" role="data"/>
<file name="README" role="data"/>
</dir>
</contents>

<dependencies>
<required>
<php>
<min>5.2.4</min>
</php>
<pearinstaller>
<min>1.4.1</min>
</pearinstaller>
<package>
<name>symfony</name>
<channel>pear.symfony-project.com</channel>
<min>1.3.0</min>
<max>2.0.0</max>
<exclude>2.0.0</exclude>
</package>
</required>
</dependencies>

<phprelease>
</phprelease>
</package>

0 comments on commit 2e335a8

Please sign in to comment.