[EasyAPNs] element index
All elements
a
c
d
e
f
h
i
l
n
p
q
r
s
u
_
_
top
_get
DbConnect::_get()
in class_DbConnect.php
Singleton pattern to retrieve database connection.
__autoload
__autoload()
in apns.php
Begin Document
__construct
APNS::__construct()
in class_APNS.php
Constructor.
__construct
DbConnect::__construct()
in class_DbConnect.php
Constructor. Initializes a database connection and selects our database.
a
top
$affected_rows
DbConnect::$affected_rows
in class_DbConnect.php
The number of rows affected by the most recent query.
addMessageAlert
APNS::addMessageAlert()
in class_APNS.php
Add Message Alert
addMessageBadge
APNS::addMessageBadge()
in class_APNS.php
Add Message Badge
addMessageCustom
APNS::addMessageCustom()
in class_APNS.php
Add Message Custom
addMessageSound
APNS::addMessageSound()
in class_APNS.php
Add Message Sound
affected_rows
DbConnect::affected_rows()
in class_DbConnect.php
Retuns the number of rows affected by the most recent query
APNS
APNS
in class_APNS.php
Begin Document
apns.php
apns.php
in apns.php
c
top
class_APNS.php
class_APNS.php
in class_APNS.php
class_DbConnect.php
class_DbConnect.php
in class_DbConnect.php
close
DbConnect::close()
in class_DbConnect.php
Closes our connection to MySQL.
connect
DbConnect::connect()
in class_DbConnect.php
Connect to the Database.
Connection
DbConnect::Connection()
in class_DbConnect.php
Singleton pattern to retrieve database connection.
d
top
$DB_DATABASE
DbConnect::$DB_DATABASE
in class_DbConnect.php
The Database.
DbConnect
DbConnect
in class_DbConnect.php
Begin Document
e
top
$errno
DbConnect::$errno
in class_DbConnect.php
The error number of the most recent database error message.
$error
DbConnect::$error
in class_DbConnect.php
The text of the most recent database error message.
errno
DbConnect::errno()
in class_DbConnect.php
Returns the MySQL error number.
error
DbConnect::error()
in class_DbConnect.php
Returns the MySQL error message.
f
top
fetch_array
DbConnect::fetch_array()
in class_DbConnect.php
Fetches a row from a query result and returns the values from that row as an array.
free_result
DbConnect::free_result()
in class_DbConnect.php
Frees memory associated with a query result.
h
top
hide_errors
DbConnect::hide_errors()
in class_DbConnect.php
Turns database error reporting off
i
top
$insert_id
DbConnect::$insert_id
in class_DbConnect.php
$instance
DbConnect::$instance
in class_DbConnect.php
The variable used to contain a singleton instance of the database connection.
$is_locked
DbConnect::$is_locked
in class_DbConnect.php
Do we currently have a lock in place?
insert_id
DbConnect::insert_id()
in class_DbConnect.php
Returns the ID of the most recently inserted item in an auto_increment field
l
top
$link
DbConnect::$link
in class_DbConnect.php
Connection to MySQL.
$log_errors
DbConnect::$log_errors
in class_DbConnect.php
Log errors? If set to true, the error message/sql is logged.
lock
DbConnect::lock()
in class_DbConnect.php
Lock database tables
n
top
newMessage
APNS::newMessage()
in class_APNS.php
Start a New Message
num_queries
DbConnect::num_queries()
in class_DbConnect.php
Returns the number of queries executed.
num_rows
DbConnect::num_rows()
in class_DbConnect.php
Returns the number of rows in a result set.
p
top
prepare
DbConnect::prepare()
in class_DbConnect.php
Escapes a value to make it safe for using in queries.
processQueue
APNS::processQueue()
in class_APNS.php
Process all queued messages
q
top
$query_count
DbConnect::$query_count
in class_DbConnect.php
Holds the number of queries executed.
query
DbConnect::query()
in class_DbConnect.php
Executes a sql query. If optional $only_first is set to true, it will return the first row of the result as an array.
queueMessage
APNS::queueMessage()
in class_APNS.php
Queue Message for Delivery
r
top
$recent_link
DbConnect::$recent_link
in class_DbConnect.php
Holds the most recent connection.
raise_error
DbConnect::raise_error()
in class_DbConnect.php
If there is a database error, the script will be stopped and an error message displayed.
s
top
$show_errors
DbConnect::$show_errors
in class_DbConnect.php
Show errors? If set to true, the error message/sql is displayed.
$sql
DbConnect::$sql
in class_DbConnect.php
Holds the contents of the most recent SQL query.
samples.php
samples.php
in samples.php
show_errors
DbConnect::show_errors()
in class_DbConnect.php
Turns database error reporting on
u
top
unlock
DbConnect::unlock()
in class_DbConnect.php
Unlock tables
a
c
d
e
f
h
i
l
n
p
q
r
s
u
_