Yii rules验证中可以使用的占位符列表

Here’s a list of many placeholders and the validators that are using them:

  • CBooleanValidator: {true} {false}
  • CCaptchaValidator: {id}
  • CCompareValidator: {compareAttribute} {compareValue} {operator}
  • CExistValidator: {table} {column} {value}
  • CFileValidator: {file} {limit} {extensions}
  • CNumberValidator: {min} {max}
  • CRequiredValidator: {value}
  • CStringValidator: {min} {max} {length}
  • CTypeValidator: {type}
  • CUniqueValidator: {table} {column} {value}
  • CUrlValidator: {schemes}

Of course, {attribute} is known in all validators. So, which placeholders are known depends on the validator and the condition as well: By default {min} is only used when the value is below the min value (as defined in rules) and {max} when the value is above the max value.

0 thoughts on “Yii rules验证中可以使用的占位符列表”

  1. What is email verification tool?
    An email verification tool is made use of to check that an email
    address in your get in touch with data source is still proper.

    But it mostly permits you to clean up your checklist immediately or manually.
    These devices permit you to remove expired addresses as well as fake emails.
    And it is also instantly correct syntax mistakes and also more.

    To do this, simply attach your email database via
    an API or a CSV file. Then the system will certainly take care of the various verification checks
    of the email.
    These devices allow you a great adaptability to maintain your data source approximately
    day. It is necessary to clean your data source 2 to 3 times a year for the
    adhering to reasons:
    There are several statuses of various emails: provided, opened up,
    clicked, unsubscribed, blocked, put in spam, and also rebounds additionally called bounces or
    mistakes. The bounce price is the amount of email that has not been sent
    out or has not been accepted by the recipient’s.

    The rate of bounces consequently influences your deliverability, which will then activate various alarms from ISPs (Access Provider).
    In the long-term it will certainly taint your reputation.
    Web individuals often do not remember registering or making the effort to unsubscribe subscriber
    list as well as like to straight spam industrial mail.

    These issues are ultimately recorded by email companies
    such as Yahoo and google. If there are a lot of, they will
    instantly place your emails in the spam folder, harming the track record of your domain. As well as once
    again, this substantially lowers the possibility of getting
    If you make use of an automatic email sending tool,
    you may be aware that the amount of your registration is based on the
    number of e-mails you send or the variety of subscribers you have, or both.
    By removing bounces from your get in touch with data source often, spam and duplicates, your quantity of e-mails to be sent out will reduce subsequently
    the price of your campaigns also.
    It is additionally advised to eliminate from your sending databases of those who never ever open your emails.
    They will certainly misshape your stats. By having a smaller
    sized checklist of receivers that are interested in your
    messages and also who are manipulating them, your numbers will be different.
    You will be better able to route your future advertising and
    marketing initiatives. Enhancing the deliverability
    rate will have an influence on the opening rate.

    It will certainly have an effect on the click price as well as eventually your ROI will be enhanced.

    To give you an introduction of the existing
    email verification devices on the marketplace, here are 2 devices evaluated:

Leave a Reply

Your email address will not be published. Required fields are marked *

To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image