Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: atk4/ui

6.0.0

01 May 13:46

Choose a tag to compare

Major features

Breaking changes

Other changes

5.2.0

15 Jun 14:37

Choose a tag to compare

Major features

Breaking changes

  • Rename View::render() method to View::renderToHtml() (#2198) @mvorisek

Other changes

5.1.0

29 May 12:18

Choose a tag to compare

Major features

Breaking changes

Other changes

5.0.0

01 Oct 12:09

Choose a tag to compare

Major features

Breaking changes

Other changes

4.0.0

26 Nov 14:32

Choose a tag to compare

Major features

Breaking changes

Other changes

3.1.0

30 Dec 00:05

Choose a tag to compare

What’s Changed

Breaking Changes

3.0.0

11 May 13:51

Choose a tag to compare

Major Breaking Changes

Breaking Changes

Other Changes

2.4.0

16 Apr 11:05

Choose a tag to compare

This release brings a lot of focus code-sense and hinting. If you are using modern PHP IDE, you will feel benefit of autocompletion almost everywhere.

Magical hintable fields

The hintable support is another major game changer in sense of cleaness and maintainability. Annotate model fields and used them magically as a real properties.

Usage
add Model class phpdoc:

/**
 * @property string   $name   @Atk4\Field()
 * @property int      $age    @Atk4\Field()
 * @property Standard $mother @Atk4\RefOne()
 */
class X extends Model
{ ...

Use the properties either as standard value property:

$model->age // instead of  $model->get('age')
$model->age = 25 // instead of $model->set('age', 25)

You will also notice that adding fields in examples is using a different syntax:

$this->addField($this->fieldName()->age); // instead of addField('age');

Major Features

  • Convert hardcoded strings in demos to hintable fields (#1559) @mvorisek

Breaking Changes

What’s Changed

2.3.5

04 Dec 12:32

Choose a tag to compare

FC for NS case update II.

2.3.2

04 Dec 12:32

Choose a tag to compare

FC for NS case update