class FullCalendarModelCalendar extends UknowvaModel


Located at : UKNOWVA_ROOT/components/com_fullcalendar/models/calendar.php

Model

Properties

$_errormsg from UknowvaModel
$_successmsg from UknowvaModel

Methods

__construct(array $config)

Constructor

string
__toString()

Magic method to convert the object to a string gracefully.

from JObject
mixed
def(string $property, mixed $default = null)

Sets a default value if not alreay assigned

from JObject
mixed
get(string $property, mixed $default = null)

Returns a property of the object or the default value if the property is not set.

from JObject
array
getProperties(boolean $public = true)

Returns an associative array of object properties.

from JObject
string
getError(integer $i = null, boolean $toString = true)

Get the most recent error message.

from JObject
array
getErrors()

Return all errors, if any.

from JObject
mixed
set(string $property, mixed $value = null)

Modifies a property of the object, creating it if it does not already exist.

from JObject
boolean
setProperties(mixed $properties)

Set the object properties based on a named array/hash.

from JObject
void
setError(string $error)

Add an error message.

from JObject
string
toString() deprecated

No description

from JObject
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.

from JModel
static void
addTablePath(mixed $path)

Adds to the stack of model table paths in LIFO order.

from JModel
static mixed
getInstance(string $type, string $prefix = '', array $config = array())

Returns a Model object, always creating it

from JModel
getDbo()

Method to get the database connector object

from JModel
string
getName()

Method to get the model name

from JModel
object
getState(string $property = null, mixed $default = null)

Method to get model state variables

getTable($type, $config = array())

Method to get a table object, load it if necessary.

void
setDbo(object $db)

Method to set the database connector object

from JModel
mixed
setState(string $property, mixed $value = null)

Method to set model state variables

from JModel
setFilterVariables($filter_vars = array())

No description

getPagination()

No description

getTotal($sql)

No description

getStart()

No description

insertObjects($table, $objects = array(), $key = null)

No description

getFromRecentRequest($vars = array())

No description

setLimit($limit)

No description

store($data)

No description

getColorCodes($userid)

No description

getEvents($userid, $unixstart = null, $unixend = null)

No description

deleteEvent($id, $type = 'fullcalendar')

No description

getItem($id)

No description

hasAccessToEvent($id, $userid, $accesstype = 'view', $type = 'fullcalendar')

No description

hasEditAccessToEvent($id, $userid, $type = 'fullcalendar')

No description

hasDeleteAccessToEvent($id, $userid, $type = 'fullcalendar')

No description

moveEvent($type, $id, $days, $minutes, $allday)

No description

resizeEvent($type, $id, $days, $minutes)

No description

triggerPluginMethod($type, $method, $arguments = array())

No description

Details

at line 13
JObject __construct(array $config)

Constructor

Parameters

array $config An array of configuration options (name, state, dbo, tablepath, ignorerequest).

Return Value

JObject

in JObject at line 56
string __toString()

Magic method to convert the object to a string gracefully.

Return Value

string The classname.

in JObject at line 70
mixed def(string $property, mixed $default = null)

Sets a default value if not alreay assigned

Parameters

string $property The name of the property.
mixed $default The default value.

Return Value

mixed

in JObject at line 88
mixed get(string $property, mixed $default = null)

Returns a property of the object or the default value if the property is not set.

Parameters

string $property The name of the property.
mixed $default The default value.

Return Value

mixed The value of the property.

See also

getProperties()

in JObject at line 107
array getProperties(boolean $public = true)

Returns an associative array of object properties.

Parameters

boolean $public If true, returns only the public properties.

Return Value

array

See also

get()

in JObject at line 133
string getError(integer $i = null, boolean $toString = true)

Get the most recent error message.

Parameters

integer $i Option error index.
boolean $toString Indicates if JError objects should return their error message.

Return Value

string Error message

in JObject at line 165
array getErrors()

Return all errors, if any.

Return Value

