Feed items

  • warning: Declaration of views_handler_argument::init(&$view, &$options) should be compatible with views_handler::init(&$view, $options) in /home/clients/ru/domains/development4web.com/html/sites/all/modules/views/handlers/views_handler_argument.inc on line 48.
  • warning: Declaration of views_handler_filter_boolean_operator::value_validate(&$form, &$form_state) should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/clients/ru/domains/development4web.com/html/sites/all/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 111.
  • warning: Declaration of views_plugin_row_node_view::options_form(&$form, &$form_state) should be compatible with views_plugin_row::options_form($form, &$form_state) in /home/clients/ru/domains/development4web.com/html/sites/all/modules/views/modules/node/views_plugin_row_node_view.inc on line 35.

[news] Yii Message Translator 2.0.0 and related packages released

Major version of Yii Message Translator package was released. In this version we have raised the minimum version of PHP to 8.0, added NullMessageFormatter and IntlMessageFormatter, and made other improvements and changes. See full list of changes in changelog.
Related packages adapted to new version of translator:





[wiki] How to Create and Use Validator Using Regular expressions

There are Multiple Ways to Create a Validator But here we use Regular Expression or JavaScript Regular Expression or RegExp for Creation Validators. In this article, we will see the most Frequently Used Expression
Step 1 : Create a New Class for Validator like below or Validator
See First Example 10 Digit Mobile Number Validation





[news] Yii Definitions 3.0.0

Major version of Yii Definitions package was released. In this version we have raised the minimum version of PHP to 8.0. There are also several improvements and fixes:

  • Changed result format of DefinitionStorage::getBuildStack() method.
  • Added support variadic arguments and autowiring in methods of array definitions.
  • Array definition validator now validates method names.
  • Fixed definition validator for empty strings.




[news] Yii Event Dispatcher 1.1.0

Minor version of Yii Event Dispatcher package was tagged. In this version we have raised the minimum version of PHP to 8.0. The exception message when adding a listener to a collection has also been improved.





[extension] prosite01/yii2-easy-webp

JPG, PNG and GIF to WEBP converter

  1. Installation
  2. Usage

The converter allows one line to display the html tag containing the source file and webp





[news] Yii widgets 1.0.0

First version of Yii widgets package was released.
The package provides extra Yii-specific widgets and utilities:

  • Alert
  • Block
  • Breadcrumbs
  • ContentDecorator
  • Dropdown
  • FragmentCache
  • Menu

See package README for details.





[news] Yii 1.1.26 is released

We are very pleased to announce that Yii Framework version 1.1.26 is released.
You can download it at yiiframework.com/download/.





[wiki] GridView show sum of columns in footer.

GridView show sum of columns in footer
`PHP
use yii\grid\DataColumn;
/**

  • Sum of all the values in the column
  • @author shiv

    /
    class TSumColumn extends DataColumn {
    public function getDataCellValue($model, $key, $index)
    {




[wiki] Convert JSON data to html table for display on page

I have a calls which help me display json directly in html table.
Json2Table::formatContent($json);

The code of Json2Table class is here
============================================