Skip to content

Commit

Permalink
closes #1414
Browse files Browse the repository at this point in the history
  • Loading branch information
nadar committed Aug 29, 2017
1 parent 6c42278 commit ef35694
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 17 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file. This projec

### Changed

- [#1414](https://github.com/luyadev/luya/issues/1414) Renamed Angular Helper methods, removed all the zaa prefixes.
- [#1308](https://github.com/luyadev/luya/issues/1308) Renamed `luya\admin\ngrest\plugins\CheckboxRelation::labelFields` to `luya\admin\ngrest\plugins\CheckboxRelation::labelField`
- [#1301](https://github.com/luyadev/luya/issues/1301) Move the CRUD commands to the admin module `admin/crud/create` and `admin/crud/model`.
- [#1289](https://github.com/luyadev/luya/issues/1289) Remove `luyaLanguage` application property and replace with admin module `interfaceLanguage` property.
Expand Down
3 changes: 2 additions & 1 deletion UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ This document will help you upgrading from a LUYA Version into another. For more
1.0.0-RC4 (in progress)
-------------------

+ [#1369]() FlowActiveWindow dropped property `$modelClass` and does need to be configured anymore.
+ [#1414](https://github.com/luyadev/luya/issues/1414) Renamed Angular Helper methods, removed all the zaa prefixes.
+ [#1369](https://github.com/luyadev/luya/issues/1369) FlowActiveWindow dropped property `$modelClass` and does need to be configured anymore.

1.0.0-RC3 (11. April 2017)
-------------------
Expand Down
32 changes: 16 additions & 16 deletions modules/admin/src/helpers/Angular.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public static function directive($name, array $options = [])
* @param array $options An array with optional properties for the tag creation, where key is the property name and value its content.
* @return string
*/
public static function zaaSortRelationArray($ngModel, $label, array $sourceData, array $options = [])
public static function sortRelationArray($ngModel, $label, array $sourceData, array $options = [])
{
return self::injector('zaa-sort-relation-array', $ngModel, $label, ['sourceData' => $sourceData], $options);
}
Expand All @@ -93,7 +93,7 @@ public static function zaaSortRelationArray($ngModel, $label, array $sourceData,
* @param array $options An array with optional properties for the tag creation, where key is the property name and value its content.
* @return string
*/
public static function zaaText($ngModel, $label, array $options = [])
public static function text($ngModel, $label, array $options = [])
{
return self::injector('zaa-text', $ngModel, $label, [], $options);
}
Expand All @@ -106,7 +106,7 @@ public static function zaaText($ngModel, $label, array $options = [])
* @param array $options An array with optional properties for the tag creation, where key is the property name and value its content.
* @return string
*/
public static function zaaTextarea($ngModel, $label, array $options = [])
public static function textarea($ngModel, $label, array $options = [])
{
return self::injector('zaa-textarea', $ngModel, $label, [], $options);
}
Expand All @@ -119,7 +119,7 @@ public static function zaaTextarea($ngModel, $label, array $options = [])
* @param array $options An array with optional properties for the tag creation, where key is the property name and value its content.
* @return string
*/
public static function zaaNumber($ngModel, $label, array $options = [])
public static function number($ngModel, $label, array $options = [])
{
return self::injector('zaa-number', $ngModel, $label, [], $options);
}
Expand All @@ -132,7 +132,7 @@ public static function zaaNumber($ngModel, $label, array $options = [])
* @param array $options An array with optional properties for the tag creation, where key is the property name and value its content.
* @return string
*/
public static function zaaDecimal($ngModel, $label, array $options = [])
public static function decimal($ngModel, $label, array $options = [])
{
return self::injector('zaa-decimal', $ngModel, $label, [], $options);
}
Expand All @@ -150,7 +150,7 @@ public static function zaaDecimal($ngModel, $label, array $options = [])
* @param array $options An array with optional properties for the tag creation, where key is the property name and value its content.
* @return string
*/
public static function zaaSelect($ngModel, $label, array $data, array $options = [])
public static function select($ngModel, $label, array $data, array $options = [])
{
return self::injector('zaa-select', $ngModel, $label, $data, $options);
}
Expand All @@ -163,7 +163,7 @@ public static function zaaSelect($ngModel, $label, array $data, array $options =
* @param array $options An array with optional properties for the tag creation, where key is the property name and value its content.
* @return string
*/
public static function zaaCheckbox($ngModel, $label, array $options = [])
public static function checkbox($ngModel, $label, array $options = [])
{
return self::injector('zaa-checkbox', $ngModel, $label, [], $options);
}
Expand All @@ -189,7 +189,7 @@ public static function zaaCheckbox($ngModel, $label, array $options = [])
* @param array $options An array with optional properties for the tag creation, where key is the property name and value its content.
* @return string
*/
public static function zaaCheckboxArray($ngModel, $label, array $data, array $options = [])
public static function checkboxArray($ngModel, $label, array $data, array $options = [])
{
return self::injector('zaa-checkbox-array', $ngModel, $label, ['items' => $data], $options);
}
Expand All @@ -202,7 +202,7 @@ public static function zaaCheckboxArray($ngModel, $label, array $data, array $op
* @param array $options An array with optional properties for the tag creation, where key is the property name and value its content.
* @return string
*/
public static function zaaDate($ngModel, $label, array $options = [])
public static function date($ngModel, $label, array $options = [])
{
return self::injector('zaa-date', $ngModel, $label, [], $options);
}
Expand All @@ -215,7 +215,7 @@ public static function zaaDate($ngModel, $label, array $options = [])
* @param array $options An array with optional properties for the tag creation, where key is the property name and value its content.
* @return string
*/
public static function zaaDatetime($ngModel, $label, array $options = [])
public static function datetime($ngModel, $label, array $options = [])
{
return self::injector('zaa-datetime', $ngModel, $label, [], $options);
}
Expand All @@ -228,7 +228,7 @@ public static function zaaDatetime($ngModel, $label, array $options = [])
* @param array $options An array with optional properties for the tag creation, where key is the property name and value its content.
* @return string
*/
public static function zaaTable($ngModel, $label, array $options = [])
public static function table($ngModel, $label, array $options = [])
{
return self::injector('zaa-table', $ngModel, $label, [], $options);
}
Expand All @@ -241,7 +241,7 @@ public static function zaaTable($ngModel, $label, array $options = [])
* @param array $options An array with optional properties for the tag creation, where key is the property name and value its content.
* @return string
*/
public static function zaaListArray($ngModel, $label, array $options = [])
public static function listArray($ngModel, $label, array $options = [])
{
return self::injector('zaa-list-array', $ngModel, $label, [], $options);
}
Expand All @@ -254,7 +254,7 @@ public static function zaaListArray($ngModel, $label, array $options = [])
* @param array $options An array with optional properties for the tag creation, where key is the property name and value its content.
* @return string
*/
public static function zaaFileArrayUpload($ngModel, $label, array $options = [])
public static function fileArrayUpload($ngModel, $label, array $options = [])
{
return self::injector('zaa-file-array-upload', $ngModel, $label, [], $options);
}
Expand All @@ -267,7 +267,7 @@ public static function zaaFileArrayUpload($ngModel, $label, array $options = [])
* @param array $options An array with optional properties for the tag creation, where key is the property name and value its content.
* @return string
*/
public static function zaaImageArrayUpload($ngModel, $label, array $options = [])
public static function imageArrayUpload($ngModel, $label, array $options = [])
{
return self::injector('zaa-image-array-upload', $ngModel, $label, [], $options);
}
Expand All @@ -280,7 +280,7 @@ public static function zaaImageArrayUpload($ngModel, $label, array $options = []
* @param array $options An array with optional properties for the tag creation, where key is the property name and value its content.
* @return string
*/
public static function zaaImageUpload($ngModel, $label, array $options = [])
public static function imageUpload($ngModel, $label, array $options = [])
{
return self::injector('zaa-image-upload', $ngModel, $label, [], $options);
}
Expand All @@ -293,7 +293,7 @@ public static function zaaImageUpload($ngModel, $label, array $options = [])
* @param array $options An array with optional properties for the tag creation, where key is the property name and value its content.
* @return string
*/
public static function zaaFileUpload($ngModel, $label, array $options = [])
public static function fileUpload($ngModel, $label, array $options = [])
{
return self::injector('zaa-file-upload', $ngModel, $label, [], $options);
}
Expand Down

0 comments on commit ef35694

Please sign in to comment.