From 153f205b394c39744696ccd2d2334819ed308632 Mon Sep 17 00:00:00 2001 From: Josef Moravec Date: Mon, 9 May 2022 12:20:29 +0200 Subject: [PATCH] Add properties to php doc --- .../src/VuFind/Db/Row/OaiResumption.php | 4 ++++ module/VuFind/src/VuFind/Db/Row/Resource.php | 8 +++++++ module/VuFind/src/VuFind/Db/Row/Search.php | 13 +++++++++++ module/VuFind/src/VuFind/Db/Row/User.php | 23 +++++++++++++++++++ module/VuFind/src/VuFind/Db/Row/UserCard.php | 10 ++++++++ module/VuFind/src/VuFind/Db/Row/UserList.php | 7 ++++++ 6 files changed, 65 insertions(+) diff --git a/module/VuFind/src/VuFind/Db/Row/OaiResumption.php b/module/VuFind/src/VuFind/Db/Row/OaiResumption.php index b531f19f543..b50a6f9c9b7 100644 --- a/module/VuFind/src/VuFind/Db/Row/OaiResumption.php +++ b/module/VuFind/src/VuFind/Db/Row/OaiResumption.php @@ -35,6 +35,10 @@ * @author Demian Katz * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org Main Site + * + * @property int $id + * @property string $params + * @property string $expires */ class OaiResumption extends RowGateway { diff --git a/module/VuFind/src/VuFind/Db/Row/Resource.php b/module/VuFind/src/VuFind/Db/Row/Resource.php index a410732b888..fc24bff818c 100644 --- a/module/VuFind/src/VuFind/Db/Row/Resource.php +++ b/module/VuFind/src/VuFind/Db/Row/Resource.php @@ -38,6 +38,14 @@ * @author Demian Katz * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org Main Site + * + * @property int $id + * @property string $record_id + * @property string $title + * @property ?string $author + * @property ?int $year + * @property string $source + * @property ?string $extra_metadata */ class Resource extends RowGateway implements \VuFind\Db\Table\DbTableAwareInterface { diff --git a/module/VuFind/src/VuFind/Db/Row/Search.php b/module/VuFind/src/VuFind/Db/Row/Search.php index c2ba77273e5..8fbc7189609 100644 --- a/module/VuFind/src/VuFind/Db/Row/Search.php +++ b/module/VuFind/src/VuFind/Db/Row/Search.php @@ -37,6 +37,19 @@ * @author Demian Katz * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org Main Site + * + * @property int $id + * @property int $user_id + * @property ?string $session_id + * @property ?int $folder_id + * @property string $created + * @property ?string $title + * @property int $saved + * @property string $search_object + * @property ?int $checksum + * @property int $notification_frequency + * @property string $last_notification_sent + * @property string $notification_base_url */ class Search extends RowGateway { diff --git a/module/VuFind/src/VuFind/Db/Row/User.php b/module/VuFind/src/VuFind/Db/Row/User.php index c2562e51cf3..275f2b175c3 100644 --- a/module/VuFind/src/VuFind/Db/Row/User.php +++ b/module/VuFind/src/VuFind/Db/Row/User.php @@ -40,6 +40,29 @@ * @author Demian Katz * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org Main Site + * + * @property int $id + * @property ?string $username + * @property string $password + * @property ?string $pass_hash + * @property string $firstname + * @property string $lastname + * @property string $email + * @property ?string $email_verified + * @property string $pending_email + * @property int $user_provided_email + * @property ?string $cat_id + * @property ?string $cat_username + * @property ?string $cat_password + * @property ?string $cat_pass_enc + * @property string $college + * @property string $major + * @property string $home_library + * @property string $created + * @property string $verify_hash + * @property string $last_login + * @property ?string $auth_method + * @property string $last_language */ class User extends RowGateway implements \VuFind\Db\Table\DbTableAwareInterface, \LmcRbacMvc\Identity\IdentityInterface diff --git a/module/VuFind/src/VuFind/Db/Row/UserCard.php b/module/VuFind/src/VuFind/Db/Row/UserCard.php index a89fe804a5f..6d08b032207 100644 --- a/module/VuFind/src/VuFind/Db/Row/UserCard.php +++ b/module/VuFind/src/VuFind/Db/Row/UserCard.php @@ -35,6 +35,16 @@ * @author Ere Maijala * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org Main Site + * + * @property int $id + * @property int $user_id + * @property string $card_name + * @property string $cat_username + * @property ?string $cat_password + * @property ?string $cat_pass_enc + * @property string $home_library + * @property string $created + * @property string $saved */ class UserCard extends RowGateway { diff --git a/module/VuFind/src/VuFind/Db/Row/UserList.php b/module/VuFind/src/VuFind/Db/Row/UserList.php index 424076b295f..2c45e6662da 100644 --- a/module/VuFind/src/VuFind/Db/Row/UserList.php +++ b/module/VuFind/src/VuFind/Db/Row/UserList.php @@ -40,6 +40,13 @@ * @author Demian Katz * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org Main Site + * + * @property int $id + * @property int $user_id + * @property string $title + * @property string $description + * @property string $created + * @property bool $public */ class UserList extends RowGateway implements \VuFind\Db\Table\DbTableAwareInterface {