for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
*
* @package sitemaker
* @copyright (c) 2016 Daniel A. (blitze)
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*/
namespace blitze\content\services\actions;
abstract class action_utils
{
/** @var bool */
protected $auto_refresh = true;
protected $redirect = true;
* @param string $u_action
* @return void
protected function redirect($u_action)
$this->redirect ? redirect($u_action) : null;
}
* @param int $time
protected function meta_refresh($time, $u_action)
$this->auto_refresh ? meta_refresh($time, $u_action) : null;
* @param string $message
* @param int $errno
protected function trigger_error($message, $u_action = '', $errno = E_USER_NOTICE)
$message .= $u_action ? adm_back_link($u_action) : '';
trigger_error($message, $errno);