Skip to content

Commit

Permalink
Makes canada, client, collars, cookie, countries, countries_phonePref…
Browse files Browse the repository at this point in the history
…ixes, data, date, file libraries ready to be parsed by Oxygen.
  • Loading branch information
JB Lebrun committed Apr 9, 2018
1 parent 881faef commit 56c5071
Show file tree
Hide file tree
Showing 9 changed files with 441 additions and 426 deletions.
42 changes: 21 additions & 21 deletions engine/lib/tool/canada.php.inc
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
<?php
/*
* CaMykS Engine
* Developed by : camyks.net
* Author : CaMykS Team <camyks.contact@gmail.com>
* CaMykS Version : 1.0
* Object Version : 1.0.1
* Object Type : Engine / Tool Library
* Creation Date : Jul 2017
* Last Modif Date : Apr 2018
*
* Specific methods related to Canada
* /!\ This library is not loaded with CaMykS initialisation
/**
* @brief Specific methods related to Canada
* @details Engine / Tool Library
* @file engine/lib/tool/canada.php.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0.1
* @date Creation: Jul 2017
* @date Modification: Apr 2018
* @copyright 2017 - 2018 CaMykS Team
* @note This program is distributed as is - WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* @warning This library is not loaded with CaMykS initialisation.
*/

/*
* load canadian states locales
* @param string language
/**
* Load canadian states locales.
* @param string $language
* @return void
*/
function canada_getStatesLocales($language='') {
Expand All @@ -28,16 +28,16 @@ function canada_getStatesLocales($language='') {
$camyks->add_generic_translation('canadianstates', $language);
}

/*
* return canadian states code list
/**
* Return canadian states code list.
* @return array
*/
function canada_getStatesCodeList() {
return array('ab', 'bc', 'ipe', 'mb', 'nb', 'ns', 'on', 'qc', 'sk', 'nl', 'nu', 'nt', 'yt');
}

/*
* return canadian states list
/**
* Return canadian states list.
* @param array $params
* @return array
*/
Expand Down Expand Up @@ -69,8 +69,8 @@ function canada_getStatesList($params=array()) {
return $list;
}

/*
* return canadian state title
/**
* Return canadian state title.
* @param string $state
* @param string $language
* @return string
Expand Down
Loading

0 comments on commit 56c5071

Please sign in to comment.