Loading src/ModalPage.php +11 −0 Changes for src/ModalPage.php: 11 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -188,6 +188,17 @@ class ModalPage { return trim($text); } /** * Undocumented function * * @param object $modal * The object modal. * @param string $currentPath * The current path. * * @return object * Retunr the modal. */ public function getModalToShowByPage($modal, $currentPath) { $pages = $modal->pages->value; $pages = explode(PHP_EOL, $pages); Loading Loading
src/ModalPage.php +11 −0 Changes for src/ModalPage.php: 11 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -188,6 +188,17 @@ class ModalPage { return trim($text); } /** * Undocumented function * * @param object $modal * The object modal. * @param string $currentPath * The current path. * * @return object * Retunr the modal. */ public function getModalToShowByPage($modal, $currentPath) { $pages = $modal->pages->value; $pages = explode(PHP_EOL, $pages); Loading