File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 * @desc Compatible to vCard 4.0 or higher.
55 *
66 * @author Pierre-Henry Soria <ph7software@gmail.com>
7- * @copyright (c) 2012-2017 , Pierre-Henry Soria. All Rights Reserved.
7+ * @copyright (c) 2012-2018 , Pierre-Henry Soria. All Rights Reserved.
88 * @license GNU General Public License <http://www.gnu.org/licenses/gpl.html>
99 * @version 1.2
1010 */
1111
1212class QRCode
1313{
14-
1514 const API_URL = 'https://chart.googleapis.com/chart?chs= ' ;
1615
1716 private $ _sData ;
@@ -326,6 +325,7 @@ public function finish()
326325 * @param integer $iSize Default 150
327326 * @param string $sECLevel Default L
328327 * @param integer $iMargin Default 1
328+ *
329329 * @return string The API URL configure.
330330 */
331331 public function get ($ iSize = 150 , $ sECLevel = 'L ' , $ iMargin = 1 )
@@ -347,11 +347,11 @@ public function display()
347347 * Clean URL.
348348 *
349349 * @param string $sUrl
350+ *
350351 * @return string
351352 */
352353 private function _cleanUrl ($ sUrl )
353354 {
354355 return str_replace ('& ' , '& ' , $ sUrl );
355356 }
356-
357357}
You can’t perform that action at this time.
0 commit comments