Fields with * are mandatory

Dios - Do It Open Source
 

Rezultate cautare

Rezultate pentru cuvantul "array" in limba in modul Orice cuvant
[widget]$this->widget('application.extensions.uploadios.uploadios', array());[/widget] Important: How to contribute...
... public function rules() { return array( array('destinationFolder', 'required'), array('myfile', 'file', 'allowEmpty'=>false, 'types'=>'zip, tar.gz',... public function attributeLabels() { return array( 'destinationFolder'=>Yii::t('upload', 'Target'), 'myfile'=>Yii::t('upload', 'Select... file input is set. ex. array('myfile', 'file', 'allowEmpty'=>false, 'types'=>'zip, tar.gz',... = $model->destinationFolder.'/'.$model->myfile->name; $model->myfile->saveAs($pathToSave); } $this->render('upload', array('model'=>$model)); } } A view <?php echo "\n".'<div class="form">'; $form=$this->beginWidget('CActiveForm', array( 'id'=>'upload-form', 'enableAjaxValidation'=>false, 'htmlOptions'=>array('enctype'=>'multipart/form-data'), )); echo $form->errorSummary($model); echo... "\n".$form->labelEx($model, 'destinationFolder'); echo "\n".$form->dropDownList($model, 'destinationFolder', array( 'one'=>'one', 'two'=>'two' )); echo... class="row buttons">'; echo "\n".CHtml::submitButton('Submit', '', array()); echo "\n".'</div>'; $this->endWidget(); echo... enctype to be multipart/form-data ex: 'htmlOptions'=>array('enctype'=>'multipart/form-data') Other information: 1. You...
... as value for $editableFolders. $this->widget('application.extensions.fileeditor.fileeditor', array( 'editableFolders'=>array( array('path'=>"files/css", 'label'=>'CSS'), array('path'=>"files/codes/php", 'label'=>'PHP'), ), 'options'=>array( 'name'=>'editor', 'class'=>'editor', 'editorwidth'=> '910',... be adjusted: editableFolders: a multidimensional array, which keep in key/value...
... to be customized: brushes: an array including brushes to be loaded ex: 'brushes'=>array('Cpp', 'Perl', 'Ruby')config: an array including config of SyntaxHilighter. ex: 'config'=>array('stripBrs'=>true)defaults: an array including defaults for SyntaxHilighter. ex: 'defaults'=>array('gutter'=>false) Values for config and... a customized syntaxhilighter3: <?php $this->widget('application.extensions.syntaxhilighter3.syntaxhilighter3', array( 'brushes'=>'ALL', 'config'=>array( 'stripBrs'=>true ), 'defaults'=>array( 'gutter'=>true ) ) );?>... = $this->brushes ? $this->brushes : array('Php','Sql','JScript','Css', 'Xml'); $this->publishAssets(); parent::init(); }...
... to place buttons. <?php $this->widget('application.extensions.social.social', array( 'style'=>'vertical', 'networks' => array( 'twitter'=>array( 'data-via'=>'', //http://twitter.com/#!/YourPageAccount if exists else leave empty ), 'googleplusone'=>array( "size"=>"medium", "annotation"=>"bubble", ), 'facebook'=>array( 'href'=>'https://www.facebook.com/your_facebook_page', //associate your page...
Demo vertical alignment [widget]$this->widget('application.extensions.social.social', array( 'style'=>'vertical', 'networks' => array( 'twitter'=>array( 'data-via'=>'http://twitter.com/#!/matricksthetwo', ), 'googleplusone'=>array( "size"=>"medium", "annotation"=>"bubble", ), 'facebook'=>array( 'href'=>'https://www.facebook.com/fileeditor', 'action'=>'like', 'colorscheme'=>'light', 'width'=>'120px',.. ));[/widget] Demo horizontal alignment [widget]$this->widget('application.extensions.social.social', array( 'style'=>'horizontal', 'networks' => array( 'twitter'=>array( 'data-via'=>'http://twitter.com/#!/matricksthetwo', ), 'googleplusone'=>array( "size"=>"medium", "annotation"=>"bubble", ), 'facebook'=>array( 'href'=>'https://www.facebook.com/fileeditor', 'action'=>'recommend', 'colorscheme'=>'light', 'width'=>'120px',...
... page next code: <?php $this->widget('application.extensions.donatebutton.donatebutton', array( 'vertical' => false, 'show_frame'... cookies. Donate ', 'selectable_amount' => array( 'min_amount'=>3, 'max_amount'=>10, 'selected_amount'=>5, 'selected_currency'=>'EUR', 'currencies'=>array('EUR', 'USD'),//or leave '' )... use next code: <?php $this->widget('application.extensions.donatebutton.donatebutton', array( 'vertical' => false, 'show_frame'... cookies. Donate ', 'donation' => array( 'currency_code'=>'EUR', 'amount'=>5 ) )... currency and amount to be donated'(array('currency_code'=>'EUR','amount'=>5)) currency_code: the currency for... variable amount, here will be values(array('min_amount'=>3, 'max_amount'=>10, 'selected_amount'=>5, 'selected_currency'=>'EUR', 'currencies'=>array('EUR', 'USD'))) min_amount:minim amount to... be used selected_currency as unique currency(array('EUR', 'USD')) Hint. Default values...
... variable amount, no frame [widget]$this->widget('application.extensions.donatebutton.donatebutton', array('business' => '[email protected]', 'item_name' =>. Binary Technology development', 'selectable_amount' => array( 'min_amount'=>3, 'max_amount'=>10, 'selected_amount'=>5, 'selected_currency'=>'EUR', 'currencies'=>array('EUR', 'USD'), ) ) );[/widget]. fixed amount, with frame [widget]$this->widget('application.extensions.donatebutton.donatebutton', array( 'vertical' => true, 'show_frame'... cookies. Donate ', 'donation' => array( 'currency_code'=>'EUR', 'amount'=>5 ) ).
[widget]$this->widget('ext.slider.slider', array( 'container'=>'slideshow', 'width'=>750, 'height'=>240, 'timeout'=>6000, 'infos'=>true, 'constrainImage'=>true, 'images'=>array('01.jpg','02.jpg','03.jpg','04.jpg'), 'alts'=>array('First description','Second description','Third description','Four description'),...
... can set options: <?php $this->widget('ext.slider.slider', array( 'container'=>'slideshow', 'width'=>960, 'height'=>240, 'timeout'=>6000, 'infos'=>true, 'constrainImage'=>true, 'images'=>array('01.jpg','02.jpg','03.jpg','04.jpg'), 'alts'=>array('First description','Second description','Third description','Four description'),... to container(boolean:true) images: filename of images(array: array('01.jpg','02.jpg','03.jpg','04.jpg') alts: alt tag for...