]> git.agnieray.net Git - galette.git/commitdiff
Document properties for magic getters and setters
authorJohan Cwiklinski <johan@x-tnd.be>
Sat, 13 Jun 2020 07:59:39 +0000 (09:59 +0200)
committerJohan Cwiklinski <johan@x-tnd.be>
Sat, 13 Jun 2020 08:48:01 +0000 (10:48 +0200)
galette/lib/Galette/Core/Preferences.php
galette/lib/Galette/Filters/AdvancedMembersList.php
galette/lib/Galette/Filters/MembersList.php

index 1314f2ab32fe56066c3654a3e74ca4fe6fbcd39f..45353631c1292d6dc940d4f6c08e2d80a6650c7a 100644 (file)
@@ -54,7 +54,89 @@ use Galette\Repository\Members;
  * @link      http://galette.tuxfamily.org
  * @since     Available since 0.7dev - 2007-10-14
  *
- * @property string      $pref_theme         Prefered theme
+ * @property string $pref_admin_login Super admin login
+ * @property string $pref_admin_pass Super admin password
+ * @property string $pref_nom Association name
+ * @property string $pref_slogan Association slogan
+ * @property string $pref_adresse Address
+ * @property string $pref_adresse2 Address continuation
+ * @property string $pref_cp Association zipcode
+ * @property string $pref_ville Association town
+ * @property string $pref_pays Country
+ * @property integer $pref_postal_adress Postal adress to use, one of self::POSTAL_ADDRESS*
+ * @property integer $pref_postal_staff_member Staff member ID from which retrieve postal address
+ * @property string $pref_lang Default instance language
+ * @property integer $pref_numrows Default number of rows in lists
+ * @property integer $pref_log History, one of self::LOG_*
+ * @property interger $pref_statut Default status for new members
+ * @property string $pref_email_nom
+ * @property string $pref_email
+ * @property string $pref_email_newadh
+ * @property boolean $pref_bool_mailadh
+ * @property boolean $pref_editor_enabled
+ * @property integer $pref_mail_method Mail method, see GaletteMail::METHOD_*
+ * @property string $pref_mail_smtp
+ * @property string $pref_mail_smtp_host
+ * @property boolean $pref_mail_smtp_auth
+ * @property boolean $pref_mail_smtp_secure
+ * @property integer $pref_mail_smtp_port
+ * @property string $pref_mail_smtp_user
+ * @property string $pref_mail_smtp_password
+ * @property integer $pref_membership_ext
+ * @property string $pref_beg_membership
+ * @property integer $pref_membership_offermonths
+ * @property string $pref_email_reply_to
+ * @property string $pref_website
+ * @property integer $pref_etiq_marges_v
+ * @property string $pref_etiq_marges_h
+ * @property string $pref_etiq_hspace
+ * @property string $pref_etiq_vspace
+ * @property string $pref_etiq_hsize
+ * @property string $pref_etiq_vsize
+ * @property string $pref_etiq_cols
+ * @property string $pref_etiq_rows
+ * @property string $pref_etiq_corps
+ * @property string $pref_card_abrev
+ * @property string $pref_card_strip
+ * @property string $pref_card_tcol
+ * @property string $pref_card_scol
+ * @property string $pref_card_bcol
+ * @property string $pref_card_hcol
+ * @property string $pref_bool_display_title
+ * @property integer $pref_card_address
+ * @property string $pref_card_year
+ * @property integer $pref_card_marges_v
+ * @property integer $pref_card_marges_h
+ * @property integer $pref_card_vspace
+ * @property integer $pref_card_hspace
+ * @property string $pref_card_self
+ * @property string $pref_theme Prefered theme
+ * @property boolean $pref_bool_publicpages
+ * @property integer $pref_publicpages_visibility
+ * @property boolean $pref_bool_selfsubscribe
+ * @property string $pref_googleplus
+ * @property string $pref_facebook
+ * @property string $pref_twitter
+ * @property string $pref_viadeo
+ * @property string $pref_linkedin
+ * @property string $pref_mail_sign
+ * @property string $pref_new_contrib_script
+ * @property boolean $pref_bool_wrap_mails
+ * @property string $pref_rss_url
+ * @property boolean $pref_show_id
+ * @property string $pref_adhesion_form
+ * @property boolean $pref_mail_allow_unsecure
+ * @property string $pref_instance_uuid
+ * @property string $pref_registration_uuid
+ * @property string $pref_telemetry_date
+ * @property string $pref_registration_date
+ * @property string $pref_footer
+ * @property integer $pref_filter_account
+ * @property string $pref_galette_url
+ * @property integer $pref_redirect_on_create
+ * @property integer $pref_password_length
+ * @property boolean $pref_password_blacklist
+ * @property integer $pref_password_strength
  * @property-read string $vpref_email_newadh Comma separated list of mail senders
  */
 class Preferences
