public function isActionFilePresent($actionType)
{
// Create the directory string
$directory = BACKEND_MODULES_PATH . '/' . $this->module . '/' . ucfirst($actionType);
// If the directory doesn't exist, surely the action can't exist.
if (!is_dir($directory)) {
return false;
}
// Return if the file exists
return file_exists($directory . '/' . ucfirst($this->action) . '.php');
}