Posts Tagged with ide

Displaying 1-10 of 16 results.
Resolved: JetBrains PhpStorm run terminal command line cmd from IDE space
posted by admin on February 6, 2017
I want to run terminal from cmd terminal from JetBrains PhpStorm IDE space from menu, or by keys combination or from project right click.Read more
Wiki: Laravel 5.2 install IDE helper for NetBeans (Namespaces, Classes and all libraries)wiki
posted by admin on August 12, 2016
Helper Source laravel-ide-helper GITHUB Official

CMD Terminal
Open CMD terminal
Go to your Laravel project root directory by

cd C:\xampp\htdocs\

Require this package with composer using the following command:

composer require barryvdh/laravel-ide-helper

After updating composer, add the service provider to the providers array in config/app.php


Automatic phpDoc generation for Laravel Facades
You can now re-generate the docs yourself (for future updates)

php artisan ide-helper:generate

Note: bootstrap/compiled.php has to be cleared first, so run

php artisan clear-compiled

before generating (and

php artisan optimize


You can configure your composer.json to do this after each commit:
You can also publish the config file to change implementations (ie. interface to specific class) or set defaults for --helpers or --sublime.

php artisan vendor: publish --provider="Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider" --tag=config

Restart NetBeans IDERead more
Resolved: Yii 1.1 dataProvider total items count
posted by admin on May 22, 2016
In controller:

$dataProvider = new CActiveDataProvider('Media');
$this->render('tag', array(
'dataProvider' => $dataProvider,

In view I want to get total count of $dataProviderRead more
Resolved: Yii CGridView get selected row event on shoose
posted by admin on April 23, 2016
as someone in another topic said, "I did my best to search for answers but didn't find the a solution".

First, I am newbie in Yii.

I have 2 frames, the 1st has a CGridView component that print data from MySql tables. My goal is when I click on a row in CGridView, let I know in the 2nd frame which rows where selected.

I have the CGridView with multiple selection, the frames, and read that selectionChanged is a "a javascript function that will be invoked after the row selection is changed. The function signature is function(id) where 'id' refers to the ID of the grid view. In this function, you may use $.fn.yiiGridView.getSelection(id) to get the key values of the currently selected rows."

My problem is, I don't know how to use selectionChanged function.Read more
Resolved: Yii CActiveDataProvider CListView pagination error
posted by admin on April 15, 2016
In Controller:

$dataProviderComments = new CActiveDataProvider('Comments',
'criteria' => array(
'order' => 'id DESC',
'pagination' => array(
'pageSize' => 10,
'pageVar'=> 'page'

$this->render('/media/view', array('comments'=>$dataProviderComments));

In View:

<?php $this->widget('zii.widgets.CListView', array(
)); ?>

When my comments less than 10, all is right, but when will be pagination, start from 11, I see this error

Fatal error: Call to a member function getId() on null in C:\xampp\htdocs\\framework\web\CController.php on line 962
Read more
Resolved: How to change css display none or block property using Jquery?
posted by admin on April 12, 2016
Wiki: Yii 1.1: videojswiki
posted by admin on April 9, 2016
EVideoJS extends CWidget and implements a base class for the VideoJS player.

EVideoJS extends CWidget and implements a base class for the VideoJS HTML5 Video Player.

Tested with Yii Framework v.1.1.6 and VideoJS 1.3.0.


Extract the videojs folder under protected/extensions.

The bare minimum configuration needs:
  • video_mp4 URL
  • width
  • height

The code below shows common usage and options defaults.

$this->widget('application.extensions.videojs.EVideoJS', array(
'options' => array(
// Unique identifier, is autogenerated by default, useful for jQuery integrations.
'id' => false,
// Video and poster width in pixels
'width' => 320,
// Video and poster height in pixels
'height' => 240,
// Poster image absolute URL
'poster' => false,
// Absolute URL of the video in MP4 format
'video_mp4' => false,
// Absolute URL of the video in OGV format
'video_ogv' => false,
// Absolute URL of the video in WebM format
'video_webm' => false,
// Use Flash fallback player ?
'flash_fallback' => true,
// Address of custom Flash player to use as fallback
'flash_player' => '',
// Show controls ?
'controls' => true,
// Preload video content ?
'preload' => true,
// Autostart the playback ?
'autoplay' => false,
// Show VideoJS support link ?
'support' => true,
// Show video download links ?
'download' => true,

VideoJS official web site: HTML5 Video Player

videojs.zipRead more
Resolved: Yii CActiveDataProvider change default post count
posted by admin on March 30, 2016
In controller:

$dataProvider = new CActiveDataProvider('Media');

I want to change default post count in one pageRead more
Resolved: Yii CListView pass data to view
posted by admin on March 30, 2016

$mode = "My Custom Value";

$this->widget('zii.widgets.CListView', array(
)); ?>
Read more
Resolved: Yii CListView unique id attribute div
posted by admin on March 30, 2016

$this->widget('zii.widgets.CListView', array(
)); ?>

I want to edit and change id of parent divRead more