fixed issue with namespace AND fixed issue #649

This commit is contained in:
Jonathan Labreuille
2016-10-06 12:53:18 +02:00
parent b9745b555a
commit 4402f826c3
22 changed files with 44 additions and 54 deletions

View File

@ -1,8 +1,8 @@
<?php
if(!defined('ABSPATH')) exit;
namespace Sudzy;
if(!defined('ABSPATH')) exit;
abstract class ValidModel extends \Model {
protected $_validator = null; // Reference to Sudzy validator object
protected $_validations = array(); // Array of validations