Many updates as a result of updating lnapp; added SSL service order
This commit is contained in:
@@ -55,7 +55,6 @@ abstract class ORM extends lnApp_ORM {
|
||||
/**
|
||||
* Determine if the account is authoised by the user
|
||||
*/
|
||||
// @todo This function shouldnt be here.
|
||||
public function authorised(Model $o=NULL,Model_Account $ao=NULL,$aid='account_id') {
|
||||
if (is_null($o))
|
||||
$o = $this;
|
||||
@@ -147,6 +146,13 @@ abstract class ORM extends lnApp_ORM {
|
||||
return ORM::factory('Module',array('name'=>$this->_table_name));
|
||||
}
|
||||
|
||||
/**
|
||||
* Name value return for the record
|
||||
*/
|
||||
public function name() {
|
||||
return sprintf('Unknown [%s]',$this->id);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the site ID attribute for each row update
|
||||
*/
|
||||
|
Reference in New Issue
Block a user