index ba8c10d569629a166415f8b40a180450338d19fc..89f86f674f333112a5c8f128a1e118aba90785c6 100644 (file)
@@ -55,22 +55,63 @@ use Galette\Repository\PaymentTypes;
  * @copyright 2012-2014 The Galette Team
  * @license   http://www.gnu.org/licenses/gpl-3.0.html GPL License 3.0 or (at your option) any later version
  * @link      http://galette.tuxfamily.org
+ *
+ * @property string $creation_date_begin
+ * @property string $creation_date_end
+ * @property string $modif_date_begin
+ * @property string $modif_date_end
+ * @property string $due_date_begin
+ * @property string $due_date_end
+ * @property string $birth_date_begin
+ * @property string $birth_date_end
+ * @property boolean $show_public_infos
+ * @property array|integer $status
+ * @property string $contrib_creation_date_begin
+ * @property string $contrib_creation_date_end
+ * @property string $contrib_begin_date_begin
+ * @property string $contrib_begin_date_end
+ * @property string $contrib_end_date_begin
+ * @property string $contrib_end_date_end
+ * @property array $contributions_types
+ * @property array $payments_types
+ * @property integer $contrib_min_amount
+ * @property integer $contrib_max_amount
+ * @property string $contrib_dynamic
+ * @property array $free_search
+ * @property array $groups_search
+ * @property integer $groups_search_log_op
+ *
+ * @property-read string $rcreation_date_begin
+ * @property-read string $rcreation_date_end
+ * @property-read string $rmodif_date_begin
+ * @property-read string $rmodif_date_end
+ * @property-read string $rdue_date_begin
+ * @property-read string $rdue_date_end
+ * @property-read string $rbirth_date_begin
+ * @property-read string $rbirth_date_end
+ * @property-read string $rcontrib_creation_date_begin
+ * @property-read string $rcontrib_creation_date_end
+ * @property-read string $rcontrib_begin_date_begin
+ * @property-read string $rcontrib_begin_date_end
+ * @property-read string $rcontrib_end_date_begin
+ * @property-read string $rcontrib_end_date_end
+ * @property-read array $search_fields
  */
 
 class AdvancedMembersList extends MembersList
 {
 
-    const OP_AND = 0;
-    const OP_OR = 1;
-
-    const OP_EQUALS = 0;
-    const OP_CONTAINS = 1;
-    const OP_NOT_EQUALS = 2;
-    const OP_NOT_CONTAINS = 3;
-    const OP_STARTS_WITH = 4;
-    const OP_ENDS_WITH = 5;
-    const OP_BEFORE = 6;
-    const OP_AFTER = 7;
+    public const OP_AND = 0;
+    public const OP_OR = 1;
+
+    public const OP_EQUALS = 0;
+    public const OP_CONTAINS = 1;
+    public const OP_NOT_EQUALS = 2;
+    public const OP_NOT_CONTAINS = 3;
+    public const OP_STARTS_WITH = 4;
+    public const OP_ENDS_WITH = 5;
+    public const OP_BEFORE = 6;
+    public const OP_AFTER = 7;
 
     private $_creation_date_begin;
     private $_creation_date_end;
index f4cc5392af9242c34485163b7cccce2ea5127e74..4c81b9abd288c4ddb25184853d7516171d56f433 100644 (file)
@@ -52,6 +52,16 @@ use Galette\Repository\Members;
  * @copyright 2009-2014 The Galette Team
  * @license   http://www.gnu.org/licenses/gpl-3.0.html GPL License 3.0 or (at your option) any later version
  * @link      http://galette.tuxfamily.org
+ *
+ * @property string $filter_str
+ * @property string $field_filter
+ * @property string $membership_filter
+ * @property integer $filter_account
+ * @property string $email_filter
+ * @property group_filter $group_filter
+ * @property array $selected
+ * @property array $unreachable
+ * @property string $query
  */
 
 class MembersList extends Pagination