Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit dde89a3

Browse files
update: Readme file
1 parent 756231f commit dde89a3

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

‎README.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -6,110 +6,110 @@ It's the result of quite some time of studying the PDO class and the new PHP 7.4
66

77
Let's go for the methods.
88

9-
## addConnection
9+
### addConnection
1010

1111
Method to define a database connection
1212

13-
## useConnection
13+
### useConnection
1414

1515
This function will set which connection the class should use at the moment
1616

17-
## getTotalRequests
17+
### getTotalRequests
1818

1919
It will return the total amount number of requests that were done to the database
2020

21-
## performance
21+
### performance
2222

2323
It will display a HTML comment on the page, displaying the total amount of time in unix the requisitions had taken
2424

25-
## fetch
25+
### fetch
2626

2727
Will fetch a row. If $simple then only one row and finishes.
2828

29-
## fetchAll
29+
### fetchAll
3030

3131
Will give all results
3232

33-
## count
33+
### count
3434

3535
Will give the number of rows inside the object
3636

37-
## empty
37+
### empty
3838

3939
If the object is empty, returns true
4040

41-
## query
41+
### query
4242

4343
Performns a query
4444

45-
## pagedQuery
45+
### pagedQuery
4646

4747
Breaks the number of results to be shown in a smallest number
4848

49-
## setLanguage
49+
### setLanguage
5050

5151
Define which language the class should work (default: english)
5252

53-
## setPaginationWords
53+
### setPaginationWords
5454

5555
Defines the words inside the pagination HTML when the page method is evoked
5656

57-
## getCurrentPage
57+
### getCurrentPage
5858

5959
Will return the current page according to URL
6060

61-
## page
61+
### page
6262

6363
Will give the pagination HTML
6464

65-
## date
65+
### date
6666

6767
Will give server date
6868

69-
## datetime
69+
### datetime
7070

7171
Will give server datetime
7272

73-
## setCollation
73+
### setCollation
7474

7575
Will generate a SQL to change whole database collation. Returns a string, and can apply it too.
7676

77-
## setFriendlyURL
77+
### setFriendlyURL
7878

7979
Will stablish the FriendlyURL instance
8080

81-
## prepare
81+
### prepare
8282

8383
Will prepare a SQL
8484

85-
## set
85+
### set
8686

8787
Will bind value to a prepared SQL
8888

89-
## formatMonney
89+
### formatMonney
9090

9191
Will make the value a monetary one
9292

93-
## insert
93+
### insert
9494

9595
Will insert $data inside $table. If $additional is given, will transform values
9696

97-
## id
97+
### id
9898

9999
Returns last inserted id
100100

101-
## update
101+
### update
102102

103103
Updates $data in $table using given $rules. $additional is supported too.
104104

105-
## delete
105+
### delete
106106

107107
Will delete whole table if $rules is omitted
108108

109-
## URLNormalize
109+
### URLNormalize
110110

111111
Makes given string url friendly
112112

113-
## search
113+
### search
114114

115115
Simple search engine. It uses the content inside database (so, if database doesn't have much records...)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /