-
Notifications
You must be signed in to change notification settings - Fork 0
class mobilezChat
www/includes/mobilez/chat.inc.php
Chat\Mobilezorg
- IneX
- 16.01.2016
1.0
No public properties found
No constants found
execChatMessageCommand() | execPwReset() | getAdditionalChatMessages() | getChatMessages() | postChatMessage() | postGoogleMapsLocation() | saveBug() | saveImage() |
Handle Chat Message Commands Deals with various special Commands requested from the Chat Message
- Inherited from \mobilezChat
public
execChatMessageCommand(mixed $user_id, mixed $command, mixed $parameters) : mixed
- author: IneX
-
version:
1.0
-
since:
1.0
User Password Reset Resets a User's password and sends the new one by e-mail
- Inherited from \mobilezChat
public
execPwReset(mixed $email) : mixed
- author: IneX
-
version:
1.0
-
since:
1.0
- global: object $pdo_db Usersystem Object, contains all User methods
Get additional Messages Queries and returns additional Chat Messages from a specific starting point.
This is required for something like a "Load more"-button.
- Inherited from \mobilezChat
public
getAdditionalChatMessages(mixed $start_date, mixed $limit = 25, mixed $order = 'date') : mixed
- ToDo: combine this function into getChatMessages()
- author: IneX
-
version:
1.0
-
since:
1.0
- global: object $pdo_db PDO-Database Object, active SQL-Connection
Chat Messages Query and output chat messages
- Inherited from \mobilezChat
public
getChatMessages(mixed $order = 'date', mixed $limit = 25) : mixed
- author: IneX
-
version:
1.0
-
since:
1.0
- global: object $pdo_db PDO-Database Object, active SQL-Connection
- global: object $smarty Smarty Class-object, the template engine
Parses a Chat Message before saving Does various magics to add fancy stuff to a Chat Message before saving it
- Inherited from \mobilezChat
private
parseChatMessage(mixed $message) : mixed
- author: IneX
-
version:
1.0
-
since:
1.0
- global: object $pdo_db PDO-Database Object, active SQL-Connection
Anfick Fickt einen User aufs übelste an
- Inherited from \mobilezChat
private
postAnfickMessage(mixed $from_user_id, mixed $to_user) : mixed
- global: object $pdo_db PDO-Database Object, active SQL-Connection
Save Chat Message Saves a Chat Message to the Database
- Inherited from \mobilezChat
public
postChatMessage(mixed $user_id, mixed $message, mixed $from_mobile) : mixed
- ToDo: Parse for User @mentioning and generate Notification (e-mail?)
- author: IneX
-
version:
1.0
-
since:
1.0
- global: object $pdo_db PDO-Database Object, active SQL-Connection
Save Geolocation as Chat Message Saves a Google Maps URL as Chat Message to the Database additionally it triggers a download of a Google Maps Image file Example URL: http://maps.googleapis.com/maps/api/staticmap?size=640x480&scale=1&zoom=15&markers=color:red%7Csize:mid%7C47.39220630060216,9.366854022435746
- Inherited from \mobilezChat
public
postGoogleMapsLocation(mixed $user_id, mixed $latlng, mixed $from_mobile) : mixed
See also
- ToDo: Save Google Staticmap in 3 sizes: small, medium, large
- author: IneX
-
version:
2.0
-
since:
1.0
method added -
since:
2.0
27.08.2019
IneX
included and added GOOGLE_API_KEY, maps.googleapis.com url and parameter adjustments
Save Bug Saves a Bug Report to the Database
- Inherited from \mobilezChat
public
saveBug(mixed $user_id, mixed $title, mixed $description, mixed $from_mobile) : mixed
- ToDo: Post new Bug Report as Chat message with link?
- author: IneX
-
version:
1.0
-
since:
1.0
- global: object $pdo_db PDO-Database Object, active SQL-Connection
Google Maps API - staticmap Grab and save a Google Maps Snapshot and save image into user's file directory
- Inherited from \mobilezChat
private
saveGoogleMapsImage(mixed $user_id, mixed $image_url) : mixed
- author: IneX
-
version:
1.0
-
since:
1.0
- global: object $pdo_db PDO-Database Object, active SQL-Connection
Save Uploaded Image Saves an uploaded image file into the user's file directory
- Inherited from \mobilezChat
public
saveImage(mixed $user_id, mixed $image_path, mixed $image_size, mixed $image_type, mixed $image_name = '', mixed $image_extension = '', mixed $from_mobile) : mixed
- author: IneX
-
version:
2.0
-
since:
1.0
method added -
since:
2.0
27.08.2019
IneX
Added Telegram Notification - global: object $pdo_db PDO-Database Object, active SQL-Connection
Image Thumbnail Download Download a small preview thumbnail of an image link within a Chat Message for linking
- Inherited from \mobilezChat
private
saveImageThumbnail(mixed $user_id, mixed $image_url, mixed $image_name = '') : string
- author: IneX
-
version:
1.0
-
since:
1.0
- global: object $pdo_db PDO-Database Object, active SQL-Connection
RezaSeyf/twitterHashtags Twitter-like Hashtag system with Unicode and Hashtag Exporting system Support
- Inherited from \mobilezChat
private
tagExtract(string $str, string $outputType = null) : string
- author: RezaSeyf [email protected]
- license: http://opensource.org/licenses/gpl-license.php GNU Public License github: https://github.com/RezaSeyf blog : http://1reza.blogspot.com
\ » Classes » mobilezChat
Documentation generated on April 26th, 2020 at 15:54.
Powered by phpDocumentor with template GitHub-wiki.