Similar if a module adds a feature (speak: method) in a later version, but you don't know when exactly and won't hardcode the module's version in your code.if ($entry->can("historyAdd")) { $entry->historyAdd(...); }
In reply to Re: When I use "can"
by eserte
in thread When I use "can"
by Abigail-II
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |