MIOLO20
Carregando...
Procurando...
Nenhuma entrada encontrada
Referência à classe MIOLO

Membros públicos

 __construct ()
 
 HandlerRequestApi ()
 
 HandlerRequest ()
 
 SendText ($string, $type, $fileName)
 
 SendFile ($fileName, $fileNameDown=null)
 
 DownloadFile ($fileName)
 
 Import ($namespace, $class='')
 
 Init ( $home=NULL, $logname='miolo')
 
 Handler ()
 
 InvokeHandler ($module, $action)
 
 getHandler ( $module)
 
 Terminate ()
 
 getConf ($key)
 
 SetConf ($key, $value)
 
 Assert ($cond, $msg='', $goto='')
 
 Scramble ($text)
 
 UnScramble ($text)
 
 SetDispatcher ($url)
 
 GetContext ($url='', $style=0, $scramble=false)
 
 GetSession ()
 
 GetAuth ()
 
 GetPerms ()
 
 GetLogin ()
 
 GetPage ()
 
 GetHistory ()
 
 uses ($name, $module=NULL)
 
 UsesBusiness ($module, $name='main')
 
 GetActionURL ($module='', $action='NONE', $item='', $args=NULL, $dispatch=NULL, $scramble=false)
 
 saguCompatibility ($url)
 
 GetAbsolutePath ($rel=NULL)
 
 GetAbsoluteURL ($rel, $module=NULL)
 
 GetThemeURL ($rel, $name=NULL, $default=NULL, $module=NULL)
 
 GetModulePath ($module, $file)
 
 GetSysTime ()
 
 CheckLogin ()
 
 CheckAccess ($trans, $access, $deny=false, $group=false, $login=false)
 
 IsHostAllowed ()
 
 GetDatabase ($conf=NULL, $user=NULL, $pass=NULL)
 
 GetBusiness ($module, $name='main', $data=NULL)
 
 GetBusinessMAD ($name='main', $data=NULL)
 
 loadMADConf ()
 
 getClass ($module, $name)
 
 getUI ()
 
 getTheme ($themeId='', $layout='default')
 
 getPainter ()
 
 error ($msg='', $goto='', $caption='', $event='', $halt=true)
 
 alert ($msg='', $goto='', $caption='', $event='', $halt=true)
 
 information ($msg, $goto='', $event='', $halt=true)
 
 confirmation ($msg, $gotoOK='', $gotoCancel='', $eventOk='', $eventCancel='', $halt=true)
 
 question ($msg, $gotoYes='', $gotoNo='', $eventYes='', $eventNo='', $halt=true)
 
 prompt ($prompt, $halt=true)
 
 setLog ($logname)
 
 getLogObject ()
 
 logSQL ($sql, $force=false, $conf='?')
 
 logError ($error, $conf='miolo')
 
 getLog ()
 
 profileTime ()
 
 profileEnter ($name)
 
 profileExit ($name)
 
 profileDump ()
 
 getProfileDump ()
 
 usesDump ()
 
 dump ($var, $file=false, $line=false, $info=false)
 
 iLogging ()
 
 logMessage ($msg)
 
 deprecate ($msg)
 
 trace ($msg, $file=false, $line=0)
 
 traceDump ()
 
 GetThemes ()
 
 ListFiles ($dir, $type='d')
 
 SaveFile ($module='', $filename, $dir='html/files/')
 
 getRequiredJS4Ajax ()
 
 clearDbConf ($module)
 
 getCacheSQL ()
 
 setCacheSQL ($cacheSQL)
 

Membros públicos estáticos

static getInstance ()
 
static getCurrentURL ()
 
static getPreviousURL ()
 
static getCurrentModule ()
 
static getCurrentAction ()
 
static _REQUEST ( $vars, $from='ALL')
 
static vd ($variable, $forceType=null)
 
static var_dump ($variable, $forceType=null)
 
static updateLoading ($value)
 
static isDebugMode ()
 
static getVersion ()
 

