Ejemplo n.º 1
0
 /**
  * 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));
 }
Ejemplo n.º 2
0
 /**
  * Prepare and sanitise the table prior to saving.
  */
 protected function prepareTable($table)
 {
     $table->title = SibdietHelper::correctPersianAlphabet(htmlspecialchars_decode($table->title, ENT_QUOTES));
 }
Ejemplo n.º 3
0
 /**
  * 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));
 }