本文整理汇总了PHP中Command::toString方法的典型用法代码示例。如果您正苦于以下问题:PHP Command::toString方法的具体用法?PHP Command::toString怎么用?PHP Command::toString使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Command
的用法示例。
在下文中一共展示了Command::toString方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: toString
function toString()
{
if (!$this->enabled) {
return parent::toString();
} else {
return "<a href=\"" . $this->url . "\" class=\"command\">" . $this->text . "</a>";
}
}
示例2: toString
public function toString()
{
return parent::toString() . " session=" . $this->session;
}
示例3: toString
public function toString()
{
return parent::toString() . " Ack for " . $this->getNameById($this->command_type) . ".";
}
示例4: toString
public function toString()
{
return parent::toString();
}
示例5: toString
public function toString()
{
return parent::toString() . " Failed command=" . $this->getNameById($this->which_command);
}
示例6: toString
public function toString()
{
return parent::toString() . " Failed command=" . $this->getNameById($this->which_command) . ". Message='" . $this->message . "'.";
}
示例7: toString
public function toString()
{
return parent::toString() . " Filename=" . $this->filename . "." + ($this->start ? " Start flag set." : "");
}
示例8: toString
public function toString()
{
return parent::toString() . " Available sesions: " . join(" ", $this->sessions) . ".";
}
示例9: toString
public function toString()
{
return parent::toString() . " Uptime=" . $this->uptime;
}
示例10: toString
public function toString()
{
return parent::toString() . " Context-id=" . $this->context_id . "." . ($this->allContexts ? " All contexts flag is set." : "");
}
示例11: toString
public function toString()
{
return parent::toString() . " id=" . $this->id . ", status=" . $this->status;
}
示例12: toString
public function toString()
{
return parent::toString() . " id=" . $this->id;
}