コード例 #1
0
ファイル: goal.php プロジェクト: smhnaji/sdnet
 /**
  * Prepare and sanitise the table prior to saving.
  */
 protected function prepareTable($table)
 {
     require_once JPATH_COMPONENT . '/helpers/sibdiet.php';
     $table->title = SibdietHelper::correctPersianAlphabet(htmlspecialchars_decode($table->title, ENT_QUOTES));
 }
コード例 #2
0
ファイル: contag.php プロジェクト: smhnaji/sdnet
 /**
  * Prepare and sanitise the table prior to saving.
  */
 protected function prepareTable($table)
 {
     $table->title = SibdietHelper::correctPersianAlphabet(htmlspecialchars_decode($table->title, ENT_QUOTES));
 }
コード例 #3
0
ファイル: profile.php プロジェクト: smhnaji/sdnet
 /**
  * Prepare and sanitise the table prior to saving.
  *
  * @since   1.6
  */
 protected function prepareTable($table)
 {
     $table->fname = SibdietHelper::correctPersianAlphabet(htmlspecialchars_decode($table->fname, ENT_QUOTES));
     $table->lname = SibdietHelper::correctPersianAlphabet(htmlspecialchars_decode($table->lname, ENT_QUOTES));
     $table->job = SibdietHelper::correctPersianAlphabet(htmlspecialchars_decode($table->job, ENT_QUOTES));
     $table->city = SibdietHelper::correctPersianAlphabet(htmlspecialchars_decode($table->city, ENT_QUOTES));
 }