Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
francescobianco committed Feb 22, 2022
1 parent bfce518 commit b8d4f42
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 24 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ $hdb->query("UPDATE vtiger_users SET language = ? WHERE user_name = ?", ["en_us"

#### 😿 Legacy

This method replace this kind of legacy code
Please, replace this kind of legacy code with the `$hdb->query(...)` function

[[back to top ☝]](#documentation)

Expand Down Expand Up @@ -122,7 +122,7 @@ $hdb->query("UPDATE vtiger_users SET language = ? WHERE user_name = ?", ["en_us"

#### 😿 Legacy

This method replace this kind of legacy code
Please, replace this kind of legacy code with the `$hdb->fetch(...)` function

[[back to top ☝]](#documentation)

Expand Down Expand Up @@ -154,7 +154,7 @@ $hdb->query("UPDATE vtiger_users SET language = ? WHERE user_name = ?", ["en_us"

#### 😿 Legacy

This method replace this kind of legacy code
Please, replace this kind of legacy code with the `$hdb->fetchAll(...)` function

[[back to top ☝]](#documentation)

Expand All @@ -180,7 +180,7 @@ $crmId = $hdb->fetchValue("SELECT crmid FROM vtiger_crmentity WHERE setype=? AND

#### 😿 Legacy

This method replace this kind of legacy code
Please, replace this kind of legacy code with the `$hdb->fetchValue(...)` function

```php
$adb = \PearDatabase::getInstance();
Expand Down Expand Up @@ -218,7 +218,7 @@ $hdb->query("UPDATE vtiger_users SET language = ? WHERE user_name = ?", ["en_us"

#### 😿 Legacy

This method replace this kind of legacy code
Please, replace this kind of legacy code with the `$hdb->value(...)` function

[[back to top ☝]](#documentation)

Expand Down Expand Up @@ -250,7 +250,7 @@ $hdb->query("UPDATE vtiger_users SET language = ? WHERE user_name = ?", ["en_us"

#### 😿 Legacy

This method replace this kind of legacy code
Please, replace this kind of legacy code with the `$hdb->exists(...)` function

[[back to top ☝]](#documentation)

Expand Down Expand Up @@ -282,7 +282,7 @@ $hdb->query("UPDATE vtiger_users SET language = ? WHERE user_name = ?", ["en_us"

#### 😿 Legacy

This method replace this kind of legacy code
Please, replace this kind of legacy code with the `$hdb->insert(...)` function

[[back to top ☝]](#documentation)

Expand Down Expand Up @@ -314,7 +314,7 @@ $hdb->query("UPDATE vtiger_users SET language = ? WHERE user_name = ?", ["en_us"

#### 😿 Legacy

This method replace this kind of legacy code
Please, replace this kind of legacy code with the `$hdb->lastInsertId(...)` function

[[back to top ☝]](#documentation)

Expand Down Expand Up @@ -346,7 +346,7 @@ $hdb->query("UPDATE vtiger_users SET language = ? WHERE user_name = ?", ["en_us"

#### 😿 Legacy

This method replace this kind of legacy code
Please, replace this kind of legacy code with the `$hdb->update(...)` function

[[back to top ☝]](#documentation)

Expand Down Expand Up @@ -378,7 +378,7 @@ $hdb->query("UPDATE vtiger_users SET language = ? WHERE user_name = ?", ["en_us"

#### 😿 Legacy

This method replace this kind of legacy code
Please, replace this kind of legacy code with the `$hdb->delete(...)` function

[[back to top ☝]](#documentation)

Expand All @@ -400,7 +400,7 @@ This method is useful to handle this situations

#### 😿 Legacy

This method replace this kind of legacy code
Please, replace this kind of legacy code with the `$hdb->create(...)` function

[[back to top ☝]](#documentation)

Expand Down
2 changes: 1 addition & 1 deletion contrib/update-readme.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
foreach ($docBlock->getTagsByName('example') as $tag) {
$documentation .= "```php\n" . $tag->getDescription() . "\n```\n\n";
}
$documentation .= "#### 😿 Legacy\n\nThis method replace this kind of legacy code\n\n";
$documentation .= "#### 😿 Legacy\n\nPlease, replace this kind of legacy code with the `\$hdb->{$method}(...)` function\n\n";
foreach ($docBlock->getTagsByName('legacy') as $tag) {
$documentation .= "```php\n" . $tag->getDescription() . "\n```\n\n";
}
Expand Down
22 changes: 11 additions & 11 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ $hdb->query("UPDATE vtiger_users SET language = ? WHERE user_name = ?", ["en_us"

#### 😿 Legacy

This method replace this kind of legacy code
Please, replace this kind of legacy code with the `$hdb->query(...)` function

[[back to top ☝]](#documentation)

Expand Down Expand Up @@ -122,7 +122,7 @@ $hdb->query("UPDATE vtiger_users SET language = ? WHERE user_name = ?", ["en_us"

#### 😿 Legacy

This method replace this kind of legacy code
Please, replace this kind of legacy code with the `$hdb->fetch(...)` function

[[back to top ☝]](#documentation)

Expand Down Expand Up @@ -154,7 +154,7 @@ $hdb->query("UPDATE vtiger_users SET language = ? WHERE user_name = ?", ["en_us"

#### 😿 Legacy

This method replace this kind of legacy code
Please, replace this kind of legacy code with the `$hdb->fetchAll(...)` function

[[back to top ☝]](#documentation)

Expand All @@ -180,7 +180,7 @@ $crmId = $hdb->fetchValue("SELECT crmid FROM vtiger_crmentity WHERE setype=? AND

#### 😿 Legacy

This method replace this kind of legacy code
Please, replace this kind of legacy code with the `$hdb->fetchValue(...)` function

```php
$adb = \PearDatabase::getInstance();
Expand Down Expand Up @@ -218,7 +218,7 @@ $hdb->query("UPDATE vtiger_users SET language = ? WHERE user_name = ?", ["en_us"

#### 😿 Legacy

This method replace this kind of legacy code
Please, replace this kind of legacy code with the `$hdb->value(...)` function

[[back to top ☝]](#documentation)

Expand Down Expand Up @@ -250,7 +250,7 @@ $hdb->query("UPDATE vtiger_users SET language = ? WHERE user_name = ?", ["en_us"

#### 😿 Legacy

This method replace this kind of legacy code
Please, replace this kind of legacy code with the `$hdb->exists(...)` function

[[back to top ☝]](#documentation)

Expand Down Expand Up @@ -282,7 +282,7 @@ $hdb->query("UPDATE vtiger_users SET language = ? WHERE user_name = ?", ["en_us"

#### 😿 Legacy

This method replace this kind of legacy code
Please, replace this kind of legacy code with the `$hdb->insert(...)` function

[[back to top ☝]](#documentation)

Expand Down Expand Up @@ -314,7 +314,7 @@ $hdb->query("UPDATE vtiger_users SET language = ? WHERE user_name = ?", ["en_us"

#### 😿 Legacy

This method replace this kind of legacy code
Please, replace this kind of legacy code with the `$hdb->lastInsertId(...)` function

[[back to top ☝]](#documentation)

Expand Down Expand Up @@ -346,7 +346,7 @@ $hdb->query("UPDATE vtiger_users SET language = ? WHERE user_name = ?", ["en_us"

#### 😿 Legacy

This method replace this kind of legacy code
Please, replace this kind of legacy code with the `$hdb->update(...)` function

[[back to top ☝]](#documentation)

Expand Down Expand Up @@ -378,7 +378,7 @@ $hdb->query("UPDATE vtiger_users SET language = ? WHERE user_name = ?", ["en_us"

#### 😿 Legacy

This method replace this kind of legacy code
Please, replace this kind of legacy code with the `$hdb->delete(...)` function

[[back to top ☝]](#documentation)

Expand All @@ -400,7 +400,7 @@ This method is useful to handle this situations

#### 😿 Legacy

This method replace this kind of legacy code
Please, replace this kind of legacy code with the `$hdb->create(...)` function

[[back to top ☝]](#documentation)

Expand Down
10 changes: 9 additions & 1 deletion docs/assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@

@import "{{ site.theme }}";

#main_content > ul > li {
#main_content > ul > li {
padding-left: 0;
}

#main_content h4 {
margin-bottom: 8px;
}

#main_content h3 {
color: #303030;
}

0 comments on commit b8d4f42

Please sign in to comment.