Skip to content

OrderByPlaceholderExpression

Type
Class
Namespace
craft\elements\db
Inherits
craft\elements\db\OrderByPlaceholderExpression » yii\db\Expression » yii\base\BaseObject
Implements
yii\base\Configurable, yii\db\ExpressionInterface
Since
5.0.0

View source

Public Properties

PropertyDescription
expressionstring – The DB expression
paramsarray – List of parameters that should be bound for this expression.

Public Methods

MethodDescription
__call()Calls the named method which is not a class method.
__construct()
__get()Returns the value of an object property.
__isset()Checks if a property is set, i.e. defined and not null.
__set()Sets value of an object property.
__toString()String magic method.
__unset()Sets an object property to null.
canGetProperty()Returns a value indicating whether a property can be read.
canSetProperty()Returns a value indicating whether a property can be set.
className()Returns the fully qualified name of this class.
hasMethod()Returns a value indicating whether a method is defined.
hasProperty()Returns a value indicating whether a property is defined.
init()Initializes the object.

__construct()

View source

Arguments

  • $params
  • $config