CaMykS
1.0-20231201
|
Public Member Functions | |
__construct ($path_type) | |
initialise ($params=array()) | |
get_vCardAvailableVersions () | |
get_vCardDefaultParams () | |
get_pluginError () | |
check_vCardVersion ($content) | |
Public Member Functions inherited from Input | |
__construct ($name, $path_type) | |
Input ($name, $path_type) | |
display () | |
get_translation ($value, $data=null) | |
set_selectedLayout ($layout='') | |
Public Member Functions inherited from Plugin | |
__construct ($name, $plugin_type, $path_type) | |
get_version () | |
load_library ($library='') | |
load_file ($file='') | |
load_varFile ($file='') | |
load_engineFile ($file='') | |
get_engineFileURL ($file='', $path=false) | |
get_fileURL ($file='', $path=null, $default='') | |
get_varFileURL ($file='', $path=false, $default='') | |
get_filePath ($file='') | |
get_varFilePath ($file='') | |
add_JSFile ($file) | |
add_JSEngineFile ($file) | |
add_JSExternFile ($file) | |
add_JSScript ($script, $unique=false) | |
add_JSPreScript ($script, $unique=false) | |
add_JSWindowEventScript ($event, $script, $unique=false) | |
add_JSLoadScript ($script, $unique=false) | |
add_JSUnloadScript ($script, $unique=false) | |
add_styleFile ($file, $media='', $condition='') | |
add_styleScript ($css) | |
add_styleIncludedFile ($file) | |
add_StyleExternFile ($file, $media='', $condition='') | |
set_RSSFeed ($title, $url) | |
add_headerExtra ($content='') | |
install () | |
uninstall () | |
is_installed () | |
update ($version, $more='') | |
add_translation ($more='', $lg=null) | |
get_languages () | |
execute_onCaMykSInitialise () | |
execute_onCaMykSPageLoad () | |
execute_onCaMykSBodyOpen () | |
execute_onCaMykSBodyClose () | |
execute_onCaMykSAdminPageLoad () | |
execute_onCaMykSAdminBodyOpen () | |
execute_onCaMykSAdminBodyClose () | |
execute_onCaMykSTerminate () | |
get_requestLink ($params=array()) | |
get_requestJSLink ($params=array()) | |
execute_request () | |
get_varFile ($file) | |
Private Member Functions | |
export_vCard ($params) | |
import_vCard ($params) | |
get_exportDefaultParams () | |
get_importDefaultParams () | |
load_vCardObject ($version='') | |
encode_cardTitle ($title) | |
define_pluginError ($error, $param=null) | |
getCountryCode ($code) | |
Static Private Member Functions | |
static | Unescape ($Text) |
static | cleanVcard ($content) |
Private Attributes | |
$loadedObjects = array() | |
Loaded vcard format list. More... | |
$pluginError = '' | |
Last error. More... | |
SyntaxColoringEngine Input class.
GenericVCardHandler::__construct | ( | $path_type | ) |
Class constructor.
string | $path_type |
GenericVCardHandler::initialise | ( | $params = array() | ) |
|
private |
Export vCard.
array | $params |
|
private |
Import vCard.
array | $params |
GenericVCardHandler::get_vCardAvailableVersions | ( | ) |
Return vCard available versions.
GenericVCardHandler::get_vCardDefaultParams | ( | ) |
Return vCard default params.
|
private |
return export action params.
|
private |
Return import action params.
|
private |
Load vCard object.
string | $version |
|
private |
Return encoded title.
string | $title |
|
private |
Define plugin error.
string | $error | |
mixed | $param |
GenericVCardHandler::get_pluginError | ( | ) |
Return plugin error.
|
private |
Method to get country code from title
string | $code |
GenericVCardHandler::check_vCardVersion | ( | $content | ) |
Check if the given content is a genuine vCard
unknown | $content |
add support for xCard, jCard, hCard
Check for mandatory attributes (BEGIN,END, etc...)
|
staticprivate |
Unescape text/
verify this method doesnt exist somewhere else
refactor it, put it somewhere higher
string | $Text | to prepare. |
|
staticprivate |
Clean the vCard.
string | $content |
|
private |
Loaded vcard format list.
var array $loadedObjects
|
private |
Last error.
var string $pluginError