CommunityModelMailq
class CommunityModelMailq extends JCCModel
Methods
Sets a default value if not alreay assigned
Restrive some emails from the q and delete it
Returns an associative array of object properties.
Get the most recent error message.
Modifies a property of the object, creating it if it does not already exist.
Set the object properties based on a named array/hash.
Add a directory where JModel should search for models. You may either pass a string or an array of directories.
Adds to the stack of model table paths in LIFO order.
Returns a Model object, always creating it
Method to get model state variables
Method to get a table object, load it if necessary.
Method to set model state variables
take an object with the send data $recipient, $body, $subject,
Set the email status (0 = pending, 1 = sent/succesful, 2 = blocked)
Change the status of a message
No description
No description
Details
in JObject at line 56
string
__toString()
Magic method to convert the object to a string gracefully.
in JObject at line 70
mixed
def(string $property, mixed $default = null)
Sets a default value if not alreay assigned
at line 64
mixed
get($limit = 100, $markAsSent = false)
Restrive some emails from the q and delete it
in JObject at line 107
array
getProperties(boolean $public = true)
Returns an associative array of object properties.
in JObject at line 133
string
getError(integer $i = null, boolean $toString = true)
Get the most recent error message.
in JObject at line 165
array
getErrors()
Return all errors, if any.
in JObject at line 180
mixed
set(string $property, mixed $value = null)
Modifies a property of the object, creating it if it does not already exist.
in JObject at line 198
boolean
setProperties(mixed $properties)
Set the object properties based on a named array/hash.
in JObject at line 222
void
setError(string $error)
Add an error message.
in JObject at line 235
string
toString()
deprecated
deprecated
in JModel at line 84
static array
addIncludePath(mixed $path = '', string $prefix = '')
Add a directory where JModel should search for models. You may either pass a string or an array of directories.
in JModel at line 123
static void
addTablePath(mixed $path)
Adds to the stack of model table paths in LIFO order.
in JModel at line 161
static mixed
getInstance(string $type, string $prefix = '', array $config = array())
Returns a Model object, always creating it
in JModel at line 341
string
getName()
Method to get the model name
The model name. By default parsed using the classname or it can be set by passing a $config['name'] in the class constructor
in JModel at line 365
object
getState(string $property = null, mixed $default = null)
Method to get model state variables
in JModel at line 388
JTable
getTable(string $name = '', string $prefix = 'Table', array $options = array())
Method to get a table object, load it if necessary.
in JModel at line 427
void
setDbo(object $db)
Method to set the database connector object
in JModel at line 441
mixed
setState(string $property, mixed $value = null)
Method to set model state variables
in JCCModel at line 13
JCCModel()
in JCCModel at line 18
getNotes()
in JCCModel at line 22
getSample()
in JCCModel at line 28
store()
at line 18
add($recipient, $subject, $body, $templateFile = '', $params = '', $status, $email_type = '')
take an object with the send data $recipient, $body, $subject,
at line 99
markEmailStatus($id, $statuscode = 1)
Set the email status (0 = pending, 1 = sent/succesful, 2 = blocked)
at line 113
markSent($id)
Change the status of a message