Campos de Dados

 $_version
 
 $_author
 
 $trace_socket
 
 $db
 
 $user
 
 $pass
 
 $sqllog
 
 $errlog
 
 $theme
 
 $themepainter
 
 $themelayout
 
 $controlpainter
 
 $pagepainter
 
 $profile
 
 $uses
 
 $trace
 
 $error
 
 $page
 
 $context
 
 $auth
 
 $perms
 
 $session
 
 $state
 
 $logdb
 
 $dbconf = array()
 
 $halted = false
 
 $painter
 
 $mad
 
 $conf
 
 $log
 

Descrição detalhada

Documentação dos Construtores & Destrutor

◆ __construct()

__construct ( )

Constructor. Miolo Class Constructor.

Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 124 do ficheiro miolo.class.

Documentação das funções

◆ _REQUEST()

static _REQUEST ( $vars,
$from = 'ALL' )
static
Parâmetros
$vars(string/array) variáveis as quais se deseja obter o valor
$from(string) de onde obter os dados. Pode ser 'GET', 'POST', além do padrão 'ALL' que retorna todos os dados.
Retorna
array Os valores das variáveis solicitadas.
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class e /var/docker/solisge-devel/www/solisge/miolo20/classes/ui/controls/mform.class.

Definido na linha 1109 do ficheiro miolo.class.

◆ alert()

alert ( $msg = '',
$goto = '',
$caption = '',
$event = '',
$halt = true )

◆ Assert()

Assert ( $cond,
$msg = '',
$goto = '' )

◆ CheckAccess()

CheckAccess ( $trans,
$access,
$deny = false,
$group = false,
$login = false )

◆ CheckLogin()

CheckLogin ( )

◆ clearDbConf()

clearDbConf ( $module)

Limpa uma instancia de conexao do MIOLO

Parâmetros
string$module
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 1836 do ficheiro miolo.class.

◆ confirmation()

confirmation ( $msg,
$gotoOK = '',
$gotoCancel = '',
$eventOk = '',
$eventCancel = '',
$halt = true )

◆ deprecate()

deprecate ( $msg)

◆ DownloadFile()

DownloadFile ( $fileName)

◆ dump()

dump ( $var,
$file = false,
$line = false,
$info = false )

◆ error()

error ( $msg = '',
$goto = '',
$caption = '',
$event = '',
$halt = true )

◆ GetAbsolutePath()

GetAbsolutePath ( $rel = NULL)

Gets physical filesystem path of $rel (relative filename)

Parâmetros
string$rel
Retorna
string
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 905 do ficheiro miolo.class.

◆ GetAbsoluteURL()

GetAbsoluteURL ( $rel,
$module = NULL )

Gets absolute virtual path of $rel (relative filename) from browser's address

@global array $MIOLOCONF

Parâmetros
string$rel
string$moduleModule name.
Retorna
string URL.
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 931 do ficheiro miolo.class.

◆ GetActionURL()

GetActionURL ( $module = '',
$action = 'NONE',
$item = '',
$args = NULL,
$dispatch = NULL,
$scramble = false )

◆ GetAuth()

GetAuth ( )
Retorna
MAuth Get authentication manager.
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 620 do ficheiro miolo.class.

◆ GetBusiness()

GetBusiness ( $module,
$name = 'main',
$data = NULL )

Get business.

Parâmetros
string$moduleModule name.
string$nameBusiness name.
object$dataObject of type stdClass to be passed to business.
Retorna
MBusiness Business instance.
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 1396 do ficheiro miolo.class.

◆ GetBusinessMAD()

GetBusinessMAD ( $name = 'main',
$data = NULL )

◆ getCacheSQL()

getCacheSQL ( )
Retorna
boolean
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 1859 do ficheiro miolo.class.

◆ getClass()

getClass ( $module,
$name )

◆ getConf()

getConf ( $key)

◆ GetContext()

GetContext ( $url = '',
$style = 0,
$scramble = false )

Get the context manager.

Parâmetros
string$urlURL.
integer$styleStyle.
boolean$scrambleWhether to scramble.
Retorna
MContext Context manager.
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 600 do ficheiro miolo.class.

