Country::delete PHP Method

delete() public method

fn create
public delete ( )
    public function delete()
    {
        $tmpData = $this->m_data;
        $success = parent::delete();
        return $success;
    }

Usage Example

Example #1
0
 function delete()
 {
     $this->is_loggedin();
     global $runtime;
     $to_trash = new Country($runtime['ident']);
     $to_trash->delete();
     redirect('countries/all');
 }
All Usage Examples Of Country::delete