Correção do arquivo de informações do módulo Mimoza que não exibia a licença do sistema. Aplicação da interface de módulo do Webmind no Mimoza, comentários sempre que necessário. Arquivo de licença idêntico ao módulo anterior, gerador de aplicativos ZF. Necessidade de comentários em português, buscando explicar todas os passos do desenvolvimento.
Esse commit está contido em:
@@ -1,6 +1,87 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Mimoza
|
||||
* Mind Module for Zend Framework Applications
|
||||
*
|
||||
* @author Wanderson Henrique Camargo Rosa
|
||||
* @see http://code.google.com/p/webmind/wiki/Mimoza
|
||||
*
|
||||
* @uses Module
|
||||
* @uses Module_Interface
|
||||
*/
|
||||
class Mimoza extends Module implements Module_Interface
|
||||
{
|
||||
|
||||
/**
|
||||
* Diretório da Estrutura Inicial do Aplicativo
|
||||
*
|
||||
* @var string Nome do Diretório da Estrutura
|
||||
*/
|
||||
protected $_structure;
|
||||
|
||||
/**
|
||||
* Configura a Localização da Estrutura Inicial
|
||||
*
|
||||
* @param $structure Nome do Diretório da Estrutura
|
||||
* @return Mimoza Próprio Objeto
|
||||
*/
|
||||
public function setStructure($structure)
|
||||
{
|
||||
$this->_structure = (string) $structure;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Informa o Nome do Diretório da Estrutura Inicial
|
||||
*
|
||||
* @return string Nome do Diretório
|
||||
*/
|
||||
public function getStructure()
|
||||
{
|
||||
return $this->_structure;
|
||||
}
|
||||
|
||||
/**
|
||||
* Execuções em Tempo de Inicialização
|
||||
* Métodos Necessários para Execução Inicial do Módulo
|
||||
* Criação da Estrutura Inicial
|
||||
*
|
||||
* @return Mimoza Próprio Objeto
|
||||
*/
|
||||
public function onStart()
|
||||
{
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Execuções em Tempo de Finalização
|
||||
* Métodos Necessários para Execução Final do Módulo
|
||||
*
|
||||
* @return Mimoza Próprio Objeto
|
||||
*/
|
||||
public function onFinish()
|
||||
{
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Aplica as Estruturas de Programação Referentes à Entidade
|
||||
*
|
||||
* @param Table $entity
|
||||
* @return Mimoza Próprio Objeto
|
||||
*/
|
||||
public function applyCRUD($entity)
|
||||
{
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Chamadas para Métodos Extras Conforme Necessidade
|
||||
*
|
||||
* @return Mimoza Próprio Objeto
|
||||
*/
|
||||
public function callExtra()
|
||||
{
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
Copyright (c) 2010 TheWebMind.org
|
||||
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation
|
||||
files (the "Software"), to deal in the Software without
|
||||
restriction, including without limitation the rights to use,
|
||||
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following
|
||||
conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
||||
@@ -15,5 +15,5 @@
|
||||
</authors>
|
||||
<date value="05/2010" />
|
||||
<thumb value="config/images/icon.png" />
|
||||
<licence value="LICENCE.TXT" />
|
||||
<license value="LICENSE.TXT" />
|
||||
</root>
|
||||
Referência em uma Nova Issue
Bloquear um usuário