for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created by PhpStorm.
* User: User
* Date: 4/21/2019
* Time: 10:51 PM
*/
namespace crocodicstudio\crudbooster\types\select;
use crocodicstudio\crudbooster\models\ColumnModel;
class SelectModel extends ColumnModel
{
private $options;
private $options_from_table;
private $options_from_query;
private $foreign_key;
* @return mixed
public function getOptionsFromQuery()
return $this->options_from_query;
}
* @param mixed $options_from_query
public function setOptionsFromQuery($options_from_query)
$this->options_from_query = $options_from_query;
public function getForeignKey()
return $this->foreign_key;
* @param mixed $foreign_key
public function setForeignKey($foreign_key)
$this->foreign_key = $foreign_key;
public function getOptionsFromTable()
return $this->options_from_table;
* @param mixed $options_from_table
public function setOptionsFromTable($options_from_table)
$this->options_from_table = $options_from_table;
public function getOptions()
return $this->options;
* @param mixed $options
public function setOptions($options)
$this->options = $options;