Files
2024-07-26 14:24:21 +08:00

16 lines
456 B
PHP

<?php
class requirementModel extends model
{
public static function isClickable(object $data, string $action): bool
{
global $app;
$app->control->loadModel('story');
return call_user_func_array(array('storyModel', 'isClickable'), array($data, $action));
}
public function getToAndCcList(object $story, string $actionType)
{
return $this->loadModel('story')->getToAndCcList($story, $actionType);
}
}