◆ getCurrentAction()

static getCurrentAction ( )
static

Return current action. Return the name of the current action

Retorna
string Module name.
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class e /var/docker/solisge-devel/www/solisge/miolo20/classes/ui/controls/mform.class.

Definido na linha 1086 do ficheiro miolo.class.

◆ getCurrentModule()

static getCurrentModule ( )
static

Return current module. Return the name of the current module

Retorna
string Module name.
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class e /var/docker/solisge-devel/www/solisge/miolo20/classes/ui/controls/mform.class.

Definido na linha 1066 do ficheiro miolo.class.

◆ getCurrentURL()

static getCurrentURL ( )
static

Return current URL. Returns the URL address of the current page.

Retorna
string URL address.
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 1031 do ficheiro miolo.class.

◆ GetDatabase()

GetDatabase ( $conf = NULL,
$user = NULL,
$pass = NULL )

Este método é utilizado para criar uma conexão com a base de dados especificada no parâmetro $conf. A configuração da base deve ter sido previamente criada no arquivo de configuração do MIOLO: miolo.conf

Parâmetros
$conf(string) Nome da configuração, definida no miolo.conf
$user(string) (optional) Nome do usuário para conectar à base de dados
$pass(string) (optional) Senha para acesso à base.
Retorna
MDatabase
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 1279 do ficheiro miolo.class.

◆ getHandler()

getHandler ( $module)

◆ GetHistory()

GetHistory ( )

◆ getInstance()

static getInstance ( )
static

Returns Miolo instance. This method returns an instance of the Miolo Class.

Retorna
MIOLO Instance of Miolo class
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class e /var/docker/solisge-devel/www/solisge/miolo20/classes/ui/controls/mform.class.

Definido na linha 134 do ficheiro miolo.class.

◆ getLog()

getLog ( )

◆ GetLogin()

GetLogin ( )
Retorna
MLogin Get login object.
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 667 do ficheiro miolo.class.

◆ getLogObject()

getLogObject ( )

◆ GetModulePath()

GetModulePath ( $module,
$file )

Gets the physical filesystem path of the module's file

Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 1012 do ficheiro miolo.class.

◆ GetPage()

GetPage ( )
Retorna
MPage Get page manager.
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 675 do ficheiro miolo.class.

◆ getPainter()

getPainter ( )
Retorna
MHtmlPainter Get painter manager.
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 1508 do ficheiro miolo.class.

◆ GetPerms()

GetPerms ( )

Get permission manager.

Retorna
MPerms Permission manager.
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 644 do ficheiro miolo.class.

◆ getPreviousURL()

static getPreviousURL ( )
static

Return previos URL, based on previous action Returns the URL address of the previous action page

Retorna
string URL address.
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 1051 do ficheiro miolo.class.

◆ getProfileDump()

getProfileDump ( )

◆ getRequiredJS4Ajax()

getRequiredJS4Ajax ( )

◆ GetSession()

GetSession ( )
Retorna
MSession Get session manager.
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 612 do ficheiro miolo.class.

◆ GetSysTime()

GetSysTime ( )

◆ getTheme()

getTheme ( $themeId = '',
$layout = 'default' )

Get theme object.

Parâmetros
$themeIdstring Theme id.
$layoutstring Layout.
Retorna
MTheme Theme object.
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 1469 do ficheiro miolo.class.

◆ GetThemes()

GetThemes ( )

◆ GetThemeURL()

GetThemeURL ( $rel,
$name = NULL,
$default = NULL,
$module = NULL )

Gets absolute virtual path of $rel for selected theme

Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 959 do ficheiro miolo.class.

◆ getUI()

getUI ( )
Retorna
MUI Get user interface manager.
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 1456 do ficheiro miolo.class.

◆ getVersion()

static getVersion ( )
static

◆ Handler()

◆ HandlerRequest()

HandlerRequest ( )

◆ HandlerRequestApi()

HandlerRequestApi ( )

◆ iLogging()

iLogging ( )

