-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Init #1
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks okay
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't reviewed everything bc the PR got merged while reviewing 😄
@@ -0,0 +1,3 @@ | |||
# Project Specific | |||
/vendor | |||
/.vscode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/.vscode | |
/.vscode | |
# Mac OS custom attribute store and thumbnails | |
*.DS_Store | |
._* |
|
||
# Eightshift Forms Utils Library | ||
|
||
Eightshift Forms Utils library is a set of helpers and utils that can be used in the main Eightshift Forms plugin or additional Add-on plugins. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eightshift Forms Utils library is a set of helpers and utils that can be used in the main Eightshift Forms plugin or additional Add-on plugins. | |
Eightshift Forms Utils library is a set of helpers and utils that can be used in the main Eightshift Forms plugin or additional Add-ons. |
use EightshiftLibs\Blocks\AbstractBlocks; | ||
|
||
/** | ||
* Class AbstractUtilsBaseRoute |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Class AbstractUtilsBaseRoute | |
* Class UtilsBlocks |
<?php | ||
|
||
/** | ||
* Class Blocks is the base class for Gutenberg blocks registration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Class Blocks is the base class for Gutenberg blocks registration. | |
* Class UtilsBlocks is the base class for Gutenberg blocks registration. |
public const API_RESPONSE_CODE_ERROR = 400; | ||
public const API_RESPONSE_CODE_ERROR_MISSING = 404; | ||
public const API_RESPONSE_CODE_ERROR_SERVER = 500; | ||
public const API_RESPONSE_CODE_ERROR_FORBIDDEN = 403; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public const API_RESPONSE_CODE_ERROR = 400; | |
public const API_RESPONSE_CODE_ERROR_MISSING = 404; | |
public const API_RESPONSE_CODE_ERROR_SERVER = 500; | |
public const API_RESPONSE_CODE_ERROR_FORBIDDEN = 403; | |
public const API_RESPONSE_CODE_ERROR = 400; | |
public const API_RESPONSE_CODE_ERROR_FORBIDDEN = 403; | |
public const API_RESPONSE_CODE_ERROR_MISSING = 404; | |
public const API_RESPONSE_CODE_ERROR_SERVER = 500; |
} | ||
|
||
/** | ||
* Return counries filtered by some key for multiple usages. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Return counries filtered by some key for multiple usages. | |
* Return countries filtered by some key for multiple usages. |
} | ||
|
||
/** | ||
* Output select options ass array from html string. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Output select options ass array from html string. | |
* Output select options as array from HTML string. |
* Clean url from query params. | ||
* | ||
* @param string $url Url to clean. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Clean url from query params. | |
* | |
* @param string $url Url to clean. | |
* Clean URL from query params. | |
* | |
* @param string $url URL to clean. |
'layoutContent' => [ | ||
[ | ||
'component' => 'intro', | ||
'introTitle' => \__('Disclamer', 'eightshift-forms'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'introTitle' => \__('Disclamer', 'eightshift-forms'), | |
'introTitle' => \__('Disclaimer', 'eightshift-forms'), |
Description