-
Notifications
You must be signed in to change notification settings - Fork 0
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
V13 #4
base: master
Are you sure you want to change the base?
V13 #4
Conversation
@@ -75,13 +66,6 @@ public function processDatamap_preProcessFieldArray(&$incomingFieldArray, $table | |||
} | |||
} | |||
|
|||
/** | |||
* See what tags are already in the database and add missing tags, and map the tag names to the IDs. |
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.
comments like this aren't bad actually ;)
@@ -10,12 +12,18 @@ | |||
* of the License, or any later version. | |||
*/ | |||
|
|||
/** | |||
* Helper functionality to quickly work with tags without having to configure TCA, this also allows for "tag" | |||
* to change implementation without having users to modify their code. |
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.
comments like this aren't bad actually ;)
@@ -53,12 +65,6 @@ public function buildFieldConfiguration(string $table, string $fieldName, array | |||
return $fieldConfiguration; | |||
} | |||
|
|||
/** | |||
* Shorthand function to identify all fields that have tags based on the foreign_table field. |
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.
comments like this aren't bad actually ;)
|
||
/** | ||
* Abstraction layer to keep all tag DB queries within this PHP class. |
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.
comments like this aren't bad actually ;)
return $conn->lastInsertId(); | ||
} | ||
|
||
/** | ||
* Simple query for looking for tags that contain the search word. No multi-word / and/or search implemented yet. |
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.
comments like this aren't bad actually ;)
use TYPO3\CMS\Core\Utility\StringUtility; | ||
|
||
/** | ||
* Render a list of tags. |
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.
comments like this aren't bad actually ;)
} | ||
|
||
/** | ||
* DataHandler hook to create tags automatically if they don't exist yet. This way, a clean list of | ||
* IDs is entered to DataHandler. |
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.
comments like this aren't bad actually ;)
No description provided.