Minor internal fixes
This commit is contained in:
parent
f7567dc250
commit
db7f5f8d55
@ -12,7 +12,7 @@
|
|||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.leenooks.net/license.html
|
||||||
* @uses Style
|
* @uses Style
|
||||||
*/
|
*/
|
||||||
class lnApp_Block_Sub extends HTMLRender {
|
abstract class lnApp_Block_Sub extends HTMLRender {
|
||||||
protected static $_data = array();
|
protected static $_data = array();
|
||||||
protected static $_spacer = '<table><tr class="spacer"><td> </td></tr></table>';
|
protected static $_spacer = '<table><tr class="spacer"><td> </td></tr></table>';
|
||||||
protected static $_c = 0;
|
protected static $_c = 0;
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.leenooks.net/license.html
|
||||||
* @also [logout]
|
* @also [logout]
|
||||||
*/
|
*/
|
||||||
class lnApp_Controller_Login extends Controller_TemplateDefault {
|
abstract class lnApp_Controller_Login extends Controller_TemplateDefault {
|
||||||
protected $auth_required = FALSE;
|
protected $auth_required = FALSE;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.leenooks.net/license.html
|
||||||
* @also [login]
|
* @also [login]
|
||||||
*/
|
*/
|
||||||
class lnApp_Controller_Logout extends Controller {
|
abstract class lnApp_Controller_Logout extends Controller {
|
||||||
public function action_index() {
|
public function action_index() {
|
||||||
// If user already signed-in
|
// If user already signed-in
|
||||||
if (Auth::instance()->logged_in()) {
|
if (Auth::instance()->logged_in()) {
|
||||||
|
@ -6,4 +6,4 @@
|
|||||||
* @copyright (c) 2014 Deon George
|
* @copyright (c) 2014 Deon George
|
||||||
* @license http://dev.leenooks.net/license
|
* @license http://dev.leenooks.net/license
|
||||||
*/
|
*/
|
||||||
class lnApp_Email_Exception extends Kohana_Exception {}
|
abstract class lnApp_Email_Exception extends Kohana_Exception {}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
* @copyright (c) 2009-2013 Deon George
|
* @copyright (c) 2009-2013 Deon George
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.leenooks.net/license.html
|
||||||
*/
|
*/
|
||||||
class lnApp_Menu {
|
abstract class lnApp_Menu {
|
||||||
public static function items($type,array $list=array()) {
|
public static function items($type,array $list=array()) {
|
||||||
$result = array();
|
$result = array();
|
||||||
|
|
||||||
|
@ -333,6 +333,10 @@ abstract class lnApp_ORM extends Kohana_ORM {
|
|||||||
return $this->_sub_items;
|
return $this->_sub_items;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function subitem_add(Model $item) {
|
||||||
|
array_push($this->_sub_items,$item);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Override the Kohana processing so we can null values if required.
|
* Override the Kohana processing so we can null values if required.
|
||||||
* We override this function, because we do set our own primary key value
|
* We override this function, because we do set our own primary key value
|
||||||
|
Reference in New Issue
Block a user