uawdijnntqw1x1x1
IP : 216.73.216.123
Hostname : webm041.cluster026.gra.hosting.ovh.net
Kernel : Linux webm041.cluster026.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
monikamovk
/
www
/
JAZlV
/
..
/
wp-content
/
plugins
/
nextgen-gallery
/
vendor
/
..
/
src
/
DataTypes
/
Album.php
/
/
<?php namespace Imagely\NGG\DataTypes; use Imagely\NGG\DataMapper\Model; use Imagely\NGG\DataMappers\Album as Mapper; use Imagely\NGG\DataMappers\Gallery as GalleryMapper; class Album extends Model { public $albumdesc; public $exclude; public $extras_post_id; public $id; public $id_field = 'id'; public $name; public $pageid; public $previewpic; public $slug; public $sortorder = []; public function get_primary_key_column() { return 'id'; } public function get_mapper() { return Mapper::get_instance(); } /** * @param bool $models Unused * @return array * @TODO Remove $models attribute when Pro has reached the first stage of POPE removal compatibility */ public function get_galleries( $models = false ) { $mapper = GalleryMapper::get_instance(); $gallery_key = $mapper->get_primary_key_column(); return $mapper->find_all( [ "{$gallery_key} IN %s", $this->sortorder ] ); } public function validation() { $errors = array_merge( [], $this->validates_presence_of( 'name' ), $this->validates_numericality_of( 'previewpic' ) ); return empty( $errors ) ? true : $errors; } }
/home/monikamovk/www/JAZlV/../wp-content/plugins/nextgen-gallery/vendor/../src/DataTypes/Album.php