golden hour
/home/phakp/public_html/bkp_full/old_site_bkp/tests/mocks/libraries
⬆️ Go Up
Upload
File/Folder
Size
Actions
driver.php
407 B
Del
OK
encrypt.php
347 B
Del
OK
encryption.php
755 B
Del
OK
session.php
840 B
Del
OK
table.php
343 B
Del
OK
Edit: driver.php
<?php /** * Mock library to subclass Driver for testing */ class Mock_Libraries_Driver extends CI_Driver_Library { /** * Set valid drivers list */ public function driver_list($drivers = NULL) { if (empty($drivers)) { return $this->valid_drivers; } $this->valid_drivers = (array) $drivers; } /** * Get library name */ public function get_name() { return $this->lib_name; } }
Save