Extensions

Category:
Total 272 extensions.
Go to page:
virtualmodel 2 reviews   downloaded 72 times
VirtualModel
created by dongbeta, last updated on June 16, 2010

When you use form builder to create a form, you must transfer a array and a model as parameter to CForm like this:

$array = include('blogEditForm.php'); // blogEditForm.php return a array
$model = new BlogActiveRecord();
$form = CForm($array, $model);
//after this you can use $form and display it
$form->render();

But, it is impossible if $model is not a CModel. For example, if you wanna display a form to collection same data and save the data to files or in a single field of a table after serialized.

I got a idea form CForm that I can build a form by a array. why can't I build a model by a array ? Now, this virtual model is actually what you want. It's a simple calss extends CModel, but I add same simple functions to help you build a model by a array.

PS: I haven't has fully test for it. If there are same mistake, please can tell me.

In Chinese: 使用一个数组来通过VirtualModel来生成model,就像用一个数组通过CForm生成一个表单一样。 中文使用说明 here

Here are same resources

nestedsetbehavior 1 review   downloaded 207 times
Nested set behavior for AR models
created by samdark, last updated on June 11, 2010

This extension allows AR models to work with nested sets tree.

Author is creocoder.

Resources

yiiadmin 1 review   downloaded 75 times
yiiAdmin - Automatic admin interface
created by kmddm, last updated on June 11, 2010

This extension is ...

Automatic admin interface. It reads your model to provide a interface that you can immediately use to start adding content to the site.

For download use git. git@github.com:firstrow/yiiadmin.git

or press here to download latest source zip file.

Screenshot

Resources

jqplot no review yet   downloaded 19451 times
jqplot
created by sharehua, last updated on June 9, 2010

This extension is jqplot

alt "标题"

addthis 4 reviews   downloaded 106 times
Simple addThis widget extension
created by thiagovidal, last updated on July 25, 2010

This extension is simple but let you high customize addThis widget appearance.

Check addThis website for API instructions.

Resources

Donate

linkback no review yet   downloaded 56 times
Pingback and Trackback client/server for blogging applications
created by Yeti, last updated on June 20, 2010

This extension provides Pingback and Trackback clients and servers for blogging applications.

Supports single and multi-blog applications.

Resources

ezip no review yet   downloaded 81 times
EZip - for zip archives
created by tigo, last updated on May 31, 2010

This extension is for working with zip. Based on comments to http://www.php.net/manual/en/function.zip-open.php

jquery-cascade 1 review   downloaded 125 times
Cascading Select Lists
created by mercurial, last updated on June 1, 2010

Created to ease the quite repetitive task of programming cascading select lists.

Resources

signal-manager 1 review   downloaded 62 times
仿django的信号系统
created by puper, last updated on May 30, 2010

仿django的信号处理系统 用途: 新添加的模块不改变核心代码捕获系统核心的事件的钩子

Resources

wvactiveform 2 reviews   downloaded 161 times
wvActiveForm is a CActiveForm descendant that validates the input on client with jQuery, using model or custom rules.
created by rangelreale, last updated on June 2, 2010

wvActiveForm is a CActiveForm descendant that validates the input on client with jQuery, using the rules defined at the model, while also supporting custom rules. Besides validation some rules may also filter invalid characters during typing.

Validators:

  • Required
  • Number
  • String (length)
  • Email
  • Default value (displays value that disappear on field click)
  • No whitespace
  • URL
  • Manual rules

Rules:

  • jQuery.Validate
  • jQuery.Numeric
  • jQuery.DefaultValue
  • jQuery.keyFilter

CValidator supported:

  • CRequiredValidator
  • CStringValidator
  • CNumberValidator
  • CEmailValidator
  • CUrlValidator

Starting with 0.7, now wvActiveForm supports layouts for error messages. Just add a 'layoutName' paramater to the form. There are 2 built-in layouts, 'default' (which is compatible with the default Yii error messages) and 'qtip', based on jQuery.qtip.

Resources

Go to page: