19 declare(strict_types=1);
55 return self::LINKS_ERR_NO_NAME_VALUE;
57 if (!strlen($this->
getName())) {
58 return self::LINKS_ERR_NO_NAME;
61 return self::LINKS_ERR_NO_VALUE;
Draft class for creating and updating a parameter attached to Web Link items.
Immutable class for parameters attached to Web Link items.
replaces(?ilWebLinkParameter $old_parameter)
validate()
TODO: Modernizing the forms to input parameters will make this additional layer of input validation o...
ilWebLinkParameter $old_parameter
Base class for parameters attached to Web Link items.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
const string LINKS_ERR_NO_NAME_VALUE
const string LINKS_ERR_NO_NAME
TODO: This can be removed when validate is.
const string LINKS_ERR_NO_VALUE