LLMS_Database_Query::sanitize_id_array( mixed $ids = array() )
Sanitize input to ensure an array of absints.
Parameters Parameters
- $ids
-
(mixed) (Optional) String/Int or array of strings/ints.
Default value: array()
Return Return
(array)
Source Source
File: includes/abstracts/abstract.llms.database.query.php
$this->public_prop_deprecation( $key );
$val = $legacy_props[ $key ][0];
return method_exists( $this, $val ) ? $this->$val() : $this->$val;
} elseif ( 'sql' === $key ) {
$class = get_called_class();
_deprecated_function( "Property {$class}::sql", '6.0.0', "{$class}::get_query()" );
return $this->query;
}
}
/**
* Preserve backwards compat for write access to formerly public and removed class properties.
*
* @since 6.0.0
*
* @param string $key Property name.
* @param mixed $val Property value.
* @return void
*/
public function __set( $key, $val ) {
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.24.0 | Unknown. |
| 3.15.0 | Introduced. |