This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

mdluna77
mdluna77

When creating a Plugin Model October requires you to extend the "Model" class. I am trying to incorporate the Attributes package from Cartalyst https://cartalyst.com/manual/attributes which requires you to extend the Entity class. Does anyone know the correct way to get around this without hacking any core files from October or the Attributes package? Thanks for any help!

that0n3guy
that0n3guy

I know no way of doing this... unless entity or octobercms was a trait... maybe you could do it... but I'm guessing cartalyst entity class is too far off to use it.

on a side note: Looking at the cartalyst attributes documentation makes me wonder what the point of attributes is.... What is the difference between attributes and normal database storage? It seems like you can accomplish the same thign pretty easily w/ the attributes package.

clem_d
clem_d

isn't this the same as \System\Traits\PropertyContainer ?

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.