◆ Import()

Import ( $namespace,
$class = '' )

◆ information()

information ( $msg,
$goto = '',
$event = '',
$halt = true )

◆ Init()

Init ( $home = NULL,
$logname = 'miolo' )

Definido na linha 323 do ficheiro miolo.class.

◆ InvokeHandler()

InvokeHandler ( $module,
$action )

◆ isDebugMode()

static isDebugMode ( )
static

Retorna se esta em modo debug

Retorna
boolean
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 1825 do ficheiro miolo.class.

◆ IsHostAllowed()

IsHostAllowed ( )

◆ ListFiles()

ListFiles ( $dir,
$type = 'd' )

◆ loadMADConf()

loadMADConf ( )

◆ logError()

logError ( $error,
$conf = 'miolo' )

◆ logMessage()

logMessage ( $msg)

◆ logSQL()

logSQL ( $sql,
$force = false,
$conf = '?' )

◆ profileDump()

profileDump ( )

◆ profileEnter()

profileEnter ( $name)

◆ profileExit()

profileExit ( $name)

◆ profileTime()

profileTime ( )

◆ prompt()

prompt ( $prompt,
$halt = true )

◆ question()

question ( $msg,
$gotoYes = '',
$gotoNo = '',
$eventYes = '',
$eventNo = '',
$halt = true )

◆ saguCompatibility()

saguCompatibility ( $url)

Aplica compatibilidades entre modulos que utilizam SAGU com miolo 2.0 versus miolo 2.6.

Retorna
string
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 870 do ficheiro miolo.class.

◆ SaveFile()

SaveFile ( $module = '',
$filename,
$dir = 'html/files/' )

Send a file to client

Parâmetros
string$moduleModule
string$filenameComplete filepath relative to directory "files" on module dir
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 1732 do ficheiro miolo.class.

◆ Scramble()

Scramble ( $text)

◆ SendFile()

SendFile ( $fileName,
$fileNameDown = null )

◆ SendText()

SendText ( $string,
$type,
$fileName )

◆ setCacheSQL()

setCacheSQL ( $cacheSQL)

◆ SetConf()

SetConf ( $key,
$value )

◆ SetDispatcher()

SetDispatcher ( $url)

◆ setLog()

setLog ( $logname)

◆ Terminate()

Terminate ( )

◆ trace()

trace ( $msg,
$file = false,
$line = 0 )

◆ traceDump()

traceDump ( )

◆ UnScramble()

UnScramble ( $text)

◆ updateLoading()

static updateLoading ( $value)
static

◆ uses()

uses ( $name,
$module = NULL )

◆ UsesBusiness()

UsesBusiness ( $module,
$name = 'main' )

◆ usesDump()

usesDump ( )

◆ var_dump()

static var_dump ( $variable,
$forceType = null )
static

Alias to MIOLO::vd. This method calls MIOLO::vd

Veja também
vd
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 1792 do ficheiro miolo.class.

◆ vd()

static vd ( $variable,
$forceType = null )
static

Documentação dos campos e atributos

◆ $_author

$_author

◆ $_version

$_version

◆ $auth

◆ $conf

◆ $context

$context

◆ $controlpainter

$controlpainter

◆ $db

$db

BD descriptor members

Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 34 do ficheiro miolo.class.

◆ $dbconf

$dbconf = array()

◆ $errlog

$errlog

◆ $error

◆ $halted

$halted = false

◆ $log

◆ $logdb

◆ $mad

◆ $page

◆ $pagepainter

$pagepainter

◆ $painter

$painter

◆ $pass

◆ $perms

◆ $profile

$profile

◆ $session

$session

◆ $sqllog

$sqllog

◆ $state

◆ $theme

◆ $themelayout

$themelayout

◆ $themepainter

$themepainter

◆ $trace

◆ $trace_socket

$trace_socket

remote tracing log message support

Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/miolo.class.

Definido na linha 29 do ficheiro miolo.class.

◆ $user

◆ $uses


A documentação para esta classe foi gerada a partir do seguinte ficheiro: