diff --git a/kernel/classes/datatypes/ezuser/ezuser.php b/kernel/classes/datatypes/ezuser/ezuser.php index 2adac67b8a1..b8ccf4a209e 100644 --- a/kernel/classes/datatypes/ezuser/ezuser.php +++ b/kernel/classes/datatypes/ezuser/ezuser.php @@ -69,6 +69,15 @@ public function __construct( $row = array() ) $this->OriginalPasswordConfirm = false; } + /** + * @deprecated Use eZUser::__construct() instead + * @param array $row + */ + function eZUser( $row = array() ) + { + self::__construct( $row ); + } + static function definition() { static $definition = array( 'fields' => array( 'contentobject_id' => array( 'name' => 'ContentObjectID', diff --git a/kernel/classes/ezcontentobject.php b/kernel/classes/ezcontentobject.php index 197c78a4ee6..65c417b4815 100644 --- a/kernel/classes/ezcontentobject.php +++ b/kernel/classes/ezcontentobject.php @@ -87,6 +87,15 @@ public function __construct( $row ) $this->Permissions = array(); } + /** + * @deprecated Use eZContentObject::__construct() instead + * @param int|array $row + */ + function eZContentObject( $row ) + { + self::__construct( $row ); + } + static function definition() { static $definition = array( "fields" => array( "id" => array( 'name' => 'ID', diff --git a/kernel/classes/ezcontentupload.php b/kernel/classes/ezcontentupload.php index 019aeced10f..a002b0dc6cf 100644 --- a/kernel/classes/ezcontentupload.php +++ b/kernel/classes/ezcontentupload.php @@ -71,6 +71,15 @@ public function __construct( $params = false ) } } + /** + * @deprecated Use eZContentUpload::__construct() instead + * @param bool $params + */ + function eZContentUpload( $params = false ) + { + self::__construct( $params ); + } + /*! \return an array with attribute names. */