array Array of error messages or JErrors.

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.

Parameters

string $property The name of the property.
mixed $value The value of the property to set.

Return Value

mixed Previous value of the property.

in JObject at line 198
boolean setProperties(mixed $properties)

Set the object properties based on a named array/hash.

Parameters

mixed $properties Either an associative array or another object.

Return Value

boolean

See also

set()

in JObject at line 222
void setError(string $error)

Add an error message.

Parameters

string $error Error message.

Return Value

void

in JObject at line 235
string toString() deprecated

deprecated 12.1 Use magic method __toString()

Return Value

string

See also

__toString()

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.

Parameters

mixed $path A path or array[sting] of paths to search.
string $prefix A prefix for models.

Return Value

array An array with directory elements. If prefix is equal to '', all directories are returned.

in JModel at line 123
static void addTablePath(mixed $path)

Adds to the stack of model table paths in LIFO order.

Parameters

mixed $path The directory as a string or directories as an array to add.

Return Value

void

in JModel at line 161
static mixed getInstance(string $type, string $prefix = '', array $config = array())

Returns a Model object, always creating it

Parameters

string $type The model type to instantiate
string $prefix Prefix for the model class name. Optional.
array $config Configuration array for model. Optional.

Return Value

mixed A model object or false on failure

in JModel at line 327
JDatabase getDbo()

Method to get the database connector object

Return Value

JDatabase JDatabase connector object

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

Return Value

string The name of the model

in UknowvaModel at line 126
object getState(string $property = null, mixed $default = null)

Method to get model state variables

Parameters

string $property Optional parameter name
mixed $default Optional default value

Return Value

object The property where specified, the state object where omitted

in UknowvaModel at line 56
JTable getTable($type, $config = array())

Method to get a table object, load it if necessary.

Parameters

$type
$config

Return Value

JTable A JTable object

in JModel at line 427
void setDbo(object $db)

Method to set the database connector object

Parameters

object $db &$db A JDatabase based object

Return Value

void

in JModel at line 441
mixed setState(string $property, mixed $value = null)

Method to set model state variables

Parameters

string $property The name of the property.
mixed $value The value of the property to set or null.

Return Value

mixed The previous value of the property or null if not set.

in UknowvaModel at line 34
setFilterVariables($filter_vars = array())

Parameters

$filter_vars

in UknowvaModel at line 64
getPagination()

in UknowvaModel at line 72
getTotal($sql)

Parameters

$sql

in UknowvaModel at line 76
getStart()

in UknowvaModel at line 80
insertObjects($table, $objects = array(), $key = null)

Parameters

$table
$objects
$key

in UknowvaModel at line 137
getFromRecentRequest($vars = array())

Parameters

$vars

in UknowvaModel at line 147
setLimit($limit)

Parameters

$limit

at line 17
store($data)

Parameters

$data

at line 53
getColorCodes($userid)

Parameters

$userid

at line 68
getEvents($userid, $unixstart = null, $unixend = null)

Parameters

$userid
$unixstart
$unixend

at line 93
deleteEvent($id, $type = 'fullcalendar')

Parameters

$id
$type

at line 100
getItem($id)

Parameters

$id

at line 109
hasAccessToEvent($id, $userid, $accesstype = 'view', $type = 'fullcalendar')

Parameters

$id
$userid
$accesstype
$type

at line 118
hasEditAccessToEvent($id, $userid, $type = 'fullcalendar')

Parameters

$id
$userid
$type

at line 126
hasDeleteAccessToEvent($id, $userid, $type = 'fullcalendar')

Parameters

$id
$userid
$type

at line 134
moveEvent($type, $id, $days, $minutes, $allday)

Parameters

$type
$id
$days
$minutes
$allday

at line 144
resizeEvent($type, $id, $days, $minutes)

Parameters

$type
$id
$days
$minutes

at line 153
triggerPluginMethod($type, $method, $arguments = array())

Parameters

$type
$method
$arguments